@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0e0e10;
  --surface: #18181b;
  --surface-raised: #202024;
  --text: #ececea;
  --muted: #8b8b90;
  --amber: #ffc857;
  --red: #e4483b;
  --border: #2a2a2e;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

::selection { background: var(--amber); color: #1a1a1a; }

a { color: inherit; }

/* Sprocket-hole şeridi: imza motif — film şeridi deliği */
.sprocket-strip {
  height: 14px;
  background-image: radial-gradient(circle at 12px 7px, var(--bg) 4px, transparent 4.5px);
  background-size: 28px 14px;
  background-repeat: repeat-x;
  background-color: var(--surface-raised);
}

header.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.nav-item:hover {
  color: var(--amber);
  background: rgba(255, 200, 87, 0.06);
  border-color: rgba(255, 200, 87, 0.2);
}

.nav-item.active {
  color: var(--amber);
  background: rgba(255, 200, 87, 0.1);
  border-color: rgba(255, 200, 87, 0.3);
  font-weight: 500;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .dot { color: var(--red); }

.timecode {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 4px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 8px;
}

p.lede { color: var(--muted); margin-top: 0; }

p.lede code, .lede code {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--amber);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}

/* --- Form / Slate paneli --- */
.slate-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
}

.slate-panel .sprocket-strip { }

.slate-body { padding: 24px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="url"],
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.field textarea { resize: vertical; min-height: 70px; }

.file-drop {
  border: 1px dashed var(--border);
  border-radius: 4px;
  padding: 14px 12px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.file-drop:hover { border-color: var(--amber); color: var(--text); }
.file-drop input { display: none; }

button.btn-primary {
  background: var(--amber);
  color: #1a1408;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.08s ease;
}
button.btn-primary:hover { transform: translateY(-1px); }
button.btn-primary:active { transform: translateY(0); }
button.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.form-error {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-top: 10px;
  display: none;
}

/* --- Video grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.video-card:hover { border-color: var(--amber); transform: translateY(-2px); }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cc-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--amber);
  color: #1a1408;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.cc-badge.none { background: var(--surface-raised); color: var(--muted); }

.video-info { padding: 14px 14px 16px; }
.video-info h3 { font-size: 1rem; margin-bottom: 4px; }
.video-date-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--amber);
  margin-bottom: 6px;
}

.category-badge {
  display: inline-block;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.3);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.video-info p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Başlık Satırı & Filtre Butonu --- */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-title-row h1 {
  margin: 0;
}

.filter-container {
  position: relative;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 8px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover,
.filter-btn[aria-expanded="true"] {
  border-color: var(--amber);
  color: var(--amber);
}

.filter-btn .chevron {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.filter-btn[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.filter-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 200px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  overflow: hidden;
}

.filter-dropdown.hidden {
  display: none;
}

.dropdown-item {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.dropdown-item:hover {
  background: var(--surface);
  color: var(--amber);
}

.dropdown-item.active {
  color: var(--amber);
  font-weight: 600;
  background: rgba(255, 200, 87, 0.08);
}

/* --- Tümünü Görüntüle Butonu --- */
.view-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-view-all:hover {
  background: var(--surface-raised);
  border-color: var(--amber);
  transform: translateY(-1px);
  color: #ffe08a;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* --- İzleme sayfası --- */
.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.player-wrap:fullscreen,
.player-wrap:-webkit-full-screen,
.player-wrap.is-fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  border-radius: 0;
}
#player-iframe-container, #yt-player { width: 100%; height: 100%; }

/* YouTube'un kendi kontrollerini gizlediğimiz için, iframe'e gelen
   tıklamaları da devre dışı bırakıp kendi bar'ımıza yönlendiriyoruz.
   Ayrıca iframe'i biraz büyütüp merkezden konumlandırıyoruz ki
   YouTube'un kenarlara yapıştırdığı logo / "duraklatınca önerilen
   videolar" paneli gibi native UI parçaları player-wrap'in
   overflow:hidden sınırının dışında kalıp görünmesin (crop hack).
   Video hafifçe zoom'lanmış görünür, bu kabul edilebilir bir bedel. */
#yt-player, iframe#yt-player, #yt-player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: auto !important;
}

.subtitle-overlay {
  position: absolute;
  left: 0; right: 0;
  bottom: 54px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 5%;
  z-index: 3;
}

.subtitle-overlay .cue {
  background: rgba(0,0,0,0.72);
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.2vw, 1.4rem);
  padding: 6px 14px;
  border-radius: 4px;
  text-align: center;
  max-width: 90%;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.player-wrap:fullscreen .subtitle-overlay,
.player-wrap:-webkit-full-screen .subtitle-overlay,
.player-wrap.is-fullscreen .subtitle-overlay {
  bottom: 8%;
}

.player-wrap:fullscreen .subtitle-overlay .cue,
.player-wrap:-webkit-full-screen .subtitle-overlay .cue,
.player-wrap.is-fullscreen .subtitle-overlay .cue {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
}

/* --- Özel Tam Ekran Butonu --- */
.custom-fs-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(18, 18, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ececea;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.65;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.45);
}

.custom-fs-btn:hover {
  opacity: 1;
  background: rgba(24, 24, 27, 0.95);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-50%) scale(1.06);
}

.custom-fs-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.custom-fs-btn .hidden {
  display: none !important;
}

.player-wrap:fullscreen .custom-fs-btn,
.player-wrap:-webkit-full-screen .custom-fs-btn,
.player-wrap.is-fullscreen .custom-fs-btn {
  top: 50%;
  right: 14px;
}

/* --- SponsorBlock Atla Bildirimi --- */
.sb-toast {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 24, 0.88);
  border: 1px solid rgba(255, 200, 87, 0.4);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.sb-toast.sb-toast-fade {
  opacity: 0;
}

.sb-toast.hidden {
  display: none !important;
}

.sb-toast-icon {
  font-size: 1rem;
  line-height: 1;
}

/* --- Sansür Banner --- */
.censor-banner {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(228, 72, 59, 0.92);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulse-censor 2s infinite ease-in-out;
  pointer-events: none;
}

.censor-banner.hidden {
  display: none !important;
}

.censor-icon {
  font-size: 1.2rem;
}

.censor-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.censor-title {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe08a;
}

.censor-reason {
  font-size: 0.82rem;
}

@keyframes pulse-censor {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.75; }
}

.watch-meta { margin-top: 20px; }
.watch-meta h1 { font-size: 1.5rem; }
.video-submeta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}
.video-date-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--amber);
}
.watch-meta p {
  color: var(--muted);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.watch-meta p a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.watch-meta p a:hover {
  color: #ffe08a;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 16px;
}
.back-link:hover { color: var(--amber); }

.danger-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red);
  background: none;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  margin-top: 16px;
}
.danger-link:hover { background: var(--red); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .video-card, button.btn-primary { transition: none; }
}

/* --- Hakkımda Sayfası Stilleri --- */
.about-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.profile-svg-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 200, 87, 0.18) 0%, rgba(24, 24, 27, 0.95) 100%);
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(255, 200, 87, 0.25);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-svg-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 32px rgba(255, 200, 87, 0.4);
}

.profile-svg-icon {
  color: var(--amber);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.profile-svg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.profile-title-area h1 {
  font-size: 2.2rem;
  margin: 2px 0 6px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.profile-subtitle {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--amber);
  margin: 0;
}

/* Ortalanmış Resim Bölümü */
.centered-image-wrap {
  margin: 0 auto 36px;
  text-align: center;
  max-width: 100%;
}

.image-frame {
  position: relative;
  background: #09090b;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 8px;
}

.profile-centered-img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.image-sprocket-top,
.image-sprocket-bottom {
  height: 12px;
  border-radius: 4px 4px 0 0;
}
.image-sprocket-bottom {
  border-radius: 0 0 4px 4px;
}

.image-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.caption-dot {
  color: var(--amber);
  font-size: 0.6rem;
}

/* Normal Açıklama Metni */
.about-description {
  line-height: 1.75;
  color: #d1d1d6;
  font-size: 0.98rem;
}

.about-description h2 {
  font-size: 1.65rem;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-description h3 {
  font-size: 1.25rem;
  color: var(--amber);
  margin: 28px 0 12px;
}

.about-description p {
  margin: 0 0 16px;
}

.about-description ul {
  padding-left: 20px;
  margin: 0 0 24px;
}

.about-description li {
  margin-bottom: 10px;
}

.about-description strong {
  color: var(--text);
}

/* Sosyal Bağlantılar */
.social-links-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.social-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
  background: var(--surface-raised);
}

@media (max-width: 600px) {
  .about-card {
    padding: 24px 18px;
  }
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  .profile-title-area h1 {
    font-size: 1.8rem;
  }
}

/* --- Tarihte Bugün (On This Day) Banner --- */
.otd-banner-wrapper {
  background: linear-gradient(90deg, rgba(255, 200, 87, 0.08) 0%, rgba(24, 24, 27, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 200, 87, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 990;
  animation: slideDownOTD 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.otd-banner-wrapper.hidden {
  display: none;
}

@keyframes slideDownOTD {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.otd-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.otd-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.otd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 200, 87, 0.15);
  border: 1px solid rgba(255, 200, 87, 0.4);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
}

.otd-icon {
  font-size: 1rem;
}

.otd-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.otd-highlight {
  color: var(--amber);
  font-weight: 600;
}

.otd-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 6px;
}

.otd-content-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  border-radius: 4px;
}

.otd-content-link:hover .otd-highlight {
  text-decoration: underline;
  color: #ffe082;
}

.otd-content-link:hover .otd-source-tag {
  background: rgba(255, 200, 87, 0.3);
  color: #ffffff;
  border-color: var(--amber);
}

.otd-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--amber);
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: auto;
  flex-shrink: 0;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.otd-close-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.otd-close-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
}

@media (max-width: 768px) {
  .otd-inner {
    padding: 10px 16px;
  }
  .otd-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .otd-desc {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
  .otd-source-tag {
    margin-left: 0;
    margin-top: 4px;
  }
}


