.tn-search {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.tn-search::placeholder { color: var(--outline); }
.tn-stars::before {
  content: "★★★★★";
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gold) var(--star), #555 var(--star));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tn-slide {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.tn-slide-card { padding: 16px; border-radius: 16px; }
.tn-rank .rank-line { grid-template-columns: minmax(240px, 1.2fr) minmax(200px, 1.6fr) 180px; }
@media (max-width: 991.98px) {
  .tn-rank .rank-line { grid-template-columns: 1fr; }
}
.tn-banner-row,
.tn-banner-stack { display: grid; gap: 12px; }
.tn-banner-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.tn-banner-row img,
.tn-banner-stack img,
.tn-banner-grid img { width: 100%; height: auto; border-radius: 12px; }
.tn-mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--bg-low);
  border-top: 1px solid var(--bg-high);
}
.tn-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 10px;
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}
.tn-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(3, 12, 40, 0.72);
}
.tn-popup-card { position: relative; max-width: min(520px, 92vw); }
.tn-popup-card img { width: 100%; height: auto; border-radius: 12px; }
.tn-popup-close,
.tn-catfish button {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 999px;
  width: 28px;
  height: 28px;
  background: #111;
  color: #fff;
}
.tn-catfish {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1100px, 100%);
}
.tn-catfish a { flex: 1 1 280px; }
.tn-catfish img { width: 100%; height: auto; }
.tn-balloon { position: fixed; right: 16px; bottom: 84px; z-index: 60; }
.tn-balloon-toggle {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
}
.tn-balloon-toggle img { width: 64px; height: 64px; object-fit: contain; }
.tn-balloon-menu {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: grid;
  gap: 8px;
}
.tn-balloon-menu img { width: 56px; height: 56px; object-fit: contain; }
@media (max-width: 767px) {
  .tn-banner-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
}
