:root {
  --bg: #0b0f16;
  --bg-2: #121826;
  --card: rgba(255,255,255,0.93);
  --card-2: rgba(244,244,246,0.95);
  --text: #121212;
  --muted: #4e5666;
  --line: rgba(0,0,0,0.12);
  --blue: #0f6fff;
  --blue-2: #1f8cff;
  --blue-3: #0a42b8;
  --red: #d8261f;
  --red-dark: #8f1613;
  --green: #38ff59;
  --green-dark: #117a26;
  --yellow: #ffd23f;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0,0,0,.24);
  --shadow-soft: 0 10px 24px rgba(0,0,0,.16);
}

body[data-theme="dark"] {
  --bg: #05070b;
  --bg-2: #0d1118;
  --card: rgba(22,24,30,0.94);
  --card-2: rgba(28,31,40,0.96);
  --text: #f3f5f8;
  --muted: #b4bfcd;
  --line: rgba(255,255,255,0.12);
  --blue: #2b8cff;
  --blue-2: #49a0ff;
  --blue-3: #134fcb;
  --red: #ff4b42;
  --red-dark: #b7221c;
  --green: #59ff7a;
  --green-dark: #149631;
  --yellow: #ffd23f;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(0,0,0,.42);
  --shadow-soft: 0 10px 24px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
  background:
    radial-gradient(circle at 8% 18%, rgba(15,111,255,.24) 0 4%, transparent 4.2%),
    radial-gradient(circle at 92% 8%, rgba(15,111,255,.22) 0 2.5%, transparent 2.7%),
    radial-gradient(circle at 14% 82%, rgba(15,111,255,.2) 0 3.2%, transparent 3.4%),
    radial-gradient(circle at 78% 70%, rgba(15,111,255,.15) 0 2.7%, transparent 3%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background:
    linear-gradient(115deg, transparent 0 12%, rgba(15,111,255,.75) 12% 16%, transparent 16% 24%, rgba(15,111,255,.5) 24% 27%, transparent 27% 100%),
    linear-gradient(295deg, transparent 0 72%, rgba(15,111,255,.55) 72% 77%, transparent 77% 100%);
  mix-blend-mode: screen;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7,10,16,.94), rgba(7,10,16,.78));
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.wrap {
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand img {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #fff;
  padding: 4px;
  box-shadow: var(--shadow-soft);
}
.brand-title {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 3px 0 rgba(0,0,0,.35);
}
.brand-sub {
  color: #d8e6ff;
  font-size: .98rem;
  letter-spacing: .03em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nav a, .nav button {
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.nav a.active,
.nav a:hover,
.nav button:hover {
  border-color: var(--blue-2);
  background: rgba(15,111,255,.28);
}

main.wrap {
  padding-bottom: 28px;
}

.hero {
  padding: 26px 0 16px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(245,248,255,.94)),
    linear-gradient(135deg, rgba(15,111,255,.12), rgba(255,255,255,0));
  border: 3px solid rgba(255,255,255,.55);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 8%, rgba(15,111,255,.92) 8% 13%, transparent 13% 100%),
    linear-gradient(300deg, transparent 0 84%, rgba(15,111,255,.85) 84% 89%, transparent 89% 100%);
  opacity: .75;
  pointer-events: none;
}
.hero-card > * { position: relative; z-index: 1; }
.tagline {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  border: 2px solid rgba(15,111,255,.35);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1;
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 2px 0 rgba(255,255,255,.65);
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 72ch;
  color: #1c2430;
  margin: 0 0 16px;
  font-weight: 700;
}
.section {
  padding: 18px 0;
}
.section h1,
.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 3px 0 rgba(0,0,0,.35);
}
.card {
  background: var(--card);
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.card h2, .card h3 {
  margin-top: 0;
}
.card h2, .card h3, .card strong {
  color: #0c1629;
}
body[data-theme="dark"] .card h2,
body[data-theme="dark"] .card h3,
body[data-theme="dark"] .card strong {
  color: #fff;
}
.compact { padding: 14px; }

.board-card.green {
  background: linear-gradient(135deg, rgba(56,255,89,.25), rgba(255,255,255,.95));
}
.board-card.yellow {
  background: linear-gradient(135deg, rgba(255,210,63,.35), rgba(255,255,255,.95));
}
.board-card.red {
  background: linear-gradient(135deg, rgba(216,38,31,.25), rgba(255,255,255,.95));
}

.grid {
  display: grid;
  gap: 16px;
}
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.controls {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 16px;
}
.split {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
.button-stack, .button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
button, input, select, textarea {
  font: inherit;
}
button {
  border: 2px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, #fff, #eef3ff);
  color: #111;
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
button:hover {
  border-color: var(--blue-2);
  transform: translateY(-1px);
}
button.danger {
  border-color: rgba(216,38,31,.45);
  color: var(--red-dark);
  background: linear-gradient(180deg, #fff, #ffe9e8);
}
input, select, textarea {
  width: 100%;
  border: 2px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.96);
  color: #111;
  border-radius: 14px;
  padding: 11px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
textarea { min-height: 96px; resize: vertical; }
label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.card label {
  color: #11203c;
}
body[data-theme="dark"] .card label {
  color: #e9f0ff;
}
.muted {
  color: var(--muted);
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), #8aff9f);
  color: #071108;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14);
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th,
.table td {
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 10px 8px;
  text-align: left;
}
.table th {
  text-transform: uppercase;
  font-size: .92rem;
}
.weekday-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-check {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-weight: 700;
}
.notice {
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f1f6ff);
  border: 2px solid rgba(15,111,255,.2);
  color: #12203d;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.dnd-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.1fr 1fr 1fr;
  margin-top: 16px;
}
.drop-zone {
  border: 3px dashed rgba(15,111,255,.24);
  border-radius: 20px;
  padding: 14px;
  min-height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,249,255,.96));
}
.drop-zone.drop-active {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(220,235,255,.96), rgba(255,255,255,.98));
}
.dnd-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.drag-chip {
  border-radius: 999px;
  text-align: left;
}
.drag-card {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f5f8ff);
  cursor: grab;
}
.drag-chip[draggable="true"],
.drag-card[draggable="true"] {
  user-select: none;
}
.dragging {
  opacity: 0.45;
}
.drag-help {
  margin-top: 14px;
}

.footer-grid {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.qr-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  color: #111;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}
.qr-link img {
  width: 96px;
  height: 96px;
  border-radius: 12px;
}
.inline-qr {
  display: flex;
  gap: 16px;
  align-items: center;
}
.inline-qr img {
  width: 140px;
  height: 140px;
  border-radius: 14px;
  border: 2px solid rgba(0,0,0,.08);
}
.poster-card {
  overflow: hidden;
  padding: 0;
}
.poster-card img {
  width: 100%;
  height: auto;
}
.site-footer {
  padding: 30px 0 50px;
  color: #dbe7ff;
}
ul.clean {
  margin: 0;
  padding-left: 22px;
}
.poster-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.poster-list .card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,245,255,.95));
}
.schedule-highlight {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .dnd-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .header-inner, .split, .drag-card, .footer-grid, .inline-qr {
    flex-direction: column;
    align-items: stretch;
  }
  .brand {
    align-items: flex-start;
  }
  .nav {
    width: 100%;
  }
}


.day-block { margin-bottom: 18px; }
.day-banner {
  background: linear-gradient(90deg, #0f6fff, #0a42b8);
  color: white;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.event-flyer-card {
  border-left: 10px solid #0f6fff;
}
.payout-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 900;
}
.payout-standard { background: #eef3ff; color: #0a42b8; }
.payout-premium { background: #ffd23f; color: #111; }
.payout-freeroll { background: #38ff59; color: #071108; }

@media print {
  .site-header, .site-footer, #themeToggle, .button-row, .controls, .inline-qr, .nav { display: none !important; }
  body { background: white !important; color: black !important; }
  .section h1, .section h2 { color: black !important; text-shadow: none !important; }
  .day-banner { box-shadow: none !important; }
  .card, .event-flyer-card { box-shadow: none !important; border: 1px solid #ccc !important; }
  .wrap { width: 100% !important; }
}


.drag-chip {
  border: 2px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, #fff, #f5f8ff);
  padding: 12px;
  border-radius: 16px;
  cursor: grab;
}
.drag-chip strong {
  display: block;
  margin-bottom: 8px;
}
.drag-chip:active, .drag-card:active {
  cursor: grabbing;
}
.small-top {
  margin-top: 8px;
}

.drag-chip {
  border: 2px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, #fff, #f5f8ff);
  padding: 12px;
  border-radius: 16px;
  cursor: grab;
}
.drag-chip strong { display:block; margin-bottom:8px; }
.drag-chip:active, .drag-card:active { cursor: grabbing; }
.small-top { margin-top: 8px; }


html { font-size: 21px; }
body { font-size: 1.1rem; line-height: 1.7; }
.brand-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.brand-sub { font-size: 1.15rem; }
.nav a, .nav button, button, input, select, textarea { font-size: 1.06rem; }
.hero h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.hero p { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.section h1, .section h2 { font-size: clamp(2rem, 3vw, 3rem); }
.card h3 { font-size: 1.45rem; }
.card p, .card li, label, .muted, .notice, .badge, .venue-link { font-size: 1.08rem; }
.venue-rich-card { padding: 1rem; }
.venue-rich-top { display: flex; gap: 1rem; align-items: center; margin-bottom: .75rem; }
.venue-logo { width: 78px; height: 78px; border-radius: 18px; border: 2px solid rgba(0,0,0,.08); background: white; object-fit: contain; padding: 8px; }
.venue-logo-fallback { display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.3rem; }
.venue-link-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .85rem; }
.venue-link { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; border-radius: 999px; background: #eaf2ff; color: #0a42b8; font-weight: 800; border: 2px solid rgba(15,111,255,.2); }
@media (max-width: 780px) { html { font-size: 22px; } .venue-rich-top { align-items: flex-start; } }


.venue-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.venue-jump-link {
  display: inline-flex;
  padding: .85rem 1.1rem;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0a42b8;
  font-weight: 900;
  border: 2px solid rgba(15,111,255,.18);
}

.venue-profile {
  padding: 1.2rem;
}
.venue-profile-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.venue-hero-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.venue-logo-xl {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  border: 2px solid rgba(0,0,0,.08);
  background: white;
  object-fit: contain;
  padding: 10px;
}
.venue-address {
  font-size: 1.1rem;
  font-weight: 700;
}
.venue-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: flex-end;
}
.venue-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: #0f6fff;
  color: white;
  font-weight: 900;
  border: 2px solid rgba(255,255,255,.25);
}
.venue-section-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1rem;
}
.venue-subcard {
  background: rgba(255,255,255,.92);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 20px;
  padding: 1rem;
}
body[data-theme="dark"] .venue-subcard {
  background: rgba(23,27,36,.96);
}
.amenity-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .8rem;
}
.amenity-badge {
  display: inline-flex;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #0a42b8;
  font-weight: 800;
  border: 2px solid rgba(15,111,255,.16);
}
.venue-chip-list {
  display: grid;
  gap: .65rem;
}
.venue-event-chip {
  padding: .8rem .95rem;
  border-radius: 16px;
  background: #f5f8ff;
  border: 2px solid rgba(15,111,255,.12);
  font-weight: 700;
}
.today-venue-block {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5f8ff, #ffffff);
  border: 2px solid rgba(15,111,255,.16);
  font-weight: 800;
}
.venue-rich-card-schedule .venue-link-row {
  margin-top: .9rem;
}

@media (max-width: 900px) {
  .venue-profile-hero {
    flex-direction: column;
  }
  .venue-quick-actions {
    justify-content: flex-start;
  }
}


.tonight-banner {
  margin: 1rem 0 0.4rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15,111,255,.14), rgba(255,255,255,.96));
  border: 2px solid rgba(15,111,255,.18);
}
.tonight-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: .55rem;
  text-transform: uppercase;
}
.tonight-list {
  display: grid;
  gap: .45rem;
}
.tonight-item {
  font-size: 1.08rem;
  font-weight: 800;
}
.next-game-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: .4rem;
  text-transform: uppercase;
}
.countdown-value {
  margin-top: .55rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: #0a42b8;
}


.venue-gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.venue-gallery-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f8ff;
  border: 2px solid rgba(15,111,255,.14);
  box-shadow: var(--shadow-soft);
}
.venue-gallery-thumb-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef3ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.venue-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}
.venue-gallery-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0a42b8;
}
.venue-gallery-meta {
  display: grid;
  gap: .25rem;
  padding: .9rem 1rem 1rem;
}
.venue-gallery-meta strong {
  font-size: 1.06rem;
}
.venue-gallery-meta span {
  font-size: 0.98rem;
  color: #4e5666;
}


.brand img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: transparent;
  padding: 0;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.hero-card::before {
  content: "";
  display: block;
  width: 180px;
  height: 140px;
  margin: 0 0 14px 0;
  background: url("../assets/logo-site.png") center/contain no-repeat;
}

.site-header {
  background: linear-gradient(180deg, rgba(0,0,0,.96), rgba(7,10,16,.92));
}

.brand-title {
  letter-spacing: .04em;
}

.venue-logo,
.venue-logo-xl {
  background: #fff;
  object-fit: contain;
}

@media (max-width: 780px) {
  .brand img {
    width: 84px;
    height: 84px;
  }

  .hero-card::before {
    width: 140px;
    height: 110px;
  }
}


:root {
  --neon-blue: #41c9ff;
  --electric-blue: #1188ff;
  --deep-blue: #061a42;
  --table-black: #050608;
  --steel: #cfe7ff;
  --shadow-soft: 0 10px 30px rgba(0,0,0,.22);
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(17,136,255,.18), transparent 18%),
    radial-gradient(circle at 88% 10%, rgba(65,201,255,.16), transparent 20%),
    radial-gradient(circle at 50% 78%, rgba(17,136,255,.14), transparent 22%),
    linear-gradient(180deg, #010204 0%, #07101d 35%, #03060c 100%);
  background-attachment: fixed;
}

body::before {
  content: "7♠  2♠";
  position: fixed;
  right: 18px;
  bottom: 8px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: .15em;
  color: rgba(65,201,255,.08);
  pointer-events: none;
  z-index: 0;
}

.wrap, .site-header, main, .site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  border-bottom: 2px solid rgba(65,201,255,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.nav a, .nav button {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(65,201,255,.06));
  border-color: rgba(65,201,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.nav a.active, .nav a:hover, .nav button:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 1px rgba(65,201,255,.25), 0 0 18px rgba(65,201,255,.18);
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(65,201,255,.20), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(236,245,255,.96));
  border-color: rgba(65,201,255,.26);
}

.hero-card::after {
  content: "7♠  2♠";
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .2em;
  color: rgba(17,136,255,.18);
  pointer-events: none;
}

.section h1, .section h2 {
  text-shadow: 0 0 18px rgba(65,201,255,.16);
}

.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,249,255,.93));
  border-color: rgba(65,201,255,.18);
  box-shadow: 0 18px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.45);
}

body[data-theme="dark"] .card {
  background:
    linear-gradient(180deg, rgba(17,20,27,.96), rgba(12,15,22,.96));
  border-color: rgba(65,201,255,.20);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
}

.day-banner,
.tagline,
.venue-action,
.qr-link,
.venue-link,
.amenity-badge,
.payout-chip,
.badge {
  box-shadow: 0 0 18px rgba(65,201,255,.14);
}

.day-banner {
  background: linear-gradient(90deg, #0d58d8, #0e2c83 60%, #09142e);
  border: 1px solid rgba(255,255,255,.14);
}

button {
  background: linear-gradient(180deg, #ffffff, #eaf2ff);
  border-color: rgba(17,136,255,.16);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

button:hover {
  box-shadow: 0 0 0 1px rgba(65,201,255,.22), 0 0 18px rgba(65,201,255,.16);
}

.drag-chip, .drag-card, .venue-event-chip, .today-venue-block, .venue-subcard {
  border-color: rgba(17,136,255,.14);
  box-shadow: var(--shadow-soft);
}

.brand-loader {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(17,136,255,.16), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,.94), rgba(6,10,18,.98));
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity .35s ease, visibility .35s ease;
}

#brandLoader.loaded {
  opacity: 0;
  visibility: hidden;
}

.brand-loader-inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.brand-loader-inner img {
  width: min(320px, 62vw);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(65,201,255,.25));
}

.brand-loader-text {
  color: #d9ecff;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-loader-chip {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 8px solid rgba(65,201,255,.18);
  border-top-color: var(--neon-blue);
  border-right-color: var(--electric-blue);
  box-shadow: 0 0 26px rgba(65,201,255,.18);
  animation: chipSpin 1s linear infinite;
}

@keyframes chipSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


textarea {
  width: 100%;
}


.wrap-row { flex-wrap: wrap; }
.warning-stack { display: grid; gap: .45rem; margin-top: .55rem; }
.warning-chip {
  display: inline-flex;
  align-items: center;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, .16);
  color: #92400e;
  font-weight: 900;
}
.attendance-mini { margin-top: .35rem; font-size: .95rem; font-weight: 800; color: #0a42b8; }
.reliability-score { font-size: 1.15rem; font-weight: 900; color: #0a42b8; }
.event-message-row { margin: .75rem 0 1rem; }


.reputation-badge{
  font-weight:900;
  padding:4px 10px;
  border-radius:999px;
  font-size:0.9rem;
}


.mobile-app-card {
  position: relative;
  overflow: hidden;
}
.mobile-app-kicker {
  display: inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(17,136,255,.12);
  color: #0a42b8;
  font-weight: 900;
  margin-bottom: .55rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
body[data-theme="dark"] .mobile-app-kicker {
  background: rgba(65,201,255,.16);
  color: #9ddcff;
}


.ops-page-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ops-anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ops-anchor-bar a {
  display: inline-flex;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(65,201,255,.18);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 0 16px rgba(65,201,255,.1);
}
.sticky-ops-card {
  position: sticky;
  top: 88px;
  z-index: 15;
}
.ops-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 20px;
}
.ops-summary-card h3 {
  margin-bottom: 6px;
}
.section-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: rgba(17,136,255,.12);
  color: #0a42b8;
}
.divider-line {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.ops-main-grid {
  align-items: start;
}
.compact-qr {
  display: grid;
  gap: 12px;
  align-items: center;
}
.compact-qr img {
  width: min(180px, 100%);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ops-page-header {
    flex-direction: column;
  }
  .sticky-ops-card {
    top: 72px;
  }
}

#weeklySmsQueue .card{padding:14px}


#dealerNotificationStatus,
#dealerCalendarStatus {
  margin-top: 10px;
}


.tonight-ops-card,
.emergency-ops-card {
  border-left: 10px solid #1188ff;
}
.tonight-ops-card.red,
.emergency-ops-card {
  border-left-color: #ef4444;
}
.tonight-ops-card.yellow {
  border-left-color: #f59e0b;
}
.tonight-ops-card.green {
  border-left-color: #22c55e;
}
.replacement-strip {
  margin: 12px 0 0;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(17,136,255,.08);
  font-weight: 700;
}
.profile-layout {
  grid-template-columns: minmax(260px, 360px) 1fr;
  align-items: start;
}
.staffing-forecast-card {
  margin: 14px 0;
}
.grid.three {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .profile-layout,
  .grid.three {
    grid-template-columns: 1fr;
  }
}


.weekly-calendar-shell {
  overflow-x: auto;
}
.weekly-calendar-grid {
  display: grid;
  grid-template-columns: 110px repeat(7, minmax(160px, 1fr));
  gap: 8px;
  align-items: stretch;
  min-width: 1180px;
}
.calendar-head,
.time-label,
.calendar-cell {
  border-radius: 16px;
}
.calendar-head {
  padding: .85rem .9rem;
  background: linear-gradient(180deg, rgba(15,111,255,.16), rgba(15,111,255,.08));
  border: 1px solid rgba(15,111,255,.22);
  font-weight: 900;
  text-align: center;
}
.time-head {
  text-align: left;
}
.time-label {
  padding: .95rem .9rem;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  font-weight: 900;
}
.calendar-cell {
  min-height: 130px;
  padding: .55rem;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  display: grid;
  gap: .55rem;
  align-content: start;
}
.weekly-event-block {
  padding: .7rem .8rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,244,246,.92));
  border-left: 8px solid var(--blue);
  box-shadow: var(--shadow-soft);
}
.weekly-event-block.payout-freeroll {
  border-left-color: #22c55e;
}
.weekly-event-block.payout-premium {
  border-left-color: #ef4444;
}
.weekly-event-time {
  font-weight: 900;
  margin-bottom: 2px;
}
.weekly-event-venue {
  font-weight: 800;
}
.weekly-event-type,
.weekly-event-meta {
  font-size: .92rem;
}
body[data-theme="dark"] .time-label,
body[data-theme="dark"] .calendar-cell {
  background: rgba(22,24,30,.94);
}
body[data-theme="dark"] .weekly-event-block {
  background: linear-gradient(180deg, rgba(28,31,40,.98), rgba(22,24,30,.96));
}


.print-schedule-sheet {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.print-title {
  margin: 0 0 .75rem;
  font-size: 1.25rem;
  text-align: center;
}
.print-table {
  display: grid;
  grid-template-columns: 1.1fr .9fr 2fr 1.35fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.print-head {
  background: rgba(15,111,255,.12);
  border-bottom: 1px solid var(--line);
  padding: .45rem .5rem;
  font-weight: 900;
  font-size: .92rem;
}
.print-cell {
  padding: .38rem .5rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255,255,255,.92);
}
.print-day {
  font-weight: 800;
}
@media print {
  @page {
    size: letter portrait;
    margin: 0.3in;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }
  body::before {
    display: none !important;
  }
  .site-header,
  .site-footer,
  .hero,
  .ops-page-header,
  .ops-anchor-bar,
  .controls,
  .button-row,
  #weeklyCalendarSection,
  .inline-qr,
  .poster-card,
  #venueDirectorySection,
  #gameNotes,
  .tagline,
  nav,
  #showWeeklyCalendar,
  #showCardSchedule {
    display: none !important;
  }
  main.wrap {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .section {
    margin: 0 !important;
    padding: 0 !important;
  }
  #eventCardsSection {
    display: block !important;
  }
  #scheduleCards {
    display: block !important;
  }
  .print-schedule-sheet {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .print-title {
    font-size: 14px !important;
    margin: 0 0 6px !important;
  }
  .print-table {
    grid-template-columns: .95fr .8fr 1.9fr 1.2fr .95fr !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
  }
  .print-head {
    background: #eaeaea !important;
    color: #000 !important;
    padding: 3px 4px !important;
    font-size: 9px !important;
    border-bottom: 1px solid #000 !important;
  }
  .print-cell {
    background: #fff !important;
    color: #000 !important;
    padding: 2px 4px !important;
    font-size: 8.8px !important;
    border-bottom: 1px solid #bbb !important;
  }
  .card,
  .day-block,
  .event-flyer-card,
  .day-banner {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Dealer mobile dashboard */
#dealerDashboard .card{
  min-height:120px;
}
#mobileAssignments .card{
  margin-bottom:12px;
}


.emergency-open-seat-card {
  border-left: 8px solid #ef4444;
}
#dealerPerformanceSnapshot .grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
#mobileAssignments .card {
  margin-bottom: 12px;
}


.dealer-venue-detail {
  margin-top: 10px;
  padding: .8rem .9rem;
  border-radius: 14px;
  background: rgba(17,136,255,.08);
}
.emergency-open-seat-card {
  border-left: 8px solid #ef4444;
}
#dealerPerformanceSnapshot .grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}


.inbox-card {
  border-left: 8px solid #1188ff;
}
.dealer-venue-detail {
  margin-top: 10px;
  padding: .8rem .9rem;
  border-radius: 14px;
  background: rgba(17,136,255,.08);
}
.emergency-open-seat-card {
  border-left: 8px solid #ef4444;
}
#dealerPerformanceSnapshot .grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}


#dealerIssueReporting .button-row button {
  margin-bottom: 8px;
}
#dealerEmergencyResponse .card,
#adminSwapApprovals .card {
  min-height: 100%;
}


.dealer-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 10px;
  background: linear-gradient(180deg, #05070d, #101827);
  color: #fff;
}
.dealer-splash-screen img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.dealer-splash-screen.fade-out {
  opacity: 0;
  transition: opacity .35s ease;
}
.dealer-install-help {
  margin-top: 12px;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(17,136,255,.08);
}


#dealerPushCommandCenter .card textarea {
  min-height: 120px;
}
#pushCenterAudiencePreview .card,
#pushCenterRecentCampaigns .card {
  min-height: 100%;
}


#dealerAccountabilityCenter .card,
#dealerAccountabilityTimeline .card,
#dealerVenueReliability .card {
  min-height: 100%;
}


#dealerQuickContactExpanded .card {
  min-height: 100%;
}
#dealerQuickContactExpanded .button-row {
  margin-top: 10px;
}
