﻿/* tap-light — component states Tailwind CDN can't express cleanly */

/* Download CTA — gold claim style sitewide */
.tt-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  color: var(--tt-dl-color);
  font-weight: 800;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  background-image: var(--tt-dl-bg);
  white-space: nowrap;
  box-shadow:
    0 4px 12px rgb(0 0 0 / 0.14),
    0 1px 0 rgb(255 255 255 / 0.55) inset;
}

.tt-dl:hover {
  opacity: 1;
  filter: brightness(1.05);
}

.tt-dl:active {
  transform: scale(0.96);
}

.tt-dl--sm {
  min-height: 1.85rem;
  padding: 0 0.65rem;
  font-size: 0.75rem;
}

.tt-dl--row {
  min-height: 2.25rem;
  min-width: 7.25rem;
  padding: 0 0.75rem;
  font-size: 0.78rem;
  gap: 0.28rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tt-dl--card {
  display: flex;
  width: 100%;
  min-height: 1.85rem;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.75rem;
}

.tt-dl--hero {
  min-height: 2.75rem;
  min-width: 9.5rem;
  padding: 0 1.15rem;
  font-size: 0.9rem;
  border-radius: 999px;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow:
    0 8px 20px rgb(0 0 0 / 0.18),
    0 1px 0 rgb(255 255 255 / 0.55) inset;
}

.tt-dl--block {
  display: flex;
  width: 100%;
  max-width: 7.5rem;
  margin-inline: auto;
}

/* Header — Deal Bar */
.tt-header {
  isolation: isolate;
}

.tt-header__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  /* deal-surface defaults to overflow:hidden; keep visible so search dropdown can escape */
  overflow: visible;
}

@media (min-width: 768px) {
  .tt-header__bar {
    padding-inline: 1.15rem;
    gap: 0.85rem;
  }
}

.tt-header__brand {
  display: flex;
  min-width: 0;
  max-width: 42%;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 1;
}

.tt-header__logo {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.65rem;
  object-fit: contain;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.28);
}

.tt-header__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tt-header__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (min-width: 768px) {
  .tt-header__name {
    font-size: 1.05rem;
  }
}

.tt-header__search {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 5;
}

.tt-header__search--spacer {
  flex: 1;
}

.tt-header__menu {
  flex-shrink: 0;
  box-shadow:
    0 4px 14px rgb(0 0 0 / 0.28),
    0 1px 0 rgb(255 255 255 / 0.55) inset;
}

.tt-search__input--header {
  width: 100%;
  min-height: 2.25rem;
  padding: 0.4rem 0.85rem 0.4rem 2.35rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(0 0 0 / 0.28);
  color: #fff;
  font-size: 0.8125rem;
  outline: none;
}

.tt-search__input--header::placeholder {
  color: rgb(255 255 255 / 0.65);
}

.tt-search__input--header:focus {
  border-color: var(--tt-gold);
  box-shadow: 0 0 0 2px rgb(240 180 41 / 0.35);
}

/* Secondary nav — light pills under deal bar */
.tt-nav {
  border-bottom: 1px solid var(--tt-border);
  background: #eef2e8;
}

.tt-nav__track {
  display: flex;
  gap: 0.4rem;
  width: 100%;
  overflow-x: auto;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  scrollbar-width: none;
}

.tt-nav__track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .tt-nav__track {
    padding-inline: 1.15rem;
  }
}

.tt-nav__pill {
  flex: 1 0 auto;
  display: inline-flex;
  min-width: 4.25rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  color: var(--tt-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tt-nav__pill:hover {
  border-color: rgb(90 122 58 / 0.45);
  color: var(--tt-olive);
}

.tt-nav__pill.is-active {
  color: var(--tt-ink);
  border-color: var(--tt-gold);
  box-shadow: 0 0 0 2px rgb(240 180 41 / 0.28);
  font-weight: 800;
}

/* Detail hero — light store header with deal energy */
.tt-detail-hero {
  border-radius: 1rem;
  color: #fff;
}

.tt-detail-hero.tt-deal-surface {
  box-shadow:
    0 14px 32px rgb(47 58 40 / 0.22),
    0 1px 0 rgb(255 255 255 / 0.18) inset;
}

.tt-detail-hero__glow {
  position: absolute;
  inset: auto -15% -45% -15%;
  height: 65%;
  z-index: 0;
  background: radial-gradient(closest-side, rgb(240 180 41 / 0.22), transparent 70%);
  pointer-events: none;
}

.tt-detail-hero__grid {
  display: none;
}

.tt-detail-hero__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1rem 1rem;
}

@media (min-width: 768px) {
  .tt-detail-hero__head {
    gap: 1.35rem;
    padding: 1.5rem 1.5rem 1.15rem;
  }
}

.tt-detail-hero__icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.tt-detail-hero__icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.15rem;
  object-fit: cover;
  background: var(--tt-soft);
  box-shadow: 0 8px 20px rgb(47 58 40 / 0.12);
  border: 3px solid #fff;
}

@media (min-width: 768px) {
  .tt-detail-hero__icon {
    width: 6.5rem;
    height: 6.5rem;
  }
}

.tt-detail-hero__badge {
  position: absolute;
  right: -0.2rem;
  bottom: -0.2rem;
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--tt-withdraw);
}

.tt-detail-hero__info {
  min-width: 0;
  text-align: left;
}

.tt-detail-hero__cat {
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background-image: var(--tt-dl-bg);
  color: var(--tt-dl-color);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tt-detail-hero__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

@media (min-width: 768px) {
  .tt-detail-hero__title {
    font-size: 1.75rem;
  }
}

.tt-detail-hero__signals {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.82);
}

.tt-detail-hero__signals span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tt-detail-hero__signals .text-tt-olive,
.tt-detail-hero__signals .text-tt-withdraw {
  color: var(--tt-gold-hi) !important;
}

.tt-detail-hero__lead {
  margin: 0.55rem 0 0;
  max-width: 36rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.85);
  text-transform: none;
}

.tt-detail-hero__actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tt-detail-hero__secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(0 0 0 / 0.2);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tt-detail-hero__secondary:hover {
  border-color: var(--tt-gold);
  background: rgb(0 0 0 / 0.32);
}

.tt-detail-hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}

@media (min-width: 640px) {
  .tt-detail-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: 1.5rem;
  }
}

.tt-detail-stat {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(0 0 0 / 0.22);
}

.tt-detail-stat__label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.72);
}

.tt-detail-stat__label.text-tt-promo,
.tt-detail-stat__value.text-tt-promo {
  color: #ffd0a0 !important;
}

.tt-detail-stat__label.text-tt-withdraw,
.tt-detail-stat__value.text-tt-withdraw {
  color: #b8f0c8 !important;
}

.tt-detail-stat__value {
  display: block;
  margin-top: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.tt-detail-hero__tags {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(0 0 0 / 0.18);
}

@media (min-width: 768px) {
  .tt-detail-hero__tags {
    padding-inline: 1.5rem;
  }
}

.tt-detail-chips__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tt-gold-hi);
}

.tt-detail-chips__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tt-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  max-width: 100%;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(0 0 0 / 0.25);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Detail body + related sidebar */
.tt-detail-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .tt-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 17.5rem);
    align-items: start;
    gap: 1.25rem;
  }

  .tt-detail-layout__side {
    position: sticky;
    top: 4.5rem;
  }
}

.tt-detail-panel {
  border-radius: 1rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  padding: 1rem 1.1rem 1.15rem;
}

@media (min-width: 768px) {
  .tt-detail-panel {
    padding: 1.25rem 1.35rem;
  }
}

.tt-detail-panel__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tt-ink);
}

.tt-detail-side {
  border-radius: 1rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  overflow: hidden;
}

.tt-detail-side__title {
  margin: 0;
  padding: 0;
  border-bottom: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: transparent;
}

.tt-detail-side__band {
  margin: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}

.tt-detail-side__list {
  margin: 0;
  padding: 0.35rem;
  list-style: none;
}

.tt-detail-side__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.5rem;
  border-radius: 0.65rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}

.tt-detail-side__item:hover {
  background: var(--tt-soft);
}

.tt-detail-side__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  object-fit: cover;
  background: var(--tt-soft);
  flex-shrink: 0;
}

.tt-detail-side__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tt-detail-side__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tt-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-detail-side__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--tt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Apps index */
.tt-apps-head {
  margin-bottom: 0.85rem;
}

.tt-apps-head__eyebrow,
.tt-blog-head__eyebrow,
.tt-doc__eyebrow {
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d2a12;
  background: linear-gradient(180deg, #ffe7a8 0%, #f0b429 100%);
  box-shadow: 0 2px 6px rgb(240 180 41 / 0.35);
}

.tt-apps-head__title,
.tt-blog-head__title,
.tt-doc__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tt-ink);
  line-height: 1.15;
}

.tt-doc__hero-inner.tt-deal-surface .tt-doc__title {
  color: #fff;
}

@media (min-width: 768px) {
  .tt-apps-head__title,
  .tt-blog-head__title,
  .tt-doc__title {
    font-size: 2rem;
  }
}

.tt-apps-head__count,
.tt-blog-head__count {
  margin-left: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt-muted);
  vertical-align: middle;
}

.tt-apps-head__lead,
.tt-blog-head__lead,
.tt-doc__lead {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--tt-muted);
}

.tt-apps-section-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tt-ink);
}

.tt-apps-filters {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  scrollbar-width: none;
}

.tt-apps-filters::-webkit-scrollbar {
  display: none;
}

.tt-apps-filter {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  color: var(--tt-ink);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.tt-apps-filter.is-active {
  border-color: transparent;
  background-image: var(--tt-dl-bg);
  color: var(--tt-dl-color);
  box-shadow: 0 3px 8px rgb(240 180 41 / 0.35);
}

.tt-apps-top {
  margin-bottom: 1.15rem;
}

.tt-apps-top .tt-apps-section-title {
  margin-bottom: 0.55rem;
}

.tt-apps-podium {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .tt-apps-podium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tt-apps-podium__item[hidden] {
  display: none !important;
}

.tt-apps-podium__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  height: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tt-apps-podium__card:hover {
  border-color: rgb(90 122 58 / 0.45);
  background: #f7f9f4;
}

.tt-apps-podium__rank {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  color: var(--tt-rank);
}

.tt-apps-podium__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  object-fit: cover;
  background: var(--tt-soft);
  flex-shrink: 0;
}

.tt-apps-podium__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding-right: 1rem;
}

.tt-apps-podium__name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tt-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-apps-podium__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

.tt-apps-podium__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tt-olive);
}

.tt-apps-podium__bonus {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tt-promo);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-apps-podium__bonus--muted {
  color: var(--tt-muted);
}

.tt-apps-list-wrap {
  margin-top: 0.25rem;
}

.tt-apps-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.tt-apps-list-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tt-muted);
}

.tt-apps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
}

.tt-apps-list > li:last-child {
  border-bottom: 0;
}

.tt-apps-list > li[hidden] {
  display: none !important;
}

.tt-apps-empty {
  margin: 0.75rem 0 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--tt-muted);
  border-radius: 0.85rem;
  border: 1px dashed var(--tt-border);
  background: #f7f9f4;
}

/* Blog feature + more grid */
.tt-blog-head {
  margin-bottom: 0.35rem;
}

.tt-blog-feature {
  display: grid;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgb(90 122 58 / 0.28);
  background:
    radial-gradient(70% 80% at 100% 100%, rgb(240 180 41 / 0.1) 0%, transparent 50%),
    var(--tt-surface);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(47 58 40 / 0.1);
}

@media (min-width: 768px) {
  .tt-blog-feature {
    grid-template-columns: 1.25fr 1fr;
    min-height: 14.5rem;
  }
}

.tt-blog-feature__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--tt-soft);
}

@media (min-width: 768px) {
  .tt-blog-feature__cover {
    aspect-ratio: auto;
    height: 100%;
    min-height: 14.5rem;
  }
}

.tt-blog-feature__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tt-olive);
  background:
    radial-gradient(80% 70% at 30% 20%, rgb(90 122 58 / 0.16), transparent 60%),
    var(--tt-soft);
}

.tt-blog-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.15rem;
  min-width: 0;
}

.tt-blog-feature__tag {
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--tt-soft);
  color: var(--tt-olive);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tt-blog-feature__title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--tt-ink);
}

@media (min-width: 768px) {
  .tt-blog-feature__title {
    font-size: 1.45rem;
  }
}

.tt-blog-feature__meta {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--tt-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-blog-feature__footer {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tt-muted);
}

.tt-blog-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--tt-dl-color);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background-image: var(--tt-dl-bg);
  box-shadow: 0 2px 8px rgb(240 180 41 / 0.35);
}

.tt-blog-more {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .tt-blog-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tt-blog-more__card {
  display: flex;
  gap: 0.75rem;
  height: 100%;
  padding: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tt-blog-more__card:hover {
  border-color: rgb(90 122 58 / 0.4);
  background: #f7f9f4;
}

.tt-blog-more__cover {
  width: 5.5rem;
  height: 3.75rem;
  flex-shrink: 0;
  border-radius: 0.55rem;
  object-fit: cover;
  background: var(--tt-soft);
}

.tt-blog-more__cover--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tt-olive);
}

.tt-blog-more__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tt-blog-more__tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tt-olive);
}

.tt-blog-more__title {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--tt-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-blog-more__meta {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--tt-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-blog-detail__cover-wrap {
  max-width: var(--tt-shell-max);
}

.tt-blog-detail__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--tt-soft);
  border: 1px solid var(--tt-border);
}

.tt-blog-detail__read {
  max-width: 42rem;
  margin-inline: auto;
}

.tt-blog-detail__header {
  margin-bottom: 1.5rem;
  padding: 1rem 1.05rem 1.15rem;
  border-radius: 1rem;
  border-bottom: 0;
}

.tt-blog-detail__header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.75rem;
}

.tt-blog-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--tt-dl-color);
  background-image: var(--tt-dl-bg);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.18);
}

.tt-blog-detail__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgb(255 255 255 / 0.8);
}

.tt-blog-detail__title {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

@media (min-width: 768px) {
  .tt-blog-detail__title {
    font-size: 2rem;
  }
}

.tt-blog-detail__lead {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.88);
  text-transform: none;
}

.tt-blog-detail__body {
  padding-bottom: 2rem;
}

/* Legal / HTML document pages */
.tt-doc__hero-inner {
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 1rem;
}

.tt-doc__hero-inner.tt-deal-surface .tt-doc__title,
.tt-doc__hero-inner.tt-deal-surface .tt-doc__lead {
  color: #fff;
}

.tt-doc__hero-inner.tt-deal-surface .tt-doc__lead {
  color: rgb(255 255 255 / 0.85);
}

.tt-doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tt-doc__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.22);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.22);
  font-size: 0.72rem;
  font-weight: 700;
}

.tt-doc__chip--muted {
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.28);
  color: rgb(255 255 255 / 0.78);
}

.tt-doc__layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .tt-doc__layout {
    grid-template-columns: 13.5rem minmax(0, 1fr);
    align-items: start;
  }

  .tt-doc-toc:not([hidden]) {
    position: sticky;
    top: 4.5rem;
  }
}

.tt-doc-toc {
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid var(--tt-border);
  background: #f7f9f4;
}

.tt-doc-toc__title {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tt-olive);
}

.tt-doc-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.tt-doc-toc__list a {
  display: block;
  padding: 0.25rem 0;
  color: var(--tt-ink);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.tt-doc-toc__list a:hover {
  color: var(--tt-olive);
}

.tt-doc__panel {
  border-radius: 1rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  padding: 1.1rem 1.15rem 1.35rem;
}

@media (min-width: 768px) {
  .tt-doc__panel {
    padding: 1.35rem 1.5rem 1.6rem;
  }
}

.tt-doc__body > h2 {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--tt-border);
  font-size: 1.05rem;
}

.tt-doc__body > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.tt-doc__body > h2 + p {
  margin-top: 0.45rem;
}

/* Contact-style short sections → stacked cards (2–4 h2 blocks) */
.tt-doc__body:has(> h2:nth-of-type(2)):not(:has(> h2:nth-of-type(5))) > h2 {
  margin: 0.85rem 0 0;
  padding: 0.9rem 0.95rem 0.2rem;
  border: 1px solid var(--tt-border);
  border-bottom: 0;
  border-radius: 0.85rem 0.85rem 0 0;
  background: #f7f9f4;
  font-size: 0.95rem;
}

.tt-doc__body:has(> h2:nth-of-type(2)):not(:has(> h2:nth-of-type(5))) > h2:first-child {
  margin-top: 0;
}

.tt-doc__body:has(> h2:nth-of-type(2)):not(:has(> h2:nth-of-type(5))) > h2 + * {
  margin: 0;
  padding: 0.15rem 0.95rem 0.95rem;
  border: 1px solid var(--tt-border);
  border-top: 0;
  border-radius: 0 0 0.85rem 0.85rem;
  background: var(--tt-surface);
}

/* Footer — column groups from site.footerColumns */
.tt-footer__cols {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem 1.75rem;
}

.tt-footer__col {
  min-width: 6.5rem;
  max-width: 100%;
}

.tt-footer__col-title {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.62);
}

.tt-footer__col-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.tt-footer__col-links--fallback {
  justify-content: center;
}

.tt-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  margin-bottom: 0.2rem;
  padding: 0 0.7rem;
  border-right: 1px dashed rgb(255 255 255 / 0.3);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

.tt-footer__link:last-child {
  border-right: 0;
}

.tt-footer__link:hover {
  color: var(--tt-soft);
}

/* Drawer — right side deal sheet */
.tt-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.tt-drawer.is-open {
  pointer-events: auto;
}

.tt-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.55);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.tt-drawer.is-open .tt-drawer__backdrop {
  opacity: 1;
}

.tt-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(20rem, 82vw);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1rem 1.25rem;
  color: #fff;
  border-left: 1px solid rgb(255 220 140 / 0.35);
  background:
    radial-gradient(120% 80% at 100% 0%, rgb(240 180 41 / 0.28) 0%, transparent 45%),
    linear-gradient(180deg, #2f4a22 0%, #45612c 42%, #5a7a3a 78%, #8a6a1a 100%);
  box-shadow: -16px 0 40px rgb(0 0 0 / 0.35);
  transform: translateX(104%);
  opacity: 1;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: auto;
}

.tt-drawer__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background: var(--tt-stripe);
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.tt-drawer.is-open .tt-drawer__panel {
  transform: translateX(0);
  pointer-events: auto;
}

.tt-drawer__head,
.tt-drawer__nav {
  position: relative;
  z-index: 1;
}

.tt-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
}

.tt-drawer__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.tt-drawer__title strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tt-drawer__close {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.28);
  background: rgb(0 0 0 / 0.25);
  color: #fff;
  cursor: pointer;
}

.tt-drawer__close:hover {
  background: rgb(0 0 0 / 0.4);
  border-color: var(--tt-gold);
}

.tt-drawer__nav {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.25rem;
}

.tt-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: rgb(0 0 0 / 0.22);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.tt-drawer__link:hover {
  background: rgb(0 0 0 / 0.32);
  border-color: rgb(255 220 140 / 0.45);
}

.tt-drawer__link.is-active {
  border-color: transparent;
  color: var(--tt-dl-color);
  background-image: var(--tt-dl-bg);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.28);
}

.tt-drawer__link.is-active i {
  color: var(--tt-dl-color);
}

/* Tabs */
.tt-tab-panel {
  display: none;
}

.tt-tab-panel[hidden] {
  display: none !important;
}

.tt-tab-panel.is-active {
  display: block;
}

.tt-tab.is-active {
  background-image: var(--tt-dl-bg);
  border-color: transparent;
  color: var(--tt-dl-color);
  box-shadow: 0 3px 8px rgb(240 180 41 / 0.3);
}

.tt-tab--pill.is-active {
  background-image: var(--tt-dl-bg);
  color: var(--tt-dl-color);
  box-shadow: 0 3px 8px rgb(240 180 41 / 0.3);
}

/* Carousel */
.tt-carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-carousel__slide {
  min-width: 100%;
}

.tt-carousel__dot.is-active {
  background: var(--tt-gold);
  width: 0.9rem;
}

/* Search / modal */
.tt-search__results {
  display: none;
  top: calc(100% + 0.35rem);
  z-index: 60;
}

.tt-search--header .tt-search__results {
  z-index: 60;
  border-color: rgb(90 122 58 / 0.25);
  box-shadow: 0 12px 28px rgb(47 58 40 / 0.2);
}

.tt-search__results.is-open {
  display: block;
}

.tt-modal {
  display: none;
}

.tt-modal.is-open {
  display: flex;
}

.tt-dl--dock {
  flex-shrink: 0;
  min-height: 2.85rem;
  min-width: 7.25rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  gap: 0.35rem;
  color: var(--tt-dl-color);
  background-image: var(--tt-dl-bg);
  box-shadow:
    0 6px 14px rgb(0 0 0 / 0.22),
    0 1px 0 rgb(255 255 255 / 0.55) inset;
}

.tt-dl--dock:hover {
  opacity: 1;
  filter: brightness(1.05);
}

.tt-dl--dock:active {
  transform: scale(0.97);
}

/* Notice bar — deal surface */
.tt-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.tt-notice__ribbon {
  flex-shrink: 0;
}

.tt-notice__icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tt-notice__text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* Download dock — game-deal promo bar */
body.has-download-dock-page .tt-shell {
  padding-bottom: 7rem;
}

.tt-download-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 40;
  width: 100%;
  max-width: var(--tt-shell-max);
  transform: translateX(-50%);
  padding: 0 0.55rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgb(244 246 242 / 0.55) 50%, var(--tt-bg) 100%);
}

.tt-download-dock__inner {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow: hidden;
  padding: 0.55rem 0.55rem 0.55rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgb(255 220 140 / 0.35);
  background:
    radial-gradient(120% 160% at 100% 0%, rgb(240 180 41 / 0.35) 0%, transparent 42%),
    radial-gradient(90% 120% at 0% 100%, rgb(107 143 69 / 0.55) 0%, transparent 50%),
    var(--tt-panel-deal);
  box-shadow:
    0 14px 32px rgb(47 58 40 / 0.28),
    0 1px 0 rgb(255 255 255 / 0.22) inset;
  color: #fff;
}

.tt-download-dock__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgb(255 255 255 / 0.18) 48%,
    transparent 56%,
    transparent 100%
  );
  background-size: 220% 100%;
  pointer-events: none;
  animation: tt-dock-shine 3.6s ease-in-out infinite;
}

.tt-download-dock__stripe {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(
    -28deg,
    transparent 0 10px,
    rgb(255 255 255 / 0.35) 10px 12px
  );
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

@keyframes tt-dock-shine {
  0%,
  55% {
    background-position: 120% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-download-dock__shine {
    animation: none;
    opacity: 0.35;
    background-position: 30% 0;
  }
}

.tt-download-dock__deal {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  max-width: 7.5rem;
  padding: 0.2rem 0.55rem 0.2rem 0.15rem;
  border-right: 1px dashed rgb(255 255 255 / 0.28);
}

@media (min-width: 480px) {
  .tt-download-dock__inner--deal .tt-download-dock__deal {
    display: flex;
  }

  .tt-download-dock__inner--deal .tt-download-dock__chip--mobile-deal {
    display: none;
  }
}

.tt-download-dock__deal-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffe7a8;
  line-height: 1;
}

.tt-download-dock__deal-value {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff6d6;
  text-shadow: 0 1px 0 rgb(0 0 0 / 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tt-download-dock__icon {
  position: relative;
  z-index: 1;
  width: 3.15rem;
  height: 3.15rem;
  flex-shrink: 0;
  border-radius: 0.85rem;
  object-fit: cover;
  background: rgb(255 255 255 / 0.2);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.22);
  border: 2px solid rgb(255 255 255 / 0.9);
}

@media (min-width: 640px) {
  .tt-download-dock__icon {
    width: 3.4rem;
    height: 3.4rem;
  }
}

.tt-download-dock__info {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.tt-download-dock__name {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.tt-download-dock__verified {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  color: #b8f0c8;
}

.tt-download-dock__chips {
  margin-top: 0.28rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  min-width: 0;
}

.tt-download-dock__chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgb(255 255 255 / 0.14);
  color: rgb(255 255 255 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.14);
}

.tt-download-dock__chip--promo {
  background: rgb(255 208 160 / 0.24);
  color: #ffe0c2;
  border-color: rgb(255 208 160 / 0.22);
}

.tt-download-dock__chip--olive {
  background: rgb(255 255 255 / 0.16);
  color: #eef6e4;
}

.tt-download-dock__chip--ok {
  background: rgb(157 255 181 / 0.16);
  color: #c8ffd6;
  border-color: rgb(157 255 181 / 0.18);
}

.tt-download-dock__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
  padding-top: 0.35rem;
}

.tt-download-dock__cta-hint {
  position: absolute;
  top: -0.15rem;
  right: 0.35rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem 0.3rem 0.3rem 0;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, #e85d2c 0%, #c45c26 55%, #a34418 100%);
  border: 1px solid rgb(255 255 255 / 0.35);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.28);
  white-space: nowrap;
  pointer-events: none;
}

.tt-download-dock__cta-hint::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  border-style: solid;
  border-width: 0.28rem 0.28rem 0 0;
  border-color: #7a3010 transparent transparent transparent;
}

@media (max-width: 379px) {
  .tt-download-dock__cta-hint {
    display: none;
  }

  .tt-download-dock__cta {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tt-download-dock__inner--deal .tt-download-dock__cta-hint {
    animation: tt-dock-hint-wiggle 2s ease-in-out infinite;
  }
}

@keyframes tt-dock-hint-wiggle {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tt-download-dock__inner--deal .tt-dl--dock {
    animation: tt-dock-pulse 2.2s ease-in-out infinite;
  }
}

@keyframes tt-dock-pulse {
  0%,
  100% {
    box-shadow:
      0 6px 14px rgb(0 0 0 / 0.22),
      0 1px 0 rgb(255 255 255 / 0.55) inset,
      0 0 0 0 rgb(240 180 41 / 0.45);
  }
  50% {
    box-shadow:
      0 8px 18px rgb(0 0 0 / 0.26),
      0 1px 0 rgb(255 255 255 / 0.55) inset,
      0 0 0 6px rgb(240 180 41 / 0);
  }
}

/* Featured top123 — deal-energy discovery panel */
.tt-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 1rem;
  color: #fff;
}

/* Featured on deal surface */
.tt-featured.tt-deal-surface {
  border-radius: 1rem;
  color: #fff;
}

.tt-featured.tt-deal-surface .tt-featured__side {
  background: rgb(0 0 0 / 0.18);
  border-color: rgb(255 255 255 / 0.14);
}

.tt-featured.tt-deal-surface .tt-featured__item {
  color: #fff;
  border-color: transparent;
}

.tt-featured.tt-deal-surface .tt-featured__item:hover {
  background: rgb(255 255 255 / 0.1);
}

.tt-featured.tt-deal-surface .tt-featured__item.is-active {
  background: rgb(255 255 255 / 0.16);
  border-color: var(--tt-gold);
  box-shadow: 0 0 0 1px rgb(240 180 41 / 0.35);
}

.tt-featured.tt-deal-surface .tt-featured__item-name,
.tt-featured.tt-deal-surface .tt-featured__title {
  color: #fff;
}

.tt-featured.tt-deal-surface .tt-featured__item-rating,
.tt-featured.tt-deal-surface .tt-featured__item-tags,
.tt-featured.tt-deal-surface .tt-featured__desc {
  color: rgb(255 255 255 / 0.78);
}

.tt-featured.tt-deal-surface .tt-featured__meta {
  color: #fff;
}

.tt-featured.tt-deal-surface .tt-featured__score-label {
  color: rgb(255 255 255 / 0.72);
}

.tt-featured.tt-deal-surface .tt-featured__score-value {
  color: var(--tt-gold-hi);
}

.tt-featured.tt-deal-surface .tt-featured__item-arrow {
  color: var(--tt-gold-hi);
}

/* Podium cards on deal surface — must re-assert bg (base card bg wins otherwise) */
.tt-apps-podium__card.tt-deal-surface {
  border-radius: 0.85rem;
  border-color: rgb(255 220 140 / 0.35);
  color: #fff;
  background:
    radial-gradient(120% 160% at 100% 0%, rgb(240 180 41 / 0.32) 0%, transparent 42%),
    radial-gradient(90% 120% at 0% 100%, rgb(107 143 69 / 0.5) 0%, transparent 50%),
    var(--tt-panel-deal);
  box-shadow: 0 8px 20px rgb(47 58 40 / 0.22);
}

.tt-apps-podium__card.tt-deal-surface:hover {
  border-color: rgb(255 220 140 / 0.55);
  background:
    radial-gradient(120% 160% at 100% 0%, rgb(240 180 41 / 0.4) 0%, transparent 42%),
    radial-gradient(90% 120% at 0% 100%, rgb(107 143 69 / 0.55) 0%, transparent 50%),
    var(--tt-panel-deal);
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.tt-apps-podium__card.tt-deal-surface .tt-apps-podium__name,
.tt-apps-podium__card.tt-deal-surface .tt-apps-podium__rank {
  color: #fff;
}

.tt-apps-podium__card.tt-deal-surface .tt-apps-podium__meta {
  color: #ffe7a8;
}

.tt-apps-podium__card.tt-deal-surface .tt-apps-podium__bonus {
  color: #ffd8b0;
}

.tt-apps-podium__card.tt-deal-surface .tt-apps-podium__bonus--muted {
  color: rgb(255 255 255 / 0.85);
}

.tt-apps-podium__card.tt-deal-surface .tt-apps-podium__icon {
  border: 2px solid rgb(255 255 255 / 0.9);
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.25);
}

.tt-apps-list-meta {
  margin: -0.35rem 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tt-muted);
}

/* Blog feature body on deal surface */
.tt-blog-feature__body.tt-deal-surface {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.tt-blog-feature__body.tt-deal-surface .tt-blog-feature__title {
  color: #fff;
}

.tt-blog-feature__body.tt-deal-surface .tt-blog-feature__meta,
.tt-blog-feature__body.tt-deal-surface .tt-blog-feature__footer {
  color: rgb(255 255 255 / 0.82);
}

.tt-blog-feature__body.tt-deal-surface .tt-blog-feature__cta {
  color: var(--tt-dl-color);
}

.tt-blog-feature__body.tt-deal-surface .tt-blog-feature__tag {
  display: none;
}

@media (min-width: 768px) {
  .tt-featured {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
}

.tt-featured__stage,
.tt-featured__side,
.tt-featured__panel,
.tt-featured__list {
  min-width: 0;
  max-width: 100%;
}

.tt-featured__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--tt-soft);
  overflow: hidden;
}

.tt-featured__panel {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
}

.tt-featured__panel.is-active {
  display: block;
}

.tt-featured__cover-link {
  display: block;
  position: absolute;
  inset: 0;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.tt-featured__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--tt-soft);
}

.tt-featured__cover--icon {
  object-fit: contain;
  padding: 2rem;
  background:
    radial-gradient(80% 70% at 30% 20%, rgb(90 122 58 / 0.18), transparent 60%),
    linear-gradient(160deg, #eef3e8 0%, #e2ead8 100%);
}

.tt-featured__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 28%,
    rgb(0 0 0 / 0.28) 58%,
    rgb(0 0 0 / 0.72) 82%,
    rgb(0 0 0 / 0.88) 100%
  );
  pointer-events: none;
}

.tt-featured__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem 1rem;
  color: var(--tt-ink);
  max-width: 100%;
  box-sizing: border-box;
}

.tt-featured__meta-text {
  min-width: 0;
  flex: 1;
}

.tt-featured__title {
  margin: 0;
  font-size: clamp(1.05rem, 4.2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tt-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-featured__desc {
  margin: 0.35rem 0 0;
  max-width: 100%;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--tt-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-featured__score {
  flex-shrink: 0;
  text-align: right;
}

.tt-featured__score-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tt-muted);
}

.tt-featured__score-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--tt-olive);
}

.tt-featured__item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--tt-ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tt-featured__item:hover {
  background: var(--tt-soft);
}

.tt-featured__item.is-active {
  background: #fff;
  border-color: var(--tt-gold);
  box-shadow: 0 0 0 1px rgb(240 180 41 / 0.25), 0 4px 12px rgb(240 180 41 / 0.12);
}

.tt-featured__thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.55rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--tt-soft);
  border: 1px solid var(--tt-border);
}

.tt-featured__item-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow: hidden;
}

.tt-featured__item-name {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--tt-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-featured__item-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tt-olive);
}

.tt-featured__item-tags {
  font-size: 0.7rem;
  color: var(--tt-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-featured__item-arrow {
  display: none;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-image: var(--tt-dl-bg);
  color: var(--tt-dl-color);
}

.tt-featured__item.is-active .tt-featured__item-arrow {
  display: inline-flex;
}

.tt-featured__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background:
    linear-gradient(180deg, #f7f9f4 0%, #eef3e6 100%);
  border-top: 1px solid var(--tt-border);
}

.tt-featured__list {
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  overflow: auto;
  background: transparent;
  box-sizing: border-box;
}

/* Narrow: horizontal compact strip under the stage */
@media (max-width: 767px) {
  .tt-featured__side {
    border-top: 1px solid var(--tt-border);
  }

  .tt-featured__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tt-featured__list::-webkit-scrollbar {
    display: none;
  }

  .tt-featured__list > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-margin-inline: 0.5rem;
  }

  .tt-featured__list > li:first-child {
    padding-left: 0.5rem;
  }

  .tt-featured__list > li:last-child {
    padding-right: 0.5rem;
  }

  .tt-featured__item {
    width: auto;
    max-width: 9.5rem;
    min-width: 0;
    gap: 0.45rem;
    padding: 0.4rem 0.5rem;
  }

  .tt-featured__item--banner {
    max-width: 8.5rem;
  }

  .tt-featured__thumb {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.45rem;
  }

  .tt-featured__thumb--wide {
    width: 3.4rem;
    height: 1.9rem;
    max-width: 3.4rem;
  }

  .tt-featured__item-body {
    gap: 0.05rem;
  }

  .tt-featured__item-name {
    font-size: 0.75rem;
    max-width: 5.5rem;
  }

  .tt-featured__item-rating {
    font-size: 0.65rem;
  }

  .tt-featured__item-tags,
  .tt-featured__item-arrow {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .tt-featured__side {
    border-top: 0;
    border-left: 1px solid var(--tt-border);
    /* Lock to stage row height (aspect-ratio) so list cannot stretch the panel */
    height: 0;
    min-height: 100%;
    overflow: hidden;
  }

  .tt-featured__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
}

.tt-featured__thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.tt-featured__thumb--wide {
  width: 4.25rem;
  height: 2.4rem;
  max-width: 4.25rem;
  border-radius: 0.4rem;
}

.tt-featured__ad-chip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0.05rem 0.28rem;
  border-radius: 0.25rem 0 0.3rem 0;
  background: var(--tt-olive);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.tt-featured__ad-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  background: var(--tt-olive);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tt-featured__cover-link--btn {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tt-featured__gradient--soft {
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgb(0 0 0 / 0.2) 70%,
    rgb(0 0 0 / 0.55) 100%
  );
}

/* Reveal — never blank the page if JS is late */
.tt-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .tt-reveal.is-in {
    animation: tt-reveal-in 0.35s ease both;
  }
}

@keyframes tt-reveal-in {
  from {
    opacity: 0.6;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-reveal,
  .tt-carousel__track,
  .tt-drawer__panel,
  .tt-drawer__backdrop {
    transition: none !important;
    animation: none !important;
  }

  .tt-reveal {
    opacity: 1;
    transform: none;
  }
}
