@font-face {
  font-family: "JK Gaegu";
  src: url("/fonts/gaegu-korean-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.srt-current,
.srt-next,
.srt-third,
.fullscreen-mini-row,
.fullscreen-mini-title,
.next-title {
  font-family: "JK Gaegu", "Malgun Gothic", cursive;
}
*{margin:0;padding:0;box-sizing:border-box}

html,body{
  min-height:100%;
  background:#050609;
  color:#f3e5d0;
  font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif;
}

#bg{
  position:fixed;
  inset:-60px;
  background:center center / cover no-repeat;
  filter:blur(44px) brightness(.32) saturate(.86);
  transform:scale(1.12);
  opacity:.92;
  z-index:0;
  transition:background-image .8s ease;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(33,27,18,.10), rgba(0,0,0,.78) 76%),
    linear-gradient(180deg, rgba(7,8,12,.25), rgba(0,0,0,.74));
  z-index:0;
  pointer-events:none;
}

.player{
  position:relative;
  z-index:1;
  width:100%;
  max-width:430px;
  min-height:100vh;
  margin:0 auto;
  padding:20px 14px 32px;
  background:linear-gradient(180deg, rgba(8,9,14,.50), rgba(3,4,8,.92));
  border-left:1px solid rgba(218,166,91,.11);
  border-right:1px solid rgba(218,166,91,.11);
}

.visual-mode-nav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:5px;
  margin:0 0 12px;
  padding:6px;
  border:1px solid rgba(218,166,91,.20);
  border-radius:18px;
  background:rgba(8,9,14,.78);
  box-shadow:0 12px 34px rgba(0,0,0,.30);
}

.visual-mode-nav a{
  min-width:0;
  padding:9px 2px;
  border-radius:12px;
  color:rgba(244,229,207,.72);
  font-size:10px;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  white-space:nowrap;
}

.visual-mode-nav a.active{
  background:#d6a65a;
  color:#090806;
}

.cover{
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(218,166,91,.18);
  box-shadow:0 18px 58px rgba(0,0,0,.42);
  background:#17120d;
}

.cover img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.song-info{padding:20px 16px 12px}

.archive{
  text-align:center;
  font-size:10px;
  letter-spacing:4px;
  color:#d6a45d;
  opacity:.38;
  margin-bottom:14px;
}

#title{
  font-size:16px;
  line-height:1.45;
  font-weight:500;
  color:#f4e5cf;
  word-break:keep-all;
}

#artist{
  margin-top:7px;
  font-size:14px;
  color:#e0aa5f;
}

.lyrics{
  margin:14px 0 18px;
  padding:26px 18px;
  min-height:212px;
  border-radius:22px;
  background:rgba(8,10,15,.82);
  border:1px solid rgba(218,166,91,.24);
  box-shadow:inset 0 0 36px rgba(0,0,0,.42),0 16px 42px rgba(0,0,0,.32);
  text-align:center;
}

.prev,.next{
  min-height:30px;
  color:rgba(244,229,207,.28);
  font-size:17px;
  line-height:1.5;
  word-break:keep-all;
}

.current{
  margin:18px 0;
  padding:18px 0;
  min-height:72px;
  border-top:1px solid rgba(244,229,207,.16);
  border-bottom:1px solid rgba(244,229,207,.16);
  color:#e9b565;
  font-size:24px;
  line-height:1.5;
  font-weight:500;
  letter-spacing:-.04em;
  word-break:keep-all;
}

.progress{margin:18px 6px 22px}

.progress input{
  width:100%;
  accent-color:#e0aa5f;
}

.controls{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin:8px 0 30px;
}

.controls button{
  width:56px;
  height:56px;
  border-radius:50%;
  border:1px solid rgba(218,166,91,.70);
  background:rgba(7,9,14,.82);
  color:#f3e5d0;
  font-size:20px;
  cursor:pointer;
}

#play{
  width:78px;
  height:78px;
  color:#e9b565;
  font-size:28px;
}

.next-box{
  padding:22px;
  border-radius:22px;
  background:rgba(8,10,15,.82);
  border:1px solid rgba(218,166,91,.20);
  box-shadow:0 18px 48px rgba(0,0,0,.32);
}

.next-label{
  color:#e0aa5f;
  letter-spacing:4px;
  font-size:12px;
  margin-bottom:10px;
}

#nextTitle{
  color:rgba(244,229,207,.78);
  font-size:16px;
  line-height:1.45;
  word-break:keep-all;
}

@media(max-width:420px){
  .player{padding:14px 12px 28px}
  .lyrics{min-height:200px}
  .current{font-size:22px}
}


.l1,.l2,.l4,.l5{
min-height:30px;
color:rgba(244,229,207,.28);
font-size:17px;
line-height:1.5;
}

.track-nav{
margin:-2px 0 18px;
text-align:center;
font-size:12px;
color:rgba(244,229,207,.72);
line-height:1.5;
}

.track-nav div{margin:4px 0}
#currentTitle{color:#e9b565}


.time-row{
display:flex;
align-items:center;
gap:10px;
margin:18px 6px 22px;
}

.time-row input{
flex:1;
}

#currentTime,#remainTime{
min-width:48px;
text-align:center;
color:rgba(244,229,207,.72);
font-size:12px;
font-variant-numeric:tabular-nums;
}

/* ===== JK SELAH PLAYER CORE v2 UPGRADE — Daily Flow Cross Fade ===== */
.cover{
  position:relative;
  aspect-ratio:16/9;
}

.cover img.cover-layer,
.cover-layer{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.5s ease-in-out;
}

.cover-layer.active{
  opacity:1;
}


/* ===== JK SELAH DAILY FLOW v3.2 MOST / RECENT + AMBIENT PATCH ===== */
@keyframes kenburns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.12); }
}

@keyframes ambientParallax {
  from {
    transform: scale(1.10) translate3d(-1.2%, -0.6%, 0);
    filter: blur(54px) brightness(.32) saturate(.86);
  }
  to {
    transform: scale(1.18) translate3d(1.2%, 0.6%, 0);
    filter: blur(66px) brightness(.40) saturate(1.02);
  }
}

body {
  background:
    radial-gradient(circle at 50% 42%, rgba(28,31,44,.72) 0%, rgba(5,6,9,.96) 72%),
    #050609;
}

#bg {
  inset: -60px;
  opacity: .78;
  transition: background-image 2s ease-in-out, opacity 2s ease-in-out;
  will-change: transform, filter, background-image;
}

#bg.ambient-active {
  animation: ambientParallax 15s linear infinite alternate;
}

body::after {
  background:
    radial-gradient(circle at 50% 36%, rgba(218,166,91,.08), rgba(0,0,0,0) 38%),
    radial-gradient(circle at center, rgba(33,27,18,.10), rgba(0,0,0,.80) 76%),
    linear-gradient(180deg, rgba(7,8,12,.24), rgba(0,0,0,.76));
}

.player {
  box-shadow:
    0 0 90px rgba(0,0,0,.70),
    0 0 28px rgba(218,166,91,.055);
}

.cover {
  box-shadow:
    0 24px 68px rgba(0,0,0,.62),
    0 0 28px rgba(218,166,91,.10);
}

.cover-layer {
  transform-origin: center center;
  will-change: transform, opacity;
}

.cover-layer.kenburns-active {
  animation: kenburns 8s linear forwards;
}

.current {
  text-shadow:
    0 0 10px rgba(231,179,106,.30),
    0 0 22px rgba(231,179,106,.13);
}

.playlist,
.flow-history {
  margin-top: 18px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(8,10,15,.82);
  border: 1px solid rgba(218,166,91,.20);
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
}

.playlist h2 {
  color:#e0aa5f;
  letter-spacing:4px;
  font-size:12px;
  margin:0 0 12px;
}

.notice {
  margin:8px 0 15px;
  padding:10px 14px;
  border:1px solid rgba(218,166,91,.18);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  font-size:12px;
  line-height:1.45;
  color:rgba(244,229,207,.55);
  text-align:center;
  letter-spacing:-.2px;
}

.tabs {
  display:flex;
  justify-content:center;
  gap:8px;
  margin:0 0 15px;
}

.tab-btn {
  border:1px solid rgba(218,166,91,.34);
  background:rgba(7,9,14,.82);
  color:#e0aa5f;
  padding:6px 14px;
  min-width:0;
  width:auto;
  height:auto;
  border-radius:999px;
  font-size:10px;
  letter-spacing:.08em;
  cursor:pointer;
}

.tab-btn.active {
  background:#e0aa5f;
  color:#050609;
  font-weight:700;
}

.playlist ul {
  list-style:none;
  margin:0;
  padding:0;
}

.playlist li {
  display:grid;
  grid-template-columns:36px 28px 1fr;
  align-items:center;
  gap:8px;
  padding:9px 6px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:rgba(244,229,207,.78);
  font-size:15px;
  line-height:1.45;
  cursor:pointer;
}

.playlist li.empty {
  display:block;
  text-align:center;
  color:rgba(244,229,207,.45);
  cursor:default;
}

.playlist-thumb {
  width:36px;
  height:36px;
  object-fit:cover;
  border-radius:8px;
  background:rgba(255,255,255,.06);
  box-shadow:0 6px 16px rgba(0,0,0,.24);
}

.playlist-index {
  color:rgba(244,229,207,.48);
  font-size:12px;
  font-variant-numeric:tabular-nums;
  letter-spacing:.04em;
}

.playlist-name {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.playlist li.active {
  background:rgba(216,162,87,.10);
  border-left:3px solid rgba(231,179,106,.9);
  padding-left:13px;
  border-radius:9px;
  color:#fff;
  font-weight:700;
  box-shadow:inset 0 0 18px rgba(216,162,87,.05);
}

.playlist li.active .playlist-index,
.playlist li.active .playlist-name {
  color:#e9b565;
  font-weight:700;
}

.playlist li:last-child {
  border-bottom:none;
}


/* ===== DAILY WORSHIP MEDIA MODULE ===== */
.cover-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  z-index:3;
  pointer-events:none;
  background:#17120d;
  transition:opacity 1.5s ease-in-out;
}
.cover-video.is-active{opacity:1}

.video-logo{
  position:absolute;
  right:-5%;
  bottom:-0.5%;
  width:29%;
  overflow:hidden;
  z-index:20;
  pointer-events:none;
  opacity:1;
}
.video-logo-image,
.video-logo-hidden-image{
  position:relative !important;
  inset:auto !important;
  display:block;
  width:100%;
  height:auto !important;
  object-fit:contain !important;
  opacity:1 !important;
  transform:none !important;
  animation:none !important;
  transition:none !important;
  aspect-ratio:auto !important;
}
.video-logo-image{z-index:2}
.video-logo-hidden-image{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  right:auto !important;
  bottom:auto !important;
  width:100% !important;
  height:auto !important;
  z-index:1;
  opacity:0 !important;
}
.video-logo-hidden-image.is-ready{opacity:1 !important}

/* ===== VISUAL RANDOM — WORSHIP MASTER 3-LINE COVER LYRICS ===== */
.srt-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  padding:7px 54px 8px 16px;
  border-radius:0 0 24px 24px;
  background:linear-gradient(180deg,rgba(4,4,5,0),rgba(4,4,5,.58));
  text-align:center;
  pointer-events:none;
  z-index:15;
  text-shadow:0 1px 4px rgba(0,0,0,.92);
}
.srt-current,
.srt-third{
  min-height:14px;
  color:rgba(244,227,197,.52);
  font-size:10px;
  line-height:1.3;
  font-weight:400;
  letter-spacing:-.2px;
  word-break:keep-all;
}
.srt-next{
  min-height:18px;
  margin-top:2px;
  color:#f4e3c5;
  font-size:14px;
  line-height:1.3;
  font-weight:500;
  letter-spacing:-.2px;
  word-break:keep-all;
}
.srt-third{margin-top:2px}

.upcoming-tracks{
  display:grid;
  gap:12px;
  margin-top:4px;
}
.next-box{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  grid-template-areas:
    "thumb label"
    "thumb title";
  column-gap:13px;
  align-items:center;
  min-height:86px;
  padding:15px 18px;
  border-radius:22px;
  background:rgba(8,10,15,.82);
  border:1px solid rgba(218,166,91,.20);
  box-shadow:0 14px 38px rgba(0,0,0,.28);
}
.next-thumb{
  grid-area:thumb;
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  box-shadow:0 7px 18px rgba(0,0,0,.34);
}
.next-label{
  grid-area:label;
  align-self:end;
  color:#e0aa5f;
  letter-spacing:3px;
  font-size:10px;
  line-height:1.2;
  margin:0 0 6px;
}
.next-title{
  grid-area:title;
  align-self:start;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(244,229,207,.82);
  font-size:14px;
  line-height:1.35;
}

@media(max-width:430px){
  .srt-overlay{padding:6px 50px 7px 12px}
  .srt-current,.srt-third{font-size:9.1px}
  .srt-next{font-size:13px}
  .next-box{grid-template-columns:44px minmax(0,1fr);min-height:80px;padding:14px 16px}
  .next-thumb{width:44px;height:44px}
  .next-title{font-size:13px}
}


/* ===== DAILY FLOW FULLSCREEN MASTER 20260726 ===== */
.fullscreen-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:40;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:50%;
  background:rgba(0,0,0,.42);
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  opacity:.72;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.fullscreen-btn:hover{opacity:1}

.fullscreen-playlist-trigger,
.fullscreen-mini-playlist,
.fullscreen-mini-transport,
.inspection-badge{display:none}

.cover:fullscreen,
.cover:-webkit-full-screen{
  width:100vw;
  height:100vh;
  aspect-ratio:auto;
  border:0;
  border-radius:0;
  background:#000;
}
.cover:fullscreen .cover-layer,
.cover:fullscreen .cover-video,
.cover:-webkit-full-screen .cover-layer,
.cover:-webkit-full-screen .cover-video{
  width:100%;
  height:100%;
  object-fit:cover;
}
.cover:fullscreen .fullscreen-btn,
.cover:-webkit-full-screen .fullscreen-btn{
  top:18px;
  right:18px;
  width:46px;
  height:46px;
  font-size:30px;
  opacity:.34;
}
.cover:fullscreen .fullscreen-playlist-trigger,
.cover:-webkit-full-screen .fullscreen-playlist-trigger,
.inspection-mode .fullscreen-playlist-trigger{
  display:block;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:25vw;
  z-index:2147482999;
  cursor:default;
}
.cover:fullscreen .fullscreen-mini-playlist,
.cover:-webkit-full-screen .fullscreen-mini-playlist,
.inspection-mode .fullscreen-mini-playlist{
  display:flex;
  position:absolute;
  left:clamp(26px,3vw,58px);
  bottom:clamp(76px,9.5vh,128px);
  z-index:2147483000;
  width:max-content;
  max-width:min(420px,38vw);
  flex-direction:column;
  gap:clamp(3px,.45vh,7px);
  padding:0;
  background:transparent;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease;
}
.cover:fullscreen .fullscreen-mini-playlist.is-visible,
.cover:-webkit-full-screen .fullscreen-mini-playlist.is-visible,
.inspection-mode .fullscreen-mini-playlist.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.cover:fullscreen .fullscreen-mini-transport,
.cover:-webkit-full-screen .fullscreen-mini-transport,
.inspection-mode .fullscreen-mini-transport{
  display:flex;
  position:absolute;
  left:clamp(26px,3vw,58px);
  bottom:clamp(42px,6vh,92px);
  z-index:2147483000;
  align-items:center;
  width:min(315px,28.5vw);
  gap:9px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  color:rgba(255,255,255,.9);
  text-shadow:0 2px 7px rgba(0,0,0,1);
}
.cover:fullscreen .fullscreen-mini-transport.is-visible,
.cover:-webkit-full-screen .fullscreen-mini-transport.is-visible,
.inspection-mode .fullscreen-mini-transport.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.fullscreen-mini-transport button{
  flex:0 0 auto;
  width:18px;
  height:22px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font-size:12px;
  line-height:22px;
  cursor:pointer;
}


.fullscreen-mini-row{
  display:grid;
  grid-template-columns:1.2em minmax(0,1fr);
  align-items:center;
  min-height:1.35em;
  color:rgba(255,255,255,.48);
  font-size:clamp(14px,1.05vw,20px);
  line-height:1.42;
  letter-spacing:-.02em;
  text-shadow:0 2px 7px rgba(0,0,0,1);
}
.fullscreen-mini-row.current{
  color:rgba(255,255,255,.98);
  font-weight:600;
}
.fullscreen-mini-marker{color:#e9b565}
.fullscreen-mini-title{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cover:fullscreen .srt-overlay,
.cover:-webkit-full-screen .srt-overlay{
  padding:18px 15vw 26px;
  border-radius:0;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.70));
}
.cover:fullscreen .srt-current,
.cover:-webkit-full-screen .srt-current,
.cover:fullscreen .srt-third,
.cover:-webkit-full-screen .srt-third{
  min-height:1.45em;
  font-size:clamp(21px,1.8vw,32px);
  line-height:1.35;
  font-weight:400;
  color:rgba(244,227,197,.58);
  text-shadow:0 3px 12px rgba(0,0,0,.98);
}
.cover:fullscreen .srt-next,
.cover:-webkit-full-screen .srt-next{
  min-height:1.35em;
  margin-top:7px;
  font-size:clamp(30px,2.55vw,46px);
  line-height:1.35;
  color:#f4e3c5;
  text-shadow:0 3px 10px rgba(0,0,0,.96);
}
.cover:fullscreen .video-logo,
.cover:-webkit-full-screen .video-logo{
  right:-8%;
  bottom:-1%;
  width:50%;
}
.inspection-mode .cover{overflow:visible}
.inspection-mode .fullscreen-playlist-trigger{
  outline:2px dashed rgba(255,210,80,.85);
  background:rgba(255,210,80,.08);
}
.inspection-mode .inspection-badge{
  display:block;
  position:absolute;
  left:10px;
  top:10px;
  z-index:60;
  padding:6px 10px;
  border-radius:8px;
  background:#ffd24f;
  color:#111;
  font-size:11px;
  font-weight:700;
  pointer-events:none;
}
@media(max-width:700px){
  .cover:fullscreen .fullscreen-mini-playlist,
  .cover:-webkit-full-screen .fullscreen-mini-playlist{
    width:48vw;
    min-width:250px;
    bottom:18vh;
  }
  .cover:fullscreen .srt-overlay,
  .cover:-webkit-full-screen .srt-overlay{padding-left:7vw;padding-right:7vw}
}
/* ===== DAILY USER MINI 1 / F9 QA 5 — WORSHIP MASTER 20260728 ===== */
/* 일반 사용자: 현재 화면 좌측 최하단에 다음곡 1줄 + 68px 골드 미니바 */










.fullscreen-mini-row.is-user-previous .fullscreen-mini-title,
.fullscreen-mini-row.is-user-current .fullscreen-mini-title,
.fullscreen-mini-row.is-user-next .fullscreen-mini-title {
  grid-column: 1 / -1;
  display: block;
  min-width: 0;
  width: 100%;
}

@media (orientation: portrait) {
  body:not(.inspection-mode) .cover:fullscreen .fullscreen-mini-playlist,
  body:not(.inspection-mode) .cover:fullscreen .fullscreen-mini-transport,
  body:not(.inspection-mode) .cover:-webkit-full-screen .fullscreen-mini-playlist,
  body:not(.inspection-mode) .cover:-webkit-full-screen .fullscreen-mini-transport {
    display: none !important;
  }
}















/* 세로 전체화면 진입 안내: 1초 표시 */
.portrait-orientation-hint {
  position: fixed;
  left: 50%;
  top: max(68px, calc(env(safe-area-inset-top) + 58px));
  z-index: 2147483200;
  display: none;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 48px);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -.3px;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

@media (orientation: portrait) {
  .cover:fullscreen .portrait-orientation-hint,
  .cover:-webkit-full-screen .portrait-orientation-hint {
    display: block;
  }
}

.portrait-orientation-hint.is-visible {
  opacity: 1;
}

/* PC 가로 전체화면: 신호등으로 우측 하단 Runway 워터마크 차단 */
@media (orientation: landscape) {
  .cover:fullscreen .video-logo,
  .cover:-webkit-full-screen .video-logo {
    right: 0;
    bottom: 0;
    width:24%;
  }
}

/* ===== SEASON 3 — TRACK TYPO OVERLAY / AREA 1 ONLY ===== */
.track-typo-overlay{
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  right:auto !important;
  bottom:auto !important;
  width:50% !important;
  height:50% !important;
  object-fit:contain !important;
  object-position:left top !important;
  border-radius:0 !important;
  animation:none !important;
  transition:opacity .35s ease !important;
  transform:none !important;
  opacity:0;
  pointer-events:none;
  user-select:none;
  z-index:12;
}
.track-typo-overlay.is-ready{ opacity:1; }

/* SEASON 3 FIX — keep transparent typography transparent in Fullscreen */
.cover:fullscreen > img.track-typo-overlay,
.cover:-webkit-full-screen > img.track-typo-overlay {
  left:0 !important;
  top:0 !important;
  right:auto !important;
  bottom:auto !important;
  width:50% !important;
  height:50% !important;
  object-fit:contain !important;
  object-position:left top !important;
  background:transparent !important;
  border-radius:0 !important;
}

/* JK SELAH SEASON 3 — RANDOM PLAYER VISUAL COLORS */
.next-box[data-visual="0"] .next-title,
.fullscreen-mini-row[data-visual="0"] { color:#b84a62 !important; }
.next-box[data-visual="1"] .next-title,
.fullscreen-mini-row[data-visual="1"] { color:#72c8ff !important; }
.cover-video { transition:opacity .3s ease-in-out !important; }
.track-typo-overlay { background:transparent !important; }

/* ===== JK SELAH COMMON EMBLEM ===== */
.jk-selah-emblem {
  position:absolute;
  top:10px;
  right:64px;
  z-index:80;
  width:48px;
  height:48px;
  border-radius:50%;
  background-image:url("/bg/JKemv.png");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  box-shadow:0 2px 14px rgba(0,0,0,.38);
  pointer-events:none;
}
.cover:fullscreen .jk-selah-emblem,
.cover:-webkit-full-screen .jk-selah-emblem {
  position:fixed;
  top:max(12px, env(safe-area-inset-top));
  right:calc(76px + env(safe-area-inset-right, 0px));
  width:64px;
  height:64px;
}
@media (max-width:430px) {
  .jk-selah-emblem { top:8px; right:54px; width:44px; height:44px; }
  .cover:fullscreen .jk-selah-emblem,
  .cover:-webkit-full-screen .jk-selah-emblem {
    top:max(8px, env(safe-area-inset-top));
    right:calc(64px + env(safe-area-inset-right, 0px));
    width:54px;
    height:54px;
  }
}


/* ===== JK SELAH UI PATCH 2026-09-14 =====
   Desktop player proportions preserved.
   Browser bottom navigation restored.
   Phone-only lyric / mini progress tuning.
   Desktop mini UI kept visible in normal fullscreen.
*/
.jk-bottom-nav{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:max(8px, env(safe-area-inset-bottom, 0px)) !important;
  top:auto !important;
  transform:translateX(-50%) !important;
  z-index:2147481500 !important;
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  width:min(410px, calc(100vw - 20px)) !important;
  margin:0 !important;
  padding:5px !important;
  gap:4px !important;
  border:1px solid rgba(218,166,91,.22) !important;
  border-radius:16px !important;
  background:rgba(7,8,12,.84) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.34) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
.jk-bottom-nav a{
  min-width:0 !important;
  padding:7px 2px !important;
  border-radius:10px !important;
  color:rgba(244,229,207,.76) !important;
  font-size:10px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
.jk-bottom-nav a:hover,
.jk-bottom-nav a:focus-visible{
  background:rgba(214,166,90,.16) !important;
  color:#f4e5cf !important;
}
.jk-bottom-nav a.active{
  background:#d6a65a !important;
  color:#090806 !important;
}

/* Do not cover the last controls/list item in ordinary browser view. */
body{ padding-bottom:max(58px, calc(env(safe-area-inset-bottom, 0px) + 58px)); }

/* In real fullscreen the player itself owns the screen; browser nav stays out. */
body:has(.cover:fullscreen) .jk-bottom-nav,
body:has(.cover:-webkit-full-screen) .jk-bottom-nav{
  display:none !important;
}

/* PC Chrome/Edge: user mini playlist/transport must not vanish while watching fullscreen. */
@media (hover:hover) and (pointer:fine) {
  body:not(.inspection-mode) .cover:fullscreen .fullscreen-mini-playlist,
  body:not(.inspection-mode) .cover:-webkit-full-screen .fullscreen-mini-playlist,
  body:not(.inspection-mode) .cover:fullscreen .fullscreen-mini-transport,
  body:not(.inspection-mode) .cover:-webkit-full-screen .fullscreen-mini-transport {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
}

/* PHONE ONLY: lyric block narrower/smaller; desktop values above remain untouched. */
@media (pointer:coarse) and (max-width:600px),
       (pointer:coarse) and (max-height:600px) {
  .cover:fullscreen .srt-overlay,
  .cover:-webkit-full-screen .srt-overlay{
    left:50% !important;
    right:auto !important;
    width:min(64vw, 560px) !important;
    max-width:64vw !important;
    transform:translateX(-50%) !important;
    padding:5px 8px 7px !important;
    background:transparent !important;
    border-radius:0 !important;
  }
  .cover:fullscreen .srt-current,
  .cover:-webkit-full-screen .srt-current,
  .cover:fullscreen .srt-next,
  .cover:-webkit-full-screen .srt-next,
  .cover:fullscreen .srt-third,
  .cover:-webkit-full-screen .srt-third{
    max-width:100% !important;
    line-height:1.28 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:keep-all !important;
  }
}

/* ===== JK SELAH BOTTOM NAV FIX 2026-09-14 ===== */
.jk-bottom-nav{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  bottom:max(8px, env(safe-area-inset-bottom, 0px)) !important;
  top:auto !important;
  transform:translateX(-50%) !important;
  z-index:2147483000 !important;
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  width:min(410px, calc(100vw - 20px)) !important;
  margin:0 !important;
  padding:5px !important;
  gap:4px !important;
  border:1px solid rgba(218,166,91,.22) !important;
  border-radius:16px !important;
  background:rgba(7,8,12,.88) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.34) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}
.jk-bottom-nav a{
  min-width:0 !important;
  padding:7px 2px !important;
  border-radius:10px !important;
  color:rgba(244,229,207,.78) !important;
  font-size:10px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
.jk-bottom-nav a:hover,.jk-bottom-nav a:focus-visible{
  background:rgba(214,166,90,.16) !important;
  color:#f4e5cf !important;
}
body{padding-bottom:max(58px, calc(env(safe-area-inset-bottom, 0px) + 58px));}
body:has(.cover:fullscreen) .jk-bottom-nav,
body:has(.cover:-webkit-full-screen) .jk-bottom-nav{display:none !important;}


/* ===== JK SELAH PC FULLSCREEN BOTTOM NAV FIX 2026-09-14c =====
   The browser fullscreen element is .cover. Elements outside .cover cannot
   be rendered by Chrome/Edge while .cover is fullscreen, so a dedicated
   navigation copy lives INSIDE .cover and is enabled only for desktop.
   Phone/coarse-pointer behavior is intentionally unchanged.
*/
.jk-fullscreen-bottom-nav{
  display:none;
}
@media (hover:hover) and (pointer:fine){
  .cover:fullscreen .jk-fullscreen-bottom-nav,
  .cover:-webkit-full-screen .jk-fullscreen-bottom-nav{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    position:absolute !important;
    left:50% !important;
    bottom:max(10px, env(safe-area-inset-bottom, 0px)) !important;
    transform:translateX(-50%) !important;
    width:min(560px, calc(100% - 40px)) !important;
    z-index:2147483646 !important;
    padding:5px 7px !important;
    gap:3px !important;
    box-sizing:border-box !important;
    border:1px solid rgba(255,255,255,.16) !important;
    border-radius:13px !important;
    background:rgba(10,10,12,.72) !important;
    backdrop-filter:blur(12px) !important;
    -webkit-backdrop-filter:blur(12px) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }
  .cover:fullscreen .jk-fullscreen-bottom-nav a,
  .cover:-webkit-full-screen .jk-fullscreen-bottom-nav a{
    display:block !important;
    padding:6px 2px !important;
    border-radius:9px !important;
    color:rgba(255,255,255,.82) !important;
    font-size:11px !important;
    font-weight:700 !important;
    line-height:1.15 !important;
    text-align:center !important;
    text-decoration:none !important;
    white-space:nowrap !important;
  }
  .cover:fullscreen .jk-fullscreen-bottom-nav a:hover,
  .cover:fullscreen .jk-fullscreen-bottom-nav a:focus-visible,
  .cover:-webkit-full-screen .jk-fullscreen-bottom-nav a:hover,
  .cover:-webkit-full-screen .jk-fullscreen-bottom-nav a:focus-visible{
    background:rgba(214,166,90,.18) !important;
    color:#f4e5cf !important;
  }
}
@media (pointer:coarse){
  .jk-fullscreen-bottom-nav{display:none !important;}
}

/* ===== JK SELAH FIX4 2026-09-14d =====
   Normal browser: keep bottom navigation at the existing bottom position.
   Real fullscreen: navigation is intentionally hidden.
   Narrow normal player: reduce cover lyric size/width only; wide desktop proportions stay unchanged.
*/
.jk-fullscreen-bottom-nav{display:none !important;}
.cover:fullscreen .jk-fullscreen-bottom-nav,
.cover:-webkit-full-screen .jk-fullscreen-bottom-nav{display:none !important;}

body:has(.cover:fullscreen) > .jk-bottom-nav,
body:has(.cover:-webkit-full-screen) > .jk-bottom-nav{display:none !important;}

/* Narrow initial/normal player only — do not touch fullscreen or wide desktop. */
@media (max-width:600px){








}



/* ===== JK SELAH MINI BOTTOM 3-LINE + INLINE TRANSPORT + MUTE 2026-09-16 ===== */
/* No panel/background. Row 3 and transport share the lowest line. */
.fullscreen-mini-playlist{ counter-reset:jkMiniRow; background:transparent !important; }
.fullscreen-mini-playlist li{ counter-increment:jkMiniRow; }
.fullscreen-mini-playlist li::before{ content:counter(jkMiniRow) ". "; }
.fullscreen-mini-transport{ background:transparent !important; border:0 !important; box-shadow:none !important; }
#fullscreenMiniMute{ width:20px !important; font-size:12px !important; opacity:.72; }
#fullscreenMiniMute:hover{ opacity:1; }
/* ordinary browser player */










/* landscape fullscreen: same geometry, slightly larger for TV/desktop */
@media (orientation:landscape){
  .cover:fullscreen:not(.qa-fullscreen-mode) .fullscreen-mini-playlist,
  .cover:-webkit-full-screen:not(.qa-fullscreen-mode) .fullscreen-mini-playlist{
    left:8px !important; bottom:3px !important; width:220px !important; min-width:220px !important; max-width:220px !important;
    display:flex !important; flex-direction:column !important; gap:0 !important;
  }
  .cover:fullscreen:not(.qa-fullscreen-mode) .fullscreen-mini-playlist li,
  .cover:-webkit-full-screen:not(.qa-fullscreen-mode) .fullscreen-mini-playlist li{
    display:block !important; width:220px !important; max-width:220px !important;
    padding:0 !important; margin:0 !important; font-size:clamp(15px,1vw,19px) !important; line-height:20px !important;
    white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
  }
  .cover:fullscreen:not(.qa-fullscreen-mode) .fullscreen-mini-transport,
  .cover:-webkit-full-screen:not(.qa-fullscreen-mode) .fullscreen-mini-transport{
    left:232px !important; bottom:2px !important; width:390px !important; min-width:390px !important; max-width:390px !important;
    height:20px !important; gap:7px !important; align-items:center !important;
    opacity:1 !important; visibility:visible !important; background:transparent !important;
  }








}
/* ===== JK SELAH BAR POPUP FINAL TUNE 2026-09-17 =====
   - normal/bar popup mini list: 8px, 3 rows
   - row 3 shares the bottom line with the REAL seek control
   - played segment uses --mini-progress; remainder stays faint
   - fullscreen sizing rules above are intentionally untouched
*/



















.cover:not(:fullscreen):not(:-webkit-full-screen) #fullscreenMiniMute{
  width:14px !important;
  min-width:14px !important;
  font-size:9px !important;
  opacity:.78 !important;
}

/* Both modes: one content-sized next title + full remaining width native seek. */
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniTransport{
  position:absolute; left:14px !important; right:14px !important;
  top:auto !important; bottom:max(1px, env(safe-area-inset-bottom, 0px)) !important;
  display:flex !important; align-items:center !important; gap:5px !important;
  width:auto !important; min-width:0 !important; max-width:none !important;
  height:18px !important; padding:0 !important; margin:0 !important;
  background:transparent !important; border:0 !important; box-shadow:none !important;
  opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
  z-index:2147483000;
}
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist{
  position:static !important; display:block !important; flex:0 1 auto;
  width:max-content !important; min-width:0 !important; max-width:calc(100% - 78px) !important;
  margin:0 !important; padding:0 !important; background:transparent !important;
  opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
  transform:none !important; text-shadow:none;
}
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist > *,
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist .fullscreen-mini-title{
  display:block !important; width:auto !important; min-width:0 !important; max-width:none !important;
  margin:0 !important; padding:0 !important; font-size:8px !important; line-height:12px !important;
  font-weight:400 !important; letter-spacing:normal !important; word-spacing:normal !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
}
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist > *::before{content:none !important;}
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlay{display:inline-flex !important; align-items:center !important; justify-content:center !important;}
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniTransport button{
  flex:0 0 auto !important; width:14px !important; min-width:14px !important;
  height:18px !important; padding:0 !important; font-size:10px !important; line-height:18px !important;
  color:rgba(255,255,255,.9); background:transparent !important; border:0 !important;
}
.cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniProgress{flex:1 1 0 !important;}
/* Fullscreen uses the same row geometry, with its own legible control text. */
.cover.jk-minimal-fullscreen #fullscreenMiniTransport{
  left:max(14px, env(safe-area-inset-left, 0px)) !important;
  right:max(14px, env(safe-area-inset-right, 0px)) !important;
  height:22px !important;
}
.cover.jk-minimal-fullscreen #fullscreenMiniPlaylist{
  max-width:calc(100% - 86px) !important;
}
.cover.jk-minimal-fullscreen #fullscreenMiniPlaylist > *,
.cover.jk-minimal-fullscreen #fullscreenMiniPlaylist .fullscreen-mini-title{
  font-size:14px !important; line-height:18px !important;
}
.cover.jk-minimal-fullscreen #fullscreenMiniTransport button{
  width:18px !important; min-width:18px !important; height:22px !important;
  font-size:12px !important; line-height:22px !important;
}
.cover.jk-open-bar .srt-overlay{
  left:0 !important; right:0 !important; bottom:calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  width:100% !important; max-width:100% !important; box-sizing:border-box;
  padding:0 6px !important; transform:none !important; background:transparent !important;
  border:0 !important; border-radius:0 !important; pointer-events:none;
}
.cover.jk-open-bar #srtCurrent{min-height:0 !important; line-height:1.3 !important;}
.cover.jk-open-bar #srtNext, .cover.jk-open-bar #srtThird{display:none !important;}

/* The input is the full hit area. Only its played 1px line is painted. */
#fullscreenMiniProgress{
  --mini-progress:0%;
  -webkit-appearance:none !important; appearance:none !important;
  display:block !important; flex:1 1 auto; width:0 !important; inline-size:auto !important;
  min-width:24px !important; max-width:none !important; height:18px !important;
  margin:0 !important; padding:0 !important; border:0 !important; border-radius:0 !important;
  outline:none !important; box-shadow:none !important; opacity:1 !important;
  background:linear-gradient(to right, rgba(255,255,255,.50) 0%,
    rgba(255,255,255,.50) var(--mini-progress), transparent var(--mini-progress), transparent 100%)
    left center / 100% 4px no-repeat !important;
  cursor:pointer;
}
#fullscreenMiniProgress::-webkit-slider-runnable-track{
  height:1px !important; background:transparent !important; border:0 !important; box-shadow:none !important;
}
#fullscreenMiniProgress::-webkit-slider-thumb{
  -webkit-appearance:none !important; appearance:none !important; width:0 !important; height:0 !important;
  margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important;
}
#fullscreenMiniProgress::-moz-range-track,
#fullscreenMiniProgress::-moz-range-progress{
  height:1px !important; border:0 !important; background:transparent !important; box-shadow:none !important;
}
#fullscreenMiniProgress::-moz-range-thumb{
  width:0 !important; height:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important;
}
/* Fullscreen sizing is preserved; move only the existing bottom controls/lyrics. */
.cover:fullscreen .fullscreen-mini-transport,
.cover:-webkit-full-screen .fullscreen-mini-transport{
  bottom:max(2px, env(safe-area-inset-bottom, 0px)) !important;
}
.cover:fullscreen .srt-overlay,
.cover:-webkit-full-screen .srt-overlay{
  bottom:calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  padding-top:0 !important; padding-bottom:0 !important; background:transparent !important;
}


/* ===== JK SELAH MOBILE PC-STYLE MINI ROW — 2026-09-17 =====
   Desktop unchanged. Phone: <=7-char title / play-pause / real seek / music / mute. */
@media (pointer: coarse) and (max-width: 600px), (pointer: coarse) and (max-height: 600px) {
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniTransport {
    left:max(6px, env(safe-area-inset-left, 0px)) !important; right:max(6px, env(safe-area-inset-right, 0px)) !important;
    bottom:max(1px, env(safe-area-inset-bottom, 0px)) !important; width:auto !important; min-width:0 !important; max-width:none !important;
    height:18px !important; gap:4px !important; display:flex !important; align-items:center !important;
    background:transparent !important; border:0 !important; box-shadow:none !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
  }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist {
    position:static !important; display:block !important; flex:0 1 auto !important; width:max-content !important; min-width:0 !important; max-width:7em !important;
    margin:0 !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; opacity:1 !important; visibility:visible !important;
  }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist > *,
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlaylist .fullscreen-mini-title {
    display:block !important; width:auto !important; min-width:0 !important; max-width:7em !important; margin:0 !important; padding:0 !important;
    font-size:8px !important; line-height:12px !important; font-weight:400 !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:clip !important;
  }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniPlay { display:inline-flex !important; flex:0 0 14px !important; width:14px !important; min-width:14px !important; height:18px !important; }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniMute { transform:translateX(-2px) !important; }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniProgress {
    -webkit-appearance:none !important; appearance:none !important; display:block !important; flex:1 1 0 !important; width:0 !important; min-width:20px !important; max-width:none !important; height:18px !important;
    background-color:transparent !important; border:0 !important; box-shadow:none !important;
  }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniProgress::-webkit-slider-runnable-track { height:1px !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniProgress::-moz-range-track,
  .cover:is(.jk-open-bar, .jk-minimal-fullscreen) #fullscreenMiniProgress::-moz-range-progress { height:1px !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
  .cover.jk-minimal-fullscreen #fullscreenMiniPlaylist > *, .cover.jk-minimal-fullscreen #fullscreenMiniPlaylist .fullscreen-mini-title { font-size:8px !important; line-height:12px !important; }
  .cover.jk-minimal-fullscreen #fullscreenMiniTransport button { width:14px !important; min-width:14px !important; height:18px !important; font-size:10px !important; line-height:18px !important; }
}
