
#tb-promos-page {
  min-height: 60vh;
  background: var(--bg, #0d0c11);
  padding-bottom: 60px;
}

.tb-promos-wrap,
.tb-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.tb-promos-wrap { max-width: 1464px; }

.tb-promos-header {
  text-align: center;
  padding: 40px 0 28px;
}
.tb-promos-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.tb-promos-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.tb-promo-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.tb-promo-cat {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  outline: none !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-promo-cat:hover {
  border-color: var(--gold, #F5C542);
  color: var(--gold, #F5C542);
}
.tb-promo-cat:focus,
.tb-promo-cat:focus-visible,
.tb-promo-cat:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-promo-cat.active {
  background: var(--gold, #F5C542) !important;
  border-color: var(--gold, #F5C542) !important;
  color: #000 !important;
}


#tb-promo-modal ::selection {
  background: rgba(245,197,66,0.25);
  color: #fff;
}
#tb-promo-modal ::-moz-selection {
  background: rgba(245,197,66,0.25);
  color: #fff;
}

.tb-pm-acc-btn,
.tb-pm-acc-btn *,
.tb-pm-title,
.tb-pm-close,
.tb-detail-cta {
  user-select: none !important;
  -webkit-user-select: none !important;
}

#tb-promo-modal {
  display: none;
  position: fixed;
  top: var(--nav-h, 120px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(6,6,10,0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#tb-promo-modal.open {
  display: flex;
}

.tb-pm-box {
  background: var(--bg3, #1c1a22);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  width: 100%;
  max-width: 720px;
  flex-shrink: 0;
  position: relative;
  animation: tbPmIn .25s cubic-bezier(.34,1.56,.64,1);
  margin: auto;
}
@keyframes tbPmIn {
  from { opacity:0; transform: scale(.94) translateY(16px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

.tb-pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.tb-pm-close:hover { background: rgba(0,0,0,0.85); }
.tb-pm-close:focus,
.tb-pm-close:focus-visible,
.tb-pm-close:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.tb-pm-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.tb-pm-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--gold, #F5C542);
  border-radius: 50%;
  animation: tbSpin .7s linear infinite;
}
@keyframes tbSpin { to { transform: rotate(360deg); } }

.tb-pm-hero {
  position: relative;
  aspect-ratio: 16 / 6;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.tb-pm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-pm-hero .tb-promo-badge { top: 18px; right: 58px; }

.tb-pm-body {
  padding: 24px 28px 28px;
}
@media (max-width: 560px) { .tb-pm-body { padding: 18px 16px 22px; } }

.tb-pm-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.25;
  padding-right: 32px;
}
.tb-pm-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tb-pm-section {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tb-pm-acc-btn {
  width: 100%;
  background: none !important;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-pm-acc-btn:hover { color: var(--gold, #F5C542) !important; background: none !important; }
.tb-pm-acc-btn:focus,
.tb-pm-acc-btn:focus-visible,
.tb-pm-acc-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  color: #fff !important;
  border-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}
.tb-pm-acc-body {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0;
}
.tb-pm-acc-body.open {
  max-height: 800px;
  padding-bottom: 16px;
}
.tb-pm-section:has(.tb-pm-acc-body.open) .tb-acc-arrow { transform: rotate(180deg); }

.tb-pm-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 4px;
  flex-wrap: wrap;
}

.tb-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin: 28px 0 20px;
  transition: color 0.2s;
}
.tb-detail-back:hover { color: var(--gold, #F5C542); text-decoration: none; }

.tb-detail-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 5.5;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .tb-detail-hero { aspect-ratio: 16/7; } }
.tb-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tb-detail-hero .tb-promo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

.tb-detail-content {
  background: var(--bg3, #1c1a22);
  border-radius: 14px;
  padding: 30px 32px 36px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}
@media (max-width: 600px) { .tb-detail-content { padding: 20px 16px 24px; } }

.tb-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.25;
}

.tb-detail-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tb-detail-section {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tb-detail-acc-btn {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
}
.tb-detail-acc-btn:hover { color: var(--gold, #F5C542); }
.tb-acc-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: rgba(255,255,255,0.4);
}
.tb-detail-acc-body {
  font-size: 13px;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0;
}
.tb-detail-acc-body.open {
  max-height: 1200px;
  padding-bottom: 18px;
}
.tb-detail-section:has(.tb-detail-acc-body.open) .tb-acc-arrow {
  transform: rotate(180deg);
}

.tb-detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.tb-detail-cta {
  display: inline-block;
  background: var(--gold, #F5C542);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.tb-detail-cta:hover { background: var(--gold-h, #FFD454); color: #000; text-decoration: none; }
.tb-detail-back-btn {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.tb-detail-back-btn:hover { color: #fff; text-decoration: none; }

#tb-promo-modal .tb-pm-box {
  max-width: 1200px;
  background: var(--bg, #0d0c11);
  border: 1px solid rgba(245,197,66,0.16);
  border-radius: 20px;
  padding: 14px;
}
#tb-promo-modal .tb-pm-hero {
  aspect-ratio: 1920 / 832;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
#tb-promo-modal .tb-pm-close { top: 24px; right: 24px; }
#tb-promo-modal .tb-pm-body { padding: 30px 26px 18px; }
.tb-pm-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
#tb-promo-modal .tb-pm-title {
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0;
  padding: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.tb-pm-summary {
  margin: 14px auto 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  text-wrap: pretty;
}
.tb-pm-summary:empty { display: none; }
.tb-pm-block { margin-top: 22px; }
.tb-pm-h {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold, #F5C542);
}
.tb-pm-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(245,197,66,0.28), transparent); }
.tb-pm-list {
  list-style: none;
  margin: 0;
  padding: 8px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.tb-pm-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.74);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tb-pm-list li:last-child { border-bottom: 0; }
.tb-pm-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold, #F5C542);
  opacity: 0.7;
}
#tb-promo-modal .tb-pm-list { padding: 6px 24px; }
.tb-pm-list--quiet li { font-size: 13px; color: rgba(255,255,255,0.58); padding-top: 8px; padding-bottom: 8px; }
.tb-pm-list--quiet li::before { top: 17px; opacity: 0.4; }
.pd-num {
  display: inline-block;
  padding: 0 8px;
  margin: 0 1px;
  border-radius: 999px;
  font-weight: 700;
  color: #ffe08a;
  background: rgba(245,197,66,0.12);
  box-shadow: inset 0 0 0 1px rgba(245,197,66,0.32);
  line-height: 1.55;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pd-neg { font-weight: 700; color: #ff8f8f; }
.tb-pm-games {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.tb-pm-games-row[hidden] { display: none; }
.tb-pm-games-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
}
.tb-pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tb-pm-chips li {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffe08a;
  background: rgba(245,197,66,0.12);
  box-shadow: inset 0 0 0 1px rgba(245,197,66,0.32);
}
.tb-pm-chips--out li {
  color: #ff9d9d;
  background: rgba(255,90,90,0.1);
  box-shadow: inset 0 0 0 1px rgba(255,110,110,0.32);
}
.pd-em { font-weight: 700; color: #fff; }
.tb-pm-summary .pd-num { font-size: 0.95em; }
.tb-pm-terms > summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.tb-pm-terms > summary::-webkit-details-marker { display: none; }
.tb-pm-terms > summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s;
  flex: none;
}
.tb-pm-terms[open] > summary::before { transform: rotate(45deg); }
#tb-promo-modal .tb-pm-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
#tb-promo-modal .tb-pm-actions:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tb-pm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: #f1ece2;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tb-pm-btn i { color: var(--gold, #F5C542); }
.tb-pm-btn:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.26); }
.tb-pm-btn--main {
  color: #1a1205;
  background: linear-gradient(180deg, #ffe08a 0%, #f5c542 55%, #d99a22 100%);
  box-shadow: 0 10px 24px -12px rgba(245,197,66,0.7), inset 0 1px 0 rgba(255,255,255,0.55);
}
.tb-pm-btn--main i { color: #1a1205; }
.tb-pm-btn--main:hover { color: #1a1205; background: linear-gradient(180deg, #ffe7a3 0%, #f8cf5a 55%, #e2a52c 100%); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(245,197,66,0.8), inset 0 1px 0 rgba(255,255,255,0.6); }
.tb-pm-btn:focus-visible { outline: 2px solid var(--gold, #F5C542); outline-offset: 3px; }
.tb-pm-share { display: flex; justify-content: center; margin-top: 16px; }
.tb-pm-share:empty { display: none; }
@media (max-width: 900px) {
  #tb-promo-modal .tb-pm-actions,
  #tb-promo-modal .tb-pm-actions:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#tb-promo-modal .tb-pm-actions > .tb-pm-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 901px) {
  #tb-promo-modal .tb-pm-actions > .tb-pm-btn:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 600px) {
  #tb-promo-modal { padding: 0; background: #0d0c11; top: 0 !important; z-index: 1100005; }
  #tb-promo-modal .tb-pm-body { padding-bottom: 36px !important; }
  #tb-promo-modal .tb-pm-box { border-radius: 0; min-height: 100%; padding: 0; border: 0; }
  #tb-promo-modal .tb-pm-hero { border-radius: 0; }
  #tb-promo-modal .tb-pm-close { top: 12px; right: 12px; }
  #tb-promo-modal .tb-pm-hero .tb-promo-badge { top: 20px; right: 60px; }
  #tb-promo-modal .tb-pm-body { padding: 22px 16px 28px; }
  .tb-pm-summary { font-size: 15.5px; }
  .tb-pm-list { padding: 4px 14px; }
  .tb-pm-list li { font-size: 14px; }
  .tb-pm-btn { height: 48px; font-size: 14px; }
}
