/* Local corrections for the three retained TinChat topic templates. */
.tc-topic-page p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tc-topic-page .tc-guide-links ul { display: block !important; width: auto !important; }
.tc-topic-page .tc-guide-links li { margin: 0 !important; }
.tc-topic-page .tc-guide-links li a { display: inline; }
.tc-topic-page .main-box .bottom-box .the-logo img { max-width: 212px; width: 100%; height: auto; }
.tc-online-page .random-top .content h1 { font-size: 42px; line-height: 1.2; font-weight: 700; margin-bottom: 24px; }
.tc-online-page .page-one-img img, .tc-online-page .page-two-img img { display: block; width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; object-fit: contain; }
.tc-topic-page .video-img img { max-height: 520px; object-fit: contain; }
.tc-topic-page .side-bar .nav li a { white-space: nowrap; }
.tc-topic-page .footer a { color: inherit; }
.tc-topic-page a:focus-visible, .tc-topic-page [role="button"]:focus-visible { outline: 3px solid #b26cff; outline-offset: 4px; }
@media (max-width: 680px) {
  .tc-online-page .random-top .content h1 { font-size: .65rem; margin-bottom: .3rem; }
  .tc-online-page .page-one-img img, .tc-online-page .page-two-img img, .tc-topic-page .video-img img { max-height: 8rem; }
  .tc-topic-page .main-box .bottom-box .the-logo img { max-width: 3.5rem; }
}

.tc-online-page .random-top .content h1 { color: #fff; }
.tc-topic-page .home-head .logo img { background: #fff; padding: 6px 10px; border-radius: 10px; }
.tc-topic-page .ucr-box-one .the-act { max-width: 650px; }
.tc-topic-page .ucr-box-one .the-act p { font-size: 24px; line-height: 1.45; max-width: 600px; color: #fff; }
.tc-topic-page .tbn-web { gap: 8px; white-space: nowrap; }
.tc-topic-page .tbn-web .tinchat-logo { width: 24px !important; height: 24px !important; object-fit: contain; }
@media (max-width: 680px) {
  .tc-topic-page .ucr-box-one .the-act p { font-size: 14px; line-height: 1.4; }
  .tc-topic-page .home-head .logo img { padding: 4px 6px; }
}

.tc-topic-page .tc-menu-icon { display: block; width: 24px; height: 24px; }
.tc-topic-page .btn-login-pc, .tc-topic-page .mobil-login, .tc-topic-page a.the-btn { text-decoration: none; }
.tc-topic-page .ucr-box-one .the-act p { text-shadow: 0 1px 4px #280031; }

/* TinChat branding for the retained random-video-chat page only. */
.tc-random-page .tc-brand-strip {
  background: #202020;
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  padding: 0 24px;
  box-sizing: border-box;
}
.tc-random-page .tc-brand-tile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #fff;
  opacity: .65;
  font: italic 800 38px/1 'Avenir Next', Helvetica, Arial, sans-serif;
}
.tc-random-page .tc-brand-tile img { width: 36px; height: 36px; }
.tc-random-page .ucr-box-four .video-box img { height: auto; }
@media (max-width: 680px) {
  .tc-random-page .tc-brand-strip { gap: 28px; padding: 0 12px; }
  .tc-random-page .tc-brand-tile { font-size: 24px; gap: 7px; }
  .tc-random-page .tc-brand-tile img { width: 24px; height: 24px; }
}

/* Two identical groups make the brand strip loop without an empty gap. */
.tc-random-page .tc-brand-strip { padding: 0; gap: 0; }
.tc-random-page .tc-brand-track { display: flex; flex: 0 0 auto; width: max-content; animation: tc-brand-marquee 48s linear infinite; }
.tc-random-page .tc-brand-group { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; gap: 48px; padding-right: 48px; min-width: 100vw; box-sizing: border-box; }
.tc-random-page .tc-brand-strip:hover .tc-brand-track { animation-play-state: paused; }
@keyframes tc-brand-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 680px) {
  .tc-random-page .tc-brand-group { gap: 28px; padding-right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-random-page .tc-brand-track { animation: none; }
}
