/* Film caption controls, inside the export panel */
.tvc-wrap{
  display:flex;flex-direction:column;gap:9px;margin:14px 0 4px;padding:13px 14px;
  border-radius:12px;background:rgba(227,174,68,.05);border:1px solid rgba(227,174,68,.26);
  font-family:"Instrument Sans","Helvetica Neue",Arial,sans-serif;
}
.tvc-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tvc-head b{
  font-family:"Archivo",Arial,sans-serif;font-weight:700;font-size:13.5px;color:#F8E2A8;
}
.tvc-wrap .tvc-note{margin:0;font-size:11.5px;line-height:1.45;color:#7F8CA6}
.tvc-sw{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:12px;color:#C3CBDB}
.tvc-sw input{accent-color:#E3AE44;width:15px;height:15px;cursor:pointer}
.tvc-f{display:flex;flex-direction:column;gap:4px}
.tvc-f > span{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:9.5px;letter-spacing:.13em;
  text-transform:uppercase;color:#7F8CA6;
}
.tvc-f > span i{font-style:normal;text-transform:none;letter-spacing:0;color:#55607A}
.tvc-f > span b{color:#F8E2A8;font-weight:600}
.tvc-f input[type=text]{
  font-family:inherit;font-size:13px;color:#EDF0F6;background:#090E1B;
  border:1px solid rgba(150,168,204,.16);border-radius:8px;padding:8px 10px;width:100%;
}
.tvc-f input[type=text]:focus{border-color:#E3AE44;outline:none}
.tvc-f input[type=range]{
  -webkit-appearance:none;appearance:none;width:100%;height:4px;padding:0;border:none;
  border-radius:99px;background:linear-gradient(90deg,#A8781F,#E3AE44,#F8E2A8);cursor:pointer;
}
.tvc-f input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;width:14px;height:14px;border-radius:50%;cursor:pointer;
  background:#F8E2A8;box-shadow:0 2px 7px rgba(0,0,0,.55);
}
.tvc-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tvc-al{
  cursor:pointer;border-radius:999px;padding:6px 12px;font-family:inherit;font-weight:600;
  font-size:12px;color:#7F8CA6;background:#090E1B;border:1px solid rgba(150,168,204,.16);
}
.tvc-al:hover{border-color:rgba(227,174,68,.45);color:#F8E2A8}
.tvc-al.on{background:linear-gradient(180deg,#F8E2A8,#E3AE44);color:#241704;border-color:transparent}
.tvc-prev{
  width:100%;height:auto;border-radius:8px;display:block;
  border:1px solid rgba(150,168,204,.16);background:#101521;
}

/* sound switches in the caption panel */
.tvc-sound{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:2px}
.tvc-sound > span{
  font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:9.5px;letter-spacing:.13em;
  text-transform:uppercase;color:#7F8CA6;
}
.tvc-sound .tvc-sw input:disabled{opacity:.4;cursor:default}

/* the same caption riding over the film preview on screen */
.tvc-live{
  position:absolute;z-index:8;pointer-events:none;
  perspective:800px;
  display:flex;gap:.3em;flex-direction:column;
  font-family:"Archivo","Helvetica Neue",Arial,sans-serif;
  text-shadow:0 2px 10px rgba(0,0,0,.6);
}
/* the page name turns over like the leaf itself */
.tvc-live i{
  display:inline-block;transform-origin:50% 0%;backface-visibility:hidden;
  transition:transform .15s cubic-bezier(.25,.9,.3,1), opacity .15s ease, filter .15s ease;
}
.tvc-live.turn i{transform:rotateX(-86deg) translateY(-1px);opacity:0;filter:blur(1.6px)}
.tvc-live.in i{transform:rotateX(86deg);opacity:0;filter:blur(1.6px);transition:none}
/* the album name and the page sit on one ruled line */
.tvc-line{
  display:inline-flex;align-items:baseline;gap:.7em;text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.32);padding-bottom:.26em;width:max-content;max-width:100%;
}
.tvc-live b{font-weight:600;letter-spacing:.18em;color:#fff;text-transform:uppercase}
.tvc-live i{font-style:normal;font-weight:400;letter-spacing:.1em;color:rgba(255,255,255,.86)}
.tvc-live i:not(:empty)::before{content:"";display:inline-block;width:1px;height:.95em;
  margin-right:.7em;vertical-align:-.1em;background:rgba(255,255,255,.42)}
.tvc-live span{font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.66em;
  letter-spacing:.14em;color:rgba(255,255,255,.72);
  border-bottom:1px solid rgba(255,255,255,.34);align-self:flex-start;
  width:max-content;padding-bottom:.18em;margin-top:.35em;
}
