/* Ballpark — Mets blue & orange, scoreboard type, outfield-grass felt. */

body[data-theme="ballpark"] {
  --font-display: "Trebuchet MS", "Arial Black", system-ui, sans-serif;
  --font-body: "Verdana", "Trebuchet MS", system-ui, sans-serif;
  --font-tile-num: "Arial Black", "Trebuchet MS", sans-serif;

  --bg: #002d72;                 /* Mets blue */
  --panel: #0a3d8f;
  --ink: #eef2fb;
  --ink-soft: #b8c6e8;
  --ink-faint: #7f93c4;

  --accent: #ff5910;             /* Mets orange */
  --accent-deep: #ff7a3c;
  --accent-ink: #ffffff;
  --mahj-bg: #ffffff;
  --mahj-ink: #002d72;

  --felt: radial-gradient(ellipse at 50% 30%, #2b8c4b, #17632f 75%);
  --felt-ink: #eafbef;
  --felt-shadow: inset 0 0 0 3px #ffffff22, inset 0 2px 16px rgba(0, 0, 0, .35);

  --chip-bg: #144a9e;
  --chip-ink: #ffb38a;
  --east-bg: #ff5910;
  --east-ink: #ffffff;

  --tile-bg: linear-gradient(178deg, #fdfdf8, #eeeade);
  --tile-border: 2px solid #002d72;
  --tile-shadow: 0 3px 6px rgba(0, 0, 0, .45);
  --tile-back: repeating-linear-gradient(90deg, #0a3d8f 0 10px, #08347c 10px 14px);
  --tile-back-border: 2px solid #ff5910;
  --tile-num: #002d72;
  --tile-sub: #8a7a55;
  --tile-joker-bg: linear-gradient(178deg, #ffe9dc, #ffd6bd);
  --tile-flower-bg: linear-gradient(178deg, #fff7dc, #fdecb4);
  --exposure-bg: rgba(255, 89, 16, .18);

  --radius-panel: 10px;
  --radius-btn: 6px;
  --radius-tile: 6px;
  --btn-bg: #144a9e;
  --btn-ink: #ffffff;
  --btn-border: 2px solid #1f5cba;
  --input-border: 2px solid #1f5cba;
  --shadow: 0 3px 12px rgba(0, 0, 0, .4);
  --shadow-hover: 0 5px 14px rgba(0, 0, 0, .5);

  --anim-tile-in: .22s;
  --anim-tile-in-dy: 10px;

  --cs-a: #7fb2ff;
  --cs-b: #ffa06e;
  --cs-c: #7fdc9a;
  --cs-f: #ffd34d;
}

/* Tiles read blue-on-ivory; winds are SVG base bags, bams are bats. */
body[data-theme="ballpark"] .tile { color: #002d72; }
body[data-theme="ballpark"] #brand { color: #ff5910; text-transform: uppercase; letter-spacing: .06em; }
body[data-theme="ballpark"] #phase-banner { text-transform: uppercase; font-size: .92rem; letter-spacing: .05em; }
body[data-theme="ballpark"] .seat-label.active-turn { background: #ff5910; color: #fff; }

/* The table is the infield: a chalk-lined dirt diamond behind the discards. */
body[data-theme="ballpark"] #center { position: relative; overflow: hidden; }
body[data-theme="ballpark"] #center::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: min(46%, 300px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  background: #b98a4e;
  border: 3px solid #f5efe0;
  border-radius: 10px;
  box-shadow: inset 0 0 0 10px #b98a4e, inset 0 0 0 12px #f5efe0aa, 0 0 24px rgba(0, 0, 0, .25);
  opacity: .85;
}
body[data-theme="ballpark"] #center::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 34px; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #c9975b;
  box-shadow: 0 0 0 2px #f5efe088;
}
body[data-theme="ballpark"] #center > * { position: relative; z-index: 1; }
