/* Transfer Market — premium sports media layout */
.transfer-market-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 255, 160, 0.07), transparent 60%),
    var(--bg, #080f1e);
  color: var(--text, #e8edf5);
}

.tm-layout {
  padding-bottom: 72px;
}

.tm-hero,
.tm-page-header,
.tm-profile-header {
  margin-bottom: 24px;
}

.tm-hero-panel {
  margin-bottom: 28px;
  padding: 28px 28px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.tm-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.tm-hero-copy {
  flex: 1;
  min-width: 0;
}

.tm-hero-stats {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.tm-stat {
  min-width: 108px;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-stat-val {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent, #3bffa0);
}

.tm-stat-lbl {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #9aa8bc);
}

.tm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tm-kicker {
  color: var(--accent, #3bffa0);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tm-hero h1,
.tm-page-header h1,
.tm-profile-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}

.tm-lead {
  color: var(--muted, #9aa8bc);
  max-width: 680px;
  line-height: 1.55;
}

.tm-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.tm-inpage-nav {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.tm-page-subnav {
  display: none;
}

.tm-subnav-link {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #e8edf5);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.tm-subnav-link:hover {
  border-color: rgba(59, 255, 160, 0.3);
  color: var(--accent, #3bffa0);
}

.tm-subnav-link.active {
  border-color: rgba(59, 255, 160, 0.5);
  background: rgba(59, 255, 160, 0.12);
  color: var(--accent, #3bffa0);
}

.tm-subnav,
.tm-league-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tm-subnav a,
.tm-league-links a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.tm-subnav a:hover,
.tm-league-links a:hover,
.tm-subnav a.active {
  background: rgba(59, 255, 160, 0.15);
  color: var(--accent);
}

.tm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.tm-rumour-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(59, 255, 160, 0.1), rgba(255, 255, 255, 0.03));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tm-ticker-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #080f1e;
  background: var(--accent, #3bffa0);
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tm-ticker-track {
  white-space: nowrap;
  animation: tmTicker 60s linear infinite;
  color: var(--muted);
  font-size: 13px;
}

@keyframes tmTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tm-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 255, 160, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.tm-search {
  position: relative;
  width: min(100%, 300px);
  margin: 0;
}

.tm-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted, #9aa8bc);
  pointer-events: none;
}

.tm-search input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tm-search input:focus {
  outline: none;
  border-color: rgba(59, 255, 160, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 255, 160, 0.1);
}

.tm-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  z-index: 20;
  max-height: 280px;
  overflow: auto;
}

.tm-search-results a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-search-results a:hover {
  background: rgba(59, 255, 160, 0.08);
}

.tm-section {
  margin-bottom: 32px;
}

.tm-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tm-section-head h2,
.tm-section > h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.tm-section-head a {
  color: var(--accent);
  font-size: 13px;
  text-decoration: none;
}

.tm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.tm-card-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.tm-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tm-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tm-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 255, 160, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.tm-card-link {
  display: flex;
  gap: 12px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.tm-card-media img,
.tm-profile-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.tm-profile-photo {
  width: 96px;
  height: 96px;
}

.tm-club-logo-lg {
  border-radius: 12px;
  object-fit: contain;
  padding: 8px;
}

.tm-card-fallback {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 24px;
}

.tm-card-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.tm-clubs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 4px;
}

.tm-club-logo {
  border-radius: 50%;
  object-fit: contain;
}

.tm-arrow {
  color: var(--accent);
}

.tm-meta,
.tm-summary {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.tm-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 14px 12px;
}

.tm-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  text-decoration: none;
}

.tm-chip:hover {
  color: var(--accent);
}

.tm-sidebar-block {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.tm-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.tm-trend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-trend-list li {
  margin-bottom: 8px;
}

.tm-trend-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

.tm-trend-list a:hover {
  color: var(--accent);
}

.tm-club-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tm-club-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.tm-rumour-list {
  display: grid;
  gap: 12px;
}

.tm-rumour-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.tm-rumour-card h2,
.tm-rumour-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.tm-injury-list,
.tm-value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-injury-list li,
.tm-value-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.tm-value-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tm-injury-grid {
  display: grid;
  gap: 12px;
}

.tm-injury-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.tm-injury-link {
  display: flex;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.tm-injury-link h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.tm-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.tm-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.tm-breadcrumb a:hover {
  color: var(--accent);
}

.tm-breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

.tm-profile-top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tm-profile-summary {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.tm-value-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 255, 160, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.tm-ad-slot,
.tm-ad-infeed,
.tm-mobile-ad {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.15);
}

.tm-ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tm-ad-sticky {
  position: sticky;
  top: 80px;
}

.tm-mobile-ad {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  min-height: 50px;
  border-radius: 0;
  margin: 0;
}

.tm-load-more-wrap {
  text-align: center;
  margin: 24px 0;
}

.tm-load-more {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(59, 255, 160, 0.35);
  background: rgba(59, 255, 160, 0.1);
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.tm-transfer-list {
  display: grid;
  gap: 10px;
}

.tm-list-header {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.6fr) 140px 20px;
  gap: 16px;
  padding: 0 18px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #9aa8bc);
}

.tm-deal-card {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.6fr) 140px 20px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.tm-deal-card:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 255, 160, 0.28);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.tm-deal-col {
  min-width: 0;
}

.tm-deal-player {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tm-deal-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(59, 255, 160, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.tm-deal-photo-fallback {
  display: grid;
  place-items: center;
  color: var(--accent, #3bffa0);
  background: rgba(59, 255, 160, 0.08);
}

.tm-deal-player-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tm-deal-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text, #e8edf5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm-deal-league {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted, #9aa8bc);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tm-deal-route {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tm-deal-club {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}

.tm-deal-club span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm-deal-club-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.tm-deal-from span {
  color: #ff7b8a;
}

.tm-deal-to span {
  color: var(--accent, #3bffa0);
}

.tm-deal-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted, #9aa8bc);
  flex-shrink: 0;
}

.tm-deal-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tm-fee-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tm-fee-paid {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.22);
}

.tm-fee-free {
  color: var(--accent, #3bffa0);
  background: rgba(59, 255, 160, 0.1);
  border: 1px solid rgba(59, 255, 160, 0.22);
}

.tm-fee-loan {
  color: #8ec5ff;
  background: rgba(142, 197, 255, 0.1);
  border: 1px solid rgba(142, 197, 255, 0.22);
}

.tm-deal-date {
  font-size: 12px;
  color: var(--muted, #9aa8bc);
}

.tm-deal-chevron {
  display: grid;
  place-items: center;
  color: var(--muted, #9aa8bc);
  opacity: 0.45;
  transition: opacity 0.18s, transform 0.18s;
}

.tm-deal-card:hover .tm-deal-chevron {
  opacity: 1;
  color: var(--accent, #3bffa0);
  transform: translateX(2px);
}

.tm-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.tm-filter-pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text, #e8edf5);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.tm-filter-pill:hover {
  border-color: rgba(59, 255, 160, 0.35);
  color: var(--accent, #3bffa0);
}

.tm-filter-pill.active {
  border-color: rgba(59, 255, 160, 0.55);
  background: rgba(59, 255, 160, 0.12);
  color: var(--accent, #3bffa0);
  box-shadow: 0 0 0 1px rgba(59, 255, 160, 0.08);
}

.tm-empty-state {
  text-align: center;
  padding: 56px 24px;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted, #9aa8bc);
}

.tm-empty-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(59, 255, 160, 0.08);
  color: var(--accent, #3bffa0);
}

.tm-trend-list a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-trend-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tm-transfer-news-section .article-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.tm-transfer-analysis .tm-analysis-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}

.tm-transfer-analysis .tm-analysis-title a {
  color: var(--text, #e8edf5);
  text-decoration: none;
}

.tm-transfer-analysis .tm-analysis-title a:hover {
  color: var(--accent, #3bffa0);
}

.tm-transfer-analysis .article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted, #9aa8bc);
}

.tm-transfer-analysis .article-author {
  color: var(--accent, #3bffa0);
  font-weight: 600;
}

.tm-transfer-analysis .article-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text, #e8edf5);
}

.tm-transfer-analysis .article-content h2 {
  color: var(--text, #e8edf5);
  margin: 22px 0 10px;
  font-size: 1.15rem;
}

.tm-transfer-analysis .article-content a {
  color: var(--accent, #3bffa0);
}

.tm-analysis-more {
  margin-top: 18px;
}

.tm-analysis-more a {
  color: var(--accent, #3bffa0);
  font-weight: 600;
  text-decoration: none;
}

.tm-news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.tm-news-card {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-news-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.tm-news-card h3 a {
  color: var(--text, #e8edf5);
  text-decoration: none;
}

.tm-news-card h3 a:hover {
  color: var(--accent, #3bffa0);
}

.tm-news-card-excerpt {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted, #9aa8bc);
}

.tm-empty {
  color: var(--muted);
  padding: 24px 0;
}

.tm-admin-section {
  margin: 28px 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.tm-admin-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.tm-admin-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

.tm-admin-form input,
.tm-admin-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
}

.tm-admin-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.tm-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 8px;
}

.tm-page-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(59, 255, 160, 0.28);
  background: rgba(59, 255, 160, 0.08);
  color: var(--accent, #3bffa0);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.tm-page-btn:hover {
  background: rgba(59, 255, 160, 0.16);
  border-color: rgba(59, 255, 160, 0.45);
}

.tm-page-info {
  font-size: 13px;
  color: var(--muted, #9aa8bc);
  font-weight: 600;
}

.tm-pagination .tm-chip {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

.tm-ready .tm-card {
  animation: tmFadeIn 0.35s ease both;
}

@keyframes tmFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .tm-grid {
    grid-template-columns: 1fr;
  }

  .tm-two-col {
    grid-template-columns: 1fr;
  }

  .tm-sidebar {
    order: 2;
  }

  .tm-mobile-ad {
    display: grid;
  }

  .tm-ad-sticky {
    position: static;
  }

  .tm-hero-top {
    flex-direction: column;
  }

  .tm-hero-stats {
    width: 100%;
  }

  .tm-stat {
    flex: 1;
  }

  .tm-list-header {
    display: none;
  }

  .tm-deal-card {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .tm-deal-route {
    grid-column: 1 / -1;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .tm-deal-meta {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .tm-deal-chevron {
    align-self: center;
  }
}

@media (max-width: 560px) {
  .tm-card-grid {
    grid-template-columns: 1fr;
  }

  .tm-profile-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .tm-hero-panel {
    padding: 20px 18px 18px;
    border-radius: 16px;
  }

  .tm-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tm-search {
    width: 100%;
  }

  .tm-deal-player {
    align-items: flex-start;
  }

  .tm-deal-route {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .tm-deal-arrow {
    transform: rotate(90deg);
  }
}
