/*
 * Exodia tournament public redesign
 * Scope: [show_info_tournament_v2]
 * Intent: visual refresh only. No JS selectors, IDs or metadata logic are changed.
 */

.container-info-tournament.exodia-tournament-redesign {
  --ex-bg: #08090b;
  --ex-panel: rgba(18, 18, 20, 0.92);
  --ex-panel-2: rgba(28, 28, 30, 0.88);
  --ex-panel-3: rgba(255, 255, 255, 0.055);
  --ex-line: rgba(255, 255, 255, 0.12);
  --ex-line-strong: rgba(255, 255, 255, 0.22);
  --ex-text: #f8f8f8;
  --ex-muted: rgba(255, 255, 255, 0.68);
  --ex-soft: rgba(255, 255, 255, 0.08);
  --ex-red: #f52c28;
  --ex-red-2: #a70f13;
  --ex-red-soft: rgba(245, 44, 40, 0.20);
  --ex-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ex-radius-xl: 24px;
  --ex-radius-lg: 18px;
  --ex-radius-md: 12px;
  background:
    radial-gradient(circle at 15% 0%, rgba(245, 44, 40, 0.13), transparent 34%),
    radial-gradient(circle at 96% 8%, rgba(245, 44, 40, 0.10), transparent 28%),
    linear-gradient(180deg, #111 0%, var(--ex-bg) 38%, #050506 100%);
  color: var(--ex-text);
  padding: clamp(18px, 2.2vw, 34px);
  font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container-info-tournament.exodia-tournament-redesign *,
.container-info-tournament.exodia-tournament-redesign *::before,
.container-info-tournament.exodia-tournament-redesign *::after {
  box-sizing: border-box;
}

.container-info-tournament.exodia-tournament-redesign a {
  color: inherit;
}

.container-info-tournament.exodia-tournament-redesign .tournament-row.first-row {
  background: transparent !important;
  max-width: 1920px;
  margin: 0 auto;
}

.container-info-tournament.exodia-tournament-redesign .tournament-inner-container {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.88fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
  justify-content: initial !important;
  width: 100%;
}

.container-info-tournament.exodia-tournament-redesign .tournament-column-left,
.container-info-tournament.exodia-tournament-redesign .tournament-column-right {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.container-info-tournament.exodia-tournament-redesign .tournament-column-left {
  border: 1px solid var(--ex-line-strong);
  border-radius: var(--ex-radius-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  box-shadow: var(--ex-shadow);
  padding: 6px;
  isolation: isolate;
}

.container-info-tournament.exodia-tournament-redesign .tournament-column-left::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px 8px;
  height: 38%;
  border-radius: 0 0 18px 18px;
  pointer-events: none;
  /*background: linear-gradient(180deg, transparent, rgba(245, 44, 40, 0.24) 44%, rgba(0, 0, 0, 0.62));*/
  z-index: 1;
}

.container-info-tournament.exodia-tournament-redesign .tournament-column-left > img {
  display: block;
  width: 100%;
  /*min-height: 580px;*/
  object-fit: cover;
  border-radius: calc(var(--ex-radius-xl) - 6px);
  filter: saturate(1.06) contrast(1.03);
}

.container-info-tournament.exodia-tournament-redesign .tournament-column-left .row-buttons-registration,
.container-info-tournament.exodia-tournament-redesign .tournament-column-left .exodia-ribbon-css {
  z-index: 2;
}

.container-info-tournament.exodia-tournament-redesign .tournament-column-right > .container {
  min-height: 100%;
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  background: transparent !important;
}

.container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ex-line-strong);
  border-radius: var(--ex-radius-xl);
  min-height: 300px;
  padding: clamp(24px, 3vw, 48px);
  background:
    radial-gradient(circle at 92% 12%, rgba(245, 44, 40, .30), transparent 18%),
    radial-gradient(circle at 78% 58%, rgba(245, 44, 40, .16), transparent 24%),
    linear-gradient(118deg, rgba(135, 13, 18, .78) 0%, rgba(26, 14, 14, .94) 35%, rgba(13, 13, 15, .96) 100%);
  box-shadow: var(--ex-shadow);
}

.container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .34;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 84% 42%, #000 0, transparent 55%);
}

.container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(22px, 4vw, 52px);
  width: min(34vw, 360px);
  aspect-ratio: 2.1 / 1;
  border: 1px solid rgba(245, 44, 40, .35);
  border-radius: 50%;
  transform: perspective(520px) rotateX(62deg) rotateZ(-6deg);
  background:
    linear-gradient(90deg, transparent 48%, rgba(245,44,40,.52) 49%, rgba(245,44,40,.52) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(245,44,40,.52) 49%, rgba(245,44,40,.52) 51%, transparent 52%);
  box-shadow: 0 0 44px rgba(245, 44, 40, .26), inset 0 0 28px rgba(245, 44, 40, .18);
  opacity: .46;
  pointer-events: none;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 22px;
  border-radius: 999px;
  color: #ff6a63;
  background: rgba(245, 44, 40, .17);
  border: 1px solid rgba(245, 44, 40, .20);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-title {
  margin: 16px 0 22px;
  max-width: 820px;
  color: var(--ex-text);
  font-family: Oswald, Montserrat, Impact, "Arial Narrow", sans-serif;
  font-size: clamp(48px, 6.2vw, 104px);
  line-height: .88;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255,255,255,.16), 0 22px 42px rgba(0,0,0,.38);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
  color: var(--ex-muted);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta span {
  display: grid;
  grid-template-columns: auto;
  gap: 3px;
  min-width: min(210px, 100%);
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta span:first-child {
  border-left-color: transparent;
  padding-left: 0;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-btn,
.container-info-tournament.exodia-tournament-redesign button.exodia-hero-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 13px 26px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 44, 40, .55);
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-btn-primary {
  border-color: rgba(245, 44, 40, .62);
  background: linear-gradient(180deg, #ff3a35 0%, #d7171c 100%);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-btn-primary.is-disabled {
  opacity: .56;
  cursor: not-allowed;
  background: rgba(255,255,255,.10);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-btn-ghost {
  background: rgba(4, 4, 5, .36);
}

.container-info-tournament.exodia-tournament-redesign .tabs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--ex-line);
  border-radius: var(--ex-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  box-shadow: 0 18px 50px rgba(0,0,0,.26);
}

.container-info-tournament.exodia-tournament-redesign .tabs .tab {
  position: relative;
  margin: 0 !important;
  padding: 18px 12px !important;
  border: 0;
  border-right: 1px solid var(--ex-line);
  background: transparent !important;
  color: rgba(255,255,255,.70) !important;
  font-family: Montserrat, Inter, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.2;
  font-weight: 900 !important;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .tabs .tab:last-child {
  border-right: 0;
}

.container-info-tournament.exodia-tournament-redesign .tabs .tab::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.container-info-tournament.exodia-tournament-redesign .tabs .tab:hover,
.container-info-tournament.exodia-tournament-redesign .tabs .tab.active {
  color: #fff !important;
  background: rgba(255,255,255,.045) !important;
}

.container-info-tournament.exodia-tournament-redesign .tabs .tab.active::after {
  background: var(--ex-red);
  box-shadow: 0 0 24px rgba(245, 44, 40, .85);
}

.container-info-tournament.exodia-tournament-redesign #tab-select {
  display: none;
  width: 100%;
  min-height: 48px;
  border-radius: var(--ex-radius-md);
  border: 1px solid var(--ex-line-strong);
  background: #141416;
  color: #fff;
  padding: 0 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .content,
.container-info-tournament.exodia-tournament-redesign .content-registration,
.container-info-tournament.exodia-tournament-redesign .content-partner,
.container-info-tournament.exodia-tournament-redesign .content-whitelist {
  border: 1px solid var(--ex-line) !important;
  border-radius: var(--ex-radius-lg) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  color: var(--ex-text) !important;
  padding: clamp(16px, 2vw, 28px) !important;
  box-shadow: 0 18px 52px rgba(0,0,0,.28);
}

.container-info-tournament.exodia-tournament-redesign .overview-container,
.container-info-tournament.exodia-tournament-redesign .players-container,
.container-info-tournament.exodia-tournament-redesign .draws-container,
.container-info-tournament.exodia-tournament-redesign .order-container,
.container-info-tournament.exodia-tournament-redesign .live-order-container {
  width: 100%;
}

.container-info-tournament.exodia-tournament-redesign .overview-table {
  width: 100% !important;
  margin: 0 auto 24px !important;
  border-spacing: 0 10px;
  border-collapse: separate !important;
}

.container-info-tournament.exodia-tournament-redesign .overview-table tr {
  background: rgba(255,255,255,.045);
  border-radius: var(--ex-radius-md);
}

.container-info-tournament.exodia-tournament-redesign .overview-table td {
  border: 0 !important;
  padding: 16px 18px !important;
  vertical-align: top;
}

.container-info-tournament.exodia-tournament-redesign .overview-table td:first-child {
  width: 220px;
  color: #ff6762 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-align: left !important;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .overview-table td:last-child {
  color: rgba(255,255,255,.92) !important;
  font-size: 14px !important;
  line-height: 1.55;
  font-weight: 600 !important;
}

.container-info-tournament.exodia-tournament-redesign .overview-table td:last-child p {
  margin: 0 0 .65em;
}

.container-info-tournament.exodia-tournament-redesign .overview-table td:last-child p:last-child {
  margin-bottom: 0;
}

.container-info-tournament.exodia-tournament-redesign .register-now-button,
.container-info-tournament.exodia-tournament-redesign .download-button,
.container-info-tournament.exodia-tournament-redesign .link-button,
.container-info-tournament.exodia-tournament-redesign .register-button,
.container-info-tournament.exodia-tournament-redesign .cancel-button {
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #ff3a35 0%, #d7171c 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.container-info-tournament.exodia-tournament-redesign .download-button,
.container-info-tournament.exodia-tournament-redesign .link-button,
.container-info-tournament.exodia-tournament-redesign .cancel-button {
  background: rgba(255,255,255,.08) !important;
}

.container-info-tournament.exodia-tournament-redesign .container-select {
  display: flex !important;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0 0 18px !important;
}

.container-info-tournament.exodia-tournament-redesign .container-select .category {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  min-height: 48px;
  border-radius: var(--ex-radius-md);
  background: var(--ex-red-soft) !important;
  color: #ff716b !important;
  border: 1px solid rgba(245,44,40,.22);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.container-info-tournament.exodia-tournament-redesign .select-container {
  flex: 1 1 auto;
  min-width: 0;
}

.container-info-tournament.exodia-tournament-redesign select,
.container-info-tournament.exodia-tournament-redesign input[type="text"],
.container-info-tournament.exodia-tournament-redesign input[type="email"],
.container-info-tournament.exodia-tournament-redesign input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border-radius: var(--ex-radius-md) !important;
  border: 1px solid var(--ex-line-strong) !important;
  background: rgba(6, 6, 7, .76) !important;
  color: #fff !important;
  padding: 0 14px !important;
  outline: none;
}

.container-info-tournament.exodia-tournament-redesign select:focus,
.container-info-tournament.exodia-tournament-redesign input:focus {
  border-color: rgba(245,44,40,.58) !important;
  box-shadow: 0 0 0 4px rgba(245,44,40,.12);
}

.container-info-tournament.exodia-tournament-redesign .players-table,
.container-info-tournament.exodia-tournament-redesign .players-container table,
.container-info-tournament.exodia-tournament-redesign .register-table {
  background: rgba(255,255,255,.045) !important;
  color: var(--ex-text) !important;
  border-radius: var(--ex-radius-lg);
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
}

.container-info-tournament.exodia-tournament-redesign table th,
.container-info-tournament.exodia-tournament-redesign table td {
  border-color: rgba(255,255,255,.10) !important;
}

.container-info-tournament.exodia-tournament-redesign .show-draw,
.container-info-tournament.exodia-tournament-redesign .order-container > .show-order,
.container-info-tournament.exodia-tournament-redesign .live-order-container > .show-order {
  overflow-x: auto;
  padding: 8px 2px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,44,40,.75) rgba(255,255,255,.10);
}

.container-info-tournament.exodia-tournament-redesign .brackets-canvas {
  min-height: 360px;
}

.container-info-tournament.exodia-tournament-redesign .date-navigation {
  padding: 0 0 16px !important;
  gap: 10px !important;
  scrollbar-width: none;
}

.container-info-tournament.exodia-tournament-redesign .date-navigation::-webkit-scrollbar {
  display: none;
}

.container-info-tournament.exodia-tournament-redesign .date-navigation button {
  min-height: 42px;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--ex-line-strong) !important;
  background: rgba(255,255,255,.065) !important;
  color: rgba(255,255,255,.72) !important;
  font-weight: 800;
}

.container-info-tournament.exodia-tournament-redesign .date-navigation button.active,
.container-info-tournament.exodia-tournament-redesign .date-navigation button:hover {
  color: #fff !important;
  background: var(--ex-red) !important;
}

.container-info-tournament.exodia-tournament-redesign .order-container > .show-order > .tablas,
.container-info-tournament.exodia-tournament-redesign .live-order-container > .show-order > .tablas {
  gap: 16px;
  padding: 8px 0 14px !important;
  background: transparent !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna {
  min-width: min(420px, 86vw) !important;
  max-width: 520px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna > .widget-orderplay {
  height: auto !important;
  min-height: 280px;
  margin: 0 5px 16px 5px !important;
  padding: 18px !important;
  border-radius: var(--ex-radius-lg);
  border: 1px solid var(--ex-line);
  background:
    radial-gradient(circle at 92% 0%, rgba(245,44,40,.17), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)) !important;
  color: var(--ex-text);
  box-shadow: 0 18px 38px rgba(0,0,0,.26);
}

.container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna > .widget-orderplay.empty-widget {
  min-height: 90px;
  border-style: dashed;
  background: rgba(255,255,255,.025) !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table.title-scoring .cell.header {
  border: 0 !important;
  padding: 9px 0 !important;
  color: #fff;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table.title-scoring .cat-title {
  color: #ff6762;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.container-info-tournament.exodia-tournament-redesign .show-order .see-draw {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78) !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table:not(.title-scoring) {
  border-collapse: separate !important;
  border-spacing: 0 8px;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table .row .cell {
  border: 0 !important;
  background: rgba(0,0,0,.24);
  color: rgba(255,255,255,.92);
  padding: 10px 9px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table .row .cell:first-child {
  border-radius: 11px 0 0 11px;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table .row .cell:last-child {
  border-radius: 0 11px 11px 0;
}

.container-info-tournament.exodia-tournament-redesign .show-order .cell.first-column {
  font-size: 13px !important;
  line-height: 1.25;
  min-width: 150px;
}

.container-info-tournament.exodia-tournament-redesign .show-order .cell.number-column {
  min-width: 38px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.container-info-tournament.exodia-tournament-redesign .show-order .cell.current-score,
.container-info-tournament.exodia-tournament-redesign #live .selected-set {
  color: #fff !important;
  background: rgba(245,44,40,.28) !important;
  box-shadow: inset 0 0 0 1px rgba(245,44,40,.35);
}

.container-info-tournament.exodia-tournament-redesign .date-time-container {
  margin-top: auto;
  padding-top: 12px;
  color: var(--ex-muted);
  font-size: 12px !important;
  border-top: 1px solid var(--ex-line);
}

.container-info-tournament.exodia-tournament-redesign .date-time-container p {
  margin: 3px 0 !important;
}

.container-info-tournament.exodia-tournament-redesign .on-court-circle {
  background: #24e26a !important;
  box-shadow: 0 0 16px rgba(36,226,106,.85);
}

.container-info-tournament.exodia-tournament-redesign .live-order-container > .show-order > .tablas {
  max-height: none !important;
}

.container-info-tournament.exodia-tournament-redesign .live-grid.oop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.container-info-tournament.exodia-tournament-redesign .oop-card,
.container-info-tournament.exodia-tournament-redesign .tie-card {
  border-radius: var(--ex-radius-lg) !important;
  border: 1px solid var(--ex-line) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)) !important;
  color: var(--ex-text) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.24);
}

.container-info-tournament.exodia-tournament-redesign .oop-badge,
.container-info-tournament.exodia-tournament-redesign .status-badge.is-live {
  background: rgba(245,44,40,.18) !important;
  color: #ff716b !important;
  border: 1px solid rgba(245,44,40,.25);
}

.container-info-tournament.exodia-tournament-redesign .container-info-list-tournaments {
  background: transparent !important;
  color: var(--ex-text);
}

.container-info-tournament.exodia-tournament-redesign + .container-info-list-tournaments,
.container-info-tournament.exodia-tournament-redesign .container-info-list-tournaments {
  background: #050506 !important;
}

/* =====================================================
   EXODIA TOURNAMENT OVERVIEW — Modern info table
   Scope seguro para no romper Draws / Order / Live Score
   ===================================================== */

.exodia-tournament-page .tab-content table,
.exodia-tournament-page .overview table,
.exodia-tournament-page .tournament-overview table,
.exodia-tournament-page table.tournament-info-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  background: transparent !important;
}

/* Filas tipo card */
.exodia-tournament-page .tab-content table tr,
.exodia-tournament-page .overview table tr,
.exodia-tournament-page .tournament-overview table tr,
.exodia-tournament-page table.tournament-info-table tr {
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
  border-radius: 14px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Hover sutil */
.exodia-tournament-page .tab-content table tr:hover,
.exodia-tournament-page .overview table tr:hover,
.exodia-tournament-page .tournament-overview table tr:hover,
.exodia-tournament-page table.tournament-info-table tr:hover {
  background: linear-gradient(135deg, rgba(255,43,32,.11), rgba(255,255,255,.035)) !important;
  transform: translateY(-1px);
}

/* Celdas */
.exodia-tournament-page .tab-content table td,
.exodia-tournament-page .overview table td,
.exodia-tournament-page .tournament-overview table td,
.exodia-tournament-page table.tournament-info-table td {
  border: 0 !important;
  padding: 18px 20px !important;
  background: transparent !important;
  vertical-align: top;
  color: #f5f5f5;
  font-family: "Barlow", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

/* Primera celda: label */
.exodia-tournament-page .tab-content table td:first-child,
.exodia-tournament-page .overview table td:first-child,
.exodia-tournament-page .tournament-overview table td:first-child,
.exodia-tournament-page table.tournament-info-table td:first-child {
  width: 220px;
  color: #ff3b32 !important;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 14px 0 0 14px;
  position: relative;
}

/* Línea decorativa en label */
.exodia-tournament-page .tab-content table td:first-child::before,
.exodia-tournament-page .overview table td:first-child::before,
.exodia-tournament-page .tournament-overview table td:first-child::before,
.exodia-tournament-page table.tournament-info-table td:first-child::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 9px;
  vertical-align: middle;
  background: #ff2b20;
  border-radius: 999px;
}

/* Segunda celda: valor */
.exodia-tournament-page .tab-content table td:nth-child(2),
.exodia-tournament-page .overview table td:nth-child(2),
.exodia-tournament-page .tournament-overview table td:nth-child(2),
.exodia-tournament-page table.tournament-info-table td:nth-child(2) {
  border-radius: 0 14px 14px 0;
  font-weight: 700;
  color: #ffffff;
}

/* Textos largos tipo prizes / play order / hotel */
.exodia-tournament-page .tab-content table td:nth-child(2) p,
.exodia-tournament-page .overview table td:nth-child(2) p,
.exodia-tournament-page .tournament-overview table td:nth-child(2) p,
.exodia-tournament-page table.tournament-info-table td:nth-child(2) p {
  margin: 0 0 8px;
}

.exodia-tournament-page .tab-content table td:nth-child(2) p:last-child,
.exodia-tournament-page .overview table td:nth-child(2) p:last-child,
.exodia-tournament-page .tournament-overview table td:nth-child(2) p:last-child,
.exodia-tournament-page table.tournament-info-table td:nth-child(2) p:last-child {
  margin-bottom: 0;
}

/* Links dentro del overview */
.exodia-tournament-page .tab-content table a,
.exodia-tournament-page .overview table a,
.exodia-tournament-page .tournament-overview table a,
.exodia-tournament-page table.tournament-info-table a {
  color: #ff3b32;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,59,50,.45);
}

.exodia-tournament-page .tab-content table a:hover,
.exodia-tournament-page .overview table a:hover,
.exodia-tournament-page .tournament-overview table a:hover,
.exodia-tournament-page table.tournament-info-table a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Wrapper general si el overview está dentro de una caja */
.exodia-tournament-page .tab-content,
.exodia-tournament-page .overview,
.exodia-tournament-page .tournament-overview {
  border-radius: 24px;
}

/* =====================================================
   ORDER OF PLAY — versión más compacta
   Pegar al final del CSS actual
   ===================================================== */

.container-info-tournament.exodia-tournament-redesign .show-order > .tablas {
  gap: 10px !important;
  padding: 2px 0 8px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna {
  min-width: min(300px, 72vw) !important;
  max-width: 345px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna > .widget-orderplay {
  min-height: 185px !important;
  margin: 0 3px 10px 3px !important;
  padding: 10px !important;
  border-radius: 14px !important;
}

/* Header */
.container-info-tournament.exodia-tournament-redesign .show-order .table.title-scoring {
  margin-bottom: 8px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table.title-scoring .cell.header {
  padding: 4px 0 !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table.title-scoring .cat-title,
.container-info-tournament.exodia-tournament-redesign .show-order .table.title-scoring strong {
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .see-draw {
  min-height: 20px !important;
  padding: 3px 7px !important;
  font-size: 9px !important;
  border-radius: 999px !important;
}

/* Tabla interior */
.container-info-tournament.exodia-tournament-redesign .show-order .table:not(.title-scoring) {
  border-spacing: 0 5px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .table .row .cell {
  padding: 6px 6px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .cell.first-column {
  min-width: 105px !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .cell.number-column {
  min-width: 24px !important;
  width: 24px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding-left: 3px !important;
  padding-right: 3px !important;
}

/* Footer */
.container-info-tournament.exodia-tournament-redesign .date-time-container {
  margin-top: 6px !important;
  padding-top: 6px !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.container-info-tournament.exodia-tournament-redesign .date-time-container p {
  margin: 2px 0 !important;
}

/* Empty widgets */
.container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna > .widget-orderplay.empty-widget {
  min-height: 62px !important;
}

/* Navegación fechas */
.container-info-tournament.exodia-tournament-redesign .date-navigation {
  padding: 0 0 8px !important;
  gap: 6px !important;
}

.container-info-tournament.exodia-tournament-redesign .date-navigation button {
  min-height: 32px !important;
  padding: 6px 10px !important;
  font-size: 10px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .exodia-player-line {
  display: block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 22px !important;
}

.container-info-tournament.exodia-tournament-redesign .show-order .cell.first-column {
  overflow: hidden !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna {
    min-width: min(285px, 78vw) !important;
    max-width: 320px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order .cell.first-column {
    min-width: 95px !important;
    font-size: 9.5px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order .cell.number-column {
    min-width: 22px !important;
    width: 22px !important;
    font-size: 12px !important;
  }
}

/* Móvil */
@media (max-width: 767px) {
  .container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna {
    min-width: 84vw !important;
    max-width: 84vw !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna > .widget-orderplay {
    padding: 9px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order .cell.first-column {
    min-width: 90px !important;
    font-size: 9px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order .cell.number-column {
    min-width: 20px !important;
    width: 20px !important;
    font-size: 11px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .date-time-container {
    font-size: 9px !important;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .exodia-tournament-page .tab-content table,
  .exodia-tournament-page .overview table,
  .exodia-tournament-page .tournament-overview table,
  .exodia-tournament-page table.tournament-info-table {
    border-spacing: 0 12px !important;
  }

  .exodia-tournament-page .tab-content table tr,
  .exodia-tournament-page .overview table tr,
  .exodia-tournament-page .tournament-overview table tr,
  .exodia-tournament-page table.tournament-info-table tr {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 16px;
  }

  .exodia-tournament-page .tab-content table td,
  .exodia-tournament-page .overview table td,
  .exodia-tournament-page .tournament-overview table td,
  .exodia-tournament-page table.tournament-info-table td {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .exodia-tournament-page .tab-content table td:first-child,
  .exodia-tournament-page .overview table td:first-child,
  .exodia-tournament-page .tournament-overview table td:first-child,
  .exodia-tournament-page table.tournament-info-table td:first-child {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .exodia-tournament-page .tab-content table td:nth-child(2),
  .exodia-tournament-page .overview table td:nth-child(2),
  .exodia-tournament-page .tournament-overview table td:nth-child(2),
  .exodia-tournament-page table.tournament-info-table td:nth-child(2) {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 1180px) {
  .container-info-tournament.exodia-tournament-redesign .tournament-inner-container {
    grid-template-columns: 1fr;
  }

  .container-info-tournament.exodia-tournament-redesign .tournament-column-left > img {
    min-height: 420px;
    max-height: 720px;
  }
}

@media (max-width: 760px) {
  .container-info-tournament.exodia-tournament-redesign {
    padding: 12px;
  }

  .container-info-tournament.exodia-tournament-redesign .tournament-column-left > img {
    min-height: 0;
    height: auto;
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card {
    min-height: 0;
    padding: 22px;
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card::after {
    display: none;
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-title {
    font-size: clamp(38px, 14vw, 62px);
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-meta span {
    padding-left: 0;
    border-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-actions,
  .container-info-tournament.exodia-tournament-redesign .container-select {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-btn,
  .container-info-tournament.exodia-tournament-redesign button.exodia-hero-btn {
    width: 100%;
  }

  .container-info-tournament.exodia-tournament-redesign .tabs {
    display: none !important;
  }

  .container-info-tournament.exodia-tournament-redesign #tab-select {
    display: block !important;
    margin-bottom: 12px;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table,
  .container-info-tournament.exodia-tournament-redesign .overview-table tbody,
  .container-info-tournament.exodia-tournament-redesign .overview-table tr,
  .container-info-tournament.exodia-tournament-redesign .overview-table td {
    display: block;
    width: 100% !important;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table tr {
    padding: 0;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table td:first-child {
    padding-bottom: 4px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order > .tablas > .columna {
    min-width: 86vw !important;
  }
}

@media (max-width: 480px) {
  .container-info-tournament.exodia-tournament-redesign .content,
  .container-info-tournament.exodia-tournament-redesign .content-registration,
  .container-info-tournament.exodia-tournament-redesign .content-partner,
  .container-info-tournament.exodia-tournament-redesign .content-whitelist {
    padding: 14px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order .cell.first-column {
    min-width: 118px;
    font-size: 12px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .show-order .cell.number-column {
    min-width: 31px;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* =====================================================
   EXODIA TOURNAMENT — TOP HERO + FULL WIDTH TABS/CONTENT
   Objetivo:
   - Arriba solo flyer (.tournament-column-left) + hero (.exodia-tournament-hero-card)
   - Debajo tabs y content a todo el ancho
   - Sin tocar JS, IDs, clases ni lógica PHP
   ===================================================== */

/* La grid real del layout debe controlar todos los hijos visibles */
.container-info-tournament.exodia-tournament-redesign .tournament-inner-container {
  display: grid !important;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.88fr) !important;
  gap: clamp(16px, 2vw, 28px) !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* Importante: quitamos las cajas intermedias del flujo visual para que
   hero, tabs y contenidos puedan ocupar columnas reales de la grid. */
.container-info-tournament.exodia-tournament-redesign .tournament-column-right,
.container-info-tournament.exodia-tournament-redesign .tournament-column-right > .container {
  display: contents !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Top row: flyer izquierda */
.container-info-tournament.exodia-tournament-redesign .tournament-column-left {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

/* Top row: hero derecha */
.container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-self: stretch !important;
}

/* Tabs desktop: ancho completo debajo del flyer + hero */
.container-info-tournament.exodia-tournament-redesign .tabs {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Select mobile: mismo comportamiento que tabs, pero solo se muestra en mobile por tu CSS existente */
.container-info-tournament.exodia-tournament-redesign #tab-select {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 12px !important;
}

/* Todos los contenidos de tabs ocupan el ancho completo */
.container-info-tournament.exodia-tournament-redesign .content,
.container-info-tournament.exodia-tournament-redesign .content-registration,
.container-info-tournament.exodia-tournament-redesign .content-partner,
.container-info-tournament.exodia-tournament-redesign .content-whitelist {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Si algún form queda como hijo directo del container, también debe ocupar todo el ancho */
.container-info-tournament.exodia-tournament-redesign .tournament-column-right > .container > form,
.container-info-tournament.exodia-tournament-redesign form#create_profile,
.container-info-tournament.exodia-tournament-redesign form#whitelist-form {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Contenedores internos sin límites accidentales */
.container-info-tournament.exodia-tournament-redesign .overview-container,
.container-info-tournament.exodia-tournament-redesign .players-container,
.container-info-tournament.exodia-tournament-redesign .draws-container,
.container-info-tournament.exodia-tournament-redesign .order-container,
.container-info-tournament.exodia-tournament-redesign .live-order-container,
.container-info-tournament.exodia-tournament-redesign .show-draw,
.container-info-tournament.exodia-tournament-redesign .show-order {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* ===== HERO mejor distribuido, tocando lo mínimo ===== */

.container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card {
  min-height: 260px;
  padding: clamp(24px, 2.4vw, 40px);
  display: flex;
  align-items: stretch;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-content {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-template-areas:
    "kicker meta"
    "title  meta"
    "chips  chips"
    "actions actions";
  gap: 16px 26px;
  align-content: start;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-kicker {
  grid-area: kicker;
  align-self: start;
  justify-self: start;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-title {
  grid-area: title;
  margin: 0;
  max-width: 100%;
  font-size: clamp(52px, 4.6vw, 65px);
  line-height: .9;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta {
  grid-area: meta;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  align-self: start;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta span {
  min-width: 0;
  padding: 14px 16px;
  border-left: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-meta span:first-child {
  padding-left: 16px;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-chips {
  grid-area: chips;
  margin: 2px 0 0;
}

.container-info-tournament.exodia-tournament-redesign .exodia-hero-actions {
  grid-area: actions;
  margin-top: 2px;
}

/* =========================================================
   EXODIA OVERVIEW — Grid Cards Layout
   Convierte la tabla del overview en grid visual
   Sin tocar PHP / HTML
   ========================================================= */

.container-info-tournament.exodia-tournament-redesign .overview-table,
.container-info-tournament.exodia-tournament-redesign .overview-container table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
  margin: 0 0 37px 0 !important;
}

/* El tbody se convierte en grid */
.container-info-tournament.exodia-tournament-redesign .overview-table tbody,
.container-info-tournament.exodia-tournament-redesign .overview-container table tbody {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

/* Cada TR pasa a ser una card */
.container-info-tournament.exodia-tournament-redesign .overview-table tr,
.container-info-tournament.exodia-tournament-redesign .overview-container table tr {
  display: flex;
  flex-direction: column;
  min-height: 118px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 43, 32, .12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)) !important;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

/* Por defecto: 3 columnas en desktop */
.container-info-tournament.exodia-tournament-redesign .overview-table tr,
.container-info-tournament.exodia-tournament-redesign .overview-container table tr {
  grid-column: span 4;
}

/* Hover */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:hover,
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:hover {
  transform: translateY(-2px);
  border-color: rgba(255,43,32,.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 43, 32, .20), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.035)) !important;
}

/* Celdas base */
.container-info-tournament.exodia-tournament-redesign .overview-table td,
.container-info-tournament.exodia-tournament-redesign .overview-container table td {
  display: block;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

/* Label */
.container-info-tournament.exodia-tournament-redesign .overview-table td:first-child,
.container-info-tournament.exodia-tournament-redesign .overview-container table td:first-child {
  padding: 17px 18px 8px !important;
  color: #ff5048 !important;
  font-family: "Barlow Condensed", "Oswald", "Montserrat", sans-serif;
  font-size: 13px !important;
  font-weight: 900 !important;
  font-style: italic;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* Línea roja debajo del label */
.container-info-tournament.exodia-tournament-redesign .overview-table td:first-child::after,
.container-info-tournament.exodia-tournament-redesign .overview-container table td:first-child::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: #ff2b20;
  box-shadow: 0 0 14px rgba(255,43,32,.75);
}

/* Valor */
.container-info-tournament.exodia-tournament-redesign .overview-table td:last-child,
.container-info-tournament.exodia-tournament-redesign .overview-container table td:last-child {
  flex: 1;
  padding: 0 18px 18px !important;
  color: #fff !important;
  font-family: "Barlow", "Inter", "Montserrat", sans-serif;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

/* Textos largos */
.container-info-tournament.exodia-tournament-redesign .overview-table td:last-child p,
.container-info-tournament.exodia-tournament-redesign .overview-container table td:last-child p {
  margin: 0 0 9px !important;
}

.container-info-tournament.exodia-tournament-redesign .overview-table td:last-child p:last-child,
.container-info-tournament.exodia-tournament-redesign .overview-container table td:last-child p:last-child {
  margin-bottom: 0 !important;
}

/* =========================================================
   Cards grandes automáticas según posición
   Ajustado a tu orden actual:
   1 Title
   2 Country
   3 City
   4 Dates
   5 Registration Deadline
   6 Elite Prizes
   7 Amateur Prizes
   8 Sign Up Fee Elite
   9 Sign Up Fee Amateur
   10 Play Order
   11 Visa Requirement
   12 Categories and Modalities
   13 Consolation Draws
   14 Club Venue
   15 Club Location
   16 Official Hotel
   ========================================================= */

/* Title más grande */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(1),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(1) {
  grid-column: span 6;
}

/* Dates y deadline */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(4),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(4),
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(5),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(5) {
  grid-column: span 3;
}

/* Elite prizes: bloque grande */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(6),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(6) {
  grid-column: span 12;
  min-height: 220px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255,43,32,.20), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
}

/* Amateur prizes */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(7),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(7) {
  grid-column: span 6;
}

/* Fees en cards pequeñas */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(8),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(8),
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(9),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(9) {
  grid-column: span 3;
}

/* Play order grande */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(10),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(10) {
  grid-column: span 6;
  min-height: 210px;
}

/* Visa requirement grande */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(11),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(11) {
  grid-column: span 6;
  min-height: 210px;
}

/* Categories / Consolation / Club info */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(12),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(12),
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(13),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(13),
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(14),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(14),
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(15),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(15),
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(16),
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(16) {
  grid-column: span 4;
}

/* Valores tipo precio más grandes */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(8) td:last-child,
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(8) td:last-child,
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(9) td:last-child,
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(9) td:last-child {
  font-family: "Barlow Condensed", "Oswald", sans-serif;
  font-size: 34px !important;
  font-weight: 900 !important;
  font-style: italic;
  color: #fff !important;
}

/* Title más potente */
.container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(1) td:last-child,
.container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(1) td:last-child {
  font-family: "Barlow Condensed", "Oswald", sans-serif;
  font-size: clamp(28px, 3vw, 44px) !important;
  line-height: .95;
  font-weight: 900 !important;
  font-style: italic;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* Responsive tablet */
@media (max-width: 1100px) {
  .container-info-tournament.exodia-tournament-redesign .overview-table tbody,
  .container-info-tournament.exodia-tournament-redesign .overview-container table tbody {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table tr,
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr {
    grid-column: span 3;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(6),
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(6),
  .container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(10),
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(10),
  .container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(11),
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(11) {
    grid-column: span 6;
  }
}

/* Responsive móvil */
@media (max-width: 700px) {
  .container-info-tournament.exodia-tournament-redesign .overview-table tbody,
  .container-info-tournament.exodia-tournament-redesign .overview-container table tbody {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table tr,
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr,
  .container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(n),
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(n) {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table td:first-child,
  .container-info-tournament.exodia-tournament-redesign .overview-container table td:first-child {
    padding: 16px 16px 8px !important;
    font-size: 12px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table td:last-child,
  .container-info-tournament.exodia-tournament-redesign .overview-container table td:last-child {
    padding: 0 16px 16px !important;
    font-size: 15px !important;
  }

  .container-info-tournament.exodia-tournament-redesign .overview-table tr:nth-child(1) td:last-child,
  .container-info-tournament.exodia-tournament-redesign .overview-container table tr:nth-child(1) td:last-child {
    font-size: 30px !important;
  }
}

/* Ajuste responsive */
@media (max-width: 980px) {
  .container-info-tournament.exodia-tournament-redesign .exodia-hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "meta"
      "chips"
      "actions";
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-title {
    font-size: clamp(40px, 10vw, 68px);
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-hero-meta {
    grid-template-columns: 1fr;
  }
}

/* Tablet/mobile: todo en una sola columna y el contenido sigue a full width */
@media (max-width: 1180px) {
  .container-info-tournament.exodia-tournament-redesign .tournament-inner-container {
    grid-template-columns: 1fr !important;
  }

  .container-info-tournament.exodia-tournament-redesign .tournament-column-left,
  .container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card,
  .container-info-tournament.exodia-tournament-redesign .tabs,
  .container-info-tournament.exodia-tournament-redesign #tab-select,
  .container-info-tournament.exodia-tournament-redesign .content,
  .container-info-tournament.exodia-tournament-redesign .content-registration,
  .container-info-tournament.exodia-tournament-redesign .content-partner,
  .container-info-tournament.exodia-tournament-redesign .content-whitelist,
  .container-info-tournament.exodia-tournament-redesign form#create_profile,
  .container-info-tournament.exodia-tournament-redesign form#whitelist-form {
    grid-column: 1 / -1 !important;
  }

  .container-info-tournament.exodia-tournament-redesign .tournament-column-left {
    grid-row: 1 !important;
  }

  .container-info-tournament.exodia-tournament-redesign .exodia-tournament-hero-card {
    grid-row: 2 !important;
  }

  .container-info-tournament.exodia-tournament-redesign .tabs,
  .container-info-tournament.exodia-tournament-redesign #tab-select {
    grid-row: 3 !important;
  }

  .container-info-tournament.exodia-tournament-redesign .content,
  .container-info-tournament.exodia-tournament-redesign .content-registration,
  .container-info-tournament.exodia-tournament-redesign .content-partner,
  .container-info-tournament.exodia-tournament-redesign .content-whitelist,
  .container-info-tournament.exodia-tournament-redesign form#create_profile,
  .container-info-tournament.exodia-tournament-redesign form#whitelist-form {
    grid-row: 4 !important;
  }
}

