/* HotBabePorn — warm light theme, sidebar layout */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #d4552a;
  --accent-soft: #f6dccf;
  --bg: #f6f1e7;
  --card: #fff;
  --chip: #efe7d8;
  --text: #33291f;
  --muted: #6f6355;
  --dim: #a3927e;
  --line: #e6dcc9;
  --shadow: 0 1px 3px rgba(72, 52, 32, .12);
  --shadow-hover: 0 6px 18px rgba(72, 52, 32, .18);
}

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

/* ---- logo ---- */
.logo {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.3px;
}
.logo span { color: var(--accent); }

/* ---- search ---- */
.search { display: flex; }
.search input {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 9px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
}
.search input:focus { border-color: var(--accent); }
.search button {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.search button:hover { filter: brightness(1.08); }

/* ---- shell: sidebar + main ---- */
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.main { flex: 1; min-width: 0; }

h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 2px 0 16px;
}
h1 span { color: var(--accent); }
h2 { font-size: 19px; margin: 0 0 12px; }

/* ---- categories ---- */
.cats-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dim);
  margin: 4px 0 8px;
}
.cats-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.cats-list::-webkit-scrollbar { display: none; }
.cats-list a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.cats-list a:hover { border-color: var(--accent); color: var(--accent); }
.cats-list a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cats-list a.active .count { color: rgba(255,255,255,.75); }
.cats-list .count {
  font-size: 12px;
  font-weight: 400;
  color: var(--dim);
}

/* ---- video grid / cards ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--card);
  border-radius: 8px;
  padding: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card a { display: block; }
.card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--chip);
}
.card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(51, 41, 31, .8);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
}
.card .body { padding: 8px 4px 4px; }
.card .title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card a:hover .title { color: var(--accent); }
.card .meta {
  margin-top: 5px;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  gap: 10px;
  align-items: center;
}
.card .meta .site { color: var(--accent); font-weight: 600; }

/* ---- feed status / load more ---- */
.feed-status {
  text-align: center;
  color: var(--dim);
  padding: 28px 10px;
  font-size: 15px;
}
.feed-status a { color: var(--accent); text-decoration: underline; cursor: pointer; }
.load-more {
  display: block;
  margin: 20px auto 4px;
  background: var(--card);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 30px;
  cursor: pointer;
}
.load-more:hover { background: var(--accent); color: #fff; }
.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 ---- */
.watch-header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 14px 4px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.watch-header .search { flex: 1; min-width: 220px; max-width: 440px; margin-left: auto; }
.watch-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 14px 10px;
}
.player-card {
  background: var(--card);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1c150f;
  border-radius: 8px;
  overflow: hidden;
}
.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: #b9a893;
}
.player-error a { color: #fff; text-decoration: underline; }
.watch-title {
  margin: 14px 4px 6px;
  font-size: 22px;
}
.watch-meta {
  margin: 0 4px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.watch-meta b { color: var(--accent); font-weight: 600; }
.tags {
  margin: 12px 4px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags a {
  background: var(--chip);
  color: var(--muted);
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 8px;
}
.tags a:hover { background: var(--accent-soft); color: var(--accent); }
.related { margin-top: 28px; }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 22px 14px 32px;
  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: 900px) {
  /* two-column layout: sticky sidebar + main */
  .shell {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
  }
  .sidebar {
    flex: 0 0 240px;
    position: sticky;
    top: 20px;
  }
  .cats-list {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }
  .cats-list a { justify-content: space-between; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1150px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
