:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --card: #17171f;
  --card-2: #1d1d27;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #a0a0ac;

  /* Per-tab accent (defaults = migraine) */
  --accent: #ff2d55;
  --accent-2: #ff6b9d;
  --glow-1: rgba(255, 45, 85, 0.22);
  --glow-2: rgba(185, 103, 255, 0.12);

  /* Fixed secondary palette */
  --funk: #b967ff;
  --funk-2: #01cdfe;
  --gold: #ffd166;
  --green: #30d158;

  /* Typography */
  --font-serif: "Fraunces", ui-serif, Georgia, serif;
  --font-mono: "Space Mono", "SF Mono", ui-monospace, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;

  /* Spring / motion curves */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
}

/* Per-tab mood: accent colors shift based on body class */
body.mood-migraine {
  --accent: #ff2d55;
  --accent-2: #ff6b9d;
  --glow-1: rgba(255, 45, 85, 0.22);
  --glow-2: rgba(255, 107, 157, 0.1);
}
body.mood-funk {
  --accent: #b967ff;
  --accent-2: #01cdfe;
  --glow-1: rgba(185, 103, 255, 0.28);
  --glow-2: rgba(1, 205, 254, 0.18);
}
/* When a track is playing, override glow colors with extracted album palette */
body.mood-funk.funk-bleed-active {
  --glow-1: color-mix(in srgb, var(--funk-bleed-1, #b967ff) 40%, transparent);
  --glow-2: color-mix(in srgb, var(--funk-bleed-2, #01cdfe) 30%, transparent);
}
body.mood-funk.funk-bleed-active .funk-stage {
  border-color: color-mix(in srgb, var(--funk-bleed-1, #b967ff) 35%, transparent);
  box-shadow: 0 30px 100px color-mix(in srgb, var(--funk-bleed-1, #b967ff) 25%, transparent);
  transition: border-color 1.5s var(--ease-smooth), box-shadow 1.5s var(--ease-smooth);
}
body.mood-funk.funk-bleed-active .vinyl::after {
  background: radial-gradient(circle, var(--funk-bleed-1, #b967ff), var(--funk-bleed-2, #01cdfe));
  transition: background 1.5s var(--ease-smooth);
}
body.mood-articles {
  --accent: #e8a054;
  --accent-2: #ffd89e;
  --glow-1: rgba(232, 160, 84, 0.18);
  --glow-2: rgba(255, 216, 158, 0.1);
}
body.mood-ego {
  --accent: #d4af37;
  --accent-2: #ffe29a;
  --glow-1: rgba(212, 175, 55, 0.2);
  --glow-2: rgba(255, 226, 154, 0.12);
}
/* Ego tab: dark button with gold text (matches parchment quote card above) */
body.mood-ego .btn-primary {
  background: linear-gradient(180deg, #2a1f10 0%, #14100a 100%);
  color: #ffe29a;
  text-shadow: none;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow:
    0 14px 36px rgba(212, 175, 55, 0.18),
    inset 0 1px 0 rgba(212, 175, 55, 0.32),
    inset 0 0 30px rgba(212, 175, 55, 0.06);
}
body.mood-ego .btn-primary:hover {
  box-shadow:
    0 18px 44px rgba(212, 175, 55, 0.28),
    inset 0 1px 0 rgba(212, 175, 55, 0.45),
    inset 0 0 40px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.65);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--glow-1), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, var(--glow-2), transparent 60%),
    var(--bg);
  transition: background 1.2s var(--ease-smooth);
}

/* Subtle film grain overlay — adds depth on OLED displays */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

#app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: calc(90px + var(--safe-bot));
  overflow-x: hidden;
  transition: max-width .3s var(--ease-smooth);
}
.view { min-width: 0; }
.hero h1 { max-width: 100%; word-wrap: break-word; }

/* Top bar */
.topbar {
  padding: calc(var(--safe-top) + 16px) 22px 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(10,10,15,0.95) 60%, rgba(10,10,15,0));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 16px; }
.logo {
  font-size: 44px;
  filter: drop-shadow(0 6px 18px var(--glow-1));
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  line-height: 1;
  font-family: inherit;
  transition: transform .4s var(--spring), filter .5s var(--ease-smooth);
}
.logo:active { transform: scale(0.85) rotate(-10deg); }
.logo.intro {
  animation: logoIntro 1.4s var(--ease-out-expo) both;
}
@keyframes logoIntro {
  0% { transform: scale(0.3) rotate(-180deg); opacity: 0; filter: blur(8px); }
  60% { transform: scale(1.15) rotate(10deg); opacity: 1; filter: blur(0); }
  80% { transform: scale(0.95) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.logo.spinning { animation: logo-spin 0.6s ease-in-out; }
@keyframes logo-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}
.brand-text { cursor: default; }
.brand-title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: 0.01em;
}

/* Views */
main { padding: 0 16px; }
.view { display: none; animation: viewIn .5s var(--ease-out-expo); }
.view.active { display: block; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero { padding: 4px 4px 12px; }
.hero h1 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: 38px;
  line-height: 0.98;
  margin: 0 0 10px;
  letter-spacing: -0.035em;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #d4d4dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Hide hero text until JS splits it into chars — prevents FOUC */
.hero h1 { visibility: hidden; }
.hero h1[data-split] { visibility: visible; }

.hero h1 .ch {
  display: inline-block;
}
.hero h1 .ch.space { display: inline; }
/* Typewriter: chars hidden, appear one by one with cursor */
.hero h1.typewriting .ch {
  visibility: hidden;
}
.hero h1.typewriting .ch.typed {
  visibility: visible;
}
/* Blinking cursor that moves with typed text */
.type-cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: baseline;
  animation: cursorBlink 0.6s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  max-width: 380px;
  line-height: 1.45;
}

/* Cards — frosted glass, unified styling */
.card {
  background: rgba(23, 23, 31, 0.7);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.card-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 30;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Panic button */
.panic-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 8px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
}
.panic {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: none;
  background:
    radial-gradient(circle at var(--light-x, 32%) var(--light-y, 28%), #ff9bb0 0%, #ff5177 18%, #ff2d55 50%, #b11030 100%);
  box-shadow:
    0 30px 80px rgba(255, 45, 85, 0.5),
    0 0 0 1px rgba(255,255,255,0.1),
    inset 0 -14px 40px rgba(80,0,20,0.55),
    inset 0 8px 30px rgba(255,255,255,0.35),
    inset 0 0 60px rgba(255, 107, 138, 0.3);
  color: white;
  cursor: pointer;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .3s var(--spring), box-shadow .6s var(--ease-smooth);
  font-family: inherit;
  animation: heartbeat var(--heartbeat-duration, 3.5s) var(--ease-smooth) infinite;
  will-change: transform, background;
}
/* Specular highlight that moves with tilt */
.panic::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at var(--spec-x, 35%) var(--spec-y, 25%),
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.15) 12%,
    transparent 28%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  transform: translateZ(1px);
}
.panic::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,107,157,0.4), transparent 30%);
  opacity: 0.6;
  animation: spin-slow 8s linear infinite;
  z-index: -1;
}
.panic:active { transform: scale(0.93); }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  8% { transform: scale(1.025); }
  16% { transform: scale(1); }
  24% { transform: scale(1.015); }
  32% { transform: scale(1); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
.panic-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
}
.panic-title { font-size: 34px; font-weight: 900; letter-spacing: 0.12em; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.panic-sub { font-size: 12px; opacity: 0.85; margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; }
.panic-ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 45, 85, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
.panic-ring.delay { animation-delay: 1.1s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.last-log { text-align: center; color: var(--muted); font-size: 15px; margin: 8px 0 12px; min-height: 20px; }

.manual-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px;
  background: rgba(23, 23, 31, 0.7);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}
.manual-log label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.manual-log-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.manual-log input[type="datetime-local"] {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-mono);
  color-scheme: dark;
}
.btn-ghost.small {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.stat-card {
  background: rgba(23, 23, 31, 0.7);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 10px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--spring), border-color .3s var(--ease-smooth);
}
.stat-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.14); }
.sparkline {
  width: 100% !important;
  height: 22px !important;
  margin-top: 8px;
  opacity: 0.7;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  font-weight: 600;
}

/* Log list */
.log-list { list-style: none; padding: 0; margin: 0; max-height: 260px; overflow-y: auto; }
.log-list li.empty {
  display: flex; justify-content: center; align-items: center;
  padding: 14px 4px; color: var(--muted); font-size: 14px;
}
.log-list .when { color: var(--muted); font-size: 12px; }
.link-btn { background: none; border: none; color: var(--accent); font-size: 13px; cursor: pointer; font-weight: 600; }

/* Swipe-to-delete row */
.swipe-row {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: transparent;
  touch-action: pan-y;
}
.swipe-row:last-child { border-bottom: none; }
.swipe-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  font-size: 14px;
  background: var(--card);
  z-index: 2;
  transform: translateX(0);
  will-change: transform;
  -webkit-user-select: none;
  user-select: none;
}
.swipe-delete {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #b11030);
  color: white;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  z-index: 1;
  letter-spacing: 0.02em;
}
.swipe-delete:active { filter: brightness(0.9); }

/* Funk — clean, festive, Apple-quality */
.funk-stage {
  background:
    radial-gradient(circle at 50% 30%, rgba(185,103,255,0.12), transparent 60%),
    rgba(23, 23, 31, 0.7);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 1.5s var(--ease-smooth), box-shadow 1.5s var(--ease-smooth);
}

/* Equalizer removed — caused persistent layout overlap issues */

.vinyl {
  width: 160px; height: 160px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, #111 0 3px, #1a1a1a 3px 6px),
    #000;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 0 0 5px #111;
  animation: spin 6s linear infinite;
  animation-play-state: paused;
}
.vinyl.playing {
  animation-play-state: running;
  box-shadow: 0 16px 50px rgba(185,103,255,0.25), inset 0 0 0 5px #111;
}
.vinyl::after {
  content: ""; position: absolute; inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--funk), var(--funk-2));
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
.vinyl-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: white; z-index: 2;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Dancer — small, beside the track info, not standalone */
.funk-dancer {
  display: none; /* hidden by default */
}
.funk-dancer.dancing {
  display: inline-block;
  font-size: 20px;
  vertical-align: middle;
  margin-left: 6px;
  animation: funkDance 0.5s ease-in-out infinite alternate;
}
@keyframes funkDance {
  0% { transform: translateY(0) rotate(-3deg); }
  100% { transform: translateY(-3px) rotate(3deg); }
}

.track-title {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.track-artist {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.funk-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.funk-playlist-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 0 4px;
  transition: color .2s ease;
}
.funk-playlist-link:hover { color: var(--text); }

/* Funk button — vibrant gradient */
body.mood-funk .funk-btn {
  background: linear-gradient(135deg, var(--funk), var(--funk-2));
  font-weight: 700;
}

/* Confetti burst */
.funk-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confettiFall 1.8s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
  opacity: 0;
}
@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translateY(300px) rotate(720deg) scale(0.3); }
}

.spotify-embed {
  margin: 0 0 14px;
  min-height: 0;
  transition: min-height .3s ease;
}
.spotify-embed iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
  display: block;
}
.spotify-embed.active { min-height: 80px; }

/* Toast action button */
.toast { display: flex; align-items: center; gap: 12px; }
.toast-action {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Buttons — Apple-style: tall touch targets, subtle gradient, opacity press */
.btn-primary {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 100%, white 10%),
    var(--accent));
  color: white;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  min-height: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: opacity .15s ease, transform .25s var(--spring);
  font-family: inherit;
  -webkit-user-select: none;
  user-select: none;
}
.btn-primary:active { opacity: 0.65; }
.btn-primary.small { padding: 10px 16px; min-height: 40px; font-size: 14px; }
.btn-primary.wide { width: 100%; padding: 16px; margin: 16px 0; }

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 20px;
  min-height: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: opacity .15s ease;
  -webkit-user-select: none;
  user-select: none;
}
.btn-ghost:active { opacity: 0.55; }
.btn-ghost[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }

/* Articles */
.instapaper-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(145deg, #2d1f0f 0%, #1a1208 100%);
  border: 1px solid rgba(232, 160, 84, 0.35);
  border-radius: 16px;
  padding: 16px;
  margin: 4px 0 16px;
  overflow: hidden;
  font-family: inherit;
  cursor: pointer;
  transition: transform .4s var(--spring), border-color .3s var(--ease-smooth), box-shadow .4s var(--ease-smooth);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(232, 160, 84, 0.18);
}
.instapaper-card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(232, 160, 84, 0.6);
  box-shadow: 0 24px 60px rgba(232, 160, 84, 0.2), inset 0 1px 0 rgba(232, 160, 84, 0.3);
}
.instapaper-card:active {
  transform: translateY(-1px) scale(0.995);
}
.instapaper-card.syncing {
  border-color: rgba(232, 160, 84, 0.8);
}
.instapaper-glow {
  position: absolute;
  top: -60%; left: -20%;
  width: 140%; height: 220%;
  background: radial-gradient(ellipse at center, rgba(232, 160, 84, 0.18) 0%, transparent 55%);
  pointer-events: none;
  animation: instapaperPulse 6s ease-in-out infinite;
}
@keyframes instapaperPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.instapaper-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.instapaper-icon {
  font-size: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(232, 160, 84, 0.4));
}
.instapaper-meta { flex: 1; min-width: 0; }
.instapaper-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(232, 160, 84, 0.85);
  font-weight: 700;
}
.instapaper-title {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 0%, #e8a054 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.instapaper-desc {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}
.instapaper-status {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 160, 84, 0.75);
  font-weight: 600;
}
.instapaper-card.syncing .instapaper-status {
  color: rgba(232, 160, 84, 1);
}
.instapaper-arrow {
  font-size: 28px;
  color: rgba(232, 160, 84, 0.8);
  flex-shrink: 0;
  align-self: center;
  transition: transform .4s var(--spring), color .3s var(--ease-smooth);
  line-height: 1;
  display: inline-block;
}
.instapaper-card:hover .instapaper-arrow {
  transform: rotate(60deg);
  color: rgba(232, 160, 84, 1);
}
.instapaper-card.syncing .instapaper-arrow {
  animation: instapaperSpin 1s linear infinite;
  color: rgba(232, 160, 84, 1);
}
@keyframes instapaperSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.notif-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(23, 23, 31, 0.7);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.notif-card.enabled { border-color: rgba(48,209,88,0.35); }
.notif-text { flex: 1; min-width: 0; }
.notif-text strong { font-size: 16px; font-weight: 700; }
.notif-text .muted { font-size: 14px; margin-top: 4px; line-height: 1.4; }

/* iOS-style toggle switch */
.toggle-switch {
  flex-shrink: 0;
  width: 52px;
  height: 32px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background .35s var(--ease-smooth);
  font-family: inherit;
}
.toggle-switch:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35), 0 0 0 0.5px rgba(0,0,0,0.1);
  transition: transform .4s var(--spring), background .35s var(--ease-smooth);
}
.toggle-switch[aria-checked="true"] {
  background: var(--green);
}
.toggle-switch[aria-checked="true"] .toggle-knob {
  transform: translateX(20px);
}
.muted { color: var(--muted); font-size: 12px; }

.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.article-list a { color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; }
.article-list .desc { color: var(--muted); font-size: 15px; margin-top: 4px; line-height: 1.4; }
.article-list .meta {
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(232, 160, 84, 0.15);
  color: rgba(232, 160, 84, 0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: none;
}
.article-list .new-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.admin-panel {
  margin-top: 16px;
  background: var(--card-2);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 16px;
}
.admin-panel h3 { margin: 0 0 10px; font-size: 14px; }
.admin-panel input, .admin-panel textarea {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 8px;
  font-family: inherit;
}
.admin-panel textarea { min-height: 70px; resize: vertical; }
.admin-panel .row { display: flex; gap: 8px; }
.admin-panel .row .btn-primary, .admin-panel .row .btn-ghost { flex: 1; padding: 10px; font-size: 13px; }

/* Ego */
.blurb-card {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 240, 200, 0.08), transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(212, 175, 55, 0.1), transparent 50%),
    linear-gradient(160deg, #1f1a12 0%, #17130a 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 32px 24px 24px;
  position: relative;
  min-height: 200px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(212, 175, 55, 0.25),
    inset 0 0 60px rgba(212, 175, 55, 0.04);
}
/* Gold corner flourishes — suggest a book cover */
.blurb-card::before,
.blurb-card::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  pointer-events: none;
}
.blurb-card::before {
  top: 10px; left: 10px;
  border-right: none; border-bottom: none;
  border-top-left-radius: 8px;
}
.blurb-card::after {
  bottom: 10px; right: 10px;
  border-left: none; border-top: none;
  border-bottom-right-radius: 8px;
}
/* Parchment grain */
.blurb-card > * { position: relative; z-index: 2; }
.quote-mark {
  position: absolute;
  top: 4px; left: 18px;
  font-size: 120px;
  color: rgba(212, 175, 55, 0.35);
  font-family: var(--font-serif);
  line-height: 1;
  font-weight: 900;
  z-index: 1;
  font-variation-settings: "opsz" 144;
}
blockquote#blurbText {
  margin: 0;
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 30;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.blurb-source {
  color: rgba(212, 175, 55, 0.75);
  font-size: 13px;
  margin-top: 18px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.trophy {
  display: flex; align-items: center; gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 10px;
}
.trophy-icon { font-size: 32px; }
.trophy-title { font-weight: 700; font-size: 14px; }

/* Bookshelf with real covers */
.bookshelf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}
.bookshelf::before {
  content: "De auteur";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: rgba(212, 175, 55, 0.75);
  letter-spacing: 0.03em;
}
.book {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(165deg, #1f1a12 0%, #12100a 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
  transition: transform .4s var(--spring), border-color .3s var(--ease-smooth), box-shadow .4s var(--ease-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.book:hover,
.book:active {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}
.book img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.05);
  background: #2a2a36;
}
.book-fallback {
  display: none;
  aspect-ratio: 2/3;
  border-radius: 6px;
  background: linear-gradient(135deg, #2a1f10 0%, #1a1409 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 18px 14px;
  flex-direction: column;
  justify-content: space-between;
  color: #d4af37;
}
.book.fallback .book-fallback { display: flex; }
.book-fallback-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.book-fallback-author {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}
.book-meta {
  margin-top: 10px;
}
.book-year {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(212, 175, 55, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.book-title {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 30;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}
.book-badge {
  font-size: 10px;
  color: rgba(212, 175, 55, 0.9);
  font-weight: 600;
}

/* Sync status dot — top-center of tab bar */
.sync-dot {
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  transition: background .5s var(--ease-smooth), opacity .5s var(--ease-smooth), box-shadow .5s var(--ease-smooth);
  z-index: 1;
}
.sync-dot.connected {
  background: var(--green);
  opacity: 1;
  box-shadow: 0 0 6px var(--green);
}
.sync-dot.error {
  background: var(--accent);
  opacity: 1;
}

/* Tab bar */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 8px 10px calc(10px + var(--safe-bot));
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  z-index: 20;
}
.tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  cursor: pointer;
  font-family: inherit;
  transition: color .3s var(--ease-smooth), transform .4s var(--spring);
}
.tab-icon {
  font-size: 22px;
  filter: grayscale(0.4) opacity(0.65);
  transition: filter .3s var(--ease-smooth), transform .5s var(--spring);
}
.tab-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tab.active { color: var(--text); }
.tab.active .tab-icon {
  filter: grayscale(0) opacity(1) drop-shadow(0 4px 10px var(--glow-1));
  transform: translateY(-3px) scale(1.1);
}

/* Sidebar brand: hidden on mobile/tablet, shown on desktop */
.sidebar-brand { display: none; }

/* ============================================================
   CINEMATIC SPLASH SCREEN (6.5s, first load per session)
   ------------------------------------------------------------
   Timeline:
     0.0-0.4s  fade in from black
     0.3-2.0s  stars materialize from center outward
     0.8-2.8s  bust rises from blur, grows into frame
     2.6-3.2s  hammer winds up and swings in a big arc
     3.2s      IMPACT: flash, shockwave, screen shake, thunk sound
     3.3-4.3s  title stamps in letter by letter (bounce)
     4.3-5.5s  tagline fades in italic serif
     4.8-5.8s  rotating sub-tagline appears below
     5.5-6.5s  full hold + gentle fade out
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #0a0a14 0%, #000 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: splashFade 8s var(--ease-out-expo) forwards;
  overflow: hidden;
}
/* Vignette edges */
.splash-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
/* Star field — slow ambient twinkle */
.splash-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 75% 20%, white, transparent),
    radial-gradient(1px 1px at 40% 70%, white, transparent),
    radial-gradient(2px 2px at 60% 40%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 15% 85%, white, transparent),
    radial-gradient(1px 1px at 90% 65%, white, transparent),
    radial-gradient(1.5px 1.5px at 50% 90%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 85% 45%, white, transparent),
    radial-gradient(1px 1px at 25% 55%, white, transparent),
    radial-gradient(2px 2px at 35% 15%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 55% 10%, white, transparent),
    radial-gradient(1px 1px at 70% 80%, white, transparent);
  background-size: 100% 100%;
  opacity: 0;
  animation: starsIn 1.7s var(--ease-out-expo) 0.3s forwards, starsOut 1.5s var(--ease-smooth) 6.5s forwards;
}
@keyframes starsIn { to { opacity: 0.85; } }
@keyframes starsOut { to { opacity: 0; } }

/* Shake wrapper — all content inside gets rattled at impact */
.splash-shake {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashShake 0.45s steps(2, end) 3.2s;
}
@keyframes splashShake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-8px, -4px); }
  20% { transform: translate(10px, 6px); }
  30% { transform: translate(-7px, 3px); }
  40% { transform: translate(8px, -5px); }
  50% { transform: translate(-5px, 4px); }
  60% { transform: translate(4px, -3px); }
  70% { transform: translate(-3px, 2px); }
  80% { transform: translate(2px, -1px); }
  90% { transform: translate(-1px, 1px); }
}

.splash-core {
  position: relative;
  width: min(260px, 75vw);
  height: min(200px, 55vw);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.splash-bust {
  font-size: min(140px, 38vw);
  animation:
    splashBust 2.2s var(--ease-out-expo) 0.8s both,
    splashBustNudge 0.5s var(--spring) 3.2s;
  filter: drop-shadow(0 30px 60px rgba(255, 45, 85, 0.4));
  position: relative;
  z-index: 2;
}
@keyframes splashBust {
  0% { transform: scale(0) rotate(-90deg); opacity: 0; filter: blur(40px); }
  55% { transform: scale(1.15) rotate(5deg); opacity: 1; filter: blur(0); }
  100% { transform: scale(1) rotate(0); }
}
/* Subtle nudge on impact — "ouch" wink */
@keyframes splashBustNudge {
  0% { transform: scale(1) rotate(0); }
  25% { transform: scale(0.95) rotate(-6deg); }
  55% { transform: scale(1.02) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

.splash-hammer {
  font-size: min(80px, 22vw);
  position: absolute;
  left: 55%;
  top: -30%;
  animation: splashHammerSwing 1.0s cubic-bezier(0.6, 0, 0.35, 1) 2.2s both;
  z-index: 3;
  transform-origin: 20% 80%;
}
/* Big dramatic windup + swing */
@keyframes splashHammerSwing {
  0% {
    transform: scale(0) translate(60px, -80px) rotate(-140deg);
    opacity: 0;
  }
  30% {
    transform: scale(1.3) translate(20px, -50px) rotate(-110deg);
    opacity: 1;
  }
  55% {
    /* Wind-up pause */
    transform: scale(1.3) translate(20px, -55px) rotate(-125deg);
  }
  85% {
    /* Strike */
    transform: scale(1.15) translate(-10px, 20px) rotate(35deg);
  }
  100% {
    transform: scale(1) translate(-15px, 15px) rotate(20deg);
  }
}

/* Impact flash */
.splash-flash {
  position: absolute;
  inset: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,220,180,0.6) 25%, transparent 60%);
  opacity: 0;
  animation: splashFlash 0.55s cubic-bezier(0.25, 0.8, 0.25, 1) 3.15s forwards;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
}
@keyframes splashFlash {
  0% { opacity: 0; transform: scale(0.3); }
  20% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(2.2); }
}

/* Expanding shockwave rings */
.splash-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 220, 180, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  animation: shockwave 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 3.2s forwards;
  z-index: 1;
}
.splash-shockwave.delay {
  animation-delay: 3.35s;
  border-color: rgba(255, 107, 138, 0.6);
}
@keyframes shockwave {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(14); opacity: 0; }
}

/* Particle burst */
.splash-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.splash-particles span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd89e 0%, #ff6b9d 50%, transparent 100%);
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: particleBurst 1.1s cubic-bezier(0.15, 0.8, 0.3, 1) 3.2s forwards;
}
.splash-particles span:nth-child(1)  { --px: -140px; --py: -80px; }
.splash-particles span:nth-child(2)  { --px:  120px; --py: -100px; }
.splash-particles span:nth-child(3)  { --px: -100px; --py:  110px; }
.splash-particles span:nth-child(4)  { --px:  150px; --py:   70px; }
.splash-particles span:nth-child(5)  { --px:  -60px; --py: -130px; }
.splash-particles span:nth-child(6)  { --px:   80px; --py:  130px; animation-delay: 3.25s; }
.splash-particles span:nth-child(7)  { --px: -160px; --py:   20px; animation-delay: 3.22s; }
.splash-particles span:nth-child(8)  { --px:  170px; --py:  -20px; animation-delay: 3.28s; }
.splash-particles span:nth-child(9)  { --px:  -30px; --py: -150px; animation-delay: 3.23s; }
.splash-particles span:nth-child(10) { --px:   40px; --py:  150px; animation-delay: 3.27s; }
.splash-particles span:nth-child(11) { --px:  110px; --py:  -60px; animation-delay: 3.24s; }
.splash-particles span:nth-child(12) { --px: -110px; --py:   60px; animation-delay: 3.26s; }
@keyframes particleBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  15% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py))) scale(0.3);
  }
}

.splash-title-wrap {
  margin-top: 48px;
  overflow: hidden;
}
.splash-title {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-weight: 900;
  font-size: clamp(28px, 9vw, 44px);
  letter-spacing: -0.025em;
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, #b8b8c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 100vw;
  padding: 0 16px;
  box-sizing: border-box;
}
.splash-title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(80%) scale(1.6);
  animation: splashChar 0.55s var(--spring) forwards;
}
.splash-title .ch.space { width: 14px; }
/* Stagger — 13 characters, starts at 3.35s (right after impact) */
.splash-title .ch:nth-child(1)  { animation-delay: 3.35s; }
.splash-title .ch:nth-child(2)  { animation-delay: 3.42s; }
.splash-title .ch:nth-child(3)  { animation-delay: 3.49s; }
.splash-title .ch:nth-child(4)  { animation-delay: 3.56s; }
.splash-title .ch:nth-child(5)  { animation-delay: 3.63s; }
.splash-title .ch:nth-child(6)  { animation-delay: 3.70s; }
.splash-title .ch:nth-child(7)  { animation-delay: 3.77s; }
.splash-title .ch:nth-child(8)  { animation-delay: 3.84s; }
.splash-title .ch:nth-child(9)  { animation-delay: 3.91s; }
.splash-title .ch:nth-child(10) { animation-delay: 3.98s; }
.splash-title .ch:nth-child(11) { animation-delay: 4.05s; }
.splash-title .ch:nth-child(12) { animation-delay: 4.15s; }
.splash-title .ch:nth-child(13) { animation-delay: 4.22s; }
@keyframes splashChar {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.splash-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "opsz" 30;
  font-size: clamp(15px, 4.5vw, 19px);
  color: #e8e8f0;
  margin-top: 22px;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: splashText 1.2s var(--ease-out-expo) 4.4s forwards;
  text-align: center;
  padding: 0 24px;
  max-width: 90vw;
  box-sizing: border-box;
}
.splash-subtagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: splashText 1s var(--ease-out-expo) 4.9s forwards;
  max-width: min(320px, 85vw);
  text-align: center;
  line-height: 1.5;
  padding: 0 16px;
  box-sizing: border-box;
}
.splash-skip {
  position: absolute;
  top: calc(var(--safe-top) + 20px);
  right: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  z-index: 10;
  animation: splashText 0.4s var(--ease-out-expo) 0.3s both;
}
.splash-skip:hover { background: rgba(255,255,255,0.14); }

@keyframes splashFade {
  0%, 90% { opacity: 1; pointer-events: auto; }
  100% { opacity: 0; pointer-events: none; visibility: hidden; }
}
@keyframes splashText {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   ONBOARDING (first visit ever)
   ============================================================ */
.onboarding {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #1a1a24 0%, #08080c 100%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 60px) 32px calc(var(--safe-bot) + 40px);
  animation: fadeIn .5s var(--ease-out-expo);
}
.onboard-slides { flex: 1; position: relative; }
.onboard-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .5s var(--ease-out-expo), transform .5s var(--ease-out-expo);
  pointer-events: none;
}
.onboard-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.onboard-visual {
  font-size: 90px;
  margin-bottom: 30px;
  filter: drop-shadow(0 20px 40px rgba(255,45,85,0.3));
}
.panic-demo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ff9bb0, #ff2d55 50%, #b11030);
  box-shadow: 0 20px 50px rgba(255,45,85,0.5);
  display: flex; align-items: center; justify-content: center;
  animation: heartbeat 2s ease-in-out infinite;
  font-size: 0;
}
.panic-demo-inner {
  color: white;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.onboard-slide h2 {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1;
}
.onboard-slide p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0;
}
.onboard-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}
.onboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all .4s var(--spring);
}
.onboard-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}
.onboard-actions {
  display: flex;
  gap: 10px;
}
.onboard-actions .btn-ghost { flex: 0 0 auto; }
.onboard-actions .btn-primary { flex: 1; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   FAUX DYNAMIC ISLAND STATUS PILL
   ============================================================ */
.island-pill {
  position: fixed;
  top: calc(var(--safe-top) + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-50px);
  background: #000;
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity .5s var(--ease-out-expo), transform .6s var(--spring);
  white-space: nowrap;
}
.island-pill.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.island-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: islandPulse 2s ease-in-out infinite;
}
@keyframes islandPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Toast */
.toast {
  position: fixed;
  bottom: calc(100px + var(--safe-bot));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(30,30,40,0.95);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Apple Fitness-style Activity Ring */
.ring-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 16px;
  background: rgba(23, 23, 31, 0.7);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.ring-card::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255, 209, 102, 0.08), transparent 50%);
  pointer-events: none;
}
.ring-wrap {
  position: relative;
  width: 168px;
  height: 168px;
}
.activity-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.25));
}
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 18;
}
.ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 515.2;
  stroke-dashoffset: 515.2;
  transition: stroke-dashoffset 1.8s var(--ease-out-expo);
}
.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ring-num {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, #d4d4dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ring-sub {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-weight: 600;
}
.ring-caption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "opsz" 30;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

/* Calendar heatmap */
.heatmap {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 1fr);
  gap: 3px;
  padding: 8px 2px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.heatmap::-webkit-scrollbar { display: none; }
.hm-cell {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  transition: transform .3s var(--spring), background .3s var(--ease-smooth);
}
.hm-cell:hover { transform: scale(1.6); z-index: 2; position: relative; }
.hm-cell.future { opacity: 0.25; }
.hm-cell.today { box-shadow: 0 0 0 1.5px var(--accent); }
.hm-0 { background: rgba(255,255,255,0.05); }
.hm-1 { background: color-mix(in srgb, var(--accent) 25%, transparent); }
.hm-2 { background: color-mix(in srgb, var(--accent) 50%, transparent); }
.hm-3 { background: color-mix(in srgb, var(--accent) 75%, transparent); }
.hm-4 { background: var(--accent); box-shadow: 0 0 12px var(--glow-1); }

.heatmap-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.heatmap-legend .hm-box {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 2px;
}
.heatmap-year { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }

/* 24-hour radial clock removed */

/* Insights */
.insights-card .card-head h3 { font-size: 15px; }
.icon-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
.icon-btn:active { transform: scale(0.9); }
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.insight {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.insight-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.insight-num.good { color: var(--green); }
.insight-num.bad { color: var(--accent); }
.insight-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.insight-blurb {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(48, 209, 88, 0.08);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
  display: none;
}
.insight-blurb.show { display: block; }
.insight-blurb.bad {
  background: rgba(255, 45, 85, 0.08);
  border-color: rgba(255, 45, 85, 0.25);
}

/* Admin tabs */
.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.admin-tab {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.admin-tab.active { color: var(--text); background: var(--card); border-color: rgba(255,255,255,0.15); }

/* ============================================================
   MIGRAINE MODUS — alles dimmen, alleen de rode knop blijft
   ============================================================ */
/* ============================================================
   GOODNIGHT MODE — auto-dims after 22:00, warmer tones
   Uses an overlay instead of body filter to avoid breaking
   position:fixed on tabbar, topbar, splash, onboarding.
   ============================================================ */
body.goodnight-mode::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 0, 0.18);
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: multiply;
}

/* ============================================================
   REDUCED MOTION — respect user preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .splash { animation: none !important; opacity: 0; visibility: hidden; pointer-events: none; }
  .panic { animation: none !important; }
  .vinyl { animation: none !important; }
  .hero h1 .ch { opacity: 1 !important; transform: none !important; }
}

body.migraine-mode {
  background: #000 !important;
}
body.migraine-mode #app {
  padding-bottom: 0;
}
body.migraine-mode .topbar,
body.migraine-mode .tabbar,
body.migraine-mode .hero,
body.migraine-mode .stats-grid,
body.migraine-mode .insights-card,
body.migraine-mode .chart-card,
body.migraine-mode .log-list,
body.migraine-mode .card:not(.panic-only),
body.migraine-mode .last-log {
  display: none !important;
}
body.migraine-mode .view { display: none; }
body.migraine-mode #view-migraine { display: block; }
body.migraine-mode .panic-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
body.migraine-mode .panic {
  width: 280px;
  height: 280px;
  box-shadow: 0 0 80px rgba(255, 45, 85, 0.35);
  filter: brightness(0.75);
}
body.migraine-mode .panic-ring { opacity: 0.3; }
#exitMigraineMode {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 16px;
  display: none;
  z-index: 100;
  cursor: pointer;
}
body.migraine-mode #exitMigraineMode { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   RESPONSIVE — Tablet (768px+) and Desktop (1024px+)
   ============================================================ */

/* ---- TABLET (768px - 1023px) ---- */
/* ---- TABLET (768px–1023px) — Wider content, centered tab bar ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  #app {
    max-width: 720px;
    padding-left: 24px;
    padding-right: 24px;
  }

  main { padding: 0 24px; }

  .hero { padding: 16px 0 28px; }
  .hero h1 { font-size: 48px; }
  .subtitle { font-size: 18px; max-width: 500px; }

  .topbar { padding-left: 28px; padding-right: 28px; }
  .brand-title { font-size: 30px; }
  .brand-sub { font-size: 13px; }
  .logo { font-size: 50px; }

  .stats-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .stat-num { font-size: 32px; }

  .card { padding: 20px; border-radius: 20px; }
  .card-head h3 { font-size: 21px; }

  .panic { width: 220px; height: 220px; }
  .panic-title { font-size: 38px; }

  .funk-stage { padding: 32px 24px; }
  .vinyl { width: 180px; height: 180px; }
  .track-title { font-size: 28px; }

  .blurb-card { padding: 36px 28px 28px; }
  blockquote#blurbText { font-size: 24px; }

  .bookshelf { gap: 16px; margin-top: 32px; }
  .book { padding: 16px; border-radius: 20px; }

  .tabbar {
    max-width: 720px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px 20px 0 0;
    padding-left: 24px;
    padding-right: 24px;
  }
  .tab-label { font-size: 11px; }
  .tab-icon { font-size: 24px; }

  .article-list li { padding: 16px 20px; border-radius: 16px; }
  .instapaper-card { padding: 20px; }
  .instapaper-title { font-size: 26px; }
  .notif-card { padding: 20px; }
}


/* ============================================================
   DESKTOP (1024px+) — SIDEBAR NAV, DASHBOARD LAYOUT
   Clean desktop-first design with persistent sidebar
   ============================================================ */
@media (min-width: 1024px) {

  /* ---- Sidebar ---- */
  .tabbar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 260px;
    height: 100vh;
    max-width: none;
    transform: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2px;
    padding: 0 16px 24px;
    border-top: none;
    border-right: 1px solid var(--border);
    border-radius: 0;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow-y: auto;
  }

  /* Sidebar brand — visible on desktop */
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 12px 24px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-logo {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px var(--glow-1));
  }
  .sidebar-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .sidebar-title {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
  }
  .sidebar-sub {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.01em;
  }

  /* Sidebar nav items */
  .tab {
    flex: none;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    transition: background .2s var(--ease-smooth), color .2s ease;
    position: relative;
  }
  .tab:hover {
    background: rgba(255, 255, 255, 0.04);
  }
  .tab.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
  }
  .tab.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent);
  }
  .tab.active .tab-icon {
    transform: none;
    filter: grayscale(0) opacity(1);
  }
  .tab-icon { font-size: 22px; }
  .tab-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }

  /* Sync dot in sidebar */
  .sync-dot {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 8px; height: 8px;
    margin: auto 0 0 16px;
    padding-top: 24px;
  }

  /* ---- Main content area ---- */
  #app {
    max-width: none;
    margin: 0;
    margin-left: 260px;
    padding-bottom: 48px;
  }

  /* Hide topbar on desktop — brand is in sidebar */
  .topbar {
    display: none;
  }

  main {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ---- Hero ---- */
  .hero {
    padding: 40px 0 32px;
  }
  .hero h1 {
    font-size: 56px;
    line-height: 0.95;
    letter-spacing: -0.035em;
  }
  .subtitle {
    font-size: 19px;
    max-width: 580px;
    line-height: 1.5;
    color: var(--muted);
  }

  /* ---- Panic button ---- */
  .panic-wrap { padding: 20px 0 24px; }
  .panic { width: 220px; height: 220px; }
  .panic-title { font-size: 36px; }
  .panic-sub { font-size: 13px; }

  /* ---- Stats ---- */
  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
  .stat-card { padding: 22px 16px 16px; }
  .stat-num { font-size: 36px; }
  .stat-label { font-size: 13px; }

  /* ---- Cards ---- */
  .card {
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: transform .3s var(--spring), border-color .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
  }
  .card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  }
  .card-head h3 { font-size: 22px; }

  /* Heatmap */
  .hm-cell { width: 14px; height: 14px; border-radius: 3px; }

  /* Manual log — horizontal */
  .manual-log { flex-direction: row; align-items: center; gap: 16px; }
  .manual-log label { flex-shrink: 0; }
  .manual-log-row { flex: 1; }

  /* ---- Funk — side-by-side layout ---- */
  .funk-stage {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 36px;
    text-align: left;
    padding: 36px;
  }
  .funk-stage .vinyl { grid-row: 1 / 3; margin: 0; width: 200px; height: 200px; }
  .track-info { text-align: left; }
  .track-title { font-size: 30px; margin-top: 4px; }
  .track-artist { font-size: 16px; margin-bottom: 16px; }
  .funk-actions { grid-column: 1 / -1; flex-direction: row; gap: 12px; margin-top: 24px; }
  .funk-actions .btn-primary, .funk-actions .btn-ghost { flex: 1; }
  .funk-playlist-link { text-align: left; padding-top: 12px; }
  .funk-confetti { grid-column: 1 / -1; grid-row: 1 / -1; }

  /* ---- Blurb / Ego ---- */
  .blurb-card { padding: 44px 36px 36px; }
  blockquote#blurbText { font-size: 28px; line-height: 1.4; }
  .blurb-source { font-size: 14px; }
  .quote-mark { font-size: 140px; }

  /* Bookshelf */
  .bookshelf { margin-top: 36px; gap: 20px; }
  .book {
    padding: 20px;
    border-radius: 20px;
    transition: transform .3s var(--spring), box-shadow .3s var(--ease-smooth);
  }
  .book:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4); }
  .book-title { font-size: 15px; }

  /* ---- Articles ---- */
  .instapaper-card {
    padding: 28px;
    transition: transform .3s var(--spring), box-shadow .3s var(--ease-smooth);
  }
  .instapaper-card:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3); }
  .instapaper-title { font-size: 28px; }
  .instapaper-desc { font-size: 16px; }
  .instapaper-icon { font-size: 48px; }

  .article-list li {
    padding: 20px 24px;
    border-radius: 16px;
    transition: transform .2s var(--ease-smooth), background .2s var(--ease-smooth);
  }
  .article-list li:hover { transform: translateX(4px); background: rgba(255, 255, 255, 0.03); }
  .article-list a { font-size: 19px; }
  .article-list .desc { font-size: 16px; }

  /* ---- Notification ---- */
  .notif-card { padding: 24px; }
  .notif-text strong { font-size: 18px; }
  .notif-text .muted { font-size: 15px; }

  /* ---- Misc ---- */
  .admin-panel { max-width: 520px; }
  .toast { max-width: 480px; }
  .stat-card:hover { transform: translateY(-3px); }

  /* Splash — scale up for big screens */
  .splash-bust { font-size: min(180px, 18vw); }
  .splash-hammer { font-size: min(100px, 10vw); }
  .splash-title { font-size: clamp(36px, 5vw, 56px); }
  .splash-tagline { font-size: clamp(16px, 2.2vw, 22px); }

  /* Island pill: offset for sidebar */
  .island-pill { left: calc(260px + (100vw - 260px) / 2); transform: translateX(-50%); }
}

/* ---- WIDE DESKTOP (1440px+) — even more breathing room ---- */
@media (min-width: 1440px) {
  main {
    max-width: 940px;
    padding: 0 56px;
  }
  .hero h1 { font-size: 62px; }
  .subtitle { font-size: 20px; max-width: 620px; }
  .stats-grid { gap: 20px; }
  .stat-num { font-size: 40px; }
  .funk-stage .vinyl { width: 220px; height: 220px; }
  .track-title { font-size: 34px; }
  blockquote#blurbText { font-size: 30px; }
}
