:root { color-scheme: dark; --muted: #95938e; --accent: #d7bf8c; }
body { padding: 0 28px; min-height: 100svh; background: #050505; font-family: "Nunito", Arial, sans-serif; }
.main-wrapper { max-width: 1000px; }
.site-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 32px 0 24px; }
.signature { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo {
  height: 38px;
  width: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: opacity .2s ease, transform .2s ease;
}
.signature:hover .site-logo {
  opacity: .85;
  transform: translateY(-1px);
}
.signature span, h1 > span { color: var(--accent); }
.header-note { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.discovery { width: 100%; max-width: 720px; padding-top: 12px; }
#videoPlayer { width: 100px; height: 100px; object-fit: cover; margin-bottom: 26px; border-radius: 50%; }
.eyebrow { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .2em; color: var(--accent); }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #d7bf8c55; }
.eyebrow-line { width: 24px; height: 1px; background: #d7bf8c60; }
h1 { font-family: 'Caveat', cursive; font-size: clamp(36px, 5vw, 52px); font-weight: 500; line-height: 1.15; margin: 15px 0 12px; letter-spacing: -.02em; }
.intro { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 32px; }
.knowledge-card { text-align: left; border: 1px solid #ffffff14; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse at 0 0, #d7bf8c08, transparent 65%), #0d0d0d; box-shadow: 0 20px 70px #0005; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 32px; border-bottom: 1px solid #ffffff0d; font-size: 10px; }
.card-meta-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#category { color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .12em; background: #d7bf8c0c; border: 1px solid #d7bf8c20; border-radius: 5px; padding: 6px 9px; }
.refresh-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: #d7bf8c0c;
  border: 1px solid #d7bf8c20;
  border-radius: 5px;
  padding: 6px 9px;
  cursor: pointer;
  line-height: 1;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.refresh-badge-btn:hover:not(:disabled) {
  background: #d7bf8c1c;
  border-color: #d7bf8c55;
  color: #f1eee8;
  transform: translateY(-1px);
}
.refresh-badge-btn:active:not(:disabled) {
  transform: translateY(0);
}
.refresh-badge-btn:disabled {
  opacity: .6;
  cursor: wait;
}
.refresh-badge-btn:disabled svg {
  animation: spin 1.2s linear infinite;
}
#today { color: var(--muted); }
article { padding: 28px 32px 25px; transition: opacity .2s; }
article[aria-busy="true"] { opacity: .55; }
.article-meta { display: flex; gap: 15px; align-items: center; color: #99958d; font-size: 9px; letter-spacing: .12em; }
#read-time { font-size: 10px; letter-spacing: 0; color: #77756f; }
#read-time::before { content: '·'; margin-right: 15px; }
h2, #fact-title { font-family: 'Merriweather', Georgia, serif; font-size: 20pt; font-weight: 700; font-style: italic; letter-spacing: -.035em; line-height: 1.35; margin: 17px 0 5px; color: #f1eee8; overflow-wrap: anywhere; }
#fact-body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 12pt; font-weight: 500; color: #b8b5ae; line-height: 1.5; overflow-wrap: anywhere; }
#fact-body p + p { margin-top: 16px; }
.card-footer { margin: 0 32px; border-top: 1px solid #ffffff0d; padding: 17px 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 10px; line-height: 1.6; }
#source { color: var(--accent); text-decoration: none; flex-shrink: 0; padding: 6px 0; }
#source span { margin-left: 7px; }
#source:hover { text-decoration: underline; }
#source-note { color: #827f78; text-align: right; font-size: 9px; }
#source-note a { color: inherit; }
.discovery-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; align-items: center; margin-top: 25px; }
.discovery-actions:has(#daily[hidden]) { display: none; }
.refresh-btn { border: 1px solid #ffffff26; background: linear-gradient(#222, #141414); color: #ece9e2; min-height: 46px; padding: 0 23px; border-radius: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; font: 12px "Nunito", Arial, sans-serif; cursor: pointer; transition: border-color .2s, transform .2s; }
.refresh-btn:hover { border-color: #d7bf8c80; transform: translateY(-2px); }
.refresh-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.refresh-btn:disabled svg { animation: spin 1.2s linear infinite; }
.daily-btn { border: 0; background: transparent; color: var(--muted); min-height: 44px; font: 11px "Nunito", Arial, sans-serif; cursor: pointer; }
.daily-btn:hover { color: var(--accent); }
[hidden] { display: none !important; }
.status { min-height: 18px; font-size: 10px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.site-footer { width: 100%; max-width: 1000px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #ffffff10; padding: 22px 0; color: #7e7c76; font-size: 10px; line-height: 1.6; }
.site-footer > span:last-child { font-size: 8px; letter-spacing: .15em; }
.site-footer > span:last-child span { color: var(--accent); font-size: 15px; padding-left: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.reactions { margin: 0 32px; padding: 21px 0 12px; border-top: 1px solid #ffffff0d; }
.reaction-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; margin-bottom: 14px; font-size: 11px; color: #b8b5ae; }
.reaction-heading > span:last-child { font-size: 9px; color: var(--muted); }
.reaction-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.reaction-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #ffffff18;
  border-radius: 14px;
  background: #ffffff03;
  color: var(--accent);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, color .2s, width .15s;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.reaction-buttons button.has-count {
  width: auto;
  min-width: 62px;
  padding: 0 13px 0 11px;
}
.reaction-buttons .ph { font-size: 22px; line-height: 1; }
.reaction-count {
  font-size: 13px;
  font-weight: 600;
  color: #d7bf8c;
  line-height: 1;
}
.reaction-buttons button:hover:not(:disabled), .reaction-buttons button[aria-pressed="true"] { background: #d7bf8c10; border-color: #d7bf8c65; color: #f1eee8; }
.reaction-buttons button[aria-pressed="true"] .reaction-count { color: #f1eee8; }
.reaction-buttons button:disabled { opacity: .5; cursor: default; }
.reaction-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 30px; padding-top: 8px; font-size: 9px; line-height: 1.6; color: var(--muted); }
#reaction-retry { min-height: 32px; border: 0; background: transparent; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
#reaction-retry:disabled { opacity: .5; cursor: wait; }
@media (max-width: 600px) {
  .reactions { margin: 0 21px; }
  .reaction-buttons { gap: 7px; }
  .reaction-buttons button { height: 48px; }
  .reaction-buttons button:not(.has-count) { width: 48px; }
  .reaction-buttons button.has-count { width: auto; min-width: 56px; padding: 0 11px 0 9px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1400px) { .discovery { padding-top: 30px; } }
@media (max-width: 600px) {
  body { padding: 0 18px; }
  .site-header { padding: 23px 2px; }
  .site-logo { height: 32px; max-width: 140px; }
  .header-note { font-size: 9px; }
  .discovery { padding-top: 14px; }
  #videoPlayer { width: 84px; height: 84px; margin-bottom: 24px; }
  h1 { font-size: clamp(32px, 8.5vw, 44px); }
  .intro { font-size: 11px; max-width: 280px; margin: 0 auto 26px; }
  .card-meta { padding: 17px 21px; }
  article { padding: 24px 21px; }
  .card-footer { margin: 0 21px; flex-wrap: wrap; gap: 2px 12px; }
  #source-note { text-align: left; }
  .site-footer { flex-direction: column; gap: 8px; padding: 22px 0 26px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
