/* TopPornGirls — charcoal big-tube theme, orange accent, bold condensed type */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #ff7a00;
  --accent-dark: #d96700;
  --bg: #141414;
  --panel: #1e1e1e;
  --panel-2: #262626;
  --line: #2e2e2e;
  --text: #f2f2f2;
  --muted: #b5b5b5;
  --dim: #7d7d7d;
}

html { -webkit-tap-highlight-color: transparent; }
body {
  font-family: "Arial Narrow", "Helvetica Neue", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }

/* ---- header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0e0e0e;
  border-bottom: 2px solid var(--accent);
}
.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo-box {
  background: var(--accent);
  color: #0e0e0e;
  padding: 1px 6px;
  margin: 0 2px;
}
.search {
  position: relative;
  flex: 1;
  max-width: 520px;
  margin-left: auto;
}
.search input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 9px 48px 9px 18px;
  outline: none;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--accent); }
.search button {
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  width: 40px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #0e0e0e;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.search button:hover { background: var(--accent-dark); }

/* ---- category strip ---- */
.catbar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 14px 8px;
  scrollbar-width: none;
}
.catbar::-webkit-scrollbar { display: none; }
.catbar a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 12px;
  border-bottom: 2px solid transparent;
}
.catbar a:hover { color: var(--text); border-bottom-color: var(--dim); }
.catbar a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- layout ---- */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 14px 34px;
}
h1 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 18px;
}
h2 {
  font-size: 19px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 14px;
}

/* ---- video grid ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 14px;
}
.card a { display: block; }
.card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel);
}
.card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.94);
  transition: filter .2s ease;
}
.card a:hover .thumb img { filter: brightness(1.12); }
.duration {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(14,14,14,.85);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 7px;
}
.card .title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .title span {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size .2s ease;
}
.card a:hover .title span { background-size: 100% 2px; }
.card .meta {
  margin-top: 5px;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  gap: 12px;
  align-items: center;
}
.card .meta .likes { color: var(--accent); font-weight: 700; }

/* ---- feed status / load more ---- */
.feed-status {
  text-align: center;
  color: var(--dim);
  padding: 30px 10px;
  font-size: 15px;
}
.feed-status a { color: var(--accent); text-decoration: underline; cursor: pointer; }
.load-more {
  display: block;
  margin: 24px auto 0;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 11px 34px;
  cursor: pointer;
}
.load-more:hover { background: var(--accent); color: #0e0e0e; }
.sentinel { height: 1px; }
.spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- watch page ---- */
.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 76vh;
  margin: 0 auto;
  background: #000;
}
.player-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}
.player-loading, .player-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--dim);
}
.player-error a { color: var(--accent); text-decoration: underline; }
.watch-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 16px;
}
.watch-title {
  font-size: 21px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  flex: 1 1 320px;
}
.watch-meta {
  color: var(--dim);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  white-space: nowrap;
}
.watch-meta b { color: var(--text); font-weight: 700; }
.watch-meta .likes { color: var(--accent); font-weight: 700; }
.tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags a {
  background: var(--panel);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 12px;
}
.tags a:hover { background: var(--panel-2); }
.related { margin-top: 32px; }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 22px 14px 34px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  line-height: 22px;
}
.footer a { color: var(--muted); text-decoration: underline; }

/* ---- responsive ---- */
@media (min-width: 560px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px)  { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; gap: 8px; }
  .logo { font-size: 20px; }
  .search { flex-basis: 100%; max-width: none; margin-left: 0; }
}
