* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ════════════════════ THREE PALETTES ════════════════════ */

:root, body[data-time-of-day="popoldne"] {
  --bg: #f3ecda;
  --bg-elev: #faf6e8;
  --paper-glow-a: rgba(140, 100, 60, 0.06);
  --paper-glow-b: rgba(180, 130, 80, 0.05);
  
  --ink: #1a1612;
  --ink-rgb: 26, 22, 18;
  
  --aged: #6e4a2a;
  --aged-rgb: 110, 74, 42;
  
  --oaza: #8a3a1e;
  --oaza-dark: #6e2a14;
  
  --blob-1: rgba(110, 74, 42, 0.1);
  --blob-2: rgba(60, 80, 110, 0.08);
  
  --player-bg: #1a1612;
  --player-bg-soft: #2a221a;
  --player-text: #f0e4d0;
  --player-accent: #c89052;
  --player-rule: rgba(200, 144, 82, 0.18);
  --player-glow: rgba(200, 144, 82, 0.22);
}

body[data-time-of-day="jutro"] {
  --bg: #fdf3d8;
  --bg-elev: #fff8e6;
  --paper-glow-a: rgba(220, 160, 80, 0.14);
  --paper-glow-b: rgba(245, 178, 60, 0.10);
  
  --ink: #3a2814;
  --ink-rgb: 58, 40, 20;
  
  --aged: #b8772e;
  --aged-rgb: 184, 119, 46;
  
  --oaza: #a04020;
  --oaza-dark: #802e15;
  
  --blob-1: rgba(200, 140, 60, 0.14);
  --blob-2: rgba(245, 178, 60, 0.08);
  
  --player-bg: #2a1a0e;
  --player-bg-soft: #3a2614;
  --player-text: #fde8c8;
  --player-accent: #f5b23c;
  --player-rule: rgba(245, 178, 60, 0.18);
  --player-glow: rgba(245, 178, 60, 0.18);
}

body[data-time-of-day="vecer"] {
  --bg: #1a1611;
  --bg-elev: #251f18;
  --paper-glow-a: rgba(245, 200, 130, 0.05);
  --paper-glow-b: rgba(200, 144, 96, 0.04);
  
  --ink: #e8dcc0;
  --ink-rgb: 232, 220, 192;
  
  --aged: #c89060;
  --aged-rgb: 200, 144, 96;
  
  --oaza: #d05a30;
  --oaza-dark: #b04020;
  
  --blob-1: rgba(200, 144, 96, 0.08);
  --blob-2: rgba(240, 200, 120, 0.05);
  
  --player-bg: #0a0805;
  --player-bg-soft: #1a1408;
  --player-text: #f5e8c8;
  --player-accent: #f0c878;
  --player-rule: rgba(240, 200, 120, 0.25);
  --player-glow: rgba(240, 200, 120, 0.3);
}

body {
  font-family: 'EB Garamond', serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 1200ms ease, color 1200ms ease;
}

/* ════════════════════ VIEW TOGGLE ════════════════════ */
.view-toggle,
.time-toggle {
  position: fixed; top: 16px; z-index: 9999;
  display: flex;
  background: rgba(243, 236, 218, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 0.5px solid rgba(var(--ink-rgb), 0.2);
  border-radius: 28px; padding: 4px;
  font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(var(--ink-rgb), 0.06);
}
.view-toggle { right: 16px; }
.time-toggle { left: 16px; }

body[data-time-of-day="vecer"] .view-toggle,
body[data-time-of-day="vecer"] .time-toggle {
  background: rgba(37, 31, 24, 0.88);
}

.view-toggle button,
.time-toggle button {
  background: transparent; border: none;
  color: rgba(var(--ink-rgb), 0.55);
  cursor: pointer; padding: 10px 20px; border-radius: 24px;
  font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
  transition: all 300ms ease;
  font-weight: 500;
}
.view-toggle button:hover,
.time-toggle button:hover { color: var(--ink); }
.view-toggle button.active,
.time-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}

.view { 
  display: none; 
  min-height: 100vh; 
  position: relative; 
  transition: opacity 0.36s ease-out, filter 0.36s ease-out, transform 0.36s ease-out;
  will-change: opacity, filter, transform;
}
.view[data-state="active"] { display: block; }
body[data-view="vstopna"] .view-vstopna,
body[data-view="album-dneva"] .view-album-dneva,
body[data-view="dnevni"] .view-dnevni,
body[data-view="esej"] .view-esej {
  display: block;
}

/* ════════════════════ SHARED: GRAVURA BG ════════════════════ */

.gravura-bg {
  position: fixed; inset: 0; z-index: 0;
  background: 
    radial-gradient(ellipse 50% 50% at 80% 20%, var(--paper-glow-a) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, var(--paper-glow-b) 0%, transparent 70%),
    var(--bg);
}

.gravure-layer {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}
.gravure-layer svg {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}

.gravure-arc-1 { animation: gravurDrift 60s ease-in-out infinite; transform-origin: 0% 100%; }
.gravure-arc-2 { animation: gravurDrift 80s ease-in-out infinite reverse; transform-origin: 100% 0%; }
.gravure-arc-3 { animation: gravurDrift 90s ease-in-out infinite 4s; transform-origin: 50% 50%; }
@keyframes gravurDrift {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3deg); }
}

.ink-blob {
  position: fixed;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  animation: inkFloat 30s ease-in-out infinite;
}
.ink-blob.b1 {
  top: -10%; right: -5%;
  width: 40vw; height: 40vw;
  max-width: 500px; max-height: 500px;
  background: var(--blob-1);
}
.ink-blob.b2 {
  bottom: -15%; left: -10%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: var(--blob-2);
  animation-delay: -10s;
  animation-direction: reverse;
}
@keyframes inkFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 4%) scale(1.08); }
}

/* ════════════════════ SHARED: SCROLL ANIMATIONS ════════════════════ */
.scroll-fade {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1200ms ease, transform 1200ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.scroll-fade.in { opacity: 1; transform: translateY(0); }

.scroll-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1000ms cubic-bezier(0.2, 0.7, 0.3, 1), transform 1000ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
.scroll-char.in { opacity: 1; transform: translateY(0); }
.scroll-char.space { width: 0.28em; }


/* ════════════════════ PRESSING STATE (acceleration) ════════════════════ */
body.pressing .gravure-arc-1 { animation-duration: 6s; }
body.pressing .gravure-arc-2 { animation-duration: 8s; }
body.pressing .gravure-arc-3 { animation-duration: 7s; }
body.pressing .ink-blob { animation-duration: 6s; }

/* New curves that appear ONLY during pressing */
.gravure-extra { opacity: 0; transition: opacity 1.2s ease; }
body.pressing .gravure-extra { opacity: 1; }
body.pressing .gravure-extra path { animation: drawCurveIn 2.4s ease-out forwards; }
@keyframes drawCurveIn {
  0% { stroke-dashoffset: 1800; }
  100% { stroke-dashoffset: 0; }
}
.gravure-extra-1 { animation: gravurDrift 4s ease-in-out infinite; transform-origin: 30% 70%; }
.gravure-extra-2 { animation: gravurDrift 5s ease-in-out infinite reverse; transform-origin: 70% 30%; }
.gravure-extra-3 { animation: gravurDrift 6s ease-in-out infinite 1s; transform-origin: 50% 50%; }

/* Blur reveal overlay between views */
.blur-reveal {
  position: fixed; inset: 0; z-index: 500;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(243, 236, 218, 0.7), transparent 70%),
    rgba(243, 236, 218, 0.35);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: opacity 600ms ease, backdrop-filter 600ms ease, -webkit-backdrop-filter 600ms ease;
}
.blur-reveal.active {
  opacity: 1;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  VIEW · ALBUM DNEVA (medaljon)                            ║
   ╚═══════════════════════════════════════════════════════════╝ */

.view-album-dneva { min-height: 100vh; }

.album-dneva-content {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: 40px 64px 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-dneva-top {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  margin-bottom: 18px;
}
.album-dneva-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.55);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.album-dneva-eyebrow::before {
  content: ''; width: 32px; height: 0.5px; background: var(--ink);
}
.album-dneva-date {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(var(--ink-rgb), 0.5);
  letter-spacing: 0.3px;
}

.album-dneva-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
}

.album-dneva-greeting {
  max-width: 280px;
  text-align: right;
  flex-shrink: 0;
}
.greeting-main {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.2px;
  line-height: 1.45;
  margin-bottom: 10px;
  font-weight: 400;
}
.greeting-main em {
  font-style: normal;
  font-weight: 500;
  color: var(--aged);
}
.greeting-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(var(--ink-rgb), 0.55);
  letter-spacing: 0.3px;
  line-height: 1.4;
}

.medallion-wrap {
  position: relative;
  width: 500px; height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.medallion-orbits {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.orbit { transform-origin: 250px 250px; transform-box: fill-box; }
.orbit-1 { animation: orbitSpin 40s linear infinite; }
.orbit-2 { animation: orbitSpinRev 60s linear infinite; }
.orbit-3 { animation: orbitSpin 80s linear infinite; }
.orbit-4 { animation: orbitSpinRev 100s linear infinite; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinRev { to { transform: rotate(-360deg); } }

.orbit-dot {
  transform-origin: 250px 250px;
  transform-box: fill-box;
  animation: orbitDotPulse 3s ease-in-out infinite;
}
.orbit-dot.d1 { animation-delay: 0s; }
.orbit-dot.d2 { animation-delay: 0.6s; }
.orbit-dot.d3 { animation-delay: 1.2s; }
.orbit-dot.d4 { animation-delay: 1.8s; }
.orbit-dot.d5 { animation-delay: 0.4s; }
.orbit-dot.d6 { animation-delay: 2.2s; }
@keyframes orbitDotPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* When pressed: orbits accelerate dramatically + dots flash faster */
.medallion-wrap.pressing .orbit-1 { animation-duration: 6s; }
.medallion-wrap.pressing .orbit-2 { animation-duration: 8s; }
.medallion-wrap.pressing .orbit-3 { animation-duration: 5s; }
.medallion-wrap.pressing .orbit-4 { animation-duration: 7s; }
.medallion-wrap.pressing .orbit-dot { animation-duration: 0.8s; }

.medallion {
  position: relative;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1), filter 600ms ease;
}
.medallion::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 0.5px solid rgba(var(--ink-rgb), 0.85);
  transition: border-color 400ms ease;
}
.medallion::after {
  content: '';
  position: absolute; inset: 16px;
  border-radius: 50%;
  border: 0.5px solid rgba(var(--ink-rgb), 0.3);
  transition: border-color 400ms ease;
}
.medallion:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 12px 28px rgba(var(--aged-rgb), 0.18));
}
.medallion:hover::before { border-color: rgba(var(--aged-rgb), 0.95); }
.medallion:hover::after { border-color: rgba(var(--aged-rgb), 0.5); }

.medallion-inner {
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
}

.medallion-ornament {
  font-family: 'EB Garamond', serif;
  color: var(--aged);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
  animation: ornamentSpin 60s linear infinite;
  display: inline-block;
}
@keyframes ornamentSpin { to { transform: rotate(360deg); } }

.medallion-label {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.medallion-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(var(--ink-rgb), 0.6);
  letter-spacing: 0.3px;
  margin-top: 4px;
}
.medallion-rule {
  width: 32px; height: 0.5px;
  background: rgba(var(--ink-rgb), 0.4);
  margin: 14px auto 8px;
}
.medallion-arrow {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--aged);
  font-size: 18px;
  letter-spacing: 0;
  margin-top: 6px;
  transition: transform 400ms ease;
}
.medallion:hover .medallion-arrow { transform: translateX(4px); }

/* Pressing state on medallion itself */
.medallion.pressed {
  transform: scale(1.08);
  filter: drop-shadow(0 0 40px rgba(var(--aged-rgb), 0.3));
  pointer-events: none;
}
.medallion.pressed::before { border-color: var(--aged); }
.medallion.pressed::after { border-color: rgba(var(--aged-rgb), 0.6); }
.medallion.pressed .medallion-ornament { animation-duration: 6s; }

.album-dneva-bottom {
  width: 100%;
  padding-top: 20px;
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.2);
  text-align: center;
}
.album-dneva-signature {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: rgba(var(--ink-rgb), 0.55);
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  VIEW 1 · VSTOPNA STRAN (gravura, popravljena)            ║
   ╚═══════════════════════════════════════════════════════════╝ */

.view-vstopna { min-height: 100vh; }

.vstopna-content {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: 40px 64px 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.vstopna-top-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
  min-height: 0;
}

/* ── LEFT ─────────────────────────────── */
.vstopna-left {
  position: relative;
}
.vstopna-invite-stamp {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.5);
  margin-bottom: 36px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 14px;
}
.vstopna-invite-stamp::before {
  content: ''; width: 32px; height: 0.5px; background: var(--ink);
}

.vstopna-lead {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 34px;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.1px;
  margin-bottom: 28px;
  font-weight: 500;
}
.vstopna-lead em { font-style: normal; color: var(--aged); }

.vstopna-lead-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19px;
  color: rgba(var(--ink-rgb), 0.65);
  line-height: 1.6;
  max-width: 400px;
}

/* ── RIGHT (verz + request) ─────────────────────────────── */
.vstopna-right { 
  padding-left: 48px;
  border-left: 0.5px solid rgba(var(--ink-rgb), 0.18);
}

.verse-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.55);
  margin-bottom: 18px; font-weight: 500;
}
.verse-row {
  display: flex; align-items: baseline; gap: 14px;
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.35);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.verse-prefix {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: rgba(var(--ink-rgb), 0.55);
}
.verse-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  padding: 6px 0;
  letter-spacing: 0.3px;
}
.verse-input::placeholder { color: rgba(var(--ink-rgb), 0.3); }
.verse-enter {
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  font-weight: 500;
  transition: all 300ms ease;
}
.verse-enter:hover { background: var(--aged); }

/* ── REQUEST SECTION (popravljeno + chevron) ─────── */

.request-section {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.15);
}

.request-toggle {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 4px 0;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
  letter-spacing: 0.2px;
  transition: color 300ms ease;
  width: 100%;
  text-align: left;
}
.request-toggle:hover { color: var(--aged); }
.request-toggle:hover .toggle-chevron { transform: translateY(2px); color: var(--aged); }

.toggle-chevron {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(217, 69, 48, 0.4);
  border-radius: 50%;
  margin-left: auto;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.3, 1), border-color 300ms ease, color 300ms ease, box-shadow 300ms ease;
  color: rgba(217, 69, 48, 0.75);
  animation: chevronAttract 3.6s ease-in-out infinite;
}
@keyframes chevronAttract {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 69, 48, 0.0), 0 0 4px rgba(217, 69, 48, 0.06);
    border-color: rgba(217, 69, 48, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px 2px rgba(217, 69, 48, 0.28), 0 0 22px rgba(217, 69, 48, 0.14);
    border-color: rgba(217, 69, 48, 0.65);
    transform: scale(1.06);
  }
}
.request-toggle:hover .toggle-chevron,
.request-toggle.open .toggle-chevron {
  animation: none;
}
.request-toggle.open .toggle-chevron { transform: rotate(180deg); border-color: var(--aged); color: var(--aged); box-shadow: none; }

.request-sub {
  display: block;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(var(--ink-rgb), 0.55);
  margin-top: 8px;
  letter-spacing: 0.2px;
}

.request-form {
  margin-top: 0;
  max-height: 0; overflow: hidden;
  transition: max-height 600ms cubic-bezier(0.2, 0.7, 0.3, 1), margin-top 600ms ease;
}
.request-form.open { max-height: 800px; margin-top: 28px; }

.request-form-inner {
  padding-top: 28px;
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.18);
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px;
}
.request-form-inner > div.full { grid-column: 1 / -1; }
.request-form .field-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.55);
  margin-bottom: 8px; display: block;
  font-weight: 500;
}
.request-form input,
.request-form textarea {
  width: 100%; background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.25);
  outline: none;
  font-family: 'EB Garamond', serif;
  font-size: 17px; color: var(--ink);
  padding: 8px 0;
  transition: border-color 400ms ease;
}
.request-form input:focus,
.request-form textarea:focus { border-bottom-color: rgba(var(--ink-rgb), 0.7); }
.request-form textarea {
  font-style: italic; min-height: 80px;
  resize: vertical; line-height: 1.55;
}
.request-submit {
  grid-column: 1 / -1; justify-self: end;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer; font-weight: 500;
  margin-top: 8px;
  transition: all 300ms ease;
}
.request-submit:hover { background: var(--aged); }

/* ── SIGNATURE SPODAJ — VEDNO VIDNA ─────────────── */

.vstopna-signature {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.2);
  text-align: center;
}
.vstopna-signature-line {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: rgba(var(--ink-rgb), 0.55);
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  VIEW 2 · DNEVNI HEADER (gravura)                         ║
   ╚═══════════════════════════════════════════════════════════╝ */

.view-dnevni { min-height: 100vh; }

.dnevni-content {
  position: relative; z-index: 10;
  min-height: 100vh;
  padding: 80px 80px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Top eyebrow */
.dnevni-eyebrow {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 56px;
}
.dnevni-time-tag {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.5);
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 500;
}
.dnevni-time-tag::before {
  content: ''; width: 32px; height: 0.5px; background: var(--ink);
}
.dnevni-date {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(var(--ink-rgb), 0.5);
  letter-spacing: 0.3px;
}

/* Grid: cover left + content right */
.dnevni-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

/* COVER + INFO */
.dnevni-cover-wrap {
  position: relative;
}
.dnevni-cover-frame {
  position: relative;
  width: 320px;
  aspect-ratio: 1;
  margin-bottom: 28px;
}
.dnevni-cover-frame::before,
.dnevni-cover-frame::after,
.dnevni-cover-frame > .ctr,
.dnevni-cover-frame > .cbl {
  content: ''; position: absolute;
  width: 18px; height: 18px;
  border: 0.5px solid var(--aged);
}
.dnevni-cover-frame::before { content: ''; top: -10px; left: -10px; border-right: none; border-bottom: none; }
.dnevni-cover-frame::after { content: ''; bottom: -10px; right: -10px; border-left: none; border-top: none; }
.dnevni-cover-frame > .ctr { top: -10px; right: -10px; border-left: none; border-bottom: none; }
.dnevni-cover-frame > .cbl { bottom: -10px; left: -10px; border-right: none; border-top: none; }

.dnevni-cover-art {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 40%, #b85a2a 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, #3a1f12 0%, transparent 60%),
    linear-gradient(160deg, #2a1812 0%, #5a3520 50%, #8a4a28 100%);
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(var(--aged-rgb), 0.18);
}
.dnevni-cover-art::after {
  content: 'RR-139';
  position: absolute; bottom: 22px;
  left: 50%; transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.35);
}

.dnevni-info {
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.25);
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.25);
  padding: 24px 0;
}
.dnevni-info h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 500; font-size: 21px;
  color: var(--ink); text-align: center;
  margin-bottom: 4px; letter-spacing: 0.3px;
}
.dnevni-info .composer {
  font-family: 'EB Garamond', serif;
  font-style: italic; font-size: 14px;
  color: rgba(var(--ink-rgb), 0.65);
  text-align: center; margin-bottom: 22px;
}
.dnevni-info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 24px; padding: 0 4px;
}
.dnevni-info-field { padding-bottom: 8px; border-bottom: 0.5px dashed rgba(var(--ink-rgb), 0.2); }
.dnevni-info-field .lab {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 2.5px;
  color: var(--aged);
  text-transform: uppercase;
  margin-bottom: 5px; font-weight: 500;
}
.dnevni-info-field .val {
  font-family: 'EB Garamond', serif;
  font-size: 14px; color: var(--ink);
  line-height: 1.3;
}

/* TEXT side (right) */
.dnevni-text {
  padding-top: 8px;
}
.dnevni-meta {
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.5);
  margin-bottom: 36px;
  line-height: 1.8;
}

.dnevni-title {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 20px;
}
.dnevni-title em { font-style: italic; color: var(--aged); }

.dnevni-subtitle {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 26px; font-weight: 400;
  color: rgba(var(--ink-rgb), 0.7);
  margin-bottom: 32px;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.dnevni-subtitle em { font-style: normal; }

.dnevni-artists {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 500;
  color: var(--aged);
  letter-spacing: 3.5px; text-transform: uppercase;
  margin-bottom: 40px;
}

.dnevni-lead {
  font-family: 'EB Garamond', serif;
  font-size: 21px; font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  max-width: 580px;
  margin-bottom: 44px;
  font-weight: 400;
}
.dnevni-lead em { font-style: normal; }

.dnevni-cta {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: 'EB Garamond', serif;
  font-style: italic; font-size: 18px; letter-spacing: 0.5px;
  color: var(--ink);
  background: transparent;
  border: 0.5px solid var(--ink);
  padding: 16px 36px; cursor: pointer;
  transition: all 500ms cubic-bezier(0.2, 0.7, 0.3, 1);
  font-weight: 500;
}
.dnevni-cta::after { content: '→'; font-style: normal; font-size: 20px; transition: transform 400ms ease; }
.dnevni-cta:hover { background: var(--ink); color: var(--bg); }
.dnevni-cta:hover::after { transform: translateX(6px); }

/* Bottom signature in dnevni */
.dnevni-signature {
  margin-top: 14vh;
  padding-top: 28px;
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.2);
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dnevni-oaza {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--oaza);
  letter-spacing: 0.3px;
}
.dnevni-oaza .oaza-dot {
  font-style: normal;
  color: var(--oaza-dark);
}
.dnevni-sep {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  color: rgba(var(--ink-rgb), 0.35);
}
.dnevni-sig-line {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: rgba(var(--ink-rgb), 0.65);
  letter-spacing: 0.3px;
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  VIEW 4 · ESEJ (gravura)                                  ║
   ╚═══════════════════════════════════════════════════════════╝ */

.view-esej { min-height: 100vh; }

/* Sticky mini-header at top of essay */
.esej-mini-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px 40px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 75%, transparent 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.1);
}
.esej-back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: none;
  color: rgba(var(--ink-rgb), 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer; font-weight: 500;
  transition: color 300ms ease;
  padding: 4px 0;
}
.esej-back-btn:hover { color: var(--aged); }
.esej-mini-title {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(var(--ink-rgb), 0.75);
  letter-spacing: 0.2px;
}
.esej-mini-title em { font-style: normal; color: var(--aged); }

.esej-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px 200px;
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  line-height: 1.75;
  color: var(--ink);
}

.esej-content .text-block { margin: 0 0 64px; }
.esej-content .text-block h2 {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.esej-content .text-block h2 em { font-style: normal; font-weight: 400; color: var(--aged); }
.esej-content .text-block p { margin-bottom: 1.1em; }
.esej-content .text-block p em { font-style: italic; }

/* Lead — italic intro at top of essay */
.esej-content .esej-lead {
  margin: 0 0 88px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.15);
}
.esej-content .esej-lead p {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: 0.1px;
  font-weight: 400;
}
.esej-content .esej-lead p em { font-style: normal; color: var(--aged); }

/* Ornament — decorative horizontal break */
.esej-content .esej-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  margin: 88px 0;
  opacity: 0.7;
}
.esej-content .esej-ornament .line {
  width: 80px; height: 0.5px;
  background: var(--aged);
}
.esej-content .esej-ornament .mark {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: var(--aged);
  font-style: italic;
  line-height: 1;
}

/* Figure — image with caption */
.esej-content .esej-figure {
  margin: 88px -40px;
  text-align: center;
}
.esej-content .esej-figure img {
  display: block;
  width: 100%; height: auto;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(var(--ink-rgb), 0.18);
}
.esej-content .esej-figure figcaption {
  margin-top: 18px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(var(--ink-rgb), 0.6);
  padding: 0 32px;
  letter-spacing: 0.1px;
}
.esej-content .esej-figure figcaption em { font-style: normal; color: var(--aged); }

/* Img placeholder — when src missing */
.esej-content .esej-img-placeholder {
  aspect-ratio: 3/2;
  background: var(--bg-elev);
  border: 0.5px dashed rgba(var(--ink-rgb), 0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.4);
}

/* PDF block — discrete inline link */
.esej-content .esej-pdf {
  margin: 56px 0;
  padding: 18px 24px;
  background: var(--bg-elev);
  border-left: 2px solid var(--aged);
  font-family: 'EB Garamond', serif;
}
.esej-content .esej-pdf a {
  color: var(--aged);
  text-decoration: none;
  font-style: italic;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 0.5px solid rgba(var(--aged-rgb), 0.4);
  padding-bottom: 2px;
  transition: color 300ms ease, border-color 300ms ease;
}
.esej-content .esej-pdf a:hover { color: var(--oaza); border-color: var(--oaza); }
.esej-content .esej-pdf a svg { flex-shrink: 0; }

/* Inline links in essay body */
.esej-content a {
  color: var(--aged);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(var(--aged-rgb), 0.4);
  transition: color 300ms ease, border-color 300ms ease;
}
.esej-content a:hover { color: var(--oaza); border-color: var(--oaza); }

/* Inline strong tag */
.esej-content strong { font-weight: 500; color: var(--ink); }

.esej-content .callout {
  margin: 88px -40px;
  padding: 44px 56px;
  background: var(--bg-elev);
  border-left: 2px solid var(--oaza);
  position: relative;
}
.esej-content .callout .label {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 4px; color: var(--oaza);
  text-transform: uppercase;
  display: block; margin-bottom: 22px;
}
.esej-content .callout p { font-size: 19px; line-height: 1.7; margin-bottom: 1.1em; }
.esej-content .callout p:last-child { margin-bottom: 0; }
.esej-content .callout p em { font-style: italic; }
.esej-content .callout p strong { font-weight: 500; color: var(--ink); }

.esej-content .pullquote {
  margin: 110px auto;
  max-width: 600px;
  text-align: center;
  padding: 0 32px;
}
.esej-content .pullquote::before, .esej-content .pullquote::after {
  content: ''; display: block;
  width: 40px; height: 0.5px;
  background: var(--aged);
  margin: 0 auto;
}
.esej-content .pullquote::before { margin-bottom: 32px; }
.esej-content .pullquote::after { margin-top: 32px; }
.esej-content .pullquote .quote {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -0.2px;
}
.esej-content .pullquote cite {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-style: normal;
  letter-spacing: 3px;
  color: rgba(var(--ink-rgb), 0.5);
  text-transform: uppercase;
}

/* Reveal animations on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1100ms ease, transform 1100ms cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.97); transition: opacity 1100ms ease, transform 1100ms cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal-scale.in { opacity: 1; transform: scale(1); }


/* ╔═══════════════════════════════════════════════════════════╗
   ║  PLAYER · gravurni bottom bar                             ║
   ╚═══════════════════════════════════════════════════════════╝ */

.player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--player-bg);
  color: var(--player-text);
  transform: translateY(100%);
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.3, 1), background 1200ms ease;
  border-top: 0.5px solid var(--player-rule);
}
.player.up { transform: translateY(0); }
.player::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--player-accent), transparent 90%);
  opacity: 0.55;
}

.player-tab {
  position: absolute;
  top: -28px; left: 50%; transform: translateX(-50%);
  background: var(--player-bg);
  border: 0.5px solid var(--player-rule);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 6px 28px;
  cursor: pointer;
  color: var(--player-accent);
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  font-weight: 500;
  transition: padding 400ms ease;
}
.player-tab:hover { padding-top: 8px; padding-bottom: 4px; }
.player-tab svg { transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1); }
.player.expanded .player-tab svg { transform: rotate(180deg); }

.player-bar {
  padding: 16px 36px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto auto;
  gap: 28px;
  align-items: center;
}

.player-cover-art {
  width: 52px; height: 52px;
  background:
    radial-gradient(ellipse at 30% 40%, #b85a2a 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, #3a1f12 0%, transparent 60%),
    linear-gradient(160deg, #2a1812 0%, #5a3520 50%, #8a4a28 100%);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--player-rule);
  transition: transform 400ms ease;
}
.player-cover-art:hover { transform: scale(1.05); }

.player-info { min-width: 0; }
.player-track {
  font-family: 'EB Garamond', serif;
  font-style: italic; font-size: 19px;
  font-weight: 500;
  color: var(--player-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.2;
}
.player-track .roman {
  font-style: normal; font-weight: 400;
  color: var(--player-accent);
  margin-right: 7px;
}
.player-meta-secondary {
  font-family: 'EB Garamond', serif;
  font-style: italic; font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-meta-secondary .dot { color: var(--player-accent); margin: 0 6px; }
.player-meta {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  margin-top: 5px; font-weight: 300;
}

.player-scrub {
  display: flex; align-items: center; gap: 14px;
  min-width: 300px; max-width: 460px;
}
.scrub-time {
  font-family: 'Inter', sans-serif; font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px; min-width: 32px;
}
.scrub-time.right { text-align: right; }
.scrub-bar {
  flex: 1; height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  position: relative; cursor: pointer; border-radius: 2px;
}
.scrub-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 32%;
  background: var(--player-accent);
  border-radius: 2px;
  transition: width 200ms ease;
}
.scrub-fill::after {
  content: ''; position: absolute;
  right: -5px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--player-accent);
  box-shadow: 0 0 12px var(--player-glow);
  opacity: 0; transition: opacity 200ms ease;
}
.scrub-bar:hover .scrub-fill::after { opacity: 1; }

.player-track-count {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--player-accent);
  white-space: nowrap;
  text-align: center;
}
.player-track-count .num {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 15px; font-weight: 500;
  color: var(--player-text);
}
.player-track-count .sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 8.5px; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px; font-weight: 300;
}

.player-controls {
  display: flex; align-items: center; gap: 16px;
}
.player-controls button {
  background: transparent; border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: color 200ms ease, transform 200ms ease;
}
.player-controls button:hover { color: var(--player-accent); transform: scale(1.1); }
.player-controls .play {
  width: 46px; height: 46px;
  border: 1px solid var(--player-accent);
  border-radius: 50%;
  color: var(--player-accent);
  font-size: 13px;
  padding-left: 3px;
  box-shadow: 0 0 14px var(--player-glow);
  background: rgba(0, 0, 0, 0.18);
}
.player-controls .play:hover {
  background: var(--player-accent);
  color: var(--player-bg);
  box-shadow: 0 0 20px var(--player-glow);
}

.player-vol {
  display: flex; align-items: center; gap: 12px;
}
.player-vol svg { 
  color: rgba(255, 255, 255, 0.55);
  transition: opacity 0.2s, color 0.2s;
}
.player-vol svg:hover { color: rgba(255, 255, 255, 0.85); }
.vol-bar {
  width: 110px; height: 16px;
  position: relative;
  cursor: pointer;
  padding: 7px 0;
  margin: -7px 0;
  user-select: none;
  -webkit-user-select: none;
}
.vol-bar::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: background 0.2s;
}
.vol-bar:hover::before { background: rgba(255, 255, 255, 0.2); }
.vol-fill {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 3px;
  width: 60%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.08s linear, background 0.2s;
}
.vol-bar:hover .vol-fill { background: #d05a30; }
.vol-fill::after {
  content: '';
  position: absolute;
  right: -4px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.2s;
}
.vol-bar:hover .vol-fill::after { opacity: 1; background: #d05a30; }

/* Expanded tracklist panel */
.player-expanded {
  max-height: 0; overflow: hidden;
  transition: max-height 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
  background: var(--player-bg-soft);
  border-top: 0.5px solid var(--player-rule);
}
.player.expanded .player-expanded { max-height: 70vh; overflow-y: auto; }

.player-expanded-inner {
  padding: 40px 56px 44px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
}

.expanded-cover { position: sticky; top: 40px; }
.expanded-cover-art {
  width: 260px; height: 260px;
  background:
    radial-gradient(ellipse at 30% 40%, #b85a2a 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, #3a1f12 0%, transparent 60%),
    linear-gradient(160deg, #2a1812 0%, #5a3520 50%, #8a4a28 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 22px;
}
.expanded-title {
  font-family: 'EB Garamond', serif;
  font-size: 21px; line-height: 1.2;
  margin-bottom: 6px; color: var(--player-text);
}
.expanded-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.tracklist-block h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  color: var(--player-accent);
  text-transform: uppercase; font-weight: 500;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 0.5px solid var(--player-rule);
}
.tracklist { list-style: none; }
.tracklist li {
  display: grid; grid-template-columns: 30px 1fr auto;
  gap: 16px; align-items: center;
  padding: 14px 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 200ms ease, padding 200ms ease;
  border-left: 2px solid transparent;
  position: relative;
}
.tracklist li:hover { background: rgba(255, 255, 255, 0.03); padding-left: 16px; }
.tracklist li.playing {
  background: var(--player-rule);
  border-left-color: var(--player-accent);
  padding-left: 16px;
}
.tracklist .num {
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  align-self: start; padding-top: 3px;
}
.tracklist li.playing .num { color: var(--player-accent); position: relative; }
.tracklist li.playing .num::after {
  content: '';
  position: absolute;
  left: -14px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--player-accent);
  box-shadow: 0 0 8px var(--player-accent);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.3); }
}
.tracklist .name {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.tracklist .title-row {
  font-family: 'EB Garamond', serif;
  font-size: 16.5px; font-style: italic;
  color: var(--player-text); line-height: 1.25;
  letter-spacing: 0.1px;
}
.tracklist .title-row .roman {
  font-style: normal;
  color: var(--player-accent);
  margin-right: 6px;
}
.tracklist .sub-row {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px; letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.3; font-weight: 300;
}
.tracklist li.playing .sub-row { color: rgba(255, 255, 255, 0.6); }
.tracklist .dur {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  align-self: start; padding-top: 3px;
}


/* ═════════════════════ RESPONSIVE ═════════════════════ */

/* Tablet */
@media (max-width: 1100px) {
  .vstopna-content { padding: 32px 40px 24px; }
  .vstopna-top-grid { gap: 56px; }
  .vstopna-lead { font-size: 28px; margin-bottom: 20px; }
  .vstopna-lead-sub { font-size: 17px; }
  .vstopna-invite-stamp { margin-bottom: 24px; }
  .verse-input, .verse-prefix { font-size: 22px; }
  .request-toggle { font-size: 18px; }
}

/* Phone */
@media (max-width: 740px) {
  .view-toggle, .time-toggle { top: 8px; font-size: 9px; letter-spacing: 1.5px; }
  .view-toggle { right: 8px; }
  .time-toggle { left: 8px; }
  .view-toggle button, .time-toggle button { padding: 8px 12px; }
  
  .vstopna-content { padding: 24px 20px 16px; }
  .vstopna-top-grid { grid-template-columns: 1fr; gap: 24px; }
  .vstopna-right { padding-left: 0; border-left: none; border-top: 0.5px solid rgba(var(--ink-rgb), 0.18); padding-top: 24px; }
  
  .vstopna-invite-stamp { font-size: 8px; letter-spacing: 3px; margin-bottom: 14px; }
  .vstopna-invite-stamp::before { width: 20px; }
  .vstopna-lead { font-size: 22px; margin-bottom: 12px; line-height: 1.3; }
  .vstopna-lead-sub { font-size: 15px; }
  
  .verse-label { margin-bottom: 10px; }
  .verse-row { padding-bottom: 8px; margin-bottom: 14px; gap: 10px; }
  .verse-input, .verse-prefix { font-size: 18px; }
  .verse-enter { padding: 12px 22px; font-size: 9px; letter-spacing: 2px; }
  
  .request-section { margin-top: 24px; padding-top: 16px; }
  .request-toggle { font-size: 16px; }
  .request-toggle .toggle-chevron { width: 24px; height: 24px; }
  .request-sub { font-size: 12px; margin-top: 4px; }
  
  .request-form-inner { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .request-submit { padding: 12px 22px; font-size: 9px; letter-spacing: 2.5px; }
  
  .vstopna-signature { padding-top: 14px; margin-top: 18px; }
  .vstopna-signature-line { font-size: 11px; letter-spacing: 2px; }
  
  /* Album-dneva phone */
  .album-dneva-content { padding: 24px 20px 16px; }
  .album-dneva-top { flex-direction: column; gap: 10px; align-items: flex-start; }
  .album-dneva-eyebrow { font-size: 8px; letter-spacing: 3px; }
  .album-dneva-eyebrow::before { width: 20px; }
  .album-dneva-date { font-size: 13px; }
  .album-dneva-center { flex-direction: column; gap: 20px; }
  .album-dneva-greeting { max-width: 100%; text-align: center; padding: 0 8px; }
  .greeting-main { font-size: 17px; margin-bottom: 6px; }
  .greeting-main br { display: none; }
  .greeting-sub { font-size: 12px; }
  .medallion-wrap { width: 360px; height: 360px; }
  .medallion { width: 260px; height: 260px; }
  .medallion-inner { inset: 24px; padding: 24px; }
  .medallion-label { font-size: 26px; }
  .medallion-sub { font-size: 14px; }
  .medallion-ornament { font-size: 18px; }
  .album-dneva-signature { font-size: 11px; letter-spacing: 2px; }
  
  .dnevni-content { padding: 32px 20px; }
  .dnevni-grid { grid-template-columns: 1fr; gap: 32px; }
  .dnevni-cover-wrap { max-width: 280px; margin: 0 auto; }
  .dnevni-cover-frame { width: 100%; }
  .dnevni-title { font-size: 36px; }
  .dnevni-subtitle { font-size: 18px; }
  .dnevni-lead { font-size: 16px; }
  .dnevni-signature { margin-top: 10vh; padding-top: 20px; gap: 10px; }
  .dnevni-oaza, .dnevni-sep, .dnevni-sig-line { font-size: 14px; }
  .dnevni-eyebrow { flex-direction: column; gap: 10px; align-items: flex-start; }
  
  /* Esej phone */
  .esej-mini-header { padding: 12px 20px; gap: 16px; }
  .esej-back-btn { font-size: 9px; letter-spacing: 2px; }
  .esej-mini-title { font-size: 14px; }
  .esej-content { padding: 40px 20px 160px; font-size: 17px; }
  .esej-content .text-block h2 { font-size: 24px; margin-bottom: 20px; }
  .esej-content .text-block { margin-bottom: 48px; }
  .esej-content .esej-lead { margin-bottom: 56px; padding-bottom: 36px; }
  .esej-content .esej-lead p { font-size: 19px; }
  .esej-content .callout { margin: 56px -20px; padding: 32px 24px; }
  .esej-content .callout p { font-size: 16px; }
  .esej-content .pullquote { margin: 72px auto; padding: 0 16px; }
  .esej-content .pullquote .quote { font-size: 22px; }
  .esej-content .esej-ornament { margin: 56px 0; gap: 14px; }
  .esej-content .esej-ornament .line { width: 50px; }
  .esej-content .esej-figure { margin: 56px -20px; }
  .esej-content .esej-figure figcaption { padding: 0 20px; font-size: 13px; }
  .esej-content .esej-pdf { padding: 14px 18px; margin: 36px 0; }
  .esej-content .esej-pdf a { font-size: 15px; }
  
  /* Player phone */
  .player-bar { padding: 10px 16px; grid-template-columns: auto 1fr auto; gap: 14px; }
  .player-scrub, .player-vol, .player-track-count { display: none; }
  .player-cover-art { width: 44px; height: 44px; }
  .player-track { font-size: 16px; }
  .player-meta-secondary { font-size: 11px; }
  .player-meta { display: none; }
  .player-controls { gap: 10px; }
  .player-controls button { width: 30px; height: 30px; }
  .player-controls .play { width: 40px; height: 40px; font-size: 12px; }
  .player-expanded-inner { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .expanded-cover { position: relative; top: 0; }
  .expanded-cover-art { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; margin: 0 auto 16px; }
  .expanded-title { font-size: 18px; }
  .tracklist .title-row { font-size: 15px; }
}

/* Very small phones — keep everything visible */
@media (max-width: 380px) {
  .vstopna-lead { font-size: 19px; }
  .verse-input, .verse-prefix { font-size: 16px; }
  .request-toggle { font-size: 14px; }
  .medallion-wrap { width: 300px; height: 300px; }
  .medallion { width: 220px; height: 220px; }
  .medallion-label { font-size: 22px; }
  .medallion-sub { font-size: 13px; }
}

/* ════════════════════ PRODUCTION ADDITIONS ════════════════════ */

/* Real cover images replace gradient placeholders */
.dnevni-cover-art-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(var(--ink-rgb), 0.18);
}
.player-cover-img {
  width: 52px; height: 52px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--player-rule);
}
.expanded-cover-img {
  width: 260px; height: 260px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 22px;
}

/* Flash messages (success / error) */
.flash {
  margin-bottom: 22px;
  padding: 14px 20px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.2px;
  line-height: 1.45;
  border-left: 2px solid;
}
.flash-ok {
  background: rgba(var(--aged-rgb), 0.10);
  border-color: var(--aged);
  color: var(--ink);
}
.flash-error {
  background: rgba(var(--oaza-rgb, 138, 58, 30), 0.08);
  border-color: var(--oaza);
  color: var(--oaza);
}

/* Show vstopna content always (no JS-driven view toggle in production) */
.view[style*="display: block"] { display: block !important; }

/* ════════════════════ VTISI / KOMENTARJI ════════════════════ */

.vtisi-section {
  margin-top: 110px;
  padding-top: 56px;
  border-top: 0.5px solid rgba(var(--ink-rgb), 0.18);
}

.vtisi-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
  margin-bottom: 56px;
}
.vtisi-eyebrow .vtisi-mark {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: var(--aged);
  font-size: 22px;
}
.vtisi-eyebrow .vtisi-lab {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.5);
  font-weight: 500;
}

/* Promoted vtisi — rendered kot pull-quote v terakotni rdeči */
.vtisi-promoted { margin-bottom: 88px; }
.pullquote.vtis-promoted {
  position: relative;
}
.pullquote.vtis-promoted::before, .pullquote.vtis-promoted::after {
  background: var(--oaza);
}
.pullquote.vtis-promoted .quote {
  color: var(--ink);
}
.pullquote.vtis-promoted cite {
  color: var(--oaza);
  letter-spacing: 2.5px;
  font-weight: 500;
}

/* Form za nov komentar */
.vtis-form {
  max-width: 600px;
  margin: 0 auto 56px;
  padding: 28px 32px;
  background: var(--bg-elev);
  border: 0.5px solid rgba(var(--ink-rgb), 0.18);
}
.vtis-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(var(--ink-rgb), 0.55);
  margin-bottom: 14px;
  font-weight: 500;
}
.vtis-form textarea {
  width: 100%;
  font-family: 'EB Garamond', serif;
  font-size: 17px; font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.25);
  padding: 8px 0;
  resize: vertical;
  outline: none;
  transition: border-color 300ms;
}
.vtis-form textarea:focus { border-bottom-color: var(--ink); }
.vtis-form textarea::placeholder { color: rgba(var(--ink-rgb), 0.35); }
.vtis-submit {
  margin-top: 18px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  transition: background 300ms;
}
.vtis-submit:hover { background: var(--aged); }

.vtis-flash {
  max-width: 600px;
  margin: 0 auto 28px;
  padding: 14px 24px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15.5px;
  background: var(--bg-elev);
  border-left: 2px solid var(--aged);
  color: var(--ink);
}

/* Seznam vtisov */
.vtis-list {
  max-width: 600px;
  margin: 0 auto;
}
.vtis-item {
  padding: 22px 0;
  border-bottom: 0.5px solid rgba(var(--ink-rgb), 0.12);
}
.vtis-item:first-child { padding-top: 0; }
.vtis-item:last-child { border-bottom: none; }
.vtis-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.vtis-name {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px; font-weight: 500;
  color: var(--aged);
}
.vtis-date {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(var(--ink-rgb), 0.45);
  text-transform: uppercase;
}
.vtis-body {
  font-family: 'EB Garamond', serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.vtis-empty {
  text-align: center;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 16px;
  padding: 28px;
}

@media (max-width: 740px) {
  .vtisi-section { margin-top: 64px; padding-top: 36px; }
  .vtisi-eyebrow { margin-bottom: 36px; }
  .vtis-form { padding: 20px; margin-bottom: 36px; }
  .vtis-form textarea { font-size: 16px; }
  .vtis-item { padding: 18px 0; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  ESEJ BLOCK VARIATIONS PER TIME-OF-DAY                           ║
   ║  Karakter palete znotraj blokov, ne le barvni shift              ║
   ╚══════════════════════════════════════════════════════════════════╝ */

/* ── DROP CAP (NEW) — prva črka prvega text-blokovega odstavka ── */
.esej-content .esej-lead p::first-letter {
  font-family: 'EB Garamond', 'Cormorant Garamond', serif;
  float: left;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════ JUTRO — jasno, zračno, zlato ════════════════ */

body[data-time-of-day="jutro"] .esej-content .esej-lead p::first-letter {
  font-size: 72px;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--aged);
  font-style: normal;
}

body[data-time-of-day="jutro"] .esej-content .text-block h2 {
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  color: var(--aged);
  margin: 56px 0 22px;
  letter-spacing: -0.2px;
}

body[data-time-of-day="jutro"] .esej-content .callout {
  margin: 72px -40px;
  padding: 36px 56px;
  background: var(--bg-elev);
  border-left: 1.5px solid var(--oaza);
  border-top: 0.5px solid rgba(var(--aged-rgb), 0.3);
  position: relative;
}
body[data-time-of-day="jutro"] .esej-content .callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--oaza), transparent);
  opacity: 0.5;
}

body[data-time-of-day="jutro"] .esej-content .callout .label {
  letter-spacing: 3px;
  color: var(--oaza);
  font-weight: 500;
}

body[data-time-of-day="jutro"] .esej-content .pullquote {
  margin: 88px auto;
}
body[data-time-of-day="jutro"] .esej-content .pullquote::before,
body[data-time-of-day="jutro"] .esej-content .pullquote::after {
  width: 60px;
  height: 0.4px;
  background: var(--aged);
}
body[data-time-of-day="jutro"] .esej-content .pullquote .quote {
  font-size: 30px;
  color: var(--aged);
  font-weight: 400;
  letter-spacing: -0.1px;
}
body[data-time-of-day="jutro"] .esej-content .pullquote cite {
  font-size: 11px;
  letter-spacing: 2px;
  font-style: normal;
  text-transform: none;
  color: rgba(var(--ink-rgb), 0.55);
}

body[data-time-of-day="jutro"] .esej-content .esej-ornament .mark {
  font-size: 18px;
  color: var(--aged);
}
body[data-time-of-day="jutro"] .esej-content .esej-ornament .line {
  width: 70px;
  background: rgba(var(--aged-rgb), 0.35);
}

body[data-time-of-day="jutro"] .esej-content .esej-figure {
  margin: 72px -20px;
}
body[data-time-of-day="jutro"] .esej-content .esej-figure img {
  box-shadow: 0 18px 40px rgba(var(--aged-rgb), 0.18);
}

/* ════════════════ POPOLDNE — uravnoteženo, gravurno (DEFAULT) ════════════════ */

body[data-time-of-day="popoldne"] .esej-content .esej-lead p::first-letter,
:root .esej-content .esej-lead p::first-letter {
  font-size: 60px;
  line-height: 0.85;
  margin: 8px 12px 0 0;
  color: var(--ink);
  font-style: italic;
}

/* Popoldne callout/pullquote/ornament: status quo (definirano v general .esej-content rules) */

/* ════════════════ VEČER — kontemplativno, težko, bronza ════════════════ */

body[data-time-of-day="vecer"] .esej-content .esej-lead p::first-letter {
  font-size: 64px;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--oaza);
  font-weight: 500;
  text-shadow: 0 0 24px rgba(208, 90, 48, 0.25);
}

body[data-time-of-day="vecer"] .esej-content .text-block h2 {
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  color: var(--aged);
  margin: 72px 0 26px;
  letter-spacing: -0.1px;
}

body[data-time-of-day="vecer"] .esej-content .callout {
  margin: 100px -40px;
  padding: 52px 56px;
  background: var(--bg-elev);
  border-left: 3px solid var(--oaza);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45),
              0 0 80px rgba(208, 90, 48, 0.06) inset;
}

body[data-time-of-day="vecer"] .esej-content .callout .label {
  letter-spacing: 5px;
  color: var(--oaza);
}

body[data-time-of-day="vecer"] .esej-content .pullquote {
  margin: 120px auto;
}
body[data-time-of-day="vecer"] .esej-content .pullquote::before,
body[data-time-of-day="vecer"] .esej-content .pullquote::after {
  width: 50px;
  height: 0.7px;
  background: var(--aged);
  box-shadow: 0 0 12px rgba(var(--aged-rgb), 0.4);
}
body[data-time-of-day="vecer"] .esej-content .pullquote .quote {
  font-size: 32px;
  color: var(--aged);
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 0 30px rgba(var(--aged-rgb), 0.15);
}
body[data-time-of-day="vecer"] .esej-content .pullquote cite {
  font-style: italic;
  letter-spacing: 2px;
  color: rgba(var(--aged-rgb), 0.7);
  font-size: 12px;
}

body[data-time-of-day="vecer"] .esej-content .esej-ornament .mark {
  font-size: 26px;
  color: var(--aged);
  text-shadow: 0 0 20px rgba(var(--aged-rgb), 0.4);
}
body[data-time-of-day="vecer"] .esej-content .esej-ornament .line {
  width: 90px;
  background: rgba(var(--aged-rgb), 0.45);
}

body[data-time-of-day="vecer"] .esej-content .esej-figure {
  margin: 100px -20px;
}
body[data-time-of-day="vecer"] .esej-content .esej-figure img {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(var(--aged-rgb), 0.08) inset;
}

/* Promoted vtisi — naslijajo karakter slot-a v rdečo terakotno */
body[data-time-of-day="jutro"] .pullquote.vtis-promoted .quote { color: var(--oaza); }
body[data-time-of-day="popoldne"] .pullquote.vtis-promoted .quote { color: var(--oaza); }
body[data-time-of-day="vecer"] .pullquote.vtis-promoted .quote { 
  color: var(--oaza);
  text-shadow: 0 0 30px rgba(208, 90, 48, 0.2);
}

/* Mobile — drop cap manjši */
@media (max-width: 740px) {
  body[data-time-of-day="jutro"] .esej-content .esej-lead p::first-letter { font-size: 56px; margin: 4px 10px 0 0; }
  :root .esej-content .esej-lead p::first-letter,
  body[data-time-of-day="popoldne"] .esej-content .esej-lead p::first-letter { font-size: 48px; margin: 6px 10px 0 0; }
  body[data-time-of-day="vecer"] .esej-content .esej-lead p::first-letter { font-size: 52px; margin: 4px 12px 0 0; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  VEČERNI AMBIENT — mehki glow zvezdice + počasne krivulje         ║
   ╚══════════════════════════════════════════════════════════════════╝ */

.vecer-stars,
.vecer-curves {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}
.vecer-stars svg,
.vecer-curves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Zvezdice — SVG glow filter daje mehkobo, nimajo CSS blur (bi bilo dvojno) */
.vecer-stars {
  opacity: 0.55;
}
.vecer-stars circle {
  transform-origin: center;
  transform-box: fill-box;
}

/* Počasna pulzacija — od skoraj nevidno do nežno svetlo, ne moteče */
@keyframes vecerStar {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.15);
  }
}

/* Krivulje — zelo redke, počasne, izrišejo in se počasi raztopijo */
.vecer-curves {
  opacity: 0.6;
}
.vecer-curve {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
}
.vecer-curve.vc1 { animation: vecerCurveDraw 65s ease-in-out infinite; animation-delay: 0s; }
.vecer-curve.vc2 { animation: vecerCurveDraw 80s ease-in-out infinite; animation-delay: 25s; }
.vecer-curve.vc3 { animation: vecerCurveDraw 95s ease-in-out infinite; animation-delay: 55s; }

@keyframes vecerCurveDraw {
  0%   { stroke-dashoffset: 2400; opacity: 0; }
  12%  { opacity: 0.7; }
  50%  { stroke-dashoffset: 0; opacity: 0.8; }
  72%  { stroke-dashoffset: -1200; opacity: 0.3; }
  100% { stroke-dashoffset: -2400; opacity: 0; }
}

/* Ambient glow — globje ozadje, dolg cikel */
body[data-time-of-day="vecer"]::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 28% 22%, rgba(208, 90, 48, 0.04), transparent 55%),
    radial-gradient(ellipse at 72% 78%, rgba(200, 144, 96, 0.05), transparent 55%),
    radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.18) 100%);
  animation: vecerGlowPulse 24s ease-in-out infinite alternate;
}

@keyframes vecerGlowPulse {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Reduce motion respect */
@media (prefers-reduced-motion: reduce) {
  .vecer-stars circle,
  .vecer-curve,
  body[data-time-of-day="vecer"]::after {
    animation: none;
  }
  .vecer-curve { stroke-dashoffset: 0; opacity: 0.3; }
}

/* ── BACK-TO-HOME LINK — discrete top-left ── */
.back-to-home {
  position: fixed;
  top: 22px; left: 28px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  font-weight: 400;
  color: rgba(var(--ink-rgb), 0.55);
  text-decoration: none;
  border: 0.5px solid rgba(var(--ink-rgb), 0.2);
  border-radius: 20px;
  background: rgba(var(--ink-rgb), 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}
.back-to-home:hover {
  color: var(--oaza);
  border-color: rgba(var(--oaza), 0.4);
  background: rgba(var(--ink-rgb), 0.06);
}
.back-to-home svg { transition: transform 220ms ease; flex-shrink: 0; }
.back-to-home:hover svg { transform: translateX(-2px); }

@media (max-width: 740px) {
  .back-to-home {
    top: 12px; left: 12px;
    font-size: 10px;
    padding: 5px 10px 5px 8px;
  }
  .back-to-home span { display: none; }  /* only chevron on mobile */
}

/* Don't fight with vecer ambient z-index */
body[data-time-of-day="vecer"] .back-to-home {
  border-color: rgba(232, 220, 192, 0.18);
  background: rgba(26, 22, 18, 0.5);
  color: rgba(232, 220, 192, 0.55);
}
body[data-time-of-day="vecer"] .back-to-home:hover {
  color: var(--oaza);
  border-color: rgba(208, 90, 48, 0.4);
}
/* ════════════════════════════════════════════════════════════════
   gravura.css — MOBILE / REDUCED-MOTION PATCH (2026-05-18)
   Append na konec /listening-room/css/gravura.css
   ── Reši flicker na 120Hz mobile (Samsung Tab S9 + Chrome)
   ── Ohranja desktop look + cinematic aesthetic
   ════════════════════════════════════════════════════════════════ */

/* ─── A. Compositor hints — VSEPOVSOD (desktop + mobile) ─────────
   Brez teh hint-ov, paint-i invalidirajo cele subtree-je vsakič
   ko se transform spremeni. Z will-change: transform pa pride 
   layer na GPU. Pomembno za 120Hz: jitter izgine, ker compositor
   ne čaka na main thread za vsak frame. */

.gravure-arc-1,
.gravure-arc-2,
.gravure-arc-3,
.gravure-extra-1,
.gravure-extra-2,
.gravure-extra-3,
.ink-blob,
.orbit,
.orbit-dot,
.medallion-ornament,
.player {
  will-change: transform;
}

/* ink-blob ima dodatno blur(40px) filter — fixiraj layer */
.ink-blob {
  will-change: transform, filter;
  transform: translateZ(0);  /* force layer creation, sicer ne-Chromium ignorira will-change */
}

/* ─── B. Mobile / coarse pointer / reduced motion ────────────────
   Killtarget: heavy SVG composite + filter elementi. 
   NE killamo player.up transition, scroll reveal, button hover —
   to je UX feedback, ne ambient. */

@media (prefers-reduced-motion: reduce),
       (hover: none) and (pointer: coarse) {

  /* Heavy infinite animations — STOP. Ohranimo settled state. */
  .gravure-arc-1,
  .gravure-arc-2,
  .gravure-arc-3,
  .gravure-extra-1,
  .gravure-extra-2,
  .gravure-extra-3,
  .ink-blob,
  .orbit-1,
  .orbit-2,
  .orbit-3,
  .orbit-4,
  .orbit-dot,
  .medallion-ornament,
  .toggle-chevron,
  .vecer-stars circle,
  .vecer-curve,
  body[data-time-of-day="vecer"]::after {
    animation: none !important;
  }

  /* Curves: pokaži dokončan stroke, ne invisible */
  .vecer-curve { 
    stroke-dashoffset: 0; 
    opacity: 0.3; 
  }

  /* Vecer glow ::after: pokaži stalno settled opacity */
  body[data-time-of-day="vecer"]::after { 
    opacity: 0.85; 
  }

  /* pressing-state acceleration — irrelevant brez animacij */
  body.pressing .gravure-arc-1,
  body.pressing .gravure-arc-2,
  body.pressing .gravure-arc-3,
  body.pressing .ink-blob {
    animation: none !important;
  }

  /* drawCurveIn ostane (forwards, ne infinite) — OK na mobile */
}

/* ─── C. Mobile-only: kill SVG feGaussianBlur na vecer-stars ───
   feGaussianBlur na 35 separately-animating circle-ih je 
   GLAVNI krivec za flicker na Tab S9 (compositor ne zmore 
   ponovno blur-ati 35 layerov na 120Hz). 
   Filter-jev v starszej animaciji nismo dovolj samo z 
   animation:none — circle-i tudi v stalnem stanju nosijo filter.
   Drop filter na mobile, ohrani na desktop. */

@media (hover: none) and (pointer: coarse) {
  .vecer-stars g[filter] { 
    filter: none !important; 
  }
  /* Mini-kompenzacija: stars rahlo svetlejši, sicer 
     izgledajo kot pikice brez bleska */
  .vecer-stars circle {
    opacity: 0.7;
  }
}

/* ─── D. Player: extra robustnost ──────────────────────────────
   Player ima transition: transform 800ms ease. Na 120Hz brez 
   composite hint-a (zdaj rešen v sekciji A) bi lahko bil jerky 
   pri slide-up. Backup: backface-visibility hidden. */

.player {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ─── E. Tipkovnica viewport resize mitigation (mobile) ────────
   Kontekst: user pravi "med tipkanjem izginja stran". Ko Android
   tipkovnica pride gor, viewport.height shrink → vse 
   position:fixed inset:0 elementi se relayout-ajo + repaint-ajo.
   Ink-blob z filter:blur(40px) je glavni krivec (filter repaint
   pri vsaki viewport spremembi = expensive). Vecer-stars/curves
   sta deklarirana z redundantnim width:100vw + height:100vh —
   to še bolj sproži repaint na keyboard show.
   
   Plus: header.php viewport meta naj dobi
   `interactive-widget=overlays-content` — to je ROOT cause fix. 
   Spodaj je defensive CSS za primer če flag ne deluje. */

@media (hover: none) and (pointer: coarse) {
  
  /* Vecer ambient: 100vw/100vh sta redundantna (inset:0 že 
     sizing-a), ampak v specifikaciji konkurirajo + povzročijo 
     reflow ob viewport spremembi. Override z 100% (deduce iz 
     inset:0 parent boxa, ne iz viewporta). */
  .vecer-stars,
  .vecer-curves {
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Ink-blob: filter:blur(40px) je drag-net za GPU pri vsakem 
     viewport resize. Substituiraj z radial-gradient ki ima 
     enako vizualno (blurred blob) brez filter cost-a. */
  .ink-blob {
    filter: none !important;
  }
  .ink-blob.b1,
  .ink-blob.b2 {
    /* Soft blob look brez CSS filter — radial-gradient s 
       soft transparent edge naredi enak end-result. */
    background: radial-gradient(
      ellipse at center, 
      var(--blob-1, rgba(208,90,48,0.18)) 0%, 
      transparent 65%
    ) !important;
  }
  
  /* Paint containment: izoliraj ambient elemente, da paint 
     znotraj ne triggera paint zunaj. Ključno ko keyboard 
     pride gor in nekateri elementi MORAJO repainat — drugi 
     ostanejo. */
  .gravura-bg,
  .gravure-layer,
  .ink-blob,
  .vecer-stars,
  .vecer-curves {
    contain: layout paint;
  }
  
  /* Back-to-home backdrop-filter blur(8px) — še en kandidat 
     za drago repaint. Drop na mobile. */
  .back-to-home {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ─── F. Player playback flicker (mobile) ──────────────────────
   Kontekst: user pravi player flicker se vrne TUDI po viewport
   meta fix-u — vendar SAMO med playback-om. Diagnoza:
   
   gravura.js (timeupdate handler, ~4-10× sec):
     scrubFill.style.width = (audio.currentTime / audio.duration * 100) + '%';
   
   gravura.css line 1312:
     .scrub-fill { transition: width 200ms ease; }
   
   Vsak timeupdate sproži novo 200ms width animacijo. Stara še 
   teče, prihaja nova → continuous interrupted tweens → paint
   storm na 60fps celoten čas playback-a. Width je layout property
   (ne composite-only kot transform) → layout invalid → paint
   invalid → 60fps paint loop med playback-om.
   
   Kombinirano z ambient compositorjem (vecer-stars filter,
   ink-blob blur, gravure-arc rotacije) GPU ne dohaja → frame
   drops → flicker. Scrub-bar je viden samo na >740px ekranih
   (na telefonu skrit z display:none v line 1644) → TABLICA je
   ravno target ki vidi to.
   
   Fix: kill transition na touch device-ih (instant updates =
   4-10 paintov/sec namesto kontinuiranega 60fps). Plus 
   contain: layout paint na .scrub-bar izolira paint region. */

@media (hover: none) and (pointer: coarse) {
  
  /* GLAVNA REŠITEV: transition kill — paint storm vir */
  .scrub-fill,
  .scrub-fill::after {
    transition: none !important;
  }
  
  /* Paint containment: width change v .scrub-fill triggera 
     layout SAMO znotraj .scrub-bar boxa, ne v celem player-ju. 
     "contain: layout paint" pove browseru: nič znotraj tega 
     elementa ne vpliva na zunanje sibling-e/parent-e. */
  .scrub-bar {
    contain: layout paint;
  }
  
  /* Player-ja hover transitions niso potrebne na touch (ni hover-a).
     Vsaka transition = layer paint job ko Brave/Chrome odpre 
     :hover state pri tap-u. Drop them. */
  .player-cover-art,
  .player-tab svg,
  .player-controls button {
    transition: none !important;
  }
  
  /* Plus volume bar: enak vzorec kot scrub-fill (vrstica 331 v 
     gravura.js: volFill.style.width = ...). Med drag-om volume 
     ima isto težavo. Tudi tu transition off. */
  .vol-fill,
  .player-vol .vol-fill,
  [class*="vol-fill"] {
    transition: none !important;
  }
}

/* ─── G. Pinch-zoom paint stabilnost ───────────────────────────
   Kontekst: user pravi flicker se vrne ko zoom-aša tekst 
   (pinch-to-zoom na tablici). Razlog:
   
   position: fixed; inset: 0 elementi (gravura-bg, gravure-layer, 
   body[data-time-of-day=vecer]::after) imajo radial-gradient 
   backgrounds — to so PAINT operacije, ne composite. Med 
   pinch-zoom-om browser scal-a visual viewport. Fixed elementi 
   ostanejo "fixed" v layout viewport-u, A njihovi viewport-relative 
   inset:0 boxes se merijo proti visual viewport (browser-specific 
   ali specifikacijsko nedoločeno). Browser pri vsaki gesture frame 
   prerisuje gradient → 3 radial-gradients × 2560px × 60fps = 
   compositor overload.
   
   Section A je dodala will-change: transform na SVG elemente 
   (gravure-arc, ink-blob, orbit), AMPAK gradient containerji 
   (gravura-bg, gravure-layer, body::after, vecer-stars/curves) 
   so ostali brez layer hint-a.
   
   Fix: explicit GPU compositor layer (transform: translateZ(0) + 
   will-change: transform). Z lastnim composite layer-om browser 
   skalira layer z GPU transform-om namesto re-paint-anjem 
   gradient-a vsak frame. */

.gravura-bg,
.gravure-layer,
.vecer-stars,
.vecer-curves,
body[data-time-of-day="vecer"]::after {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Plus: preprečimo Android Chromium-u/Brave-u "auto-resize" 
   font-size-a med double-tap zoom-om. text-size-adjust: 100% 
   pomeni "uporabi font-size kot je deklariran, ne auto-prilagajaj". 
   Ko je pinch-zoom aktiven, brez tega lahko browser preračunava 
   computed font-size za vsak text node → reflow → repaint. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Plus mobile-specific: scrollbar gutter stabilen, sicer ko 
   browser zoom-aša + scroll dela, lahko se layout shifta. */
@media (hover: none) and (pointer: coarse) {
  html {
    scrollbar-gutter: stable;
  }
}

/* ════════════════════════════════════════════════════════════════
   ─── H. NO-ALBUM VIEW — Cinematic ornament + breathing animations
   ════════════════════════════════════════════════════════════════
   
   Estetika: fermata-flourish (⌒) nad naslovom, diamond-endnote pod 
   bodyjem. Fermata je v glasbeni notaciji znak "drži kolikor želiš" 
   — popoln eko za "počitek in mir" sporočilo.
   
   Časovni traku animacij (vse forwards, brez loop razen breath/pulse):
     0.4s  — ornament container fade-in starts
     0.8s  — left curve draws in (3.6s arc)
     1.1s  — right curve draws in (mirror)
     1.6s  — title fades up
     2.4s  — body text fades up
     2.6s  — fermata arch draws in (2.4s)
     3.2s  — central dot scale-in
     3.6s  — flanking dots fade in
     3.8s  — tail diamond fades in
     4.4s  — logout link fades in
     5s+   — gentle infinite breath on dots + fermata
   
   Skupna "settle" doba: ~6s. Dolg, kontemplativen ritem ki ujame 
   ECM/Bach senzibilnost. Hitro skipnjen na mobile/reduced-motion.
*/

.view-no-album {
  display: block;
  padding: 88px 24px 64px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* ── Top ornament: fermata flourish ── */

.no-album-ornament {
  color: var(--aged);
  width: 280px;
  margin: 0 auto 44px;
  opacity: 0;
  animation: noAlbumOrnamentIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
  will-change: opacity;
}

.no-album-flourish {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.no-album-curve {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: noAlbumCurveDraw 3.6s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}
.no-album-curve-r {
  animation-delay: 1.1s;
}

.no-album-fermata {
  stroke-dasharray: 65;
  stroke-dashoffset: 65;
  animation: 
    noAlbumFermataDraw 2.4s cubic-bezier(0.4, 0, 0.2, 1) 2.6s forwards,
    noAlbumFermataBreath 14s ease-in-out 6s infinite alternate;
}

.no-album-dot {
  opacity: 0;
  transform-origin: 140px 32px;
  transform-box: fill-box;
  animation: 
    noAlbumDotIn 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) 3.2s forwards,
    noAlbumDotPulse 7s ease-in-out 5.4s infinite alternate;
}

.no-album-dot-aux {
  opacity: 0;
  animation: 
    noAlbumDotAuxIn 1.4s ease-out 3.6s forwards,
    noAlbumDotAuxPulse 9s ease-in-out 5.6s infinite alternate;
}
.no-album-dot-r {
  animation-delay: 3.9s, 5.8s;
}

/* ── Title & body ── */

.no-album-title {
  font-family: 'EB Garamond', serif;
  font-size: 54px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.005em;
  line-height: 1;
  opacity: 0;
  animation: noAlbumTitleIn 1.6s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards;
}

.no-album-body {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 19.5px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 60px;
  opacity: 0;
  animation: noAlbumBodyIn 1.6s cubic-bezier(0.4, 0, 0.2, 1) 2.4s forwards;
}

/* ── Bottom tail-piece: diamond endnote ── */

.no-album-tail {
  color: var(--aged);
  width: 140px;
  margin: 0 auto 36px;
  opacity: 0;
  animation: noAlbumOrnamentIn 1.4s ease-out 3.8s forwards;
}

.no-album-tail-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.no-album-tail-line {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: noAlbumTailLineDraw 1.6s cubic-bezier(0.4, 0, 0.2, 1) 4.0s forwards;
}
.no-album-tail-line-r {
  animation-delay: 4.3s;
}

.no-album-tail-diamond {
  opacity: 0;
  transform-origin: 72px 7px;
  transform-box: fill-box;
  animation: 
    noAlbumDiamondIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 4.6s forwards,
    noAlbumDiamondPulse 11s ease-in-out 7s infinite alternate;
}

/* ── Logout link ── */

.no-album-logout {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  opacity: 0;
  animation: noAlbumLogoutIn 1.2s ease-out 4.4s forwards;
}
.no-album-logout a {
  color: var(--aged);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(var(--aged-rgb, 110, 74, 42), 0.4);
  padding-bottom: 3px;
  transition: opacity 360ms ease, border-color 360ms ease;
}
.no-album-logout a:hover {
  opacity: 0.7;
  border-bottom-color: rgba(var(--aged-rgb, 110, 74, 42), 0.7);
}

/* ── Keyframes ── */

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

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

@keyframes noAlbumBodyIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 0.82; transform: translateY(0); }
}

@keyframes noAlbumLogoutIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 0.75; transform: translateY(0); }
}

@keyframes noAlbumCurveDraw {
  from { stroke-dashoffset: 220; }
  to   { stroke-dashoffset: 0; }
}

@keyframes noAlbumFermataDraw {
  from { stroke-dashoffset: 65; }
  to   { stroke-dashoffset: 0; }
}

@keyframes noAlbumTailLineDraw {
  from { stroke-dashoffset: 50; }
  to   { stroke-dashoffset: 0; }
}

@keyframes noAlbumDotIn {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes noAlbumDotAuxIn {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}

@keyframes noAlbumDiamondIn {
  0%   { opacity: 0; transform: scale(0) rotate(-45deg); }
  60%  { opacity: 0.8; transform: scale(1.2) rotate(0deg); }
  100% { opacity: 0.7; transform: scale(1) rotate(0deg); }
}

/* Infinite breath cycles — start AFTER initial draw settles */

@keyframes noAlbumFermataBreath {
  0%   { stroke-width: 0.85; opacity: 0.85; }
  100% { stroke-width: 1.05; opacity: 1; }
}

@keyframes noAlbumDotPulse {
  0%   { opacity: 0.85; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.08); }
}

@keyframes noAlbumDotAuxPulse {
  0%   { opacity: 0.4; }
  100% { opacity: 0.7; }
}

@keyframes noAlbumDiamondPulse {
  0%   { opacity: 0.55; transform: scale(0.95); }
  100% { opacity: 0.85; transform: scale(1.05); }
}

/* ── Mobile / reduced-motion: pokaži settled state, brez animacij ── */

@media (prefers-reduced-motion: reduce),
       (hover: none) and (pointer: coarse) {
  
  .no-album-ornament,
  .no-album-title,
  .no-album-tail,
  .no-album-logout {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  
  .no-album-body {
    animation: none !important;
    opacity: 0.82;
    transform: none;
  }
  
  .no-album-logout {
    opacity: 0.75;
  }
  
  .no-album-curve,
  .no-album-fermata,
  .no-album-tail-line {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  
  .no-album-dot,
  .no-album-tail-diamond {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  
  .no-album-dot-aux {
    opacity: 0.55;
    animation: none !important;
  }
}

/* ── Manjši ekrani — proporcionalno skaliraj ── */

@media (max-width: 740px) {
  .view-no-album { padding: 56px 20px 40px; }
  .no-album-ornament { width: 220px; margin-bottom: 36px; }
  .no-album-title { font-size: 42px; margin-bottom: 24px; }
  .no-album-body { font-size: 17px; line-height: 1.6; margin-bottom: 44px; }
  .no-album-tail { width: 110px; margin-bottom: 28px; }
}

@media (max-width: 380px) {
  .no-album-title { font-size: 36px; }
  .no-album-body { font-size: 16px; }
  .no-album-ornament { width: 200px; }
}

/* ─── H+. Per-time-of-day subtilne razlike za no-album view ─────
   Glavni vizualni shift med slot-i dela že theme palette (--ink, --aged
   se redefine na body[data-time-of-day]). Tukaj samo dodaten emfazni 
   touch per slot, da se trije časi razlikujejo MED SABO, ne samo proti 
   "normalni" album page.
   
   Vecer-specific: rezerviran za naslednji korak (večja vizualna 
   nadgradnja). Zdaj samo blagi boost za luminoznost.
*/

/* JUTRO — toplota jutranjega zlatega, body malce trdneje */
body[data-time-of-day="jutro"] .no-album-ornament,
body[data-time-of-day="jutro"] .no-album-tail {
  filter: saturate(1.1);  /* aged var zlat → bolj viden */
}
body[data-time-of-day="jutro"] .no-album-title {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.4);  /* zelo subtle dawn-glow */
}
body[data-time-of-day="jutro"] .no-album-body {
  color: rgba(var(--ink-rgb, 26, 22, 18), 0.85);
}

/* POPOLDNE — default state, brez dodatkov. Mid-day kontemplacija je 
   "neutral" centerpiece med jutro in vecer. */

/* VECER — globlja intima, kremasti highlight, počasi diha bolj globoko.
   Mobile-safe: NO filter:drop-shadow ali backdrop-filter (compositor cost).
   Samo opacity/color, ki sta cheap. */
body[data-time-of-day="vecer"] .no-album-title {
  color: var(--ink);
  letter-spacing: 0;  /* malce odprto, dihajoče */
}
body[data-time-of-day="vecer"] .no-album-body {
  color: rgba(var(--ink-rgb, 232, 220, 192), 0.92);
}
body[data-time-of-day="vecer"] .no-album-ornament,
body[data-time-of-day="vecer"] .no-album-tail {
  /* var(--aged) v vecer je #c89060 (rust-gold) — že lepo. 
     Subtle opacity boost na ornament dele da resa malce bolj svetijo. */
  filter: brightness(1.08) saturate(1.1);
}
/* Vecer: dotpulse breath bolj globok (večja amplituda) */
body[data-time-of-day="vecer"] .no-album-dot {
  animation-name: noAlbumDotIn, noAlbumDotPulseDeep;
}
@keyframes noAlbumDotPulseDeep {
  0%   { opacity: 0.7; transform: scale(0.85); }
  100% { opacity: 1;   transform: scale(1.18); }
}

/* Mobile (touch + reduced-motion) — disable filtre tudi za per-time
   razlikovanje (filter je drag na mobile compositor). 
   Naj theme palette govori sama, brez filter post-process-a. */
@media (prefers-reduced-motion: reduce),
       (hover: none) and (pointer: coarse) {
  body[data-time-of-day="jutro"] .no-album-ornament,
  body[data-time-of-day="jutro"] .no-album-tail,
  body[data-time-of-day="vecer"] .no-album-ornament,
  body[data-time-of-day="vecer"] .no-album-tail {
    filter: none !important;
  }
  body[data-time-of-day="vecer"] .no-album-dot {
    animation: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   ─── I. VECER READING FATIGUE FIX — calmer chroma, focused vignette
   ════════════════════════════════════════════════════════════════
   
   Problem: user pravi, da vecer ima preveč rdečkastega glow-a iz 
   ozadja, branje je moteče. Diagnoza:
   
   1. body::after ima radial-gradient z rgba(208,90,48,0.04) terracotta 
      v zgornjem-levem — to RGB je --oaza (brand red). Še 0.04 opacity 
      seštev na dark cream-on-dark layer-ih daje viden warm-red wash.
   
   2. vecerGlowPulse cikli to gradient od opacity 0.7 → 1.0 (24s alt). 
      Razlika je velika dovolj, da oko ZAZNAVA cikel kot mikro-flicker.
   
   3. Body text trenutno: color rgba(232,220,192,0.92) × opacity 0.82 
      (animacija end-state) = effektivno 0.75 alpha. Prosojno cream 
      na warm-dark = chromatic fatigue. Oko mora konstantno re-fokusirati.
   
   Fix: cool down terracotta v ambient (zamenjava chroma na honey-cream
   z manj opacity), pomiri glow-pulse (manjša amplituda), solid ink 
   text v vecer (no alpha), plus subtle reading vignette okrog vsebine.
*/

/* I.1 — Body::after: zamenjaj terracotta s honey-cream, deeper vignette,
   manjše opacity vrednosti za mirnejši ambient. */
body[data-time-of-day="vecer"]::after {
  background:
    radial-gradient(ellipse at 28% 22%, rgba(220, 180, 130, 0.022), transparent 60%),
    radial-gradient(ellipse at 72% 78%, rgba(190, 160, 110, 0.028), transparent 60%),
    radial-gradient(ellipse at 50% 55%, transparent 40%, rgba(0, 0, 0, 0.32) 100%);
}

/* I.2 — Pomiri glow-pulse animacijo: manjša amplituda, počasnejši cikel.
   Cilj: skoraj-nezaznaven breath, ne razloček-vidno flicker. */
@keyframes vecerGlowPulse {
  0%   { opacity: 0.88; }
  100% { opacity: 1; }
}

/* I.3 — Solid cream text v vecer (no alpha decay). 
   Override section H base ki dela rgba+opacity. */
body[data-time-of-day="vecer"] .no-album-body {
  color: var(--ink);
  opacity: 1 !important;
}
body[data-time-of-day="vecer"] .no-album-title {
  color: var(--ink);
}

/* I.4 — Reading vignette: soft dark radial okrog vsebine, samo na 
   "reading" view-ih (no-album, esej). Daje oko "calm island" — center
   svetlejši (kjer je text), obrobje globlje (kjer so distractions).
   Ne uporabljamo position:relative na .view — sicer izgubi z-index 
   layering. position: fixed inset 0, z-index: -1 (pod content, nad 
   ambient body::after). */
body[data-time-of-day="vecer"] .view-no-album::before,
body[data-time-of-day="vecer"] .view-esej::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 720px 520px at center 48%,
    transparent 0%,
    transparent 38%,
    rgba(15, 10, 6, 0.20) 100%
  );
  /* Fade-in z vsebino (1s zamuda da se ne pokaže na page load flash) */
  opacity: 0;
  animation: vecerVignetteIn 1.2s ease-out 0.6s forwards;
  /* Compositor: dovoli GPU layer za pinch-zoom stabilnost */
  transform: translateZ(0);
  will-change: opacity;
}

@keyframes vecerVignetteIn {
  to { opacity: 1; }
}

/* Mobile: vignette OK (cheap radial-gradient v lastnem layer-ju),
   ampak animacija drop-ana skladno s section B. */
@media (prefers-reduced-motion: reduce),
       (hover: none) and (pointer: coarse) {
  body[data-time-of-day="vecer"] .view-no-album::before,
  body[data-time-of-day="vecer"] .view-esej::before {
    animation: none !important;
    opacity: 1;
  }
}
/* ─────────────────────────────────────────────────────────────
 * MUSIC-EXAMPLE — gold-standard musicological figure
 * Append to gravura.css after the existing .esej-figure rules
 * (around line 1095 in May 2026 build, after the figcaption em styling).
 *
 * Looks like Cambridge Companions / Music & Letters / JAMS.
 * ───────────────────────────────────────────────────────────── */

.esej-content .esej-music-example {
  margin: 64px -20px;
  padding: 36px 32px 30px;
  background: rgba(156, 123, 78, 0.03);
  border-top: 0.5px solid rgba(156, 123, 78, 0.4);
  border-bottom: 0.5px solid rgba(156, 123, 78, 0.4);
  text-align: center;
}

.esej-content .esej-music-example-full {
  margin: 80px -40px;
  padding: 44px 40px 36px;
}

.esej-content .esej-music-example .example-eyebrow {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--aged, #9c7b4e);
  margin-bottom: 26px;
  display: inline-block;
  padding: 0 0 6px;
  border-bottom: 0.5px solid rgba(156, 123, 78, 0.4);
}

.esej-content .esej-music-example .example-notation {
  background: #fefcf7;
  padding: 28px 32px;
  margin: 0 auto;
  max-width: 720px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  border: 0.5px solid rgba(156, 123, 78, 0.3);
}

.esej-content .esej-music-example .example-notation img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.esej-content .esej-music-example figcaption {
  margin-top: 24px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(var(--ink-rgb), 0.82);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.esej-content .esej-music-example .example-title {
  display: block;
  font-style: italic;
  font-size: 15px;
  color: rgba(var(--ink-rgb), 0.88);
  margin-bottom: 6px;
}

.esej-content .esej-music-example .example-title em {
  font-style: italic; /* nested italic — preserve */
}

.esej-content .esej-music-example .example-source {
  display: block;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: rgba(var(--ink-rgb), 0.58);
  margin-top: 4px;
}

.esej-content .esej-music-example .example-source em {
  font-style: italic;
  color: rgba(var(--ink-rgb), 0.68);
}

.esej-content .esej-music-example .example-analysis {
  margin: 20px auto 0;
  padding: 18px 24px 0;
  border-top: 0.5px dashed rgba(156, 123, 78, 0.35);
  font-family: 'EB Garamond', Georgia, serif;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(var(--ink-rgb), 0.75);
  max-width: 560px;
  text-align: left;
}

.esej-content .esej-music-example .example-analysis em {
  font-style: italic;
}

.esej-content .esej-music-example .example-analysis strong {
  font-weight: 600;
  color: rgba(var(--ink-rgb), 0.88);
}

/* ── Time-of-day variants ── */

body[data-time-of-day="jutro"] .esej-content .esej-music-example {
  background: rgba(184, 151, 106, 0.04);
  border-color: rgba(184, 151, 106, 0.45);
}
body[data-time-of-day="jutro"] .esej-content .esej-music-example .example-notation {
  background: #fdfaf2;
  border-color: rgba(184, 151, 106, 0.35);
}

body[data-time-of-day="vecer"] .esej-content .esej-music-example {
  background: rgba(184, 151, 106, 0.06);
  border-color: rgba(184, 151, 106, 0.55);
}
body[data-time-of-day="vecer"] .esej-content .esej-music-example .example-notation {
  background: #f5ebd8;
  border-color: rgba(184, 151, 106, 0.45);
  box-shadow: 0 14px 32px rgba(20, 18, 14, 0.45);
}
body[data-time-of-day="vecer"] .esej-content .esej-music-example .example-eyebrow {
  color: #c9a96b;
  border-color: rgba(201, 169, 107, 0.5);
}

/* ── Mobile ── */

@media (max-width: 720px) {
  .esej-content .esej-music-example {
    margin: 48px -16px;
    padding: 26px 16px 22px;
  }
  .esej-content .esej-music-example-full {
    margin: 56px -16px;
    padding: 32px 16px 26px;
  }
  .esej-content .esej-music-example .example-notation {
    padding: 18px 14px;
  }
  .esej-content .esej-music-example .example-eyebrow {
    font-size: 9px;
    letter-spacing: 0.28em;
    margin-bottom: 20px;
  }
  .esej-content .esej-music-example .example-title {
    font-size: 14px;
  }
  .esej-content .esej-music-example .example-analysis {
    padding: 14px 16px 0;
    margin: 16px 0 0;
    font-size: 13px;
  }
}


/* ================================================================
   ZEV-OAZA-CSS v1 - essay aesthetics: kicker, offset figures,
   lightbox, dirigent rail + baton, cue, book paragraphs
   ================================================================ */

/* book paragraphs: indent instead of gaps (### h3 resets) */
.esej-content .text-block .text-body p { margin-bottom: 0; }
.esej-content .text-block .text-body p + p { text-indent: 2.1em; }
.esej-content .text-block .text-body h3 + p { text-indent: 0; }
.esej-content .text-block { margin-bottom: 84px; }

/* lead drop cap */
.esej-content .esej-lead p:first-child::first-letter {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: 4.4em; float: left; line-height: .82;
  padding: .05em .12em 0 0; color: var(--aged);
}

/* kicker + two-tone titles */
.zev-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.zev-kicker .zev-roman {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 28px; line-height: 1; color: var(--aged); letter-spacing: .06em;
}
.zev-kicker .zev-rule { width: 0; height: 1px; background: linear-gradient(90deg, var(--aged), transparent); transition: width 1.3s cubic-bezier(.22,1,.36,1) .35s; }
.reveal.in .zev-kicker .zev-rule { width: 72px; }
.esej-content .text-block h2 .zev-t2 { font-style: italic; font-weight: 400; color: var(--aged); }

/* figures: offset alternator + wide breathing + hover */
.esej-content .esej-figure img { transition: transform 1.1s cubic-bezier(.22,1,.36,1), box-shadow 1.1s cubic-bezier(.22,1,.36,1); }
.esej-content .esej-figure img[data-zev-lb] { cursor: zoom-in; }
.esej-content .esej-figure img[data-zev-lb]:hover { transform: scale(1.012); box-shadow: 0 26px 64px rgba(var(--ink-rgb), .22); }
@media (min-width: 981px) {
  .esej-content .esej-figure.zev-fig-l, .esej-content .esej-figure.zev-fig-r {
    width: min(94vw, 1060px); position: relative; left: 50%; transform: translateX(-50%);
    display: grid; gap: clamp(20px, 3vw, 44px); align-items: end; margin: 72px 0;
  }
  .esej-content .esej-figure.zev-fig-l { grid-template-columns: minmax(0,1.55fr) minmax(220px,.7fr); }
  .esej-content .esej-figure.zev-fig-r { grid-template-columns: minmax(220px,.7fr) minmax(0,1.55fr); }
  .esej-content .esej-figure.zev-fig-r .zev-fig-img { order: 2; }
  .esej-content .esej-figure.zev-fig-r figcaption { order: 1; text-align: right; }
  .esej-content .esej-figure.zev-fig-l figcaption, .esej-content .esej-figure.zev-fig-r figcaption {
    margin-top: 0; padding-bottom: 6px; border-bottom: 1px solid rgba(var(--aged-rgb), .35); position: relative;
  }
  .esej-content .esej-figure.zev-fig-l figcaption::before, .esej-content .esej-figure.zev-fig-r figcaption::before {
    content: ''; position: absolute; top: -14px; width: 34px; height: 1px; background: var(--aged);
  }
  .esej-content .esej-figure.zev-fig-r figcaption::before { right: 0; }
  .esej-content .esej-figure-wide { width: min(96vw, 1180px); position: relative; left: 50%; transform: translateX(-50%); }
}

/* progress + rail + baton + cue (essay view only) */
.zev-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 110;
  background: linear-gradient(90deg, var(--aged), var(--oaza)); opacity: 0; transition: opacity .5s ease; }
body.zev-oaza-on .zev-progress { opacity: 1; }
.zev-rail { position: fixed; right: clamp(12px, 2.2vw, 34px); top: 50%; transform: translateY(-50%);
  z-index: 105; display: none; flex-direction: column; align-items: center; }
body.zev-oaza-on .zev-rail { display: flex; }
.zev-rail .zev-rail-line { width: 1px; height: 22px; background: rgba(var(--aged-rgb), .3); }
.zev-rail .zev-dot { width: 9px; height: 9px; padding: 0; border: 1.5px solid var(--aged); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative; transition: all .45s cubic-bezier(.22,1,.36,1); }
.zev-rail .zev-dot.active { background: var(--aged); box-shadow: 0 0 0 5px rgba(var(--aged-rgb), .16); transform: scale(1.15); }
.zev-rail .zev-tip { position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--aged); opacity: 0; pointer-events: none; transition: all .4s cubic-bezier(.22,1,.36,1);
  background: rgba(255,255,255,.78); backdrop-filter: blur(6px); padding: 4px 10px; border: 1px solid rgba(var(--aged-rgb), .3); max-width: 38vw; overflow: hidden; text-overflow: ellipsis; }
.zev-rail .zev-dot:hover .zev-tip, .zev-rail .zev-dot:focus-visible .zev-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.zev-baton { position: fixed; right: clamp(12px, 2.2vw, 34px); bottom: 96px; z-index: 105;
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--aged);
  background: rgba(255,255,255,.6); backdrop-filter: blur(8px); color: var(--aged);
  display: none; align-items: center; justify-content: center; cursor: pointer;
  transition: all .4s cubic-bezier(.22,1,.36,1); box-shadow: 0 6px 24px rgba(var(--ink-rgb), .12); }
body.zev-oaza-on .zev-baton { display: flex; }
.zev-baton:hover { background: var(--aged); color: #fff; }
.zev-baton svg { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.zev-baton.up svg { transform: rotate(180deg); }
.zev-baton::after { content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(var(--aged-rgb), .5); animation: zevPulse 2.6s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes zevPulse { 0% { transform: scale(.92); opacity: .9; } 70% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }
.zev-cue { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 104; }
.zev-cue span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(54px, 9vw, 120px); letter-spacing: .04em; color: rgba(var(--aged-rgb), 0); transition: color .5s ease; }
.zev-cue.show span { color: rgba(var(--aged-rgb), .16); }

/* lightbox */
.zev-lb { position: fixed; inset: 0; z-index: 140; display: none; align-items: center; justify-content: center;
  background: rgba(20,18,15,0); backdrop-filter: blur(0); transition: background .55s cubic-bezier(.22,1,.36,1), backdrop-filter .55s cubic-bezier(.22,1,.36,1); }
.zev-lb.open { display: flex; }
.zev-lb.in { background: rgba(20,18,15,.93); backdrop-filter: blur(10px); }
.zev-lb img { max-width: 92vw; max-height: 82vh; box-shadow: 0 30px 90px rgba(0,0,0,.6); cursor: zoom-out; will-change: transform; }
.zev-lb .zev-lb-cap { position: absolute; bottom: 4.5vh; left: 50%; transform: translateX(-50%);
  max-width: 78ch; text-align: center; font-family: 'Inter', sans-serif; font-size: 12.5px; line-height: 1.6;
  color: rgba(234,228,216,.85); opacity: 0; transition: opacity .5s ease .25s; padding: 0 24px; }
.zev-lb.in .zev-lb-cap { opacity: 1; }
.zev-lb .zev-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; border: 1px solid rgba(184,151,106,.6); background: rgba(26,24,21,.5); color: #c9a96b;
  font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s ease; }
.zev-lb .zev-lb-nav:hover { background: #c9a96b; color: #1a1815; }
.zev-lb .zev-lb-prev { left: 3vw; } .zev-lb .zev-lb-next { right: 3vw; }
.zev-lb .zev-lb-x { position: absolute; top: 3.4vh; right: 3vw; font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: .28em; color: rgba(234,228,216,.7); cursor: pointer; text-transform: uppercase; }

@media (max-width: 980px) { .zev-rail { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .zev-baton::after { animation: none; }
  .zev-kicker .zev-rule { transition: none; width: 72px; }
  .zev-cue { display: none; }
}
/* e-ink: calm everything */
html.e-ink-mode .zev-baton::after { animation: none; }
html.e-ink-mode .zev-progress, html.e-ink-mode .zev-cue { display: none; }
