/* 07 LISTEN — 계속듣기 화면 고유 콘텐츠만. */

.listen-rect::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  top:7%;
  height:38%;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,0));
  pointer-events:none;
}

.listen-rect:active{
  transform:translateY(2px) scale(.99);
  box-shadow:0 3px 8px rgba(72,112,155,.12),
    inset 0 1px 3px rgba(72,112,155,.10);
}

.listen-rect{
  position:relative;
  overflow:hidden;
  border-width:1.5px;
  box-shadow:0 8px 16px rgba(72,112,155,.14),
    0 3px 6px rgba(72,112,155,.10),
    inset 0 2px 0 rgba(255,255,255,.95),
    inset 0 -2px 4px rgba(92,130,168,.10);
  color:var(--theme-text);
  background:linear-gradient(180deg,#fff,var(--theme-soft));
  border-color:var(--theme-border);
}

.listen-head{
  height:50px;
  flex:0 0 50px;
  display:grid;
  grid-template-columns:44px 1fr auto;
  gap:8px;
  align-items:center;
}

.listen-head-title{
  text-align:center;
  font-size:20px;
  font-weight:1000;
  color:var(--theme-text);
  letter-spacing:-.03em;
}

.listen-total{
  min-width:54px;
  text-align:right;
  font-size:12px;
  font-weight:950;
  color:var(--theme-accent);
  white-space:nowrap;
}

#listenMode .listen-home-btn{
  background:transparent;
  border-color:transparent;
  box-shadow:none;
}

.listen-now-card{
  min-height:190px;
  flex:1 1 225px;
  border-radius:24px;
  background:rgba(255,255,255,.93);
  border:1px solid var(--theme-border);
  box-shadow:0 10px 24px rgba(43,78,112,.10);
  padding:18px 16px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  text-align:center;
  overflow:hidden;
}

.listen-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin:0 0 auto;
  font-size:11px;
  font-weight:900;
  color:#74879c;
}

#listenStageLabel{
  color:var(--theme-text);
}

#listenPosition{
  color:var(--theme-accent);
}

.listen-jp{
  font-size:clamp(26px,7vw,39px);
  line-height:1.38;
  font-weight:1000;
  color:var(--theme-text);
  letter-spacing:-.05em;
  word-break:keep-all;
}

.listen-jp ruby rt{
  font-size:.36em;
  font-weight:800;
  color:#6f8297;
}

.listen-ko{
  margin-top:12px;
  margin-bottom:auto;
  font-size:14px;
  line-height:1.45;
  font-weight:800;
  color:#657992;
}

.listen-settings-card{
  flex:0 0 auto;
  border:1px solid var(--theme-border);
  border-radius:20px;
  background:rgba(255,255,255,.91);
  padding:11px;
  display:flex;
  flex-direction:column;
  gap:9px;
}

.listen-scope-card{
  border:1px solid var(--theme-border);
  border-radius:20px;
  background:rgba(255,255,255,.91);
  display:flex;
  flex-direction:column;
  gap:9px;
  flex:0 0 auto;
  padding:9px 11px 10px;
}

.listen-secondary-settings{
  flex:0 0 auto;
}

.listen-option-block>b{
  display:block;
  margin:0 0 5px 2px;
  font-size:10px;
  color:#75879a;
}

.listen-choice-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
}

.listen-choice-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.listen-choice-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.listen-choice-grid.six{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:4px;
}

.listen-speed-grid .listen-choice{
  padding-left:2px;
  padding-right:2px;
  white-space:nowrap;
}

.listen-choice{
  min-height:34px;
  border:1px solid var(--tone-4);
  border-radius:11px;
  background:var(--tone-3);
  color:var(--tone-text);
  font-size:10px;
  font-weight:900;
  padding:5px 4px;
}

.listen-choice.selected{
  background:var(--tone-4);
  border-color:var(--tone-6);
  color:var(--tone-text);
box-shadow:
    0 9px 0 -6px color-mix(in srgb,var(--tone-6) 42%,transparent),
    0 10px 18px color-mix(in srgb,var(--tone-6) 20%,transparent),
    0 3px 6px rgba(28,61,95,.10),
    inset 0 1px 0 rgba(255,255,255,.56),
    inset 0 -2px 0 rgba(0,0,0,.08);
  transform:translateY(-1px);
}

.listen-play-controls{
  flex:0 0 76px;
  display:grid;
  grid-template-columns:1fr 1.42fr 1fr;
  gap:8px;
}

.listen-play-controls button{
  border:1px solid var(--tone-6);
  border-radius:18px;
  background:var(--tone-6);
  color:#fff;
  font-size:22px;
  font-weight:950;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
box-shadow:
    0 13px 0 -8px color-mix(in srgb,var(--tone-6) 58%,transparent),
    0 15px 24px color-mix(in srgb,var(--tone-6) 24%,transparent),
    0 4px 8px rgba(28,61,95,.14),
    inset 0 2px 0 rgba(255,255,255,.24),
    inset 0 -3px 0 rgba(0,0,0,.12);
  transform:translateY(-2px);
}

.listen-play-controls button span{
  font-size:9px;
  font-weight:900;
}

.listen-play-main[data-play-state="idle"],
.listen-play-main[data-play-state="playing"],
.listen-play-main[data-play-state="paused"]{
  background:var(--tone-6);
  border-color:var(--tone-6);
  color:#fff;
}

.listen-hint{
  flex:0 0 auto;
  min-height:24px;
  text-align:center;
  font-size:9px;
  line-height:1.35;
  color:#77899d;
  font-weight:750;
  padding:0 8px;
}

.listen-exit-btn{
  flex:0 0 39px;
  height:39px;
  border:1px solid var(--tone-6);
  border-radius:14px;
  background:var(--tone-5);
  color:var(--tone-text);
  font-size:12px;
  font-weight:950;
box-shadow:
    0 11px 0 -7px color-mix(in srgb,var(--tone-6) 50%,transparent),
    0 12px 20px color-mix(in srgb,var(--tone-6) 22%,transparent),
    0 3px 6px rgba(28,61,95,.12),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -2px 0 rgba(0,0,0,.10);
  transform:translateY(-1px);
}


@media (max-width:390px){
  .listen-now-card{
    min-height:170px;
    padding:14px 12px;
  }

  .listen-scope-card{
    padding:8px 9px;
  }

  .listen-settings-card{
    padding:9px;
    gap:7px;
  }

  .listen-choice{
    min-height:31px;
    font-size:9px;
  }

  .listen-play-controls{
    flex-basis:62px;
  }
}

#listenMode .listen-head{
  grid-template-columns:44px 1fr auto;
  gap:6px;
}

.offscreen-audio{
  position:fixed;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
  left:-10px;
  bottom:-10px;
}

#listenMode{
  gap:10px;
  overflow:hidden;
  overscroll-behavior-y:contain;
}

.listen-play-controls button,
.listen-choice.selected,
.listen-exit-btn{
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
  filter:saturate(1.02);
}


.listen-play-controls button:active{
  transform:translateY(1px) scale(.995);
  box-shadow:
    0 5px 10px rgba(28,61,95,.14),
    inset 0 1px 1px rgba(255,255,255,.18),
    inset 0 -2px 0 rgba(0,0,0,.10);
}


