﻿/* tap-light — TapTap-style discovery components */

/* —— CTA —— */
.tt-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.5rem 1.1rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-image: var(--tt-cta);
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.tt-dl:hover {
  filter: brightness(1.08);
}

.tt-dl:active {
  transform: scale(0.98);
}

.tt-dl--sm {
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
}

.tt-dl--row {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
}

.tt-dl--hero,
.tt-dl--dock {
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  font-size: 0.9375rem;
}

.tt-dl--block {
  width: 100%;
}

/* —— Header —— */
.tt-header__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: var(--tt-header-h);
  padding: 0 var(--tt-pad);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .tt-header__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 28rem) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0 var(--tt-pad-lg);
  }
}

.tt-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 1;
  min-width: 0;
  max-width: 42%;
  text-decoration: none;
  color: var(--tt-ink);
  font-weight: 800;
}

@media (min-width: 1024px) {
  .tt-header__brand {
    max-width: none;
    flex-shrink: 0;
    justify-self: start;
  }
}

.tt-header__name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .tt-header__name {
    display: none;
  }

  .tt-header__brand {
    max-width: none;
    flex-shrink: 0;
  }
}

.tt-header__search {
  flex: 1 1 0;
  min-width: 0;
  max-width: 32rem;
  margin: 0;
}

@media (min-width: 1024px) {
  .tt-header__search {
    width: 100%;
    max-width: none;
    margin: 0;
    justify-self: stretch;
  }
}

.tt-search--header {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.tt-search__input--header {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem 0.45rem 2.35rem;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: var(--tt-panel);
  color: var(--tt-ink);
  font-size: 0.875rem;
  outline: none;
}

.tt-header__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: var(--tt-panel);
  flex-shrink: 0;
}

.tt-header__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tt-panel-2);
  color: var(--tt-accent);
}

.tt-header__search--spacer {
  flex: 1;
  min-width: 0;
}

.tt-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .tt-header__actions {
    justify-self: end;
  }
}

.tt-header__cta {
  display: none;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  max-width: min(14rem, 42vw);
  padding: 0.4rem 0.95rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background-image: var(--tt-cta);
  cursor: pointer;
}

.tt-header__cta-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-header__cta--offer {
  max-width: min(16rem, 48vw);
}

@media (min-width: 640px) {
  .tt-header__cta {
    display: inline-flex;
  }
}

.tt-header__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--tt-border);
  border-radius: 0.65rem;
  background: var(--tt-panel);
  color: var(--tt-ink);
  cursor: pointer;
}

.tt-search__input--header {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 2.35rem;
  padding: 0.45rem 0.9rem 0.45rem 2.35rem;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: var(--tt-panel);
  color: var(--tt-ink);
  font-size: 0.875rem;
  outline: none;
}

.tt-search__input--header::placeholder {
  color: var(--tt-faint);
}

.tt-search__input--header:focus {
  border-color: var(--tt-border-hi);
  background: var(--tt-panel-2);
}

.tt-search__results {
  display: none;
  margin-top: 0.35rem;
  background: var(--tt-panel) !important;
  border-color: var(--tt-border) !important;
  color: var(--tt-ink);
}

.tt-search__results.is-open,
.tt-search__results:not(:empty) {
  display: block;
}

/* —— Nav tree (rail + drawer) —— */
.tt-nav-tree__section {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.4rem 0.65rem;
  border-radius: var(--tt-radius);
  background: var(--tt-rail-section-bg);
  border: 1px solid var(--tt-rail-section-border);
}

.tt-nav-tree__section--foot {
  margin-top: auto;
  margin-bottom: 0;
  padding: 0.7rem 0.25rem 0.15rem;
  background: transparent;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0;
}

.tt-nav-tree__label {
  margin: 0 0 0.5rem;
  padding: 0 0.45rem;
  font-family: var(--tt-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tt-nav-label);
}

.tt-nav-tree__label--sub {
  display: none;
}

.tt-nav-tree__label-icon {
  display: none;
}

.tt-nav-tree__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--tt-nav-gap);
}

.tt-nav-tree__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: var(--tt-nav-pad-y) var(--tt-nav-pad-x);
  border-radius: var(--tt-nav-radius);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tt-nav-fg);
  text-decoration: none;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.tt-nav-tree__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--tt-faint);
  transition: color 0.15s ease;
}

.tt-nav-tree__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-nav-tree__link:hover {
  color: var(--tt-nav-fg-hover);
  background: var(--tt-nav-bg-hover);
  border-color: rgb(255 255 255 / 0.04);
}

.tt-nav-tree__link:hover .tt-nav-tree__icon {
  color: var(--tt-accent-2);
}

.tt-nav-tree__link.is-active {
  color: var(--tt-nav-fg-active);
  background: var(--tt-nav-bg-active);
  background-image: var(--tt-nav-bg-active);
  border-color: var(--tt-nav-border-active);
  box-shadow: var(--tt-glow-hot);
  font-weight: 800;
}

.tt-nav-tree__link.is-active .tt-nav-tree__icon {
  color: var(--tt-nav-fg-active);
}

.tt-nav-tree__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 0.35rem;
}

.tt-nav-tree__chip {
  display: flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--tt-faint);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.tt-nav-tree__chip:hover {
  color: var(--tt-ink);
  border-color: transparent;
  background: rgb(255 255 255 / 0.05);
}

.tt-nav-tree--rail {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  gap: 0.15rem;
}

.tt-nav-tree--drawer .tt-nav-tree__section {
  background: rgb(255 255 255 / 0.03);
}

/* —— Drawer —— */
.tt-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}

.tt-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.tt-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tt-drawer.is-open .tt-drawer__backdrop {
  opacity: 1;
}

.tt-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(20rem, 88vw);
  height: 100%;
  padding: 0 0 1.5rem;
  background: var(--tt-surface);
  border-left: 1px solid var(--tt-border);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(255 255 255 / 0.22) transparent;
}

.tt-drawer__panel::-webkit-scrollbar {
  width: 6px;
}

.tt-drawer__panel::-webkit-scrollbar-track {
  background: transparent;
}

.tt-drawer__panel::-webkit-scrollbar-thumb {
  background: rgb(255 255 255 / 0.22);
  border-radius: 999px;
}

.tt-drawer__panel::-webkit-scrollbar-thumb:hover {
  background: rgb(255 255 255 / 0.36);
}

.tt-drawer.is-open .tt-drawer__panel {
  transform: translateX(0);
}

.tt-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--tt-border);
  margin-bottom: 0.75rem;
}

.tt-drawer__title {
  font-size: 1rem;
  font-weight: 700;
}

.tt-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--tt-border);
  border-radius: 0.55rem;
  background: var(--tt-panel);
  color: var(--tt-ink);
  cursor: pointer;
}

.tt-nav-tree--drawer {
  padding: 0 0.75rem;
}

/* —— Footer —— */
.tt-footer {
  margin-top: auto;
  padding: 1.75rem var(--tt-pad) 2.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background:
    linear-gradient(180deg, rgb(10 14 12 / 0.55) 0%, rgb(6 8 10 / 0.92) 100%);
  color: var(--tt-muted);
}

@media (min-width: 1024px) {
  .tt-footer {
    padding-left: var(--tt-pad-lg);
    padding-right: var(--tt-pad-lg);
  }
}

.tt-footer__inner {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .tt-footer__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    align-items: start;
    gap: 1.75rem;
  }
}

.tt-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.tt-footer__logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--tt-panel);
  border: 1px solid rgb(255 255 255 / 0.08);
}

.tt-footer__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tt-accent);
}

.tt-footer__brand-text {
  min-width: 0;
}

.tt-footer__name {
  margin: 0;
  font-family: var(--tt-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.tt-footer__intro {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--tt-muted);
}

.tt-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

@media (min-width: 640px) {
  .tt-footer__cols {
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  }
}

.tt-footer__col {
  min-width: 0;
}

.tt-footer__col-title {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.55);
}

.tt-footer__col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.tt-footer__col-links--row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.tt-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgb(236 253 245 / 0.88);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tt-footer__link:hover {
  color: var(--tt-accent);
}

.tt-footer__meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: grid;
  gap: 0.45rem;
}

.tt-footer__notice,
.tt-footer__disclaimer,
.tt-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--tt-faint);
}

.tt-footer__notice strong,
.tt-footer__disclaimer strong {
  color: rgb(255 255 255 / 0.78);
  font-weight: 700;
}

.tt-footer__copy {
  color: rgb(255 255 255 / 0.45);
}

/* —— Content padding helper —— */
.tt-pad {
  padding-left: var(--tt-pad);
  padding-right: var(--tt-pad);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .tt-pad {
    padding-left: var(--tt-pad-lg);
    padding-right: var(--tt-pad-lg);
  }
}

/* —— Notice —— */
.tt-notice {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0.55rem var(--tt-pad);
  border-radius: 0;
  background: rgb(26 26 26 / 0.92);
  border: 0;
  border-bottom: 1px solid var(--tt-border);
  font-size: 0.8125rem;
  color: #c4c4c4;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .tt-notice {
    padding-left: var(--tt-pad-lg);
    padding-right: var(--tt-pad-lg);
  }
}

.tt-notice__icon {
  width: 1rem;
  height: 1rem;
  color: var(--tt-accent);
}

.tt-notice__text {
  min-width: 0;
}

.tt-notice__ribbon {
  display: none;
}

/* —— Featured (home) —— */
.tt-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--tt-radius-lg);
  background: #0c0c10;
  border: 1px solid var(--tt-border-hi);
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.35);
}

.tt-featured--shell {
  color: #fff;
}

@media (min-width: 768px) {
  .tt-featured {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
}

.tt-featured__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0c0c10;
  border: 0;
  box-shadow: none;
}

.tt-featured__panel {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tt-featured__panel.is-active {
  display: block;
}

.tt-featured__cover-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.tt-featured__cover-link--btn {
  width: 100%;
}

.tt-featured__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tt-featured__backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(28px) saturate(1.35) brightness(0.72);
  transform: scale(1.12);
  z-index: 0;
  pointer-events: none;
}

.tt-featured__icon {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  width: clamp(7.5rem, 22vw, 11.5rem);
  height: clamp(7.5rem, 22vw, 11.5rem);
  object-fit: contain;
  object-position: center;
  border-radius: 1.35rem;
  background: rgb(0 0 0 / 0.25);
  box-shadow:
    0 0 0 2px rgb(255 106 61 / 0.35),
    0 0 24px rgb(255 106 61 / 0.25),
    0 16px 36px rgb(0 0 0 / 0.55);
  transform: translate(-50%, -50%);
}

.tt-featured__cover-link--app .tt-featured__meta {
  padding-left: 1.2rem;
}

.tt-featured__cover-link--app .tt-featured__gradient {
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.9) 0%,
    rgb(0 0 0 / 0.5) 36%,
    transparent 72%
  );
}

.tt-featured__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.92) 0%,
    rgb(0 0 0 / 0.72) 28%,
    rgb(0 0 0 / 0.28) 55%,
    transparent 78%
  );
  pointer-events: none;
}

.tt-featured__gradient--soft {
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.7) 0%,
    rgb(0 0 0 / 0.35) 40%,
    transparent 72%
  );
}

.tt-featured__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.35rem 1.2rem 1.25rem;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.55) 0%,
    rgb(0 0 0 / 0.2) 55%,
    transparent 100%
  );
  text-shadow: 0 2px 10px rgb(0 0 0 / 0.85);
}

.tt-featured__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.tt-featured__desc {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgb(255 255 255 / 0.92);
  max-width: 28rem;
}

.tt-featured__score {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0.35rem 0.55rem;
  border-radius: 0.55rem;
  background: rgb(0 0 0 / 0.45);
  border: 1px solid rgb(255 255 255 / 0.12);
}

.tt-featured__score-label {
  font-size: 0.65rem;
  color: rgb(255 255 255 / 0.65);
}

.tt-featured__score-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.tt-featured__ad-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.15rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
}

.tt-featured__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  background: rgb(0 0 0 / 0.28);
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.tt-featured__list {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  max-height: none;
  overflow: auto;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--tt-border-hi) transparent;
}

.tt-featured__item {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tt-featured__item:hover {
  background: rgb(255 255 255 / 0.08);
}

.tt-featured__item.is-active {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 106 61 / 0.55);
  box-shadow: 0 0 0 1px rgb(255 106 61 / 0.2);
}

.tt-featured__thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: var(--tt-panel-2);
  flex-shrink: 0;
  border: 1px solid rgb(255 255 255 / 0.08);
}

.tt-featured__thumb--wide {
  width: 4.25rem;
  height: 2.4rem;
  border-radius: 0.45rem;
}

.tt-featured__thumb-wrap {
  position: relative;
  flex-shrink: 0;
}

.tt-featured__ad-chip {
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
  padding: 0.05rem 0.25rem;
  border-radius: 0.2rem;
  font-size: 0.55rem;
  font-weight: 800;
  background: rgb(0 0 0 / 0.65);
  color: #fff;
}

.tt-featured__item-body {
  flex: 1;
  min-width: 0;
  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: #fff;
  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-accent);
}

.tt-featured__item-tags {
  font-size: 0.7rem;
  color: rgb(255 255 255 / 0.62);
  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, linear-gradient(135deg, #ff6a3d, #ff6a3d));
  color: #1a0a06;
}

.tt-featured__item.is-active .tt-featured__item-arrow {
  display: inline-flex;
}

/* Narrow: horizontal compact strip under the stage */
@media (max-width: 767px) {
  .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;
  }

  .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 rgb(255 255 255 / 0.08);
    height: 0;
    min-height: 100%;
    overflow: hidden;
  }

  .tt-featured__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }
}

/* —— App row (discovery) —— */
.tt-app-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--tt-border);
}

.tt-app-row:last-child {
  border-bottom: 0;
}

.tt-app-row__main {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.tt-app-row__rank {
  width: 1.75rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tt-faint);
}

.tt-app-row__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.9rem;
  object-fit: cover;
  background: var(--tt-panel);
  flex-shrink: 0;
}

.tt-app-row__body {
  min-width: 0;
  flex: 1;
}

.tt-app-row__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tt-app-row__meta {
  margin: 0.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.75rem;
  color: var(--tt-muted);
}

.tt-app-row__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--tt-accent);
  font-weight: 700;
}

.tt-app-row__tag {
  display: inline-flex;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
  background: var(--tt-panel);
  color: var(--tt-muted);
}

.tt-app-row__bonus {
  color: var(--tt-faint);
  font-weight: 500;
}

.tt-app-row__cta {
  flex-shrink: 0;
}

/* —— Hot feed blog card —— */
.tt-feed-blog {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--tt-border);
}

.tt-feed-blog__link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem;
  border-radius: var(--tt-radius);
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
}

.tt-feed-blog__cover {
  width: 6.5rem;
  height: 4rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: var(--tt-panel-2);
  flex-shrink: 0;
}

.tt-feed-blog__cover--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tt-muted);
}

.tt-feed-blog__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tt-accent);
}

.tt-feed-blog__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
}

.tt-feed-blog__meta {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--tt-muted);
}

/* —— Apps filters —— */
.tt-apps-filters {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.tt-apps-filters::-webkit-scrollbar {
  display: none;
}

.tt-apps-filter {
  flex-shrink: 0;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: transparent;
  color: var(--tt-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.tt-apps-filter:hover {
  color: var(--tt-ink);
  border-color: var(--tt-border-hi);
}

.tt-apps-filter.is-active {
  color: #fff;
  border-color: transparent;
  background-image: var(--tt-cta);
}

.tt-apps-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tt-apps-list-meta {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--tt-faint);
}

.tt-apps-empty {
  margin: 1.5rem 0;
  text-align: center;
  color: var(--tt-muted);
}

/* —— Tabs —— */
.tt-tab {
  flex-shrink: 0;
  min-height: 2.15rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--tt-border);
  border-radius: 999px;
  background: transparent;
  color: var(--tt-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.tt-tab.is-active {
  color: #fff;
  border-color: transparent;
  background-image: var(--tt-cta);
}

.tt-tab-panel {
  display: none;
}

.tt-tab-panel.is-active {
  display: block;
}

.tt-tabs-track {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin-bottom: 0.85rem;
  scrollbar-width: none;
}

.tt-tabs-track::-webkit-scrollbar {
  display: none;
}

/* —— App detail —— */
.tt-detail-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.tt-detail-stage__backdrop {
  position: absolute;
  inset: -20% -10% auto;
  width: 120%;
  height: 140%;
  object-fit: cover;
  filter: blur(48px) saturate(1.2) brightness(0.4);
  transform: scale(1.1);
  z-index: 0;
  pointer-events: none;
}

.tt-detail-stage__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(10 10 11 / 0.45) 0%, rgb(10 10 11 / 0.88) 70%, #0a0a0b 100%);
}

.tt-detail-stage__inner {
  position: relative;
  z-index: 2;
  padding-top: 1.35rem;
  padding-bottom: 1.5rem;
}

.tt-detail-stage__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 720px) {
  .tt-detail-stage__top {
    gap: 1.25rem;
  }

  .tt-detail-stage__inner {
    padding-top: 1.75rem;
    padding-bottom: 1.85rem;
  }
}

.tt-detail-stage__icon {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.2rem;
  object-fit: cover;
  background: #121214;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.12),
    0 12px 28px rgb(0 0 0 / 0.45);
}

@media (min-width: 720px) {
  .tt-detail-stage__icon {
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 1.35rem;
  }
}

.tt-detail-stage__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tt-detail-stage__cat {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

.tt-detail-stage__title {
  margin: 0;
  font-family: var(--tt-display);
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
}

.tt-detail-stage__signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.62);
}

.tt-detail-stage__signals > span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding-right: 0.65rem;
  margin-right: 0.65rem;
  border-right: 1px solid rgb(255 255 255 / 0.14);
}

.tt-detail-stage__signals > span:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.tt-detail-stage__rating {
  color: #e0b84a;
  font-weight: 700;
}

.tt-detail-stage__lead {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.68);
}

.tt-detail-stage__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: 0.35rem;
}

.tt-detail-stage__cta {
  min-width: 8.5rem;
  min-height: 2.6rem !important;
  padding: 0.55rem 1.2rem !important;
  font-size: 0.9rem !important;
  border-radius: 0.8rem !important;
}

.tt-detail-stage__offer {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffd7c8;
}

.tt-detail-stage__ghost {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  color: rgb(255 255 255 / 0.55);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tt-detail-stage__ghost:hover {
  color: #fff;
}

@media (max-width: 560px) {
  .tt-detail-stage__ghost {
    margin-left: 0;
  }
}

.tt-detail-body {
  display: grid;
  gap: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.tt-detail-body > * {
  min-width: 0;
  max-width: 100%;
}

.tt-prose {
  color: #cfcfd4;
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: min(42rem, 100%);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tt-detail-body__head {
  margin-bottom: 0.85rem;
}

.tt-detail-body__title {
  margin: 0;
  font-family: var(--tt-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.tt-prose > *:first-child {
  margin-top: 0;
}

.tt-prose > *:last-child {
  margin-bottom: 0;
}

.tt-prose h2,
.tt-prose h3,
.tt-prose h4 {
  margin: 1.5rem 0 0.55rem;
  color: #fff;
  font-family: var(--tt-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tt-prose h2 { font-size: 1.2rem; }
.tt-prose h3 { font-size: 1.05rem; }

.tt-prose p {
  margin: 0 0 0.95rem;
}

.tt-prose ul,
.tt-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.tt-prose li {
  margin: 0.3rem 0;
}

.tt-prose a {
  color: var(--tt-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tt-prose strong {
  color: #fff;
  font-weight: 700;
}

.tt-detail-disclaimer {
  margin: 1.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--tt-faint);
  max-width: 42rem;
}

.tt-detail-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tt-detail-related__title {
  margin: 0;
  font-family: var(--tt-display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.tt-detail-related__more {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tt-muted);
  text-decoration: none;
}

.tt-detail-related__more:hover {
  color: var(--tt-accent);
}

.tt-detail-related__lead {
  margin: -0.35rem 0 0.85rem;
  color: var(--tt-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.tt-detail-related__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.tt-detail-related__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.9rem;
  background: var(--tt-panel);
  border: 1px solid rgb(255 255 255 / 0.08);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tt-detail-related__card:hover {
  border-color: rgb(255 106 61 / 0.4);
  background: rgb(255 255 255 / 0.03);
  transform: none;
}

.tt-detail-related__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.8rem;
  object-fit: cover;
  background: var(--tt-panel-2);
  flex-shrink: 0;
}

.tt-detail-related__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tt-detail-related__name {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  -webkit-line-clamp: unset;
}

.tt-detail-related__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--tt-muted);
}

.tt-detail-related__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #e0b84a;
  font-weight: 700;
}

@media (min-width: 720px) {
  .tt-detail-related__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

.tt-detail-faq {
  max-width: 42rem;
}
/* —— Download dock —— */
.tt-download-dock {
  position: sticky;
  bottom: 0;
  z-index: 30;
  padding: 0.65rem var(--tt-pad) calc(0.65rem + env(safe-area-inset-bottom));
  background: rgb(10 10 10 / 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--tt-border);
}

@media (min-width: 900px) {
  .tt-download-dock {
    display: none;
  }
}

.tt-download-dock__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.tt-download-dock__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

.tt-download-dock__info {
  min-width: 0;
  flex: 1;
}

.tt-download-dock__name {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.tt-download-dock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.tt-download-dock__chip {
  font-size: 0.7rem;
  color: var(--tt-muted);
}

.tt-download-dock__deal,
.tt-download-dock__shine,
.tt-download-dock__stripe,
.tt-download-dock__cta-hint {
  display: none;
}

/* —— Blog —— */
.tt-blog-feature {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--tt-radius-lg);
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .tt-blog-feature {
    grid-template-columns: 1.4fr 1fr;
    min-height: 16rem;
  }
}

.tt-blog-feature__cover {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  background: var(--tt-panel-2);
}

@media (min-width: 768px) {
  .tt-blog-feature__cover {
    height: 100%;
    min-height: 16rem;
  }
}

.tt-blog-feature__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tt-muted);
}

.tt-blog-feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.1rem 1.2rem;
  background: transparent;
  border: 0;
}

.tt-blog-feature__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tt-blog-feature__meta {
  font-size: 0.875rem;
  color: var(--tt-muted);
  line-height: 1.45;
}

.tt-blog-feature__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--tt-faint);
}

.tt-blog-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--tt-accent);
  font-weight: 700;
}

.tt-blog-more {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .tt-blog-more {
    grid-template-columns: 1fr 1fr;
  }
}

.tt-blog-more__card {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--tt-radius);
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.tt-blog-more__cover {
  width: 5.5rem;
  height: 3.75rem;
  border-radius: 0.45rem;
  object-fit: cover;
  background: var(--tt-panel-2);
  flex-shrink: 0;
}

.tt-blog-more__cover--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tt-muted);
}

.tt-blog-more__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tt-blog-more__tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--tt-accent);
}

.tt-blog-more__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.tt-blog-more__meta {
  font-size: 0.75rem;
  color: var(--tt-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tt-blog-detail__cover-wrap {
  margin-bottom: 0.5rem;
}

.tt-blog-detail__cover {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: var(--tt-radius-lg);
  background: var(--tt-panel);
}

.tt-blog-detail__header {
  margin-bottom: 1.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tt-blog-detail__header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.tt-blog-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  color: var(--tt-muted);
  text-decoration: none;
}

.tt-blog-detail__back:hover {
  color: var(--tt-ink);
}

.tt-blog-detail__date {
  font-size: 0.8125rem;
  color: var(--tt-faint);
}

.tt-blog-detail__title {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tt-blog-detail__lead {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  color: var(--tt-muted);
  line-height: 1.5;
}

/* —— Docs (legal / html) —— */
.tt-doc__hero {
  margin-bottom: 0.5rem;
}

.tt-doc__hero-inner {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.tt-doc__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tt-faint);
}

.tt-doc__title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tt-doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.tt-doc__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--tt-muted);
}

.tt-doc__lead {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--tt-muted);
  line-height: 1.5;
  max-width: 40rem;
}

.tt-doc__layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .tt-doc__layout {
    grid-template-columns: 14rem 1fr;
    align-items: start;
  }
}

.tt-doc-toc {
  padding: 0.75rem;
  border-radius: var(--tt-radius);
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
}

.tt-doc-toc__title {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tt-faint);
}

.tt-doc-toc a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.8125rem;
  color: var(--tt-muted);
  text-decoration: none;
}

.tt-doc-toc a:hover,
.tt-doc-toc a.is-active {
  color: var(--tt-ink);
}

.tt-doc__panel {
  min-width: 0;
}

/* —— FAQ —— */
.tt-faq {
  padding-top: 0.5rem;
}

.tt-faq__item {
  border-bottom: 1px solid var(--tt-border);
}

.tt-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border: 0;
  background: transparent;
  color: var(--tt-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.tt-faq__a {
  padding: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--tt-muted);
  line-height: 1.55;
}

/* —— SEO / empty —— */
.tt-seo-block {
  margin: 1rem var(--tt-pad);
  padding: 1rem 1.1rem;
  border-radius: var(--tt-radius);
  background: var(--tt-panel);
  border: 1px solid var(--tt-border);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--tt-muted);
}

@media (min-width: 1024px) {
  .tt-seo-block {
    margin-left: var(--tt-pad-lg);
    margin-right: var(--tt-pad-lg);
  }
}

.tt-seo-block__title {
  margin: 0 0 0.5rem;
  font-weight: 800;
  color: var(--tt-ink);
  text-align: center;
}

.tt-empty {
  padding: 3rem 1rem;
  text-align: center;
}

.tt-empty__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.tt-empty__body {
  margin: 0.5rem 0 0;
  color: var(--tt-muted);
}

/* —— Reveal —— */
.tt-reveal {
  animation: tt-fade-up 0.45s ease both;
}

@keyframes tt-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-reveal {
    animation: none;
  }

  .tt-drawer__backdrop,
  .tt-drawer__panel {
    transition: none;
  }
}

/* Vacant modal dark surface */
.tt-modal__panel {
  background: var(--tt-panel);
  color: var(--tt-ink);
  border: 1px solid var(--tt-border);
}

/* —— Notice: compact discovery ticker —— */
.tt-notice {
  margin: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgb(255 106 61 / 0.28);
  background: linear-gradient(90deg, rgb(255 106 61 / 0.12), rgb(22 22 26 / 0.92) 42%);
  color: #d4d4d8;
  box-shadow: none;
}

.tt-notice__text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tt-notice__icon {
  width: 1rem;
  height: 1rem;
  color: var(--tt-accent);
  flex-shrink: 0;
}

/* —— Vacant modal: hidden until .is-open, centered —— */
.tt-modal[data-tt-vacant-modal] {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 0;
  pointer-events: none;
}

.tt-modal[data-tt-vacant-modal].is-open {
  display: flex !important;
  pointer-events: auto;
}

.tt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.72);
}

.tt-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--tt-radius-lg);
  background: var(--tt-panel);
  color: var(--tt-ink);
  border: 1px solid var(--tt-border-hi);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.55);
}

.tt-modal__close {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--tt-soft);
  color: var(--tt-ink);
  cursor: pointer;
}

.tt-modal__title {
  margin: 0 2rem 0 0;
  font-family: var(--tt-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.tt-modal__body {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--tt-muted);
}

.tt-modal__contacts {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.tt-modal__contact {
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid var(--tt-border);
  background: var(--tt-surface);
  color: var(--tt-ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.tt-modal__contact:hover {
  border-color: var(--tt-accent);
  color: var(--tt-accent);
}

.tt-modal__foot {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--tt-faint);
}

/* =========================================================
   Plan C — game discovery impact (atmosphere + density + type)
   ========================================================= */

.tt-dl,
.tt-header__cta,
.tt-app-row .tt-dl,
.tt-app-row .tt-dl--row,
.tt-app-row .tt-dl--ghost,
a.tt-dl--outline {
  border: 0;
  color: #1a0a06;
  background-image: var(--tt-cta);
  box-shadow: var(--tt-glow-hot);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tt-dl:hover,
.tt-header__cta:hover {
  filter: brightness(1.12) saturate(1.2);
  transform: translateY(-1px) scale(1.02);
}

.tt-band {
  margin-bottom: 0.85rem;
  align-items: flex-end;
}

.tt-featured__stage {
  min-height: 260px;
  background: #0c0c10;
  border: 2px solid rgb(255 106 61 / 0.55);
  border-radius: var(--tt-radius-lg);
  box-shadow:
    0 0 0 1px rgb(251 191 36 / 0.35),
    0 0 28px rgb(255 106 61 / 0.35),
    0 0 64px rgb(255 106 61 / 0.18),
    0 22px 48px rgb(0 0 0 / 0.5);
  overflow: hidden;
}

@media (min-width: 768px) {
  .tt-featured__stage {
    min-height: 400px;
  }
}

@media (min-width: 1200px) {
  .tt-featured__stage {
    min-height: 460px;
  }
}

.tt-featured__title {
  font-family: var(--tt-display);
  font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-shadow:
    0 2px 0 rgb(0 0 0 / 0.65),
    0 0 24px rgb(255 106 61 / 0.55);
}

.tt-featured__score {
  background: rgb(0 0 0 / 0.7);
  border: 1px solid rgb(251 191 36 / 0.65);
  box-shadow: 0 0 18px rgb(251 191 36 / 0.35);
  backdrop-filter: blur(8px);
  min-width: 3.5rem;
}

.tt-featured__score-value {
  font-family: var(--tt-display);
  font-size: 1.45rem;
  color: #fbbf24;
  text-shadow: 0 0 12px rgb(251 191 36 / 0.55);
}

.tt-featured__item.is-active {
  background: rgb(255 106 61 / 0.16);
  border-color: rgb(255 106 61 / 0.75);
  box-shadow: 0 0 18px rgb(255 106 61 / 0.22);
}

.tt-featured__side {
  background: linear-gradient(180deg, rgb(14 18 36 / 0.95) 0%, #080a14 100%);
  border: 1px solid rgb(255 106 61 / 0.35);
  border-radius: var(--tt-radius-lg);
  padding: 0.4rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 24px rgb(255 106 61 / 0.12), 0 14px 32px rgb(0 0 0 / 0.4);
}

.tt-app-row:nth-child(-n + 3) .tt-app-row__rank {
  color: #fbbf24;
  text-shadow: 0 0 18px rgb(251 191 36 / 0.65);
}

.tt-app-row__name {
  font-family: var(--tt-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tt-app-row__icon {
  width: 4.15rem;
  height: 4.15rem;
  border-radius: 1.05rem;
  box-shadow: 0 0 0 1px rgb(255 106 61 / 0.25), 0 8px 18px rgb(0 0 0 / 0.45);
}

.tt-notice {
  border-color: rgb(255 106 61 / 0.28);
  background: linear-gradient(90deg, rgb(255 106 61 / 0.1), rgb(18 18 20 / 0.96) 40%);
  box-shadow: none;
  color: #fff7ed;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border-radius: 0;
  margin: 0;
  width: 100%;
  max-width: none;
}

.tt-featured {
  gap: 0.9rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .tt-featured {
    grid-template-columns: 1.85fr 0.9fr;
    gap: 1rem;
  }
}

.tt-featured__stage {
  min-height: 260px;
  background: #0c0c10;
  border: 1px solid rgb(255 106 61 / 0.28);
  border-radius: var(--tt-radius-lg);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.03) inset,
    0 18px 40px rgb(0 0 0 / 0.35);
  overflow: hidden;
}

@media (min-width: 768px) {
  .tt-featured__stage {
    min-height: 380px;
  }
}

@media (min-width: 1200px) {
  .tt-featured__stage {
    min-height: 420px;
  }
}

.tt-featured__panel.is-active .tt-featured__backdrop {
  animation: tt-backdrop-pulse 0.7s ease both;
}

.tt-featured__panel.is-active .tt-featured__icon {
  animation: tt-icon-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tt-backdrop-pulse {
  from {
    transform: scale(1.2);
    filter: blur(34px) saturate(1.5) brightness(0.55);
  }
  to {
    transform: scale(1.12);
    filter: blur(28px) saturate(1.35) brightness(0.72);
  }
}

@keyframes tt-icon-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.tt-featured__gradient {
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.96) 0%,
    rgb(0 0 0 / 0.78) 26%,
    rgb(0 0 0 / 0.35) 52%,
    transparent 78%
  );
}

.tt-featured__meta {
  padding: 1.5rem 1.35rem 1.35rem;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 0.7) 0%,
    rgb(0 0 0 / 0.25) 58%,
    transparent 100%
  );
}

.tt-featured__title {
  font-family: var(--tt-display);
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.tt-featured__desc {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.9);
}

.tt-featured__score {
  background: rgb(0 0 0 / 0.62);
  border: 1px solid rgb(255 143 102 / 0.35);
  backdrop-filter: blur(8px);
  min-width: 3.5rem;
}

.tt-featured__score-value {
  font-family: var(--tt-display);
  font-size: 1.35rem;
  color: #fff;
}

.tt-featured__side {
  background: linear-gradient(180deg, #17171c 0%, #121216 100%);
  border: 1px solid var(--tt-border-hi);
  border-radius: var(--tt-radius-lg);
  padding: 0.4rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.28);
}

.tt-featured__list {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--tt-border-hi) transparent;
}

@media (min-width: 768px) {
  .tt-featured__list {
    max-height: 380px;
  }
}

@media (min-width: 1200px) {
  .tt-featured__list {
    max-height: 420px;
  }
}

.tt-featured__item {
  border-radius: 0.85rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.tt-featured__item:hover {
  background: rgb(255 255 255 / 0.04);
  transform: translateX(2px);
}

.tt-featured__item.is-active {
  background: rgb(255 106 61 / 0.12);
  border-color: rgb(255 106 61 / 0.55);
}

.tt-featured__item-name {
  font-family: var(--tt-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.tt-featured__thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.35);
}

/* —— Ranking rows: denser, punchier —— */
.tt-app-row {
  gap: 0.85rem;
  padding: 0.7rem 0;
}

.tt-app-row__rank {
  width: 2rem;
  font-family: var(--tt-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--tt-faint);
}

.tt-app-row:nth-child(-n + 3) .tt-app-row__rank {
  color: var(--tt-accent);
  text-shadow: 0 0 18px rgb(255 106 61 / 0.35);
}

.tt-app-row__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.35);
}

.tt-app-row__name {
  font-family: var(--tt-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tt-app-row__cta .tt-dl--row {
  min-width: 6.5rem;
  min-height: 2.4rem;
  font-size: 0.78rem;
}

.tt-feed-blog__link {
  background: linear-gradient(135deg, #1a1a20 0%, #121216 100%);
  border-color: var(--tt-border-hi);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tt-feed-blog__link:hover {
  border-color: rgb(255 106 61 / 0.45);
  transform: translateY(-1px);
}

.tt-feed-blog__title {
  font-family: var(--tt-display);
  font-weight: 700;
}

.tt-reveal {
  animation: tt-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tt-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-featured__panel.is-active .tt-featured__cover,
  .tt-featured__panel.is-active .tt-featured__backdrop,
  .tt-featured__panel.is-active .tt-featured__icon {
    animation: none;
  }
}
/* —— Quiet chrome, readable content —— */
.tt-featured__stage {
  min-height: 260px !important;
  border: 1px solid rgb(255 255 255 / 0.1) !important;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.4) !important;
}

@media (min-width: 768px) {
  .tt-featured__stage { min-height: 360px !important; }
}
@media (min-width: 1200px) {
  .tt-featured__stage { min-height: 400px !important; }
}

.tt-featured__title {
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem) !important;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.75) !important;
}

.tt-featured__score {
  border-color: rgb(255 255 255 / 0.18) !important;
  box-shadow: none !important;
}
.tt-featured__score-value {
  color: #e0b84a !important;
  text-shadow: none !important;
}

.tt-featured__item.is-active {
  background: rgb(255 106 61 / 0.12) !important;
  border-color: rgb(255 106 61 / 0.45) !important;
  box-shadow: none !important;
}

.tt-featured__side {
  background: rgb(18 18 20 / 0.96) !important;
  border-color: rgb(255 255 255 / 0.08) !important;
  box-shadow: none !important;
}

.tt-apps-list {
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--tt-radius-lg) !important;
  background: rgb(18 18 20 / 0.94) !important;
  border: 1px solid rgb(255 255 255 / 0.06) !important;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.28) !important;
  backdrop-filter: blur(8px);
}

.tt-app-row {
  border-bottom-color: rgb(255 255 255 / 0.06) !important;
}

.tt-app-row__name {
  color: #fff !important;
}

.tt-app-row__meta,
.tt-app-row__tag,
.tt-app-row__bonus {
  color: #a1a1aa !important;
}

.tt-app-row__rating {
  color: #e0b84a !important;
}

.tt-app-row:nth-child(-n + 3) .tt-app-row__rank {
  color: #ff6a3d !important;
  text-shadow: none !important;
}

.tt-app-row__icon {
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 6px 14px rgb(0 0 0 / 0.35) !important;
}

.tt-feed-blog__link {
  background: rgb(18 18 20 / 0.96) !important;
  border-color: rgb(255 255 255 / 0.08) !important;
  box-shadow: none !important;
}
.tt-feed-blog__link:hover {
  border-color: rgb(255 106 61 / 0.4) !important;
  box-shadow: none !important;
}

.tt-band__title {
  text-shadow: none !important;
}

.tt-dl,
.tt-header__cta,
.tt-app-row .tt-dl {
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.35) !important;
}
/* Featured app: full icon left + blurred icon backdrop */
.tt-featured__cover-link--app .tt-featured__backdrop {
  filter: blur(32px) saturate(1.4) brightness(0.68) !important;
}
.tt-featured__cover-link--app .tt-featured__icon {
  object-fit: contain !important;
  left: 50% !important;
  top: 46% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2 !important;
}
.tt-featured__cover-link--app .tt-featured__meta {
  z-index: 3 !important;
  padding-left: 1.2rem !important;
  padding-right: 1.2rem !important;
  justify-content: space-between !important;
}
.tt-featured__panel.is-active .tt-featured__cover-link--app .tt-featured__icon {
  animation: tt-icon-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* —— Rail copy/layout polish —— */
.tt-nav-tree__section {
  margin-bottom: 0.65rem !important;
  padding: 0.7rem 0.5rem 0.75rem !important;
}
.tt-nav-tree__list {
  gap: 0.2rem !important;
}
.tt-nav-tree__link {
  padding: 0.5rem 0.65rem !important;
  border-radius: 0.75rem !important;
}
.tt-nav-tree__link--primary {
  color: #fff !important;
  background: rgb(255 255 255 / 0.045) !important;
  border-color: rgb(255 255 255 / 0.07) !important;
  font-weight: 700 !important;
}
.tt-nav-tree__link--primary.is-active,
.tt-nav-tree__link.is-active {
  color: var(--tt-nav-fg-active) !important;
  background-image: var(--tt-nav-bg-active) !important;
}
.tt-nav-tree__link--compact {
  padding: 0.42rem 0.65rem !important;
  font-size: 0.8125rem !important;
}
.tt-nav-tree__chip:hover {
  border-color: transparent !important;
  background: rgb(255 255 255 / 0.05) !important;
  color: var(--tt-ink) !important;
}

/* —— Featured side list: match tap-light form —— */
.tt-featured {
  gap: 0 !important;
  overflow: hidden !important;
  border-radius: var(--tt-radius-lg) !important;
  background: #0c0c10 !important;
  border: 1px solid rgb(255 106 61 / 0.35) !important;
  box-shadow:
    0 0 0 1px rgb(251 191 36 / 0.18),
    0 0 22px rgb(255 106 61 / 0.16),
    0 18px 40px rgb(0 0 0 / 0.5) !important;
}

@media (min-width: 768px) {
  .tt-featured {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.95fr) !important;
  }
}

@media (min-width: 900px) {
  .tt-featured {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.95fr) !important;
    gap: 0 !important;
  }
}

.tt-featured__stage {
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tt-featured__side {
  background: rgb(0 0 0 / 0.28) !important;
  border: 0 !important;
  border-top: 1px solid rgb(255 255 255 / 0.08) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.tt-featured__list {
  max-height: none !important;
}

.tt-featured__item {
  transform: none !important;
}

.tt-featured__item:hover {
  transform: none !important;
  background: rgb(255 255 255 / 0.08) !important;
}

.tt-featured__item.is-active {
  background: rgb(255 255 255 / 0.12) !important;
  border-color: rgb(255 106 61 / 0.55) !important;
  box-shadow: 0 0 0 1px rgb(255 106 61 / 0.2) !important;
}

.tt-featured__item-arrow {
  display: none !important;
}

.tt-featured__item.is-active .tt-featured__item-arrow {
  display: inline-flex !important;
}

@media (max-width: 767px) {
  .tt-featured__side {
    border-top: 1px solid rgb(255 255 255 / 0.08) !important;
  }

  .tt-featured__list {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0.5rem 0 !important;
    scrollbar-width: none !important;
  }

  .tt-featured__list > li {
    flex: 0 0 auto !important;
  }

  .tt-featured__list > li:first-child {
    padding-left: 0.5rem !important;
  }

  .tt-featured__list > li:last-child {
    padding-right: 0.5rem !important;
  }

  .tt-featured__item {
    width: auto !important;
    max-width: 9.5rem !important;
  }

  .tt-featured__item--banner {
    max-width: 8.5rem !important;
  }

  .tt-featured__thumb {
    width: 2.35rem !important;
    height: 2.35rem !important;
  }

  .tt-featured__item-name {
    font-size: 0.75rem !important;
    max-width: 5.5rem !important;
  }

  .tt-featured__item-tags,
  .tt-featured__item-arrow,
  .tt-featured__item.is-active .tt-featured__item-arrow {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .tt-featured__side {
    border-top: 0 !important;
    border-left: 1px solid rgb(255 255 255 / 0.08) !important;
    height: 0 !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  .tt-featured__list {
    flex-direction: column !important;
    overflow-y: auto !important;
    padding: 0.65rem !important;
  }
}

/* —— Dedicated home blog block —— */
.tt-blog-block {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.85rem;
  display: grid;
  gap: 0.65rem;
  border-radius: var(--tt-radius-lg);
  background: rgb(8 10 12 / 0.92);
  border: 1px solid rgb(255 255 255 / 0.06);
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.35);
}

@media (min-width: 768px) {
  .tt-blog-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
  }
}

@media (min-width: 1100px) {
  .tt-blog-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tt-blog-block .tt-feed-blog {
  padding: 0;
  border-bottom: 0;
  min-width: 0;
}

.tt-blog-block .tt-feed-blog__link {
  height: 100%;
  align-items: flex-start;
  padding: 0.65rem;
  background: rgb(255 255 255 / 0.03);
  border-color: rgb(255 255 255 / 0.08);
}

.tt-blog-block .tt-feed-blog__cover {
  width: 5.5rem;
  height: 3.5rem;
}

@media (min-width: 768px) {
  .tt-blog-block .tt-feed-blog__link {
    flex-direction: column;
    gap: 0.65rem;
  }

  .tt-blog-block .tt-feed-blog__cover,
  .tt-blog-block .tt-feed-blog__cover--empty {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

/* —— Final: kill leftover neon chrome —— */
.tt-dl,
.tt-header__cta,
.tt-app-row .tt-dl,
.tt-app-row .tt-dl--row,
a.tt-dl--outline {
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.32) !important;
  letter-spacing: 0.02em !important;
}

.tt-dl:hover,
.tt-header__cta:hover {
  filter: brightness(1.06) !important;
  transform: none !important;
}

.tt-featured {
  border-color: rgb(255 255 255 / 0.1) !important;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.4) !important;
}

.tt-featured__stage {
  border: 0 !important;
  box-shadow: none !important;
}

.tt-featured__title {
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.7) !important;
}

.tt-featured__score,
.tt-featured__score-value {
  box-shadow: none !important;
  text-shadow: none !important;
}

.tt-featured__score-value {
  color: #e0b84a !important;
}

.tt-featured__item.is-active {
  box-shadow: none !important;
}

.tt-featured__side {
  background: rgb(0 0 0 / 0.28) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.tt-app-row:nth-child(-n + 3) .tt-app-row__rank,
.tt-nav-tree__link.is-active {
  text-shadow: none !important;
  box-shadow: none !important;
}

.tt-nav-tree__link.is-active {
  background: #ff6a3d !important;
  background-image: none !important;
  color: #1a0a06 !important;
  border-color: transparent !important;
}

/* —— Narrow screen: kill page-level horizontal overflow —— */
html, body {
  overflow-x: clip;
}

.tt-frame,
.tt-main,
.tt-header,
.tt-detail-stage,
.tt-detail-body,
.tt-detail-related,
.tt-pad {
  max-width: 100%;
  min-width: 0;
}

.tt-shell {
  /* keep base.css --tt-shell-max (1024px); only constrain min-width for overflow */
  min-width: 0;
}

.tt-detail-related,
.tt-featured__list,
.tt-tabs-track {
  max-width: 100%;
  min-width: 0;
}

.tt-prose,
.tt-prose * {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tt-prose img,
.tt-prose pre,
.tt-prose table {
  max-width: 100%;
}
