/* Current published Pocket Pavilion Clubs stylesheet cascade.
 * Mechanical adapters only: Nations IDs/actions, stylesheet-relative asset URLs,
 * zero-specificity interface gating and CSP-safe data-attribute values.
 * Stylesheets remain in the published index order, including final overrides.
 */

/* Source: https://deepmdesai.com/games/cricket-manager/design-tokens.css */

/* Generated by tools/build-design-tokens.mjs. Edit design-tokens.json. */
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier)) {
  --font-ui: Manrope, Arial, sans-serif;
  --font-player: Manrope, Arial, sans-serif;
  --type-micro: 11px;
  --type-caption: 12px;
  --type-body: 14px;
  --type-section: 16px;
  --type-name: 18px;
  --type-title: 20px;
  --type-number: 24px;
  --type-display: 28px;
  --type-score: 32px;
  --weight-body: 500;
  --weight-label: 500;
  --weight-name: 700;
  --weight-section: 700;
  --weight-button: 700;
  --weight-title: 800;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-card: 12px;
  --space-section: 16px;
  --space-large: 24px;
  --colour-canvas: #101b3d;
  --colour-surface: #172a59;
  --colour-raised: #223b75;
  --colour-active: #2147a8;
  --colour-edge: #617db4;
  --colour-ink: #fff9e9;
  --colour-muted: #c4d4f4;
  --colour-gold: #ffda63;
  --colour-mint: #a4e1af;
  --colour-red: #ffb2b8;
  --colour-purple: #c7b6ff;
  --control-menu: 44px;
  --control-compact: 28px;
  --control-icon: 22px;
  --control-meter: 8px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/style.css */

@font-face {
  font-family: Manrope;
  src: url('../assets/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier)) {
  color-scheme: light;
  --paper: #f5f2ed;
  --site-ink: #51365f;
  --site-line: #d8d0d7;
  --night: #101d27;
  --navy: #182b38;
  --panel: #203644;
  --panel2: #2b4352;
  --edge: #4c6370;
  --cream: #f3f0e4;
  --dim: #bfccd0;
  --gold: #e7c383;
  --mint: #a4d3b4;
  --purple: #b0a0f1;
  --red: #ffad9a;
}
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-theme='dark'] {
  color-scheme: dark;
  --paper: #211c25;
  --site-ink: #d3b4e5;
  --site-line: #53445e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) * {
  box-sizing: border-box;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) body {
  margin: 0;
  background: var(--paper);
  color: var(--site-ink);
  font:
    var(--type-section)/1.5 Manrope,
    Arial,
    sans-serif;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) input,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) select {
  font: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) button {
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) a,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) input,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) select {
  touch-action: manipulation;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) [hidden] {
  display: none !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) h1,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) h2,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) h4,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) p {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) a {
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) select,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) input {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) select,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) input {
  border: 1px solid #607c95;
  border-radius: 4px;
  color: var(--cream);
  background: var(--ui-surface, #102238);
  padding: 8px 10px;
  max-width: 100%;
  accent-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ui-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page {
  max-width: 1500px;
  margin: auto;
  padding: 0 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font:
    800 var(--type-title)/1.2 Manrope,
    Arial,
    sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--site-ink);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .brand-cursor {
  display: inline-block;
  width: max(2px, 0.055em);
  height: 0.78em;
  background: #ff5a1f;
  margin-left: 3px;
  transform: translateY(0.08em);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-tools {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--site-ink);
  border: 1px solid var(--site-line);
  background: transparent;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-sun {
  display: none;
}
[data-theme='dark']:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-sun {
  display: block;
}
[data-theme='dark']:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-moon {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skip {
  position: absolute;
  top: -100px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skip:focus {
  top: 6px;
  z-index: 40;
  background: var(--night);
  color: var(--cream);
  padding: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page > footer {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--type-caption);
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .text-button {
  background: none;
  color: inherit;
  border: 0;
  text-decoration: underline;
  font-size: var(--type-caption);
  padding: 5px 0;
  min-height: 32px;
}
/* One scrollable content area, with navigation outside it. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell {
  position: relative;
  background: var(--night);
  color: var(--cream);
  height: calc(100cqh - 92px);
  max-height: 1040px;
  min-height: 0;
  border: 1px solid #263c48;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell:fullscreen {
  height: 100cqh;
  max-height: none;
  border: 0;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-header {
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-app {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-color: var(--edge) var(--night);
  scrollbar-gutter: stable;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-screen='title'] #n-app {
  overflow: hidden;
  scrollbar-gutter: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-screen='match'] #n-app,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-screen='matchday'] #n-app {
  scrollbar-gutter: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar {
  height: 40px;
  padding: 0 14px;
  background: var(--ui-surface, #152530);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #344a56;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-title-small {
  font-size: var(--type-section);
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-title-small strong {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar .game-button {
  padding: 5px 8px;
  min-height: 40px;
  box-shadow: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools {
  display: flex;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools .game-button {
  min-width: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 5px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--edge);
  font-size: var(--type-caption);
  min-height: 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip strong {
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-coins {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-coins span {
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav {
  display: flex;
  background: var(--ui-surface, #152530);
  border-top: 1px solid #405770;
  min-height: 56px;
  flex: 0 0 auto;
  justify-content: center;
  gap: 4px;
  padding: 4px 12px;
  z-index: 5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button {
  min-width: 100px;
  border: 0;
  box-shadow: none;
  flex-direction: column;
  gap: 3px;
  background: transparent;
  color: var(--dim);
  font-size: var(--type-caption);
  padding: 4px 18px;
  border-radius: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button[aria-current='page'] {
  color: var(--gold);
  background: var(--ui-raised, #26354a);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button {
  border: 1px solid #60788e;
  border-radius: 3px;
  padding: 10px 15px;
  line-height: 1.3;
  background: var(--panel2);
  color: var(--cream);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  text-align: center;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button:hover:not(:disabled) {
  background: #304b66;
  border-color: #9bb0c3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button.primary,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button[data-action='go-match'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button[data-action='start-auction'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button[data-action='finish-auction'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button[data-action='advance'] {
  background: var(--gold);
  color: #17202c;
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .notice {
  position: absolute;
  bottom: 76px;
  left: 16px;
  z-index: 15;
  max-width: min(460px, calc(100% - 32px));
  padding: 10px 14px;
  border: 1px solid #639a98;
  border-left: 4px solid var(--mint);
  border-radius: 4px;
  background: var(--ui-surface, #102936);
  color: var(--cream);
  font-size: var(--type-body);
  pointer-events: none;
  box-shadow: 0 5px 16px #0005;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .notice.error {
  border-color: var(--red);
  background: #392a30f5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .notice:empty {
  display: none;
}
/* The start menu and field have separate space, without text over the pitch. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene {
  position: relative;
  overflow: hidden;
  background: var(--ui-surface, #152530);
  min-height: 400px;
  display: grid;
  grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene canvas {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 30px 0;
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content h1 {
  font-size: clamp(38px, 4.8cqw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content h1 span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content h1 strong {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content h1 strong {
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-tagline {
  font-size: var(--type-section);
  margin: 18px 0 30px;
  color: var(--dim);
  max-width: 220px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 280px;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button {
  min-height: 48px;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions [data-action='quick-play'] {
  background: var(--gold);
  color: #142032;
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions [data-action='continue'] {
  background: transparent;
  border-color: #728590;
}
/* Match broadcast and field. Canvas owns proportional scene fitting. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 7px 16px;
  background: var(--ui-raised, #203644);
  border-bottom: 1px solid #4c6370;
  flex: 0 0 68px;
  gap: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-stamp {
  width: 32px;
  height: 32px;
  border: 1px solid #879996;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--type-name);
  color: var(--cream);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opponent-name {
  font-size: var(--type-body);
  color: #eef1f3;
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .live-score {
  font-size: var(--type-score);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  display: block;
  color: #fff8e8;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .live-score span {
  font-size: var(--type-display);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: var(--type-caption);
  color: var(--dim);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs strong {
  font-size: var(--type-title);
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs small {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation strong {
  font-size: var(--type-number);
  color: var(--gold);
  font-weight: 800;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation > span {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  flex: 1;
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--ui-surface, #101b2b);
  position: relative;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap {
  position: relative;
  flex: 1;
  min-height: 160px;
  overflow: hidden;
  background: var(--ui-surface, #101b2b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: crosshair;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label {
  position: absolute;
  top: 10px;
  left: 12px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 12px;
  align-items: center;
  color: #e4f3ed;
  font-size: var(--type-caption);
  background: var(--ui-surface, #10232b);
  padding: 5px 9px;
  border-radius: 3px;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label > span {
  color: var(--gold);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label > small {
  grid-column: 1/-1;
  font-size: var(--type-caption);
  color: #d1ded5;
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-banner {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  min-height: 44px;
  background: var(--ui-surface, #182e36);
  border-top: 1px solid #36565d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .recent-balls {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--ui-raised, #223f4c);
  border: 1px solid #65878a;
  border-radius: 50%;
  font-size: var(--type-caption);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.wicket {
  background: #ad4444;
  border-color: #f9987f;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .waiting-ball {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary p {
  font-size: var(--type-body);
  color: #e3e9e7;
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  gap: 12px;
  background: var(--ui-surface, #182e36);
  border-top: 1px solid #36565d;
  min-height: 50px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary strong {
  font-size: var(--type-caption);
  font-weight: 700;
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary p {
  font-size: var(--type-caption);
  color: var(--mint);
  line-height: 1.4;
  margin-top: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary p.illegal {
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar .game-button {
  flex: 0 0 auto;
  font-size: var(--type-caption);
  box-shadow: none;
  background: transparent;
  min-height: 40px;
  padding: 8px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-actions {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-actions [data-action='analysis'] {
  border-color: #a9b7a6;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector {
  position: absolute;
  left: 14px;
  bottom: 76px;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 90px 90px;
  align-items: end;
  gap: 12px;
  padding: 16px;
  width: min(540px, calc(100% - 28px));
  background: var(--ui-surface, #162b40);
  border: 1px solid #8293a5;
  border-radius: 6px;
  box-shadow: 0 8px 30px #0009;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sheet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sheet-heading h3 {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sheet-heading .game-button {
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  box-shadow: none;
  border: 0;
  background: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector label {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector select,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector input {
  width: 100%;
  display: block;
  min-width: 0;
  margin-top: 5px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector .fielder-label {
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector [data-action='move-fielder'] {
  grid-column: 1/-1;
  background: var(--gold);
  color: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector p {
  grid-column: 1/-1;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
  display: flex;
  flex-direction: column;
  padding: 15px 14px;
  background: var(--navy);
  border-left: 1px solid #344c63;
  gap: 12px;
  position: relative;
  overflow: auto;
  scrollbar-color: var(--edge) var(--navy);
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read {
  display: flex;
  gap: 9px;
  align-items: center;
  border-bottom: 1px solid var(--edge);
  padding-bottom: 10px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read strong > span {
  color: var(--gold);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read p {
  font-size: var(--type-caption);
  color: var(--dim);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bat-icon {
  color: #e6bc78;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bat-icon .ui-icon {
  width: 27px;
  height: 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser > .pixel-portrait {
  width: 53px;
  height: 64px;
  flex: 0 0 auto;
  image-rendering: pixelated;
  border: 1px solid #788282;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser > div {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser label {
  font-size: var(--type-caption);
  font-weight: 700;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser select {
  width: 100%;
  padding: 7px 8px;
  font-size: var(--type-body);
  min-height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p {
  display: flex;
  gap: 4px 10px;
  margin-top: 5px;
  font-size: var(--type-caption);
  color: var(--mint);
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p > span:first-child {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls .sheet-heading {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-row > span {
  display: block;
  font-size: var(--type-caption);
  color: var(--dim);
  margin-bottom: 5px;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-row > div {
  display: flex;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-button {
  min-height: 40px;
  flex: 1;
  min-width: 0;
  border: 1px solid #60788e;
  border-radius: 3px;
  background: transparent;
  color: var(--cream);
  font-size: var(--type-caption);
  padding: 6px;
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-button[aria-pressed='true'] {
  background: #d0ba8d;
  border-color: #d0ba8d;
  color: #15243a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .matchup-tip {
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-needed {
  color: var(--gold);
  font-size: var(--type-caption);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-needed.quiet {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: var(--navy);
  padding-top: 7px;
  z-index: 3;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions .game-button {
  flex: 1;
  padding: 12px 8px;
  min-height: 52px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions [data-action='ball'] {
  background: var(--gold);
  color: #142033;
  border-color: #ffe4a2;
  border-bottom-color: #987139;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-ball-icon {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
  background: #a83d31;
  border: 1px solid #efb39e;
  position: relative;
  transform: rotate(25deg);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-ball-icon:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  border-left: 1px dashed #ffebc9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .keyboard-hint {
  font-size: var(--type-caption);
  color: var(--dim);
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stop-over {
  font-size: var(--type-caption);
  min-height: 40px;
  background: #644140;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
  align-items: stretch;
  text-align: center;
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-emblem {
  font-size: var(--type-score);
  color: var(--gold);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen h2 {
  font-size: var(--type-display);
  line-height: 1.1;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen p {
  color: var(--dim);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .game-button {
  width: 100%;
  background: var(--gold);
  color: #15243a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pre-match {
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  gap: 16px;
  background: radial-gradient(ellipse at 50% 30%, #334461, var(--night) 70%);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pre-match h2 {
  font-size: var(--type-score);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pre-match p {
  max-width: 450px;
  color: var(--dim);
}
/* Shared player information: fixed hierarchy, no competing nested headers. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-screen {
  padding: 22px 24px 26px;
  min-height: 100%;
  background: var(--ui-surface, #152735);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-header > div:first-child {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-title {
  font-size: var(--type-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-subtitle {
  font-size: var(--type-body);
  color: var(--dim);
  margin-top: 7px;
  max-width: 670px;
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-size: var(--type-caption);
  color: var(--dim);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter strong {
  font-size: var(--type-score);
  color: var(--gold);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coin-count {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coin-icon {
  color: var(--gold);
  font-size: 0.7em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card {
  background: var(--ui-raised, #1c3047);
  border: 1px solid #506b84;
  border-bottom: 4px solid #0a1727;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card.is-selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-head {
  position: absolute;
  inset: 0 0 auto;
  height: 65px;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 10px;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-number {
  font-size: var(--type-caption);
  color: #e0d8ec;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .overall-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--type-display);
  color: var(--gold);
  font-weight: 800;
  line-height: 1.1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .overall-rating small {
  display: block;
  font-size: var(--type-caption);
  color: var(--dim);
  margin-bottom: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .portrait-wrap {
  position: relative;
  height: 148px;
  display: flex;
  align-items: end;
  justify-content: center;
  background: linear-gradient(135deg, #4a4869, #283b59);
  overflow: hidden;
  padding-top: 8px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .portrait-wrap svg {
  height: 140px;
  width: 117px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pixel-portrait {
  display: block;
  image-rendering: pixelated;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-selected .portrait-wrap {
  background: linear-gradient(135deg, #65593f, #3c395a);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-stamp {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background: var(--gold);
  color: #15243a;
  font-size: var(--type-caption);
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-name {
  font-size: var(--type-section);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-role,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-metadata {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--dim);
  margin-bottom: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #405b73;
  border-bottom: 1px solid #405b73;
  padding: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-strip > div {
  display: flex;
  flex-direction: column;
  font-size: var(--type-caption);
  color: var(--dim);
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-strip strong {
  font-size: var(--type-name);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-readiness {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 11px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-label {
  flex: 0 0 47px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-track {
  display: block;
  flex: 1;
  height: 6px;
  overflow: hidden;
  background: var(--ui-raised, #243448);
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-bar {
  display: block;
  width: 100%;
  height: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-row > b {
  width: 22px;
  text-align: right;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-mood {
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.5;
  margin-bottom: 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-mood b {
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-action {
  margin-top: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-action > .game-button {
  width: 100%;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  margin: 22px -24px -26px;
  background: var(--ui-surface, #0d1d30);
  border-top: 1px solid #60788f;
  min-height: 70px;
  box-shadow: 0 -5px 14px #07111b55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .action-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .action-summary strong {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-action-pair {
  display: flex;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-rules {
  margin-top: 20px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) summary {
  min-height: 40px;
  cursor: pointer;
  color: var(--gold);
  font-weight: 700;
  display: list-item;
  line-height: 1.6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-rules ul {
  padding-left: 20px;
  line-height: 1.7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--type-caption);
  font-weight: 700;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-choice input {
  width: 22px;
  height: 22px;
  min-height: 0;
  flex: 0 0 22px;
  padding: 0;
  accent-color: var(--gold);
}
/* Auction: a quiet stage behind the data, with actions reserved in layout. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-room {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-stage {
  position: relative;
  background: var(--ui-surface, #17233b);
  border: 1px solid #555675;
  border-radius: 5px;
  overflow: clip;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-stage-content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 20px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight {
  position: relative;
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight svg {
  width: 150px;
  height: 180px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .lot-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px 7px;
  background: var(--ui-surface, #17263b);
  color: var(--gold);
  font-size: var(--type-caption);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rating {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gold);
  color: #172337;
  font-size: var(--type-number);
  font-weight: 800;
  padding: 4px 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rating small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy h2 {
  font-size: var(--type-display);
  line-height: 1.15;
  margin-bottom: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .skill-strip {
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-role {
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-potential {
  font-size: var(--type-caption);
  color: var(--mint);
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--ui-surface, #101e31);
  border-top: 1px solid #45526b;
  border-bottom: 1px solid #45526b;
  padding: 12px;
  min-height: 93px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bid-amount {
  font-size: var(--type-score);
  line-height: 1.2;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard p {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-paddles {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 12px 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-paddle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: var(--type-caption);
  text-align: center;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-paddle strong {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bid-paddle-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #46516f;
  border: 2px solid #8b92af;
  border-radius: 50%;
  font-size: var(--type-section);
  font-weight: 800;
  color: #eff0e1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-leading .bid-paddle-icon {
  background: #c7a459;
  color: #1c2333;
  border-color: #ffe18c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions {
  display: flex;
  gap: 10px;
  padding: 13px 16px;
  background: var(--ui-surface, #12263b);
  border-top: 1px solid #3f536a;
  position: sticky;
  bottom: 0;
  z-index: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions > .game-button {
  flex: 1;
  font-size: var(--type-body);
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-budget-note {
  font-size: var(--type-caption);
  color: var(--dim);
  text-align: center;
  padding: 0 16px 13px;
  background: var(--ui-surface, #12263b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-floor {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ui-canvas, #0c192b);
  justify-content: center;
  border-top: 1px solid #344b64;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-seat {
  font-size: var(--type-caption);
  color: var(--dim);
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-seat b {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-seat.is-leading {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-sidebar {
  background: var(--ui-surface, #15283d);
  border: 1px solid var(--edge);
  padding: 17px;
  border-radius: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-roster-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-roster-heading strong {
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-roster-heading small {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .roster-needs {
  font-size: var(--type-caption);
  margin: 12px 0;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .roster-needs > span {
  display: inline-block;
  margin: 0 8px 6px 0;
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .roster-needs .is-covered {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-roster {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 13px 0;
  padding: 0;
  max-height: 300px;
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #36516b;
  padding-bottom: 8px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player svg {
  width: 34px;
  height: 41px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player small {
  display: block;
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player > b {
  margin-left: auto;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .empty-dugout {
  text-align: center;
  padding: 18px 5px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .empty-dugout > span {
  display: block;
  font-size: var(--type-display);
  color: #829ab1;
  margin-bottom: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-tools {
  margin-top: 16px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-tools .game-button {
  font-size: var(--type-caption);
  margin: 4px 3px;
  padding: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-tools p {
  margin: 7px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-sidebar > [data-action='finish-auction'] {
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 12px 15px;
  background: var(--ui-canvas, #0b1b2c);
  border-left: 3px solid var(--gold);
  margin: 16px 0 0;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker li {
  display: flex;
  gap: 4px;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker li > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker strong {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-finished {
  position: relative;
  padding: 32px;
  text-align: center;
  color: var(--mint);
}
/* Club spaces stay compact enough to show their associated actions. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-ground {
  background: var(--ui-surface, #152d36);
  border: 1px solid #527263;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-map {
  width: 100%;
  height: 185px;
  display: block;
  image-rendering: pixelated;
  object-fit: cover;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #547666;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop {
  background: #18342c;
  padding: 14px;
  border-right: 1px solid #45695c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop:last-child {
  border-right: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop h3 {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-level {
  font-size: var(--type-caption);
  color: var(--mint);
  margin-bottom: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop p {
  font-size: var(--type-caption);
  color: #cee1d4;
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-controls {
  margin-top: 11px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-controls .game-button {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: end;
  background: var(--ui-raised, #1b3048);
  padding: 17px;
  border: 1px solid var(--edge);
  margin-bottom: 20px;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials h3 {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials label {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials select {
  display: block;
  min-width: 135px;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials p {
  max-width: 480px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-tradeoff small {
  display: block;
  font-size: var(--type-caption);
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-bench > h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-section-heading h3 {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-lineup {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card {
  background: var(--ui-raised, #1d3249);
  border: 1px solid var(--edge);
  padding: 13px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card svg {
  width: 54px;
  height: 65px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card h4 {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card p {
  font-size: var(--type-caption);
  color: var(--dim);
  margin: 5px 0 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card .game-button {
  font-size: var(--type-caption);
  padding: 8px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-events {
  margin-top: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-section-heading > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event-row {
  display: flex;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event {
  padding: 14px;
  background: var(--ui-raised, #1d3146);
  border: 1px solid var(--edge);
  flex: 1;
  min-width: 0;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .event-pixel-icon {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event h4 {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event p {
  font-size: var(--type-caption);
  color: var(--dim);
  margin: 6px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event small {
  font-size: var(--type-caption);
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event > .game-button {
  margin-top: 12px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-result {
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  background: var(--ui-raised, #243954);
  margin-top: 20px;
  color: var(--cream);
  font-size: var(--type-body);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-ground-banner {
  background: #20463b;
  border: 1px solid #537d66;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-ground-banner p {
  font-size: var(--type-body);
  color: #d7e8dc;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-net {
  font-size: var(--type-title);
  letter-spacing: 1px;
  color: #b6d8af;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 20px 13px;
  border: 1px dashed #5c768c;
  background: var(--ui-surface, #12263a);
  text-align: center;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .empty-prospect {
  width: 86px;
  height: 108px;
  border: 1px dashed #748b9c;
  display: grid;
  place-items: center;
  font-size: var(--type-score);
  color: #9fb4c6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty strong {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-notes {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-progress {
  font-size: var(--type-caption);
  color: var(--mint);
  margin-bottom: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) dialog {
  max-width: 460px;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: 25px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) dialog::backdrop {
  background: var(--ui-canvas, #030c19);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) dialog h2 {
  color: var(--gold);
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) dialog p {
  margin: 16px 0;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) dialog button {
  padding: 9px 13px;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: var(--panel2);
  color: var(--cream);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .button-row .primary {
  background: var(--gold);
  color: var(--night);
}

@container game (max-width:1080px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena {
    grid-template-columns: minmax(0, 1fr) 294px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
    padding: 12px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-room {
    grid-template-columns: minmax(0, 1.6fr) minmax(225px, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player {
    gap: 16px;
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight {
    flex-basis: 125px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight svg {
    width: 125px;
    height: 150px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy h2 {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-lineup,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event-row {
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event {
    flex: 1 1 240px;
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell {
    height: calc(100cqh - 77px);
    max-height: none;
    border-radius: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar {
    height: 40px;
    padding: 0 7px;
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar .game-button {
    padding: 5px 6px;
    min-height: 36px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar [data-action='home'] > span {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-title-small {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools .game-button {
    min-width: 34px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar .ui-icon {
    width: 19px;
    height: 19px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip {
    font-size: var(--type-caption);
    min-height: 35px;
    padding: 6px 10px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip strong {
    max-width: 140px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-coins span {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav {
    min-height: 55px;
    padding: 4px;
    gap: 2px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button {
    min-width: 0;
    flex: 1;
    padding: 4px 7px;
    font-size: var(--type-caption);
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .ui-icon {
    width: 20px;
    height: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .notice {
    left: 10px;
    max-width: calc(100% - 20px);
    bottom: 65px;
    font-size: var(--type-caption);
    padding: 9px 11px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene {
    min-height: 0;
    display: block;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene canvas {
    position: absolute;
    left: 0;
    top: 150px;
    width: 100%;
    height: calc(100% - 330px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
    padding: 24px 24px 0;
    justify-content: flex-start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content h1 {
    font-size: var(--type-score);
    letter-spacing: -1.3px;
    line-height: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-tagline {
    font-size: var(--type-body);
    margin: 12px 0 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions {
    width: 100%;
    margin-top: auto;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button {
    font-size: var(--type-section);
    min-height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-scoreboard {
    flex-basis: 68px;
    padding: 7px 11px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-stamp {
    width: 26px;
    height: 26px;
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-team {
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opponent-name {
    font-size: var(--type-caption);
    max-width: 125px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .live-score {
    font-size: var(--type-score);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .live-score span {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena {
    display: flex;
    flex-direction: column;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-column {
    flex: 1;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap {
    min-height: 150px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label {
    top: 7px;
    left: 8px;
    font-size: var(--type-caption);
    padding: 4px 7px;
    gap: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary {
    min-height: 46px;
    padding: 7px 10px;
    gap: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .recent-balls {
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip {
    width: 23px;
    height: 23px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .waiting-ball {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary p {
    font-size: var(--type-caption);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar {
    min-height: 54px;
    padding: 6px 10px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar .game-button {
    font-size: var(--type-caption);
    padding: 7px 9px;
    min-height: 40px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
    border-left: 0;
    border-top: 1px solid #40566f;
    flex: 0 0 auto;
    overflow: visible;
    padding: 8px 10px;
    gap: 8px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    align-items: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read {
    padding: 0;
    border: 0;
    grid-column: 1/-1;
    gap: 8px;
    min-height: 32px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bat-icon .ui-icon {
    width: 23px;
    height: 26px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read strong > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read p {
    font-size: var(--type-caption);
    margin-top: 1px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser {
    gap: 8px;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser > .pixel-portrait {
    width: 40px;
    height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser label {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser select {
    min-height: 37px;
    font-size: var(--type-caption);
    padding: 5px 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p {
    font-size: var(--type-caption);
    gap: 3px 9px;
    margin-top: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p > span:first-child {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px;
    font-size: var(--type-caption);
    min-height: 55px;
    align-self: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) small {
    font-size: var(--type-caption);
    font-weight: 500;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    z-index: 25;
    padding: 16px;
    background: var(--ui-surface, #142b42);
    border: 1px solid #8293a5;
    border-radius: 7px;
    box-shadow: 0 -6px 28px #0008;
    max-height: calc(100cqh - 32px);
    overflow: auto;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout.tactics-open .tactical-controls {
    display: flex;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls .sheet-heading {
    display: flex;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-row > span {
    font-size: var(--type-caption);
    margin-bottom: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-button {
    min-height: 44px;
    font-size: var(--type-caption);
    padding: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .matchup-tip,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .keyboard-hint {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-needed {
    grid-column: 1/-1;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions {
    grid-column: 1/-1;
    margin: 0;
    padding: 0;
    position: static;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions .game-button {
    min-height: 48px;
    font-size: var(--type-body);
    padding: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions [data-action='ball'] {
    font-size: var(--type-name);
    flex: 1.2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stop-over {
    grid-column: 1/-1;
    min-height: 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100cqh - 32px);
    overflow: auto;
    z-index: 25;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector .fielder-label {
    grid-column: 1/-1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector select,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector input {
    font-size: var(--type-body);
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-inspector p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
    min-height: 0;
    text-align: left;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-screen {
    padding: 17px 12px 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-header {
    margin-bottom: 16px;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-title {
    font-size: var(--type-title);
    line-height: 1.2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-subtitle {
    font-size: var(--type-caption);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter {
    font-size: var(--type-caption);
    max-width: 112px;
    text-align: right;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter strong {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-header > .game-button {
    font-size: var(--type-caption);
    padding: 9px;
    max-width: 145px;
    flex: 0 0 auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .portrait-wrap {
    height: 125px;
    padding-top: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .portrait-wrap svg {
    height: 117px;
    width: 98px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-head {
    padding: 8px;
    height: 65px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-number {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .overall-rating {
    top: 10px;
    left: 9px;
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .overall-rating small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-stamp {
    font-size: var(--type-caption);
    right: 5px;
    bottom: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-copy {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-name {
    font-size: var(--type-body);
    margin-bottom: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-metadata,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-role {
    font-size: var(--type-caption);
    line-height: 1.45;
    margin-bottom: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-strip {
    gap: 6px;
    padding: 7px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-strip > div {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-strip strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-readiness {
    gap: 6px;
    margin: 10px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-row {
    font-size: var(--type-caption);
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-label {
    flex-basis: 42px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-row > b {
    width: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-mood {
    font-size: var(--type-caption);
    margin-bottom: 11px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-action > .game-button {
    font-size: var(--type-caption);
    padding: 9px 5px;
    gap: 5px;
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sticky-actions {
    min-height: 68px;
    padding: 12px;
    margin: 20px -12px -24px;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sticky-actions .game-button {
    font-size: var(--type-caption);
    padding: 10px;
    max-width: 190px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .action-summary {
    font-size: var(--type-caption);
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-action-pair {
    flex-direction: column;
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-rules {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-choice {
    font-size: var(--type-caption);
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-room {
    grid-template-columns: 1fr;
    gap: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player {
    padding: 16px 12px;
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight {
    flex-basis: 112px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight svg {
    width: 112px;
    height: 135px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .lot-label {
    font-size: var(--type-caption);
    padding: 3px 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rating {
    font-size: var(--type-title);
    padding: 3px 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rating small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-role {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-potential {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .readiness-label {
    flex-basis: 42px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .skill-strip {
    margin-top: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard {
    padding: 11px;
    min-height: 87px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bid-amount {
    font-size: var(--type-score);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-paddles {
    padding: 12px;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-paddle {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bid-paddle-icon {
    width: 34px;
    height: 34px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions {
    padding: 12px;
    gap: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions > .game-button {
    font-size: var(--type-caption);
    padding: 10px 8px;
    min-height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-budget-note {
    font-size: var(--type-caption);
    padding: 0 12px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-floor {
    padding: 10px;
    gap: 12px;
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-seat {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-sidebar {
    padding: 15px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-roster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 260px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player {
    font-size: var(--type-caption);
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player svg {
    width: 28px;
    height: 34px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player > b {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker li {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-ticker li > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-map {
    height: 135px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stops {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border-right: 0;
    border-bottom: 1px solid #45695c;
    gap: 3px 10px;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop:last-child {
    border-bottom: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-level,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop > p {
    grid-column: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop h3 {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-level,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-stop p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-controls {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0;
    align-self: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-controls .game-button {
    font-size: var(--type-caption);
    padding: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials {
    padding: 13px;
    gap: 13px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials > div:first-child {
    width: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials h3 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials label {
    font-size: var(--type-caption);
    flex: 1;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials select {
    min-width: 0;
    width: 100%;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-dials p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card {
    flex-basis: 100%;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card svg {
    width: 46px;
    height: 55px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card h4 {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-card p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event {
    flex-basis: 100%;
    padding: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event h4 {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-event > .game-button {
    margin: 0;
    font-size: var(--type-caption);
    padding: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-section-heading > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-result {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-ground-banner {
    padding: 13px;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-ground-banner p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-net {
    font-size: var(--type-caption);
    letter-spacing: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty {
    padding: 18px 10px;
    gap: 11px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .empty-prospect {
    width: 76px;
    height: 95px;
    font-size: var(--type-score);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-notes {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pre-match {
    padding: 24px 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pre-match h2 {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pre-match p {
    font-size: var(--type-body);
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-stamp {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-scoreboard {
    gap: 7px;
    padding: 8px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opponent-name {
    max-width: 110px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chase-equation > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-overs strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .live-score {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
    grid-template-columns: minmax(0, 1fr) 96px;
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser {
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser > .pixel-portrait {
    width: 32px;
    height: 39px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p {
    font-size: var(--type-caption);
    gap: 4px 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) {
    font-size: var(--type-caption);
    padding: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip strong {
    max-width: 105px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-title {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-header {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter {
    max-width: 85px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter strong {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-counter small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-header > .game-button {
    max-width: 125px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-copy {
    padding: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-name {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-row {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .readiness-label {
    flex-basis: 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-mood {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-number {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .overall-rating {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player {
    gap: 10px;
    padding: 14px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight {
    flex-basis: 92px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight svg {
    width: 92px;
    height: 111px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .readiness-row {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .readiness-label {
    flex-basis: 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .readiness-row > b {
    width: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions > .game-button {
    font-size: var(--type-caption);
    padding: 10px 6px;
  }
}
/* Short windows scroll naturally; they never crop a game under a fixed height. */
@container game (max-height:610px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell {
    height: auto;
    max-height: none;
    min-height: calc(100cqh - 95px);
    overflow: visible;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell #n-app {
    flex: auto;
    overflow: visible;
    scrollbar-gutter: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene {
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
    padding-top: 30px;
    justify-content: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen {
    height: auto;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena {
    min-height: 420px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap {
    min-height: 260px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
    overflow: visible;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions {
    position: static;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-screen {
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sticky-actions,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions {
    position: sticky;
    bottom: 62px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav {
    position: sticky;
    bottom: 0;
  }
}
@container game (max-height:610px) and (min-width:560px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene {
    min-height: 280px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene canvas {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;
    grid-column: 2;
    grid-row: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
    padding: 20px 24px 0;
    justify-content: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content h1 {
    font-size: var(--type-score);
    letter-spacing: -1px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-tagline {
    font-size: var(--type-body);
    margin: 12px 0 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions {
    margin: 0;
    width: 235px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button {
    min-height: 44px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    min-height: 460px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-needed {
    grid-column: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls {
    position: fixed;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) {
    width: 100%;
    min-height: 44px;
    flex-direction: row;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .matchup-tip {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap {
    min-height: 240px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar {
    align-items: flex-start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar .game-button {
    max-width: 110px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary {
    flex-direction: column;
    align-items: flex-start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .score-team .team-stamp {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button {
    transition:
      background-color 0.12s,
      border-color 0.12s;
  }
}
@container game (max-height:610px) and (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sticky-actions,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-actions {
    bottom: 55px;
  }
}
/* Short desktop match panels keep the bowling action clear of tactic choices. */
@container game (min-width:701px) and (min-height:611px) and (max-height:860px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 58px;
    font-size: var(--type-body);
    text-align: left;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) small {
    font-size: var(--type-caption);
    font-weight: 500;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls {
    display: none;
    position: fixed;
    right: 36px;
    bottom: 96px;
    width: 460px;
    max-width: calc(100cqw - 72px);
    max-height: calc(100cqh - 160px);
    overflow: auto;
    z-index: 25;
    padding: 18px;
    background: var(--ui-surface, #142b42);
    border: 1px solid #8293a5;
    border-radius: 7px;
    box-shadow: 0 -6px 28px #0008;
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout.tactics-open .tactical-controls,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls .sheet-heading {
    display: flex;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactic-button {
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions {
    position: static;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .keyboard-hint {
    display: none;
  }
}
@container game (min-width:701px) and (max-height:780px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen > .scene-header {
    margin-bottom: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player {
    padding: 12px;
    gap: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .player-metadata {
    margin-bottom: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy .skill-strip {
    margin-top: 8px;
    padding: 6px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .player-readiness {
    flex-direction: row;
    gap: 18px;
    margin: 8px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .readiness-track {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .readiness-row {
    font-size: var(--type-caption);
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .readiness-label {
    flex-basis: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .readiness-row > b {
    width: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player .auction-potential {
    margin-top: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    min-height: 66px;
    padding: 8px 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard > span {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard .bid-amount {
    grid-column: 1;
    grid-row: 2;
    font-size: var(--type-score);
    line-height: 1.1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bidboard > p {
    grid-column: 2;
    grid-row: 1/3;
    justify-self: end;
    text-align: right;
    max-width: 280px;
  }
}
/* Match analysis is a focused sheet; the live field keeps its own space. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-dialog {
  width: min(960px, calc(100cqw - 32px));
  max-width: calc(100cqw - 32px);
  max-height: calc(100cqh - 32px);
  padding: 0;
  border: 1px solid #84958f;
  border-radius: 5px;
  background: var(--ui-surface, #182b38);
  color: var(--cream);
  overflow: auto;
  box-shadow: 0 16px 70px #0007;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-dialog::backdrop {
  background: var(--ui-canvas, #07151c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  background: var(--ui-surface, #182b38);
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header h2 {
  font-size: var(--type-number);
  letter-spacing: -0.4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header p {
  font-size: var(--type-body);
  color: var(--dim);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header .game-button {
  border: 0;
  background: transparent;
  min-width: 44px;
  padding: 9px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-body {
  padding: 18px 20px 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-conditions {
  border-bottom: 1px solid var(--edge);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-conditions summary {
  font-size: var(--type-body);
  color: var(--cream);
  font-weight: 700;
  min-height: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: var(--type-body);
  color: var(--dim);
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-rates strong {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-conditions p {
  font-size: var(--type-body);
  color: var(--dim);
  line-height: 1.55;
  margin: 9px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-conditions .analysis-error {
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-error:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin: 10px 0 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-readout > div {
  display: flex;
  gap: 8px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-readout dt {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-readout dd {
  margin: 0;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-controls,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-controls label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-filters label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-select {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-controls select,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-filters select,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-select select {
  width: 100%;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-tabs {
  display: flex;
  gap: 6px;
  margin: 12px 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-tabs .game-button {
  flex: 1;
  font-size: var(--type-body);
  min-height: 44px;
  padding: 9px 12px;
  background: transparent;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-tabs [aria-pressed='true'] {
  background: #d0ba8d;
  border-color: #d0ba8d;
  color: #15243a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-tabs .game-button[aria-pressed='true']:hover:not(:disabled) {
  background: #deca9f;
  border-color: #deca9f;
  color: #15243a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-filters {
  margin-bottom: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-select {
  margin: 0 0 16px;
  max-width: 420px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-figure {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-figure figcaption,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-caption {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart h3 {
  font-size: var(--type-title);
  margin: 6px 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart p {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  margin: 12px auto;
  background: var(--ui-surface, #122631);
  border: 1px solid #455c67;
  border-radius: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart svg text {
  font-family: Manrope, Arial, sans-serif;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-figure .analysis-chart-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--type-section);
  font-weight: 700;
  color: var(--cream);
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-title > span {
  font-size: var(--type-caption);
  font-weight: 500;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point {
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:focus-visible {
  outline: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:focus-visible circle,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:focus-visible path {
  stroke: #fff4c5;
  stroke-width: 3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding: 10px 0 14px;
  margin: 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics > div {
  min-width: 70px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics dt {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics dd {
  font-size: var(--type-title);
  font-weight: 700;
  margin: 2px 0 0;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 12px 0;
  padding: 0;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend svg {
  width: 10px !important;
  height: 10px !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery {
  padding: 14px 0;
  margin-top: 16px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery h3 > span {
  font-size: var(--type-body);
  color: var(--dim);
  font-weight: 500;
  margin-left: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-data dt {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-data dd {
  font-size: var(--type-body);
  margin: 3px 0 0;
  color: var(--cream);
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-table-scroll {
  overflow: auto;
  max-height: 250px;
  margin-top: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--type-body);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-table caption {
  text-align: left;
  padding: 10px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--edge);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-table th {
  color: var(--dim);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-empty {
  padding: 28px 10px;
  text-align: center;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-pair {
  display: grid;
  gap: 9px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px;
  gap: 9px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager strong {
  font-size: var(--type-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager small {
  font-size: var(--type-caption);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager select {
  min-height: 39px;
  width: 100%;
  font-size: var(--type-body);
  padding: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opposition-bowler {
  font-size: var(--type-caption);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  color: var(--dim);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opposition-bowler > strong {
  font-size: var(--type-body);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opposition-bowler p {
  width: 100%;
  margin: 0;
  font-size: var(--type-caption);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout > [data-action='match-tactics']:where([data-section="targets"]) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  min-height: 50px;
  font-size: var(--type-body);
  padding: 8px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout > [data-action='match-tactics']:where([data-section="targets"]) small {
  font-size: var(--type-caption);
  font-weight: 400;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout .batting-target-sheet {
  display: none;
  position: fixed;
  right: 36px;
  bottom: 96px;
  width: 430px;
  max-width: calc(100cqw - 32px);
  max-height: calc(100cqh - 120px);
  overflow: auto;
  z-index: 25;
  padding: 18px;
  background: var(--ui-surface, #142b42);
  border: 1px solid #8293a5;
  border-radius: 5px;
  box-shadow: 0 -6px 28px #0008;
  gap: 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout.tactics-open .batting-target-sheet,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-target-sheet .sheet-heading {
  display: flex;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-target-sheet > p {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-bowler-options {
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-bowler-options > label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--edge);
  min-height: 48px;
  font-size: var(--type-body);
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-bowler-options input {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-bowler-options span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-bowler-options small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard {
  width: 100%;
  font-size: var(--type-body);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard summary {
  cursor: pointer;
  padding: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard td {
  padding: 8px 5px;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard td {
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-scorecard tbody th {
  font-weight: 400;
}
@container game (min-width:701px) and (max-height:860px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout {
    gap: 8px;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout .sim-hint {
    display: none;
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout .batting-pair,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout .opposition-bowler,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout > [data-action='match-tactics']:where([data-section="targets"]) {
    grid-column: 1/-1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-pair {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager {
    grid-template-columns: minmax(0, 1fr) 120px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager select {
    min-height: 40px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opposition-bowler {
    gap: 4px 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opposition-bowler p {
    width: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-dugout .batting-target-sheet {
    left: 12px;
    right: 12px;
    bottom: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100cqh - 32px);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button[data-action='continue'] {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button[data-action='continue'] small {
  font-size: var(--type-caption);
  font-weight: 400;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button[data-action='choose-nation'] {
  background: var(--gold);
  border-color: var(--gold);
  color: #142033;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-count {
  font-size: var(--type-caption);
  min-width: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-dialog {
  width: min(720px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
  max-height: calc(100cqh - 24px);
  padding: 22px;
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-name-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--type-body);
  margin: 14px 0 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-name-label > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-name-label input {
  width: 100%;
  font-size: var(--type-section);
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list .load-career {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 5px;
  padding: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .load-career strong {
  font-size: var(--type-name);
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .load-career > span {
  font-size: var(--type-body);
  font-weight: 400;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .load-career small {
  font-size: var(--type-caption);
  color: var(--dim);
  font-weight: 400;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list [data-action='delete-career'] {
  flex: 0 0 auto;
  font-size: var(--type-caption);
  padding: 9px;
  color: #f4b6a7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-footer .game-button {
  min-height: 44px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(140px, 1fr) auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene canvas {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    grid-column: 1;
    grid-row: 2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
    display: contents;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-heading {
    grid-column: 1;
    grid-row: 1;
    padding: 22px 24px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    width: 100%;
    padding: 12px 24px 0;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions .game-button {
    min-height: 44px;
    font-size: var(--type-body);
    padding: 9px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-dialog {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list li {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list .load-career {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .load-career strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .load-career > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list [data-action='delete-career'] {
    padding: 8px;
    font-size: var(--type-caption);
  }
}
@container game (max-width:700px) and (max-height:610px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-screen='title'] #n-app {
    overflow: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene {
    min-height: 600px;
    grid-template-rows: auto 180px auto;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card .player-metadata {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide {
  flex: 0 0 auto;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide strong {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide p {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--dim);
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-identity,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-batting-identity {
  color: var(--gold) !important;
  font-size: var(--type-caption);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-batting-identity {
  margin: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide > span {
  display: block;
  font-size: var(--type-body);
  line-height: 1.5;
  margin-top: 4px;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-injury {
  color: #ffb5a6;
  font-size: var(--type-body);
  line-height: 1.5;
  padding: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-health {
  border-bottom: 1px solid var(--edge);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-health h3 {
  font-size: var(--type-title);
  margin-bottom: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-health p {
  font-size: var(--type-body);
  line-height: 1.6;
  margin-top: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-health [data-report-medical] {
  font-weight: 700;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .medical-updates {
  padding-left: 20px;
  font-size: var(--type-body);
  line-height: 1.7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-quick-plans {
  display: flex;
  gap: 7px;
  padding: 8px 12px;
  border-top: 1px solid var(--edge);
  background: var(--ui-surface, #1a303b);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-quick-plans .game-button {
  flex: 1;
  min-height: 42px;
  padding: 7px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .simple-bowling {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .simple-bowling .game-button {
  flex: 1;
  padding: 7px 5px;
  min-height: 44px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > [data-action='match-tactics']:where([data-section="delivery"]) {
  display: flex;
  min-height: 40px;
  background: transparent;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout .tactical-controls {
  display: none;
  position: fixed;
  left: auto;
  right: 28px;
  bottom: 95px;
  width: 390px;
  max-width: calc(100cqw - 40px);
  max-height: calc(100cqh - 140px);
  overflow: auto;
  z-index: 25;
  padding: 18px;
  background: var(--ui-surface, #142b42);
  border: 1px solid #8293a5;
  border-radius: 5px;
  box-shadow: 0 -6px 28px #0008;
  gap: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout.tactics-open .tactical-controls,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout .tactical-controls .sheet-heading {
  display: flex;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > .keyboard-hint {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details {
  grid-column: 1/-1;
  font-size: var(--type-body);
  border-top: 1px solid var(--edge);
  padding-top: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details summary {
  min-height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 25px;
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details dt {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details dd {
  margin: 0;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-quick-plans {
    padding: 8px;
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-quick-plans .game-button {
    font-size: var(--type-caption);
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .simple-bowling,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide {
    grid-column: 1/-1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .simple-bowling .game-button {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout .tactical-controls {
    left: 12px;
    right: 12px;
    bottom: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100cqh - 32px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-details dl {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide p {
    font-size: var(--type-body);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .scene-title {
  text-transform: none;
  font-size: var(--type-display);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds small {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds strong {
  font-size: var(--type-score);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-tabs,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-role-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-tabs .game-button {
  min-width: 100px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-tabs [aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-role-tabs [aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-selector [aria-pressed='true'] {
  background: #3d5559;
  border-color: var(--gold);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-estate {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
  gap: 22px;
  align-items: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map {
  min-width: 0;
  background: #365a45;
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ui-surface, #1b303b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map-heading h3 {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map-heading .game-button {
  font-size: var(--type-caption);
  min-height: 40px;
  padding: 7px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-campus {
  display: block;
  width: 100%;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map.is-preview {
  border: 2px solid var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-preview-note {
  background: #39473e;
  color: var(--gold);
  padding: 12px 16px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-selector .game-button {
  flex: 1;
  padding: 8px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-inspector h3 {
  font-size: var(--type-number);
  margin: 0 0 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-inspector > p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-building p {
  font-size: var(--type-section);
  line-height: 1.6;
  color: var(--dim);
  margin: 0 0 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-inspector .facility-benefit {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-building {
  padding-top: 19px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-building h4 {
  font-size: var(--type-name);
  margin: 0 0 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-building .game-button {
  min-height: 48px;
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-building small {
  display: block;
  font-size: var(--type-body);
  color: var(--dim);
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-complete {
  color: var(--mint) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-current {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-block: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-current h3 {
  font-size: var(--type-title);
  margin: 0 0 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-current p {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-current > strong {
  font-size: var(--type-body);
  white-space: nowrap;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-hiring-note {
  font-size: var(--type-body);
  line-height: 1.6;
  margin: 16px 0;
  color: var(--dim);
  max-width: 75ch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-candidate {
  display: grid;
  grid-template-columns: 64px minmax(140px, 1fr) minmax(175px, 1fr) 160px;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-candidate .pixel-portrait {
  max-width: 100%;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-identity h4 {
  font-size: var(--type-title);
  margin: 0 0 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-identity > p {
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-identity .staff-approach {
  color: var(--dim);
  font-size: var(--type-body);
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-skills {
  margin: 0;
  display: grid;
  gap: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-skills > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-skills dt {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-skills dd {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-bar {
  display: flex;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-bar i {
  display: block;
  width: 12px;
  height: 9px;
  background: #3b5267;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-bar .filled {
  background: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p {
  font-size: var(--type-body);
  line-height: 1.7;
  color: var(--dim);
  margin: 0 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer strong {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer .game-button {
  width: 100%;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll {
  border-top: 1px solid var(--edge);
  padding-top: 20px;
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll h3 {
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll dl {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  margin: 16px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll dt {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll dd {
  margin: 5px 0 0;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll > p {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--dim);
  max-width: 80ch;
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 750px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan h3 {
  font-size: var(--type-title);
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan label {
  font-size: var(--type-body);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan > p {
  grid-column: 1/-1;
  font-size: var(--type-section);
  line-height: 1.6;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-effects {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 15px 0;
  border-block: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-effects dt {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-effects dd {
  font-size: var(--type-title);
  margin: 4px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-office .club-events {
  margin-top: 30px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-office .club-event {
  gap: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-office .club-result {
  display: block;
  margin-top: 25px;
  padding: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-office .club-result p {
  margin-top: 8px;
  font-size: var(--type-body);
  line-height: 1.6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rating-confidence {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--dim);
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-copy > [data-action='player-report'] {
  font-size: var(--type-body);
  min-height: 40px;
  width: 100%;
  background: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .overall-rating small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-development-note {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border-block: 1px solid var(--edge);
  padding: 16px 0;
  margin-bottom: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-development-note p {
  font-size: var(--type-section);
  line-height: 1.6;
  max-width: 70ch;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-development-note .game-button {
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-dialog {
  width: min(840px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
  max-height: calc(100cqh - 24px);
  overflow: auto;
  padding: 0;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--edge);
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-dialog::backdrop {
  background: var(--ui-canvas, #07151c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header > div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header h2 {
  font-size: var(--type-number);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header p {
  font-size: var(--type-body);
  color: var(--dim);
  margin-top: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header .pixel-portrait {
  flex: 0 0 auto;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body h3 {
  font-size: var(--type-title);
  margin: 0 0 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body p {
  font-size: var(--type-body);
  line-height: 1.65;
  color: var(--dim);
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-ratings,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-skill-view dl {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-ratings > div,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-skill-view dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-ratings dt,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-skill-view dt {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-ratings dd,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-skill-view dd {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 600;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-actions {
  grid-column: 1/-1;
  border-top: 1px solid var(--edge);
  padding-top: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-actions .game-button {
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-actions p {
  margin-bottom: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #report-status,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #report-error {
  font-size: var(--type-body);
  padding: 0 24px 15px;
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #report-error {
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #report-status:empty,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #report-error:empty {
  display: none;
}
@container game (max-width:1050px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-estate {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-candidate {
    grid-template-columns: 56px minmax(120px, 1fr) minmax(160px, 1fr);
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer {
    grid-column: 2/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p {
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer .game-button {
    width: 150px;
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .scene-title {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds {
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds span {
    width: 100%;
    text-align: right;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds strong {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-funds small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-estate {
    grid-template-columns: 1fr;
    gap: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map-heading {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map-heading h3 {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-map-heading .game-button {
    max-width: 140px;
    font-size: var(--type-caption);
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-tabs {
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-tabs .game-button {
    min-width: 0;
    flex: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .estate-inspector h3 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-selector {
    margin-bottom: 15px;
    flex-wrap: nowrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-role-tabs .game-button {
    font-size: var(--type-caption);
    padding: 9px 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-current {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-current h3 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-candidate {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 19px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-identity h4 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-skills {
    grid-column: 1/-1;
    max-width: 380px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-skills dt {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-bar i {
    width: 18px;
    height: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer {
    grid-column: 1/-1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer .game-button {
    width: auto;
    min-width: 112px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-payroll dl {
    gap: 15px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan {
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-effects {
    gap: 15px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-development-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-dialog {
    width: calc(100cqw - 16px);
    max-width: calc(100cqw - 16px);
    max-height: calc(100cqh - 16px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header {
    padding: 14px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header > div {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header .pixel-portrait {
    width: 42px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header > [data-action='close-player-report'] {
    font-size: var(--type-caption);
    padding: 8px;
    min-width: 55px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 22px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-actions .game-button {
    width: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-ratings dt {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-ratings dd {
    font-size: var(--type-section);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactical-controls .matchup-tip {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowl-actions .game-button[data-action='ball']:hover:not(:disabled) {
  background: #f0d39d;
  border-color: #ffe4a2;
  color: #142033;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-button:is(
    .primary,
    [data-action='go-match'],
    [data-action='start-auction'],
    [data-action='finish-auction'],
    [data-action='advance'],
    [data-action='quick-play'],
    [data-action='move-fielder']
  ):hover:not(:disabled),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .game-button:hover:not(:disabled) {
  background: #f0d39d;
  border-color: #ffe4a2;
  color: #142033;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen {
    height: auto;
    min-height: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena {
    flex: 1 0 auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-column {
    flex: 1 0 auto;
    min-height: 300px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap {
    min-height: 200px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar {
    flex-shrink: 0;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog {
  width: min(760px, calc(100cqw - 24px));
  max-height: calc(100cqh - 24px);
  padding: 24px;
  background: var(--ui-surface, #182b38);
  color: var(--cream);
  border: 1px solid #84958f;
  border-radius: 5px;
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog::backdrop {
  background: var(--ui-canvas, #07151c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-heading h2 {
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-heading .game-button {
  min-width: 44px;
  padding: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog > p {
  font-size: var(--type-body);
  line-height: 1.6;
  margin: 12px 0 20px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices .game-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 5px;
  min-height: 75px;
  padding: 13px 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices span {
  font-size: var(--type-caption);
  font-weight: 400;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-bands {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-band {
  display: grid;
  grid-template-columns: 60px 60px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-band small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-band svg {
  display: block;
  width: 60px;
  height: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-contract {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: var(--type-caption);
  color: var(--dim);
  margin: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-contract .coin-icon {
  color: #d7bf82;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls select {
  min-height: 38px;
  padding: 5px 8px;
  width: 66px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls .game-button {
  flex: 1;
  min-height: 38px;
  padding: 7px 10px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sim-hint {
  font-size: var(--type-caption);
  line-height: 1.45;
  color: var(--dim);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-progress {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-progress strong {
  font-size: var(--type-display);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-progress span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table-scroll {
  overflow: auto;
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--type-body);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table caption {
  text-align: left;
  padding: 12px 15px;
  font-size: var(--type-title);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--edge);
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table th:nth-child(2),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table tbody th {
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table thead {
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table tbody th {
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table tbody th small {
  display: block;
  color: #dbbf81;
  font-size: var(--type-caption);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table .your-team {
  background: var(--ui-raised, #2b4149);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table .cutoff > * {
  border-bottom: 2px solid #c1aa77;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-format {
  margin: 18px 0 25px;
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-format summary {
  min-height: 40px;
  cursor: pointer;
  color: var(--cream);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-format p {
  max-width: 80ch;
  line-height: 1.65;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-section h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-calendar h3 {
  font-size: var(--type-title);
  margin: 16px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path {
  list-style: none;
  padding: 0;
  margin: 12px 0 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path li {
  padding: 15px;
  border-right: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path li:last-child {
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path h4 {
  font-size: var(--type-body);
  margin: 0 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 0 0 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-calendar .scene-section-heading {
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-calendar .game-button {
  font-size: var(--type-caption);
  min-height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture strong {
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture strong > span {
  font-weight: 400;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-stage,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-score {
  flex: 0 0 auto;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-score strong {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-score small {
  display: block;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-score > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .own-fixture .fixture-stage {
  color: #dbbf81;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-heading h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices .game-button {
    min-height: 70px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-band {
    grid-template-columns: 1fr 56px;
    gap: 4px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-band small {
    grid-column: 1/-1;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .skill-band svg {
    width: 56px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-contract {
    font-size: var(--type-caption);
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls {
    grid-column: 1/-1;
    justify-content: space-between;
    align-items: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls .game-button {
    flex: 0 1 auto;
    min-height: 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sim-hint {
    grid-column: 1/-1;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table td {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-progress strong {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-progress span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-progress {
    max-width: 95px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path {
    grid-template-columns: 1fr 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path li {
    padding: 12px;
    border-bottom: 1px solid var(--edge);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path li:nth-child(2) {
    border-right: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-path li:nth-child(3) {
    border-bottom: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture {
    align-items: flex-start;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-stage {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-score {
    max-width: 125px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-score strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-format {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture > div:first-child {
    min-width: 0;
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar {
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-actions {
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar .field-actions .game-button {
    font-size: var(--type-caption);
    padding: 7px;
    min-height: 40px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-dialog {
    width: calc(100cqw - 16px);
    max-width: calc(100cqw - 16px);
    max-height: calc(100cqh - 16px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-body {
    padding: 12px 12px 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-delivery-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-tabs .game-button {
    font-size: var(--type-body);
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-filters,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-controls {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-filters > label:last-child,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-controls > label:last-child {
    grid-column: 1/-1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-readout {
    gap: 9px 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-readout > div {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics {
    gap: 12px 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics > div {
    min-width: 60px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics dd {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart svg {
    max-height: none;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p > span:first-child {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser p {
  font-size: var(--type-caption);
  line-height: 1.5;
}
@container game (min-width:701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > .innings-guide {
    order: -4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > .bowl-actions {
    order: -3;
    position: static;
    margin-top: 0;
    padding-top: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > .bowler-chooser,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > .batting-pair {
    order: -2;
  }
}
@container game (min-width:701px) and (max-height:800px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-guide p {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout {
    gap: 9px;
  }
}

/* Website chrome responds to the browser; game components respond to their frame. */
@media (max-width: 700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page {
    padding: 0 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-header {
    height: 45px;
    padding: 0 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .wordmark {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-tools > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-label {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-toggle {
    min-height: 36px;
    padding: 6px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page > footer {
    min-height: 29px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .text-button {
    font-size: var(--type-caption);
    min-height: 29px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/analytics.css */

/* Cricket context stays visible; raw measurements live in the delivery records. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  max-width: 650px;
  margin: 16px auto;
  background: var(--ui-surface, #152044);
  border: 1px solid var(--ui-edge, #50669a);
  border-radius: 0;
  box-shadow: 0 3px 0 #0b122b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart text {
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: 0;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-side-label {
  font-size: var(--type-section);
  font-weight: 700;
  fill: #eee8d8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-orientation-label {
  font-size: var(--type-section);
  fill: #c6d2ee;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-axis-label {
  font-size: var(--type-name);
  fill: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-axis-tick {
  font-size: var(--type-name);
  fill: #d8dff2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-chart-score {
  font-size: var(--type-number);
  font-weight: 800;
  fill: #ffda70;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-height-label {
  font-size: var(--type-body);
  fill: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-sample-number {
  font-size: var(--type-section);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar[role='button'] {
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point .analysis-hit-area {
  pointer-events: all;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:focus,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar:focus {
  outline: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:focus .analysis-hit-area {
  stroke: #fff1ce;
  stroke-width: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:hover .analysis-ball-mark {
  stroke: #fff1ce;
  stroke-width: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-point:not(.is-selected) .analysis-selection-ring {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-wagon .analysis-ball-mark {
  r: 3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-wagon .analysis-point:hover .analysis-shot-line,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-wagon .analysis-point:focus .analysis-shot-line,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-wagon .analysis-point.is-selected .analysis-shot-line {
  stroke-width: 3.5;
  stroke-opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-worm
  .analysis-point:not(.is-selected):not(.analysis-outcome-wicket)
  .analysis-ball-mark {
  opacity: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-worm .analysis-point:not(.analysis-outcome-wicket):hover .analysis-ball-mark,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-worm .analysis-point:not(.analysis-outcome-wicket):focus .analysis-ball-mark {
  opacity: 1;
  fill: #92b8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-worm .analysis-point.is-selected:not(.analysis-outcome-wicket) .analysis-ball-mark {
  fill: #92b8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar.is-selected .analysis-over-fill,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar:hover .analysis-over-fill,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar:focus .analysis-over-fill {
  stroke: #fff1ce;
  stroke-width: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar.is-selected .analysis-over-zero,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-over-bar:focus .analysis-over-zero {
  stroke: #fff1ce;
  stroke-width: 4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-overs-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 650px;
  margin-inline: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-innings-over-panel {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-innings-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--type-section);
  line-height: 1.4;
  margin: 0;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-innings-label > span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-innings-label small {
  font-size: var(--type-body);
  font-weight: 500;
  color: var(--dim);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-innings-label svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin: 0;
  background: none;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart-overs,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart-worm {
  background: var(--night);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-innings-over-panel .analysis-chart {
  margin: 8px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-over-partial-label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-over-zero-label {
  font-size: var(--type-name);
  font-weight: 700;
  fill: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-over-empty {
  font-size: var(--type-name);
  fill: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-pitch-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 650px;
  margin-inline: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-hive-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-hive-panels .analysis-chart {
  margin: 6px 0 10px;
  max-width: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-hive-empty {
  font-size: var(--type-section);
  fill: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-hive-panels .analysis-height-label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-hive-panels .analysis-side-label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-hive-panels .analysis-orientation-label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-hive-panels .analysis-panel-count {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-pitch-panels .analysis-chart {
  margin: 6px 0 10px;
  max-width: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-panel-label {
  font-size: var(--type-title);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-panel-count {
  font-size: var(--type-section);
  fill: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-length-label {
  font-size: var(--type-section);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-distance-label {
  font-size: var(--type-section);
  fill: #ece4c8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart .analysis-panel-empty {
  font-size: var(--type-name);
  fill: #142044;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px !important;
  margin: 10px 0 14px !important;
  padding: 0;
  list-style: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend li {
  font-size: var(--type-caption) !important;
  line-height: 1.3;
  color: #d8dff2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-legend svg {
  flex: 0 0 auto;
  width: 14px !important;
  height: 14px !important;
  max-height: 14px;
  border: 0;
  background: none;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-series-legend svg {
  width: 24px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics > div {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics dd {
  font-size: var(--type-number) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-metrics dt {
  font-size: var(--type-body) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-summary {
  font-size: var(--type-body);
  margin: 4px 0 10px;
  color: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart-title {
  flex-wrap: wrap;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid #4e6399;
  font-size: var(--ui-heading, 20px) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart-title span {
  font-size: var(--type-body) !important;
  color: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-caption {
  max-width: 75ch;
  font-size: var(--type-caption);
  line-height: 1.4;
  color: #bdcaeb;
  margin: 10px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 650px;
  margin: 14px auto 22px;
  padding: 0 0 0 24px;
  color: #d8dff2;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order li {
  padding-left: 1px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order strong {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order strong {
  margin-top: 5px;
  color: #eee8ce;
  font-size: var(--type-body);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-records {
  border: 1px solid #4e6399;
  padding: 0 12px;
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-records[open] {
  padding-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-records summary {
  font-size: var(--type-body);
  min-height: 44px;
  cursor: pointer;
  padding-block: 10px;
  color: #d8dff2;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-records h4 {
  font-size: var(--type-body);
  margin: 16px 0;
  color: #bdcaeb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-records .analysis-delivery-data {
  margin-top: 0;
}
@container game (max-width:560px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-pitch-panels {
    grid-template-columns: 1fr;
    max-width: 350px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-hive-panels {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .analysis-chart {
    margin-block: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend {
    gap: 8px 11px !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-legend li {
    font-size: var(--type-caption) !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-explanation,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-records {
    font-size: var(--type-body) !important;
    line-height: 1.6;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order {
    gap: 18px;
    font-size: var(--type-body);
    padding-left: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-sample-order strong {
    font-size: var(--type-caption);
  }
}
/* One batting hand uses one focused panel; mixed hands retain matching scales. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-hive-panels.has-single-panel {
  grid-template-columns: minmax(0, 1fr);
  max-width: 440px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-pitch-panels.has-single-panel {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-hive .analysis-wicket-guide {
  opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-hive .analysis-point .analysis-ball-mark {
  stroke: #111b3b;
  stroke-width: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-chart-hive .analysis-point.is-selected .analysis-ball-mark {
  stroke: #fff1ce;
  stroke-width: 2;
}
@container game (max-width:560px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-hive-panels.has-single-panel {
    max-width: 360px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-pitch-panels.has-single-panel {
    max-width: 320px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/player-cards.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 {
  background: var(--ui-surface, #1b303e);
  border: 1px solid #526875;
  border-radius: 4px;
  border-bottom-width: 1px;
  padding: 14px;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2.is-selected {
  border-color: var(--gold);
  box-shadow: inset 0 3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-identity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 30px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-nationality {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .country-flag {
  width: 30px;
  height: 20px;
  border-radius: 2px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .allocation-plane {
  width: 19px;
  height: 19px;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-age {
  display: flex;
  align-items: baseline;
  gap: 5px;
  border: 1px solid #60747a;
  border-radius: 3px;
  padding: 4px 7px;
  font-size: var(--type-section);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-age small {
  font-size: var(--type-caption);
  font-weight: 400;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-identity {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 100px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-face {
  width: 62px;
  align-self: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-face .pixel-portrait {
  width: 62px;
  height: 74px;
  border: 1px solid #5b707a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-overall {
  font-size: var(--type-section);
  font-weight: 700;
  text-align: center;
  padding-top: 5px;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-overall small {
  font-size: var(--type-caption);
  font-weight: 400;
  margin-right: 4px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-identity .player-name {
  font-size: var(--type-name);
  line-height: 1.25;
  margin: 0 0 8px;
  min-height: 45px;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-role-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-role-symbols {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #e7d4a7;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .role-symbol {
  width: 24px;
  height: 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .part-time-symbol {
  width: 19px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-technique {
  font-size: var(--type-caption);
  color: var(--dim);
  display: flex;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-technique abbr {
  cursor: help;
  text-decoration: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-batting-style {
  margin: 4px 0 0;
  font-size: var(--type-caption);
  line-height: 1.4;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-bands {
  border-block: 1px solid var(--edge);
  padding: 10px 0;
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band {
  display: grid;
  grid-template-columns: minmax(54px, 1fr) 60px minmax(55px, 1fr);
  gap: 6px;
  align-items: center;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band svg {
  width: 60px;
  height: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band small {
  font-size: var(--type-caption);
  text-align: right;
  grid-column: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-scout-summary {
  display: grid;
  gap: 8px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-learning {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-learning > b {
  font-weight: 600;
  color: #cfdae0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .player-readiness {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .readiness-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .readiness-track {
  grid-column: 1/-1;
  grid-row: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .readiness-label {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-contract {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-contract b {
  font-size: var(--type-body);
  color: var(--cream);
  margin-left: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .player-injury {
  padding: 6px 0;
  margin: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-bottom {
  margin-top: auto;
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-bottom > .game-button {
  min-height: 38px;
  background: transparent;
  padding: 6px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-bottom .card-action {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-bottom .card-action .game-button {
  width: 100%;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .xi-choice {
  min-height: 44px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .xi-choice span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-role-key {
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.6;
  padding: 8px 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-role-key summary {
  cursor: pointer;
  min-height: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-role-key p {
  max-width: 70ch;
}
@container game (max-width:1100px) and (min-width:701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 {
    padding: 12px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .card-identity .player-name {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .card-identity {
    grid-template-columns: 62px minmax(0, 1fr);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-bottom > .game-button {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-selection {
  color: var(--gold);
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .role-key-items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .role-key-items > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .role-key-items .role-symbol {
  width: 22px;
  height: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player small {
  display: flex;
  align-items: center;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player .role-symbol {
  width: 17px;
  height: 17px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player .country-flag {
  width: 21px;
  height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .owned-player .allocation-plane {
  width: 15px;
  height: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-role.player-metadata {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-status {
  margin: 0;
}
@container game (min-width:521px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-bands {
    min-height: 114px;
  }
}
@container game (max-width:520px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-grid {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .card-identity {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .player-name {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band {
    font-size: var(--type-body);
    grid-template-columns: 1fr 70px 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band svg {
    width: 70px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .skill-band small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-status,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-card-v2 .readiness-label {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-bottom > .game-button {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .card-role-key {
    font-size: var(--type-body);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/live-injuries.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-injury-dialog {
  width: min(560px, calc(100cqw - 20px));
  max-width: calc(100cqw - 20px);
  max-height: calc(100cqh - 24px);
  overflow: auto;
  background: #1a303e;
  color: var(--cream);
  border: 1px solid #9d9984;
  border-radius: 5px;
  padding: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-injury-dialog::backdrop {
  background: #07151cce;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-heading h2 {
  font-size: var(--type-number);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-injury-dialog p {
  font-size: var(--type-section);
  line-height: 1.6;
  margin: 14px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-player strong {
  display: block;
  font-size: var(--type-title);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-player span {
  display: block;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices .game-button {
  text-align: left;
  justify-content: flex-start;
  min-height: 64px;
  padding: 12px;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices .game-button > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices small {
  font-size: var(--type-caption);
  font-weight: 400;
  line-height: 1.5;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-rule-note {
  font-size: var(--type-body) !important;
  color: var(--dim);
  border-top: 1px solid var(--edge);
  padding-top: 14px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-injury-dialog {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-heading h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-heading {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices .game-button {
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .injury-choices .game-button > span:last-child {
    flex: 1;
    min-width: 130px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-injury-dialog .role-symbol {
    width: 20px;
    height: 20px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/casual.css */

/* Casual career is the main path. Detailed match controls remain an explicit choice. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 14px;
  background: var(--ui-surface, #172c36);
  border-bottom: 1px solid var(--edge);
  font-size: var(--type-caption);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style .game-button {
  min-height: 36px;
  background: transparent;
  font-size: var(--type-caption);
  padding: 5px 10px;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style + .match-screen {
  height: calc(100% - 47px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions [data-action='choose-nation'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions [data-action='continue'] {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions:has([data-action='continue']) [data-action='choose-nation'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-actions [data-action='quick-play'] {
  background: transparent;
  color: var(--cream);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options {
  border: 0;
  margin: 15px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options legend {
  font-weight: 700;
  margin-bottom: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--edge);
  padding: 12px;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options input {
  min-height: 0;
  flex: 0 0 auto;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options span {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-options span {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 100%;
  padding: 30px;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome h2 {
  font-size: var(--type-score);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome > p {
  max-width: 500px;
  color: var(--dim);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .welcome-core {
  display: flex;
  gap: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .welcome-core > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 115px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .welcome-core strong {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome [data-action='assemble-season'] {
  background: var(--gold);
  color: var(--night);
  min-height: 52px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .is-casual .dugout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-contestants {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player .pixel-portrait {
  flex: 0 0 auto;
  width: 36px;
  height: 43px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player strong {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player span {
  display: block;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-phase {
  font-size: var(--type-name);
  font-weight: 700;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans .game-button {
  min-width: 0;
  padding: 9px 5px;
  min-height: 50px;
  font-size: var(--type-caption);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans [aria-pressed='true'] {
  background: #a4d3b4;
  color: #162b32;
  border-color: #c5e2cd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plan-hint {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--dim);
  min-height: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer [data-action='moment'] {
  background: var(--gold);
  color: var(--night);
  min-height: 50px;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer > p {
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .moment-review {
  border-left: 3px solid var(--mint);
  padding-left: 10px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .moment-review strong {
  display: block;
  color: var(--mint);
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .moment-review p {
  color: var(--dim);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-standout {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-standout strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-standout span {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-standout span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-standout strong {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .innings-standout p {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .field-toolbar .field-summary p {
  font-size: var(--type-caption);
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style {
    padding: 3px 10px;
    gap: 8px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style .game-button {
    font-size: var(--type-caption);
    min-height: 36px;
    padding: 5px 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome {
    padding: 20px 16px;
    justify-content: flex-start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome h2 {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .welcome-core {
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .welcome-core .pixel-portrait {
    width: 58px;
    height: 70px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-welcome > .game-button {
    width: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .match-arena {
    flex: 1;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .stadium-wrap {
    min-height: 150px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .field-toolbar {
    min-height: 42px;
    padding: 4px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .match-commentary {
    min-height: 42px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .match-commentary p {
    max-height: 32px;
    overflow: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .field-toolbar .game-button {
    min-height: 36px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .field-summary strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .pitch-label > small {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style + .match-screen.is-casual {
    height: auto;
    min-height: calc(100% - 43px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .stop-over:not([hidden]) {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    left: 22px;
    right: 22px;
    z-index: 20;
    min-height: 46px;
    background: #68453d;
    color: #fff1df;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .is-casual .dugout {
    padding: 9px 10px;
    gap: 7px;
    overflow: visible;
    border-top: 1px solid var(--edge);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-contestants {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-phase {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans .game-button {
    min-height: 46px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plan-hint {
    min-height: 0;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer {
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer [data-action='moment'] {
    min-height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer > p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .moment-review {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .moment-review strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual {
    height: auto;
    min-height: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .is-casual .stadium-column {
    min-height: 234px;
    flex: 1 0 234px;
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .moment-review {
    animation: none;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/club-creation.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-mode-options {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-mode-options .game-button {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-mode-options [aria-pressed='true'] {
  background: #a4d3b4;
  color: #162b32;
  border-color: #c5e2cd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog.is-custom-club {
  width: min(720px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #custom-club-fields[hidden] {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #custom-club-fields {
  margin-top: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-name-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-name-fields input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-name-fields small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #club-short-name {
  text-transform: uppercase;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options {
  margin: 20px 0 14px;
  padding: 0;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options legend {
  margin-bottom: 9px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options .game-button {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  min-height: 48px;
  min-width: 0;
  padding: 8px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options svg {
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options [aria-pressed='true'] {
  border: 2px solid var(--gold);
  padding: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--edge);
  background: var(--ui-surface, #152c36);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview span {
  display: block;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview strong {
  font-size: var(--type-title);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview span {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview svg,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-badge {
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-badge {
  vertical-align: middle;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-label > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-club-name,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-name {
  display: flex;
  gap: 14px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-club-name > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-name > span {
  overflow-wrap: anywhere;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table .club-badge {
  margin-right: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog #league-place-heading {
  font-size: var(--type-name);
  margin-top: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog #league-place-note {
  margin: 8px 0 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog #career-setup-error {
  color: #ffc3b2;
  font-size: var(--type-body);
  margin-bottom: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-dialog #career-setup-error:empty {
  display: none;
}
@container game (max-width:480px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-mode-options .game-button {
    font-size: var(--type-caption);
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-name-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options > div {
    grid-template-columns: 1fr 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-kit-options .game-button {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview {
    flex-wrap: wrap;
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview > div {
    flex-basis: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview .club-kit-preview {
    width: 88px;
    height: 88px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-identity-preview > .club-badge {
    width: 55px;
    height: 64px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-club-name .club-badge {
    width: 42px;
    height: 49px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-office-name .club-badge {
    width: 32px;
    height: 37px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label {
  max-width: calc(100% - 16px);
  grid-template-columns: minmax(0, 1fr) auto;
  overflow-wrap: anywhere;
}


/* Source: https://deepmdesai.com/games/cricket-manager/beta.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-health {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #43362c;
  border-bottom: 1px solid var(--gold);
  font-size: var(--type-body);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-health .game-button {
  min-height: 44px;
  flex: 0 0 auto;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-slot-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-slot-actions .game-button {
  min-height: 44px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-footer {
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-explanation {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #career-file-status {
  font-size: var(--type-body);
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-dialog {
  width: min(620px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
  max-height: calc(100cqh - 24px);
  overflow: auto;
  background: var(--navy);
  color: var(--cream);
  padding: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-heading h2 {
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-summary {
  margin: 22px 0;
  display: grid;
  gap: 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-summary > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-summary dt {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-summary dd {
  margin: 0;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-dialog [data-action='restore-backup'] {
  background: var(--gold);
  color: var(--night);
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .beta-help-link {
  font-size: var(--type-body);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
}
@container game (max-width:480px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-health {
    flex-direction: column;
    align-items: stretch;
    font-size: var(--type-caption);
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-health .game-button {
    align-self: flex-start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list li {
    align-items: stretch;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .save-slot-actions {
    justify-content: center;
    min-width: 68px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-save-list .load-career {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-dialog {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .backup-summary > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .careers-footer .game-button {
    flex: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .beta-help-link {
    font-size: var(--type-caption);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order {
  margin: 18px 0 26px;
  border: 1px solid var(--edge);
  background: #162c38;
  border-radius: 6px;
  padding: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order h3 {
  font-size: var(--type-name);
  margin: 0 0 6px;
  color: #f1d197;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 52ch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  border-top: 1px solid #344b58;
  cursor: grab;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order li[draggable='false'] {
  cursor: default;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-number {
  font-size: var(--type-body);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: #e0c082;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-player-name {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-player-name strong {
  font-size: var(--type-body);
  display: block;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-player-name small {
  font-size: var(--type-caption);
  display: block;
  color: #acc0c7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-move {
  display: flex;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-move .game-button {
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-decisions {
  margin: 10px 0;
  border-block: 1px solid #48616d;
  padding: 4px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-decisions summary {
  min-height: 44px;
  padding: 12px 2px;
  cursor: pointer;
  font-size: var(--type-body);
  font-weight: 700;
  color: #efd197;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-decisions summary span {
  font-weight: 400;
  color: #c0d5dc;
  margin-left: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-decisions p {
  font-size: var(--type-caption);
  line-height: 1.55;
  margin: 6px 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-decisions label {
  display: block;
  min-width: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-decisions select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 5px 0 8px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order ol {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order header {
    display: block;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order header > .game-button {
    margin-bottom: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order li {
    gap: 7px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/dynamics.css */

/* One pixel-art game language, within the established personal-site frame. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .section-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .section-tabs button[aria-pressed='true'] {
  background: #dfc082;
  color: #172b38;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav {
  overflow-x: auto;
  justify-content: flex-start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button {
  flex: 1;
  min-width: 76px;
  padding-inline: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-badge,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-badge {
  flex-shrink: 0;
  vertical-align: middle;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  vertical-align: middle;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-name > span {
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-stamp {
  background: none !important;
  border: 0 !important;
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-mumbai {
  color: #8ab8ef;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-chennai {
  color: #f0d778;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-kolkata {
  color: #cca6f0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-rajasthan {
  color: #f0a4c3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-bengaluru {
  color: #f0a7a3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-punjab {
  color: #f2a6a8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-hyderabad {
  color: #efb583;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-gujarat {
  color: #acd6d8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-delhi {
  color: #9cb9ee;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .team-lucknow {
  color: #a9d2df;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table th .team-name {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixture strong {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
/* The gold Q1 path bypasses both the Eliminator and Qualifier 2. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-section {
  margin: 24px auto 0;
  min-width: 0;
  max-width: 600px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-bracket {
  --bracket-lane: 24px;
  display: grid;
  grid-template-columns: var(--bracket-lane) minmax(0, 1fr) var(--bracket-lane);
  grid-template-rows: auto 34px auto 40px auto 40px auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-game {
  grid-column: 2;
  position: relative;
  min-width: 0;
  background: var(--panel, #203847);
  border: 1px solid var(--edge, #5a7480);
  border-top: 3px solid #92aaa4;
  padding: 12px;
  box-sizing: border-box;
  box-shadow: 3px 3px 0 #0d1d27;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-qualifier1 {
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-eliminator {
  grid-row: 3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-qualifier2 {
  grid-row: 5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-final {
  grid-row: 7;
  border-top-color: var(--gold, #dfc082);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-game h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--type-name);
  font-weight: 800;
  color: var(--cream, #f4eee0);
  margin: 0 0 10px;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-match-state {
  margin-left: auto;
  font-size: var(--type-caption);
  font-weight: 500;
  color: var(--dim, #bfd0c7);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-trophy {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--gold, #dfc082);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-final h4 {
  font-size: var(--type-title);
  color: var(--gold, #dfc082);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px 0;
  font-size: var(--type-body);
  line-height: 1.35;
  border-top: 1px solid var(--edge, #3b5460);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team .team-name {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  min-width: 0;
  font-size: var(--type-body);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team .team-name > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team .team-badge,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team .club-badge {
  width: 28px;
  height: 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team > strong {
  font-size: var(--type-name);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: none;
  color: var(--cream, #f4eee0);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-placeholder {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--dim, #bfd0c7);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-seed {
  display: grid;
  place-items: center;
  width: 26px;
  height: 28px;
  flex: none;
  border: 1px solid #71858e;
  color: #bfd0d3;
  font-size: var(--type-body);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-winner {
  background: #27483e;
  box-shadow: inset 3px 0 #e5c474;
  margin-inline: -5px;
  padding-inline: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-winner > strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-win-mark {
  color: var(--gold, #f4d78d);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-win-mark {
  font-size: var(--type-section);
  font-weight: 800;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-outcomes {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--edge, #3b5460);
  padding-top: 8px;
  margin-top: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-outcomes p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-direct-note {
  color: var(--gold, #dfc082);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-second-note {
  color: #a8d0e1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-outcomes strong {
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-next {
  border-top: 1px solid var(--edge, #3b5460);
  padding-top: 8px;
  margin: 7px 0 0;
  color: var(--mint, #bfd39b);
  font-size: var(--type-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-champion {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0;
  border-top: 1px solid var(--edge, #3b5460);
  padding-top: 12px;
  color: var(--gold, #dfc082);
  font-size: var(--type-name);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-champion strong {
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-wire {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-wire path,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-down path {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: miter;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-direct-source,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-direct-destination {
  left: calc(100% + 1px);
  top: -3px;
  width: var(--bracket-lane);
  height: calc(100% + 4px);
  color: var(--gold, #dfc082);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-second-source,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-second-destination {
  left: auto;
  right: calc(100% + 1px);
  top: -3px;
  width: var(--bracket-lane);
  height: calc(100% + 4px);
  color: #a8d0e1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-long-route {
  position: relative;
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-direct-route {
  grid-column: 3;
  grid-row: 2/7;
  color: var(--gold, #dfc082);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-second-route {
  grid-column: 1;
  grid-row: 2/5;
  color: #a8d0e1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-down {
  grid-column: 2;
  min-height: 0;
  color: var(--mint, #bfd39b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-down svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-eliminator-route {
  grid-row: 4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-q2-route {
  grid-row: 6;
}
@container game (max-width:450px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playoff-bracket {
    --bracket-lane: 18px;
    grid-template-rows: auto 28px auto 34px auto 34px auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-game {
    padding: 10px 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-game h4 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team {
    gap: 6px;
    min-height: 45px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team .team-name {
    gap: 7px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-team > strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-placeholder {
    font-size: var(--type-body);
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-outcomes p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-next {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-final h4 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bracket-champion {
    font-size: var(--type-section);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card {
  border: 2px solid #47616b;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ui-raised, #1e3542);
  color: #f3e9cf;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card:hover,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card:focus-visible {
  border-color: #e4c780;
  outline-offset: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy strong {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy span {
  font-size: var(--type-body);
  color: #ebcb83;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy small {
  font-size: var(--type-body);
  color: #c0d3d4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-art {
  aspect-ratio: 1;
  background-image: url('../assets/facilities-pixel-five-tiers.png');
  background-size: 500% 700%;
  image-rendering: pixelated;
  background-color: #315943;
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-tier-1 {
  background-position-x: 0%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-tier-2 {
  background-position-x: 25%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-tier-3 {
  background-position-x: 50%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-tier-4 {
  background-position-x: 75%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-tier-5 {
  background-position-x: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-0 {
  background-position-y: 0%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-1 {
  background-position-y: 16.6667%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-2 {
  background-position-y: 33.3333%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-3 {
  background-position-y: 50%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-4 {
  background-position-y: 66.6667%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-5 {
  background-position-y: 83.3333%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .art-row-6 {
  background-position-y: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr);
  gap: 28px;
  margin-top: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-detail-grid .facility-art {
  border: 2px solid #a4b48a;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-detail-grid section > h3 {
  font-size: var(--type-number);
  color: #f0d193;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-upgrade {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #58727a;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-upgrade .game-button {
  margin: 4px 8px 4px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .breadcrumbs {
  display: flex;
  gap: 14px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-event {
  border-top: 1px solid #44616d;
  padding: 14px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-event p {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .current-coaches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-tile {
  display: flex;
  text-align: left;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 2px solid #4e6974;
  background: var(--ui-raised, #203847);
  color: #f2e8cf;
  border-radius: 4px;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-tile > span {
  display: grid;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-tile small {
  font-size: var(--type-body);
  color: #b9d1d7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-tile strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-tile svg {
  image-rendering: pixelated;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-panel {
  background: var(--ui-surface, #1b303d);
  border: 1px solid #6f7d66;
  padding: 18px;
  margin: 0 0 22px;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-panel h3 {
  margin: 7px 0;
  color: #efd394;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-panel p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-panel progress,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression progress {
  height: 12px;
  width: 100%;
  accent-color: #deb976;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-sessions > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-sessions article {
  padding: 16px;
  border: 1px solid #48646d;
  background: var(--ui-raised, #1d3441);
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-sessions p {
  font-size: var(--type-body);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan {
  max-width: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-office {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order ol {
  display: flex;
  flex-direction: column;
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order li {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(190px, 2fr) minmax(100px, 1fr) minmax(105px, 1fr) 90px 144px;
  gap: 12px;
  padding: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  min-height: 52px;
  cursor: pointer;
  padding: 0;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person > span {
  display: block;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person strong {
  font-size: var(--type-section);
  display: block;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person small {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--type-caption);
  margin-top: 5px;
  color: #bfd2d8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person svg {
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-form,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-condition {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-form small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-condition small {
  color: #b9ccd2;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-form > span {
  font-size: var(--type-section);
  word-spacing: 4px;
  font-weight: 700;
  color: #efce89;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-move {
  justify-content: end;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bench-swap {
  min-width: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bench-swap select {
  width: 100%;
  min-height: 44px;
  font-size: var(--type-caption);
  display: block;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order header {
  gap: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order ol:empty:after {
  content: 'No players here.';
  padding: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-summary > div {
  border-bottom: 1px solid #49616e;
  padding: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-summary dt {
  font-size: var(--type-caption);
  color: #b4cbd3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-summary dd {
  margin: 5px 0;
  font-size: var(--type-title);
  font-weight: 700;
  color: #f1d18d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-scores {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-scores > span {
  background: var(--ui-raised, #2b4554);
  border: 1px solid #76948d;
  min-width: 46px;
  padding: 8px;
  text-align: center;
  border-radius: 3px;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-numbers,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression {
  border-bottom: 1px solid #49616e;
  padding: 0 0 24px;
  margin: 0 0 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-numbers p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression p {
  font-size: var(--type-body);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-slot {
  display: grid;
  gap: 10px;
  border: 2px solid #5f747b;
  padding: 14px;
  background: var(--ui-raised, #203746);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-slot select {
  width: 100%;
  min-height: 44px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-slot small {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: #bfd1d4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .level-reward {
  padding: 14px;
  border: 1px solid #d2b474;
  margin: 16px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .level-reward button {
  margin-right: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .recent-balls {
  display: flex;
  flex-direction: column;
  gap: 7px !important;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row {
  display: grid;
  grid-template-columns: 48px auto 64px;
  align-items: center;
  gap: 8px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row > div {
  display: flex;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row .delivery-chip {
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.four {
  background: #5baac9;
  color: #102e42;
  border-color: #a8dce9;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.six {
  background: #e9bd65;
  color: #2a2415;
  border-color: #f5d996;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.dot {
  background: var(--ui-raised, #25424a);
  color: #b5cdd1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.unplayed {
  background: none;
  color: #789098;
  border-style: dashed;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-banner.four {
  color: #a3e3ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-banner.six {
  color: #ffda82;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-text.four {
  color: #9bdbf5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-text.six {
  color: #f4cf79;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-text.wicket {
  color: #ff9eac;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-transition {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(300px, 80%);
  padding: 18px;
  background: var(--ui-surface, #152d3c);
  border: 2px solid #e8ca87;
  border-radius: 4px;
  z-index: 4;
  text-align: center;
  box-shadow: 4px 4px 0 #11242c80;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-transition[hidden] {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-transition strong {
  display: block;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-transition b {
  display: block;
  font-size: var(--type-score);
  color: #efcb7b;
  margin: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-transition p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-transition small {
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 7px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scorecard-over {
  border-top: 1px solid #48616d;
  padding: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scorecard-over p {
  font-size: var(--type-body);
  line-height: 1.6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scorecard-over strong {
  margin-right: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-players {
  position: absolute;
  right: 3%;
  bottom: 9%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  width: 58%;
  pointer-events: none;
  z-index: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star {
  position: relative;
  text-align: center;
  filter: drop-shadow(5px 6px 0 #10212b80);
  width: 20%;
  max-width: 160px;
  transform: translateY(0);
  animation: star-bob 4s ease-in-out infinite;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star:nth-child(2n) {
  animation-delay: -2s;
  margin-bottom: 25px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star > svg:first-child {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star > span {
  display: block;
  background: var(--ui-surface, #152b39);
  padding: 7px 4px;
  color: #f1d194;
  font-size: var(--type-caption);
  font-weight: 700;
  min-height: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star > .team-badge {
  position: absolute;
  right: -3px;
  top: -4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-heading h1 {
  text-shadow: 3px 3px 0 #6e5e39;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #0e253388, transparent 60%);
  z-index: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
  z-index: 3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-content {
  position: relative;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene canvas,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stadium-wrap canvas {
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-tagline {
  max-width: 30ch;
}
@keyframes star-bob {
  50% {
    transform: translateY(-5px);
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star {
    animation: none;
  }
}
@container game (max-width:1000px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order li {
    grid-template-columns: 22px minmax(160px, 2fr) 100px 110px 144px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-condition {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button {
    min-width: 50px;
    font-size: var(--type-caption);
    padding-inline: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav {
    padding-inline: 2px;
    gap: 0;
    justify-content: space-between;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-grid {
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy small {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-detail-grid > .facility-art {
    max-width: 460px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .current-coaches {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .coach-tile {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order li {
    grid-template-columns: 20px minmax(0, 1fr) 94px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-person > svg {
    width: 40px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-form {
    grid-column: 2;
    grid-row: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career {
    grid-column: 2;
    font-size: var(--type-caption);
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career > small {
    width: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-move {
    grid-column: 3;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: repeat(2, 44px);
    align-self: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-move button:last-child {
    grid-column: 1 / -1;
    width: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bench-swap {
    grid-column: 2 / -1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-order header {
    display: block;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-sessions > div,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-slots {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row {
    grid-template-columns: 43px auto 55px;
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row .delivery-chip {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row > div {
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary {
    display: block;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary > p {
    margin: 10px 0 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-players {
    width: 90%;
    left: 5%;
    right: auto;
    top: 30%;
    bottom: auto;
    max-height: 130px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star {
    max-width: 90px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star:nth-child(2n) {
    margin-bottom: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star > span {
    font-size: var(--type-caption);
    min-height: 28px;
    padding: 4px 1px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-star > .team-badge {
    width: 20px;
    height: 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-scene canvas {
    opacity: 0.82;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-heading h1 {
    font-size: var(--type-score);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-tagline {
    max-width: 28ch;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-actions {
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-art {
  display: block;
  height: auto;
  background-image: none;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-end-note {
  margin: 2px 0 0;
  font-size: var(--type-caption);
  line-height: 1.5;
  color: #f0d28e;
  max-width: 42ch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-end-note:not(:empty) {
  border-top: 1px solid #526c73;
  padding-top: 6px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-form {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-form > span {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career > small {
    width: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .xi-career > span {
    font-size: var(--type-caption);
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar {
    display: block;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary {
    display: block;
    width: 100%;
    min-width: 0;
    margin-bottom: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary strong {
    display: block;
    overflow-wrap: normal;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-summary p {
    margin: 5px 0;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-actions .game-button {
    width: 100%;
    max-width: none;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 9px 7px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label {
    max-width: 85%;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label span {
    font-size: var(--type-caption);
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-toolbar .field-actions .game-button {
    min-height: 44px;
    font-size: var(--type-caption);
    padding: 9px 7px;
  }
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stop-over:not([hidden]) {
    position: fixed;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    left: 22px;
    right: 22px;
    z-index: 20;
    min-height: 46px;
    background: #68453d;
    color: #fff1df;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body > .player-numbers,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body > .player-progression {
  grid-column: 1 / -1;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .match-arena {
    display: block;
    flex: none;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .stadium-column {
    flex: none;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .stadium-wrap {
    display: flex;
    flex-direction: column;
    flex: none;
    min-height: 0;
    background: #344b48;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .stadium-wrap canvas {
    position: relative;
    inset: auto;
    flex: none;
    width: 100%;
    height: clamp(260px, 80cqw, 320px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .pitch-label {
    position: static;
    order: -1;
    max-width: none;
    margin: 0;
    border-radius: 0;
    padding: 7px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    font-size: var(--type-caption);
    gap: 3px 10px;
    background: var(--ui-raised, #203944);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/bowling-planner.css */

/* The captain's over board: actual overs and player portraits carry the interface. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-plan-launch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px 0;
  color: var(--cream);
  background: none;
  border: 0;
  border-bottom: 1px solid #415a64;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-plan-launch strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-plan-launch small {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-plan-launch strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-plan-launch small {
  color: var(--dim);
  font-size: var(--type-caption);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-plan-launch > span:last-child {
  font-size: var(--type-body);
  color: var(--gold);
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-planner-dialog {
  width: min(940px, calc(100cqw - 40px));
  max-width: none;
  max-height: calc(100cqh - 40px);
  padding: 0;
  border: 1px solid #61736e;
  border-radius: 14px;
  background: var(--ui-surface, #152c33);
  color: #eee6cd;
  box-shadow: 0 20px 80px #08151ca6;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-planner-dialog[open] {
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-planner-dialog::backdrop {
  background: var(--ui-canvas, #08171d);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-heading h2 {
  font-size: var(--type-number);
  font-weight: 800;
  letter-spacing: -0.6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-heading p {
  color: #b2c5c3;
  font-size: var(--type-body);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-heading .game-button {
  background: #edca82;
  color: #172d32;
  border: 0;
  min-width: 74px;
  min-height: 46px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-switch {
  display: flex;
  align-self: flex-start;
  margin: 0 24px;
  background: var(--ui-surface, #0c2028);
  padding: 3px;
  border-radius: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-switch button {
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #c0d0cc;
  padding: 8px 22px;
  min-height: 44px;
  font-size: var(--type-body);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-switch button[aria-pressed='true'] {
  background: #3c5758;
  color: #fff3d4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-help {
  font-size: var(--type-body);
  color: #c1ccc5;
  padding: 12px 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.9fr);
  gap: 22px;
  padding: 0 24px;
  min-height: 0;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-overs {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 3px;
  scrollbar-width: thin;
  max-height: 55cqh;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over {
  border: 0;
  border-radius: 5px;
  background: var(--ui-raised, #28454b);
  color: #f0e4bf;
  min-height: 116px;
  padding: 9px 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  min-width: 0;
  touch-action: manipulation;
  box-shadow: inset 0 -3px #0e2229;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over > span {
  font-weight: 800;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over svg {
  width: 27px;
  height: 32px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over > strong {
  font-size: var(--type-caption);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over small {
  font-size: var(--type-caption);
  color: #c6d4cb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over[aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over.is-drop-target {
  outline: 3px solid #ebc577;
  outline-offset: -3px;
  background: #3b5b59;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over.is-played {
  opacity: 0.78;
  cursor: default;
  background: var(--ui-raised, #203840);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-auto-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--ui-surface, #122c34);
  color: #dcbe7a;
  font-size: var(--type-title);
  font-weight: 800;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-bowlers {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-bowlers h3 {
  font-size: var(--type-section);
  margin: 3px 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-players {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  scrollbar-width: thin;
  padding: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #35525a;
  min-height: 78px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player > [data-plan-player] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 3px;
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player svg.pixel-portrait {
  width: 34px;
  height: 41px;
  flex-shrink: 0;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy {
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy strong {
  font-size: var(--type-body);
  line-height: 1.25;
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy > span {
  font-size: var(--type-caption);
  color: #b9cbc5;
  display: block;
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-quota {
  text-align: center;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-quota > strong {
  font-size: var(--type-title);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-quota small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-quota > span {
  display: block;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-quota > span {
  color: #dabc81;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player.is-unavailable [data-plan-player] {
  opacity: 0.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-drag {
  background: none;
  border: 0;
  color: #a8bdb5;
  width: 44px;
  min-width: 44px;
  min-height: 60px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-drag svg {
  width: 20px;
  height: 24px;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-drag:active {
  cursor: grabbing;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-auto-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 3px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #35525a;
  background: none;
  color: inherit;
  text-align: left;
  min-height: 66px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-auto-choice strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-auto-choice small {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-auto-choice small {
  font-size: var(--type-caption);
  color: #b9cbc5;
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-footer {
  padding: 12px 24px max(16px, env(safe-area-inset-bottom));
  min-height: 58px;
  background: var(--ui-surface, #0f252c);
  border-top: 1px solid #35525a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-footer p {
  font-size: var(--type-body);
  line-height: 1.4;
  color: #ddcfaa;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-footer .is-error {
  color: #ffb6a4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-drag-ghost {
  position: fixed;
  z-index: 10;
  pointer-events: none;
  background: #e5c27d;
  color: #172c32;
  padding: 9px 13px;
  border: 2px solid #fff0c1;
  border-radius: 4px;
  font-size: var(--type-body);
  font-weight: 800;
  max-width: 190px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-planner-dialog {
    width: 100%;
    max-width: 100%;
    height: 94cqh;
    max-height: 94cqh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-heading {
    padding: 16px 16px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-heading h2 {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-switch {
    margin: 0 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-help {
    padding: 10px 16px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 13px;
    flex: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-overs {
    flex: 0 0 auto;
    max-height: 22cqh;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over {
    min-height: 106px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-bowlers {
    flex: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-bowlers h3 {
    margin: 0 3px 5px;
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-footer {
    padding: 10px 16px max(12px, env(safe-area-inset-bottom));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player {
    min-height: 76px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-quota > strong {
    font-size: var(--type-title);
  }
}
@container game (min-width:701px) and (max-width:1100px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-planner-dialog {
    width: calc(100cqw - 48px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-over-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
/* Match controls: one play action, a quieter continuous-play action, and a plan. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-buttons {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-buttons .game-button {
  min-height: 54px;
  font-size: var(--type-section);
  border-radius: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-buttons [data-action='over'] {
  background: #e7c383;
  color: #162a32;
  border-color: #e7c383;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-buttons [data-action='autoplay'] {
  background: transparent;
  color: #e7d8ad;
  border: 1px solid #7e8c83;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer > p {
  font-size: var(--type-caption) !important;
  line-height: 1.4;
  color: #b9c8c6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans {
  gap: 0;
  background: var(--ui-surface, #122833);
  border-radius: 6px;
  padding: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans .game-button {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 4px;
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-plans [aria-pressed='true'] {
  background: #365650;
  color: #e8efd7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-summary p {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-toolbar {
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-actions .game-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #dbca9e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-actions {
  border-top: 1px solid #3b535b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-summary strong {
  font-size: var(--type-caption);
  color: #bacdc8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .casual-phase {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .dugout {
  gap: 14px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style > span {
  color: #b4c6c8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .chase-equation strong {
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player [data-plan-player][aria-pressed='true'] {
  background: #294c48;
  box-shadow: inset 3px 0 #ebc577;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-auto-choice[aria-pressed='true'] {
  color: #ebce90;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style .game-button {
  min-height: 44px;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style + .match-screen {
  height: calc(100% - 55px);
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .chase-equation strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style + .match-screen.is-casual {
    height: auto;
    min-height: calc(100% - 51px);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-summary p.illegal {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-actions .game-button {
  flex: 1;
  width: auto;
  min-height: 44px;
  max-width: none;
  padding: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-actions [data-action='injury-open'] {
  flex-basis: 100%;
  color: #ffb6a4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-summary {
  margin-bottom: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen.is-casual .field-actions {
  border-top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-phase {
  font-weight: 600;
  color: #c4d0c8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-busy='true'] .casual-play-buttons {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-play-footer .stop-over {
  min-height: 54px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-busy='true'] .casual-play-footer > p {
  visibility: hidden;
}

@media (hover: none), (pointer: coarse) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-drag,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-drag-help {
    display: none;
  }
}
/* Player strength uses the ball-and-fill meter; overs left remain separate. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy > .planner-ability {
  display: block;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .planner-player-copy .selection-ability {
  display: inline-flex;
  justify-content: flex-start;
  gap: 5px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/match-menus.css */

/* Player decisions live in the dugout, with the same portraits as the squad. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 78px;
  padding: 12px 0;
  text-align: left;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #3c525b;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-choice > .pixel-portrait {
  width: 40px;
  height: 48px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy {
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > span {
  display: block;
  color: #bfcec8;
  font-size: var(--type-caption);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > strong {
  display: block;
  font-size: var(--type-name);
  line-height: 1.25;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > small {
  display: block;
  font-size: var(--type-caption);
  color: #c5d0c8;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-choice > svg:last-child {
  width: 16px;
  height: 16px;
  flex: none;
  color: #e7c383;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-batter-slot {
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowler-chooser .match-player-choice {
  border-bottom: 0;
  padding-block: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-dialog {
  width: min(640px, calc(100cqw - 40px));
  max-width: none;
  max-height: calc(100cqh - 40px);
  padding: 0;
  overflow: hidden;
  background: var(--ui-surface, #172d34);
  color: #f1e9d4;
  border: 1px solid #62776e;
  border-radius: 10px;
  box-shadow: 0 18px 65px #06141cb8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-dialog[open] {
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-dialog::backdrop {
  background: var(--ui-canvas, #08171d);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 24px 18px;
  background: var(--ui-raised, #203c42);
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading h2 {
  font-size: var(--type-number);
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #f3dfb2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading p {
  font-size: var(--type-body);
  color: #c1d0c6;
  margin-top: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading > button {
  border: 0;
  background: transparent;
  color: #e8cf9d;
  font-size: var(--type-body);
  min-height: 44px;
  padding: 8px;
  min-width: 54px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-list {
  overflow: auto;
  min-height: 0;
  padding: 0 24px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 80px 20px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 98px;
  border: 0;
  border-bottom: 1px solid #3a535a;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 15px 8px;
  touch-action: pan-y;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option > .pixel-portrait {
  width: 48px;
  height: 58px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > strong {
  font-size: var(--type-name);
  line-height: 1.3;
  display: block;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > small {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.5;
  color: #bdcec7;
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > small {
  color: #d9d3af;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-skill {
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-skill > small {
  display: block;
  font-size: var(--type-caption);
  color: #bdcec7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-skill > strong {
  display: block;
  font-size: var(--type-body);
  margin-top: 3px;
  color: #ebd6a0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option[aria-pressed='true'] {
  background: #304e46;
  box-shadow: inset 3px 0 #ebca82;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option[aria-disabled='true'] {
  opacity: 0.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-check {
  color: #edcc83;
  font-size: var(--type-title);
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-status {
  padding: 12px 24px;
  min-height: 44px;
  font-size: var(--type-body);
  color: #ffbba6;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-status:empty {
  padding-block: 5px;
  min-height: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager {
  display: block;
  border-bottom: 1px solid #3c525b;
  padding: 9px 0 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header {
  display: flex;
  gap: 10px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header > .pixel-portrait {
  width: 32px;
  height: 39px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header > span {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header strong {
  font-size: var(--type-body);
  white-space: normal;
  overflow: visible;
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header small {
  display: block;
  font-size: var(--type-caption);
  color: #bfcec8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager .batter-identity {
  display: block;
  margin: 7px 0;
  color: #c3d0ca;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-intent {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--ui-surface, #102730);
  padding: 3px;
  border-radius: 4px;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-intent button {
  min-width: 0;
  min-height: 46px;
  padding: 6px 2px;
  font-size: var(--type-caption);
  font-weight: 700;
  color: #c5d3ca;
  border: 0;
  background: transparent;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-intent button[aria-pressed='true'] {
  background: #bfcf9c;
  color: #152c30;
  box-shadow: 0 2px #091a20;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-speed {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-speed > span {
  font-size: var(--type-caption);
  color: #c0cec9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-speed > div {
  display: flex;
  background: var(--ui-surface, #102730);
  padding: 3px;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-speed button {
  min-width: 44px;
  min-height: 44px;
  padding: 7px;
  font-size: var(--type-body);
  color: #c5d3ca;
  background: transparent;
  border: 0;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-speed button[aria-pressed='true'] {
  background: #3b5552;
  color: #ffe7b5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls {
  flex-wrap: wrap;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls > .game-button {
  min-height: 44px;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  flex: 0 1 auto;
  margin-left: auto;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 88cqh;
    margin: auto 0 0;
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading {
    padding: 18px 16px 15px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading h2 {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-heading p {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-list {
    padding: 0 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option {
    grid-template-columns: 40px minmax(0, 1fr) 68px 16px;
    gap: 9px;
    min-height: 92px;
    padding: 13px 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option > .pixel-portrait {
    width: 40px;
    height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-skill > strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-status {
    padding: 12px 16px max(16px, env(safe-area-inset-bottom));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-status:empty {
    padding: 0 0 max(12px, env(safe-area-inset-bottom));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-choice {
    min-height: 72px;
    padding-block: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager {
    display: block;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-intent button {
    min-height: 46px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls {
    gap: 8px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .playback-controls .match-speed .game-button {
  min-height: 44px;
  min-width: 44px;
  flex: 0 0 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-batter-slot .match-player-choice {
  min-height: 62px;
  padding-block: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-batter-slot .match-player-choice > .pixel-portrait {
  width: 28px;
  height: 34px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .next-batter-slot .match-choice-copy > strong {
  font-size: var(--type-section);
}
/* Bowling identity and quota carry the same meaning in both player pickers. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-top: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-type {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #c6d7cf;
  font-size: var(--type-body);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-type > svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: #a8d9e7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-type[data-kind='spin'] > svg {
  fill: #edcc90;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-part-time {
  display: block;
  color: #e0c99b;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-quota {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-remaining {
  font-size: var(--type-caption);
  line-height: 20px;
  color: #c6d7cf;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-remaining > b {
  font-size: var(--type-name);
  font-variant-numeric: tabular-nums;
  color: #f4eee0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 15px;
  gap: 3px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i {
  display: block;
  position: relative;
  height: 9px;
  background: var(--ui-surface, #0e232b);
  box-shadow: inset 0 0 0 1px #759188;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i:before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #b8d497;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i[data-balls='1']:before {
  width: calc(100% / 6);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i[data-balls='2']:before {
  width: calc(100% / 3);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i[data-balls='3']:before {
  width: 50%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i[data-balls='4']:before {
  width: calc(200% / 3);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i[data-balls='5']:before {
  width: calc(500% / 6);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-blocks > i[data-balls='6']:before {
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-choice-quota.is-exhausted .bowling-choice-remaining > b {
  color: #edb4a1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > .player-menu-reason {
  color: #edb4a1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-bowler .bowling-choice {
  display: grid;
  max-width: 280px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-bowler .bowling-choice-type {
  margin-top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-bowler .bowling-choice-quota {
  gap: 6px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option > .player-menu-skill {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-option .selection-ability {
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-skill > .selection-ability > .selection-ability-track {
  width: 54px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-skill > .selection-ability > .selection-ability-track {
    width: 42px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/match-atmosphere.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-celebration {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: end;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 9px 12px 0;
  border: 2px solid #5baac9;
  background: #142b35;
  box-shadow: 4px 4px 0 #10212b80;
  pointer-events: none;
  contain: layout paint;
  color: #8dd4ee;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-celebration[hidden] {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-celebration[data-runs='6'] {
  border-color: #e9bd65;
  color: #f4cf79;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 9px;
  align-items: center;
  padding-bottom: 9px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score b {
  grid-row: 1/3;
  font-size: var(--type-score);
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score span {
  font-size: var(--type-title);
  font-weight: 800;
  line-height: 1.1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score small {
  font-size: var(--type-caption);
  color: #e4e8dc;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd {
  width: 144px;
  height: 44px;
  flex: none;
  image-rendering: pixelated;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd [data-crowd-spectator] {
  animation: crowd-cheer 0.36s steps(2, end) 4;
  transform-box: fill-box;
  transform-origin: bottom;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd [data-crowd-spectator]:nth-child(2n) {
  animation-delay: 0.09s;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd .crowd-arms {
  animation: crowd-wave 0.36s steps(2, end) 4;
  transform-origin: bottom;
}
@keyframes crowd-cheer {
  50% {
    translate: 0 -3px;
  }
}
@keyframes crowd-wave {
  50% {
    translate: 0 -2px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar {
  height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar .topbar-tools .game-button {
  min-height: 44px;
  min-width: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools [data-action='music'][aria-pressed='true'] {
  color: #e9bd65;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools [data-action='music'][aria-pressed='false'] .ui-icon {
  opacity: 0.65;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-bottom {
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-bottom .game-button {
  min-height: 44px;
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-celebration {
    gap: 6px;
    padding-inline: 8px;
    bottom: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd {
    width: 126px;
    height: 39px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score b {
    font-size: var(--type-score);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score span {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-score small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-title-small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .title-bottom {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd [data-crowd-spectator],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .boundary-crowd .crowd-arms {
    animation: none;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/progression-store.css */

/* The report and shop share the same pixel equipment and supply language. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression {
  padding-bottom: 24px;
  margin-bottom: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-number {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--ui-surface, #1b303d);
  border: 2px solid var(--gold);
  box-shadow: 3px 3px 0 #0b1922;
  font-size: var(--type-display);
  font-weight: 800;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-heading h3 {
  margin: 0;
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-level-heading p {
  margin: 4px 0 0;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-total-xp {
  margin-left: auto;
  color: var(--gold);
  font-size: var(--type-name);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .player-xp-meter {
  display: block;
  appearance: none;
  width: 100%;
  height: 16px;
  border: 2px solid #526c75;
  border-radius: 0;
  background: var(--ui-surface, #101d27);
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-meter::-webkit-progress-bar {
  background: var(--ui-surface, #101d27);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-meter::-webkit-progress-value {
  background: #e7c383;
  border-bottom: 4px solid #ac8550;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-meter::-moz-progress-bar {
  background: #e7c383;
  border-bottom: 4px solid #ac8550;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .next-gear-unlock {
  margin: 10px 0 0;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-rules {
  margin: 4px 0 16px;
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-rules summary,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster summary {
  min-height: 44px;
  cursor: pointer;
  display: list-item;
  align-content: center;
  padding: 10px 0;
  color: var(--cream);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-rules summary:focus-visible,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-rules dl {
  margin: 0;
  padding: 0 14px;
  border-left: 2px solid var(--edge);
  max-width: 430px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-rules dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-xp-rules dd {
  margin: 0;
  white-space: nowrap;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-xp-rules p {
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .level-reward {
  padding: 16px;
  margin: 0 0 22px;
  border: 2px solid #bd9d64;
  background: #2c352f;
  box-shadow: 3px 3px 0 #0b1922;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-heading h4 {
  font-size: var(--type-name);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-heading > span {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .level-reward > p {
  margin: 5px 0 13px;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .level-reward .reward-choice {
  min-height: 70px;
  margin: 0;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  padding: 12px;
  border-radius: 0;
  background: var(--ui-raised, #263e46);
  border: 1px solid #839c92;
  box-shadow: 0 3px 0 #14232d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-choice strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-choice span {
  font-weight: 500;
  font-size: var(--type-body);
  color: var(--dim);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-heading h3 {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-heading > span {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .equipment-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .gear-slot {
  min-width: 0;
  min-height: 196px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px 0;
  border: 2px solid #657f87;
  border-bottom-width: 4px;
  border-radius: 0;
  background: var(--ui-raised, #263d49);
  color: var(--cream);
  text-align: center;
  box-shadow: 3px 3px 0 #0c1b25;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot:hover {
  background: var(--ui-raised, #304b55);
  border-color: #a7b9b9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot:active {
  transform: translateY(2px);
  box-shadow: 1px 1px 0 #0c1b25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-skill {
  --gear-accent: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-fitness {
  --gear-accent: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-focus {
  --gear-accent: var(--purple);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-name {
  font-weight: 700;
  font-size: var(--type-body);
  color: var(--gear-accent);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-art {
  height: 64px;
  display: grid;
  place-items: center;
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-art svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(3px 3px 0 #10212b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot > strong {
  font-size: var(--type-section);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-bonus {
  font-size: var(--type-body);
  color: var(--dim);
  line-height: 1.4;
  padding-bottom: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-action {
  display: block;
  width: calc(100% + 16px);
  margin-top: auto;
  padding: 8px 3px;
  background: var(--ui-surface, #1b303d);
  border-top: 1px solid #4f6872;
  color: var(--gear-accent);
  font-size: var(--type-body);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-pixel-icon,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .supply-pixel-icon,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-icon {
  display: block;
  flex: 0 0 auto;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-practice-ready {
  padding: 12px 14px;
  border-left: 3px solid var(--purple);
  background: var(--ui-raised, #273545);
  color: var(--cream) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .target-practice-ready > span {
  display: inline-block;
  color: var(--purple);
  font-size: var(--type-title);
  font-weight: 800;
  margin-right: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .progression-lock-note {
  color: var(--gold) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-dialog {
  width: min(620px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
  max-height: calc(100cqh - 24px);
  padding: 0;
  overflow: auto;
  border: 2px solid #839b9e;
  border-radius: 0;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 6px 6px 0 #07151c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-dialog::backdrop {
  background: var(--ui-canvas, #07151c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header h2 {
  font-size: var(--type-title);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header p {
  margin-top: 5px;
  color: var(--dim);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header .game-button {
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-body {
  padding: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-list {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--ui-raised, #223a47);
  border: 2px solid #536f7a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option.is-equipped {
  border-color: var(--mint);
  background: var(--ui-raised, #263e44);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option.is-locked {
  background: var(--ui-surface, #1c303c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option.is-locked .gear-option-art {
  opacity: 0.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-art {
  display: grid;
  place-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-art svg {
  width: 56px;
  height: 56px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy h3 {
  font-size: var(--type-section);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy p {
  margin: 5px 0;
  color: var(--dim);
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy > span {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option.is-equipped .gear-option-copy > span {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option .game-button {
  min-width: 80px;
  padding-inline: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option.is-equipped .game-button {
  opacity: 1;
  color: var(--mint);
  background: transparent;
  border-color: #65867a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-rule {
  margin: 16px 0 0;
  font-size: var(--type-body);
  color: var(--dim);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #gear-picker-status,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #gear-picker-error {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 12px 0 0;
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #gear-picker-error {
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #gear-picker-status:empty,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #gear-picker-error:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-dialog {
  width: min(470px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
  max-height: calc(100cqh - 24px);
  overflow: auto;
  padding: 0;
  border: 2px solid var(--gold);
  border-radius: 0;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 6px 6px 0 #07151c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-dialog::backdrop {
  background: var(--ui-canvas, #07151c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-dialog .gear-picker-header h2 {
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-body {
  padding: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-art {
  display: grid;
  place-items: center;
  padding: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-art svg {
  width: 108px;
  height: 96px;
  animation: pack-open 0.3s steps(3, end);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-body > p {
  font-size: var(--type-section);
  line-height: 1.5;
  text-align: center;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items {
  padding: 0;
  margin: 18px 0;
  list-style: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items li:first-child {
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items strong {
  display: block;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items span {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items b {
  margin-left: auto;
  color: var(--mint);
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-body > .pack-reveal-cost {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-body > .game-button {
  width: 100%;
  margin-top: 18px;
  min-height: 48px;
  border-radius: 0;
}
@keyframes pack-open {
  from {
    transform: translateY(8px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-art svg {
    animation: none;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-screen {
  max-width: 1170px;
  margin-inline: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading p {
  margin: 8px 0 0;
  color: var(--dim);
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading > .game-button {
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ui-raised, #213b46);
  border: 2px solid #57757b;
  box-shadow: 3px 3px 0 #0b1922;
  margin-bottom: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-balance > span:first-child {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-balance > strong {
  color: var(--gold);
  font-size: var(--type-display);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-reputation {
  margin-left: auto;
  color: var(--dim);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-packs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background: var(--ui-raised, #223946);
  border: 2px solid #607a83;
  box-shadow: 4px 4px 0 #091820;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack.is-claimed {
  border-color: #54766a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > header {
  display: flex;
  align-items: center;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack h3 {
  font-size: var(--type-name);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-price {
  display: block;
  color: var(--gold);
  font-size: var(--type-body);
  margin-top: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > p {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-contents {
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-contents li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  border-top: 1px solid #3c5663;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-contents svg {
  width: 27px;
  height: 27px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-contents strong {
  margin-left: auto;
  font-size: var(--type-section);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-action {
  margin-top: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-action .game-button {
  width: 100%;
  border-radius: 0;
  min-height: 46px;
  box-shadow: 0 3px 0 #101d27;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-action-reason {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--gold);
  margin: 10px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-lock-note {
  padding: 12px;
  border-left: 3px solid var(--gold);
  background: #2c352f;
  margin: 0 0 18px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-status {
  padding: 12px 14px;
  border: 1px solid var(--mint);
  background: #203d39;
  color: var(--cream);
  margin: 0 0 18px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-status:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-status.is-error {
  border-color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-last-receipt {
  margin: 18px 0 0;
  font-size: var(--type-body);
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-bag {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-section-heading h3 {
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-section-heading > span {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ui-surface, #1c303c);
  border-bottom: 2px solid #597582;
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory li > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory li span {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-bag > p {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 15px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster {
  margin-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster summary {
  width: fit-content;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player.game-button {
  justify-content: flex-start;
  text-align: left;
  padding: 10px;
  gap: 10px;
  background: var(--ui-raised, #233b46);
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-level {
  display: grid;
  place-items: center;
  width: 32px;
  height: 36px;
  flex: 0 0 auto;
  background: var(--ui-surface, #162a35);
  border: 1px solid #789889;
  color: var(--gold);
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player strong {
  display: block;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player small {
  display: block;
  color: var(--dim);
  font-size: var(--type-caption);
  font-weight: 500;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--edge);
  display: flex;
  align-items: center;
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads h3 {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads p {
  margin-top: 4px;
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads .game-button {
  margin-left: auto;
  opacity: 1;
  background: var(--ui-raised, #20313c);
  color: #aabac1;
  border-color: #536a75;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-inventory {
  grid-column: 1 / -1;
  padding-bottom: 24px;
  border-bottom: 1px solid #49616e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .inventory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .inventory-heading h3 {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-inventory > p {
  margin: 10px 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-inventory > .inventory-availability {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  border: 1px solid #526d79;
  background: var(--ui-raised, #203644);
  padding: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-icon {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: var(--type-body);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-copy h4 {
  font-size: var(--type-section);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-supply-copy p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 6px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-supply-copy .supply-reason {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply > .game-button {
  grid-column: 2 / -1;
  justify-self: start;
  min-width: 88px;
  min-height: 44px;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-copy {
  grid-column: 2 / -1;
}
@container game (max-width:850px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack {
    padding: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > header {
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-icon {
    width: 55px;
    height: 49px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack h3 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-packs {
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container game (max-width:650px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-packs {
    grid-template-columns: 1fr;
    gap: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > header {
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-icon {
    width: 72px;
    height: 64px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack h3 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-price {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-contents li {
    min-height: 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading {
    align-items: flex-start;
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading p {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading > .game-button {
    font-size: var(--type-body);
    padding: 10px;
    max-width: 104px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-balance {
    padding: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-reputation {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory li {
    padding: 12px 8px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory svg {
    width: 32px;
    height: 32px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads {
    flex-wrap: wrap;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads > div {
    flex: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-remove-ads .game-button {
    margin-left: 52px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster-grid {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-list {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-copy {
    grid-column: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply > .game-button {
    grid-column: auto;
    align-self: center;
    min-width: 58px;
    padding-inline: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-choices {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .level-reward .reward-choice {
    min-height: 54px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-choice span {
    text-align: right;
    max-width: 50%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .equipment-slots {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .gear-slot {
    min-height: 190px;
    padding-top: 10px;
    padding-inline: 5px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot > strong {
    font-size: var(--type-body);
    min-height: 34px;
    display: grid;
    align-content: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-name {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-art {
    height: 50px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-art svg {
    width: 48px;
    height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-bonus {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-action {
    font-size: var(--type-caption);
    width: calc(100% + 10px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .equipment-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-heading {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-heading h3 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-number {
    width: 46px;
    height: 50px;
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-total-xp {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .player-level-heading p {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-body {
    padding: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header {
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option {
    padding: 12px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-art svg {
    width: 44px;
    height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option > .game-button {
    grid-column: 2;
    justify-self: start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy h3 {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy p {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy > span {
    font-size: var(--type-body);
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-level-heading {
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-total-xp {
    margin-left: 60px;
    margin-top: -4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-progression .gear-slot {
    min-height: 200px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-slot-action {
    padding-block: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .level-reward .reward-choice {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-choice span {
    text-align: left;
    max-width: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply-copy {
    grid-column: 2 / -1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-supply > .game-button {
    grid-column: 2 / -1;
    justify-self: start;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-balance > strong {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-reputation {
    flex-basis: 100%;
    margin-left: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory li {
    align-items: flex-start;
    flex-direction: column;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-inventory strong {
    font-size: var(--type-body);
  }
}
/* Player lists share the squad's role symbols and actual energy meter. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player.game-button {
  align-items: center;
  min-width: 0;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player > .pixel-portrait {
  flex: none;
  width: 30px;
  height: 36px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-copy {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-copy > strong {
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics .player-role-symbols {
  display: inline-flex;
  gap: 1px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics .role-symbol {
  width: 16px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics .store-player-level {
  display: inline;
  font-size: var(--type-caption);
  width: auto;
  height: auto;
  border: 0;
  background: none;
  color: var(--gold);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-player-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: var(--type-body);
  line-height: 1.4;
  color: var(--dim);
  margin-top: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-player-identity .country-flag {
  width: 24px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-player-identity .player-role-symbols {
  display: inline-flex;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-player-identity .role-symbol {
  width: 20px;
  height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-player-identity b {
  color: var(--cream);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-energy-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-energy-heading h3 {
  margin-bottom: 0;
}
@container game (max-width:400px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-roster-grid {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics {
    flex-wrap: nowrap;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-ground-settings {
  margin: 16px 0 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-ground-settings > label {
  display: block;
  font-weight: 700;
  font-size: var(--type-body);
  color: var(--dim);
  margin-bottom: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-ground-settings > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-ground-settings input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 9px 10px;
  font:
    650 var(--type-section) / 1.3 Manrope,
    Arial,
    sans-serif;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-ground-settings .game-button {
  flex: none;
  min-height: 44px;
  padding-inline: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-ground-settings p:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scene-header h2,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scene-title {
  font-weight: 800;
  letter-spacing: -0.3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-choice legend {
  color: var(--cream);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-session-status {
  color: var(--gold);
  font-weight: 650;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .report-ratings dt,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .report-skill-view dt {
  font-weight: 450;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .report-ratings dd,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .report-skill-view dd {
  font-weight: 700;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .league-table td,
    .phone-table-team > summary > span,
    .staff-offer strong,
    .club-funds strong
  ) {
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-stat-notes {
  font-size: var(--type-body);
  color: var(--dim);
  margin-top: 12px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-stat-notes > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-stat-notes p {
  font-size: var(--type-body);
  line-height: 1.5;
}
/* Keep all reward choices equally sized, with readable label/effect rows. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .level-reward .reward-choices {
  grid-auto-rows: 1fr;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .level-reward .reward-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 14px 16px;
  height: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .level-reward .reward-choice strong {
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .level-reward .reward-choice span {
  text-align: left;
  max-width: none;
  color: var(--cream);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .player-report-body .player-progression {
  margin-bottom: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .player-report-body [data-action='open-player-bag'] {
  margin-block: 0 16px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/store-loot.css */

/* Pack chances and owned equipment use the existing store's pixel palette. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-loot-packs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-random-pack > .pack-odds-label {
  margin: 16px 0 10px;
  color: var(--cream);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-odds {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-odds li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid #3c5663;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-odds li:last-child {
  border-bottom: 1px solid #3c5663;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-odds strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-odds span {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-odds b {
  flex: none;
  font-size: var(--type-section);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-random-pack > .pack-duplicate-note {
  margin: 0 0 16px;
  font-size: var(--type-body);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-last-opening {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--mint);
  background: #203b3b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-last-opening p {
  font-size: var(--type-body);
  line-height: 1.55;
  margin: 0 0 7px;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-last-opening .game-button {
  margin-top: 6px;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-fixed-packs,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-fixed-packs > h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-section > h3 {
  font-size: var(--type-title);
  margin: 0 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-fixed-packs > p {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 0 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options > article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  background: #203644;
  border: 1px solid #526d79;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options h4 {
  font-size: var(--type-name);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options p {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--dim);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options .store-credit-availability {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options .game-button {
  margin-top: auto;
  min-height: 46px;
  white-space: normal;
  text-align: center;
  width: 100%;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options .game-button:disabled {
  opacity: 1;
  background: #20313c;
  color: #aabac1;
  border-color: #536a75;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-inventory {
  margin-top: 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-inventory > p {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--dim);
  margin: 14px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear > li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px;
  background: #1c303c;
  border-bottom: 2px solid #597582;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear h4 {
  font-size: var(--type-section);
  line-height: 1.4;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear p {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 5px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-copy-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 10px 0 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-copy-counts > div {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-copy-counts dt {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-copy-counts dd {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-group {
  margin: 22px 0 12px;
  font-size: var(--type-section);
  font-weight: 700;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-group:first-child {
  margin-top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-option-copy > .gear-availability {
  color: var(--gold);
  margin-top: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items li > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items .gear-pixel-icon {
  flex: none;
  width: 40px;
  height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-items b {
  flex: none;
}
@container game (max-width:650px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-loot-packs,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-credit-options > article {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear > li {
    padding: 12px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear .gear-pixel-icon {
    width: 40px;
    height: 40px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-inventory .store-section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-inventory .store-section-heading h3 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-body {
    padding: 16px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/store-integration.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 86px;
  justify-content: center;
  flex: none;
  border: 1px solid #7d744f;
  border-radius: 3px;
  background: #253d46;
  color: #efd28d;
  font: inherit;
  padding: 5px 9px;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store strong {
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store:hover {
  background: #345259;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store:focus-visible {
  outline: 3px solid #f4cf79;
  outline-offset: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ad-preview-dialog {
  width: min(420px, calc(100cqw - 24px));
  padding: 28px;
  color: #f0eee0;
  background: #18303c;
  border: 2px solid #708d8c;
  border-radius: 5px;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ad-preview-dialog::backdrop {
  background: #07161dc9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ad-preview-dialog p {
  font-size: var(--type-section);
  line-height: 1.6;
  color: #c2d4d5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ad-preview-dialog h2 {
  font-size: var(--type-number);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ad-preview-art {
  width: 92px;
  height: 64px;
  border: 6px solid #b4c7b7;
  margin: 0 auto 20px;
  box-shadow: 5px 5px #0c212c;
  color: #efd28d;
  display: grid;
  place-items: center;
  font-size: var(--type-display);
  font-weight: 800;
  background: #2a4c51;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ad-preview-dialog .game-button {
  min-height: 48px;
  width: 100%;
  margin-top: 10px;
}
@container game (max-width:400px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip {
    gap: 6px;
    padding-inline: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store {
    min-width: 74px;
    gap: 5px;
    padding-inline: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip > span {
    font-size: var(--type-caption);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/display-mode.css */

/* Phone is the default play surface; Wide preserves the desktop workspace. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .display-switch {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--site-line);
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .display-switch button {
  border: 0;
  background: transparent;
  color: var(--site-ink);
  min-height: 44px;
  padding: 7px 12px;
  font-size: var(--type-body);
  font-weight: 700;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .display-switch [aria-pressed='true'] {
  background: var(--site-ink);
  color: var(--paper);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-tools {
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-header {
  min-height: 56px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #main {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame {
  container: game / size;
  contain: layout style size;
  position: relative;
  width: 100%;
  height: min(1040px, calc(100svh - 100px));
  min-height: 0;
  margin-inline: auto;
}
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] #game-frame {
  width: min(100%, 430px);
  height: min(932px, calc(100svh - 100px));
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame > .game-shell {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell #n-app {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-screen='title'] #n-app {
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav {
  position: relative;
  bottom: auto;
  flex: 0 0 auto;
}
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] .page > footer {
  max-width: 430px;
  margin-inline: auto;
  min-height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #main:fullscreen {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--night);
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #main:fullscreen #game-frame {
  height: 100svh;
  max-height: none;
  min-height: 0;
}
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] #main:fullscreen #game-frame {
  max-height: 932px;
}
/* Native dialogs keep modal semantics, with geometry aligned to the visible game. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog {
  position: fixed;
  left: var(--dialog-left, 0px);
  right: calc(100% - var(--dialog-left, 0px) - var(--dialog-width, 100vw));
  top: var(--dialog-top, 0px);
  bottom: calc(100% - var(--dialog-top, 0px) - var(--dialog-height, 100svh));
  margin: auto;
  transform: none;
  max-width: calc(var(--dialog-width, 100vw) - 16px);
  max-height: calc(var(--dialog-height, 100svh) - 16px);
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog::backdrop {
  background: #07151cc9;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell {
    border-radius: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-player-dialog,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bowling-planner-dialog {
    height: auto;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .tactical-controls,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .batting-target-sheet {
    left: 10px;
    right: 10px;
    bottom: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100cqh - 28px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-inspector {
    left: 10px;
    right: 10px;
    bottom: 12px;
    max-height: calc(100cqh - 28px);
  }
}
@media (max-width: 700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page {
    padding: 0 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-header {
    padding: 0;
    min-height: 52px;
    height: 52px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .wordmark {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-tools {
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-toggle {
    min-height: 44px;
    padding: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .display-switch {
    gap: 0;
    padding: 1px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .display-switch button {
    padding: 6px 8px;
    font-size: var(--type-caption);
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame,
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] #game-frame {
    height: calc(100svh - 92px);
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page > footer,
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] .page > footer {
    min-height: 40px;
    font-size: var(--type-caption);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/mobile-refinements.css */
/* One phone layout, whether the game runs in a desktop frame or on a phone. */
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell {
    --phone-nav-height: 60px;
    --phone-action-height: 104px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell:has(#n-nav:empty) {
    --phone-nav-height: 0px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar {
    height: 44px;
    padding-inline: 8px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-title-small {
    font-size: var(--type-body);
    letter-spacing: -0.3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar .game-button {
    min-height: 40px;
    padding: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools {
    gap: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools .game-button {
    min-width: 36px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(90px, 1fr) auto;
    min-height: 56px;
    padding: 6px 12px;
    gap: 10px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip strong {
    max-width: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip > span {
    font-size: var(--type-caption);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store {
    min-width: 64px;
    min-height: 44px;
    align-self: center;
    padding: 6px 9px;
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store > strong {
    font-size: var(--type-body);
  }
/* The navigation stays outside the content scroller and keeps every tab visible. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    height: var(--phone-nav-height);
    min-height: var(--phone-nav-height);
    padding: 4px 3px;
    gap: 0;
    overflow: visible;
    position: relative;
    bottom: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav:empty {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button {
    min-width: 0;
    width: 100%;
    min-height: 50px;
    padding: 4px 1px;
    gap: 4px;
    font-size: var(--type-caption);
    line-height: 1.2;
    border-radius: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .ui-icon {
    width: 20px;
    height: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button[aria-current='page'] {
    background: var(--ui-raised, #2a3c48);
    color: #f3d397;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-app {
    scroll-padding-block: 90px calc(var(--phone-action-height) + 12px);
    overscroll-behavior-y: contain;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-app .game-button:focus-visible {
    scroll-margin-block: 90px calc(var(--phone-action-height) + 12px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style {
    padding: 0 12px;
    gap: 10px;
    min-height: 44px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style .game-button {
    font-size: var(--type-caption);
    min-height: 44px;
    padding: 6px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .play-style + .match-screen {
    height: auto;
    min-height: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .match-scoreboard {
    position: sticky;
    top: 0;
    z-index: 6;
    grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
    padding: 10px 12px;
    gap: 10px;
    min-height: 82px;
    flex-basis: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .score-team {
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .score-team .team-stamp {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .opponent-name {
    font-size: var(--type-caption);
    max-width: none;
    white-space: normal;
    line-height: 1.3;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .live-score {
    font-size: var(--type-score);
    line-height: 1.1;
    margin-top: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .live-score span {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .score-overs {
    font-size: var(--type-caption);
    gap: 2px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .score-overs strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .score-overs small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .chase-equation {
    text-align: right;
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .chase-equation strong {
    font-size: var(--type-section);
    line-height: 1.25;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .chase-equation > span {
    font-size: var(--type-caption);
    line-height: 1.35;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .stadium-wrap canvas {
    height: clamp(180px, min(70cqi, calc(100cqh - 430px)), 296px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .pitch-label {
    padding: 8px 12px;
    gap: 4px 10px;
    font-size: var(--type-caption);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .pitch-label span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .pitch-label small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .match-commentary {
    padding: 10px 12px;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .match-commentary > p {
    font-size: var(--type-body);
    line-height: 1.5;
    margin-top: 8px;
    max-height: none;
    overflow: visible;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .over-feed-row {
    font-size: var(--type-caption);
    grid-template-columns: 45px minmax(0, 1fr) 48px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .over-feed-row > div {
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .field-toolbar {
    padding: 10px 12px;
    border-bottom: 1px solid var(--edge);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .field-summary strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .field-summary p {
    font-size: var(--type-caption);
    line-height: 1.5;
    margin: 4px 0 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .field-actions .game-button {
    min-height: 44px;
    font-size: var(--type-caption);
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .field-quick-plans {
    padding: 8px 12px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .field-quick-plans .game-button {
    font-size: var(--type-caption);
    min-height: 44px;
  }
/* Detailed choices follow the field in one readable column. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen .dugout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 12px;
    overflow: visible;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen .dugout:has(.bowl-actions, .casual-play-footer) {
    padding-bottom: calc(var(--phone-action-height) + 16px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .innings-guide p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batter-read p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .sim-hint {
    font-size: var(--type-body);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batter-read strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batter-read strong > span {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .bowler-needed {
    font-size: var(--type-body);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .bowling-plan-launch {
    min-height: 64px;
    padding-block: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .bowling-plan-launch small {
    font-size: var(--type-body);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-contestants {
    gap: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-player strong {
    font-size: var(--type-body);
    line-height: 1.35;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-player span {
    font-size: var(--type-caption);
    line-height: 1.4;
    margin-top: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-plan-hint {
    font-size: var(--type-body);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-plans .game-button {
    font-size: var(--type-body);
    min-height: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .moment-review {
    font-size: var(--type-body);
    line-height: 1.5;
    padding: 10px 0 10px 12px;
    scroll-margin-block: 96px 120px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .moment-review strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batting-manager {
    padding-block: 8px 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batting-manager-header strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batting-manager-header small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batting-manager .batter-identity {
    font-size: var(--type-body);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batting-intent button {
    min-height: 48px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .opposition-bowler p {
    font-size: var(--type-body);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .dugout > [data-action='match-tactics']:where([data-section="delivery"]),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .dugout > [data-action='match-tactics']:where([data-section="targets"]) {
    min-height: 48px;
    font-size: var(--type-body);
    align-self: stretch;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .dugout > [data-action='match-tactics']:where([data-section="targets"]) small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .match-speed > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .playback-controls > .game-button {
    font-size: var(--type-body);
  }
/* Reuse the live play controls as one dock; there is no duplicate action bar. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-play-footer,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .bowl-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--phone-nav-height);
    z-index: 12;
    margin: 0;
    padding: 10px 12px;
    background: var(--ui-surface, #182b38);
    border-top: 1px solid #60737b;
    box-shadow: 0 -5px 12px #08151c24;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-play-footer {
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-play-buttons {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-play-buttons .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .bowl-actions .game-button {
    min-height: 50px;
    font-size: var(--type-section);
    padding: 10px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-play-footer > p {
    font-size: var(--type-caption) !important;
    line-height: 1.4;
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .bowl-actions [data-action='ball'] {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-play-footer .stop-over:not([hidden]) {
    position: static;
    inset: auto;
    width: 100%;
    min-height: 50px;
    font-size: var(--type-body);
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .dugout > .stop-over:not([hidden]) {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(var(--phone-nav-height) + 10px);
    z-index: 14;
    min-height: 50px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-busy='true'] .match-screen .bowl-actions {
    visibility: hidden;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell:has(.match-screen) .notice {
    bottom: calc(var(--phone-nav-height) + var(--phone-action-height) + 8px);
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .result-screen {
    gap: 14px;
    padding: 8px 0 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .result-screen p {
    font-size: var(--type-body);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .result-screen small {
    font-size: var(--type-caption);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .result-screen > .game-button {
    min-height: 50px;
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-hub {
    padding: 22px 16px;
    gap: 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture > p:not(.hub-opponent),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-player p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-last-report {
    font-size: var(--type-body);
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-guidance {
    font-size: var(--type-body) !important;
    line-height: 1.5;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-player h4 {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-player .game-button {
    min-height: 44px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-links {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-links .game-button {
    min-height: 48px;
    font-size: var(--type-body);
  }
/* Long player and store details retain their original close controls. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-dialog,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-dialog,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-dialog,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pack-reveal-dialog {
    scroll-padding-block: 110px 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header {
    position: sticky;
    top: 0;
    z-index: 4;
    background: var(--navy);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .report-header > .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .gear-picker-header > .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .analysis-header > .game-button {
    min-height: 44px;
    flex-shrink: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body {
    grid-template-columns: minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body > * {
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-report-body .stats-table-scroll {
    max-width: 100%;
    overscroll-behavior-x: contain;
  }
}

@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-title-small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-topbar {
    gap: 3px;
    padding-inline: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .topbar-tools .game-button {
    min-width: 34px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip {
    padding-inline: 8px;
    gap: 6px;
    grid-template-columns: minmax(0, 1fr) minmax(82px, 1fr) auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-strip .club-badge {
    width: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-store {
    min-width: 58px;
    padding-inline: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-nav .game-button {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .match-scoreboard {
    padding-inline: 10px;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .live-score {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .chase-equation strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .over-feed-row > div {
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .over-feed-row .delivery-chip {
    width: 21px;
    height: 23px;
    min-width: 21px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .batting-intent button {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .casual-contestants {
    flex-direction: column;
    gap: 12px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/phone-match.css */

/* The live phone scene owns its height. Detailed decisions live in dialogs. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] #n-app {
  overflow: hidden;
  scroll-padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-phone-match='true'] .career-strip {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-phone-match='true'] .game-topbar {
  height: 44px;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-phone-match='true'] .notice {
  bottom: calc(var(--phone-nav-height, 60px) + 70px);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) repeat(5, auto);
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match > * {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-scoreboard {
  position: relative;
  top: auto;
  z-index: 1;
  min-height: 74px;
  flex-basis: auto;
  padding: 7px 10px;
  gap: 8px;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .score-team {
  min-width: 0;
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .score-team > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .score-team .team-stamp {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .opponent-name {
  max-width: none;
  font-size: var(--type-caption);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .live-score {
  font-size: var(--type-score);
  line-height: 1.1;
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .live-score span {
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .score-overs {
  font-size: var(--type-caption);
  gap: 1px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .score-overs strong {
  font-size: var(--type-name);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .score-overs small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .chase-equation {
  gap: 4px;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .chase-equation strong {
  font-size: var(--type-body);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .chase-equation > span {
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .stadium-wrap {
  height: 100%;
  min-height: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .stadium-wrap canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .pitch-label {
  position: absolute;
  top: auto;
  bottom: 4px;
  left: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 3px 5px;
  font-size: var(--type-caption);
  line-height: 1.25;
  border-radius: 2px;
  background: var(--ui-surface, #10232b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .pitch-label > b {
  font-weight: 500;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .pitch-label > span {
  font-size: var(--type-caption);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 3px;
  min-height: 65px;
  padding: 5px 10px 4px;
  border-bottom: 1px solid #36565d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .recent-balls {
  display: block;
  width: 100%;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .over-feed-row > strong {
  font-size: var(--type-caption);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .over-feed-row > span {
  text-align: right;
  white-space: nowrap;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row .delivery-chip {
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex: 0 0 22px;
  font-size: var(--type-caption);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary > p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 32px;
  min-height: 32px;
  overflow: hidden;
  margin: 0;
  font-size: var(--type-caption);
  line-height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match #field-status {
  padding: 4px 10px;
  margin: 0;
  font-size: var(--type-caption);
  line-height: 16px;
  background: #3b2931;
  color: var(--red);
  border-bottom: 1px solid #a56d68;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match #field-status:not(.illegal) {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-contestants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: var(--ui-surface, #1b303b);
  border-bottom: 1px solid #36565d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player {
  display: flex;
  align-items: center;
  min-height: 58px;
  min-width: 0;
  gap: 7px;
  padding: 6px 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player + .phone-player {
  border-left: 1px solid #36565d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player:hover:not(:disabled) {
  background: var(--ui-raised, #29414c);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player .pixel-portrait {
  width: 32px;
  height: 39px;
  flex: 0 0 32px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > strong {
  display: block;
  font-size: var(--type-caption);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > span {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  font-size: var(--type-caption);
  line-height: 1.2;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy b {
  font-weight: 700;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy small {
  font-size: var(--type-caption);
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-match-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0 5px;
  border-bottom: 1px solid #4c6370;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-match-tools .game-button {
  min-width: 0;
  min-height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-match-tools .game-button:hover:not(:disabled) {
  background: var(--ui-raised, #29414c);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-play-dock {
  position: relative;
  margin: 0;
  padding: 7px 10px 9px;
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-play-buttons {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-buttons .game-button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px 8px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-play-buttons [data-action='over'] {
  background: var(--gold);
  border-color: var(--gold);
  color: #17202c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-play-buttons [data-action='over']:hover:not(:disabled) {
  background: #f5d69d;
  border-color: #f5d69d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-delivery-footer .stop-over:not([hidden]) {
  position: relative;
  inset: auto;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 9px 8px;
  font-size: var(--type-body);
  z-index: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-delivery-footer:has(.stop-over:not([hidden])) .phone-play-buttons {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .boundary-celebration {
  bottom: 29px;
  gap: 7px;
  padding: 6px 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .boundary-score b {
  font-size: var(--type-score);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .boundary-score span {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .boundary-crowd {
  width: 110px;
  height: 34px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .over-transition {
  max-width: calc(100% - 20px);
  padding: 10px 12px;
}
/* Shared native phone sheets: content may scroll while the close control remains visible. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result {
  padding: 16px 12px 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .result-screen {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .result-screen h2 {
  font-size: var(--type-display);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .result-screen > p {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .result-screen > .game-button {
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .innings-standout {
  margin: 0;
  padding: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .cricket-scorecard {
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-result .scorecard-innings {
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog.phone-match-sheet {
  width: calc(var(--dialog-width, 100vw) - 20px);
  padding: 0;
  border: 1px solid #70858c;
  border-radius: 5px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 12px 44px #0007;
  overscroll-behavior: contain;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog.phone-match-sheet[open] {
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--edge);
  background: var(--navy);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-header h2,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-header h3 {
  margin: 0;
  font-size: var(--type-title);
  line-height: 1.3;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-header .game-button {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body {
  min-height: 0;
  overflow: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overscroll-behavior: contain;
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body > p {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--edge);
  background: var(--navy);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-actions .game-button {
  flex: 1;
  min-height: 46px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .tactic-button {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .tactical-controls {
  position: static !important;
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  gap: 14px;
  overflow: visible !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .tactical-controls > .sheet-heading {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .tactic-row > span {
  font-size: var(--type-body);
  margin-bottom: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .tactic-row > div {
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .tactic-button {
  font-size: var(--type-caption);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .batting-pair {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .batting-manager {
  display: block;
  padding-bottom: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .batting-manager-header {
  margin-bottom: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .batting-manager-header strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .batting-intent {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .batting-intent .game-button {
  flex: 1;
  min-width: 0;
  padding: 6px 3px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .field-quick-plans {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 6px;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .field-quick-plans .game-button {
  flex: 1;
  min-width: 80px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .simple-bowling {
  display: grid;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .target-bowler-options input {
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .match-speed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .match-speed > span {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .phone-sheet-body .match-speed .game-button {
  min-width: 44px;
}

@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-scoreboard {
    padding-inline: 8px;
    gap: 6px;
    grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .live-score {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .chase-equation strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary {
    padding-inline: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row {
    gap: 4px;
    grid-template-columns: 43px minmax(0, 1fr) auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row > div {
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row .delivery-chip {
    width: 21px;
    height: 21px;
    min-width: 21px;
    flex-basis: 21px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player {
    padding-inline: 7px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > span {
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy small {
    font-size: var(--type-caption);
  }
}
@container game (max-height:600px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-scoreboard {
    min-height: 65px;
    padding-block: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .live-score {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player {
    min-height: 54px;
    padding-block: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-play-dock {
    padding-block: 5px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/phone-decisions.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #405863;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-summary p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-summary .pixel-portrait {
  width: 40px;
  height: 48px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-summary:has(p:empty) {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-sheet-header p {
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 5px 0 0;
  color: #c1d0ca;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-plans .game-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-plans strong {
  font-size: var(--type-body);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-plans small {
  font-size: var(--type-caption);
  font-weight: 400;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match-sheet .playback-controls {
  position: static;
  inset: auto;
  width: auto;
  max-width: 100%;
  margin: 8px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 66px;
  gap: 10px;
  width: 100%;
  min-height: 76px;
  padding: 12px 6px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #405863;
  background: transparent;
  color: #f4eee0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option > .pixel-portrait {
  width: 36px;
  height: 44px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option strong {
  display: block;
  font-size: var(--type-section);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option small {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.4;
  color: #bfcec8;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option .phone-choice-reason {
  color: #edb4a1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option[aria-pressed='true'] {
  background: #314d46;
  box-shadow: inset 3px 0 #edc47b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option[aria-disabled='true'] {
  opacity: 0.65;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-choice-quality {
  font-size: var(--type-caption);
  color: #edcc90;
  line-height: 1.4;
  text-align: right;
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-choice-quality b {
  display: block;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-error {
  font-size: var(--type-body);
  color: #ffb6a3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-error:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-plans .game-button {
  font-size: var(--type-body);
  min-width: 0;
  min-height: 52px;
  padding: 8px 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-plans [aria-pressed='true'] {
  background: #36554b;
  color: #fff2ca;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-plan-description {
  font-size: var(--type-body);
  line-height: 1.45;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-detail {
  border-top: 1px solid #405863;
  padding-top: 12px;
  margin-top: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-detail summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #e7c383;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-detail .control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-detail label {
  display: grid;
  gap: 6px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-detail select {
  max-width: 100%;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-target-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-target-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-target-list input {
  min-height: 0;
  width: 20px;
  height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-body .playback-controls {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-body .bowling-plan-launch {
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-body .batting-manager {
  padding: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-body .batting-intent button {
  font-size: var(--type-caption);
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-tactics-body .field-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 5px 10px;
  align-items: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option > .pixel-portrait {
  grid-row: 1/3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option > .phone-choice-person {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option strong {
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option > .phone-choice-quality {
  max-width: 66px;
  align-self: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option > .bowling-choice {
  grid-column: 2/-1;
  margin-top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option .bowling-choice-type {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option .bowling-choice-remaining > b {
  display: inline;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option .phone-choice-reason {
  margin-bottom: 3px;
}
/* Match decisions use the same name/figure hierarchy as a scorecard. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-sheet-header .phone-decision-score > strong {
  font-size: var(--type-score);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-score > span {
  font-size: var(--type-name);
  color: #d1dce5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-score small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-dismissed-player {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 11px;
  padding: 13px 0 16px;
  border-bottom: 1px solid #566c7d;
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-dismissed-player > .pixel-portrait {
  grid-row: 1/3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-dismissed-player > strong {
  font-size: var(--type-name);
  line-height: 1.2;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-dismissed-player > b {
  font-size: var(--type-number);
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-dismissed-player > b > span {
  font-size: var(--type-section);
  color: #d0dce4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-dismissed-player > small {
  grid-column: 2/-1;
  font-size: var(--type-caption);
  line-height: 1.3;
  color: #c3d0db;
}
/* Batting ability uses the same bat-and-fill treatment as the desktop menu. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-batter-option {
  grid-template-columns: 40px minmax(0, 1fr) 66px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-batter-option > .phone-choice-quality,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-bowler-option > .phone-choice-quality {
  display: grid;
  justify-items: end;
  gap: 6px;
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option .phone-choice-check {
  min-height: 20px;
  line-height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-decision-option .selection-ability {
  gap: 4px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/pixel-navigation.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav {
  background: #122630;
  border-top: 2px solid #526c72;
  padding: 3px 4px;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button {
  --nav-icon-bg: #122630;
  --nav-icon-shade: #7faaa6;
  min-height: 50px;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #abc2c3;
  box-shadow: none;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 700;
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .pixel-nav-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: block;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button[aria-current='page'] {
  --nav-icon-bg: #304a4e;
  --nav-icon-shade: #ae884e;
  background: #304a4e;
  color: #f2cf89;
  box-shadow:
    inset 0 -3px #e7c383,
    inset 2px 0 #4d6969,
    inset -2px 0 #223a40;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button:hover:not(:disabled) {
  background: #28424a;
  color: #f4e6c6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button:focus-visible {
  outline: 2px solid #f3d598;
  outline-offset: -2px;
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav {
    padding-inline: 2px;
    gap: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button {
    font-size: var(--type-caption);
    padding-inline: 0;
    min-height: 50px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/cricket-scorecard.css */

/* Conventional cricket figures, with one readable panel at phone widths. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .player-report-body {
  display: block;
  min-width: 0;
  padding: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .report-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .report-header > .game-button {
  min-width: 56px;
  min-height: 44px;
  flex-shrink: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-summary > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-summary h3 {
  font-size: var(--type-name);
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--cream);
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-summary > div > strong {
  font-size: var(--type-score);
  line-height: 1.15;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-summary > div > strong > span {
  color: var(--gold);
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .cricket-scorecard .scorecard-summary > p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  text-align: right;
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .cricket-scorecard .scorecard-dnb {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: var(--type-body);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .scorecard-innings {
  display: flex;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .scorecard-innings .game-button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  font-size: var(--type-body);
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .scorecard-innings .game-button[aria-pressed='false'] {
  background: #243c48;
  color: var(--dim);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen .scorecard-innings .game-button[aria-pressed='true'] {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-summary > p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  text-align: right;
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-tabs .game-button {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 9px 12px;
  background: transparent;
  color: var(--dim);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-tabs .game-button[aria-pressed='true'] {
  color: var(--gold);
  box-shadow: inset 0 -3px var(--gold);
  background: #243c48;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-panel {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table {
  max-width: 100%;
  overflow: visible;
  border: 0;
  margin: 0 0 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  font-size: var(--type-body);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-name-col {
  width: 40%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-rate-col {
  width: 20%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table td {
  padding: 11px 5px;
  border-bottom: 1px solid #3b5661;
  white-space: nowrap;
  text-align: right;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table th:first-child {
  min-width: 0;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table thead th {
  padding-block: 9px;
  background: #203845;
  color: var(--dim);
  font-size: var(--type-caption);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table tbody th {
  font-weight: 650;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-dismissal {
  display: block;
  margin-top: 5px;
  font-size: var(--type-caption);
  font-weight: 400;
  line-height: 1.45;
  color: var(--dim);
  overflow-wrap: anywhere;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table td strong {
  font-weight: 800;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-extras th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-extras td {
  padding-block: 10px;
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-total th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-total td {
  padding-block: 12px;
  background: #203845;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-total td {
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-total td > strong {
  font-size: var(--type-name);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-total td > span {
  display: inline-block;
  margin-left: 12px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-dnb {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 14px;
  font-size: var(--type-body);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-dnb strong {
  color: var(--cream);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-note {
  margin: 10px 0;
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall {
  margin-top: 20px;
  border-top: 1px solid var(--edge);
  padding-top: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall h4 {
  font-size: var(--type-section);
  margin: 0 0 9px;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #304b58;
  font-size: var(--type-body);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall li > strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall li > small {
  font-size: var(--type-caption);
  color: var(--dim);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-fall > p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-empty {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .player-report-body > details {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .player-report-body > details > summary {
  min-height: 44px;
  align-content: center;
  font-size: var(--type-body);
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .scorecard-innings {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .scorecard-innings .game-button {
  min-height: 44px;
  flex: 1;
  min-width: 0;
  font-size: var(--type-body);
  white-space: normal;
  padding: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .scorecard-innings .game-button[aria-pressed='true'] {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .player-report-body {
    padding: 14px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .report-header {
    padding: 10px 12px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .report-header h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table table {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table td {
    padding: 10px 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table thead th {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table .scorecard-dismissal {
    font-size: var(--type-caption);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-summary h3 {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(.n-clubs-scorecard-dialog) .cricket-scorecard .scorecard-summary > p {
    font-size: var(--type-caption);
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table table {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .cricket-scorecard-table td {
    padding-inline: 2px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cricket-scorecard .scorecard-fall li {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 7px;
    font-size: var(--type-caption);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/brand-theme.css */

/* Pocket Pavilion: a limited arcade palette. Portfolio branding stays independent. */
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier)) {
  --night: var(--colour-canvas);
  --navy: var(--colour-surface);
  --panel: var(--colour-raised);
  --panel2: var(--colour-active);
  --edge: var(--colour-edge);
  --cream: var(--colour-ink);
  --dim: var(--colour-muted);
  --gold: var(--colour-gold);
  --mint: var(--colour-mint);
  --purple: var(--colour-purple);
  --red: var(--colour-red);
  --brand-cobalt: #2147a8;
  --brand-red: #fb6b71;
  --brand-shadow: #09112a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame > .game-shell {
  border: 2px solid var(--edge);
  border-radius: 2px;
  background: var(--night);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen {
  background: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar {
  background: var(--night);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-title-small {
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-strip {
  background: var(--panel);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store {
  background: var(--night);
  border-color: var(--edge);
  color: var(--gold);
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .tactic-button {
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame input,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame select {
  background: var(--night);
  border-color: var(--edge);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--edge);
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog::backdrop {
  background: #09112ad9;
}
/* The title is a game wordmark; ordinary game copy keeps its readable typeface. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
  background: var(--brand-cobalt);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene:after {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading h1 {
  margin: 0;
  text-shadow: none;
  line-height: 1;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .brand-wordmark {
  display: block;
  width: min(100%, 300px);
  height: auto;
  image-rendering: pixelated;
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-tagline {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-content {
  background: var(--brand-cobalt);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-players {
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star {
  animation: none;
  filter: drop-shadow(4px 4px 0 #09112a80);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > span {
  background: var(--night);
  border-bottom: 2px solid var(--brand-red);
  color: var(--cream);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button {
  background: var(--navy);
  border: 2px solid #7797e0;
  color: var(--cream);
  box-shadow: 0 3px 0 var(--brand-shadow);
  min-height: 46px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button:hover:not(:disabled) {
  background: var(--panel2);
  border-color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button:first-child {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button:first-child:hover:not(:disabled) {
  background: #ffe89a;
  border-color: #ffe89a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button small {
  color: inherit;
}
/* Consistent structural surfaces across career screens and match sheets. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .match-scoreboard,
    .phone-contestants,
    .match-commentary,
    .field-toolbar,
    .bowling-plan-launch,
    .coach-tile,
    .facility-card,
    .training-sessions article,
    .bracket-game,
    .gear-slot,
    .store-pack,
    .store-balance,
    .store-credit-options > article
  ) {
  background: var(--panel);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .field-inspector,
    .reputation-panel,
    .facility-upgrade,
    .club-result,
    .player-card,
    .bracket-final
  ) {
  background: var(--navy);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.xi-order, .sticky-actions) {
  background: var(--navy);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .xi-order h3 {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .xi-order li {
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .phone-sheet-header,
    .phone-sheet-actions,
    .report-header,
    .analysis-header,
    .gear-picker-header,
    .phone-play-dock
  ) {
  background: var(--navy);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.phone-player, .phone-match-tools) {
  background: var(--navy);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-player:hover:not(:disabled),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match-tools .game-button:hover:not(:disabled) {
  background: var(--panel2);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-play-buttons [data-action='over'] {
  box-shadow: 0 3px 0 var(--brand-shadow);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-play-buttons [data-action='over']:hover:not(:disabled) {
  background: #ffe89a;
  border-color: #ffe89a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .stop-over {
  background: #713747;
  border-color: var(--brand-red);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.phone-decision-option, .player-menu-option)[aria-pressed='true'] {
  background: var(--brand-cobalt);
  border-color: var(--gold);
  color: var(--cream);
  box-shadow: inset 3px 0 var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-tactics-plans [aria-pressed='true'] {
  background: var(--brand-cobalt);
  color: var(--cream);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.section-tabs, .casual-plans) .game-button[aria-pressed='true'] {
  background: var(--brand-cobalt);
  color: var(--cream);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .tactic-button[aria-pressed='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .stats-table-scroll caption,
    .cricket-scorecard .cricket-scorecard-table thead th,
    .cricket-scorecard .scorecard-total td,
    .cricket-scorecard .scorecard-total th
  ) {
  background: var(--panel);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .cricket-scorecard .cricket-scorecard-table th,
    .cricket-scorecard .cricket-scorecard-table td,
    .league-table td,
    .league-table th
  ) {
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .cricket-scorecard .scorecard-tabs .game-button[aria-pressed='true'] {
  background: var(--brand-cobalt);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .result-screen .scorecard-innings .game-button[aria-pressed='false'] {
  background: var(--panel);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .result-screen .scorecard-innings .game-button[aria-pressed='true'] {
  background: var(--gold);
  color: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .league-table .your-team {
  background: var(--brand-cobalt);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .bracket-join > span {
  background: var(--night);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .bracket-final {
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene canvas {
  opacity: 1;
}
/* Pixel navigation reads as six game controls, with one solid selection. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav {
  background: var(--night);
  border-top: 2px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button {
  --nav-icon-bg: var(--night);
  --nav-icon-shade: #83a0d7;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button[aria-current='page'] {
  --nav-icon-bg: var(--brand-cobalt);
  --nav-icon-shade: #e2a33d;
  background: var(--brand-cobalt);
  color: var(--gold);
  box-shadow:
    inset 0 -3px var(--gold),
    inset 2px 0 #567ad5,
    inset -2px 0 #153579;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button:hover:not(:disabled) {
  background: var(--panel2);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-nav .game-button:focus-visible {
  outline-offset: -3px;
}

@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
    height: 100%;
    min-height: 0;
    grid-template-rows: auto minmax(120px, 1fr) auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
    padding: 20px 24px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .brand-wordmark {
    width: min(100%, 270px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-tagline {
    margin: 12px 0 12px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions {
    padding: 12px 24px 0;
    gap: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > span {
    font-size: var(--type-caption);
    padding: 5px 2px;
    min-height: 30px;
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
    padding: 18px 18px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions {
    padding-inline: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-title-small {
    font-size: var(--type-caption);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/squad-interactions.css */

/* Squad lists prioritize selection; statistics stay in each player's report. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-heading h2 {
  font-size: var(--ui-heading, 20px);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-heading > span {
  font-size: var(--type-body);
  color: var(--gold);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-instruction {
  font-size: var(--type-body);
  line-height: 1.45;
  color: var(--dim);
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-balance {
  font-size: var(--type-body);
  line-height: 1.4;
  color: var(--dim);
  margin: 8px 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster-tabs button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-list-tools button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-tabs button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--cream);
  font-size: var(--type-body);
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster-tabs button {
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster-tabs [aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-tabs [aria-pressed='true'] {
  background: #2b4c86;
  color: #ffe2a3;
  border-color: #d9ba78;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-list-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-list-tools button {
  background: transparent;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster[hidden] {
  display: none !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster h3 {
  font-size: var(--type-section);
  margin: 12px 0 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid var(--edge);
  min-height: 72px;
  box-sizing: border-box;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-position {
  font-size: var(--type-body);
  text-align: center;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-select {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  touch-action: pan-y;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-select > .pixel-portrait {
  width: 34px;
  height: 41px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-copy {
  display: block;
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-copy strong {
  display: block;
  font-size: var(--type-section);
  line-height: 1.3;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook {
  grid-column: 2 / -1;
  min-width: 0;
  max-width: 480px;
  margin-top: -2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook {
  grid-template-columns: minmax(0, 1fr) 91px;
  align-items: center;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook.is-compact .scout-reading {
  grid-template-columns: 46px minmax(0, 1fr) 43px;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .scout-reading > span:first-child,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook.is-compact .scout-reading > b {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .outlook-trend > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .scout-confidence > span:last-child {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .scout-confidence-pips {
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-player-meta {
  position: relative;
  display: grid;
  grid-template-columns: 44px 18px 85px 111px 28px;
  align-items: center;
  gap: 7px;
  margin-top: 5px;
  min-width: 0;
  color: var(--dim);
  font-size: var(--ui-label, 11px);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-role-slot {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-role-slot > .player-role-symbols {
  display: flex;
  gap: 3px;
  align-items: center;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-role-slot .role-symbol {
  width: 18px;
  height: 18px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-overseas-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 20px;
  color: #edcc83;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-overseas-slot.is-empty {
  visibility: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-overseas-slot > .allocation-plane {
  width: 16px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-readiness-slot {
  display: block;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-readiness-slot > .player-energy {
  display: grid;
  grid-template-columns: 40px 32px;
  gap: 5px;
  align-items: center;
  font-size: var(--type-caption);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-readiness-slot .player-energy > svg {
  width: 40px;
  height: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-readiness-slot .player-energy > span {
  text-align: right;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-form-slot {
  display: block;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-form-slot > .player-form {
  display: grid;
  grid-template-columns: 64px 42px;
  gap: 5px;
  align-items: center;
  margin: 0;
  max-width: none;
  flex-wrap: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-form-slot .player-form-copy {
  font-size: var(--type-caption);
  line-height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-form-slot .player-form-blocks {
  width: 42px;
  height: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-medical-slot {
  font-size: var(--type-caption);
  font-weight: 700;
  color: #f1a497;
  text-align: right;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-freshness {
  color: #c9d7af;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-freshness.is-out {
  color: #f0ae9e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-select:disabled {
  opacity: 1;
  cursor: default;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-report,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle {
  display: grid;
  place-items: center;
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: var(--type-name);
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle {
  touch-action: none;
  cursor: grab;
  color: #c4cfb9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle:active {
  cursor: grabbing;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle:disabled {
  opacity: 0.3;
  cursor: default;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-report:focus-visible,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-select:focus-visible,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle:focus-visible,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-roster-tabs button:focus-visible,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-dialog button:focus-visible {
  outline: 3px solid #f0ca80;
  outline-offset: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drop-target {
  background: #375b4d;
  box-shadow:
    inset 0 3px #f0ca80,
    inset 0 -3px #f0ca80;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-ghost {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  background: #18333e;
  color: #ffe3a5;
  border: 2px solid #e1bd79;
  padding: 9px 12px;
  max-width: 190px;
  overflow-wrap: anywhere;
  font:
    700 var(--type-body) Arial,
    sans-serif;
  box-shadow: 3px 3px #08182180;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-dragging {
  user-select: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-footer {
  margin-top: 18px;
  justify-content: space-between;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-footer .game-button {
  min-height: 46px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-dialog {
  width: min(540px, calc(100cqw - 24px));
  max-width: calc(100cqw - 24px);
  max-height: 88cqh;
  padding: 0;
  background: #18303b;
  color: var(--cream);
  border: 1px solid #6c847a;
  border-radius: 10px;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-dialog[open] {
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-dialog::backdrop {
  background: #08171dd6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 16px 12px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-header h2 {
  font-size: var(--type-title);
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-header p {
  font-size: var(--type-body);
  line-height: 1.45;
  color: var(--dim);
  margin: 6px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-header > button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-footer button {
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #f2d49a;
  font-size: var(--type-body);
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-header > button {
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 10px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-tabs button {
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-body {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-target {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 10px 4px;
  background: transparent;
  color: var(--cream);
  border: 0;
  border-bottom: 1px solid var(--edge);
  text-align: left;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-target > .pixel-portrait {
  width: 32px;
  height: 39px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-target strong {
  display: block;
  font-size: var(--type-section);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-target small {
  display: block;
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.4;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-target > span:last-child {
  color: #f2d49a;
  font-size: var(--type-section);
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-target[aria-disabled='true'] {
  opacity: 0.6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-reason {
  display: block;
  color: #f1b7a4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--edge);
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-open-place {
  width: 100%;
  min-height: 48px;
  margin: 8px 0;
  background: #3c5b49;
  color: #fff1c4;
  border: 1px solid #819278;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-body > [role='alert'] {
  color: #ffb6a3;
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 12px 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-sheet-body > [role='alert']:empty {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-empty {
  font-size: var(--type-body);
  padding: 16px 0;
  color: var(--dim);
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen {
    padding: 16px 12px 22px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-row {
    grid-template-columns: 20px minmax(0, 1fr) 44px 44px;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-select {
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-copy strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-player-meta {
    grid-template-columns: 44px 18px minmax(0, 1fr);
    gap: 3px 7px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-role-slot {
    grid-column: 1;
    grid-row: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-overseas-slot {
    grid-column: 2;
    grid-row: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-readiness-slot {
    grid-column: 3;
    grid-row: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-form-slot {
    grid-column: 1/-1;
    grid-row: 2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-medical-slot {
    position: absolute;
    right: 0;
    bottom: 1px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-choice-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 88cqh;
    margin: auto 0 0;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-footer {
    margin: 18px -12px -22px;
    padding: 10px 12px;
    bottom: 0;
    min-height: 68px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-footer .action-summary {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-footer .game-button {
    max-width: none;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-heading h2 {
    font-size: var(--type-number);
  }
}
/* Retentions and auction: choices first, longer scouting and roster lists on demand. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-instruction {
  font-size: var(--type-body);
  color: var(--dim);
  margin: 0 0 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 88px;
  padding: 10px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player.is-selected {
  background: #34504c55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 56px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report > .pixel-portrait {
  width: 34px;
  height: 41px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report > span {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report strong {
  display: block;
  font-size: var(--type-section);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report small {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.4;
  color: var(--dim);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player > .game-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  max-width: 112px;
  padding: 8px 10px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player [aria-pressed='true'] {
  background: #34504c;
  color: #ffe2a3;
  border-color: #d9ba78;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report:focus-visible {
  outline: 3px solid #f0ca80;
  outline-offset: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-footer .action-summary > span {
  max-width: 430px;
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen summary,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen summary {
  min-height: 44px;
  padding-top: 8px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-signed-players {
  margin-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-actions {
  position: static;
  gap: 10px;
  padding: 10px 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-actions > .game-button {
  min-height: 48px;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-budget-note {
  padding: 0 16px 12px;
  margin: 0;
  font-size: var(--type-caption);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-details {
  padding: 0 16px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-details .skill-bands {
  max-width: 400px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-details .player-readiness {
  max-width: 400px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-player-copy > .game-button {
  min-height: 44px;
  padding: 8px 10px;
  font-size: var(--type-body);
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-player-copy h2 {
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-bidboard {
  min-height: 76px;
  padding: 10px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-rivals .auction-floor {
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .game-rules {
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-tools .game-button {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .owned-roster {
  max-height: none;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player {
    gap: 6px;
    min-height: 84px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report {
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player > .game-button {
    max-width: 88px;
    padding: 8px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen > .scene-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen > .scene-header {
    gap: 10px;
    margin-bottom: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen .scene-title,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-title {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen .scene-subtitle,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-subtitle {
    font-size: var(--type-body);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen .scene-counter,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter {
    max-width: 86px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen .scene-counter strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter strong {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen .scene-counter small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-screen .retention-footer {
    bottom: 0;
    padding: 10px 12px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-footer .action-summary > span {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-footer > .game-button {
    min-height: 46px;
    font-size: var(--type-body);
    max-width: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-room {
    grid-template-columns: 1fr;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-player {
    padding: 12px 10px;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-spotlight {
    flex-basis: 72px;
    padding-top: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-spotlight > .pixel-portrait {
    width: 72px;
    height: 87px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-rating {
    font-size: var(--type-name);
    padding: 2px 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-rating small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-player-copy h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-player-role {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-player-copy .card-role-line {
    font-size: var(--type-caption);
    margin-top: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .bid-amount {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-bidboard p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-actions {
    padding: 9px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-budget-note {
    padding: 0 10px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-details {
    padding: 0 10px 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-sidebar {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .owned-roster {
    grid-template-columns: 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .owned-player {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .roster-needs {
    font-size: var(--type-body);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .auction-sidebar > [data-action='finish-auction'] {
    min-height: 46px;
    font-size: var(--type-body);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/mobile-career.css */

/* Compact career chrome and contextual phone pages. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  min-height: 62px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] .career-strip {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-club {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-club > svg {
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-club > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-club .club-label {
  display: block;
  font-size: var(--type-body);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: var(--dim);
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-progress b {
  font-weight: 600;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-progress > span {
  padding-left: 8px;
  border-left: 1px solid var(--edge);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-width: 64px;
  min-height: 44px;
  padding: 4px 10px;
  border: 0;
  border-left: 1px solid var(--edge);
  background: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store strong {
  font-size: var(--type-name);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  position: sticky;
  top: -1px;
  z-index: 2;
  padding-block: 8px;
  background: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-sections button {
  min-height: 44px;
  min-width: 0;
  padding: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-sections [aria-pressed='true'] {
  border-bottom: 3px solid var(--gold);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > details > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  cursor: pointer;
  list-style: none;
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > details > summary::after {
  content: '+';
  margin-left: auto;
  color: var(--gold);
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > details[open] > summary::after {
  content: '−';
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > details > summary h3 {
  font-size: var(--type-name);
  margin: 0 0 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack > details > summary .store-pack-icon {
  width: 48px;
  height: 44px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-detail {
  padding: 0 12px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-pack-detail > p {
  margin-block: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-pack {
  padding: 0;
  display: block;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-panel .store-bag,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-panel .store-credit-section {
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-panel .store-remove-ads {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-panel .store-fixed-packs {
  margin-top: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-heading h2 {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-heading > div > p:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-heading {
  align-items: center;
  margin-bottom: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-screen .store-balance {
  padding: 10px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-screen .store-balance strong {
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-panel .store-roster summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match #commentary.is-landmark {
  display: flex !important;
  gap: 8px;
  align-items: center;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #commentary.is-landmark strong {
  color: var(--gold);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #commentary.is-landmark span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-landmarks {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: grid;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-landmarks li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--edge);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-landmarks strong {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-landmark {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--edge);
  padding: 10px 14px;
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-landmark > div {
  display: grid;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-landmark strong {
  font-size: var(--type-section);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-landmark span {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-landmark button {
  min-width: 44px;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
  grid-template-rows: auto auto minmax(0, 1fr) repeat(5, auto);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .pitch-label {
  position: static;
  order: 0;
  inset: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--edge);
  background: var(--night);
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .pitch-label > b {
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .pitch-label > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary {
  padding: 8px 10px 6px;
  gap: 5px;
  min-height: 64px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-contestants {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-batting-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player {
  padding: 8px 10px;
  min-height: 60px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player.is-striker {
  box-shadow: inset 0 -2px var(--gold);
  background: #ffffff05;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > span {
  gap: 8px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .strike-bat,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .bowling-ball {
  display: inline-flex;
  align-items: center;
  width: 18px;
  height: 18px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match :is(.strike-bat, .bowling-ball) .role-icons {
  display: inline-flex;
  width: 18px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match :is(.strike-bat, .bowling-ball) svg {
  width: 18px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 5px 10px;
  border: 0;
  border-top: 1px solid var(--edge);
  background: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .pixel-portrait {
  width: 23px;
  height: 28px;
  flex-basis: 23px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy strong {
  font-size: var(--type-caption);
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy strong small {
  display: block;
  font-size: var(--type-caption);
  font-weight: 500;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy > span {
  flex: none;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .boundary-celebration {
  bottom: 10px;
  padding: 7px 10px 0;
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-phone-table {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-format > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .game-button {
  min-height: 44px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table-scroll {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-phone-table {
    display: block;
    margin-top: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-head,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px 20px 49px 27px;
    align-items: center;
    gap: 5px;
    padding: 10px 3px;
    list-style: none;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-head {
    color: var(--dim);
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-nrr {
    font-size: var(--type-caption);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--mint);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-head > span:not(:first-child),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team > summary > span:not(:first-child),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team > summary > strong {
    text-align: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team {
    border-bottom: 1px solid var(--edge);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team > summary {
    min-height: 54px;
    cursor: pointer;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team .table-club {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .table-club > b {
    font-size: var(--type-caption);
    color: var(--dim);
    flex: 0 0 15px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .table-club .team-name {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--type-caption);
    line-height: 1.35;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .table-club .team-badge {
    width: 23px;
    height: 28px;
    flex: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team > summary > strong {
    color: var(--gold);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team.your-team {
    background: var(--panel);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team.cutoff {
    border-bottom: 2px solid var(--gold);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 6px 12px 12px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team dt {
    font-size: var(--type-caption);
    color: var(--dim);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-table-team dd {
    margin: 3px 0 0;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-packs {
    grid-template-columns: 1fr;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-screen {
    padding: 14px 12px 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-section-heading {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-section-heading h3 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .league-screen .scene-header {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .scene-title {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .scene-subtitle {
    font-size: var(--type-body);
    line-height: 1.4;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table th,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-table td {
    padding: 10px 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .league-progress {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .league-format {
    margin-top: 16px;
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-strip {
    padding-inline: 9px;
    gap: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-club .club-label {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-progress {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > strong {
    font-size: var(--type-caption);
  }
}
/* While playing on a phone, give the match the screen. Site navigation returns
   on the title and management pages; the in-game back button remains visible. */
@media (max-width: 700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page:has(.game-shell[data-phone-match='true']) {
    padding: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page:has(.game-shell[data-phone-match='true']) > .site-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page:has(.game-shell[data-phone-match='true']) > footer {
    display: none;
  }
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] .page:has(.game-shell[data-phone-match='true']) #game-frame {
    width: 100%;
    height: 100svh;
    min-height: 0;
    max-width: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] {
    border: 0;
    border-radius: 0;
    padding-top: env(safe-area-inset-top);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-phone-match='true'] #n-nav {
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
    height: calc(var(--phone-nav-height, 60px) + env(safe-area-inset-bottom));
  }
}
@media (max-width: 700px) and (max-height: 650px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] #n-app {
    overflow-y: auto;
    scroll-padding-block: 8px 76px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
    height: 620px;
    min-height: 620px;
    max-height: none;
    overflow: visible;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock {
    position: sticky;
    bottom: 0;
    z-index: 4;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/mobile-management.css */

/* Management decisions stay near the top; supporting detail opens in place. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-copy,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-status {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-status {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-actions .game-button {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail {
  margin: 14px 0;
  border-block: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail + .management-detail {
  border-top: 0;
  margin-top: -14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: var(--type-body);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail > summary::-webkit-details-marker {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail > summary::after {
  content: '+';
  margin-left: auto;
  color: var(--gold);
  font-size: var(--type-title);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail[open] > summary::after {
  content: '−';
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail > summary strong {
  font-size: var(--type-body);
  font-weight: 500;
  color: var(--dim);
  margin-left: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail.reputation-detail {
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-detail > summary {
  padding: 12px;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-reputation-body {
  padding: 0 12px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-progress-copy {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-progress-copy > strong {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-progress-copy > span {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-reputation-body progress {
  display: block;
  width: 100%;
  height: 10px;
  margin: 7px 0 14px;
  accent-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-reputation-body h4 {
  font-size: var(--type-body);
  line-height: 1.4;
  margin: 0 0 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-unlocks {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-unlocks > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-unlocks dd {
  margin: 0;
  text-align: right;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reputation-unlocks .reputation-next-unlock {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-reputation-body > p {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
  margin: 12px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training .training-office > .management-detail {
  max-width: 780px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training > .reputation-detail,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .management-detail {
  max-width: 850px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail .training-effects {
  padding: 10px 0;
  border: 0;
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail .training-effects dd {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail .medical-updates {
  padding-left: 22px;
  font-size: var(--type-body);
  line-height: 1.55;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training-plan {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 780px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-choice legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: var(--type-section);
  font-weight: 700;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-group {
  display: grid;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-training {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-intensity {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-group .game-button {
  min-width: 0;
  min-height: 44px;
  font-size: var(--type-body);
  padding: 9px 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-group [aria-pressed='true'] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--night);
  box-shadow: inset 0 0 0 1px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training-plan > p {
  font-size: var(--type-body);
  line-height: 1.55;
  margin: 0;
  max-width: 65ch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-sessions {
  margin-top: 20px;
  max-width: 780px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-sessions > h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-coaches > h3 {
  font-size: var(--type-name);
  margin: 0 0 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-sessions > p {
  margin: 0 0 10px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-sessions > div {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-sessions .management-session-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--edge);
  border-radius: 0;
  background: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-session-row h4 {
  font-size: var(--type-section);
  margin: 0 0 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-session-row p {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-session-row .management-session-status {
  margin-top: 5px;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-session-row > .game-button {
  min-width: 66px;
  min-height: 44px;
  padding: 9px 12px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-coaches {
  margin-top: 22px;
  max-width: 780px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-row {
  min-width: 0;
  gap: 10px;
  padding: 12px;
  border-width: 1px;
  border-radius: 2px;
  min-height: 66px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-row .pixel-portrait {
  width: 36px;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-row .management-staff-copy {
  gap: 3px;
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-row .management-staff-copy strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-row .management-staff-copy small {
  font-size: var(--type-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-row .management-row-action {
  display: block;
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-office .staff-current {
  padding-block: 12px;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-office .staff-current h3 {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-office .staff-current > strong {
  white-space: normal;
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-office .staff-hiring-note {
  margin: 12px 0;
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p > strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p > small {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p > strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-offer p > small {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .staff-operations-note {
  border-top: 1px solid var(--edge);
  padding-top: 12px;
  margin: 12px 0 0;
  color: var(--dim);
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-width: 1px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-art {
  width: 78px;
  height: 72px;
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-card-copy {
  min-width: 0;
  padding: 0;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-card-copy strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-card-copy span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-card-copy small {
  font-size: var(--type-body);
  display: block;
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-row-chevron {
  font-size: var(--type-display);
  color: var(--gold);
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-detail {
  max-width: 820px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-detail .breadcrumbs {
  margin: 0 0 14px;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary {
  display: flex;
  align-items: center;
  gap: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary .facility-art {
  width: 140px;
  height: 120px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary h3 {
  font-size: var(--type-number);
  margin: 0 0 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary p {
  font-size: var(--type-body);
  color: var(--dim);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-upgrade {
  margin: 18px 0;
  padding: 12px;
  border: 1px solid var(--edge);
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-upgrade h4 {
  font-size: var(--type-section);
  margin: 0 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-upgrade .management-actions > .game-button {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-upgrade > .management-status {
  margin-bottom: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row p {
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 4px 0 0;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-actions {
  margin: 0 0 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-list {
  display: grid;
  gap: 0;
  max-width: 850px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect {
  border-block: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect + .academy-prospect {
  border-top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect > summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 15px 0;
  min-height: 92px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect > summary {
  -webkit-tap-highlight-color: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect > summary::-webkit-details-marker {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect .pixel-portrait {
  width: 40px;
  height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-copy strong {
  font-size: var(--type-name);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-copy > span {
  font-size: var(--type-body);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-copy small {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-expand {
  color: var(--gold);
  font-size: var(--type-number);
  line-height: 1;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect[open] .academy-expand {
  transform: rotate(45deg);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-body {
  padding: 0 0 15px 52px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-body > p {
  font-size: var(--type-body);
  line-height: 1.55;
  margin: 0 0 8px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-body .management-actions {
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-free-places {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  padding: 14px 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-promotion-rule {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--cream);
  margin: 14px 0;
  max-width: 70ch;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club {
    padding: 16px 14px 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training > .scene-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .scene-header {
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training > .scene-header h2,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .scene-header h2 {
    font-size: var(--type-number);
    line-height: 1.2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training > .scene-header p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .scene-header p {
    font-size: var(--type-body);
    line-height: 1.5;
    margin-top: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training > .scene-header .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .scene-header .game-button {
    font-size: var(--type-body);
    min-height: 44px;
    max-width: 116px;
    padding: 8px 10px;
    white-space: normal;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .scene-header h2 {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training > .scene-header .game-button,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-academy > .scene-header .game-button {
    max-width: 96px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-training-plan {
    gap: 15px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-staff-list {
    grid-template-columns: minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row {
    grid-template-columns: 66px minmax(0, 1fr) 12px;
    gap: 10px;
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-art {
    width: 66px;
    height: 64px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-card-copy strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-card-copy small {
    display: block;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary {
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary .facility-art {
    width: 88px;
    height: 88px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-summary h3 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .section-tabs {
    gap: 5px;
    margin-bottom: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .section-tabs .game-button {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 8px 5px;
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .club-office-name {
    font-size: var(--type-title);
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .club-office-name > svg {
    width: 32px;
    flex: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club .club-funds strong {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club:has(.management-facility-detail) > .scene-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-club:has(.management-facility-detail) > .section-tabs {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-actions > .game-button {
    font-size: var(--type-body);
    min-height: 44px;
    padding: 9px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-actions > [data-action='scout'] {
    flex: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect > summary {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-copy strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-body {
    padding-left: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-body .management-actions > .game-button {
    flex: 1;
    font-size: var(--type-body);
    min-height: 44px;
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-training {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-intensity .game-button {
    font-size: var(--type-body);
    padding-inline: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail > summary {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-detail > summary::after {
    margin-left: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row {
    grid-template-columns: minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row > .game-button {
    justify-self: start;
  }
}
/* Roster counts belong to the list switch; the fixture lock stays beside its title. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  color: var(--mint);
  font-size: var(--type-caption);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy > svg {
  display: block;
  flex: none;
  width: 40px;
  height: 8px;
  shape-rendering: crispEdges;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy-track {
  fill: var(--panel2);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy-fill {
  fill: currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy > span {
  color: var(--dim);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy.is-ready {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-energy.is-tired {
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-player-meta {
  align-items: center;
  gap: 4px 7px;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-player-meta .role-symbol {
  width: 18px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-player-meta .part-time-symbol {
  width: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-overseas {
  display: inline-flex;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-overseas .allocation-plane {
  width: 16px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-medical {
  color: var(--red);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-report {
  font-family: inherit;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-report:hover {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-report > svg {
  display: block;
  shape-rendering: crispEdges;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-heading {
  margin-bottom: 8px;
  min-height: 28px;
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-heading h2 {
  font-size: var(--type-title);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-heading .squad-lock {
  font-size: var(--type-body);
  line-height: 1.4;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs {
  gap: 0;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 1 170px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--dim);
  font-size: var(--type-section);
  font-weight: 600;
  line-height: 1.4;
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs .squad-tab-count {
  font-family: ui-monospace, Consolas, monospace;
  font-size: var(--type-body);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs [aria-pressed='true'] {
  background: var(--navy);
  color: var(--gold);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs button:hover {
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs button:focus-visible {
  outline-offset: -3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-checks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  padding: 0 0 12px;
  margin: 0 0 8px;
  border-bottom: 1px solid var(--edge);
  max-width: 510px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-checks > li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--type-body);
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-value {
  display: flex;
  align-items: center;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-value > b {
  font-size: var(--type-body);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-value > span {
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-value .role-symbol,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-value .allocation-plane {
  display: block;
  width: 18px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-mark {
  display: block;
  width: 12px;
  height: 12px;
  fill: var(--mint);
  shape-rendering: crispEdges;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-checks .is-missing .squad-check-mark {
  fill: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-fitness {
  margin: 0 0 12px;
  color: var(--red);
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-selection-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-selection-tools .squad-instruction {
  flex: 1 1 240px;
  font-size: var(--type-body);
  line-height: 1.5;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-list-tools {
  margin: 0;
  gap: 8px;
  margin-left: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-list-tools button {
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--cream);
  font-size: var(--type-body);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-list-tools button:hover {
  color: var(--gold);
  text-decoration-color: currentColor;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-heading {
    margin-bottom: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-roster-tabs button {
    flex: 1;
    padding-inline: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-selection-tools {
    gap: 0;
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-checks {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-checks > li {
    font-size: var(--type-caption);
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-check-value {
    gap: 3px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/phone-scoreboard.css */

/* This header belongs only to the phone match. The pause control owns its full hit area. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-scoreboard.phone-scoreboard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  grid-template-rows: 47px 20px;
  align-items: center;
  column-gap: 8px;
  row-gap: 3px;
  min-height: 0;
  height: 81px;
  padding: 5px 8px;
  flex-basis: auto;
  border-bottom: 1px solid var(--edge);
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-main {
  display: grid;
  grid-template-rows: 30px 14px;
  row-gap: 3px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--type-body);
  font-weight: 700;
  line-height: 18px;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-value {
  display: block;
  flex: 0 0 auto;
  font:
    800 var(--type-score)/30px Manrope,
    Arial,
    sans-serif;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-value > span {
  color: var(--gold);
  font-size: var(--type-number);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard #overs {
  flex: 0 0 auto;
  font-size: var(--type-body);
  line-height: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard #overs small {
  font-size: var(--type-caption);
  font-weight: 500;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-progress {
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-progress > span {
  display: grid;
  grid-template-columns: repeat(var(--innings-overs, 20), minmax(0, 1fr));
  gap: 2px;
  height: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment {
  position: relative;
  display: block;
  min-width: 0;
  height: 8px;
  background: var(--night);
  box-shadow: inset 0 0 0 1px var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment:before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment[data-balls='1']:before {
  width: calc(100% / 6);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment[data-balls='2']:before {
  width: calc(100% / 3);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment[data-balls='3']:before {
  width: 50%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment[data-balls='4']:before {
  width: calc(200% / 3);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment[data-balls='5']:before {
  width: calc(500% / 6);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment[data-balls='6']:before {
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment.in-powerplay:before {
  background: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-over-segment.is-current {
  outline: 1px solid var(--cream);
  outline-offset: 1px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-scoreboard .phone-match-pause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 2px;
  box-shadow: 0 2px 0 var(--brand-shadow);
  color: var(--cream);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-scoreboard .phone-match-pause:hover {
  background: var(--panel2);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-pause-icon {
  display: block;
  width: 15px;
  height: 18px;
  border-left: 5px solid currentColor;
  border-right: 5px solid currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-context {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 20px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-powerplay {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: var(--type-caption);
  font-weight: 700;
  line-height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-score-equation {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard #equation {
  min-width: 0;
  font-size: var(--type-body);
  font-weight: 600;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard .phone-target-runs {
  font-size: var(--type-section);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-scoreboard #chase-detail {
  flex: 0 0 auto;
  font-size: var(--type-body);
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}


/* Source: https://deepmdesai.com/games/cricket-manager/match-hud.css */

/* Active play occupies the game surface; career navigation returns on leaving. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .milestone-celebration {
  position: absolute;
  z-index: 5;
  top: 50%;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: min(340px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  margin: auto;
  padding: 10px 14px;
  border: 2px solid var(--gold);
  background: var(--night);
  box-shadow: 3px 3px 0 #09112a;
  pointer-events: none;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .milestone-celebration > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .milestone-celebration strong {
  grid-row: 1/3;
  color: var(--gold);
  font-size: var(--type-score);
  line-height: 1.1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .milestone-celebration span {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .milestone-celebration b {
  font-size: var(--type-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] #n-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] #n-nav {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] #n-app {
  overflow: hidden;
  scroll-padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
  grid-template-rows: 81px minmax(0, 1fr) auto auto auto auto;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary {
  min-height: 0;
  padding: 5px 10px;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary > p {
  min-height: 16px;
  max-height: 32px;
  line-height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player {
  min-height: 52px;
  padding: 6px 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler {
  min-height: 44px;
  padding: 5px 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
  bottom: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-quick-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-quick-plans .game-button {
  min-width: 0;
  min-height: 44px;
  padding: 5px 3px;
  border: 1px solid #71829e;
  border-radius: 2px;
  background: var(--ui-surface, #182139);
  color: #f8f3df;
  box-shadow: none;
  font-size: var(--type-body);
  line-height: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-quick-plans .game-button[aria-pressed='true'] {
  background: var(--brand-cobalt);
  border-color: var(--gold);
  box-shadow: inset 0 -3px 0 var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-quick-plans .game-button:hover:not(:disabled) {
  background: #354974;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .venue-board {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: auto;
  right: 65px;
  max-width: 44%;
  text-align: right;
  pointer-events: none;
  font-size: var(--type-caption);
  line-height: 15px;
  color: #f8f3df;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .venue-board > b {
  display: inline-block;
  max-width: 100%;
  padding: 3px 7px;
  background: #1c2f28;
  border: 2px solid #9aab7c;
  box-shadow: 2px 2px 0 #15251d;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-ground-tools {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-ground-tools .game-button {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  pointer-events: auto;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 3px;
  border: 1px solid #99a9b8;
  border-radius: 2px;
  background: var(--ui-surface, #182139);
  color: #f8f3df;
  box-shadow: 0 2px 0 #101526;
  font-size: var(--type-caption);
  line-height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-ground-tools .game-button:active:not(:disabled) {
  background: #354974;
  box-shadow: none;
  transform: translateY(1px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-ground-tools [data-action='match-tactics'] {
  bottom: 7px;
  left: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-ground-tools [data-action='scorecard'] {
  top: 7px;
  right: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-ground-tools [data-action='analysis'] {
  bottom: 7px;
  right: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-shell[data-phone-match='true'] .notice {
  bottom: 65px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog.match-menu {
  border-radius: 2px;
  max-width: 350px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-menu .phone-sheet-body {
  gap: 8px;
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-menu .phone-sheet-body > .game-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 12px;
  font-size: var(--type-section);
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-menu .phone-sheet-body > .game-button svg {
  width: 22px;
  height: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-menu .menu-back {
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-menu .menu-setting-state {
  color: var(--gold);
  font-size: var(--type-body);
}
@media (max-width: 700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}
@media (max-width: 700px) and (max-height: 460px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-phone-match='true'] #n-app {
    overflow-y: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
    min-height: 460px;
    max-height: none;
    overflow: visible;
  }
}
/* Wides/no-balls occupy physical chips without consuming a legal-ball slot. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .over-feed-row > .over-deliveries {
  flex-wrap: wrap;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .delivery-chip[data-illegal='true'] {
  min-width: 30px;
  width: auto;
  padding-inline: 3px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-incident {
  display: inline-block;
  font-size: 0.85em;
  margin-right: 6px;
  color: var(--gold);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-of-match {
  padding: 16px;
  margin: 14px 0;
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 5px;
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-of-match > strong {
  display: block;
  margin: 6px 0;
  font-size: var(--type-title);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-of-match > p {
  font-size: var(--type-body);
  line-height: 1.5;
}


/* Source: https://deepmdesai.com/games/cricket-manager/impact-player-ui.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--edge);
  border-radius: 2px;
  background: var(--panel);
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-entry > span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-entry strong {
  font-size: var(--type-body);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-entry small {
  font-size: var(--type-caption);
  line-height: 1.4;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-entry > span:last-child {
  font-size: var(--type-caption);
  color: var(--gold);
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .dugout > .impact-player-entry {
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen > .impact-player-entry {
  max-width: 500px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame dialog.impact-player-dialog {
  width: min(640px, calc(var(--dialog-width, 100vw) - 20px));
  max-height: calc(var(--dialog-height, 100svh) - 24px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .phone-sheet-header {
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .phone-sheet-header h2 {
  font-size: var(--type-name);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .phone-sheet-header > button {
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-body {
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-body > p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-options {
  display: grid;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person > .pixel-portrait {
  width: 38px;
  height: 46px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person strong {
  font-size: var(--type-body);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person small {
  font-size: var(--type-caption);
  line-height: 1.3;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person small {
  display: flex;
  align-items: center;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-person .country-flag {
  width: 18px;
  height: 12px;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail > span {
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .impact-player-option {
  grid-template-columns: minmax(0, 1fr) 94px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 14px;
  gap: 8px;
  align-items: center;
  min-height: 72px;
  padding: 8px 7px;
  border: 1px solid transparent;
  border-bottom-color: var(--edge);
  border-radius: 2px;
  background: transparent;
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option[aria-pressed='true'] {
  background: var(--panel);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option[aria-disabled='true'] {
  opacity: 0.65;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option > b {
  font-size: var(--type-name);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail {
  font-size: var(--type-caption);
  line-height: 1.4;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail > span {
  display: block;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-selected {
  padding: 8px;
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-swap {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-swap > div {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-swap > div > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-omission-note {
  padding: 10px;
  border: 1px solid var(--gold);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-omission-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-used {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-used > p {
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-error {
  color: var(--red) !important;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-error:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-window-note {
  color: var(--gold) !important;
}
@media (min-width: 600px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-swap {
    grid-template-columns: 1fr 1fr;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option {
    grid-template-columns: minmax(0, 1fr) 140px 18px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-context {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--panel);
  border-left: 3px solid var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-context h3 {
  margin: 0;
  font-size: var(--type-section);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-context p {
  margin: 0;
  color: var(--dim);
  font-size: var(--type-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .impact-player-option {
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: start;
  gap: 8px 10px;
  padding: 12px 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option > .impact-person {
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option > .impact-player-detail {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option > b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .impact-player-detail {
  font-size: var(--type-body);
  line-height: 1.45;
  font-weight: 400;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail > span {
  display: block;
  margin-top: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail > .impact-ability {
  color: var(--cream);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-ability small {
  display: inline;
  color: var(--dim);
  font-size: inherit;
  font-weight: 400;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail > .impact-today {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-detail > .impact-restriction {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .impact-comparison {
  color: var(--gold);
  font-size: var(--type-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-comparison:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-selected {
  display: grid;
  gap: 8px;
  padding: 12px;
}
@media (min-width: 560px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-dialog .impact-player-option {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 1.1fr) 18px;
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option > .impact-player-detail {
    grid-column: 2;
    grid-row: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-player-option > b {
    grid-column: 3;
    grid-row: 1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-selected {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 1.1fr);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-skill-bar {
  display: block;
  width: 96px;
  height: 5px;
  margin-top: 6px;
  color: var(--gold);
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-skill-bar path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-skill-bar .impact-skill-track {
  stroke: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .result-screen:has(> .impact-player-entry) {
  justify-content: flex-start;
}


/* Source: https://deepmdesai.com/games/cricket-manager/match-rewards.css */

/* Settled match earnings and progression. Club home lives in club-home.css. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 840px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 24px 24px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-screen > .match-rewards {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-continue {
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  padding: 14px 0 max(14px, env(safe-area-inset-bottom, 0px));
  background: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-rewards-continue .game-button {
  width: 100%;
  min-height: 48px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
  font-size: var(--type-section);
  box-shadow: 0 3px 0 var(--brand-shadow);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-rewards-continue .game-button:hover {
  background: #ffe89a;
  border-color: #ffe89a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards {
  width: 100%;
  min-width: 0;
  text-align: left;
  margin: 0;
  padding: 20px;
  background: var(--navy);
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-heading {
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-rewards h2 {
  font-size: var(--type-title);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--cream);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-heading p {
  margin-top: 5px !important;
  font-size: var(--type-body) !important;
  line-height: 1.4;
  color: var(--dim) !important;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-totals {
  display: flex;
  gap: 18px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-totals > div {
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-totals > div + div {
  border-left: 1px solid var(--edge);
  padding-left: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-totals dt {
  font-size: var(--type-body);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-totals dd {
  margin: 0;
  font-weight: 800;
  font-size: var(--type-score);
  line-height: 1.3;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-credit-total dd {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-xp-total dd {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards .reward-costs {
  font-size: var(--type-caption) !important;
  line-height: 1.5;
  color: var(--dim) !important;
  margin: 7px 0 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-ups {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards h3 {
  font-size: var(--type-section);
  line-height: 1.4;
  color: var(--cream);
  margin: 0 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-ups ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-ups li {
  display: block;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  min-height: 62px;
  min-width: 0;
  width: 100%;
  text-align: left;
  border: 1px solid var(--edge);
  background: transparent;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-player:hover {
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-ups .pixel-portrait {
  flex: 0 0 auto;
  width: 40px;
  height: 48px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-player-name {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-ups li strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-player-name > span {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-player-xp {
  font-size: var(--type-caption);
  color: var(--dim);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-faces {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-faces .pixel-portrait {
  width: 28px;
  height: 34px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards .reward-level-summary p {
  font-size: var(--type-body) !important;
  line-height: 1.4;
  color: var(--mint) !important;
  margin: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .reward-view-match {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  background: transparent;
  border-color: var(--edge);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus h3 {
  margin-bottom: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards .reward-preview-note {
  font-size: var(--type-caption) !important;
  line-height: 1.5;
  color: var(--dim) !important;
  margin: 0 0 12px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-bonus-choice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--edge);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice > span {
  display: block;
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice small {
  display: block;
  font-size: var(--type-caption);
  font-weight: 500;
  line-height: 1.4;
  margin-top: 3px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice svg {
  flex: 0 0 auto;
  color: var(--gold);
  width: 14px;
  height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-bonus-choice:hover:not(:disabled) {
  background: var(--panel2);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards .reward-bonus-applied {
  margin: 15px 0 0 !important;
  padding-top: 13px;
  border-top: 1px solid var(--edge);
  font-size: var(--type-body) !important;
  line-height: 1.5;
  color: var(--mint) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-bonus-applied strong {
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-compact {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--edge);
  padding: 20px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards {
    padding: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-screen {
    padding: 16px 12px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-rewards-compact {
    padding: 18px 0 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-rewards h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-totals dd {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reward-level-ups ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choices {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-bonus-choice {
    min-height: 58px;
    padding: 9px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice > span {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice small {
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice svg {
    width: 12px;
    height: 12px;
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-hub-fixture {
    padding: 16px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture-heading > p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture-team {
    padding-inline: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture-team h3 {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture-crest svg {
    width: 58px;
    height: 67px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture-crest {
    min-height: 67px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice > span {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-bonus-choice strong {
    font-size: var(--type-body);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/pitch-inspection.css */

/* The surface is read at the toss; the artwork describes the match's real pitch. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--edge);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > :is(summary, header) {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  min-height: 48px;
  padding: 10px 0;
  font-size: var(--type-body);
  line-height: 1.4;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > summary::-webkit-details-marker {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > header {
  cursor: default;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > :is(summary, header) > span {
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > :is(summary, header) > strong {
  margin-left: auto;
  color: var(--gold);
  font-size: var(--type-body);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > summary > svg {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--dim);
  shape-rendering: crispEdges;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection[open] > summary > svg {
  transform: rotate(180deg);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection > summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-body {
  padding: 0 0 14px;
  display: grid;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 128px;
  object-fit: cover;
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  background: #5a804c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-body > p {
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--dim);
  margin: 0;
  max-width: 58ch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-body > p > strong {
  font-weight: 600;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-unavailable {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--dim);
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-art {
    max-height: 112px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-inspection-body {
    gap: 9px;
    padding-bottom: 12px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-readings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-readings > div {
  min-width: 0;
  padding: 7px 8px;
  border-left: 2px solid #b8c887;
  background: #102a35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-readings dt {
  font-size: var(--type-caption);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ab4bd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-readings dd {
  margin: 3px 0 0;
  font-size: var(--type-caption);
  font-weight: 800;
  color: #f6e9c7;
  line-height: 1.3;
}


/* Source: https://deepmdesai.com/games/cricket-manager/partnership-chart.css */

/* A shared runs scale and five columns per row keep every wicket label legible. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-chart {
  max-width: 650px;
  margin: 12px auto;
  color: var(--cream, #f4eee0);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-plots {
  display: grid;
  gap: 18px;
  padding: 12px 10px 8px;
  background: #1b3431;
  border: 1px solid #587368;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bars[data-columns='1'] {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bars[data-columns='2'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bars[data-columns='3'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bars[data-columns='4'] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-column {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
  color: #c8ddd0;
  font-size: var(--type-body);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-column > svg {
  display: block;
  width: 42px;
  max-width: 100%;
  height: 180px;
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-column text {
  font:
    800 var(--type-body) Manrope,
    Arial,
    sans-serif;
  fill: #e9f1df;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bar {
  fill: #a6d3b3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-baseline {
  stroke: #719383;
  stroke-width: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-zero {
  stroke: #b9d3c3;
  stroke-width: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-column.is-current .partnership-bar {
  fill: var(--gold, #efcb7b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-column.is-current text {
  fill: var(--gold, #efcb7b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-scorecards {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card {
  padding: 12px;
  border: 1px solid var(--edge, #5b7561);
  background: var(--panel, #213d3d);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card.is-current {
  border-color: var(--gold, #efcb7b);
  box-shadow: inset 3px 0 var(--gold, #efcb7b);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card h4 {
  font-size: var(--type-section);
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: var(--cream, #f4eee0);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-current {
  display: block;
  margin-top: 4px;
  color: var(--gold, #efcb7b);
  font-size: var(--type-caption);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card > header > p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.4;
  white-space: nowrap;
  text-align: right;
  color: #c9d8cd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card > header > p > strong {
  font-size: var(--type-title);
  color: var(--cream, #f4eee0);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card > header > p > span {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-players {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-player > .pixel-portrait {
  width: 30px;
  height: 36px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-player > span {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-player strong {
  display: block;
  font-size: var(--type-body);
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-player small {
  display: block;
  margin-top: 3px;
  font-size: var(--type-caption);
  line-height: 1.4;
  color: #c9d8cd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-break {
  margin: 10px 0 0;
  color: #edc69b;
  font-size: var(--type-caption);
  line-height: 1.4;
}
@container game (max-width:450px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-plots {
    padding-inline: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-bars {
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-players {
    grid-template-columns: 1fr;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card {
    padding: 12px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-player strong {
    font-size: var(--type-body);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .partnership-column > svg {
  width: 42px;
  max-width: 100%;
  height: 180px;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .partnership-player > .pixel-portrait {
  width: 30px;
  height: 36px;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .partnership-card > header > p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.4;
  color: #c9d8cd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #analysis-chart .partnership-break {
  margin: 10px 0 0;
  color: #edc69b;
  font-size: var(--type-caption);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-card > header > p > strong {
  margin-right: 3px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/player-form.css */

/* Named season form and five blocks; green tracks remain energy. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  max-width: 100%;
  color: #ffd678;
  font-size: var(--type-caption);
  font-weight: 650;
  line-height: 16px;
  white-space: nowrap;
  vertical-align: middle;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form > svg {
  display: block;
  width: 42px;
  height: 9px;
  flex: none;
  fill: currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form-copy > b {
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form .player-form-copy {
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form.is-cold {
  color: #91d8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form.is-steady {
  color: #d6e0f2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form.is-unrecorded {
  color: #bfcee8;
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form > span {
  font-size: var(--type-caption);
  font-weight: inherit;
  line-height: 16px;
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-form {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: var(--type-caption);
  line-height: 16px;
  min-width: 0;
  align-self: flex-start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-form > span {
  font-size: var(--type-caption);
  line-height: 13px;
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-form {
  row-gap: 2px;
  column-gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-form > svg {
  width: 35px;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  row-gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy > strong {
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy > .phone-player-figures {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-bowler .phone-player-copy > .player-form {
  grid-column: 1;
  grid-row: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > .player-form {
  display: inline-flex;
  margin-top: 5px;
  font-size: var(--type-caption);
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > .player-form.is-hot {
  color: #ffd678;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > .player-form.is-cold {
  color: #91d8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-choice-copy > .player-form.is-steady {
  color: #d6e0f2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > .player-form {
  display: inline-flex;
  margin-top: 5px;
  line-height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > .player-form.is-hot {
  color: #ffd678;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > .player-form.is-cold {
  color: #91d8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-menu-person > .player-form.is-steady {
  color: #d6e0f2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-choice-person > .player-form {
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player .player-form {
  display: inline-flex;
  font-size: var(--type-caption);
  line-height: 16px;
  color: #ffd678;
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player .player-form.is-cold {
  color: #91d8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player .player-form.is-steady {
  color: #d6e0f2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player .player-form > span {
  font-size: var(--type-caption);
  line-height: 16px;
  color: inherit;
}
/* The dossier presents form in five visible blocks and recent score tiles. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-form-report {
  margin: 0;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-report-heading > h3 {
  margin: 0;
  font-size: var(--type-section);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-disciplines {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 99px 38px;
  gap: 8px;
  align-items: center;
  color: #d7e6ed;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline.is-hot {
  color: #ffe09a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline.is-cold {
  color: #91d8ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline > span {
  font-size: var(--type-caption);
  font-weight: 600;
  color: #bdcde4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline > svg {
  display: block;
  width: 99px;
  height: 21px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline > strong {
  font-size: var(--type-name);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: right;
  letter-spacing: -0.5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline > strong > small {
  font-size: var(--type-caption);
  font-weight: 500;
  margin-left: 2px;
  color: #a9bbd5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-recent-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0 8px;
  color: #a9bbd5;
  font-size: var(--type-caption);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-recent {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-recent > li {
  background: #10203a;
  border-left: 2px solid #526d91;
  padding: 9px 10px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-recent header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--type-caption);
  color: #c5d3e7;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-recent header > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-recent header > small {
  color: #92a8c6;
  font-size: var(--type-caption);
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-match-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 7px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-match-figures > span {
  display: grid;
  grid-template-columns: 28px auto;
  gap: 4px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-match-figures small {
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #92a8c6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-match-figures strong {
  font-size: var(--type-body);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #f1e6c4;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-match-figures em {
  font-style: normal;
  font-size: var(--type-caption);
  font-weight: 500;
  color: #b0c0d9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-season-opener {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px 0 18px;
  color: #9fb4d0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-opener-dots {
  font-size: var(--type-caption);
  letter-spacing: 5px;
  color: #526d91;
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline {
    grid-template-columns: minmax(0, 1fr) 90px 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-discipline > svg {
    width: 90px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/batting-settled.css */

/* Purple/gold settledness belongs to the innings; green remains player energy. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  color: #c8b5f4;
  font-size: var(--type-caption);
  font-weight: 600;
  line-height: 14px;
  white-space: nowrap;
  vertical-align: middle;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled > span {
  font: inherit;
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled b {
  font-weight: 700;
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled progress {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 36px;
  width: 36px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #384264;
  color: #b9a2ef;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled progress::-webkit-progress-bar {
  background: #384264;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled progress::-webkit-progress-value {
  background: #b9a2ef;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled progress::-moz-progress-bar {
  background: #b9a2ef;
  border-radius: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled.is-set {
  color: #ffda63;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled.is-set progress::-webkit-progress-value {
  background: #ffda63;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-settled.is-set progress::-moz-progress-bar {
  background: #ffda63;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-settled {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: var(--type-caption);
  line-height: 12px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-settled > span {
  font: inherit;
  color: inherit;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .phone-player-copy > .player-settled b {
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .player-settled progress {
  width: 26px;
  flex-basis: 26px;
  height: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header .player-settled {
  display: flex;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batter-read .player-settled {
  margin-top: 5px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/review-ui.css */

/* Broadcast replay window: compact facts around original pixel game artwork. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-dialog {
  width: min(660px, calc(100vw - 16px));
  max-height: calc(100dvh - 16px);
  padding: 0;
  overflow: hidden;
  border: 2px solid #7187bd;
  border-radius: 0;
  background: var(--ui-surface, #17244d);
  box-shadow:
    0 0 0 4px #0b1229cc,
    0 20px 80px #0008;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-dialog[open] {
  display: flex;
  flex-direction: column;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 2px solid #435b93;
  background: var(--ui-surface-deep, #111a38);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-heading > div > span {
  display: block;
  color: #b9c7eb;
  font-size: var(--type-caption);
  font-weight: 800;
  letter-spacing: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-heading h2 {
  margin: 2px 0 0;
  color: #fff1cb;
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-heading, 20px);
  font-weight: 800;
  line-height: 1;
  text-transform: none;
  letter-spacing: -0.3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-close {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #6179b4;
  border-radius: 0;
  background: #2d4380;
  color: #f4edce;
  font-size: var(--type-number);
  flex: 0 0 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-body {
  min-height: 0;
  overflow: auto;
  padding: 10px 14px;
  overscroll-behavior: contain;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-card {
  padding: 9px 10px;
  border-left: 3px solid #edc55c;
  background: var(--ui-surface-raised, #263a75);
  margin-bottom: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-name > strong {
  color: #f7efd6;
  font-size: var(--type-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-name > span {
  color: #f5cf6d;
  font-size: var(--type-title);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-name small {
  color: #b9c7eb;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics > div > span {
  font-size: var(--type-caption);
  color: #b9c7eb;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics b {
  color: #ecedcf;
  margin-left: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-meter {
  display: flex;
  height: 6px;
  min-width: 42px;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-meter i {
  display: block;
  flex: 1;
  min-width: 2px;
  background: #4a5d8a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-meter i.filled {
  background: #a5c688;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-meter.form-meter i.filled {
  background: #eac65e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-on-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  color: #b9c7eb;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-on-field strong {
  color: #f6ebca;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-on-field > span {
  color: #d4dcf3;
  padding: 4px 7px;
  border: 1px solid #435b93;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-advisers {
  display: grid;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--ui-surface-raised, #263a75);
  padding: 9px;
  border-left: 3px solid #7187bd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser.opinion-review {
  border-left-color: #add394;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser.opinion-accept {
  border-left-color: #e29d7b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser.opinion-uncertain {
  border-left-color: #e4c066;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-advisor-portrait {
  width: 36px;
  height: 42px;
  flex: 0 0 36px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-main {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-heading > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-heading small {
  display: block;
  font-size: var(--type-caption);
  color: #b9c7eb;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-heading strong {
  display: block;
  color: #f4ecd2;
  font-size: var(--type-caption);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-opinion {
  flex: 0 0 auto;
  color: #edce80;
  font-size: var(--type-caption);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opinion-review .review-opinion {
  color: #b6d99c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .opinion-accept .review-opinion {
  color: #edb29a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-adviser p {
  margin: 4px 0 6px;
  color: #ede9da;
  font-size: var(--type-caption);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-iq {
  display: flex;
  align-items: center;
  gap: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-iq > span {
  color: #b9c7eb;
  font-size: var(--type-caption);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-iq b {
  color: #e9e7cc;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser-iq .review-meter {
  width: 82px;
  height: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence {
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 290px;
  border: 1px solid #6179b4;
  background: #152044;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence svg text {
  fill: #d8def2;
  font:
    var(--type-caption) ui-monospace,
    'Courier New',
    monospace;
  font-weight: 700;
  letter-spacing: 0.6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence svg .replay-camera {
  fill: #f6efdb;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence svg .replay-stage {
  fill: #f4ce62;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence svg .replay-state text {
  fill: #f6edcf;
  font-size: var(--type-caption);
  letter-spacing: 0.3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-pixel-art {
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence svg.review-ground-camera {
  width: 456px;
  height: 169px;
  max-height: none;
  border: 0;
  display: inline;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-stages button {
  min-height: 44px;
  padding: 6px;
  border: 1px solid #6179b4;
  border-radius: 0;
  background: #263a75;
  color: #ece7d8;
  font-size: var(--ui-label, 11px);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-stages button[aria-pressed='true'] {
  border-color: #edc963;
  color: #ffda70;
  box-shadow: inset 0 -3px #edc963;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-replay-controls {
  display: grid;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-transport {
  display: grid;
  grid-template-columns: 44px 1fr 44px minmax(100px, 1.3fr);
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-transport .game-button {
  padding: 5px 6px;
  min-height: 44px;
  border: 1px solid #6179b4;
  border-radius: 0;
  background: #304b91;
  color: #e8e9cf;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-transport .game-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-transport .game-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  background: transparent;
  border: 0;
  flex: 0 0 14px;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-transport .game-button[aria-pressed='true'] {
  border-color: #ebc961;
  color: #f3d777;
  background: #263a75;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-timeline {
  display: grid;
  grid-template-columns: 1fr 50px;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-timeline input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  accent-color: #e5c565;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-timeline output {
  color: #bdcaeb;
  font-size: var(--type-caption);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-keyframe {
  justify-self: end;
  min-height: 44px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid #6179b4;
  border-radius: 0;
  background: transparent;
  color: #d4c48c;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check {
  position: relative;
  min-width: 0;
  padding: 6px 22px 6px 8px;
  background: var(--ui-surface-raised, #263a75);
  border-left: 3px solid #6179b4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check > strong {
  display: block;
  color: #bdcaeb;
  font-size: var(--type-caption);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check > span {
  display: block;
  color: #e6e9cc;
  font-size: var(--type-caption);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check > b {
  position: absolute;
  right: 7px;
  top: 12px;
  font-size: var(--type-body);
  color: #adcc91;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check-pass {
  border-left-color: #a5c687;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check-fail {
  border-left-color: #e38f7e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check-fail > b {
  color: #ed9d88;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check-marginal {
  border-left-color: #e0bd64;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-check-marginal > b {
  color: #edcb6b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks .tracking-check {
  order: -1;
  padding: 7px 6px 7px 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks .tracking-check > b {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks .review-check:not(.tracking-check) {
  padding: 4px 6px;
  border-left: 0;
  background: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks .review-check:not(.tracking-check) > strong {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks .review-check:not(.tracking-check) > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tracking-checks .review-check:not(.tracking-check) > b {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-edge {
  position: relative;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-edge > strong {
  display: block;
  position: absolute;
  left: 12px;
  bottom: 8px;
  color: #f5dda0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict > span {
  display: block;
  color: #bdcaeb;
  font-size: var(--type-caption);
  text-transform: uppercase;
  letter-spacing: 1px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict > strong {
  display: block;
  color: #e8c567;
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--type-display);
  font-weight: 800;
  line-height: 1;
  margin-top: 3px;
  letter-spacing: -0.5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict.is-out > strong {
  color: #f2a08b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict.is-safe > strong {
  color: #b3d89a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-verdict p {
  margin: 3px 0 0;
  color: #c8d2ec;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 0.85fr);
  align-items: center;
  gap: 10px;
  padding: 10px 14px max(10px, env(safe-area-inset-bottom, 0px));
  border-top: 2px solid #435b93;
  background: var(--ui-surface-deep, #111a38);
  flex: 0 0 auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-actions:not(:has(.review-verdict)) {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-buttons {
  display: flex;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-buttons > .game-button {
  flex: 1;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid #7187bd;
  border-radius: 0;
  background: #304b91;
  color: #e4ead3;
  font-size: var(--type-body);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-buttons > .primary {
  background: #edc963;
  color: #142044;
  border-color: #edc963;
  box-shadow: inset 0 -3px #bd9846;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-error {
  margin: 8px 0 0;
  color: #f3aaa0;
  font-size: var(--type-caption);
}
@media (max-width: 420px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-heading {
    padding: 8px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-body {
    padding: 8px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-card {
    padding: 7px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-name > strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics > div {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics .review-meter {
    height: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-transport {
    grid-template-columns: 44px 1fr 44px minmax(100px, 1.3fr);
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser {
    padding: 7px;
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-adviser p {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-advisor-portrait {
    width: 30px;
    height: 35px;
    flex-basis: 30px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-actions {
    padding: 8px 10px max(8px, env(safe-area-inset-bottom, 0px));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict > strong {
    font-size: var(--type-number);
  }
}
@media (max-height: 460px) and (min-width: 620px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-dialog {
    width: min(820px, calc(100vw - 16px));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-heading {
    padding: 5px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-heading > div > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-heading h2 {
    font-size: var(--ui-heading, 20px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-close {
    min-height: 44px;
    height: 44px;
    width: 44px;
    flex-basis: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-body {
    padding: 7px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 8px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence > [data-review-replay] {
    grid-row: 1 / 3;
    align-self: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence .review-checks {
    grid-column: 2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-evidence .review-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-stages button {
    min-height: 44px;
    padding: 6px;
    border: 1px solid #6179b4;
    border-radius: 0;
    background: #263a75;
    color: #ece7d8;
    font-size: var(--ui-label, 11px);
    font-weight: 800;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-stages button[aria-pressed='true'] {
    border-color: #edc963;
    color: #ffda70;
    box-shadow: inset 0 -3px #edc963;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-replay-controls {
    grid-column: 2;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-card {
    padding: 5px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-batter-metrics {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-advisers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-actions {
    padding: 6px 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-verdict > strong {
    font-size: var(--ui-heading, 20px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-buttons > .game-button {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .review-dialog * {
    scroll-behavior: auto;
  }
}
/* Keep a metric's label, value and bar together at all sheet widths. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-batter-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-batter-metrics > div {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-batter-metrics .review-meter {
  flex: 0 0 48px;
  width: 48px;
  height: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-adviser-heading {
  flex-wrap: wrap;
  gap: 6px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .review-opinion {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}


/* Source: https://deepmdesai.com/games/cricket-manager/toss-visuals.css */

/* One compact pre-match board; the toss does not mount a stadium renderer. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'matchup matchup' 'coin pitch' 'conditions pitch';
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  align-content: center;
  max-width: 860px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: auto;
  padding: 18px 22px;
  background: var(--ui-surface, #111e38);
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-fixture.toss-matchup {
  grid-area: matchup;
  position: static;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  align-items: center;
  gap: 5px 10px;
  padding: 9px 12px;
  border: 1px solid #52668c;
  border-top: 3px solid #dfbb6c;
  background: var(--ui-surface, #172b45);
  box-shadow: 0 3px 0 #091324;
  text-shadow: none;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-away {
  flex-direction: row-reverse;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 44px;
  filter: drop-shadow(0 2px 0 #06111a80);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-mark svg {
  display: block;
  width: 38px;
  height: 44px;
  max-width: 38px;
  max-height: 44px;
  object-fit: contain;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team strong {
  font-size: var(--type-section);
  line-height: 1.1;
  overflow-wrap: anywhere;
  color: #f5eed8;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-initial {
  display: grid;
  place-items: center;
  width: 32px;
  height: 36px;
  border: 2px solid #dfbb6c;
  background: var(--ui-raised, #223c58);
  color: #f5d681;
  font-size: var(--type-title);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-versus {
  font-size: var(--type-caption);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #dfbb6c;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-matchup-venue {
  grid-column: 1/-1;
  margin: 0;
  padding: 0;
  color: #a9bdca;
  font-size: var(--type-caption);
  text-align: center;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-board {
  grid-area: coin;
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #52668c;
  background: var(--ui-surface, #172b45);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-call-content {
  display: grid;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-content h2 {
  font-size: var(--type-name);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: #f5eed8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-content .toss-result {
  font-size: var(--type-caption);
  line-height: 1.2;
  margin: 0;
  color: #a9bdca;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0;
  position: static;
  background: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-actions:has([data-action='toss-result']) {
  grid-template-columns: 1fr;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-actions .game-button {
  min-height: 42px;
  padding: 8px 7px;
  font-size: var(--type-caption);
  line-height: 1;
  border: 1px solid #d9bb77;
  background: #e6c675;
  color: #152538;
  box-shadow: 0 3px 0 #886b3d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-actions .game-button:hover:not(:disabled) {
  background: #f4d996;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-condition-tiles {
  grid-area: conditions;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 3px;
  background: var(--ui-raised, #1b3346);
  border: 1px solid #416176;
  min-width: 0;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile :is(.toss-condition-art, .conditions-weather-art) {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0;
  shape-rendering: crispEdges;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile dt {
  font-size: var(--type-caption);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a9bdca;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile dd {
  margin: 0;
  font-size: var(--type-body);
  font-weight: 800;
  line-height: 1.1;
  color: #f5eed8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile small {
  font-size: var(--type-caption);
  line-height: 1.15;
  color: #a4c6bf;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen > .pitch-inspection {
  grid-area: pitch;
  align-self: center;
  border: 1px solid #52668c;
  background: var(--ui-surface, #152b3b);
  padding: 0 11px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection > :is(summary, header) {
  min-height: 31px;
  padding: 7px 0;
  font-size: var(--type-caption);
  pointer-events: none;
  cursor: default;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection > :is(summary, header) > strong {
  font-size: var(--type-caption);
  color: #e6c675;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection > :is(summary, header) > svg {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection-body {
  gap: 7px;
  padding-bottom: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection-art {
  max-height: 142px;
  object-fit: cover;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-readings {
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-readings > div {
  padding: 5px;
  border-left-width: 1px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-readings dt {
  font-size: var(--type-caption);
  letter-spacing: 0.03em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-readings dd {
  font-size: var(--type-caption);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings > summary {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #a9bdca;
  cursor: pointer;
  list-style: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings > summary::-webkit-details-marker {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings > summary svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings-fields {
  position: absolute;
  right: 0;
  top: 27px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  width: 260px;
  padding: 14px;
  background: var(--ui-surface, #102339);
  border: 1px solid #8ba3bc;
  box-shadow: 0 5px 0 #091324;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings-fields label {
  display: grid;
  gap: 5px;
  font-size: var(--type-caption);
  color: #a9bdca;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-settings-fields select {
  width: 100%;
  font-size: var(--type-caption);
  min-height: 34px;
}
/* The face lands from the domain's result; the finite flip does not draw again. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin.toss-coin-visual {
  position: relative;
  display: block;
  isolation: isolate;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #17263d;
  perspective: 500px;
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-core {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transform: rotateX(0deg);
  will-change: transform;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-visual[data-face='tails'] .toss-coin-core {
  transform: rotateX(180deg);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-visual .toss-coin-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 3px solid #bd8a38;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, #fff0ad 0, #ffe184 32%, #dfad50 72%, #bd8a38 100%);
  box-shadow:
    inset 0 0 0 2px #fff4b9,
    inset 0 0 0 6px #dc9b36,
    0 3px 0 #765124;
  transform: translateZ(1px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-visual .toss-coin-tails {
  transform: rotateX(180deg) translateZ(1px);
  background: radial-gradient(circle at 32% 25%, #ffe3a1 0, #edc575 40%, #bd8a38 100%);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-letter {
  font-size: var(--type-display);
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 1px 0 #ffefb7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-face small {
  font-size: var(--type-caption);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 4px;
  color: #594024;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-rim {
  position: absolute;
  inset: 9px;
  border: 1px dashed #aa722c;
  border-radius: 50%;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-shadow {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -6px;
  height: 7px;
  border-radius: 50%;
  background: #0007;
  filter: blur(3px);
  transform: scaleX(0.85);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin.is-flipping .toss-coin-shadow {
  animation: toss-shadow-pulse 950ms ease-in-out both;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-announcement {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@keyframes toss-shadow-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scaleX(0.85);
  }
  40% {
    opacity: 0.25;
    transform: scaleX(0.45);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #toss-decision-dialog {
  width: min(320px, calc(100% - 32px));
  max-width: 320px;
  max-height: calc(100% - 24px);
  padding: 20px;
  overflow: auto;
  border: 2px solid #d6bb7b;
  background: var(--ui-surface, #13283b);
  box-shadow: 0 8px 0 #081524;
  color: #f5eed8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 276px;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 50px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-badge svg {
  display: block;
  width: 44px;
  height: 50px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-face {
  font-size: var(--type-caption);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d6bb7b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-decision-card h2 {
  font-size: var(--type-number);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-decision-choices .game-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  padding: 12px 8px;
  background: var(--ui-raised, #244859);
  border: 1px solid #799d9f;
  color: #f5eed8;
  font-size: var(--type-body);
  box-shadow: 0 3px 0 #081524;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-decision-choices .game-button:hover {
  background: #315969;
  border-color: #e6c675;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 9px 6px;
  font-size: var(--type-body);
  line-height: 1.2;
  color: #d9e9d1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-order svg {
  flex: none;
  width: 32px;
  height: 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-decision-continue {
  width: 100%;
  min-height: 44px;
  background: #e6c675;
  color: #142537;
  border-color: #e6c675;
  box-shadow: 0 3px 0 #886b3d;
  font-size: var(--type-body);
}

@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen {
    grid-template-columns: 1fr;
    grid-template-areas: 'matchup' 'coin' 'conditions' 'pitch';
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 10px;
    padding: 12px 14px;
    height: 100%;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-fixture.toss-matchup {
    gap: 3px 7px;
    padding: 7px 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team {
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-mark {
    width: 30px;
    height: 35px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-mark svg {
    width: 30px;
    height: 35px;
    max-width: 30px;
    max-height: 35px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team strong {
    font-size: var(--type-caption);
    line-height: 1.1;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-matchup-venue {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-board {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 13px;
    padding: 10px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-content h2 {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-actions .game-button {
    min-height: 38px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin.toss-coin-visual {
    width: 52px;
    height: 52px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-letter {
    font-size: var(--type-number);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-face small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-rim {
    inset: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile {
    gap: 3px;
    padding: 6px 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile :is(.toss-condition-art, .conditions-weather-art) {
    width: 27px;
    height: 27px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile dd {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection {
    padding: 0 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection-art {
    max-height: 86px;
    object-fit: cover;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection-body {
    gap: 6px;
    padding-bottom: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-readings > div {
    padding: 4px 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-readings dd {
    font-size: var(--type-caption);
  }
}
@container game (min-width:701px) and (max-height:520px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen {
    padding: 9px 14px;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr 1fr;
    align-content: stretch;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-fixture.toss-matchup {
    padding: 4px 10px;
    gap: 1px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-mark {
    height: 28px;
    width: 26px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team-mark svg {
    height: 28px;
    width: 26px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-team strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-matchup .toss-matchup-venue {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-board {
    padding: 7px 12px;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin.toss-coin-visual {
    height: 46px;
    width: 46px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-letter {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-face small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-content h2 {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-call-content .toss-result {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-actions .game-button {
    min-height: 34px;
    padding: 6px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile {
    padding: 5px 3px;
    gap: 2px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile :is(.toss-condition-art, .conditions-weather-art) {
    height: 22px;
    width: 22px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile dt {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile dd {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-condition-tile small {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection-art {
    max-height: 99px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-screen .pitch-inspection > :is(summary, header) {
    min-height: 24px;
    padding: 4px 0;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #toss-decision-dialog {
    width: 280px;
    padding: 14px;
    max-height: calc(100% - 16px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-card {
    min-height: 232px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-badge {
    width: 36px;
    height: 38px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-decision-badge svg {
    height: 38px;
    width: 34px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-decision-card h2 {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-decision-choices .game-button {
    min-height: 76px;
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin-core {
    will-change: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .toss-coin.is-flipping .toss-coin-shadow {
    animation: none;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/conditions-panel.css */

/* Kept inside the stadium so layout changes never cover the score or play bar. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  width: 178px;
  padding: 10px 11px;
  color: #f8eed8;
  background: rgba(13, 28, 41, 0.94);
  border: 1px solid #79939c;
  border-left: 3px solid #e4ca82;
  box-shadow: 3px 3px 0 #08182166;
  pointer-events: none;
  font-size: var(--type-caption);
  line-height: 1.25;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather-art {
  display: block;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > span {
  font-weight: 700;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > strong {
  margin-left: auto;
  color: #f4d475;
  font-size: var(--type-number);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #78949b44;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface-swatch {
  width: 6px;
  height: 12px;
  background: var(--surface-colour);
  box-shadow: 2px 0 0 #fbefbb44;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > strong {
  font-weight: 800;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > span:last-child {
  margin-left: auto;
  font-size: var(--type-caption);
  color: #c4d5d5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
  margin: 9px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dt {
  margin: 0;
  color: #9fb7bd;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: var(--type-caption);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dd {
  margin: 2px 0 0;
  color: #f5eedf;
  font-size: var(--type-caption);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-outfield {
  grid-column: 1/-1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-outfield dd {
  margin: 0;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel {
    top: 8px;
    left: 8px;
    width: 148px;
    padding: 7px 8px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather {
    gap: 5px;
    min-height: 23px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather-art {
    width: 22px;
    height: 22px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > strong {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface {
    margin-top: 5px;
    padding-top: 5px;
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > span:last-child {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl {
    gap: 4px 7px;
    margin-top: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dt {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dd {
    font-size: var(--type-caption);
  }
}
@container game (max-height:460px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel {
    top: 8px;
    left: 8px;
    padding: 6px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-top: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-outfield {
    display: block;
    grid-column: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface {
    margin-top: 5px;
    padding-top: 5px;
  }
}
/* A short landscape field needs two compact rows, with every reading visible. */
@media (max-height: 460px) and (min-width: 701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2px 8px;
    width: 246px;
    top: 5px;
    left: 7px;
    padding: 4px 7px;
    box-shadow: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather {
    gap: 4px;
    min-height: 23px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather-art {
    width: 20px;
    height: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > strong {
    font-size: var(--type-title);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface {
    align-self: center;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > span:last-child {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 5px;
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl > div {
    display: flex;
    gap: 4px;
    align-items: baseline;
    min-width: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dt {
    font-size: var(--type-caption);
    letter-spacing: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dd {
    font-size: var(--type-caption);
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-outfield {
    grid-column: auto;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/player-profile.css */

/* The dossier owns a fixed identity header and bounded pages, never a long modal. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) {
  width: min(820px, calc(100cqw - 16px));
  max-width: calc(100cqw - 16px);
  height: min(650px, calc(100cqh - 16px));
  max-height: calc(100cqh - 16px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #637b99;
  border-radius: 0;
  background: #101c35;
  box-shadow:
    0 8px 0 #081222,
    0 18px 60px #050c2688;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier))[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .player-dossier-header {
  position: relative;
  display: block;
  margin: 0;
  padding: 12px 58px 12px 14px;
  background: linear-gradient(110deg, #172e45, #1a3550);
  border-bottom: 2px solid var(--profile-kit-accent, #f4cf62);
  min-height: 100px;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-hero {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-portrait {
  width: 60px;
  background: var(--profile-kit);
  border: 1px solid var(--profile-kit-accent, #f4cf62);
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-portrait .pixel-portrait {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-identity {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 4px;
  color: #b5c8df;
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-eyebrow > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-eyebrow svg {
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-identity h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-heading, 20px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-role {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 5px 0 0;
  font-size: var(--ui-label, 11px);
  line-height: 1.25;
  color: #f1d38b;
  font-weight: 650;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-role > span {
  color: #bbcbe0;
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-facts {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 4px;
  font-size: var(--type-caption);
  line-height: 1.2;
  color: #b9cbe0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-facts .country-flag {
  width: 18px;
  height: 12px;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-overall {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #f1d38b;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-overall > span {
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-overall > strong {
  font-size: var(--type-score);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-close {
  position: absolute;
  top: 10px;
  right: 8px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #7b92b077;
  background: #10223a;
  color: #f5eedc;
  border-radius: 0;
  font-size: var(--type-title);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-close:hover {
  background: #35516d;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .player-dossier {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  max-height: none;
  overflow: hidden;
  background: #101c35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-page-tabs {
  height: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-page-tabs > .page-tabs-panels > .page-panel {
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-overview-grid > .profile-skills {
  grid-row: 1/3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel {
  min-width: 0;
  margin: 0;
  padding: 12px;
  background: #172844;
  border: 1px solid #354b6a;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel > header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-panel h3 {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
  line-height: 1.2;
  color: #f5f1e6;
  letter-spacing: -0.2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel > header > span {
  font-size: var(--type-caption);
  color: #a9bbd5;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-skill-outlook {
  border-top: 1px solid #354b6a;
  margin-top: 12px;
  padding-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 6px;
  color: #f1d38b;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter.is-blue {
  color: #8fd8fa;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter.is-mint {
  color: #a8d9b0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter > span:first-child {
  color: #c4d0e4;
  font-size: var(--ui-label, 11px);
  font-weight: 600;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter > strong {
  font-size: var(--type-section);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter-track {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 2px;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter-track > i {
  display: block;
  position: relative;
  height: 7px;
  overflow: hidden;
  background: #0c1930;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter-track > i:after {
  content: '';
  display: block;
  width: var(--segment-fill);
  height: 100%;
  background: currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-status {
  font-size: var(--type-caption);
  color: #a8dfb6;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-status.is-out {
  color: #ff9cac;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-health-facts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid #354b6a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-health-facts > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-health-facts dt {
  color: #a9bbd5;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-health-facts dd {
  margin: 0;
  color: #e1e8f0;
  font-size: var(--type-caption);
  font-weight: 650;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-injury {
  font-size: var(--type-caption);
  color: #ffafbd;
  margin: 8px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .player-form-report {
  margin: 0;
  padding: 0;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-report-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-report-heading > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-disciplines {
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-discipline {
  grid-template-columns: minmax(0, 1fr) 82px 35px;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-discipline > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-discipline > svg {
  width: 82px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-discipline > strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-form .form-discipline > strong > small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-page {
  display: grid;
  gap: 12px;
  align-content: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-statistics {
  min-width: 0;
  padding: 12px;
  background: #172844;
  border: 1px solid #354b6a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-statistics .profile-section-heading {
  margin-bottom: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-switch > input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  min-height: 0;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-switch > label {
  display: grid;
  place-items: center;
  min-height: 44px;
  font-size: var(--ui-label, 11px);
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid #506582;
  background: #112039;
  color: #b6c8dd;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-period-season:checked + label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-period-career:checked + label {
  background: #e7ce8b;
  color: #17233c;
  border-color: #e7ce8b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-switch > input:focus-visible + label {
  outline: 2px solid #fff0b0;
  outline-offset: -4px;
  z-index: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-panels {
  grid-column: 1/-1;
  min-width: 0;
  margin-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-stat-panels > section {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-period-season:checked ~ .profile-stat-panels > .profile-season-stats,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-period-career:checked ~ .profile-stat-panels > .profile-career-stats {
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-number-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #354b6a;
  border: 1px solid #354b6a;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-number-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  padding: 11px 9px;
  min-width: 0;
  min-height: 65px;
  background: #12213c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-number-grid dt {
  font-size: var(--type-caption);
  line-height: 1.2;
  color: #b6c7df;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-number-grid dd {
  margin: 0;
  font-size: var(--type-title);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1;
  color: #f2e4bd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-history {
  padding: 0 12px;
  background: #14253e;
  border: 1px solid #354b6a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-history > summary {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: var(--ui-label, 11px);
  font-weight: 700;
  color: #d6dfeb;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-history > summary:after {
  content: '+';
  margin-left: auto;
  color: #e8ce8b;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-history[open] > summary:after {
  content: '−';
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-history > .form-recent {
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-empty {
  font-size: var(--ui-label, 11px);
  color: #aebfd5;
  padding: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-learning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #354b6a;
  font-size: var(--ui-label, 11px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-learning > span {
  color: #acbfd8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-learning > strong {
  font-weight: 650;
  color: #e5d7b2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-scout-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-scout-action > .game-button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: var(--type-caption);
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-scout-action > span {
  font-size: var(--type-caption);
  color: #b1c2d8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development {
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-progression {
  margin: 0;
  padding: 0;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-level-heading {
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-level-number {
  font-size: var(--type-number);
  min-width: 36px;
  width: 36px;
  height: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-level-heading h3 {
  font-size: var(--ui-section-heading, 16px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-level-heading p,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .next-gear-unlock,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .progression-lock-note {
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-total-xp {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-xp-meter {
  margin-block: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-xp-rules {
  font-size: var(--type-caption);
  margin: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .player-xp-rules > summary {
  min-height: 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .equipment-heading {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #354b6a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .equipment-heading > span {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .equipment-slots {
  gap: 6px;
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .equipment-slot {
  padding: 8px 4px;
  min-height: 108px;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .gear-slot-art {
  height: 36px;
  min-height: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .gear-slot-art svg {
  height: 36px;
  width: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .gear-slot-name,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .gear-slot-action,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .gear-slot-bonus {
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .equipment-slot > strong {
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-development .target-practice-ready {
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-bag {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #354b6a;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-bag > summary {
  display: flex;
  align-items: center;
  min-height: 30px;
  cursor: pointer;
  color: #dec68d;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-bag .player-inventory {
  padding: 8px 0;
  margin: 0;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-bag .player-inventory > p {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) #report-status,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) #report-error {
  margin: 0;
  padding: 0 12px;
  background: #101c35;
  font-size: var(--type-caption);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) #report-status:not(:empty),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) #report-error:not(:empty) {
  padding-block: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) #report-error {
  color: #ffb1bd;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-hero {
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-portrait {
    width: 52px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-overall > strong {
    font-size: var(--type-display);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-identity h2 {
    font-size: var(--ui-heading, 20px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-overview-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-overview-grid > .profile-skills {
    grid-row: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-page-tabs > .page-tabs-panels > .page-panel {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel {
    padding: 11px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel > header {
    margin-bottom: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter-grid {
    gap: 10px 16px;
  }
}
@media (max-height: 460px) and (min-width: 701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .player-dossier-header {
    min-height: 82px;
    padding-block: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-hero {
    grid-template-columns: 48px minmax(0, 1fr) 42px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-dialog:where(:has(.player-dossier)) .profile-portrait {
    width: 48px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-page-tabs > .page-tab-label {
    min-height: 36px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-page-tabs > .page-tabs-panels > .page-panel {
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-overview-grid {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel {
    padding: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-panel > header {
    margin-bottom: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-meter-grid {
    gap: 8px 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-health-facts {
    margin-top: 7px;
    padding-top: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-number-grid > div {
    padding: 8px;
    min-height: 54px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-number-grid dd {
    font-size: var(--type-title);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/selection-ability.css */

/* Bat/ball strength is visual; form remains the separate labelled 1–5 measure. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  max-width: 100%;
  color: #f1d393;
  vertical-align: middle;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability > .selection-ability-icon {
  display: block;
  flex: none;
  width: 18px;
  height: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability > .selection-ability-track {
  display: block;
  position: relative;
  width: 62px;
  height: 9px;
  flex: none;
  background: #0b1830;
  box-shadow: inset 0 0 0 1px #657b99;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability-track > i {
  display: block;
  height: 100%;
  width: var(--ability-fill);
  background: currentColor;
  box-shadow: inset 0 -2px #b1945a;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability > .selection-ability-icon {
    width: 20px;
    height: 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability > .selection-ability-track {
    width: 42px;
    height: 8px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability-bowling {
  color: #c4dff0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .selection-ability-bowling .selection-ability-track > i {
  box-shadow: inset 0 -2px #7c9eb8;
}


/* Source: https://deepmdesai.com/games/cricket-manager/audio-controls.css */

/* Audio is a pair of game controls, never a row of ambiguous status links. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 9px 11px;
  border: 2px solid #7189b7;
  background: #142548;
  color: #fff9e9;
  text-align: left;
  box-shadow: 0 3px 0 #09112a;
  line-height: 1.15;
  font-size: var(--type-caption);
  letter-spacing: 0.01em;
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle:hover:not(:disabled) {
  background: #264473;
  border-color: #c4d4f4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle[aria-pressed='true'] {
  border-color: #a4e1af;
  background: #1d3b48;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle-icon {
  display: block;
  fill: currentColor;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle-label {
  font-weight: 700;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle-state {
  font-size: var(--type-caption);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4d4f4;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle[aria-pressed='true'] .audio-toggle-state {
  color: #a4e1af;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle-compact {
  display: flex;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 8px;
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .audio-toggle-compact :is(.audio-toggle-label, .audio-toggle-state) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 8px;
  width: min(340px, max(220px, calc(34% - 60px)));
  align-items: stretch;
  color: var(--cream);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle {
  padding: 9px 10px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .beta-help-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  justify-self: stretch;
  padding: 0;
  border: 1px solid #7189b7;
  background: #142548;
  color: #c4d4f4;
  font-size: 0;
  text-decoration: none;
  box-shadow: 0 3px 0 #09112a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .beta-help-link:before {
  content: '?';
  font-size: var(--type-name);
  font-weight: 800;
}
/* The footer reserve is shared by native and browser app layouts. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
  height: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-content {
  padding-bottom: max(104px, calc(90px + env(safe-area-inset-bottom, 0px)));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
  margin-bottom: 22px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #match-menu-dialog .audio-controls {
  grid-template-columns: 1fr;
  gap: 10px;
  margin-block: 8px;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom {
    left: 18px;
    right: 18px;
    width: auto;
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions {
    padding-bottom: 110px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle {
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 6px;
    font-size: var(--type-caption);
    padding: 8px;
    min-height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle-icon {
    width: 20px;
    height: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle-state {
    font-size: var(--type-caption);
    letter-spacing: 0.02em;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
    margin-bottom: 8px;
  }
}
@container game (max-width:700px) and (max-height:680px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading .brand-wordmark {
    width: min(100%, 240px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
    padding-top: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions {
    gap: 7px;
    padding-top: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button {
    min-height: 42px;
  }
}
@container game (min-width:701px) and (max-height:520px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom {
    width: 232px;
    left: 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
    padding: 8px 7px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle-icon {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
    margin-bottom: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading .brand-wordmark {
    width: min(100%, 232px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-content {
    padding-top: 16px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/match-presentation.css */

/* Match and competition surfaces. Component geometry lives in its own stylesheet. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-scoreboard {
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, #15293a, #202f4c);
  border-bottom: 3px solid #e8bd60;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-scoreboard .live-score {
  font-weight: 800;
  letter-spacing: -0.055em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-scoreboard .score-overs strong {
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-commentary {
  background: var(--ui-surface, #172847);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-deliveries {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.extra-delivery {
  width: auto;
  min-width: 29px;
  padding-inline: 5px;
  flex-basis: auto;
  border-style: dashed;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.no-ball {
  background: #ecbc79;
  color: #35241a;
  border-color: #ecbc79;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .delivery-chip.wide {
  background: #c4b0f3;
  color: #271e3d;
  border-color: #c4b0f3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-match .over-feed-row .over-deliveries {
  flex-wrap: wrap;
  row-gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row .extra-delivery {
  width: auto;
  flex-basis: auto;
  min-width: 27px;
  padding-inline: 4px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-commentary {
  min-height: 65px;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena .stadium-column {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-arena .stadium-wrap {
  border: 1px solid #66816f;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label {
  top: auto;
  bottom: 8px;
  right: 8px;
  left: auto;
  max-width: 58%;
  padding: 5px 8px;
  background: #152b29e8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .pitch-label #match-conditions-summary {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .scene-header {
  align-items: center;
  padding: 4px 0 18px;
  border-bottom: 1px solid #667381;
  margin-bottom: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .scene-title {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-heading, 20px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .scene-subtitle {
  max-width: 30em;
  font-size: var(--type-caption);
  margin-top: 7px;
  color: #b9c8d4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .league-progress {
  border: 1px solid #8495a4;
  border-top: 3px solid var(--gold);
  padding: 9px 12px;
  min-width: 78px;
  text-align: center;
  background: var(--ui-surface, #172847);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .league-progress strong {
  font-size: var(--type-title);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .league-progress span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .section-tabs {
  gap: 5px;
  padding: 0 0 16px;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .section-tabs .game-button {
  border: 1px solid #50647c;
  border-radius: 3px;
  background: var(--ui-surface, #172847);
  font-size: var(--type-caption);
  padding: 8px 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .section-tabs [aria-pressed='true'] {
  background: #f0d48f;
  color: #18243a;
  border-color: #f0d48f;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixtures {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixtures .league-fixture {
  display: block;
  padding: 0;
  border: 1px solid #4c6374;
  border-radius: 4px;
  background: var(--ui-surface, #172847);
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-fixtures .league-fixture.own-fixture {
  border-color: #cfb66c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--ui-canvas, #101a38);
  border-bottom: 1px solid #40566b;
  font-size: var(--type-caption);
  text-transform: uppercase;
  letter-spacing: 0.075em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-card-heading .fixture-state {
  color: #d8c58f;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-clubs {
  display: grid;
  gap: 13px;
  padding: 15px 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-row .team-name {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--type-section);
  font-weight: 700;
  gap: 9px;
  min-width: 0;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-score b {
  font-size: var(--type-title);
  font-weight: 800;
  letter-spacing: -0.035em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-score small {
  color: #acbecb;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid #3c5263;
  background: var(--ui-canvas, #101a38);
  font-size: var(--type-caption);
  color: #b7c9d5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-card-footer strong {
  color: #e7d394;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-cap-lists .league-leader {
  background: var(--ui-surface, #172847);
  border-color: #4c6373;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-cap-lists h3 {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture {
  border-radius: 4px;
  border-color: #708269;
  background: var(--ui-surface, #172847);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture .hub-fixture-heading {
  padding-bottom: 10px;
  border-bottom: 1px solid #536c6e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture .hub-fixture-heading h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
  letter-spacing: -0.025em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hub-fixture .hub-fixture-pair .hub-team-name {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--type-title);
}
@container game (min-width:850px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-calendar .league-fixtures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container game (max-width:420px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .scene-title {
    font-size: var(--ui-heading, 20px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-row .team-name {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-club-score b {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .fixture-card-footer {
    flex-wrap: wrap;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-screen .section-tabs .game-button {
    padding-inline: 10px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/page-tabs.css */

/* Native radio groups provide keyboard arrow navigation and presentation-only state. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tabs {
  display: grid;
  grid-template-columns: repeat(var(--page-tab-count, 3), minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  min-width: 0;
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-label {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  border: 1px solid #526883;
  background: #14243b;
  color: #b6c8dc;
  font-size: var(--ui-body, 13px);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-input:checked + .page-tab-label {
  color: #17243a;
  background: #ead195;
  border-color: #ead195;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-input:focus-visible + .page-tab-label {
  outline: 2px solid #fff0b0;
  outline-offset: -5px;
  z-index: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tabs-panels {
  grid-column: 1/-1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-panel {
  display: none;
  min-height: 0;
  min-width: 0;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #597291 #101d34;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-index-0:checked ~ .page-tabs-panels > .page-panel-index-0,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-index-1:checked ~ .page-tabs-panels > .page-panel-index-1,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-index-2:checked ~ .page-tabs-panels > .page-panel-index-2,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-index-3:checked ~ .page-tabs-panels > .page-panel-index-3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-index-4:checked ~ .page-tabs-panels > .page-panel-index-4,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tab-index-5:checked ~ .page-tabs-panels > .page-panel-index-5 {
  display: block;
  height: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tabs.is-secondary {
  grid-template-rows: auto auto;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tabs.is-secondary > .page-tab-label {
  min-height: 36px;
  padding: 7px 6px;
  font-size: var(--ui-label, 11px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tabs.is-secondary > .page-tabs-panels {
  margin-top: 12px;
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page-tabs.is-secondary > .page-tabs-panels > .page-panel {
  height: auto;
  max-height: none;
  overflow: visible;
}


/* Source: https://deepmdesai.com/games/cricket-manager/training-pages.css */

/* Each training page contains a single decision area; the screen owns no long accordions. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-screen.training-pages {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  padding: 12px 16px;
  gap: 12px;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages > .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages > .scene-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages > .scene-header h2 {
  color: var(--cream, #f2eddf);
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-heading, 20px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages > .scene-header .game-button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: var(--ui-label, 11px);
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-lock {
  font-size: var(--type-caption);
  color: #d9c48c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-tabs {
  height: 100%;
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-tabs > .page-tabs-panels > .page-panel {
  padding: 12px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation {
  margin: 0;
  min-width: 0;
  padding: 12px;
  background: #14263e;
  border: 1px solid #455d79;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card {
  padding-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card > legend {
  padding: 0 4px;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
  color: #f2eddf;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-choices {
  display: grid;
  gap: 6px;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-training {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-intensity {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-page-choices > .game-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 66px;
  padding: 8px 4px;
  font-size: var(--ui-label, 11px);
  line-height: 1.2;
  border: 1px solid #52708b;
  border-radius: 0;
  background: #1c3451;
  color: #c3d3e4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-page-choices > .game-button[aria-pressed='true'] {
  background: #ebd196;
  border-color: #ebd196;
  color: #1a2c41;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-choices strong {
  font-size: var(--type-caption);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-choices > .game-button:disabled {
  opacity: 0.7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pixel-icon {
  width: 24px;
  height: 24px;
  flex: none;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-load-mark {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  height: 23px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-load-mark > i {
  display: block;
  width: 5px;
  height: 9px;
  background: currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-load-mark > i:nth-child(2) {
  height: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-load-mark > i:nth-child(3) {
  height: 21px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card > header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match > header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages h4 {
  font-family: Manrope, Arial, sans-serif;
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #f2eddf;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card > header > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-heading > span {
  font-size: var(--type-caption);
  color: #a8bed5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 5px;
  color: #b9cce0;
  font-size: var(--ui-label, 11px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card label > b {
  font-size: var(--type-section);
  color: #adddb6;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card progress {
  grid-column: 1/-1;
  width: 100%;
  height: 7px;
  appearance: none;
  border: 0;
  background: #0b1a30;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card progress::-webkit-progress-bar {
  background: #0b1a30;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card progress::-webkit-progress-value {
  background: #a9d8b4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card progress::-moz-progress-bar {
  background: #a9d8b4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match.is-empty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match.is-empty > span {
  font-size: var(--type-caption);
  color: #aebfd4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-result {
  display: inline-block;
  padding: 4px 8px;
  background: #30465f;
  color: #cbd9e6;
  border: 1px solid #69849a;
  font-size: var(--type-caption);
  line-height: 1.2;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-result.is-win {
  background: #254e44;
  border-color: #79b29c;
  color: #b1e4bb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-result.is-loss {
  background: #56323e;
  border-color: #b8777b;
  color: #ffd0c5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-result.is-tie {
  background: #4a4332;
  border-color: #bfa77b;
  color: #f0d995;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match > header {
  margin-bottom: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-opponent {
  font-size: var(--type-caption);
  color: #bacce0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match dl {
  display: flex;
  gap: 22px;
  margin: 9px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match dl > div {
  display: flex;
  gap: 6px;
  align-items: baseline;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match dt {
  font-size: var(--type-caption);
  color: #a5bcd4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match dd {
  font-size: var(--type-body);
  font-weight: 700;
  color: #f0d599;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-medical {
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
  border-top: 1px solid #3c5671;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-medical > li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  color: #b6cbe0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-medical strong {
  font-size: var(--type-caption);
  color: #d6dbca;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-cards {
  display: grid;
  gap: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #14263e;
  border: 1px solid #455d79;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card h4 {
  font-size: var(--ui-body, 13px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card > div > span {
  font-size: var(--type-caption);
  color: #acbfd5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card > div > strong {
  font-size: var(--type-caption);
  color: #ebd29b;
  font-weight: 650;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card > .game-button {
  min-width: 62px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card.is-unavailable {
  border-color: #354d67;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card.is-unavailable .training-pixel-icon {
  opacity: 0.6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation {
  margin-top: 12px;
  padding: 10px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation h3 {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation strong {
  font-size: var(--type-body);
  color: #efd59c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation strong > small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation progress {
  display: block;
  width: 100%;
  height: 7px;
  margin: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-reputation > span {
  font-size: var(--type-caption);
  color: #a9bfd6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-cards {
  display: grid;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-coach-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  min-width: 0;
  width: 100%;
  text-align: left;
  padding: 12px;
  background: #14263e;
  border: 1px solid #455d79;
  color: #e7e9e3;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-card > .pixel-portrait {
  width: 42px;
  height: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-card > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-card > span > small {
  font-size: var(--type-caption);
  color: #e5cf99;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-card > span > strong {
  font-size: var(--type-body);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-card > span > span {
  font-size: var(--type-caption);
  color: #a9bed5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-card > b {
  font-size: var(--type-caption);
  color: #e9d198;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card {
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card > dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dt {
  font-size: var(--type-caption);
  color: #a9bed5;
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dd {
  font-size: var(--type-body);
  font-weight: 700;
  margin: 6px 0 0;
  color: #e9d198;
}
@container game (max-width:600px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-screen.training-pages {
    padding: 12px;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match {
    padding: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card {
    padding-top: 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-page-choices > .game-button {
    min-height: 56px;
    gap: 5px;
    padding: 7px 4px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-choices strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-heading {
    margin-bottom: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card > legend {
    font-size: var(--ui-section-heading, 16px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card > header {
    margin-bottom: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match > header {
    margin-bottom: 5px;
  }
}
@media (max-height: 460px) and (min-width: 701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-screen.training-pages {
    padding: 8px 12px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-tabs > .page-tab-label {
    min-height: 36px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-page-tabs > .page-tabs-panels > .page-panel {
    padding-top: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-plan-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-readiness-card,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-last-match,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card {
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-page-choices > .game-button {
    min-height: 52px;
    gap: 3px;
    padding: 5px 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-choice-card > legend,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-pages h3 {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card {
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 10px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-session-card > .game-button {
    grid-column: 1/-1;
    min-height: 32px;
    width: 100%;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-coach-cards {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-coach-card {
    min-height: 74px;
    padding: 8px;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card > dl {
    margin-top: 8px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/scout-visuals.css */

/* Scout estimates: solid ability, a separate pale range, and observation confidence. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-visuals {
  display: grid;
  gap: 10px;
  color: #e6edf2;
  font-size: var(--ui-body, 13px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-reading {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 58px;
  gap: 9px;
  align-items: center;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-reading > span:first-child {
  font-size: var(--ui-label, 11px);
  color: #b7c8d3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-reading > b {
  font-size: var(--type-caption);
  line-height: 1.2;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #f1dfac;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-ability-track,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-range-track {
  position: relative;
  display: block;
  height: 10px;
  min-width: 0;
  background: #0d1b2c;
  box-shadow: inset 0 0 0 1px #3c5263;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-ability-track > i {
  display: block;
  height: 100%;
  background: #edcd7b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-range-track {
  background: #102131;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-potential-band {
  position: absolute;
  inset-block: 0;
  left: var(--range-start);
  width: max(2px, var(--range-width));
  background: repeating-linear-gradient(135deg, #cce7ee99 0 3px, #d9eff24d 3px 6px);
  border-inline: 1px solid #d5edf0;
  box-sizing: border-box;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-range-track.is-unknown {
  background: repeating-linear-gradient(135deg, #33475644 0 4px, #20334344 4px 8px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-range-track.is-unknown > span {
  position: absolute;
  inset: 0;
  text-indent: -9999px;
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-confidence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--ui-label, 11px);
  color: #a8bfcb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-confidence {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d5e7ed;
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-confidence-pips {
  display: flex;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-confidence-pips > i {
  display: block;
  width: 9px;
  height: 9px;
  background: linear-gradient(to right, #acd6e3 var(--pip-fill), #314a5b var(--pip-fill));
  box-shadow: inset 0 0 0 1px #8ab3c955;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-visuals.is-compact {
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-visuals.is-compact .scout-reading {
  grid-template-columns: 57px minmax(0, 1fr) 53px;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-visuals.is-compact .scout-reading > b {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-visuals.is-compact .scout-ability-track,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scout-visuals.is-compact .scout-range-track {
  height: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook {
  display: grid;
  gap: 7px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #a8bfcb;
  font-size: var(--type-caption);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .outlook-trend {
  white-space: nowrap;
  font-weight: 650;
  color: #ced9e2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .outlook-trend i {
  display: inline-flex;
  align-items: center;
  vertical-align: -1px;
  margin-right: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .outlook-trend i > svg {
  width: 10px;
  height: 10px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .outlook-trend > span {
  color: #a8bfcb;
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .outlook-trend.is-rising {
  color: #a4d5b5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .outlook-trend.is-declining {
  color: #edb19c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact {
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact .scout-reading {
  grid-template-columns: 54px minmax(0, 1fr) 43px;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact .scout-range-track {
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact .scout-reading > b,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact .player-outlook-meta,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact .scout-confidence {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-outlook.is-compact .scout-confidence-pips > i {
  width: 7px;
  height: 7px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/academy-cards.css */

/* Prospect cards are complete summaries; player details open through Scout report. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .scene-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .scene-header > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .scene-title {
  font-size: var(--ui-heading, 20px);
  line-height: 1.2;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-places {
  font-size: var(--type-title);
  font-weight: 800;
  color: #f1d48e;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-places small {
  font-size: var(--type-caption);
  font-weight: 500;
  color: #a6bbc8;
  margin-left: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-toolbar {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-toolbar > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-toolbar .game-button {
  min-height: 42px;
  font-size: var(--type-caption);
  padding: 9px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-status {
  justify-self: start;
  font-size: var(--type-caption);
  padding: 4px 7px;
  color: #c6d5de;
  border: 1px solid #557084;
  background: var(--ui-surface, #173043);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .academy-prospect-list {
  display: grid;
  gap: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-card {
  padding: 14px;
  border: 1px solid #526e80;
  border-top: 3px solid #d5bd74;
  background: var(--ui-surface, #162d40);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading > .pixel-portrait {
  width: 48px;
  height: 57px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading strong {
  display: block;
  font-size: var(--type-name);
  line-height: 1.25;
  color: #f7efdc;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-role {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: #c3d4dd;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-role > .player-role-symbols {
  display: inline-flex;
  width: 31px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-role .role-symbol {
  width: 15px;
  height: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-role > b {
  font-weight: 600;
  color: #f0d28e;
  margin-left: 4px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-tenure {
  align-self: start;
  color: #9fb7c6;
  font-size: var(--type-caption);
  line-height: 1.2;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-badges > span {
  padding: 4px 6px;
  background: var(--ui-raised, #243e50);
  color: #c7d9e1;
  font-size: var(--type-caption);
  line-height: 1.2;
  border: 1px solid #496477;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #486172;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-actions .game-button {
  min-height: 42px;
  padding: 9px 7px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-actions .game-button:disabled {
  background: var(--ui-raised, #344450);
  border-color: #5b6a74;
  color: #a2afb8;
  opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-promotion-status {
  grid-column: 1/-1;
  font-size: var(--type-caption);
  color: #a5bac8;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 34px 14px;
  border: 1px dashed #526e80;
  text-align: center;
  color: #c7d9e1;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-empty > span {
  font-size: var(--type-caption);
  color: #9fb7c6;
}
@container game (min-width:820px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .academy-prospect-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container game (max-width:420px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .scene-header > div {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-screen .scene-header > .game-button {
    font-size: var(--type-caption);
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .academy-prospect-card {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading > .pixel-portrait {
    width: 42px;
    height: 50px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-heading strong {
    font-size: var(--type-section);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-tenure {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .prospect-role {
    font-size: var(--type-caption);
    gap: 4px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/club-home.css */

/* Club home and sponsor presentation share one component owner. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-home {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
  gap: var(--ui-space-4, 16px);
  align-content: start;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: var(--ui-space-5, 20px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-card {
  min-width: 0;
  padding: var(--ui-space-4, 16px);
  border: 1px solid #4b667a;
  background: var(--ui-surface, #142b3b);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-card-heading h2 {
  margin: 0;
  font:
    750 var(--ui-section-size, 18px) / 1.25 Manrope,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-status {
  flex: none;
  font-size: var(--type-caption);
  line-height: 1.3;
  color: #bad1da;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-status.is-complete {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-next-match {
  border-top: 3px solid var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  margin: 8px 0 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team > svg {
  flex: none;
  width: 44px;
  height: 50px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team > strong {
  font-size: var(--type-body);
  line-height: 1.3;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-versus {
  align-self: center;
  text-align: center;
  font-size: var(--type-section);
  color: #b2c7d3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-bottom > span {
  font-size: var(--type-caption);
  color: #b5c8d3;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-play {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: none;
  min-height: 44px;
  margin: 0;
  padding: 9px 13px;
  background: var(--gold);
  border-color: var(--gold);
  color: #18283a;
  font-size: var(--type-body);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-club-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 76px;
  padding: 11px;
  background: var(--ui-surface, #182b3d);
  border: 1px solid #526d7f;
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card:hover:not(:disabled) {
  background: var(--ui-raised, #223e50);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-icon {
  fill: #dfca91;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-arrow {
  flex: none;
  width: 12px;
  color: #d4c7a1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card strong {
  font-size: var(--type-body);
  line-height: 1.2;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card small {
  color: #bacbd7;
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card em {
  color: #c6d8ac;
  font-size: var(--type-caption);
  line-height: 1.3;
  font-style: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-last-match {
  grid-column: 1/-1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-last-match:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-last-match .match-rewards {
  padding-top: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-last-match .match-rewards h2 {
  font-size: var(--ui-section-size, 18px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-card .sponsor-mark {
  width: 46px;
  height: 46px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-identity {
  display: flex;
  gap: 11px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-identity > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-identity strong {
  font-size: var(--type-section);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-identity span {
  font-size: var(--type-caption);
  line-height: 1.3;
  color: #bdcfdb;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-progress {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin: 13px 0 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-progress > i {
  height: 7px;
  background: var(--ui-raised, #2a4256);
  border: 1px solid #57738a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-progress > .is-complete {
  background: #a8d8b0;
  border-color: #a8d8b0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-total > span {
  color: #b3c7d5;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-total > strong {
  color: var(--gold);
  font-size: var(--type-title);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-total small {
  margin-left: 4px;
  color: #c7d5df;
  font-size: var(--type-caption);
  font-weight: 500;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border-color: #7e96a2;
  background: var(--ui-raised, #254155);
  font-size: var(--type-caption);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-open > span {
  color: #ead18c;
  font-size: var(--type-name);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-is-complete .sponsor-open {
  background: var(--gold);
  border-color: var(--gold);
  color: #172b39;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-is-complete .sponsor-open > span {
  color: currentColor;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-is-complete {
  border-color: #cfbc7e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-is-open .sponsor-open {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt {
  margin-top: 16px;
  padding: 12px;
  background: var(--ui-surface, #17372f);
  border: 1px solid #5d8979;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-payment {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt .sponsor-mark {
  width: 34px;
  height: 34px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-payment > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-payment span {
  font-size: var(--type-caption);
  color: #c6dcd4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-payment strong {
  font-size: var(--type-name);
  color: #caebbf;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-payment small {
  font-size: var(--type-caption);
  font-weight: 600;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-match,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-complete-badge {
  flex: none;
  font-size: var(--type-caption);
  color: #e6d18e;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt .sponsor-open {
  margin-top: 11px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-compact {
  padding: 9px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-compact .sponsor-mark {
  width: 28px;
  height: 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-receipt-compact .sponsor-receipt-payment strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-sponsors {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .commercial-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .commercial-heading h3 {
  margin: 0;
  font-size: var(--ui-section-size, 18px);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .commercial-heading > span {
  color: #c6d7e0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-deal-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid #4b667a;
  background: var(--ui-surface, #162c3d);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-deal-card > div {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-deal-card .sponsor-mark {
  width: 46px;
  height: 46px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-deal-card h4 {
  margin: 0;
  font-size: var(--type-section);
  line-height: 1.3;
  color: var(--cream);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-card-label {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-deal-rate {
  display: block;
  margin-top: 6px;
  color: #c4d3de;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-contract-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-contract-track i {
  height: 7px;
  border: 1px solid #56728a;
  background: var(--ui-raised, #2a4359);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-contract-track i.completed {
  background: var(--mint);
  border-color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offers {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer dt {
  font-size: var(--type-caption);
  color: #b4c9d8;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer dd {
  margin: 4px 0 0;
  font-size: var(--type-title);
  color: var(--gold);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer .game-button {
  min-height: 42px;
  width: 100%;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-availability {
  font-size: var(--type-caption);
  color: #c3d2de;
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-home {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-card {
    padding: 13px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-card-heading {
    margin-bottom: 9px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-next-match .home-fixture-pair {
    margin: 6px 0 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team {
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team > svg {
    width: 38px;
    height: 44px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team > strong {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-bottom > span {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-play {
    min-height: 42px;
    font-size: var(--type-caption);
    gap: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-club-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card {
    padding: 10px;
    min-height: 72px;
    gap: 7px;
    grid-template-columns: 22px minmax(0, 1fr) 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-icon {
    width: 22px;
    height: 22px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-identity {
    gap: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-progress {
    margin: 11px 0 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-summary-total {
    margin: 8px 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-card .sponsor-mark {
    width: 40px;
    height: 40px;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/records-stats.css */

/* Records, figure tables and league leaders share fixed numeric columns. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-statistics,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-records {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-statistics > .scene-section-heading,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-records > .scene-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-period {
  display: block;
  font-size: var(--ui-label, 11px);
  color: var(--dim);
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-scope {
  flex: none;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-stats-tabs {
  margin-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--edge);
  margin: 12px 0 16px;
  background: var(--navy);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ui-body, 13px);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll caption {
  text-align: left;
  padding: 12px;
  font-weight: 700;
  color: var(--cream);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) :is(.club-statistics, .position-records) .stats-table-scroll caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip-path: inset(50%);
  overflow: hidden;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll :is(th, td) {
  text-align: right;
  padding: 8px 10px;
  border-bottom: 1px solid var(--edge);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll thead th {
  color: var(--dim);
  font-size: var(--ui-label, 11px);
  font-weight: 650;
  height: 38px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll abbr {
  text-decoration: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll th:first-child {
  text-align: left;
  min-width: 136px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll tbody th:first-child {
  position: sticky;
  left: 0;
  padding-block: 0;
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll th small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-table-scroll td small {
  display: block;
  font-size: var(--ui-label, 11px);
  font-weight: 450;
  color: var(--dim);
  white-space: normal;
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stat-player {
  width: 100%;
  max-width: 156px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: var(--ui-body, 13px);
  font-weight: 650;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help {
  border-top: 1px solid var(--edge);
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: var(--ui-label, 11px);
  color: var(--dim);
  cursor: pointer;
  list-style: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help > summary::-webkit-details-marker {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help > summary::after {
  content: '+';
  color: var(--gold);
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help[open] > summary::after {
  content: '−';
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help dl {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  font-size: var(--ui-label, 11px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help dl > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-help dd {
  margin: 0;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards > div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  min-width: 0;
  min-height: 104px;
  padding: 12px;
  border: 1px solid var(--edge);
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards dt,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards small {
  font-size: var(--ui-label, 11px);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards dd {
  font-size: var(--type-number);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold);
  margin: 7px 0;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards small {
  overflow-wrap: anywhere;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records .stats-table-scroll th:first-child {
  min-width: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records .stats-table-scroll td:nth-child(2) {
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .heritage-titles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .heritage-titles > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--gold);
  font-size: var(--ui-label, 11px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .heritage-innings {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 8px;
  font-size: var(--ui-body, 13px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .heritage-innings strong {
  margin-left: auto;
  color: var(--gold);
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .heritage-innings small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-history p {
  font-size: var(--ui-label, 11px);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-history p {
  margin: 8px 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-stats-coverage {
  margin: 0 0 12px;
  font-size: var(--ui-label, 11px);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-cap-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leaderboard {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leaderboard > h3 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leaderboard.bowling > h3 {
  color: var(--purple);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leaderboard > h3 > span {
  font-size: var(--ui-label, 11px);
  font-weight: 500;
  color: var(--dim);
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-cap {
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leaders {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leader {
  display: grid;
  grid-template-columns: 16px 30px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--edge);
  background: var(--navy);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leader:last-child {
  border-bottom: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-leader.cap-holder {
  box-shadow: inset 3px 0 var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-rank {
  font-size: var(--ui-label, 11px);
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-player {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-player > strong {
  display: block;
  font-size: var(--ui-body, 13px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--cream);
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-player > .team-name {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--ui-label, 11px);
  line-height: 1.3;
  color: var(--dim);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-player .team-badge {
  width: 16px;
  height: 19px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 8px;
  margin: 5px 0 0;
  color: var(--dim);
  font-size: var(--type-caption);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-metrics > div {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-metrics dt {
  font-weight: 400;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-metrics dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  color: var(--gold);
  font-size: var(--type-number);
  line-height: 1.15;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .leader-total > small {
  display: block;
  font-size: var(--ui-label, 11px);
  font-weight: 500;
  color: var(--dim);
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-stats-help {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-stats-help summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-size: var(--ui-label, 11px);
  color: var(--dim);
}
@container game (max-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .league-cap-lists {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .league-screen .section-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/match-tactics.css */

/* The sheet has one scroll owner per page and one home for each control. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog {
  height: min(620px, 94cqh);
  max-height: 94cqh;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid #60789a;
  background: #11203a;
  color: #f4eddd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 13px 15px;
  background: #162946;
  border-bottom: 1px solid #526a8b;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-sheet-header h2 {
  font-size: var(--ui-heading, 20px);
  line-height: 1.15;
  margin: 3px 0 0;
  font-weight: 700;
  letter-spacing: -0.025em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-sheet-header > .game-button {
  width: auto;
  min-width: 62px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: var(--type-body);
  background: #254376;
  border: 1px solid #748db1;
  color: #f4eddd;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-match-score {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: var(--type-title);
  font-weight: 800;
  line-height: 1;
  color: #f0d38a;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-match-score > span {
  font-size: var(--type-caption);
  font-weight: 600;
  color: #b7c8de;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .phone-tactics-body {
  display: flex;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #11203a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-tactics-pages {
  flex: 1;
  height: 100%;
  width: 100%;
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-tactics-pages > .page-tab-label {
  min-height: 44px;
  font-size: var(--type-caption);
  line-height: 1.2;
  border-color: #496080;
  background: #182d4d;
  color: #bdcce0;
  padding: 8px 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-tactics-pages > .page-tab-input:checked + .page-tab-label {
  background: #2b4c86;
  color: #f5d58e;
  border-color: #a7a6a1;
  box-shadow: inset 0 -3px #e4c577;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-tactics-pages > .page-tabs-panels > .page-panel {
  padding: 14px;
  scroll-padding: 12px;
  background: #11203a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-block {
  margin: 0 0 17px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-block:last-child {
  margin-bottom: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-block > header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-block > header h3 {
  font-size: var(--ui-section-heading, 16px);
  font-weight: 700;
  line-height: 1.2;
  color: #f0e9d9;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-block > header > span {
  font-size: var(--type-caption);
  line-height: 1.3;
  color: #a8bdd6;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-plan-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-plan-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 100px;
  padding: 12px 6px;
  border-radius: 3px;
  white-space: normal;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-plan-choice > strong {
  font-size: var(--type-caption);
  line-height: 1.35;
  font-weight: 700;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-plan-choice > small {
  font-size: var(--type-caption);
  line-height: 1.3;
  color: #b4c8e1;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-choice {
  border: 1px solid #637da1;
  background: #213b66;
  color: #e7edf5;
  box-shadow: none;
  text-transform: none;
  min-width: 0;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-choice[aria-pressed='true'] {
  background: #2c4d87;
  border-color: #e3c981;
  color: #ffe4a1;
  box-shadow: inset 0 -3px #dfc478;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-choice:disabled {
  background: #233147;
  border-color: #4f617c;
  color: #8499b4;
  opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-segment {
  display: grid;
  grid-template-columns: repeat(var(--choice-count, 3), minmax(0, 1fr));
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-segment > .game-button {
  min-width: 0;
  min-height: 48px;
  padding: 9px 5px;
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-field-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-field-choices > .game-button {
  min-height: 75px;
  padding: 10px 7px;
  font-size: var(--type-caption);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-reset {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  padding: 9px 12px;
  background: #1c3458;
  border: 1px solid #607ba1;
  color: #d7e2f1;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-control-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  padding: 12px;
  margin: 0 0 9px;
  background: #1b345b;
  border: 1px solid #637da1;
  color: #e9eef5;
  text-align: left;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-control-card > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-control-card strong {
  font-size: var(--type-body);
  line-height: 1.2;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-control-card small {
  display: block;
  font-size: var(--type-caption);
  line-height: 1.3;
  color: #b1c5df;
  white-space: normal;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-control-card > svg {
  flex: none;
  color: #f0d38a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-control-card:disabled {
  background: #233147;
  border-color: #4f617c;
  color: #91a4bd;
  opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-impact > .impact-player-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px;
  min-height: 64px;
  margin: 0;
  background: #1b345b;
  border: 1px solid #637da1;
  color: #e9eef5;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-impact .impact-player-entry strong {
  font-size: var(--type-body);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-impact .impact-player-entry small {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-impact .impact-player-entry > span:last-child {
  font-size: var(--type-caption);
  color: #f0d38a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-target-list {
  display: grid;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-target-list > label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 53px;
  padding: 8px 10px;
  background: #192f50;
  border: 1px solid #496487;
  font-size: var(--type-caption);
  cursor: pointer;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-target-list input {
  appearance: auto;
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: #e3c879;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-target-list > label > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-target-list strong {
  font-size: var(--type-caption);
  line-height: 1.25;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-target-list small {
  font-size: var(--type-caption);
  color: #a8bdd6;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-batting-pair {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-manager {
  padding: 11px;
  background: #182d4d;
  border: 1px solid #496487;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-manager-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-manager-header > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-manager-header strong {
  font-size: var(--type-body);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-manager-header small {
  font-size: var(--type-caption);
  color: #b1c5df;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-manager .batter-identity {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-intent {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin: 10px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-intent > .game-button {
  font-size: var(--type-caption);
  line-height: 1.2;
  white-space: normal;
  min-width: 0;
  min-height: 44px;
  padding: 5px 2px;
  background: #213b66;
  border: 1px solid #637da1;
  color: #e7edf5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .batting-intent > [aria-pressed='true'] {
  background: #2c4d87;
  color: #ffe4a1;
  border-color: #e3c981;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-playback .playback-controls {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  margin: 0;
  background: none;
  position: static;
  width: 100%;
  max-width: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-playback .match-speed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-playback .match-speed > span {
  font-size: var(--type-caption);
  color: #b7c8de;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-playback .match-speed > div {
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-playback .game-button {
  min-height: 44px;
  padding: 8px;
  background: #213b66;
  border: 1px solid #637da1;
  color: #e7edf5;
  font-size: var(--type-caption);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-playback [aria-pressed='true'] {
  background: #2c4d87;
  color: #ffe4a1;
  border-color: #e3c981;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-playback [data-action='fast-sim-confirm'] {
  width: 100%;
}
@container game (max-width:380px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-tactics-pages > .page-tabs-panels > .page-panel {
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-plan-choices,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-field-choices {
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-plan-choice {
    padding-inline: 5px;
    min-height: 104px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-plan-choice > strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-field-choices > .game-button {
    padding-inline: 5px;
    font-size: var(--type-caption);
  }
}
@media (max-height: 460px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog {
    height: 94cqh;
    max-height: 94cqh;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-tactics-pages > .page-tabs-panels > .page-panel {
    padding: 10px 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-plan-choice {
    min-height: 82px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-sheet-header {
    padding: 8px 13px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #phone-tactics-dialog .tactics-sheet-header h2 {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .tactics-match-score {
    font-size: var(--type-name);
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/rain-ui.css */

:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-dialog {
  width: min(360px, calc(100% - 20px));
  padding: 18px;
  background: var(--ui-panel, #1b2852);
  color: var(--cream);
  border: 2px solid var(--gold);
  border-radius: 4px;
  max-height: calc(100dvh - 20px);
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-heading > span {
  font-size: var(--type-caption);
  letter-spacing: 0.12em;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-heading h2 {
  font-size: var(--type-number);
  margin: 5px 0 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-scene {
  height: 125px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#182843 75%, #243c35 75%);
  border: 1px solid #61708b;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-cloud {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 100px;
  height: 22px;
  transform: translateX(-50%);
  background: #8996aa;
  box-shadow:
    -18px 10px #8996aa,
    18px 10px #8996aa,
    0 20px #8996aa;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-wicket {
  position: absolute;
  bottom: 13px;
  left: calc(50% - 14px);
  font-size: var(--type-score);
  font-weight: 800;
  color: #f5e3b3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-streaks {
  position: absolute;
  inset: -30px 0;
  background: repeating-linear-gradient(
    110deg,
    transparent 0 20px,
    #b5c9e655 21px 23px,
    transparent 24px 42px
  );
  animation: rain-fall 0.8s linear infinite;
}
@keyframes rain-fall {
  to {
    transform: translateY(30px);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-facts {
  display: grid;
  gap: 6px;
  text-align: center;
  padding: 18px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-facts strong {
  font-size: var(--type-number);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-facts span {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-facts small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-dialog > [data-rain-resolve] {
  width: 100%;
  min-height: 46px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-error:empty {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-error {
  font-size: var(--type-caption);
  color: var(--red);
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-streaks {
    animation: none;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/ui-system.css */

/* Shared UI tokens. Cricket artwork and semantic status colours stay component-owned. */
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier)),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame {
  --ui-font: Manrope, Arial, sans-serif;
  --ui-heading: var(--type-title);
  --ui-section-heading: var(--type-section);
  --ui-body: var(--type-body);
  --ui-label: var(--type-caption);
  --ui-space: 8px;
  --ui-canvas: var(--colour-canvas);
  --ui-surface: var(--colour-surface);
  --ui-raised: var(--colour-raised);
  --ui-active: var(--colour-active);
  --ui-edge: var(--colour-edge);
  --ui-ink: var(--colour-ink);
  --ui-muted: var(--colour-muted);
  --ui-accent: var(--colour-gold);
  --night: var(--ui-canvas);
  --navy: var(--ui-surface);
  --panel: var(--ui-raised);
  --panel2: var(--ui-active);
  --edge: var(--ui-edge);
  --cream: var(--ui-ink);
  --dim: var(--ui-muted);
  --gold: var(--ui-accent);
  --display-font: var(--ui-font);
  color: var(--ui-ink);
  font-family: var(--ui-font);
  font-size: var(--ui-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(h1, h2, h3, h4, h5, h6, button, input, select, summary, table) {
  font-family: var(--ui-font);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame h2 {
  font-size: var(--ui-heading);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame h3 {
  font-size: var(--ui-section-heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame h4 {
  font-size: var(--ui-body);
  line-height: 1.3;
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame p {
  font-size: var(--ui-body);
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(button, select, summary, .page-tab-label) {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame button {
  min-width: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button {
  font-size: var(--ui-body);
  line-height: 1.3;
  border-radius: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar {
  height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.scene-header, .scene-section-heading) {
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scene-header {
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scene-subtitle {
  margin-top: 5px;
  font-size: var(--ui-label);
  line-height: 1.4;
  color: var(--ui-muted);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.section-tabs, .squad-roster-tabs, .management-actions) {
  gap: var(--ui-space);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.section-tabs, .squad-roster-tabs) button {
  min-width: 0;
  padding: 8px;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.section-tabs, .squad-roster-tabs) [aria-pressed='true'] {
  background: var(--ui-active);
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen > :is(.scene-header, .scene-section-heading) h2 {
  font-size: var(--ui-heading);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.management-copy, .management-status, .management-detail > summary) {
  font-size: var(--ui-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-detail > summary {
  color: var(--ui-ink);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.scene-counter, .league-progress) {
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scene-counter > span {
  font-size: var(--ui-label);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scene-counter > strong {
  font-size: var(--type-number);
  line-height: 1.1;
}

/* Wide is a workspace; short landscape and fullscreen always fit the viewport. */
@media (max-height: 500px) and (orientation: landscape) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #main:fullscreen {
    overflow: hidden;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #main:fullscreen #game-frame,
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode='phone'] #main:fullscreen #game-frame {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
    min-height: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar {
    height: 44px;
    padding-inline: 10px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen {
    padding-block: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.scene-header, .scene-section-heading) {
    margin-bottom: 12px;
  }
/* A fixed footer would cover most of the short squad list viewport. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-footer {
    position: static;
  }
}


/* Source: https://deepmdesai.com/games/cricket-manager/recovery-ui.css */
@font-face {
  font-family: Newsreader;
  src: url('../assets/newsreader-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame {
  --player-font: var(--font-player);
  --ui-label: 11px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(button, .page-tab-label, select) {
  border-radius: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .retention-player-copy > strong,
    .auction-list-player > strong,
    .auction-player-heading h2,
    .squad-player-copy > strong,
    .store-player-copy > strong,
    .phone-player-copy > strong,
    .casual-player strong,
    .record-person,
    #player-report-title
  ) {
  font-family: var(--player-font);
  font-weight: 650;
  letter-spacing: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen h2 {
  font-size: var(--type-title);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen h3 {
  font-size: var(--type-section);
  line-height: 1.3;
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen p {
  line-height: 1.5;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .page-tabs {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .page-tab-label {
  font-size: var(--type-caption);
  padding: 10px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .page-panel {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .profile-empty {
  padding: 12px 0;
  margin: 0;
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .money-value {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .money-value small {
  font:
    var(--type-caption) Manrope,
    Arial,
    sans-serif;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 45%);
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-heading h2 {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-heading select {
  min-width: 0;
  width: 100%;
  font-size: var(--type-caption);
  min-height: 40px;
  padding: 6px;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-budget {
  grid-column: 1/-1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-budget strong {
  font-size: var(--type-title);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-budget > small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--edge);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player.is-selected {
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .retention-report {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-report .pixel-portrait {
  width: 32px;
  height: 39px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player-copy > strong {
  font-size: var(--type-section);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-meta .role-symbol {
  width: 15px;
  height: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-meta .country-flag {
  width: 20px;
  height: 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-ability {
  display: grid;
  grid-template-columns: 23px minmax(20px, 1fr) 23px;
  align-items: center;
  gap: 5px;
  font:
    var(--type-caption) Manrope,
    Arial,
    sans-serif;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-ability .scout-ability-track {
  width: 100%;
  height: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-ability b {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-choice {
  display: grid;
  gap: 5px;
  justify-items: stretch;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-price {
  text-align: right;
  font-size: var(--type-title);
  font-weight: 800;
  line-height: 1.1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .retention-choice .game-button {
  width: 82px;
  min-height: 36px;
  min-width: 0;
  padding: 5px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-footer {
  gap: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-footer > span {
  font-size: var(--type-caption);
  color: var(--dim);
  margin-right: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .retention-footer .game-button {
  font-size: var(--type-caption);
  padding: 8px;
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen > .scene-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen > .scene-header h2 {
  margin: 0 0 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen > .scene-header > div > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter {
  display: grid;
  gap: 3px;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter strong {
  font-size: var(--type-number);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen .scene-counter > small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-stage {
  margin: 12px 0;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--edge);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  position: relative;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  background: none;
  min-height: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-spotlight .pixel-portrait {
  width: 64px;
  height: 77px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .lot-label {
  font-size: var(--type-caption);
  color: var(--gold);
  position: static;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rating {
  position: static;
  display: flex;
  gap: 4px;
  align-items: baseline;
  padding: 3px 5px;
  background: var(--gold);
  color: #101d27;
  font-size: var(--type-name);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rating small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-copy {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-heading {
  display: flex;
  align-items: start;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-heading h2 {
  margin: 0 !important;
  flex: 1;
  font-size: var(--type-title) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-player-heading .game-button {
  padding: 5px;
  min-width: 36px;
  min-height: 36px;
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-role {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-role .country-flag {
  width: 23px;
  height: 15px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-skills {
  margin-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-skills .skill-bands {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-skills .skill-band {
  display: grid;
  grid-template-columns: 48px minmax(25px, 1fr) 22px;
  gap: 7px;
  align-items: center;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-skills .skill-band svg {
  width: 100%;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-lot-skills .skill-band small {
  text-align: right;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-season-summary {
  display: grid;
  gap: 4px;
  font-size: var(--type-caption);
  color: var(--dim);
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-panel-heading h3 {
  margin: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-panel-heading > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-panel-heading > b {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--edge);
  background: var(--panel);
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team strong {
  display: block;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team small {
  display: block;
  font-size: var(--type-caption);
  color: var(--dim);
  margin-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team > b {
  grid-column: 1/-1;
  text-align: right;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team.is-leading {
  border-color: var(--gold);
  background: #3b3c36;
  box-shadow: inset 3px 0 var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team.is-leading small {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team.is-bidding {
  border-color: #8ac6d1;
  background: #233f60;
  box-shadow: inset 3px 0 #8ac6d1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team.is-bidding small {
  color: #a5e3ed;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team.is-out {
  opacity: 0.65;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bid-timeline {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-bid-timeline li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-list > li {
  border-bottom: 1px solid var(--edge);
  padding: 6px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-list button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  width: 100%;
  background: none;
  border: 0;
  color: var(--cream);
  text-align: left;
  min-height: 56px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-list-player {
  display: grid;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-list-player > strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-list-player > span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-list-player .role-symbol {
  width: 16px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-list-player .country-flag {
  width: 21px;
  height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-list button > b {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-search {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--type-caption);
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-player-search input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-squad-balance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-squad-balance > div {
  padding: 8px;
  border: 1px solid var(--edge);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-squad-balance dt {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-squad-balance dt svg {
  width: 16px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-squad-balance dd {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 0;
  font-size: var(--type-title);
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-squad-balance dd small {
  font-size: var(--type-caption);
  color: var(--dim);
  font-weight: 400;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .balance-check {
  margin-left: auto;
  color: var(--mint);
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .balance-check.is-missing {
  color: var(--red);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-reserves {
  margin: 14px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .reserve-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .reserve-actions .game-button {
  font-size: var(--type-caption);
  min-width: 0;
  padding: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rule-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rule-facts dt {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rule-facts dd {
  font-size: var(--type-title);
  color: var(--gold);
  margin: 3px 0 0;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rules ul {
  padding-left: 18px;
  font-size: var(--type-caption);
  line-height: 1.6;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-live-footer {
  position: sticky;
  bottom: -16px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  background: var(--panel);
  border-top: 2px solid var(--gold);
  margin: 10px -12px -16px;
  padding: 10px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-live-price {
  display: grid;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-live-price > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-live-price strong {
  font-size: var(--type-title);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-live-footer .game-button {
  padding: 8px;
  min-height: 44px;
  min-width: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen:has([data-page-tab-value='roster']:checked) > .auction-live-footer,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen:has([data-page-tab-value='upcoming']:checked) > .auction-live-footer,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen:has([data-page-tab-value='teams']:checked) > .auction-live-footer,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-screen:has([data-page-tab-value='rules']:checked) > .auction-live-footer {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rtm-label {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rtm-label strong {
  color: var(--gold);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rtm-label span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-rtm-label b {
  margin-left: auto;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rtm-final-input {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rtm-final-input input {
  width: 100px;
  min-width: 0;
  min-height: 36px;
  padding: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rtm-eligible {
  color: var(--gold);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices .game-button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 54px;
  padding: 9px;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices strong {
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .franchise-choices [aria-pressed='true'] {
  border-color: var(--gold);
  background: #34476a;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-actions {
  display: flex;
  gap: 8px;
  position: sticky;
  bottom: -15px;
  margin: 12px -15px -15px;
  padding: 12px 15px;
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .career-start-actions button {
  flex: 1;
  font-size: var(--type-caption) !important;
  padding: 8px !important;
  min-height: 44px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .kit-colour-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .kit-colour-fields label {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .kit-colour-fields input,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .kit-colour-fields select {
  width: 100%;
  min-height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-list {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 108px !important;
  gap: 9px !important;
  align-items: center;
  padding: 8px !important;
  min-height: 72px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-row-summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-facility-row .facility-art {
  width: 52px !important;
  height: 48px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy {
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-card-copy strong {
  font-size: var(--type-body) !important;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-row-level {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-row-level > span {
  font-size: var(--type-caption) !important;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-level-pips {
  display: flex !important;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-level-pips i {
  width: 6px;
  height: 6px;
  background: #42516c;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-level-pips .is-built {
  background: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-facility-row > .game-button {
  min-width: 0;
  width: 108px;
  min-height: 44px;
  font-size: var(--type-caption);
  padding: 8px 3px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .facility-row-max {
  font-size: var(--type-caption);
  color: var(--dim);
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 10px;
  padding: 12px 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row p {
  font-size: var(--type-caption) !important;
  margin: 5px 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .management-activity-row .game-button {
  font-size: var(--type-caption) !important;
  min-width: 0 !important;
  padding: 8px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dt {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dd {
  margin: 5px 0 0;
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-pair {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team {
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-align: left !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team .team-badge,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team .club-badge {
  width: 28px;
  height: 33px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-team strong {
  font:
    700 var(--type-caption) / 1.3 Manrope,
    Arial,
    sans-serif !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-fixture-venue {
  font-size: var(--type-caption);
  color: var(--dim);
  margin: 10px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-next-match {
  padding: 12px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-next-match .home-play {
  font-size: var(--type-caption);
  min-height: 44px;
  padding: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-card-heading {
  margin-bottom: 12px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-card-heading h2 {
  font-size: var(--type-section) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card {
  min-height: 76px !important;
  padding: 10px !important;
  gap: 8px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card strong {
  font-size: var(--type-body) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card small,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-action-card em {
  font-size: var(--type-caption) !important;
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-shortcut {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  margin: 8px 0 12px;
  background: var(--panel);
  border: 1px solid var(--edge);
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-shortcut > .club-kit-preview {
  width: 76px;
  height: 76px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-shortcut > span {
  min-width: 0;
  display: grid;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-shortcut strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-shortcut small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-shortcut > span:last-child {
  color: var(--gold);
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-partner-marks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-partner-marks > span {
  display: flex;
  gap: 3px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-partner-marks .sponsor-mark {
  width: 20px;
  height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-current,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid var(--edge);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-current > .sponsor-mark,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer > .sponsor-mark {
  width: 40px;
  height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-current h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer h3 {
  font-size: var(--type-section) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .sponsor-offer .game-button {
  font-size: var(--type-caption) !important;
  min-height: 40px;
  padding: 7px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-career-total,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-history-row {
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: 12px;
  margin: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-history-row header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-history-row header > strong {
  font-size: var(--type-name);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-history-row header > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  margin: 12px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-stat-grid dt {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .season-stat-grid dd {
  margin: 4px 0 0;
  font-size: var(--type-name);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cap-orange {
  color: #f3ad58;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .cap-purple {
  color: #c7a5f0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hall-of-fame > article {
  border-top: 1px solid var(--edge);
  padding: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hall-of-fame > article > strong {
  display: block;
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .hall-of-fame > article > span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .recent-performance-panel {
  padding: 12px;
  border: 1px solid var(--edge);
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-history-chart {
  width: 100%;
  height: auto;
  color: var(--dim);
  fill: currentColor;
  font:
    var(--type-caption) Manrope,
    Arial,
    sans-serif;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-history-key {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-history-key li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--edge);
  padding: 7px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-history-key strong {
  font-weight: 600;
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .form-history-key span {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards {
  gap: 8px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards > div {
  padding: 12px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .record-cards dd {
  font-size: var(--type-number) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .stats-period {
  background: none !important;
  color: var(--dim) !important;
  font-size: var(--type-caption) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records td:first-child,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records th:first-child {
  width: 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records td:not(:nth-child(2)),
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records th:not(:nth-child(2)) {
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records td:nth-child(2) {
  font-family: var(--player-font);
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records td {
  padding: 10px 8px !important;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .position-records th {
  padding: 10px 8px !important;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, 1.4fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--edge);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-row > .partnership-player {
  display: grid;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-row > .partnership-player:last-child {
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-row .partnership-player strong {
  font-family: var(--player-font);
  font-size: var(--type-body);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-centre {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-centre > strong {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-centre small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-stack {
  display: flex;
  height: 14px;
  min-width: 3px;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-left {
  background: #e7a05a;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-right {
  background: #77c4d1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-extras {
  background: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-row {
  grid-template-columns: 20px minmax(0, 1fr) 36px 36px !important;
  gap: 5px !important;
  padding: 10px 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-copy > strong {
  font-size: var(--type-section) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-player-meta {
  display: grid !important;
  grid-template-columns: 36px 18px minmax(0, 1fr) !important;
  gap: 5px 7px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-role-slot {
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-overseas-slot {
  grid-column: 2;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-readiness-slot {
  grid-column: 1/-1 !important;
  grid-row: 2 !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-readiness-slot > small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-form-slot {
  grid-column: 1/-1 !important;
  grid-row: 3 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-screen .squad-medical-slot {
  grid-column: 3 !important;
  grid-row: 1 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook {
  grid-column: 2/-1;
  max-width: none !important;
  margin: 4px 0 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook.is-compact .scout-reading {
  grid-template-columns: 74px minmax(20px, 1fr) 43px !important;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .player-outlook-meta {
  display: flex !important;
  justify-content: space-between;
  padding-left: 79px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-outlook .scout-confidence {
  margin-left: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-drag-handle,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-report {
  min-width: 36px !important;
  width: 36px !important;
  min-height: 44px !important;
  padding: 6px !important;
  align-self: start;
  margin-top: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--edge);
  background: var(--panel2);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-drag-handle svg {
  width: 16px;
  height: 19px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-owned-gear > li {
  display: block;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-open {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  background: none;
  border: 0;
  color: var(--cream);
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-open > span {
  display: grid;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-open strong {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-open span > span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-gear-open small {
  font-size: var(--type-caption);
  color: var(--dim);
  line-height: 1.4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics > .player-role-symbols {
  width: 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-metrics .role-symbol {
  width: 16px;
  height: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-copy {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player-copy > strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .store-player {
  min-width: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-copy-source {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid var(--edge);
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-copy-source legend {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .bag-copy-source button {
  font-size: var(--type-caption);
  min-height: 40px;
  padding: 6px 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-copy-source [aria-pressed='true'] {
  color: var(--gold);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-players {
  display: grid;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-player {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  min-height: 64px;
  padding: 10px;
  border: 1px solid var(--edge);
  background: var(--panel2);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-player > span {
  display: grid;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-player strong {
  font-family: var(--player-font);
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-player small {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-player > b {
  font-size: var(--type-caption);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .bag-gear-player:disabled {
  opacity: 0.65;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-bag-body {
  padding: 12px;
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-bag-body .player-inventory {
  border: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-bag-body .player-supply {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 55px;
  gap: 9px;
  padding: 10px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-bag-body .player-supply h4 {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-bag-body .player-supply p {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .player-bag-body .player-supply button {
  font-size: var(--type-caption) !important;
  min-width: 0 !important;
  padding: 5px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-player-card {
  position: relative;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-player-card .phone-player {
  height: 100%;
  width: 100%;
  padding-bottom: 26px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .keep-strike-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 27px !important;
  padding: 3px 6px !important;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--dim);
  font:
    var(--type-caption) Manrope,
    Arial,
    sans-serif !important;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .keep-strike-toggle svg {
  width: 13px;
  height: 13px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .keep-strike-toggle[aria-pressed='true'] {
  background: var(--gold);
  color: #101d27;
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-player-card > .keep-strike-toggle {
  position: absolute;
  right: 6px;
  bottom: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player {
  position: relative;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player > div {
  min-width: 0;
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player > .keep-strike-toggle {
  align-self: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .batting-manager-header .keep-strike-toggle {
  margin-left: auto;
  align-self: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row {
  grid-template-columns: auto minmax(0, 1fr) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row > strong {
  display: grid;
  gap: 3px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-feed-row > strong small {
  color: var(--gold);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .chance-badge {
  font-size: inherit !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-speed button:active {
  transform: none !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-outfield dd {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel[data-weather='drizzle'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel[data-weather='rain'] {
  border-left-color: #82bace;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .rain-ground-note {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .game-guide-dialog {
  padding: 16px;
  background: var(--panel);
  color: var(--cream);
  border: 1px solid var(--edge);
  max-width: min(480px, calc(100vw - 24px));
  max-height: calc(100dvh - 30px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-header h2 {
  font-size: var(--type-title);
  color: var(--gold);
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-header button {
  min-height: 40px;
  padding: 8px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-steps {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-steps b {
  background: var(--gold);
  color: #101d27;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-steps strong {
  font-size: var(--type-body);
  display: block;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-steps p {
  font-size: var(--type-caption);
  color: var(--dim);
  margin: 4px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-actions {
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-actions button {
  font-size: var(--type-caption);
  padding: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-hud {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--panel2);
  border-left: 3px solid var(--gold);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .guide-hud > span {
  flex: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .youth-form-list {
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .youth-form-row {
  border: 1px solid var(--edge);
  padding: 10px;
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .youth-form-row strong {
  font-family: var(--player-font);
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .youth-form-row p {
  font-size: var(--type-caption);
  color: var(--dim);
  margin: 5px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .youth-form-row b {
  color: var(--gold);
}
@container game (max-width:500px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team-board {
    gap: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team {
    padding: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .auction-team > b {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .retention-player {
    grid-template-columns: minmax(0, 1fr) 80px;
    padding: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-club-actions {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .scene-subtitle {
    font-size: var(--type-caption) !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dl {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dt {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .training-support-card dd {
    font-size: var(--type-body);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-row {
    grid-template-columns: minmax(0, 1fr) minmax(85px, 1.2fr) minmax(0, 1fr);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .partnership-row .partnership-player strong {
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-selection-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-instruction {
    font-size: var(--type-caption);
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-list-tools {
    display: flex;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-list-tools button {
    font-size: var(--type-caption);
    padding: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-select {
    gap: 7px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-player-copy > strong {
    font-size: var(--type-section) !important;
  }
}
@container game (max-height:500px) and (min-width:700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell:has(.match-screen) .career-strip,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell:has(.match-screen) #n-nav {
    display: none !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-contestants {
    display: grid;
    grid-template-columns: 1fr !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .casual-player {
    min-height: 55px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen {
    padding-top: 5px !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .match-screen .play-style {
    font-size: var(--type-caption);
  }
}
/* Clear inherited desktop spotlight geometry on the compact auction surface. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-stage {
  display: block;
  min-height: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-player {
  padding: 0 !important;
  align-items: start;
  min-height: 0;
  grid-template-columns: 70px minmax(0, 1fr) !important;
  gap: 10px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-spotlight {
  padding: 0 !important;
  min-height: 0;
  align-self: start;
  width: 70px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-spotlight::before,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-spotlight::after {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-player-copy {
  padding: 0;
  align-self: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-lot-skills .skill-band > * {
  grid-row: auto !important;
  grid-column: auto !important;
  justify-self: stretch;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-lot-skills .skill-band {
  display: grid !important;
  grid-template-columns: 48px minmax(20px, 1fr) 22px !important;
  gap: 6px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-lot-skills .skill-band svg {
  width: 100% !important;
  height: 7px !important;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .auction-lot-skills .skill-band small {
  text-align: right !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-team {
  flex-direction: row !important;
  justify-content: flex-start !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .facility-card,
    .home-card,
    .home-action-card,
    .sponsor-current,
    .sponsor-offer,
    .profile-panel,
    .record-cards > div
  ) {
  border-radius: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scout-reading > span:first-child small {
  display: block;
  font-size: var(--type-caption);
  margin-top: 3px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-shortcut {
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-player {
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-player-copy {
  flex: 1;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-player-copy strong {
  font-size: var(--type-section);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-player-level {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-outlook .scout-reading > span:first-child {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-outlook .outlook-trend {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scout-confidence > span:last-child {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 75px;
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid var(--edge);
  background: var(--panel2);
  font-size: var(--type-caption) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store strong {
  font-size: var(--type-section) !important;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .delivery-incident {
  font-size: inherit !important;
  line-height: inherit !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-outlook .scout-confidence > span:last-child {
  display: inline;
  font-size: var(--type-caption);
}

/* Give short browser windows the same usable canvas as the native landscape app. */
@media (max-height: 500px) and (max-width: 1100px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page {
    padding: 0;
    max-width: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .site-header,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .page > footer {
    display: none;
  }
:root:where([data-clubs-interface], :has(#n-dialog[open] .player-dossier))[data-display-mode] #game-frame {
    width: 100%;
    max-width: none;
    height: 100dvh;
  }
}
/* Related facts are separate layout items, rather than punctuation in a sentence. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ui-facts {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .ui-facts > span {
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .action-cost {
  margin-left: 10px;
  font-size: 0.85em;
  font-weight: 500;
  opacity: 0.85;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-shortcut {
  grid-template-columns: 56px minmax(0, 1fr) 16px;
  gap: 12px;
  padding: 10px 14px;
  margin: 0 0 12px;
  background: var(--ui-surface, #1b2942);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-shortcut > .club-kit-preview {
  width: 56px;
  height: 64px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-copy {
  display: grid;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-copy > strong {
  font-size: var(--type-body);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .home-sponsor-prompt {
  font-size: var(--type-caption);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-arrow {
  display: flex;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-partner-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-partner {
  display: flex;
  align-items: center;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-partner > span {
  font-size: var(--type-caption);
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-partner small {
  display: block;
  margin-top: 2px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-select {
  min-height: 48px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-condition-row {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 2px 0 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-energy {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-energy > small {
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-energy .player-energy {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-energy .player-energy svg {
  width: 54px;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-energy .player-energy > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-form .player-form {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-outlook {
  margin: 0 !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-comparison {
  display: grid;
  gap: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-reading {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-reading > span:first-child {
  font-size: var(--type-caption);
  line-height: 1.3;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-reading > b {
  text-align: right;
  color: var(--gold);
  font-size: var(--type-caption);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-reading .scout-ability-track,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-reading .scout-range-track {
  width: 100%;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
  padding-left: 86px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-ability-footer .outlook-trend,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-ability-footer .scout-confidence > span:last-child {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-ability-footer .scout-confidence > span:last-child {
  display: inline;
}
@container game (max-width: 380px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .squad-ability-footer {
    padding-left: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-condition-row {
    gap: 6px 12px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-player-card > .keep-strike-toggle {
  position: static;
  justify-self: end;
  margin: 3px 7px 7px;
  width: auto;
  min-width: 78px;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-player-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .casual-player > .keep-strike-toggle {
  position: static;
  margin-left: auto;
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-selection-tools {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-instruction {
  flex: 0 0 auto;
  margin: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-list-tools {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-list-tools button {
  min-height: 32px;
  padding: 5px 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-player-card .phone-player {
  height: auto;
  padding-bottom: 6px;
}


/* Source: https://deepmdesai.com/games/cricket-manager/screen-layout.css */

/* Title regions participate in layout; artwork and audio never float over actions. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-shell[data-screen='title'] #n-app {
  overflow: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: 'heading players' 'actions players' 'audio players';
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-content: center;
  min-height: 100%;
  height: auto;
  padding: 24px;
  isolation: isolate;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: -1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-content {
  display: contents;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading {
  grid-area: heading;
  padding: 0;
  margin: 0;
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading .brand-wordmark {
  width: min(100%, 250px);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-self: center;
  width: 100%;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button {
  min-height: 44px;
  padding: 8px;
  font-size: var(--type-body);
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions :is([data-action='continue'], [data-action='choose-nation']) {
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions:has([data-action='continue']) [data-action='settings'] {
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-players {
  grid-area: players;
  position: relative;
  inset: auto;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 5px;
  width: 100%;
  max-height: none;
  padding: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star {
  width: 100%;
  max-width: 110px;
  margin: 0;
  transform: none;
  animation: none;
  filter: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star:nth-child(2n) {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > svg:first-child {
  width: 100%;
  max-height: 120px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > span {
  min-height: 34px;
  padding: 5px 2px;
  font-size: var(--type-caption);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > .team-badge {
  width: 18px;
  height: 22px;
  right: 0;
  top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom {
  grid-area: audio;
  position: static;
  inset: auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 6px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-controls {
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-height: 40px;
  padding: 6px;
  font-size: var(--type-caption);
  gap: 5px;
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle-icon {
  width: 18px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .audio-toggle-state {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-bottom .beta-help-link {
  width: 36px;
  height: 40px;
  min-height: 40px;
  box-shadow: none;
}
@container game (max-width: 700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'heading' 'players' 'actions' 'audio';
    grid-template-rows: auto minmax(90px, 1fr) auto auto;
    gap: 14px;
    padding: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading .brand-wordmark {
    width: min(74%, 240px);
    margin-inline: auto;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-players {
    max-width: 460px;
    justify-self: center;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > svg:first-child {
    max-height: 100px;
  }
}
@container game (max-width:700px) and (max-height:650px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene {
    gap: 9px;
    padding: 12px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-heading .brand-wordmark {
    width: min(64%, 180px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > svg:first-child {
    max-height: 68px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-star > span {
    font-size: var(--type-caption);
    min-height: 30px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-actions .game-button {
    min-height: 40px;
    padding: 6px;
    font-size: var(--type-caption);
  }
}
/* Pair cards own their strike switches. Bowler and playback controls share one bottom band. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
  grid-template-columns: minmax(104px, 0.7fr) minmax(0, 1.3fr);
  grid-template-areas: 'score score' 'ground ground' 'comment comment' 'status status' 'batters batters' 'bowler controls';
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .match-scoreboard {
  grid-area: score;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .stadium-wrap {
  grid-area: ground;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .match-commentary {
  grid-area: comment;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > #field-status {
  grid-area: status;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match #phone-contestants {
  display: contents;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-batting-pair {
  grid-area: batters;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match #phone-contestants > .phone-player-card {
  grid-area: bowler;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock {
  grid-area: controls;
  padding: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 2px 6px 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-footer .player-settled {
  display: inline-flex;
  gap: 3px;
  font-size: var(--type-caption);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-footer .player-settled progress {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-footer .keep-strike-toggle {
  font-size: var(--type-caption) !important;
  padding: 3px 5px !important;
  min-width: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler {
  align-items: center;
  height: 100%;
  padding: 5px;
  gap: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .phone-player-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .phone-player-copy > strong {
  white-space: normal;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .phone-player-copy > .phone-player-figures {
  align-self: auto;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .player-form-copy {
  font-size: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .player-form-copy b {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-quick-plans .game-button {
  min-height: 36px;
  font-size: var(--type-caption);
  line-height: 12px;
  padding: 4px 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-buttons .game-button {
  min-height: 40px;
  font-size: var(--type-caption);
  padding: 6px 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-speed-control {
  position: absolute;
  left: 7px;
  top: 50%;
  margin-top: -20px;
  z-index: 3;
  width: 44px;
  min-height: 40px;
  display: grid;
  gap: 0;
  padding: 3px;
  line-height: 1.1;
  transform: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-speed-control:active {
  transform: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-speed-control strong {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .field-speed-control small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .title-scene > canvas {
  grid-area: players;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match > .stadium-wrap {
  container: field / size;
}
@container field (max-height:260px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 8px;
    width: 190px;
    padding: 4px 6px;
    top: 5px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather {
    min-height: 22px;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather-art {
    width: 18px;
    height: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-weather > strong {
    font-size: var(--type-name);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface {
    margin: 0;
    padding: 0;
    border: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface > span:last-child {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 5px;
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dl > div {
    display: flex;
    align-items: baseline;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dt {
    font-size: var(--type-caption);
    letter-spacing: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel dd {
    font-size: var(--type-caption);
    margin: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-outfield {
    grid-column: auto;
  }
}
@container field (max-height:190px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-panel {
    left: 60px;
    width: min(190px, calc(100% - 116px));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .venue-board {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-speed-control {
    top: calc(50% - 24px);
    margin-top: 0;
  }
}

@container field (min-height:191px) and (max-height:260px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .venue-board {
    top: auto;
    bottom: 7px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 120px);
  }
}
/* Impact choices size to the dialog, never to the surrounding browser width. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog {
  container: impact / inline-size;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .phone-sheet-header {
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .phone-sheet-header h2 {
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .phone-sheet-header .game-button {
  min-height: 36px;
  padding: 6px 10px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-body {
  padding: 12px;
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-context {
  padding: 9px 10px;
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-context h3 {
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-context p {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-body .impact-choice-note {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .impact-player-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 8px;
  padding: 10px;
  background: var(--ui-surface, #1b2942);
  border: 1px solid var(--edge);
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-option > .impact-person {
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-option > .impact-player-detail {
  grid-column: 1;
  grid-row: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-option > b {
  grid-column: 2;
  grid-row: 1 / 3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-option[aria-pressed='true'] {
  border-color: var(--gold);
  background: var(--panel);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .impact-person strong {
  display: block;
  font-size: var(--type-section);
  white-space: normal;
  overflow-wrap: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .impact-person small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .impact-player-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > span {
  min-width: 0;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > .impact-metric-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-metric-row > b {
  text-align: right;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-metric-row .selection-ability {
  display: flex;
  min-width: 0;
  width: 100%;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-metric-row .selection-ability-icon {
  width: 16px;
  height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-metric-row .selection-ability-track {
  flex: 1;
  width: auto;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-energy progress {
  width: 100%;
  height: 7px;
  accent-color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > .impact-quota {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-quota > b {
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-quota-blocks {
  display: flex;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-quota-blocks i {
  width: 13px;
  height: 7px;
  background: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > .impact-style {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail .impact-confidence .scout-confidence {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > .impact-career-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-selected {
  grid-template-columns: minmax(0, 1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .phone-sheet-actions {
  padding: 10px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-dialog .phone-sheet-actions .game-button {
  min-height: 40px;
  font-size: var(--type-caption);
}
@container impact (max-width:480px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-swap {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* One currency mark and one toolbar treatment throughout club management. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .club-money {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .club-money > .club-coin {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 84px;
  padding: 7px 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store > .store-basket {
  width: 22px;
  height: 22px;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store > strong {
  font-size: var(--type-name);
  line-height: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-heading .scene-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar {
  padding: 4px 8px;
  min-height: 48px;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar .topbar-tools {
  display: flex;
  gap: 4px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar .game-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 7px;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--cream);
  border-radius: 0;
  box-shadow: none;
  font-size: var(--type-title);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar .audio-toggle[aria-pressed='true'] {
  border-color: var(--mint);
  background: #223c44;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar > .game-button > span {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar .game-button > svg {
  width: 21px;
  height: 21px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scout-reading {
  grid-template-columns: 110px minmax(0, 1fr) 45px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .player-outlook.is-compact .scout-reading {
  grid-template-columns: 110px minmax(0, 1fr) 45px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scout-reading > span:first-child {
  font-size: var(--type-caption);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-ability-reading {
  grid-template-columns: 110px minmax(0, 1fr) 42px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-ability-footer {
  padding-left: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .scout-confidence > span:last-child {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .academy-prospect-card {
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-heading {
  gap: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-new {
  width: 34px;
  height: 24px;
  min-width: 34px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: #132238;
  font-size: var(--type-caption);
  font-weight: 800;
  letter-spacing: 0.04em;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-badges {
  margin-block: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-actions {
  margin-top: 10px;
  padding-top: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-actions .game-button {
  min-height: 40px;
  padding: 7px;
  font-size: var(--type-caption);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .promotion-window {
  display: block;
  font-size: var(--type-caption);
  font-weight: 500;
}
/* Preserve the same visible controls when a phone unfolds into the wider scene. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .play-style + .match-screen.is-casual {
  height: calc(100% - 43px);
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .is-casual .dugout {
  overflow: auto;
  min-height: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .impact-quota-blocks i {
  background: linear-gradient(
    to right,
    var(--mint) var(--quota-fill, 100%),
    var(--edge) var(--quota-fill, 100%)
  );
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .training-session-card .club-money {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .store-pack-price .club-money {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-running-cost {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  padding: 8px 0;
  border-top: 1px solid var(--edge);
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store {
  flex-direction: row;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store > strong {
  font-size: var(--type-name) !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-heading {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-heading > .prospect-new {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-heading > .pixel-portrait {
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .prospect-heading > div {
  grid-column: 2;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .career-store .club-money > span {
  font-size: var(--type-name);
  line-height: 1;
  font-weight: 800;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button:disabled {
  opacity: 1;
  background: var(--navy);
  border-color: var(--edge);
  color: var(--dim);
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > .impact-metric-row,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-player-detail > .impact-quota {
  grid-template-columns: 64px minmax(0, 1fr) 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-energy progress {
  appearance: none;
  border: 0;
  background: var(--edge);
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-energy progress::-webkit-progress-bar {
  background: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-energy progress::-webkit-progress-value {
  background: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .impact-energy progress::-moz-progress-bar {
  background: var(--mint);
}


/* Source: https://deepmdesai.com/games/cricket-manager/ui-components.css */

/* Interface contract: semantic typography, spacing and states. Geometry lives in screen-layout.css. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame {
  --ui-heading: var(--type-title);
  --ui-section-heading: var(--type-section);
  --ui-body: var(--type-body);
  --ui-label: var(--type-caption);
  --ui-font: var(--font-ui);
  --player-font: var(--font-player);
  font-family: var(--font-ui);
  font-size: var(--type-body);
  font-weight: var(--weight-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(h2, .scene-title) {
  font-size: var(--type-title);
  line-height: 1.2;
  font-weight: var(--weight-title);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(h3, .scene-section-heading h3) {
  font-size: var(--type-section);
  line-height: 1.25;
  font-weight: var(--weight-section);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(h4, .subheading) {
  font-size: var(--type-body);
  line-height: 1.4;
  font-weight: var(--weight-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(p, li, .management-copy) {
  font-size: var(--type-body);
  line-height: 1.45;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(small, dt, .scene-subtitle, .profile-empty, .stats-period) {
  font-size: var(--type-caption);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .impact-person strong,
    .prospect-heading strong,
    .phone-choice-person strong,
    .player-menu-copy strong,
    .squad-player-copy > strong,
    .store-player-copy > strong,
    .retention-player-copy > strong,
    .auction-list-player > strong,
    .profile-identity h2,
    .staff-identity h4,
    .record-person
  ) {
  font-family: var(--font-player);
  font-size: var(--type-name) !important;
  font-weight: var(--weight-name);
  letter-spacing: 0;
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(button, input, select, summary) {
  font-family: var(--font-ui);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button {
  font-size: var(--type-body);
  line-height: 1.3;
  font-weight: var(--weight-button);
  min-height: var(--control-menu);
  padding: 8px 12px;
  border-radius: 0;
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(input:not([type='radio']):not([type='checkbox']):not([type='hidden']), select) {
  min-height: var(--control-menu);
  font-size: var(--type-body);
  padding: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button.primary {
  background: var(--gold);
  color: var(--night);
  border: 1px solid var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button:disabled {
  background: var(--navy);
  color: var(--dim);
  border-color: var(--edge);
  opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-button:active {
  transform: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.game-topbar .game-button, .phone-match-pause) {
  width: var(--control-menu);
  height: var(--control-menu);
  min-width: var(--control-menu);
  min-height: var(--control-menu);
  padding: 10px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-topbar {
  min-height: 52px;
  height: 52px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .page-tab-label {
  min-height: var(--control-menu);
  font-size: var(--type-caption);
  font-weight: var(--weight-button);
  padding: 8px 4px;
  color: var(--dim);
  background: var(--navy);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .page-tab-input:checked + .page-tab-label,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(.section-tabs, .squad-roster-tabs, .store-sections, .staff-role-tabs)
  [aria-pressed='true'] {
  color: var(--cream);
  background: var(--brand-cobalt);
  border-color: var(--edge);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen {
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.scene-header, .scene-section-heading) {
  margin: 0 0 16px;
  gap: 12px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.phone-sheet-header, .player-menu-heading, .report-header, .gear-picker-header) {
  padding: 12px;
  gap: 12px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(.phone-sheet-header h2, .player-menu-heading h2, .report-header h2, .gear-picker-header h2) {
  font-size: var(--type-title);
  line-height: 1.2;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.phone-sheet-actions, .gear-picker-footer) {
  padding: 12px;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.phone-sheet-body, .player-report-body, .gear-picker-body) {
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.ui-facts, .form-history-key li) {
  gap: 4px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.scout-ability-track, .scout-range-track, .selection-ability-track) {
  height: var(--control-meter);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .readiness-label,
    .readiness-row > b,
    .scout-reading > span:first-child,
    .scout-reading > b,
    .squad-ability-reading > span:first-child,
    .squad-ability-reading > b
  ) {
  font-size: var(--type-caption);
  line-height: 1.35;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .squad-ability-footer .outlook-trend,
    .squad-ability-footer .scout-confidence > span:last-child,
    .scout-confidence > span:last-child
  ) {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.club-money, .money-value, .scene-counter, .record-cards dd, td.numeric) {
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .club-money > .club-coin {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offers {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  background: var(--navy);
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer > .sponsor-mark {
  width: 48px;
  height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer h3 {
  margin: 0;
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-category {
  display: block;
  color: var(--dim);
  font-size: var(--type-caption);
  margin-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer .season-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer .season-stat-grid dd {
  font-size: var(--type-section);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-market-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-market-filter select {
  max-width: 72%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer .game-button {
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-mark {
  overflow: visible;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offer .action-cost {
  margin: 0 0 0 8px;
  font-size: var(--type-caption);
}
/* The live match is the deliberate compact exception, with one type scale for both teams. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player-card {
  display: block;
  position: relative;
  background: var(--navy);
  border-bottom: 2px solid transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player-card.is-striker {
  border-bottom-color: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player.is-striker {
  box-shadow: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player {
  min-height: 48px;
  height: auto;
  padding: 6px;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player-copy > strong,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .phone-player-copy > strong {
  font-family: var(--font-player);
  font-weight: var(--weight-name);
  font-size: var(--type-section);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match :is(.phone-player-figures, .phone-player-figures b) {
  font-size: var(--type-body);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player-copy > strong > small {
  font-size: var(--type-micro);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 2px 6px 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-metrics :is(.player-form, .player-settled) {
  font-size: var(--type-micro);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-metrics .player-form {
  gap: 4px;
  flex-wrap: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-metrics .player-form svg {
  width: 28px;
  height: 7px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-metrics .player-settled progress {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock .game-button {
  font-size: var(--type-caption);
  min-height: 40px;
  padding: 6px 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .phone-player-copy {
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .player-form {
  font-size: var(--type-micro);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .player-form-copy {
  font-size: var(--type-micro);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .strike-preference {
  flex: 0 0 160px;
  width: 160px;
  min-width: 160px;
  height: 28px;
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--cream);
  font-size: var(--type-caption);
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .strike-preference[aria-pressed='true'] {
  color: var(--night);
  background: var(--gold);
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .strike-preference:active {
  transform: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-scoreboard:has(.strike-preference) {
  height: 92px;
  grid-template-rows: 58px 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-scoreboard:has(.strike-preference) .phone-score-main {
  grid-template-rows: 42px 14px;
  row-gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-score-identity {
  display: grid;
  align-items: center;
  gap: 0;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-score-team {
  font-size: var(--type-caption);
  line-height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .desktop-score-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-scoreboard:has(.strike-preference):not(.phone-scoreboard) {
  grid-template-columns: minmax(250px, 1.2fr) auto minmax(0, 0.8fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .match-commentary {
  padding: 6px 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .match-commentary > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  overflow: hidden;
  margin: 4px 0 0;
  font-size: var(--type-body);
  line-height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .over-feed-row {
  grid-template-columns: auto minmax(0, 1fr) 54px !important;
  gap: 6px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-rate {
  display: grid;
  gap: 1px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .over-rate small {
  font-size: var(--type-micro);
  line-height: 1.2;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .over-rate b {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-speed-control {
  min-height: 44px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-speed-control small {
  font-size: var(--type-micro);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.analysis-chart, .form-history-chart) text {
  font-family: var(--font-ui);
  font-size: var(--type-micro);
}
@container game (min-width:701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen {
    padding: 16px;
  }
}
@container game (max-width:360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-player .pixel-portrait {
    width: 24px;
    height: 29px;
    flex-basis: 24px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .phone-player-figures b {
    font-size: var(--type-caption);
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen .sticky-actions {
  margin: 12px -12px -12px;
  padding: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-effects {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-effects > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .condition-effects dd {
  margin: 0;
}
@container game (min-width:701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen .sticky-actions {
    margin-inline: -16px;
    margin-bottom: -16px;
  }
}
/* Selected controls use the same cobalt, cream and gold treatment in setup. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .career-mode-options .game-button[aria-pressed='true'] {
  background: var(--brand-cobalt);
  color: var(--cream);
  border-color: var(--edge);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .delivery-chip.unplayed {
  color: var(--dim);
  opacity: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .auction-team :is(strong, small) {
  overflow-wrap: anywhere;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .player-bag-body .player-supply {
  grid-template-columns: 40px minmax(0, 1fr) 55px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .player-supply-copy {
  overflow-wrap: anywhere;
}
@container game (max-width: 700px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .auction-team-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .conditions-panel dl > div {
    flex-wrap: wrap;
    gap: 2px 4px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog .player-supply {
  grid-template-columns: 40px minmax(0, 1fr) 55px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog .player-supply-icon svg {
  width: 32px;
  height: 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog .player-supply-copy h4 {
  white-space: normal;
  overflow-wrap: anywhere;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .league-table .your-team span {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .score-team .team-stamp {
  width: 42px;
  min-width: 42px;
  height: 42px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .conditions-panel dl > div {
  flex-wrap: wrap;
  gap: 2px 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar {
  flex-wrap: wrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar .field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .analysis-tabs,
    .planner-switch,
    .match-speed,
    .batting-intent,
    .casual-plans,
    .club-office-tabs,
    .facility-selector
  )
  button[aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .cricket-scorecard .scorecard-tabs .game-button[aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .result-screen .scorecard-innings .game-button[aria-pressed='true'] {
  background: var(--brand-cobalt);
  color: var(--cream);
  border-color: var(--edge);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(
    .casual-player > div > strong,
    .batting-manager-header > span > strong,
    .opposition-bowler > strong,
    .batter-read > div > strong,
    .match-choice-copy > strong
  ) {
  font-family: var(--font-player);
  font-size: var(--type-section);
  font-weight: var(--weight-name);
  line-height: 1.2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .casual-player > div > span {
  font-size: var(--type-body);
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar .field-actions {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar .field-actions .game-button {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.training-page-choices, .squad-choice-tabs) button[aria-pressed='true'] {
  background: var(--brand-cobalt);
  color: var(--cream);
  border-color: var(--edge);
  box-shadow: inset 0 -3px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame
  :is(.squad-target > span > strong, .phone-dismissed-player > strong, .player-of-match > strong) {
  font-family: var(--font-player);
  font-size: var(--type-name);
  font-weight: var(--weight-name);
  line-height: 1.25;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .dugout .batting-intent {
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .dugout .batting-intent .game-button {
  padding-inline: 4px;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog {
  font-family: var(--font-ui);
  font-size: var(--type-body);
  background: var(--navy);
  color: var(--cream);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog h2 {
  font-size: var(--type-title);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog .report-header > div > span {
  font-family: var(--font-player);
  font-size: var(--type-name);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #player-bag-dialog .player-supply {
  background: var(--panel);
  border-color: var(--edge);
}
@media (max-height: 460px) and (min-width: 701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .play-style {
    height: 32px;
    min-height: 32px;
    padding: 2px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .play-style .game-button {
    min-height: 28px;
    height: 28px;
    padding: 3px 8px;
    font-size: var(--type-caption);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .play-style + .match-screen.is-casual {
    height: calc(100% - 32px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-scoreboard {
    min-height: 64px;
    padding: 4px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .stadium-column .match-commentary {
    min-height: 64px;
    height: 64px;
    padding: 4px 8px;
    overflow: hidden;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .stadium-column .match-commentary p {
    margin: 0;
    line-height: 18px;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar {
    min-height: 40px;
    padding: 2px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar .field-summary {
    display: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .field-toolbar .game-button {
    min-height: 36px;
    height: 36px;
    padding: 4px 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel {
    width: 280px;
    max-width: calc(100% - 16px);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel dl > div {
    flex-wrap: wrap;
    gap: 2px 4px;
  }
}
@media (max-height: 460px) and (min-width: 701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .stadium-column .match-commentary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .stadium-column .recent-balls {
    min-width: 0;
    max-height: 54px;
    overflow-x: auto;
  }
}
/* Setup fields share label/control rhythm; the active tab already names the section. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-heading {
  margin-bottom: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .career-mode-options {
  margin: 0 0 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog #career-setup-intro {
  margin: 0 0 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog #custom-club-fields {
  margin-top: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog #custom-club-fields .page-tabs-panels {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .club-kit-options {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog :is(.club-kit-options label, .club-name-fields label) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: var(--type-body);
  line-height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .club-kit-options :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .club-kit-options .kit-colour-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .club-name-fields {
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .career-name-label {
  gap: 8px;
  margin: 16px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog #league-place-heading {
  margin-top: 16px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-choices .game-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  height: 60px;
  min-height: 60px;
  padding: 8px 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-choices .game-button > strong {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  font-size: var(--type-body);
  line-height: 20px;
  font-weight: var(--weight-button);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-choices strong > span {
  display: block;
  font: inherit;
  color: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-choices .game-button > svg {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog #league-place-note {
  margin: 8px 0 16px;
}
@container game (max-width: 480px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #franchise-dialog .franchise-choices {
    grid-template-columns: 1fr;
  }
}
/* Club home: one match focal point, then illustrated management choices. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .club-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  max-width: 760px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-pair {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-team {
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center;
  gap: 8px;
  text-align: center !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-team > svg {
  width: 36px;
  height: 42px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-team > strong {
  font-size: var(--type-body) !important;
  line-height: 20px;
  min-height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-versus {
  margin: 0;
  font-size: var(--type-caption);
  color: var(--dim);
  text-align: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-venue-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--edge);
  padding-top: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-venue-row .facility-art {
  width: 36px;
  height: 32px;
  flex: 0 0 36px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-venue {
  margin: 0;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-next-match .home-play {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-shortcut {
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  padding: 10px 12px;
  gap: 12px;
  margin: 0;
  min-height: 72px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-sponsor-shortcut > .club-kit-preview {
  width: 40px;
  height: 46px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-club-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 12px;
  grid-template-rows: 40px auto;
  align-content: start;
  align-items: center;
  min-height: 116px !important;
  gap: 8px !important;
  padding: 10px !important;
  background: var(--navy);
  border-color: var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-art {
  display: block;
  grid-row: 1;
  grid-column: 1;
  width: 40px;
  height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-art .facility-art {
  display: block;
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-art .pixel-portrait {
  width: 32px;
  height: 40px;
  image-rendering: pixelated;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card > strong {
  grid-column: 2;
  grid-row: 1;
  font-size: var(--type-body) !important;
  line-height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card > .home-action-arrow {
  grid-column: 3;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts {
  display: grid;
  grid-column: 1/-1;
  grid-row: 2;
  gap: 4px;
  min-width: 0;
  font-size: var(--type-caption);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts > small {
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts progress {
  width: 100%;
  height: 6px;
  accent-color: var(--mint);
}
@container game (min-width: 701px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .club-home {
    padding: 16px;
    gap: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-club-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@container game (max-width: 360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card {
    grid-template-columns: 32px minmax(0, 1fr) 8px;
    gap: 6px !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-art,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-art .facility-art {
    width: 32px;
    height: 36px;
  }
}
/* Numbered cards carry batting order; the footer is one full-width action. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-selection-tools {
  display: block;
  margin: 12px 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-list-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-list-tools .game-button {
  min-height: 44px;
  border: 1px solid var(--edge);
  background: var(--panel);
  padding: 8px;
  text-decoration: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-roster ol {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-row {
  grid-template-columns: 36px minmax(0, 1fr) 36px 36px !important;
  padding: 10px !important;
  gap: 6px !important;
  background: var(--navy);
  border: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-position {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--edge);
  background: var(--panel);
  color: var(--gold);
  font-size: var(--type-number);
  font-weight: var(--weight-title);
  cursor: grab;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-position.is-bench {
  border: 0;
  background: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-xp {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font: 500 var(--type-caption) / 16px var(--font-ui);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-player-xp > span {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-ability-reading {
  grid-template-columns: 110px minmax(0, 1fr) 56px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame :is(.squad-ability-reading, .scout-reading) > b {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  min-width: max-content;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .game-screen .squad-footer {
  display: block;
  min-height: 52px;
  padding: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .squad-footer > .game-button {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 52px;
  padding: 12px;
  border: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid var(--edge);
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation > div {
  display: grid;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation span {
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation strong {
  font-size: var(--type-body);
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation-value {
  text-align: right;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation-value b {
  color: var(--gold);
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-reputation progress {
  width: 100%;
  height: 8px;
  grid-column: 1/-1;
  accent-color: var(--gold);
}
/* Rates live with the score. Player cards and the control row have distinct edges. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .match-scoreboard.phone-scoreboard {
  height: 105px;
  grid-template-rows: 47px 20px 20px;
  row-gap: 4px;
  padding-block: 5px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-scoreboard:has(.strike-preference) {
  height: 116px;
  grid-template-rows: 58px 20px 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-score-rates {
  grid-column: 1/-1;
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--edge);
  padding-top: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-score-rates > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-score-rates abbr {
  text-decoration: none;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-score-rates b {
  font-size: var(--type-body);
  line-height: 18px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .wide-score-rates {
  display: flex;
  gap: 12px;
  font-size: var(--type-caption);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .wide-score-rates b {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-batting-pair {
  gap: 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-batting-pair > .phone-player-card + .phone-player-card {
  border-left: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-player {
  padding: 8px;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-batter-metrics {
  padding: 0 8px 8px;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match #phone-contestants > .phone-player-card {
  border-right: 1px solid var(--edge);
  padding-block: 4px;
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock {
  padding: 8px;
  gap: 8px;
  background: var(--night);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock .game-button {
  min-height: 40px;
  line-height: 16px;
  padding: 6px 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .result-confetti {
  position: fixed;
  inset: 0;
  z-index: 15;
  overflow: hidden;
  pointer-events: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .result-confetti i {
  position: absolute;
  top: -16px;
  left: var(--confetti-x);
  width: 6px;
  height: 10px;
  background: var(--confetti-color);
  animation: club-confetti 2.8s steps(36, end) var(--confetti-delay) both;
}
@keyframes club-confetti {
  from {
    transform: translate(0, -16px) rotate(0);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  to {
    transform: translate(var(--confetti-drift), 100cqh) rotate(360deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .result-confetti i {
    animation: none;
    top: 12px;
    height: 4px;
    opacity: 0.6;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row {
  grid-template-columns: 44px minmax(0, 1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-deliveries {
  justify-content: space-between;
}
/* The live console owns batting choices; the scoreboard owns match information. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
  grid-template-areas: 'score score' 'ground ground' 'comment comment' 'status status' 'batters batters' 'bowler controls' 'play play';
  grid-template-rows: auto minmax(0, 1fr) auto auto auto auto auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-delivery-footer {
  grid-area: play;
  padding: 8px;
  border-top: 1px solid var(--edge);
  background: var(--navy);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-delivery-footer .phone-play-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-delivery-footer .game-button {
  width: 100%;
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-delivery-footer .stop-over:not([hidden]) {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  margin: 0;
  z-index: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-delivery-footer:has(.stop-over:not([hidden])) .phone-play-buttons {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-mode button {
  min-height: 28px;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--cream);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-mode [aria-pressed='true'],
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression [aria-pressed='true'] {
  background: var(--brand-cobalt);
  box-shadow: inset 0 -2px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-full {
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-full .strike-preference {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-running-risk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-running-risk b {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-running-risk meter {
  min-width: 20px;
  width: 40px;
  height: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression {
  padding: 0 8px 8px;
  display: grid;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression > span {
  font-size: var(--type-micro);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression button {
  padding: 0;
  min-width: 0;
  min-height: 28px;
  background: var(--panel);
  border: 1px solid var(--edge);
  color: var(--cream);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .batting-running-controls {
  display: grid;
  gap: 8px;
  padding: 8px 0;
  border-block: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .match-screen.phone-match {
  grid-template-columns: minmax(124px, 0.9fr) minmax(0, 1.1fr);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-bowler .phone-player-figures b {
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-settings {
  grid-column: 1/-1;
  position: static;
  width: 100%;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-settings > summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 8px 0;
  font-size: var(--type-body);
  border-top: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-settings-fields {
  position: static;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  box-shadow: none;
  border: 0;
  gap: 12px;
  background: transparent;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-settings-fields label {
  font-size: var(--type-caption);
  line-height: 16px;
  gap: 8px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .toss-settings-fields :is(select, input) {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  font-size: var(--type-body);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls label {
  display: grid;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls label > span {
  color: var(--dim);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls label:last-child {
  grid-column: 1/-1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls select {
  min-height: 28px;
  width: 100%;
  min-width: 0;
  padding: 3px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .match-rewards .reward-costs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .reward-costs .club-money {
  display: inline-flex;
  align-items: baseline;
  line-height: inherit;
  font-size: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .reward-costs .club-coin {
  align-self: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .reward-costs .club-money > span {
  font-size: inherit;
  line-height: inherit;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .player-of-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-copy .result-eyebrow {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-copy > strong {
  font-family: var(--font-player);
  font-size: var(--type-name);
  line-height: 22px;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-copy > p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-art {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-art > :first-child {
  width: 32px;
  height: 38px;
  flex: 0 0 32px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-art > .pixel-portrait {
  width: 48px;
  height: 58px;
  flex: 0 0 48px;
}
@container game (max-width: 360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .player-of-match {
    grid-template-columns: minmax(0, 1fr) 72px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-art {
    gap: 8px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-art > :first-child {
    width: 28px;
    flex-basis: 28px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .award-art > .pixel-portrait {
    width: 36px;
    height: 44px;
    flex-basis: 36px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .staff-identity {
  display: grid;
  gap: 8px;
  align-content: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .staff-identity :is(h4, p) {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .staff-identity p {
  font-size: var(--type-body);
  line-height: 20px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .staff-identity .staff-approach {
  font-size: var(--type-caption);
  line-height: 16px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression > span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-aggression > span > b {
  font-size: var(--type-micro);
  color: var(--cream);
  font-weight: var(--weight-button);
}
/* Both console modes and innings sides share one stable control band. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-play-dock {
  display: flex;
  flex-direction: column;
  height: 128px;
  min-height: 128px;
  padding: 4px;
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match #phone-contestants > .phone-player-card {
  min-height: 128px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-mode {
  flex: 0 0 28px;
  margin-bottom: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-bowling-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  height: 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-bowling-row > span {
  font-size: var(--type-micro);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-bowling-segment {
  display: grid;
  grid-template-columns: repeat(var(--choices), minmax(0, 1fr));
  gap: 2px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-bowling-segment button {
  min-height: 28px;
  min-width: 0;
  padding: 0;
  font-size: var(--type-caption);
  color: var(--cream);
  background: var(--navy);
  border: 1px solid var(--edge);
  white-space: nowrap;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-bowling-segment [aria-pressed='true'] {
  background: var(--brand-cobalt);
  box-shadow: inset 0 -2px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-full {
  flex: 1;
  align-content: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-play-dock > .phone-quick-plans {
  flex: 1;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-play-dock > .phone-quick-plans .game-button {
  min-height: 48px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] {
  grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
}
@container game (max-width: 360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .console-bowling-segment button {
    font-size: var(--type-micro);
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] .phone-bowler .pixel-portrait {
    display: none;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='simple'] .phone-play-dock,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='simple'] #phone-contestants > .phone-player-card {
  height: 96px;
  min-height: 96px;
}
@container field (max-height: 190px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .field-speed-control {
    top: 5px;
    margin-top: 0;
    height: 40px;
    min-height: 40px;
    width: 40px;
    min-width: 40px;
    padding: 2px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .field-speed-control strong {
    font-size: var(--type-body);
    line-height: 18px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .field-speed-control small {
    font-size: var(--type-micro);
    line-height: 14px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-ground-tools .game-button {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 4px;
    gap: 2px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-ground-tools .game-button svg {
    width: 16px;
    height: 16px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .phone-ground-tools .game-button span {
    font-size: var(--type-micro);
    line-height: 12px;
  }
}
@container game (max-height: 600px) and (max-width: 360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-shell[data-phone-match='true']:has(.phone-match[data-console='full']) #n-app {
    overflow-y: auto !important;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] {
    min-height: 660px;
    max-height: none;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] > .phone-delivery-footer {
    position: sticky;
    bottom: 0;
    z-index: 4;
  }
}
@container game (max-height: 600px) and (max-width: 360px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] {
    overflow: visible;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame #n-shell[data-phone-match='true']:has(.phone-match[data-console='full']) #n-app {
    scroll-padding-bottom: 64px;
  }
}
/* Running choices control running; shot intent remains on each batter. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .running-intent {
  display: grid;
  gap: 4px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .running-intent > span {
  color: var(--dim);
  font-size: var(--type-micro);
  line-height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .running-intent > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .running-intent button {
  min-height: 28px;
  min-width: 0;
  padding: 0 3px;
  border: 1px solid var(--edge);
  background: var(--navy);
  color: var(--cream);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .running-intent [aria-pressed='true'] {
  background: var(--brand-cobalt);
  box-shadow: inset 0 -2px var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] .phone-play-dock {
  height: 116px;
  min-height: 116px;
  padding: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match[data-console='full'] #phone-contestants > .phone-player-card {
  min-height: 116px;
  display: grid;
  align-content: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-mode {
  margin-bottom: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-bowling-controls {
  gap: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-console-full {
  gap: 6px;
  align-content: start;
  padding-top: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row {
  min-height: 36px;
  align-items: start;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row > .over-deliveries {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  height: 36px;
  padding-bottom: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row .delivery-chip {
  flex: 0 0 28px;
  min-width: 28px;
  width: 28px;
  height: 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #n-shell .phone-match .over-feed-row .delivery-chip[data-illegal='true'] {
  flex-basis: auto;
  width: auto;
  min-width: 30px;
  padding-inline: 4px;
}
/* Reserve the field corners for controls at every phone field height. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .field-speed-control {
  top: 7px;
  margin-top: 0;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 2px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .field-speed-control strong {
  font-size: var(--type-body);
  line-height: 18px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .field-speed-control small {
  font-size: var(--type-micro);
  line-height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .conditions-panel {
  left: 60px;
  width: min(190px, calc(100% - 116px));
}
@container field (min-height: 191px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .phone-match .venue-board {
    top: auto;
    bottom: 7px;
    left: 60px;
    right: 60px;
    max-width: none;
    text-align: center;
    transform: none;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .selection-energy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: var(--type-caption);
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .selection-energy .player-energy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Scorecard headers and figures share one centered column axis. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .cricket-scorecard .cricket-scorecard-table :is(th, td) {
  text-align: center;
  vertical-align: middle;
  border-inline-end: 1px solid rgb(185 199 235 / 14%);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .cricket-scorecard .cricket-scorecard-table :is(th, td):last-child {
  border-inline-end: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .batting-running-controls .running-intent > span {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .stadium-thumbnail {
  object-fit: contain;
  image-rendering: pixelated;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-venue-row .stadium-thumbnail {
  width: 64px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-art .stadium-thumbnail {
  display: block;
  width: 40px;
  height: 40px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts .is-available {
  color: var(--gold);
  font-weight: 700;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts .is-complete {
  color: #a4afc4;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts .is-attention {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-focus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c6d9ff;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-focus[data-focus-kind='batting'] {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-focus[data-focus-kind='bowling'] {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-focus[data-focus-kind='fielding'] {
  color: #d5c1fa;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts .workload-light {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts .workload-balanced {
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-facts .workload-intense {
  color: #ffba91;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-xi-form {
  display: grid;
  gap: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-form-fact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-form-fact svg {
  flex: none;
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-form-fact:nth-child(2) svg {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-facility-row .stadium-thumbnail {
  width: 64px;
  height: 64px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-facility-summary .stadium-thumbnail {
  width: 160px;
  height: 160px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .youth-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .youth-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .youth-chart-legend span::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #f2d379;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .youth-chart-legend span:nth-child(2)::before {
  background: #a4e1af;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .youth-chart-legend span:nth-child(3)::before {
  background: #c6b6f7;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .sponsor-market-status {
  color: var(--gold);
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-venue-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-top: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-venue-row .stadium-thumbnail {
  width: 96px;
  height: 96px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-venue-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
  text-align: left;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-fixture-venue {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-badges > span {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 4px 6px;
  background: var(--panel2);
  border: 1px solid var(--edge);
  color: var(--cream);
  font-size: 12px;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-badges svg {
  width: 14px;
  height: 14px;
  flex: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-badges [data-pitch='green'] {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-badges [data-pitch='dry'] {
  color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-badges [data-pitch='flat'] {
  color: #a8dce9;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 10px 0;
  border-block: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats > div {
  display: grid;
  grid-template-columns: 18px auto;
  gap: 3px 5px;
  justify-content: center;
  align-items: center;
  padding-inline: 4px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats > div + div {
  border-left: 1px solid var(--edge);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats svg {
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats dt {
  color: var(--dim);
  font-size: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats dd {
  grid-column: 1/-1;
  margin: 0;
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-ground-stats dd small {
  font-size: 12px;
  font-weight: 500;
  margin-left: 2px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-panel {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-panel header {
  display: flex;
  gap: 12px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-panel h3,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-panel p {
  margin: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-options {
  display: grid;
  gap: 8px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-options button {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 14px;
  white-space: normal;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-options [aria-pressed='true'] {
  border-color: var(--gold);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-options button span,
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .curator-options button small {
  font-size: var(--type-caption);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame details.conditions-panel {
  display: block;
  pointer-events: auto;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel > summary {
  display: flex;
  list-style: none;
  cursor: pointer;
  min-height: 28px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel > summary::-webkit-details-marker {
  display: none;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-chevron {
  font-size: 16px;
  flex: none;
  color: var(--cream);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel[open] .conditions-chevron {
  transform: rotate(180deg);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-details {
  display: block;
}
@container field (max-height:260px) {
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel {
    padding: 4px 6px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel .conditions-details {
    display: grid;
    gap: 3px;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel .conditions-surface {
    display: flex;
    margin: 0;
    padding: 0;
  }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .conditions-panel dl {
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-xi-units {
  display: grid;
  gap: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit {
  display: grid;
  gap: 5px;
  min-width: 0;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit-heading {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: center;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit-heading > span {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit-heading > b {
  font-size: 16px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-strength-stars {
  color: var(--gold);
  width: 82px;
  height: 14px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit-bowling .home-strength-stars {
  color: var(--mint);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit .home-form-fact {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 4px;
  font-size: 12px;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit .home-form-fact small {
  font-size: 12px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit .home-form-fact svg {
  width: 30px;
  height: 8px;
  color: var(--dim);
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-unit .home-form-fact b {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card[data-action='go-training'] {
  grid-column: 1;
  grid-row: 1;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card[data-action='go-squad'] {
  grid-column: 2;
  grid-row: 1 / span 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card[data-action='go-academy'] {
  grid-column: 1;
  grid-row: 2;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .home-action-card[data-action='club-section'][data-id='ground'] {
  grid-column: 1/-1;
  grid-row: 3;
  min-height: 96px !important;
}
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) #game-frame .management-club .section-tabs .game-button {
  flex: 1 0 88px;
}


/* CSP-safe equivalents of the published components' inline custom properties.
   Each value is supplied by the same component data, without a style attribute. */
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .console-bowling-segment[data-choices="3"] { --choices: 3; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .console-bowling-segment[data-choices="4"] { --choices: 4; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .console-bowling-segment[data-choices="5"] { --choices: 5; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-over-progress > span[data-innings-overs="5"] { --innings-overs: 5; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-over-progress > span[data-innings-overs="20"] { --innings-overs: 20; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .phone-over-progress > span[data-innings-overs="50"] { --innings-overs: 50; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface-swatch.is-flat { --surface-colour: #d5bd84; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface-swatch.is-green { --surface-colour: #a9c982; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface-swatch.is-dry { --surface-colour: #e4ae78; }
:where(html[data-clubs-interface], html:has(#n-dialog[open].n-clubs-owned-dialog)) .conditions-surface-swatch.is-unknown { --surface-colour: #b9c4d5; }
