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

.topnav a.is-current { color: var(--orange); }
.arc-topbar:not(.scrolled) .brand-name,
.arc-topbar:not(.scrolled) .topnav a { color: #fff; }
.arc-topbar:not(.scrolled) .brand-sub { color: rgba(255,255,255,.62); }
.arc-topbar:not(.scrolled) .burger span { background: #fff; }

/* ---- 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: 44px; height: 44px; 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: var(--ink); border-color: var(--orange); }
.arc-chip:focus-visible, .arc-clear:focus-visible, .arc-play:focus-visible, .arc-expand:focus-visible,
.arc-action:focus-visible, .arc-reset:focus-visible, .mp-toggle:focus-visible, .mp-close:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* ---- 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-status { max-width: 1100px; margin: 0 auto 1.25rem; padding: .85rem 1rem; border: 1px solid color-mix(in srgb, var(--orange) 38%, var(--line));
  background: color-mix(in srgb, var(--orange) 8%, var(--paper)); color: var(--text-2); border-radius: 10px; font-size: .7rem; line-height: 1.5; }
.arc-status.is-error { border-color: #b84736; }
.arc-announce { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.arc-meta { max-width: 1100px; margin: 0 auto 1.4rem; font-size: .74rem; color: var(--text-3); }
.arc-meta span#arcQuery { color: var(--orange-text); }
.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-play:disabled { opacity: .35; cursor: not-allowed; }
.arc-play:disabled .tri { border-left-color: var(--text-3); }
.arc-row:hover .arc-play:disabled { background: transparent; border-color: var(--line); }
.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-text); }
.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-text); font-weight: 700; }
.arc-dot { opacity: .5; }
.arc-expand { width: 44px; height: 44px; margin: -8px 0; padding: 0; flex-shrink: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; color: var(--text-3); cursor: pointer; }
.arc-expand:hover { background: var(--paper-2); color: var(--text); }
.arc-chev { flex-shrink: 0; color: inherit; 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 p { max-width: 78ch; }
.arc-no-notes { font-style: italic; color: var(--text-3); }
.arc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.arc-action { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .85rem;
  border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--text); text-decoration: none;
  font-family: var(--mono); font-weight: 700; font-size: .7rem; line-height: 1.2; cursor: pointer; }
.arc-action:hover { border-color: var(--orange-text); color: var(--orange-text); }
.arc-listen { border-color: var(--orange); background: var(--orange); color: var(--ink); }
.arc-listen:hover { background: transparent; color: var(--orange-text); }
.arc-action-play { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor; display: inline-block; }

.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: var(--ink);
  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%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s linear .5s; box-shadow: 0 -16px 50px rgba(0,0,0,.35); }
.miniplayer.show { transform: none; visibility: visible; transition-delay: 0s; }
.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 var(--ink); }
.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: var(--ink); 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: 44px; 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-head { padding-left: 1rem; padding-right: 1rem; }
  .arc-list-wrap { padding-left: 1rem; padding-right: 1rem; }
  .arc-filters { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
    margin-left: -1rem; margin-right: -1rem; padding: 0 1rem .35rem; }
  .arc-filters::-webkit-scrollbar { display: none; }
  .arc-chip { min-height: 44px; flex: 0 0 auto; padding-inline: 1rem; }
  .arc-row { gap: .7rem; padding-block: 1rem; }
  .arc-play { width: 44px; height: 44px; }
  .arc-expand { margin-right: -.4rem; }
  .arc-sub2 { column-gap: .5rem; row-gap: .2rem; }
  .arc-notes-inner { padding-left: 1rem; }
  .arc-action { min-height: 44px; }
  .mp-time, .mp-ext { display: none; }
  .mp-info { width: auto; flex: 1; }
}
@media (max-width: 480px) {
  .arc-n { display: none; }
  .arc-h { font-size: 1.05rem; }
  .arc-sub2 { font-size: .66rem; }
  .arc-actions { align-items: stretch; }
  .arc-action { flex: 1 1 calc(50% - .55rem); }
  .miniplayer { display: grid; grid-template-columns: 46px minmax(0,1fr) 44px; row-gap: .55rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); }
  .mp-toggle { width: 46px; height: 46px; }
  .mp-info { grid-column: 2; }
  .mp-close { grid-column: 3; grid-row: 1; width: 44px; height: 44px; }
  .mp-seek { display: block; grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; }
}
.arc-load-error { padding: 2rem; color: var(--text-3); text-align: center; }
.arc-load-error a { color: var(--orange-text); }
