/* ============================================================
   Fernando & Ángeles · 50 Años de Historia
   ============================================================ */

:root {
  --cream: #f8f1e1;
  --cream-deep: #efe4c8;
  --paper: #fffaf0;
  --ink: #2c2112;
  --ink-soft: #5a4a30;
  --gold: #c7a24a;
  --gold-bright: #e3c270;
  --gold-deep: #8c6d1f;
  --wine: #8f2436;
  --wine-soft: #b14a57;
  --line: rgba(140, 109, 31, 0.28);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-script: "Cormorant Garamond", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --header-h: 68px;
  --maxw: 920px;

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #241a0c 0%, #140d05 55%, #0c0803 100%);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------- */
/* Animated background                                        */
/* ---------------------------------------------------------- */

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}
.bg-glow--a {
  top: -20vmax;
  left: -15vmax;
  background: radial-gradient(circle, rgba(199, 162, 74, 0.55), transparent 70%);
}
.bg-glow--b {
  bottom: -25vmax;
  right: -15vmax;
  background: radial-gradient(circle, rgba(143, 36, 54, 0.4), transparent 70%);
  animation-duration: 32s;
  animation-delay: -8s;
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vmax, 4vmax) scale(1.12); }
}

.particles { position: absolute; inset: 0; }
.particle {
  position: absolute;
  bottom: -5vh;
  width: var(--s, 6px);
  height: var(--s, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-bright), var(--gold) 70%, transparent 100%);
  opacity: 0.7;
  animation: rise linear infinite;
  animation-duration: var(--dur, 18s);
  animation-delay: var(--delay, 0s);
  left: var(--x, 50%);
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-105vh) translateX(var(--drift, 20px)) rotate(180deg); opacity: 0; }
}

/* ---------------------------------------------------------- */
/* Photo background (fotos subidas por los invitados)          */
/* ---------------------------------------------------------- */

.photo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c0803;
}
.photo-bg__layer {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: saturate(0.85) brightness(0.5) blur(1px);
  transform: scale(1);
  transition: opacity 2.6s ease, transform 11s ease;
  will-change: opacity, transform;
}
.photo-bg__layer.is-active {
  opacity: 1;
  transform: scale(1.07);
}
.photo-bg__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 8, 3, 0.55), rgba(12, 8, 3, 0.8) 70%, rgba(12, 8, 3, 0.92));
}

body.tv-mode .photo-bg__layer { filter: saturate(0.9) brightness(0.55) blur(0px); }

/* ---------------------------------------------------------- */
/* Layout shell                                                */
/* ---------------------------------------------------------- */

main#main {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
  padding: 0 18px;
  background: linear-gradient(to bottom, rgba(18, 12, 5, 0.92), rgba(18, 12, 5, 0.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 162, 74, 0.3);
}

.topbar__names {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar__title em { font-style: italic; color: var(--wine-soft); margin: 0 2px; }
.heart { color: var(--wine-soft); font-size: 0.9em; }

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.topbar__years { opacity: 0.6; display: none; }
.topbar__clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
#clockTime { font-size: 1rem; font-weight: 500; color: var(--gold-bright); }
.topbar__date { font-size: 0.68rem; text-transform: capitalize; opacity: 0.75; }

.photo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(199, 162, 74, 0.12);
  border: 1px solid rgba(199, 162, 74, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 7px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.photo-link:hover { background: rgba(199, 162, 74, 0.25); transform: translateY(-1px); }

body.tv-mode .photo-link { display: none; }

/* ---------------------------------------------------------- */
/* Hero                                                        */
/* ---------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 48px 10px 28px;
}

.hero__kicker {
  font-family: var(--font-body);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 10px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  margin: 0;
  background: linear-gradient(120deg, var(--gold-bright), var(--cream) 35%, var(--gold) 65%, var(--gold-bright));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
  text-shadow: 0 0 40px rgba(199, 162, 74, 0.25);
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__quote {
  font-family: var(--font-script);
  font-style: italic;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: var(--cream-deep);
  opacity: 0.85;
  margin: 10px 0 30px;
}

/* Progress bar */
.progress {
  max-width: 420px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.progress__bar {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: rgba(199, 162, 74, 0.15);
  overflow: hidden;
  border: 1px solid rgba(199, 162, 74, 0.25);
}
.progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--wine-soft), var(--gold-bright));
  border-radius: 6px;
  transition: width 1.2s ease;
  box-shadow: 0 0 12px rgba(227, 194, 112, 0.6);
}
.progress__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream-deep);
  opacity: 0.65;
  text-transform: uppercase;
}

/* "Ahora" cards */
.now-wrap {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .now-wrap.has-next { grid-template-columns: 1.3fr 1fr; align-items: stretch; }
}

.now-card {
  position: relative;
  text-align: left;
  background: linear-gradient(165deg, rgba(248, 241, 225, 0.08), rgba(248, 241, 225, 0.02));
  border: 1px solid rgba(199, 162, 74, 0.4);
  border-radius: 18px;
  padding: 22px 24px;
  overflow: hidden;
  animation: fadein 0.6s ease both;
}
.now-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-bright), transparent 40%, var(--wine-soft));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.now-card.is-live {
  box-shadow: 0 0 0 0 rgba(227, 194, 112, 0.5);
  animation: fadein 0.6s ease both, pulse-glow 2.8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 194, 112, 0.0), 0 8px 30px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 26px 2px rgba(227, 194, 112, 0.28), 0 8px 30px rgba(0,0,0,0.3); }
}

.now-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e35353;
  box-shadow: 0 0 0 0 rgba(227,83,83,0.6);
  animation: dot-pulse 1.6s ease-in-out infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(227,83,83,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(227,83,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(227,83,83,0); }
}

.now-card__icon { font-size: 2rem; line-height: 1; margin-bottom: 8px; display: block; }
.now-card__time {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 4px;
}
.now-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin: 0 0 8px;
  line-height: 1.2;
}
.now-card__desc {
  font-size: 0.9rem;
  color: var(--cream-deep);
  opacity: 0.85;
  line-height: 1.5;
  margin: 0;
}
.now-card__badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--ink);
  background: var(--gold-bright);
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.next-card {
  background: rgba(248, 241, 225, 0.04);
  border: 1px dashed rgba(199, 162, 74, 0.35);
  border-radius: 18px;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadein 0.6s ease 0.1s both;
}
.next-card__eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: 8px;
}
.next-card__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--paper); margin: 0 0 4px; }
.next-card__time { font-size: 0.78rem; color: var(--cream-deep); opacity: 0.7; margin-bottom: 8px; }
.next-card__countdown {
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  color: var(--gold-bright);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------- */
/* Day nav                                                      */
/* ---------------------------------------------------------- */

.day-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px 0 28px;
  padding: 10px 8px;
  background: linear-gradient(to bottom, rgba(18,12,5,0.85), rgba(18,12,5,0));
}
.day-nav__item {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--cream-deep);
  background: rgba(248, 241, 225, 0.06);
  border: 1px solid rgba(199, 162, 74, 0.25);
  padding: 7px 13px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.day-nav__item:hover { border-color: var(--gold); color: var(--paper); }
.day-nav__item.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c1406;
  font-weight: 600;
}
.day-nav__item.is-today::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: #e35353;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------------------------------------------------------- */
/* Timeline                                                     */
/* ---------------------------------------------------------- */

.timeline { position: relative; padding-top: 4px; }

.day-group { margin-bottom: 46px; scroll-margin-top: calc(var(--header-h) + 60px); }

.day-group__header {
  position: sticky;
  top: calc(var(--header-h) + 54px);
  z-index: 20;
  padding: 10px 0;
  margin-bottom: 18px;
  background: linear-gradient(to bottom, rgba(18,12,5,0.95) 60%, rgba(18,12,5,0));
}
.day-group__weekday {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin: 0;
}
.day-group__subtitle {
  font-family: var(--font-script);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--wine-soft);
  margin: 0 0 6px;
}
.day-group__intro {
  font-size: 0.82rem;
  color: var(--cream-deep);
  opacity: 0.7;
  max-width: 55ch;
  margin: 0;
}
.day-group__rule {
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}

.day-group.is-done .day-group__weekday { opacity: 0.45; }

.events { position: relative; padding-left: 34px; }
.events::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(199,162,74,0.5), rgba(199,162,74,0.08));
}

.event {
  position: relative;
  padding: 0 0 26px 16px;
  animation: fadein 0.5s ease both;
}
.event:last-child { padding-bottom: 4px; }

.event__node {
  position: absolute;
  left: -34px;
  top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #1c1406;
  border: 2px solid var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  transition: all 0.3s ease;
}

.event.is-past .event__node { border-color: rgba(199,162,74,0.25); opacity: 0.5; }
.event.is-past .event__card { opacity: 0.45; }
.event.is-past .event__title { text-decoration: none; }

.event.is-current .event__node {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(227,194,112,0.2), 0 0 18px rgba(227,194,112,0.6);
  animation: node-pulse 2.2s ease-in-out infinite;
}
@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(227,194,112,0.2), 0 0 10px rgba(227,194,112,0.5); }
  50% { box-shadow: 0 0 0 7px rgba(227,194,112,0.12), 0 0 22px rgba(227,194,112,0.75); }
}

.event__card {
  background: rgba(248, 241, 225, 0.045);
  border: 1px solid rgba(199, 162, 74, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.event.is-current .event__card {
  border-color: rgba(227, 194, 112, 0.55);
  background: rgba(227, 194, 112, 0.08);
  transform: translateX(2px);
}

.event__time {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 3px;
}
.event__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--paper);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.event__title .icon { font-size: 1rem; }
.event__desc {
  font-size: 0.85rem;
  color: var(--cream-deep);
  opacity: 0.78;
  line-height: 1.5;
  margin: 0;
}
.event__badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.68rem;
  color: var(--wine-soft);
  background: rgba(143, 36, 54, 0.12);
  border: 1px solid rgba(143, 36, 54, 0.3);
  padding: 3px 9px;
  border-radius: 20px;
}

/* ---------------------------------------------------------- */
/* Closing footer                                               */
/* ---------------------------------------------------------- */

.closing {
  text-align: center;
  margin-top: 40px;
  padding: 50px 20px 30px;
  border-top: 1px solid rgba(199, 162, 74, 0.2);
}
.closing__ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 14px;
}
.closing__fifty {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.leaf { font-size: 1.3rem; opacity: 0.8; filter: saturate(0.6); }
.closing__caption { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.closing__names { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--paper); margin: 0 0 4px; }
.closing__years { color: var(--cream-deep); opacity: 0.7; font-size: 0.85rem; margin: 0 0 16px; }
.closing__quote { font-family: var(--font-script); font-style: italic; font-size: 1.1rem; color: var(--cream-deep); line-height: 1.5; opacity: 0.9; }
.closing__continues { margin-top: 14px; letter-spacing: 0.3em; font-size: 0.72rem; color: var(--gold); text-transform: uppercase; }

/* ============================================================
   Página de subida de fotos (/fotos)
   ============================================================ */

.upload-main { max-width: 560px; }

.hero--compact { padding: 32px 10px 20px; }
.upload-title { font-size: clamp(2rem, 8vw, 2.8rem); }

.upload-card {
  background: rgba(248, 241, 225, 0.045);
  border: 1px solid rgba(199, 162, 74, 0.22);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.day-pick { display: flex; gap: 8px; flex-wrap: wrap; }

.pin-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(199, 162, 74, 0.35);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.3rem;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
}
.pin-input:focus { outline: none; border-color: var(--gold-bright); }

.file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 28px 16px;
  border: 1.5px dashed rgba(199, 162, 74, 0.45);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover,
.file-drop:active { border-color: var(--gold-bright); background: rgba(199, 162, 74, 0.06); }
.file-drop__icon { font-size: 2rem; }
.file-drop__text { font-family: var(--font-display); font-size: 1.1rem; color: var(--paper); }
.file-drop__hint { font-size: 0.78rem; color: var(--cream-deep); opacity: 0.65; }

.upload-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.upload-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(199, 162, 74, 0.18);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.78rem;
  animation: fadein 0.4s ease both;
}
.upload-row__name { grid-column: 1 / -1; color: var(--cream-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-row__bar {
  grid-column: 1 / 2;
  height: 4px;
  background: rgba(199, 162, 74, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.upload-row__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--wine-soft), var(--gold-bright));
  transition: width 0.3s ease;
}
.upload-row__status { color: var(--gold); font-size: 0.7rem; }
.upload-row.is-done .upload-row__status { color: #7fcf8a; }
.upload-row.is-done .upload-row__fill { background: #7fcf8a; }
.upload-row.is-error .upload-row__status { color: var(--wine-soft); }
.upload-row.is-error .upload-row__fill { background: var(--wine-soft); }

.recent { margin-top: 30px; }
.recent__title { font-family: var(--font-display); font-size: 1.2rem; color: var(--paper); text-align: center; margin: 0 0 14px; }
.recent__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.recent__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(199, 162, 74, 0.25);
}

/* ============================================================
   TV / Projection mode
   ============================================================ */

body.tv-mode .day-nav { display: none; }

/* Sin barra de scroll visible: pensado para OBS Browser Source / proyector */
body.tv-mode { scrollbar-width: none; -ms-overflow-style: none; }
body.tv-mode::-webkit-scrollbar { display: none; width: 0; height: 0; }

body.tv-mode .topbar { height: 84px; padding: 0 44px; }
body.tv-mode .topbar__title { font-size: 1.6rem; }
body.tv-mode #clockTime { font-size: 1.9rem; }
body.tv-mode .topbar__date { font-size: 1rem; }
body.tv-mode .topbar__years { display: inline; opacity: 0.6; margin-right: 10px; font-size: 1rem; }

body.tv-mode main#main { max-width: 1100px; padding: 10px 40px 40px; }

body.tv-mode .hero { padding-top: 26px; }
body.tv-mode .hero__title { font-size: clamp(3rem, 6vw, 5.2rem); }
body.tv-mode .hero__quote { font-size: clamp(1.2rem, 2vw, 1.6rem); }

body.tv-mode .now-wrap { max-width: 900px; }
body.tv-mode .now-card__title { font-size: 2.1rem; }
body.tv-mode .now-card__desc { font-size: 1.1rem; }
body.tv-mode .now-card__icon { font-size: 2.8rem; }
body.tv-mode .next-card__title { font-size: 1.5rem; }
body.tv-mode .next-card__countdown { font-size: 1.5rem; }

body.tv-mode .day-group__weekday { font-size: 2rem; }
body.tv-mode .day-group__subtitle { font-size: 1.3rem; }
body.tv-mode .event__title { font-size: 1.3rem; }
body.tv-mode .event__desc { font-size: 1rem; }
body.tv-mode .event__time { font-size: 0.85rem; }

body.tv-mode .closing__fifty { font-size: 3.4rem; }
body.tv-mode .closing__names { font-size: 2rem; }
body.tv-mode .closing__quote { font-size: 1.3rem; }

/* ---------------------------------------------------------- */
/* Small screens                                                */
/* ---------------------------------------------------------- */

@media (max-width: 480px) {
  .topbar { padding: 0 12px; }
  .topbar__title { font-size: 0.92rem; }
  main#main { padding: 16px 14px 50px; }
  .events { padding-left: 26px; }
  .event { padding-left: 10px; }
  .event__node { left: -26px; width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
