/* UnyKorn LPS Storyteller — neural MP3 only */
#uk-teller {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(380px, calc(100vw - 24px));
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: #e8e0d2;
  pointer-events: none;
}
#uk-teller * { box-sizing: border-box; }
#uk-teller .uk-card {
  pointer-events: auto;
  background: linear-gradient(180deg, #16120e 0%, #0c0a08 100%);
  border: 1px solid rgba(201, 162, 92, 0.35);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  padding: 14px 14px 12px;
}
#uk-teller.collapsed .uk-body { display: none; }
#uk-teller .uk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#uk-teller .uk-mark {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a25c;
}
#uk-teller .uk-toggle {
  background: transparent;
  border: 1px solid rgba(201,162,92,0.4);
  color: #e8e0d2;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  cursor: pointer;
}
#uk-teller .uk-voices {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin: 12px 0 10px;
}
#uk-teller .uk-voice {
  background: #1c1712;
  border: 1px solid rgba(232,224,210,0.12);
  color: #e8e0d2;
  font: inherit;
  font-size: 12px;
  padding: 8px 6px;
  cursor: pointer;
  text-align: center;
}
#uk-teller .uk-voice small {
  display: block;
  color: #9a8f7d;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 3px;
}
#uk-teller .uk-voice.on {
  border-color: #c9a25c;
  background: #2a2116;
  color: #f3ead8;
}
#uk-teller .uk-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin: 8px 0;
}
#uk-teller .uk-wave i {
  display: block;
  width: 3px;
  height: 6px;
  background: #c9a25c;
  opacity: 0.35;
}
#uk-teller.playing .uk-wave i {
  animation: ukbar 0.9s ease-in-out infinite;
}
#uk-teller.playing .uk-wave i:nth-child(2n) { animation-delay: 0.12s; }
#uk-teller.playing .uk-wave i:nth-child(3n) { animation-delay: 0.24s; }
@keyframes ukbar {
  0%, 100% { height: 6px; opacity: 0.35; }
  50% { height: 26px; opacity: 1; }
}
#uk-teller .uk-title {
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 8px;
}
#uk-teller .uk-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
#uk-teller .uk-play {
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: 1px solid #c9a25c;
  background: #c9a25c;
  color: #140f0b;
  font-size: 16px;
  cursor: pointer;
}
#uk-teller .uk-meta {
  flex: 1;
  font-size: 11px;
  color: #b7ad9c;
}
#uk-teller .uk-progress {
  width: 100%;
  height: 3px;
  background: #2a241c;
  margin-top: 6px;
  appearance: none;
}
#uk-teller .uk-progress::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: #c9a25c;
}
#uk-teller .uk-err {
  color: #d7a07a;
  font-size: 12px;
  margin-top: 8px;
}
#uk-teller .uk-note {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d7466;
}
@media (max-width: 640px) {
  #uk-teller { right: 10px; bottom: 10px; }
}
