/* ============================================================
   LUCKY LOSER — Episode archive ("Das Archiv")
   ============================================================ */

.topnav a.is-current { color: var(--orange); }

/* ---- Header ---- */
.arc-head { background: var(--ink); color: #fff; padding: clamp(7rem,13vh,9.5rem) clamp(1.4rem,5vw,4.5rem) clamp(2.4rem,5vw,3.4rem); }
.arc-head .num { display: block; color: var(--orange); margin-bottom: 1rem; }
.arc-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem,7vw,5.6rem); line-height: .92; letter-spacing: -.02em; color: #fff; }
.arc-title em { color: var(--orange); }
.arc-sub { margin-top: 1.2rem; font-size: .82rem; color: var(--on-2); }
.arc-tools { margin-top: 2.4rem; max-width: 1100px; }
.arc-search { display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.06);
  border: 1px solid var(--on-line); border-radius: 100px; padding: .35rem .5rem .35rem 1.3rem; transition: border-color .3s var(--ease); }
.arc-search:focus-within { border-color: var(--orange); }
.arc-search > svg { color: var(--on-3); flex-shrink: 0; }
.arc-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff;
  font-family: var(--sans); font-size: 1rem; font-weight: 500; padding: .75rem 0; }
.arc-search input::placeholder { color: var(--on-3); }
.arc-search input::-webkit-search-cancel-button { display: none; }
.arc-clear { width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.1);
  color: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; flex-shrink: 0; transition: background-color .25s; }
.arc-clear:hover { background: rgba(255,255,255,.2); }
.arc-filters { display: flex; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.arc-chip { font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--on-2); background: transparent;
  border: 1px solid var(--on-line); border-radius: 100px; padding: .42rem .9rem; cursor: pointer; transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
.arc-chip:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.arc-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ---- List ---- */
.arc-list-wrap { background: var(--paper); padding: clamp(2.5rem,5vw,3.5rem) clamp(1.4rem,5vw,4.5rem) 9rem; min-height: 60vh; }
.arc-meta { max-width: 1100px; margin: 0 auto 1.4rem; font-size: .74rem; color: var(--text-3); }
.arc-meta span#arcQuery { color: var(--orange); }
.arc-list { max-width: 1100px; margin: 0 auto; list-style: none; }
.arc-item { border-top: 1px solid var(--line); }
.arc-item:last-child { border-bottom: 1px solid var(--line); }
.arc-row { display: flex; align-items: center; gap: clamp(.7rem,1.8vw,1.5rem); padding: 1.05rem .4rem; cursor: pointer; transition: background-color .25s var(--ease); }
.arc-row:hover { background: var(--paper-2); }
.arc-n { font-family: var(--mono); font-size: .76rem; color: var(--text-3); width: 3rem; flex-shrink: 0; }
.arc-play { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.arc-play .tri { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--text); margin-left: 2px; transition: border-color .3s var(--ease); }
.arc-play .bars { display: none; gap: 2.5px; }
.arc-play .bars i { width: 3px; height: 13px; background: #fff; border-radius: 1px; }
.arc-row:hover .arc-play, .arc-item.playing .arc-play { background: var(--orange); border-color: var(--orange); }
.arc-row:hover .arc-play .tri, .arc-item.playing .arc-play .tri { border-left-color: #fff; }
.arc-item.playing .arc-play .tri { display: none; }
.arc-item.playing .arc-play .bars { display: flex; }
.arc-main { flex: 1; min-width: 0; }
.arc-h { font-family: var(--display); font-weight: 600; font-size: clamp(1rem,1.5vw,1.3rem); line-height: 1.15; color: var(--text); }
.arc-item.playing .arc-h { color: var(--orange); }
.arc-sub2 { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; margin-top: .35rem; font-family: var(--mono); font-size: .72rem; color: var(--text-3); }
.arc-guest { color: var(--orange); font-weight: 700; }
.arc-dot { opacity: .5; }
.arc-chev { flex-shrink: 0; color: var(--text-3); transition: transform .35s var(--ease); }
.arc-item.open .arc-chev { transform: rotate(180deg); }
.arc-notes { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.arc-item.open .arc-notes { max-height: 700px; }
.arc-notes-inner { padding: 0 .4rem 1.5rem clamp(1rem,8vw,7.4rem); font-size: .9rem; line-height: 1.7; color: var(--text-2); }
.arc-notes-inner .arc-listen { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-family: var(--mono); font-weight: 700; font-size: .76rem; color: var(--orange); background: none; border: none; cursor: pointer; }

.arc-empty { max-width: 1100px; margin: 3.5rem auto; text-align: center; color: var(--text-2); }
.arc-empty strong { color: var(--text); }
.arc-reset { margin-top: 1.2rem; font-family: var(--mono); font-weight: 700; font-size: .78rem; color: #fff;
  background: var(--orange); border: none; border-radius: 100px; padding: .7rem 1.4rem; cursor: pointer; }
.arc-skel { height: 84px; border-top: 1px solid var(--line); }

/* ---- Sticky mini-player ---- */
.miniplayer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; display: flex; align-items: center;
  gap: clamp(.6rem,1.5vw,1.1rem); padding: .7rem clamp(1rem,4vw,2.2rem); background: var(--ink-2); color: #fff;
  border-top: 1px solid var(--on-line); transform: translateY(115%); transition: transform .5s var(--ease); box-shadow: 0 -16px 50px rgba(0,0,0,.35); }
.miniplayer.show { transform: none; }
.mp-toggle { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); border: none; flex-shrink: 0;
  cursor: pointer; position: relative; transition: transform .3s var(--spring); }
.mp-toggle:hover { transform: scale(1.06); }
.mp-ico-play { position: absolute; top: 50%; left: 52%; transform: translate(-50%,-50%); width: 0; height: 0;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.mp-ico-pause { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: none; gap: 3px; }
.mp-ico-pause::before, .mp-ico-pause::after { content: ''; width: 4px; height: 15px; background: #fff; display: block; }
.mp-ico-pause::before { margin-right: 4px; }
.miniplayer.playing .mp-ico-play { display: none; }
.miniplayer.playing .mp-ico-pause { display: flex; }
.mp-info { min-width: 0; width: clamp(120px,22vw,280px); flex-shrink: 0; }
.mp-tag { display: flex; align-items: center; gap: .4rem; font-size: .58rem; font-weight: 700; color: var(--orange); }
.mp-title { font-weight: 600; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .15rem; }
.mp-time { font-size: .72rem; color: var(--on-2); flex-shrink: 0; white-space: nowrap; }
.mp-seek { flex: 1; min-width: 50px; accent-color: var(--orange); height: 4px; cursor: pointer; }
.mp-ext { color: #fff; text-decoration: none; font-weight: 700; font-size: .74rem; flex-shrink: 0; }
.mp-ext:hover { color: var(--orange); }
.mp-close { background: none; border: none; color: var(--on-2); font-size: 1.4rem; line-height: 1; cursor: pointer; flex-shrink: 0; }
.mp-close:hover { color: #fff; }

@media (max-width: 760px) {
  .arc-notes-inner { padding-left: 1rem; }
  .mp-time, .mp-ext { display: none; }
  .mp-info { width: auto; flex: 1; }
}
@media (max-width: 480px) {
  .arc-n { display: none; }
  .mp-seek { display: none; }
}
