/* Direction F web player. The desktop rail is supplied by the catalog layout. */
.wp-dock, .wp-panel {
  --wp-ink: #f3f2ee;
  --wp-muted: #b4b3ad;
  --wp-mono: var(--mono, ui-monospace), SFMono-Regular, Consolas, monospace;
  color: var(--wp-ink);
  font-family: inherit;
  box-sizing: border-box;
}
.wp-dock[hidden], .wp-panel[hidden] { display: none; }
.wp-dock *, .wp-panel * { box-sizing: border-box; }
.wp-dock {
  position: fixed;
  z-index: 15;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  left: max(16px, calc(var(--wp-content-left, 0px) + 16px));
  right: 16px;
  width: auto;
  max-width: 560px;
  height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 0 10px;
  border: 0;
  border-radius: 24px;
  background: rgba(22, 22, 21, .88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 50px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
}
.wp-dock button, .wp-panel button {
  appearance: none; -webkit-appearance: none;
  padding: 0; margin: 0;
  color: inherit; border: 0; background: transparent;
  font: inherit; line-height: 1; cursor: pointer;
}
.wp-dock :focus-visible, .wp-panel :focus-visible { outline: 2px solid #dddcd6; outline-offset: 2px; }
.wp-dock .wp-play, .wp-dock .wp-comments {
  flex: 0 0 auto; position: relative; display: grid; place-items: center;
  border-radius: 50%; width: 42px; height: 42px;
}
.wp-dock .wp-play { background: #d3420c; color: #fff; }
.wp-play:hover { filter: brightness(1.1); }
.wp-play:active { transform: scale(.96); }
.wp-play svg { width: 20px; height: 20px; fill: currentColor; }
.wp-dock .wp-comments { width: 36px; height: 36px; color: var(--wp-muted); }
.wp-comments svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.wp-comments[aria-expanded=true], .wp-comments:hover { background: rgba(255, 255, 255, .06); color: #f3f2ee; }
.wp-comments.wp-has-comments::after {
  content: ''; width: 6px; height: 6px; position: absolute; right: 5px; top: 5px; border-radius: 50%; background: #f54e17;
}
.wp-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wp-info { display: flex; gap: 12px; align-items: baseline; min-width: 0; }
.wp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 18px; letter-spacing: -.006em; }
.wp-clock { color: #b4b3ad; font: 12px/18px var(--wp-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wp-wave { position: relative; height: 26px; }
.wp-slider { position: absolute; inset: 0; cursor: pointer; border-radius: 4px; touch-action: none; user-select: none; -webkit-user-select: none; }
.wp-slider svg { display: block; position: absolute; inset: 0; width: 100%; height: 26px; fill: none; stroke-width: 1.5; stroke-linecap: round; pointer-events: none; }
.wp-base { stroke: rgba(243, 242, 238, .26); }
.wp-played { stroke: #f54e17; clip-path: inset(0 100% 0 0); }
.wp-marks { position: absolute; bottom: -8px; left: 0; right: 0; height: 8px; pointer-events: none; }
.wp-dock .wp-mark { width: 22px; height: 12px; position: absolute; bottom: -3px; transform: translateX(-50%); pointer-events: auto; border-radius: 5px; }
.wp-mark::before { content: ''; display: block; width: 4px; height: 4px; background: #f54e17; border-radius: 50%; margin: auto; }
.wp-panel {
  position: fixed; z-index: 14; top: 72px; right: 0; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); width: 360px;
  padding: 26px 32px 0 28px;
  display: flex; flex-direction: column; border-left: 1px solid rgba(239,238,235,.1); background: #131313;
}
.wp-heading, .wp-note-head, .wp-note-foot, .wp-entry { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.wp-heading { flex: none; padding-bottom: 10px; align-items: flex-start; gap: 12px; }
.wp-heading > div { min-width: 0; }
.wp-heading h2 { margin: 0; font-family: inherit; font-weight: 500; font-size: 20px; line-height: 28px; letter-spacing: -.01em; text-transform: none; }
.wp-subtitle { margin-top: 2px; color: var(--wp-muted); font: 13px/16px var(--wp-mono); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.wp-panel .wp-close { flex: none; width: 32px; height: 32px; border-radius: 6px; color: var(--wp-muted); font: 27px/1 Arial, sans-serif; }
.wp-panel .wp-close:hover, .wp-panel .wp-reply-btn:hover, .wp-panel .wp-chip-action:hover { background: rgba(255,255,255,.08); }
.wp-thread { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0 -8px; padding-bottom: 12px; }
.wp-note { padding: 12px 8px; border-radius: 8px; }
.wp-note.wp-reply { margin-left: 18px; padding-top: 6px; border-left: 1px solid rgba(255,255,255,.08); border-radius: 0; }
.wp-note.wp-active { background: rgba(255,255,255,.045); }
.wp-note:focus-visible { outline-offset: -2px; }
.wp-note-head { min-height: 24px; }
.wp-note-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.wp-note .wp-time { flex: none; display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; border-radius: 99px; background: #222; font: 12px/16px var(--wp-mono); }
.wp-note-head span.wp-time { color: var(--wp-muted); }
.wp-note p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.wp-note-foot { margin-top: 4px; min-height: 22px; color: var(--wp-muted); font-size: 12px; line-height: 16px; }
.wp-panel .wp-reply-btn { margin-left: auto; min-height: 24px; padding: 0 6px; border-radius: 6px; }
.wp-empty, .wp-status, .wp-retry { color: var(--wp-muted); font-size: 13px; line-height: 18px; }
.wp-empty, .wp-panel .wp-retry { margin: 6px 8px; }
.wp-panel .wp-retry { text-decoration: underline; height: 32px; }
.wp-status { margin: 0 0 6px; }
.wp-status:empty { margin: 0; }
.wp-composer { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: #1f1f1f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.wp-chips { display: flex; min-height: 22px; gap: 6px; }
.wp-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; color: var(--wp-ink); padding: 0 4px 0 8px; border-radius: 99px; background: #292929; font: 12px/22px var(--wp-mono); }
.wp-panel .wp-chip-action { display: grid; place-items: center; min-width: 20px; min-height: 20px; padding: 0 4px; border-radius: 99px; }
.wp-input { flex: 1; min-width: 0; height: 32px; padding: 4px 2px; margin: 0; border: 0; border-radius: 3px; background: transparent; color: var(--wp-ink); font: inherit; font-size: 13px; }
.wp-input::placeholder { color: #a5a49e; opacity: 1; }
.wp-panel .wp-send { flex: none; height: 28px; padding: 0 12px; border-radius: 99px; background: #d3420c; color: white; font-size: 12px; font-weight: 600; }
.wp-send:disabled { opacity: .55; cursor: default; }
@media (min-width: 800px) {
  body.wp-thread-open #main { width: calc(100% - 360px); }
  body.wp-thread-open .wp-dock { right: 376px; }
}
@media (min-width: 800px) and (max-width: 1120px) {
  .wp-panel { width: 300px; padding-inline: 18px; }
  body.wp-thread-open #main { width: calc(100% - 300px); }
  body.wp-thread-open .wp-dock { right: 316px; }
}
@media (max-width: 799px) {
  .wp-dock { left: 16px; right: 16px; max-width: 560px; }
  .wp-panel { width: 100%; left: 0; top: 56px; bottom: 0; padding: 20px 20px calc(104px + env(safe-area-inset-bottom, 0px)); border-left: none; }
  .wp-heading h2 { font-size: 28px; line-height: 34px; }
  .wp-panel .wp-close { width: 44px; height: 44px; }
  .wp-note p { font-size: 15px; }
  .wp-note-head strong { font-size: 13px; }
  .wp-panel .wp-send, .wp-input { height: 44px; }
  .wp-panel .wp-send { padding: 0 14px; font-size: 14px; }
  .wp-input { font-size: 16px; }
  .wp-dock .wp-mark { pointer-events: none; }
  .wp-play::after, .wp-comments::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; }
}
@media (prefers-reduced-motion:no-preference) {
  .wp-panel:not([hidden]) { animation: wp-panel-in .2s ease-out; }
  @keyframes wp-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
}
