/* static/css/tube.css
   Third theme: a big-video-site look -- dark masthead, pill nav, red
   accent, rounded white cards on a light gray page. Evokes today's
   large streaming sites in spirit (CLAUDE.md section 24) without
   copying any site's logo, exact palette, or pixel layout (section 1);
   the accent red below is a distinct shade, and CHICKEN TUBE's own
   wordmark/copy stays exactly as every other theme renders it. Same
   markup as style.css/modern.css -- only the skin changes. */

body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  background: #f9f9f9;
  color: #0f0f0f;
  font-family: "Segoe UI", Roboto, -apple-system, Helvetica, Arial, sans-serif;
  font-size: 14px;
}

a {
  color: #cc1a1a;
}

a:visited {
  color: #a3154f;
}

header {
  background: #0f0f0f;
  color: #ffffff;
  border: none;
  padding: 14px 16px;
  margin: 0;
}

header h1 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.5px;
}

header p {
  margin: 2px 0 0 0;
  font-size: 12px;
  font-style: normal;
  color: #aaaaaa;
}

nav {
  background: #ffffff;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 12px;
  font-size: 13px;
}

nav a {
  padding: 6px 12px;
  margin-right: 4px;
  text-decoration: none;
  font-weight: 600;
  color: #0f0f0f;
  border-radius: 18px;
}

nav a:hover {
  background: #f2f2f2;
}

nav form {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.link-button {
  display: inline;
  border: none;
  background: none;
  padding: 6px 12px;
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #0f0f0f;
  text-decoration: none;
  cursor: pointer;
  border-radius: 18px;
}

.link-button:hover {
  background: #f2f2f2;
}

main {
  background: transparent;
  border: none;
  padding: 20px 16px;
  margin-bottom: 12px;
}

h2 {
  font-size: 18px;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.video-card {
  width: 240px;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 13px;
}

.video-card a {
  text-decoration: none;
  color: inherit;
}

.thumb-placeholder, .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
}

.thumb-placeholder {
  background: #e5e5e5;
  color: #606060;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  overflow: hidden;
}

.thumb {
  display: block;
  object-fit: cover;
  transition: transform 0.15s ease-out;
}

.video-card a:hover .thumb {
  transform: scale(1.02);
}

.video-card p {
  margin: 8px 0 0 0;
  color: #0f0f0f;
  font-weight: 600;
}

.pagination {
  font-size: 12px;
  color: #606060;
  margin-top: 12px;
}

.video-card p:last-child {
  color: #606060;
  font-weight: normal;
  font-size: 12px;
}

.inline-form {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  margin: 0 4px 0 0;
}

form {
  border: 1px solid #e5e5e5;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

form label {
  display: block;
  margin-bottom: 10px;
}

form input[type="text"],
form input[type="password"],
form select {
  font-family: inherit;
  font-size: 13px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 6px 8px;
}

form button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  background: #cc1a1a;
  color: #ffffff;
  padding: 8px 20px;
  cursor: pointer;
}

form button:hover {
  background: #a91414;
}

p.error {
  color: #a91414;
  border: 1px solid #f0c2c2;
  background: #fdecec;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
}

video {
  border: none;
  border-radius: 12px;
  background: #000000;
}
