/* Gamdom çevrim turnuvası — site renkleri + kırmızı/mavi vurgu */
.gd-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
  padding-bottom: 2rem;
  animation: gd-fade-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes gd-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gd-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--site-border-soft, rgba(255, 255, 255, 0.08));
  background: var(--site-panel-gradient, linear-gradient(165deg, #1e2739 0%, #181f2e 100%));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 60px -32px rgba(0, 0, 0, 0.55);
}

.gd-hero__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(255, 30, 30, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 30%, rgba(22, 119, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 85% 25%, rgba(22, 119, 255, 0.08), transparent 45%);
}

.gd-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 2rem 1.25rem 1.75rem;
}

@media (min-width: 640px) {
  .gd-hero__inner {
    padding: 2.5rem 2rem 2rem;
    gap: 1rem;
  }
}

.gd-hero__logo {
  display: block;
  max-height: clamp(2.5rem, 8vw, 4.5rem);
  width: auto;
  max-width: min(280px, 85vw);
  object-fit: contain;
}

.gd-hero__logo-text {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #4ade80;
}

.gd-hero__prize {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--site-accent-red, #ff1e1e);
  text-shadow: 0 0 40px rgba(255, 30, 30, 0.28);
}

.gd-hero__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--site-text, #f1f5f9);
}

.gd-countdown {
  margin-top: 0.25rem;
}

.gd-countdown__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.gd-countdown__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.gd-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.gd-countdown__value {
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.gd-countdown__name {
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.gd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.gd-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gd-hero__cta--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--site-accent-red, #ff1e1e) 0%, var(--site-accent-red-deep, #cc1818) 100%);
  box-shadow: 0 8px 24px -8px rgba(255, 30, 30, 0.45);
}

.gd-hero__cta--primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--site-accent-red-hover, #ff4545) 0%, var(--site-accent-red, #ff1e1e) 100%);
  box-shadow: 0 12px 28px -8px rgba(255, 30, 30, 0.55);
}

.gd-hero__cta--ghost {
  color: var(--site-text, #e2e8f0);
  border: 1px solid var(--site-border, rgba(255, 255, 255, 0.14));
  background: rgba(22, 119, 255, 0.06);
}

.gd-hero__cta--ghost:hover {
  background: rgba(22, 119, 255, 0.12);
  border-color: rgba(22, 119, 255, 0.35);
}

.gd-hero__cta--static {
  cursor: default;
}

button.gd-hero__cta {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

button.gd-hero__cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.gd-rules-modal-open {
  overflow: hidden;
}

.gd-rules-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gd-rules-modal[hidden] {
  display: none !important;
}

.gd-rules-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.gd-rules-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 36rem);
  max-height: min(85vh, 640px);
  border-radius: 1rem;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: linear-gradient(165deg, #1a1f2e 0%, #12151f 100%);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
}

.gd-rules-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gd-rules-modal__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #f1f5f9;
}

.gd-rules-modal__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.gd-rules-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.gd-rules-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.1rem 1.25rem 1.35rem;
}

.gd-rules-modal__content {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #cbd5e1;
  text-align: left;
}

.gd-rules-modal__empty {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  text-align: center;
}

.gd-rules-modal__link {
  display: inline-flex;
  margin: 1rem auto 0;
}

.gd-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.gd-periods__btn {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(30, 39, 57, 0.9);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.gd-periods__btn:hover {
  color: var(--site-text, #e2e8f0);
  border-color: rgba(22, 119, 255, 0.35);
}

.gd-periods__btn.is-active {
  color: #fff;
  border-color: rgba(22, 119, 255, 0.45);
  background: linear-gradient(180deg, var(--site-accent, #1677ff) 0%, var(--site-accent-muted, #0958d8) 100%);
  box-shadow: 0 6px 20px -10px rgba(22, 119, 255, 0.55);
}

.gd-board {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--site-border-soft, rgba(255, 255, 255, 0.08));
  background: var(--site-surface-gradient, linear-gradient(165deg, #1e2739, #181f2e));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 640px) {
  .gd-board {
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

/* Podyum */
.gd-podium {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 0.625rem;
  align-items: end;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 640px) {
  .gd-podium {
    gap: 1rem;
  }
}

.gd-podium__slot {
  display: flex;
  min-width: 0;
}

.gd-podium__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.55rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(40, 48, 68, 0.95) 0%, rgba(24, 28, 40, 0.98) 100%);
}

.gd-podium__slot--1 .gd-podium__card {
  padding-top: 1.35rem;
  border-color: rgba(255, 30, 30, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 30, 30, 0.12),
    0 -12px 40px -16px rgba(255, 30, 30, 0.28),
    0 0 32px -12px rgba(22, 119, 255, 0.2);
}

.gd-podium__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--site-accent-red, #ff1e1e), var(--site-accent-red-deep, #cc1818));
  box-shadow: 0 4px 12px rgba(255, 30, 30, 0.35);
}

.gd-podium__avatar-wrap {
  position: relative;
  margin-bottom: 0.65rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.35), rgba(239, 68, 68, 0.2));
}

.gd-podium__avatar {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.gd-podium__slot--1 .gd-podium__avatar {
  width: 5.25rem;
  height: 5.25rem;
}

.gd-podium__name {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f8fafc;
}

.gd-podium__wager {
  margin: 0.35rem 0 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--site-accent-red-bright, #ff6b6b);
}

.gd-podium__slot--1 .gd-podium__wager {
  font-size: 1.125rem;
}

.gd-podium__reward {
  margin: 0.35rem 0 0;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.gd-podium__reward strong {
  color: #e2e8f0;
  font-weight: 700;
}

/* Liste 4–50 — flex tablo, tam genişlik */
.gd-list-wrap {
  width: 100%;
  min-width: 0;
  margin-top: 0.25rem;
}

.gd-list-wrap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0 0.15rem;
}

.gd-list-wrap__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--site-text, #f1f5f9);
}

.gd-list-wrap__count {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--site-accent-bright, #69b1ff);
  background: rgba(22, 119, 255, 0.12);
  border: 1px solid rgba(22, 119, 255, 0.22);
}

.gd-list {
  width: 100%;
  min-width: 0;
  border-radius: 0.875rem;
  border: 1px solid var(--site-border-soft, rgba(255, 255, 255, 0.08));
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gd-list__head,
.gd-list__row {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 0.65rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .gd-list__head,
  .gd-list__row {
    gap: 1rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

.gd-list__head {
  display: none;
  min-height: 2.5rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--site-border-soft, rgba(255, 255, 255, 0.08));
  background: rgba(22, 119, 255, 0.08);
}

@media (min-width: 560px) {
  .gd-list__head {
    display: flex;
  }
}

.gd-list__th {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--site-text-muted, #94a3b8);
}

.gd-list__th--rank {
  flex: 0 0 2.75rem;
  text-align: center;
}

.gd-list__th--player {
  flex: 1 1 0;
  min-width: 0;
}

.gd-list__th--wager,
.gd-list__th--reward {
  flex: 0 0 5.75rem;
  text-align: right;
}

@media (min-width: 768px) {
  .gd-list__th--wager,
  .gd-list__th--reward {
    flex-basis: 7.25rem;
  }
}

.gd-list__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gd-list__row {
  min-height: 3.25rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--site-border-soft, rgba(255, 255, 255, 0.06));
  transition: background 0.15s ease;
}

.gd-list__row:last-child {
  border-bottom: none;
}

.gd-list__row:hover {
  background: rgba(22, 119, 255, 0.07);
}

.gd-list__row:nth-child(even) {
  background: rgba(0, 0, 0, 0.1);
}

.gd-list__row:nth-child(even):hover {
  background: rgba(22, 119, 255, 0.09);
}

.gd-list__rank {
  flex: 0 0 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--site-accent-bright, #69b1ff);
  background: rgba(22, 119, 255, 0.12);
  border: 1px solid rgba(22, 119, 255, 0.22);
}

.gd-list__player {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
}

.gd-list__avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 119, 255, 0.28);
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
}

.gd-list__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--site-text, #f1f5f9);
  text-align: left;
}

.gd-list__wager,
.gd-list__reward {
  flex: 0 0 5.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.gd-list__wager {
  color: var(--site-accent-red-bright, #ff6b6b);
}

.gd-list__reward {
  color: var(--site-accent-bright, #69b1ff);
}

@media (min-width: 768px) {
  .gd-list__wager,
  .gd-list__reward {
    flex-basis: 7.25rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 559.98px) {
  .gd-list__head {
    display: none;
  }

  .gd-list__row {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.45rem;
  }

  .gd-list__rank {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .gd-list__player {
    flex: 1 1 calc(100% - 3.25rem);
    min-width: 0;
  }

  .gd-list__wager,
  .gd-list__reward {
    flex: 1 1 0;
    min-width: 4.5rem;
    padding-left: 0.25rem;
  }

  .gd-list__wager::before,
  .gd-list__reward::before {
    display: block;
    margin-bottom: 0.12rem;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--site-text-muted, #64748b);
  }

  .gd-list__wager::before {
    content: attr(data-label);
  }

  .gd-list__reward::before {
    content: attr(data-label);
  }
}

.gd-alert {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
  font-size: 0.8125rem;
  color: #fcd34d;
}

.gd-empty,
.gd-loading {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9375rem;
}

.gd-error {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}

.gd-error__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #fecaca;
}

.gd-error__hint {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

[data-theme="light"] .gd-hero {
  border-color: var(--site-border, rgba(15, 23, 42, 0.1));
  background: var(--site-panel-gradient, linear-gradient(165deg, #fff 0%, #f8fafc 100%));
}

[data-theme="light"] .gd-hero__title {
  color: var(--site-text, #0f172a);
}

[data-theme="light"] .gd-podium__card {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-color: var(--site-border-soft, rgba(15, 23, 42, 0.1));
}

[data-theme="light"] .gd-list {
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .gd-list__head {
  background: rgba(22, 119, 255, 0.06);
}

[data-theme="light"] .gd-list__row:nth-child(even) {
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .gd-list__row:hover,
[data-theme="light"] .gd-list__row:nth-child(even):hover {
  background: rgba(22, 119, 255, 0.06);
}

/* —— Mobil (site lg altı) —— */
@media (max-width: 1023px) {
  .gd-page {
    gap: 1rem;
    padding-bottom: 0;
  }

  .gd-hero {
    border-radius: 1rem;
  }

  .gd-hero__inner {
    padding: 1.35rem 1rem 1.25rem;
    gap: 0.65rem;
  }

  .gd-hero__logo {
    max-height: 2.75rem;
    max-width: min(240px, 78vw);
  }

  .gd-hero__logo-text {
    font-size: 1.5rem;
  }

  .gd-hero__prize {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .gd-hero__title {
    font-size: 1.0625rem;
  }

  .gd-countdown__grid {
    gap: 0.35rem 0.5rem;
    width: 100%;
    max-width: 20rem;
  }

  .gd-countdown__unit {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.4rem 0.35rem;
  }

  .gd-countdown__value {
    font-size: 1.0625rem;
  }

  .gd-countdown__name {
    font-size: 0.5625rem;
  }

  .gd-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin-top: 0.35rem;
    gap: 0.5rem;
  }

  .gd-hero__cta {
    width: 100%;
    min-height: 2.625rem;
    padding-inline: 1rem;
  }

  .gd-periods {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    padding: 0.15rem 0.1rem 0.35rem;
    margin-inline: -0.15rem;
  }

  .gd-periods::-webkit-scrollbar {
    display: none;
  }

  .gd-periods__btn {
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
  }

  .gd-board {
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 1rem;
  }

  /* Podyum — dikey, 1 → 2 → 3 */
  .gd-podium {
    grid-template-columns: 1fr;
    max-width: 20rem;
    gap: 0.65rem;
    align-items: stretch;
  }

  .gd-podium__slot--1 {
    order: 1;
  }

  .gd-podium__slot--2 {
    order: 2;
  }

  .gd-podium__slot--3 {
    order: 3;
  }

  .gd-podium__card {
    padding: 0.9rem 0.85rem 1rem;
    border-radius: 0.875rem;
  }

  .gd-podium__slot--1 .gd-podium__card {
    padding-top: 1rem;
  }

  .gd-podium__avatar {
    width: 3.75rem;
    height: 3.75rem;
  }

  .gd-podium__slot--1 .gd-podium__avatar {
    width: 4.25rem;
    height: 4.25rem;
  }

  .gd-podium__name {
    font-size: 0.875rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .gd-podium__wager {
    font-size: 0.9375rem;
  }

  .gd-podium__slot--1 .gd-podium__wager {
    font-size: 1rem;
  }

  .gd-podium__reward {
    font-size: 0.6875rem;
    line-height: 1.35;
  }

  .gd-list-wrap__head {
    margin-bottom: 0.5rem;
  }

  .gd-list-wrap__title {
    font-size: 0.875rem;
  }

  .gd-list__head,
  .gd-list__row {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .gd-list__row {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    row-gap: 0.35rem;
    column-gap: 0.6rem;
    min-height: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .gd-list__rank {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
  }

  .gd-list__player {
    grid-column: 2;
    grid-row: 1;
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .gd-list__avatar {
    width: 2.25rem;
    height: 2.25rem;
  }

  .gd-list__name {
    font-size: 0.8125rem;
  }

  .gd-list__wager,
  .gd-list__reward {
    grid-column: 2;
    flex: none;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding-left: 0;
    text-align: right;
    white-space: normal;
    word-break: break-word;
  }

  .gd-list__wager {
    grid-row: 2;
  }

  .gd-list__reward {
    grid-row: 3;
  }

  .gd-list__wager::before,
  .gd-list__reward::before {
    display: inline;
    margin: 0 0.5rem 0 0;
    flex-shrink: 0;
    text-align: left;
  }

  .gd-rules-modal {
    align-items: flex-end;
    padding: 0;
  }

  .gd-rules-modal__panel {
    width: 100%;
    max-width: none;
    max-height: min(88dvh, 640px);
    border-radius: 1rem 1rem 0 0;
    border-bottom: none;
  }

  .gd-rules-modal__head {
    padding: 0.85rem 1rem;
  }

  .gd-rules-modal__body {
    padding: 0.85rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .gd-countdown__value {
    font-size: 0.9375rem;
  }

  .gd-list__row {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}
