
:root {
  --tl5-gap-sec: 17px;        
  --tl5-gap-row: 11px;        
  --tl5-gap-col: 16px;        
  --tl5-field-h: 40px;        
  --tl5-title-size: 13.5px;   
  --tl5-title-gap: 7px;       
  --tl5-label-size: 13px;     
  --tl5-pv-w: 320px;          
  --tl5-lyrics-h: 240px;      
  --tl5-pv-top: 14px;         
}

.tl5-host { padding: 0; border: 0; background: transparent; box-shadow: none; container-type: inline-size; }

.tl5 {
  display: grid;
  gap: var(--tl5-gap-sec);
  min-width: 0;
}
.tl5-main { display: grid; gap: var(--tl5-gap-sec); min-width: 0; align-content: start; }


@container (min-width: 760px) {
  .tl5 { grid-template-columns: minmax(0, var(--tl5-pv-w)) minmax(0, 1fr); gap: var(--tl5-gap-col); align-items: start; }
  .tl5-pv { position: sticky; top: var(--tl5-pv-top); background: var(--bg); z-index: 2; }
}


@container (max-width: 759px) {
  .tl5-pv { position: static; }
}


.tl5-sec > h3, .tl5-sec .ui-sec-t {
  font-size: var(--tl5-title-size);
  line-height: 18px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 var(--tl5-title-gap);
  letter-spacing: 0;
}
.tl5-sec .ui-sec-b { display: grid; gap: var(--tl5-gap-row); min-width: 0; }


.tl5-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tl5-gap-row);
  align-items: center;
  min-width: 0;
}
.tl5-row > .grow { flex: 1 1 220px; min-width: 0; }
.tl5-row .ui-field, .tl5-row .ui-fi { min-width: 0; }

.tl5 .ui-field > label, .tl5 .ui-field > .ui-label { font-size: var(--tl5-label-size); }
.tl5 .ui-input, .tl5 .input { height: var(--tl5-field-h); box-sizing: border-box; }


.tl5-hasfai { position: relative; }
.tl5-fai {
  position: absolute;
  right: 6px;
  top: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card, transparent);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.tl5-fai:hover, .tl5-fai:focus-visible { color: var(--accent); border-color: var(--accent); }


.tl5-fill { display: grid; gap: 6px; min-width: 0; }
.tl5-fillbtn { min-height: var(--tl5-field-h); white-space: nowrap; }
.tl5-status { margin: 0; font-size: 12.5px; min-height: 0; }
.tl5-status:empty { display: none; }
.tl5-status[data-err] { color: var(--bad, #b3261e); }


.tl5-sec.tl5-grow .ui-sec-b { display: flex; flex-direction: column; }
.tl5-sec.tl5-grow textarea, .tl5-sec.tl5-grow .ui-area { min-height: var(--tl5-lyrics-h); height: var(--tl5-lyrics-h); resize: vertical; }


.tl5-more { border: 0; padding: 0; }
.tl5-more > summary { font-size: 13px; color: var(--muted); cursor: pointer; padding: 4px 0; }
.tl5-more .tl5-sec { margin-top: var(--tl5-gap-row); }


.tl5-pv-card { display: grid; gap: 8px; min-width: 0; }
.tl5-pv-cover {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent, #c93a14), var(--line, #c9bca7));
  display: flex; align-items: flex-end; padding: 10px; color:var(--on-accent);
  font-size: 15px; font-weight: 500; overflow: hidden; word-break: break-word;
}
.tl5-pv-title { font-size: 15px; margin: 0; }
.tl5-pv-meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.tl5-pv-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.tl5-pv-tags li { font-size: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 2px 8px; }
.tl5-pv-empty { color: var(--muted); font-size: 13px; }

@media (max-width: 759px) {
  .tl5-pv-cover { aspect-ratio: auto; min-height: 56px; }
  .tl5-pv-card { grid-template-columns: 84px minmax(0, 1fr); align-items: start; }
}


.tl5, .tl5 * { box-sizing: border-box; }
.tl5 input, .tl5 textarea, .tl5 select { max-width: 100%; }


.tl5-lab { font-size: var(--tl5-label-size); color: var(--muted); margin-right: 6px; white-space: nowrap; }
.tl5-grp { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }


.tl5-fillbtn { font-size: 14px; padding: 0 16px; border-radius: 20px; }
.tl5-hasfai > input, .tl5-hasfai > .ui-input, .tl5-hasfai > .input { padding-right: 40px; }


.tl5-sec > h3.tl5-sec-h { display: flex; align-items: center; gap: 8px; justify-content: flex-start; }
.tl5-sec > h3.tl5-sec-h > .tl5-linkbtn { margin-left: auto; }
.tl5-num {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 50%;
  font-size: 11px; color: var(--muted);
}

.tl5-linkbtn {
  background: none; border: 0; padding: 2px 0; min-height: 0; margin: 0;
  font: inherit; font-size: 13px; font-weight: 400; color: var(--accent-text, var(--accent));
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap;
}
.tl5-linkbtn:disabled { opacity: .5; cursor: default; }


body:has(.tl5-host) .ts-steps,
body:has(.tl5-host) .ts-head { display: none !important; }

body:has(.tl5-host) .cv4-askfab { display: none !important; }


.tl5-genres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.tl5-genres .ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }


.tl5-lyr { position: relative; }
.tl5-sec.tl5-grow .ai-wr-open { position: absolute; top: auto; bottom: 10px; right: 10px; z-index: 1; }


.tl5-pv { width: 100%; }
.tl5-pv-card { display: grid; gap: 10px; min-width: 0; }
.tl5-pv-cover {
  aspect-ratio: 4 / 3; border-radius: 12px; display: flex; align-items: flex-end; padding: 12px;
  color: #fff; font-size: 16px; font-weight: 500; overflow: hidden; word-break: break-word;
}
.tl5-pv-body { display: grid; gap: 6px; min-width: 0; }
.tl5-pv-title { font-size: 15px; font-weight: 500; margin: 0; }
.tl5-pv-meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.tl5-pv-tags li { font-size: 12px; }
.tl5-pv-tags li.tl5-tags-ph { border: 0; padding: 0; font-size: 11.5px; color: var(--muted); }
.tl5-pv-struct { display: grid; gap: 2px; font-size: 12.5px; color: var(--muted); }
.tl5-pv-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; margin: 2px 0 0; font-size: 12.5px; }
.tl5-pv-kv dt { color: var(--muted); }
.tl5-pv-kv dd { margin: 0; min-width: 0; }
.tl5-pv-status { margin: 0; font-size: 12.5px; color: var(--accent-text, var(--accent)); }
.tl5-pv-status:empty { display: none; }


@container (max-width: 759px) {
  .tl5-pv-card { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; }
  .tl5-pv-cover { width: 64px; height: 64px; aspect-ratio: auto; padding: 6px; font-size: 11px; }
  .tl5-pv-empty { grid-column: 1 / -1; }
}

.tl5-lyr .ui-sec-b { position: relative; }
.tl5-lyr .ai-wr { position: static; }


:root { --tl5-pv-w: 300px; }

.tl5-status:not([data-err]) { display: none; }
.tl5-msg { margin: 0; font-size: 12px; color: var(--muted); flex-basis: 100%; }

.tl5-row > .tl5-title { flex: 0 0 35%; min-width: 0; }

.tl5-row > .tl5-grp + .tl5-grp { margin-left: 5px; }
.tl5-grp > .tl5-lab { font-size: 12px; }

.tl5 .ui-hint, .tl5 .hint, .tl5-grp .ui-hint { font-size: 12px; font-weight: 400; color: var(--muted); margin: 0; flex-basis: 100%; line-height: 1.35; }

.tl5-pv-cover { display: flex; align-items: flex-start; justify-content: flex-start; padding: 10px; aspect-ratio: 5 / 4; width: 100%; }
.tl5-pv-badge { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 12px; background: rgba(0, 0, 0, .35); color: #fff; }
.tl5-pv-badge[hidden] { display: none; }
@media (max-width: 759px) {
  .tl5-title { flex: 1 1 100%; }
  .tl5-pv-cover { width: 64px; height: 64px; aspect-ratio: auto; padding: 0; }
  .tl5-pv-badge { display: none; }
  
}

.tl5 p.ui-hint, .tl5 .tl5-grp > p.ui-hint { font-weight: 400 !important; font-size: 12px !important; color: var(--muted) !important; margin: 0 !important; }

.tl5-row > .tl5-title { flex: 0 0 40%; }
@media (max-width: 759px) { .tl5-row > .tl5-title { flex: 1 1 100%; } }

html:root .sh-main .tl5 p.ui-hint.ui-hint { font-weight: 400 !important; font-size: 12px !important; color: var(--muted) !important; }

.tl5-title input, .tl5-title .ui-input { width: 100%; min-width: 0; box-sizing: border-box; }


.tl5-foot {
  position: sticky; bottom: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 12px;
  padding: 10px 0; margin-top: var(--tl5-gap-sec); background: var(--bg);
}
.tl5-foot > .ui-note, .tl5-foot > .ui-hint { margin: 0; flex: 1 1 200px; min-width: 0; }
@media (max-width: 759px) { .tl5-foot { bottom: var(--tabs-h, 64px); } }

.tl5-fw { display: grid; gap: 5px; min-width: 0; }
.tl5-fw > .tl5-lab { font-size: 12px; color: var(--muted); }


.tl5-mp-clip { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; }
.tl5-mp-play { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color:var(--on-accent); font-size: 10px; }
.tl5-mp-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.tl5-mp-btn { font-size: 12px; padding: 4px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--card, transparent); color: var(--text); }
.tl5-mp-btn.is-stub { color: var(--muted); border-style: dashed; }
.tl5-mp-share { margin-left: auto; }

.tl5 p.ui-hint.tl5-pknote { margin: 0 !important; font-size: 12.5px !important; color: var(--muted) !important; }
.tl5-pknote a { color: var(--accent-text, var(--accent)); text-decoration: underline; }

.tl5-genrow { display: grid; gap: 8px; min-width: 0; }

.tl5-al-list { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); display: grid; gap: 2px; }

.tl5 .ui-row { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.tl5 .ui-rt { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tl5-hasfai > input, .tl5-hasfai > .ui-input, .tl5-hasfai > .input, .tl5-hasfai > textarea { padding-right: 40px; }
.tl5-hasfai-wide > input, .tl5-hasfai-wide > .ui-input, .tl5-hasfai-wide > .input { padding-right: 116px !important; }

html:root .tl5 .ui-rows .ui-row { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; gap: 6px; }
html:root .tl5 .ui-rows .ui-row .ui-rt { flex: 1 1 0%; width: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:root .tl5 .alb-ic { min-width: 28px; min-height: 28px; flex: 0 0 auto; }


.rp-sheet-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-sheet-img[hidden], .rp-sheet-ph[hidden] { display: none; }
.rp-sheet-ph { font-size: 13px; color: var(--muted); margin: auto; text-align: center; }
.tl5-pv-cover:has(.rp-sheet-img:not([hidden])) { padding: 0; }

@media (max-width: 759px) {
  .rp-sheet-ph { font-size: 10px; line-height: 1.2; }
  .rp-root.tl5-host { padding-bottom: 96px; }
}

.tl5-host .rp-thumbs { max-width: 440px; }
@media (max-width: 759px) { .tl5-host .rp-thumbs { max-width: none; } }


.tl5-host { padding-bottom: calc(var(--tl5-foot-h, 0px) + 12px); }
@media (max-width: 759px) {
  .tl5-host { padding-bottom: calc(var(--tl5-foot-h, 0px) + var(--tabs-h, 64px) + 12px + env(safe-area-inset-bottom, 0px)); }
}


body:has(.tl5-host) .sh-right { display: none !important; }

@media (min-width: 1024px) {
  body:has(.tl5-host) .sh, body:has(.tl5-host) .sh.is-v3.has-right { grid-template-columns: var(--side-w, 280px) minmax(0, 1fr); }
}
body:has(.tl5-host) .sh-main { max-width: 1100px !important; }
body:has(.tl5-host) .crumb { font-size: 16px !important; }
.tl5-host { margin-top: 12px; }

.tl5-pv-cover { aspect-ratio: auto; height: 200px; width: 100%; }

.tl5-is-empty .tl5-pv-title, .tl5-is-empty .tl5-pv-struct, .tl5-is-empty .tl5-pv-tags li { color: var(--muted); opacity: .65; }
.tl5-is-empty .tl5-pv-kv dd { color: var(--muted); }
@container (max-width: 759px) {
  .tl5-pv-cover { height: 64px; width: 64px; }
}

.tl5-sum-note { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.tl5-genres .chip, .tl5-genres .ui-chip { padding: 4px 9px; font-size: 12.5px; }
.tl5-row > .tl5-mood { flex: 1 1 260px; min-width: 180px; }
.tl5-row > .tl5-dur { flex: 0 0 auto; }
@container (max-width: 759px) { .tl5-row > .tl5-mood { flex: 1 1 100%; } }

.tl5-grp.tl5-dur { max-width: 100%; min-width: 0; }
.tl5-grp.tl5-dur > p.ui-hint { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
@container (max-width: 759px) { .tl5-row > .tl5-dur { flex: 1 1 100%; max-width: 100%; } }


body:has(.tl5-host) .crumb { gap: 12px; }
body:has(.tl5-host) .crumb .ttl { font-size: 16px !important; line-height: 1.3; white-space: nowrap; }
.tl5-grp.tl5-dur { flex-direction: column; align-items: flex-start; }
.tl5-grp.tl5-dur > p.ui-hint { width: 0; min-width: 100%; }


body:has(.tl5-host) .etc-fab { bottom: calc(var(--tl5-foot-h, 72px) + 12px + env(safe-area-inset-bottom, 0px)) !important; }
@media (max-width: 1023px) {
  body:has(.tl5-host) .etc-fab { bottom: calc(var(--tl5-foot-h, 72px) + var(--tabs-h, 58px) + 12px + env(safe-area-inset-bottom, 0px)) !important; }
}


.clp-live > :not(button):not(label):not(video) { flex: 1 1 200px; min-width: 0; white-space: normal; overflow-wrap: anywhere; }


.tl5 .tl5-pv.clp-c-left { position: static; top: auto; }
@container (min-width: 760px) {
  .tl5 .tl5-pv.clp-c-left { position: sticky; top: var(--tl5-pv-top); }
}
.tl5 .tl5-pv .clp-c-prev[data-fmt="9:16"] { width: calc(min(420px, 60vh) * 9 / 16); height: min(420px, 60vh); }
.tl5 .tl5-pv .clp-c-prev[data-fmt="1:1"],
.tl5 .tl5-pv .clp-c-prev[data-fmt="16:9"] { width: 100%; }
.tl5 .tl5-pv .clp-pv-btn { width: 100%; }
@container (max-width: 759px) {
  .tl5 .tl5-pv .clp-c-prev[data-fmt="9:16"] { width: 146px; height: 260px; }
}
