:root {
  --tah-page: #f5f5f5;
  --tah-panel: #ffffff;
  --tah-panel-soft: #eeeeee;
  --tah-border: #d8d8d8;
  --tah-border-dark: #303030;
  --tah-text: #242424;
  --tah-muted: #757575;
  --tah-dark: #202020;
  --tah-dark-2: #2d2d2d;
  --tah-dark-3: #3b3b3b;
  --tah-accent: #f4b400;
  --tah-accent-2: #f05a28;
  --tah-red: #d9342b;
  --tah-green: #4ba64f;
  --tah-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  --tah-radius: 4px;
  --tah-shell: 1320px;
  --tah-font: "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--tah-page);
  color: var(--tah-text);
  font-family: var(--tah-font);
  font-size: 16px;
  line-height: 1.35;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--tah-page);
  color: var(--tah-text);
}

body,
input,
button,
textarea,
select {
  font-family: var(--tah-font);
}

body.tah-menu-open,
body.tah-search-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--tah-accent-2);
}

img {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1rem;
}

.sr-only,
.is-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.skip-to-main-content {
  position: absolute;
  top: -100px;
  left: 50%;
  z-index: 100000;
  padding: 0.55rem 1rem;
  border-radius: var(--tah-radius);
  background: var(--tah-accent);
  color: #111;
  font-weight: 900;
  transform: translateX(-50%);
}

.skip-to-main-content:focus {
  top: 0.75rem;
}

.scrollBar1 {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--tah-accent), var(--tah-accent-2));
}

.tah-site {
  min-height: 100vh;
}

.container,
.tah-shell {
  width: min(var(--tah-shell), 100%);
  margin: 0 auto;
}

.tah-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--tah-page);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header {
  display: grid;
  grid-template-columns: 205px minmax(16rem, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 12px 16px;
  background: var(--tah-panel);
}

.logo {
  min-width: 0;
}

.tah-logo {
  display: inline-flex;
  align-items: baseline;
  color: #181818;
  font-size: 1.9rem;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.tah-logo:hover {
  color: #181818;
}

.tah-logo__mark {
  margin-left: 0.07em;
  color: var(--tah-accent-2);
}

.tah-search form {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 40px;
  border: 1px solid #cfcfcf;
  border-radius: var(--tah-radius);
  background: #fff;
  overflow: hidden;
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#f8c737, #e7a500);
  color: #111;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-button:hover {
  background: linear-gradient(#ffd85f, #efb216);
}

.search-text {
  min-width: 0;
}

.search-text input,
.tah-mobile-search input {
  width: 100%;
  height: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  background: #fff;
  color: var(--tah-text);
  outline: none;
}

.search-text input:focus,
.tah-mobile-search input:focus {
  box-shadow: inset 0 0 0 2px rgba(240, 90, 40, 0.28);
}

.tah-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.log-in,
.sign-up,
.tah-search-toggle,
.log-in-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--tah-radius);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.log-in {
  min-width: 48px;
  padding: 0 12px;
  border: 1px solid #cacaca;
  background: #f4f4f4;
  color: #333;
}

.sign-up {
  padding: 0 14px;
  background: var(--tah-accent-2);
  color: #fff;
}

.sign-up:hover {
  color: #fff;
  background: #d94e22;
}

.tah-search-toggle {
  display: none;
  width: 38px;
  border: 1px solid #cacaca;
  background: #f4f4f4;
}

.log-in-mobile {
  display: none;
  width: 40px;
  background: var(--tah-dark);
  color: #fff;
}

.log-in-mobile span,
.log-in-mobile span::before,
.log-in-mobile span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.log-in-mobile span {
  position: relative;
}

.log-in-mobile span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.log-in-mobile span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.tah-mobile-search {
  position: fixed;
  top: 64px;
  left: 50%;
  z-index: 650;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(var(--tah-shell), calc(100% - 24px));
  padding: 10px;
  border: 1px solid var(--tah-border);
  border-radius: 0 0 var(--tah-radius) var(--tah-radius);
  background: var(--tah-panel);
  box-shadow: var(--tah-shadow);
  transform: translateX(-50%);
}

.tah-mobile-search button {
  min-width: 86px;
  border-radius: var(--tah-radius);
  background: var(--tah-accent);
  color: #111;
  font-weight: 900;
}

.tah-search-open .tah-mobile-search {
  display: grid;
}

.mota {
  height: 1px;
  background: #111;
  opacity: 0.08;
}

.tah-nav {
  background: var(--tah-dark);
  color: #fff;
}

.navigation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: 48px;
}

.navigation .button {
  display: none;
  width: 52px;
  background: #141414;
  color: #fff;
}

.icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.ico-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.primary,
.secondary {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.primary {
  overflow-x: auto;
  scrollbar-width: none;
}

.primary::-webkit-scrollbar {
  display: none;
}

.primary li,
.secondary li {
  position: relative;
  display: flex;
  flex: 0 0 auto;
}

.primary a,
.secondary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 13px;
  color: #f8f8f8;
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
}

.primary a:hover,
.primary a.active,
.secondary a:hover,
.secondary a.active {
  background: var(--tah-accent);
  color: #111;
}

.secondary {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary a {
  min-width: 44px;
  justify-content: center;
  padding: 0 10px;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 700;
  display: none;
  min-width: 220px;
  padding: 6px 0;
  border: 1px solid var(--tah-border-dark);
  background: var(--tah-dark-2);
  box-shadow: var(--tah-shadow);
}

.dropdown-menu:hover .dropdown-content,
.dropdown-menu:focus-within .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: flex;
  min-height: 34px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.82rem;
}

.dropdown-content a:hover {
  background: var(--tah-dark-3);
  color: var(--tah-accent);
}

.videos-icon,
.photos-icon,
.tags-icon,
.models-icon,
.verified-icon,
.statsicon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
  vertical-align: middle;
}

.videos-icon::before {
  position: absolute;
  inset: 3px 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.videos-icon::after {
  position: absolute;
  top: 6px;
  left: 7px;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid currentColor;
  content: "";
}

.photos-icon::before {
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 2px;
  content: "";
}

.photos-icon::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  left: 4px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(0 100%, 35% 35%, 52% 70%, 70% 30%, 100% 100%);
  content: "";
}

.tags-icon::before {
  position: absolute;
  inset: 4px 2px 4px 5px;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: "";
  transform: rotate(-35deg);
}

.models-icon::before {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.models-icon::after {
  position: absolute;
  right: 2px;
  bottom: 1px;
  left: 2px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 2px 2px;
  content: "";
}

.verified-icon::before {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--tah-green);
  content: "";
}

.verified-icon::after {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.searchIcon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  vertical-align: middle;
}

.searchIcon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.viewsIcon::before {
  position: absolute;
  top: 5px;
  left: 1px;
  width: 16px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.viewsIcon::after {
  position: absolute;
  top: 8px;
  left: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.statsicon {
  width: 17px;
  height: 14px;
  margin-right: 0.25rem;
}

.tah-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  width: min(420px, 100vw);
  height: 100vh;
  overflow-y: auto;
  background: #fff;
  color: var(--tah-text);
  box-shadow: -20px 0 45px rgba(0, 0, 0, 0.35);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.18s ease, visibility 0.18s ease;
}

.tah-menu-open .tah-drawer {
  transform: translateX(0);
  visibility: visible;
}

.tah-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(0, 0, 0, 0.58);
}

.tah-menu-open .tah-menu-backdrop,
.tah-search-open .tah-menu-backdrop {
  display: block;
}

.tah-search-open .tah-menu-backdrop {
  z-index: 620;
}

.tah-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--tah-border);
  background: var(--tah-dark);
  color: #fff;
}

.tah-menu-close {
  width: 34px;
  height: 34px;
  border-radius: var(--tah-radius);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
}

.tah-drawer__section {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--tah-border);
}

.tah-drawer__section a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

.tah-drawer__section a:hover,
.tah-drawer__section a.active {
  color: var(--tah-accent-2);
}

.tah-drawer__title {
  padding: 1rem 1rem 0.35rem;
  color: var(--tah-muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.tah-drawer__section--compact,
.tah-drawer__section--languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.65rem 1rem 1rem;
}

.tah-drawer__section--compact a,
.tah-drawer__section--languages a {
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--tah-border);
  border-radius: var(--tah-radius);
  font-size: 0.82rem;
  text-align: center;
}

.content,
.tah-main {
  min-height: 58vh;
  padding: 0 0 18px;
}

.main-content {
  padding: 10px 14px 0;
  background: var(--tah-panel);
}

.tah-ad {
  margin: 10px 0;
  overflow: hidden;
  border-radius: var(--tah-radius);
  background: #f1f1f1;
  text-align: center;
}

.tah-ad:empty {
  display: none;
}

.headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--tah-border);
}

.headline h1,
.headline h2 {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-left: 14px;
  overflow: hidden;
  color: #1d1d1d;
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.headline h1::before,
.headline h2::before {
  position: absolute;
  top: 0.1em;
  bottom: 0.08em;
  left: 0;
  width: 5px;
  border-radius: 2px;
  background: var(--tah-accent);
  content: "";
}

.tah-headline-small h2 {
  font-size: 1.12rem;
}

.tah-headline-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  color: var(--tah-muted);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.tah-headline-meta span {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: var(--tah-radius);
  background: #eeeeee;
}

.tah-headline-meta span:last-child {
  background: var(--tah-dark);
  color: #fff;
}

.tah-popular-bar,
.tah-tag-cloud {
  margin: 10px 0 13px;
  padding: 10px;
  border: 1px solid var(--tah-border);
  border-radius: var(--tah-radius);
  background: #fafafa;
}

.tah-popular-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.tah-popular-bar strong {
  color: var(--tah-accent-2);
  font-size: 0.86rem;
  white-space: nowrap;
}

.tah-popular-bar div,
.tah-tag-cloud__list,
.tah-video-tags,
.tah-watch-actions,
.tah-watch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.tah-popular-bar a,
.tah-tag-cloud__list a,
.tah-video-tags a,
.tah-action-button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #d3d3d3;
  border-radius: var(--tah-radius);
  background: #fff;
  color: #333;
  font-size: 0.82rem;
  font-weight: 800;
}

.tah-popular-bar a:hover,
.tah-tag-cloud__list a:hover,
.tah-video-tags a:hover,
.tah-action-button:hover {
  border-color: var(--tah-accent-2);
  color: var(--tah-accent-2);
}

.box,
.box-index {
  margin: 0;
}

.list-videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px 12px;
}

.list-videos .item {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--tah-radius);
  background: #fff;
  color: var(--tah-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.list-videos .item:hover {
  color: var(--tah-text);
  transform: translateY(-2px);
}

.list-videos .item:hover .img {
  box-shadow: var(--tah-shadow);
}

.img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--tah-radius);
  background: #cfcfcf;
}

.thumb,
.imgvideo,
.thumbimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.list-videos .item:hover .thumb {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.duration {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 900;
}

.hdmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 15px;
  padding: 0 3px;
  border-radius: 2px;
  background: var(--tah-accent-2);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
  text-transform: uppercase;
}

.video-title {
  display: -webkit-box;
  min-height: 2.4em;
  margin-top: 6px;
  overflow: hidden;
  color: #202020;
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-views {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  color: #777;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.video-views span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-views span:last-child {
  color: var(--tah-accent-2);
}

.empty-state {
  margin: 0.8rem 0;
  padding: 1rem;
  border: 1px solid var(--tah-border);
  border-radius: var(--tah-radius);
  background: #fafafa;
  color: var(--tah-muted);
}

.tah-pagination,
.pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 18px 0 3px;
}

.tah-pagination:empty {
  display: none;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.pagination li {
  display: inline-flex;
}

.pagination a,
.pagination .current,
.pagination-ellipsis span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #cacaca;
  border-radius: var(--tah-radius);
  background: linear-gradient(#fff, #ececec);
  color: #222;
  font-size: 0.88rem;
  font-weight: 900;
}

.pagination a:hover,
.pagination .current {
  border-color: var(--tah-accent-2);
  background: var(--tah-accent);
  color: #111;
}

.pagination-ellipsis span {
  border-color: transparent;
  background: transparent;
}

.tah-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin: 10px 0 8px;
  color: var(--tah-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.tah-breadcrumb b {
  overflow: hidden;
  max-width: 70vw;
  color: #333;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tah-watch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
}

.tah-watch-main,
.tah-watch-side {
  min-width: 0;
}

.tah-player-card {
  overflow: hidden;
  border-radius: var(--tah-radius);
  background: #000;
}

.tah-player-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.tah-player-frame > div,
.tah-player-frame .jwplayer {
  width: 100% !important;
  height: 100% !important;
}

.tah-watch-meta,
.tah-watch-actions,
.tah-video-tags {
  padding: 10px 0 0;
}

.tah-watch-meta {
  color: var(--tah-muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.tah-watch-description {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid var(--tah-border);
  border-radius: var(--tah-radius);
  background: #fafafa;
  color: #4c4c4c;
  font-size: 0.94rem;
  line-height: 1.55;
}

.tah-watch-description > *:last-child {
  margin-bottom: 0;
}

.list-videos--side {
  grid-template-columns: 1fr;
  gap: 10px;
}

.list-videos--side .item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas:
    "thumb title"
    "thumb views";
  gap: 9px;
  align-items: start;
}

.list-videos--side .img {
  grid-area: thumb;
  border-radius: var(--tah-radius);
}

.list-videos--side .video-title {
  grid-area: title;
  margin-top: 0;
  font-size: 0.86rem;
}

.list-videos--side .video-views {
  grid-area: views;
  display: block;
  margin-top: -5px;
}

.welcome {
  margin: 4px 14px 22px;
  padding: 14px 0 0;
  border-top: 1px solid var(--tah-border);
  color: #555;
  font-size: 0.95rem;
  line-height: 1.55;
}

.welcome h2 {
  margin: 0 0 0.65rem;
  color: #222;
  font-size: 1.22rem;
  font-weight: 950;
}

.footer,
.tah-footer {
  border-top: 5px solid var(--tah-dark);
  background: #303030;
  color: #fff;
}

.tah-footer-top {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 22px 14px 16px;
}

.tah-logo--footer {
  color: #fff;
  font-size: 1.5rem;
}

.tah-logo--footer:hover {
  color: #fff;
}

.tah-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.foothead {
  margin-bottom: 9px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footlink {
  margin-bottom: 5px;
}

.foottext {
  color: #cfcfcf;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.45;
}

.foottext:hover,
.foottext.active {
  color: var(--tah-accent);
}

.tah-footer-counter {
  padding: 0 14px 18px;
  color: #cfcfcf;
  text-align: center;
}

.tah-bottom-nav {
  display: none;
}

.directory-page {
  padding: 12px 14px 20px;
  background: var(--tah-panel);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--tah-border);
}

.section-head h1 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 950;
}

.section-head span {
  color: var(--tah-muted);
  font-weight: 850;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.directory-card,
.model-tile {
  display: flex;
  min-height: 4.5rem;
  overflow: hidden;
  border: 1px solid var(--tah-border);
  border-radius: var(--tah-radius);
  background: #fff;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.directory-card:hover,
.model-tile:hover {
  color: inherit;
  box-shadow: var(--tah-shadow);
  transform: translateY(-2px);
}

.directory-card__letter {
  display: flex;
  flex: 0 0 3.7rem;
  align-items: center;
  justify-content: center;
  background: var(--tah-accent);
  color: #111;
  font-size: 1.35rem;
  font-weight: 950;
}

.directory-card__content {
  min-width: 0;
  padding: 0.7rem;
}

.directory-card__title,
.model-tile__title {
  display: block;
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-card__meta {
  color: var(--tah-muted);
  font-size: 0.78rem;
}

.directory-grid--models {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.model-tile {
  flex-direction: column;
  min-height: 0;
}

.model-tile__media {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #555;
}

.model-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-tile__placeholder {
  color: #fff;
  font-size: 2rem;
  font-weight: 950;
}

.model-tile__title {
  padding: 0.65rem;
}

.load-more-row {
  margin-top: 1rem;
}

.error-hero {
  display: flex;
  min-height: 54vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 14px;
  background: var(--tah-panel);
}

.error-hero__panel {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  width: min(62rem, 100%);
  overflow: hidden;
  border-radius: var(--tah-radius);
  background: var(--tah-dark);
  color: #fff;
}

.error-hero__code {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: var(--tah-accent);
  font-size: 4.5rem;
  font-weight: 950;
}

.error-hero__content {
  padding: 2rem;
}

.error-hero__eyebrow {
  color: var(--tah-accent);
  font-weight: 900;
  text-transform: uppercase;
}

.error-hero h1 {
  margin: 0 0 0.65rem;
}

.error-hero__text {
  color: #d5d5d5;
}

.error-hero__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  margin-top: 1rem;
}

.error-hero__search input {
  min-height: 2.4rem;
  padding: 0 0.8rem;
  border: 1px solid var(--tah-dark-3);
  border-radius: var(--tah-radius);
  background: #fff;
  color: #222;
}

.error-hero__search button,
.error-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  border-radius: var(--tah-radius);
  background: var(--tah-accent);
  color: #111;
  font-weight: 900;
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.error-button:not(.error-button--primary) {
  background: var(--tah-dark-3);
  color: #fff;
}

.dmca-on {
  cursor: pointer;
}

.dmca-abuse-modal {
  display: none;
}

.dmca-abuse-modal.open {
  display: block;
}

.dmca-abuse-modal-content {
  border: 1px solid var(--tah-accent) !important;
  border-radius: var(--tah-radius) !important;
  background: var(--tah-dark) !important;
  color: #fff !important;
}

.dmca-abuse-modal-content h2 {
  color: #fff !important;
}

.dmca-abuse-close {
  color: #fff !important;
}

.dmca-abuse-close:hover,
.dmca-abuse-close:focus {
  color: var(--tah-accent) !important;
}

.dmca-abuse-modal-content input[type="submit"] {
  background: var(--tah-accent) !important;
  color: #111 !important;
}

@media (max-width: 1180px) {
  .list-videos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tah-watch-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .list-videos--side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .list-videos--side .item {
    display: block;
  }

  .list-videos--side .video-views {
    grid-column: auto;
    display: flex;
    margin-top: 4px;
  }

  .directory-grid,
  .directory-grid--models {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .tah-search {
    display: none;
  }

  .tah-search-toggle,
  .log-in-mobile {
    display: inline-flex;
  }

  .sign-up {
    display: none;
  }

  .navigation {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .navigation .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .secondary {
    display: none;
  }

  .list-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-grid,
  .directory-grid--models {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container,
  .tah-shell {
    width: 100%;
  }

  .tah-header-wrapper {
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.16);
  }

  .header {
    min-height: 58px;
    padding: 10px 10px;
    gap: 9px;
  }

  .tah-logo {
    font-size: 1.38rem;
  }

  .log-in {
    display: none;
  }

  .navigation {
    min-height: 44px;
  }

  .primary a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .main-content {
    padding: 8px 8px 64px;
  }

  .headline {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .headline h1,
  .headline h2 {
    max-width: 100%;
    white-space: normal;
  }

  .tah-headline-meta {
    justify-content: flex-start;
  }

  .tah-popular-bar {
    grid-template-columns: 1fr;
  }

  .list-videos,
  .list-videos--side {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-title,
  .video-views {
    padding-right: 2px;
    padding-left: 2px;
  }

  .tah-breadcrumb {
    padding: 0 2px;
  }

  .tah-watch-headline {
    margin-top: 8px;
  }

  .tah-watch-description {
    padding: 10px;
  }

  .welcome {
    margin: 0 8px 18px;
  }

  .tah-footer {
    padding-bottom: 60px;
  }

  .tah-footer-top {
    grid-template-columns: 1fr;
    padding: 18px 12px 12px;
  }

  .tah-footer-grid {
    grid-template-columns: 1fr;
  }

  .tah-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 700;
    display: flex;
    min-height: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--tah-dark);
    color: #fff;
  }

  .tah-bottom-nav a,
  .tah-bottom-nav button {
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 850;
  }

  .tah-bottom-nav span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .directory-page {
    padding: 10px 8px 64px;
  }

  .directory-grid,
  .directory-grid--models {
    grid-template-columns: 1fr;
  }

  .error-hero {
    padding: 1rem 8px 4.8rem;
  }

  .error-hero__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .tah-logo {
    max-width: 45vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tah-header-actions {
    gap: 5px;
  }

  .tah-search-toggle,
  .log-in-mobile {
    width: 35px;
    min-height: 35px;
  }

  .primary a {
    max-width: 54vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

[dir="rtl"] .headline h1,
[dir="rtl"] .headline h2 {
  padding-right: 14px;
  padding-left: 0;
}

[dir="rtl"] .headline h1::before,
[dir="rtl"] .headline h2::before {
  right: 0;
  left: auto;
}

[dir="rtl"] .tah-drawer {
  right: auto;
  left: 0;
  transform: translateX(-105%);
}

[dir="rtl"] .tah-menu-open .tah-drawer {
  transform: translateX(0);
}

[dir="rtl"] .dropdown-content {
  right: 0;
  left: auto;
}
