/* 자동 자막 체험 (시안) — site.css · next.css · guide.css 위에 덧씀
   색 규칙: 빨강 = 오류·문제, 초록 = 끝남·확인 완료·무료, 파랑 = 회사 색·숫자·단추
   이 페이지의 이름표는 모두 t- 로 시작합니다(다른 페이지의 .status·.caption·.drop과 겹치지 않게). */

.t-page{padding-bottom:0} /* next.css의 '미리보기 띠' 자리(64px)는 이 페이지에 없음 */
.t-page [hidden]{display:none!important}
.t-main{padding-bottom:96px}

/* ── 첫머리 ───────────────────────────────────────────── */
.t-intro{position:relative;overflow:hidden;isolation:isolate;padding:60px 0 34px}
.t-intro h1{font-size:clamp(30px,4vw,46px);line-height:1.24;letter-spacing:-.035em;font-weight:800;margin:0 0 16px}
.t-intro .lead{margin:0 0 30px;max-width:34em}

/* 체험 단계 사다리 */
.t-ladder{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.t-tier{position:relative;padding:15px 18px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.88);box-shadow:0 16px 32px -28px rgba(5,40,80,.45);transition:border-color .25s,box-shadow .25s,background-color .25s}
.t-tier + .t-tier::before{content:"";position:absolute;left:-9px;top:50%;width:7px;height:7px;border-top:2px solid #9fb6cc;border-right:2px solid #9fb6cc;transform:translate(-50%,-50%) rotate(45deg)}
.t-tier.is-now{border-color:var(--blue);background:#f3f8fd;box-shadow:0 0 0 1px var(--blue),0 18px 36px -26px rgba(29,117,179,.65)}
.t-tier-head{display:flex;align-items:center;gap:7px;margin:0 0 5px;font-size:17px;line-height:1.4;letter-spacing:-.01em}
.t-tier-no{color:var(--blue);font-weight:800}
.t-now,.t-tier-head .chip{margin-left:auto}
.t-now{flex:none;padding:2px 9px;border-radius:999px;background:var(--blue);color:#fff;font-size:12.5px;font-weight:800;letter-spacing:0}
.t-tier:not(.is-now) .t-now{display:none}
.t-tier-facts{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;color:var(--muted);font-size:14.5px;line-height:1.6}
.t-tier-facts li+li::before{content:"·";margin:0 .45em;color:#9aabbb}
.t-tier-trial .t-tier-no,.t-tier-trial .t-tier-head b{color:var(--green)}
.t-tier-desc{margin:0 0 8px;color:var(--muted);font-size:14.5px;line-height:1.6}

/* ── 작업대 ─────────────────────────────────────────────── */
.t-stage{position:relative}
.t-bench{padding:24px 32px 30px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 22px 50px -40px rgba(5,40,80,.5);transition:opacity .2s}
.t-bench.is-busy{opacity:.5}

/* 방식 탭 */
.t-tabs{display:inline-flex;gap:4px;margin:0 0 14px;padding:4px;border-radius:12px;background:#eef3f8}
.t-tabs [role="tab"]{min-height:42px;padding:8px 22px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:15.5px;font-weight:700;line-height:1.3;cursor:pointer}
.t-tabs [role="tab"]:hover{color:var(--navy)}
.t-tabs [role="tab"][aria-selected="true"]{background:#fff;color:var(--navy);box-shadow:0 1px 2px rgba(5,40,80,.12),0 6px 14px -8px rgba(5,40,80,.35)}
.t-panel{padding:0 0 20px;border-bottom:1px solid var(--line)}
.t-quota{margin:0;font-size:17px;font-weight:700;letter-spacing:-.01em}
.t-quota b{color:var(--blue);font-variant-numeric:tabular-nums}
.t-sub{margin:4px 0 0;color:var(--muted);font-size:14.5px;line-height:1.65}
.t-sub a{font-weight:700}

.t-invite label{display:block;margin:0 0 6px;font-size:15px;font-weight:700}
.t-invite-row{display:flex;gap:8px;max-width:440px}
.t-invite input{flex:1 1 auto;min-width:0;padding:10px 14px;border:1px solid #bccbda;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:17px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.t-invite input::placeholder{color:#8a99a8;font-weight:500;letter-spacing:0;text-transform:none}
.t-invite input[aria-invalid="true"]{border-color:var(--red);background:#fff7f7}
.t-invite .btn{padding:10px 20px}
.t-invite + .t-quota{margin-top:2px}
.t-msg{margin:8px 0 0;font-size:14.5px;font-weight:700;line-height:1.55}
.t-msg:empty{display:none}
.t-msg.is-err{color:var(--red)}
.t-msg.is-ok{color:var(--green)}

/* 단계 */
.t-step{padding:24px 0;border-bottom:1px solid var(--line)}
.t-step:last-child{padding-bottom:0;border-bottom:0}
.t-step-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 16px}
.t-step-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:20px;line-height:1.4;letter-spacing:-.02em;font-weight:800}
.t-step-title small{font-size:14.5px;font-weight:600;color:var(--muted);letter-spacing:0}
.t-no{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--blue);color:#fff;font-size:14px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.t-step.is-done .t-no{background:var(--green);font-size:0}
.t-step.is-done .t-no::before{content:"";width:10px;height:5px;border-left:2.5px solid #fff;border-bottom:2.5px solid #fff;transform:translateY(-1px) rotate(-45deg)}
.t-fine{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.65}
.t-link{padding:4px 2px;border:0;background:none;color:var(--blue);font:inherit;font-size:14.5px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.t-link:hover{color:var(--navy)}

/* 1 영상 고르기 */
.t-drop{display:grid;justify-items:center;gap:10px;padding:28px 20px;border:2px dashed #c3d1de;border-radius:14px;background:#f4f8fc;text-align:center;cursor:pointer;transition:border-color .2s,background-color .2s}
.t-drop:hover{border-color:#a9c2d9}
.t-drop.is-over{border-color:var(--blue);background:#e8f2fb}
.t-drop-icon{width:44px;height:44px;color:var(--blue)}
.t-drop-text{margin:0;font-weight:600}
.t-drop-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}
.t-chosen{display:flex;align-items:flex-start;gap:14px;margin:14px 0 0;padding:14px 12px 14px 16px;border:1px solid #b9d3ea;border-radius:12px;background:#f3f8fd}
.t-chosen-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid #d3e3f1;border-radius:10px;background:#fff;color:var(--blue)}
.t-chosen-icon svg{width:24px;height:24px}
.t-chosen-body{flex:1 1 auto;min-width:0}
.t-chosen-body p{margin:0}
.t-chosen-name{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t-chosen-meta{color:var(--muted);font-size:14.5px;font-variant-numeric:tabular-nums}
.t-chosen-meta.is-err{color:var(--red);font-weight:700}
.t-chosen-part{margin-top:3px!important;color:var(--blue);font-size:15px;font-weight:700}
.t-x{flex:none;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:26px;line-height:1;cursor:pointer}
.t-x:hover{background:#e3edf6;color:var(--ink)}

/* 2 설정 */
.t-sets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.t-set{padding:14px 16px 12px;border-radius:12px;background:#f4f8fc}
.t-set-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.t-set-top label{font-size:15.5px;font-weight:700;line-height:1.4}
.t-num{flex:none;display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:14px;font-weight:700}
.t-num input{width:4.7em;padding:4px 6px 4px 8px;border:1px solid #bccbda;border-radius:8px;background:#fff;color:var(--blue);font:inherit;font-size:17px;font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.t-out{color:var(--blue);font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.t-set input[type="range"]{display:block;width:100%;margin:10px 0 6px;accent-color:var(--blue);cursor:pointer}
.t-help{margin:0;color:var(--muted);font-size:13.5px;line-height:1.6}

/* 3 확인 */
.t-agree{display:grid;gap:8px;margin:0 0 14px}
.t-check{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;line-height:1.6;cursor:pointer;transition:border-color .2s,background-color .2s}
.t-check:hover{border-color:#b9d3ea}
.t-check input{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:var(--green);cursor:pointer}
.t-check:has(input:checked){border-color:#bfe5cc;background:#f1f9f4}
.t-human{display:flex;align-items:center;gap:12px;max-width:340px;padding:14px 16px;border:1px dashed #b8c6d4;border-radius:8px;background:#fafcfe;color:var(--muted);font-size:14px;line-height:1.5}
.t-human-box{flex:none;width:22px;height:22px;border:2px solid #c3d1de;border-radius:4px;background:#fff}
.t-go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:20px}
.t-make{padding:15px 30px;font-size:17px}
.t-page .btn:disabled,.t-page .btn:disabled:hover{background:#c9d5e1;border-color:transparent;color:#fff;box-shadow:none;cursor:not-allowed}
.t-make-hint{margin:0;color:var(--muted);font-size:14.5px;line-height:1.55}
.t-make-hint.is-ready{color:var(--green);font-weight:700}

/* ── 진행 ───────────────────────────────────────────────── */
.t-progress{margin:22px 0 0;padding:22px 26px 20px;border:1px solid #b9d3ea;border-radius:16px;background:#fff;box-shadow:0 22px 50px -40px rgba(5,40,80,.55)}
.t-prog-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.t-prog-head h2{margin:0 auto 0 0;font-size:19px;line-height:1.4;letter-spacing:-.02em}
.t-prog-time{margin:0;color:var(--muted);font-size:15px;font-variant-numeric:tabular-nums}
.t-cancel{padding:8px 16px;font-size:15px}
.t-prog-steps{list-style:none;margin:18px 0 14px;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.t-prog-steps li{display:flex;align-items:center;gap:8px;color:#8a99a8;font-size:14.5px;font-weight:700;line-height:1.35}
.t-prog-steps i{flex:none;display:grid;place-items:center;width:22px;height:22px;border:2px solid #c9d5e1;border-radius:50%;background:#fff;color:#05301a;font-size:12px;font-style:normal;font-weight:900}
.t-prog-steps li.is-on{color:var(--navy)}
.t-prog-steps li.is-on i{border-color:var(--blue);box-shadow:0 0 0 4px rgba(29,117,179,.15)}
.t-prog-steps li.is-on i::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);animation:t-pulse .8s ease-in-out infinite alternate}
.t-prog-steps li.is-done{color:var(--green)}
.t-prog-steps li.is-done i{border-color:var(--green-hi);background:var(--green-hi)}
.t-prog-steps li.is-done i::after{content:"✓"}
.t-bar{height:8px;border-radius:4px;background:#e3ebf3;overflow:hidden}
.t-bar span{display:block;width:0;height:100%;border-radius:4px;background:var(--blue)}
.t-bar.is-done span{background:var(--green-hi)}
.t-prog-now{margin:10px 0 0;color:var(--muted);font-size:14.5px}
@keyframes t-pulse{from{opacity:.3}to{opacity:1}}

/* ── 결과 ───────────────────────────────────────────────── */
.t-result{margin:44px 0 0}
.t-result-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:6px 18px;margin:0 0 16px}
.t-result-head h2{margin:0;font-size:clamp(24px,2.8vw,30px);line-height:1.3;letter-spacing:-.03em;font-weight:800}
.t-result-head h2:focus{outline:none}
.t-result-meta{margin:4px 0 0;color:var(--muted);font-size:15px}
.t-result-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);grid-template-areas:"player cues" "adjust cues";gap:18px 22px;align-items:start}
.t-player-col{grid-area:player;min-width:0}
.t-adjust{grid-area:adjust;min-width:0}
.t-cues-col{grid-area:cues;position:relative;align-self:stretch;min-width:0;min-height:440px}

/* 화면 */
.t-banner{display:flex;align-items:center;gap:9px;margin:0 0 10px;padding:9px 14px;border:1px solid #b9d3ea;border-radius:10px;background:#e8f2fb;color:var(--navy);font-size:14.5px;font-weight:700;line-height:1.5}
.t-banner svg{flex:none;width:18px;height:18px;color:var(--blue)}
.t-player{border-radius:14px;overflow:hidden;background:#0a1729;box-shadow:0 34px 70px -34px rgba(5,40,80,.7)}
.t-screen{position:relative;container-type:inline-size;aspect-ratio:16/9;overflow:hidden;background:radial-gradient(120% 100% at 15% 0%,#1f3d63 0%,#10243f 55%,#0a1729 100%);--cap-scale:1}
.t-screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}
.t-audio{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:8px;color:#9fb3c8;font-size:clamp(12px,2.4cqw,16px);font-weight:700}
.t-audio svg{width:clamp(36px,9cqw,64px);height:auto;color:#22c4ed}
.t-badge{position:absolute;right:3%;top:5%;padding:.3em .8em;border-radius:999px;background:rgba(29,117,179,.95);color:#fff;font-size:clamp(10px,2.1cqw,13px);font-weight:800;line-height:1.3}
.t-bigplay{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:clamp(48px,11cqw,72px);height:clamp(48px,11cqw,72px);padding:0;border:0;border-radius:50%;background:rgba(5,40,80,.8);color:#fff;transform:translate(-50%,-50%);box-shadow:0 12px 30px -10px rgba(0,0,0,.6);cursor:pointer;transition:background-color .2s}
.t-bigplay:hover{background:var(--blue)}
.t-bigplay svg{width:44%;height:44%;margin-left:6%}
.t-cap{position:absolute;left:50%;bottom:7%;transform:translateX(-50%);width:max-content;max-width:94%;margin:0;padding:.24em .7em;border-radius:4px;background:rgba(0,0,0,.74);color:#fff;font-size:clamp(10px,calc(3cqw * var(--cap-scale)),48px);font-weight:500;line-height:1.45;text-align:center;text-wrap:balance;word-break:keep-all;overflow-wrap:anywhere}
.t-ctrl{display:flex;align-items:center;gap:10px;padding:6px 16px 6px 6px;background:#0a1729;color:#cfe0f1}
.t-play{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#fff;cursor:pointer}
.t-play:hover{background:rgba(255,255,255,.1)}
.t-play svg{width:24px;height:24px}
.t-play .i-pause,.t-play.is-playing .i-play{display:none}
.t-play.is-playing .i-pause{display:block}
.t-time{flex:none;min-width:7.4em;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.t-seek{flex:1 1 auto;min-width:0;margin:0;accent-color:#22c4ed;cursor:pointer}

/* 바꿔 보기 */
.t-adjust{padding:16px 18px 14px;border-radius:14px;background:#f4f8fc}
.t-adjust h3{margin:0 0 10px;font-size:16px;letter-spacing:-.01em}
.t-adjust-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
.t-adjust .t-set{padding:0;background:none}
.t-adjust .t-set input[type="range"]{margin-bottom:4px}
.t-stats{margin:10px 0 0;padding-top:10px;border-top:1px solid #dbe5ee;font-size:15px}
.t-stats b{color:var(--blue);font-variant-numeric:tabular-nums}
.t-flagged{margin:6px 0 0!important}
.t-flagged b{color:var(--red)}
.t-flagged span{display:inline;gap:0}
.t-flagged i{margin-right:7px;vertical-align:-1px}

/* 자막 목록 */
.t-cues{position:absolute;inset:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 22px 50px -44px rgba(5,40,80,.5)}
.t-cues > summary{display:flex;align-items:center;gap:8px;height:50px;padding:0 16px;border-bottom:1px solid var(--line);background:#fbfdff;font-weight:800;list-style:none;cursor:pointer}
.t-cues > summary::-webkit-details-marker{display:none}
.t-cues > summary::after{content:"–";margin-left:auto;color:var(--blue);font-size:22px;font-weight:400;line-height:1}
.t-cues:not([open]) > summary{border-bottom:0}
.t-cues:not([open]) > summary::after{content:"+"}
.t-cue-count{color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}
.t-cue-scroll{position:absolute;top:50px;right:0;bottom:0;left:0;overflow-y:auto;overscroll-behavior:contain}
.t-cue-list{list-style:none;margin:0;padding:4px 0}
.t-cue button{display:grid;grid-template-columns:4.4em minmax(0,1fr);gap:0 10px;width:100%;padding:7px 14px 7px 13px;border:0;border-left:3px solid transparent;background:none;color:var(--ink);font:inherit;font-size:15px;line-height:1.55;text-align:left;cursor:pointer}
.t-cue button:hover{background:#f4f8fc}
.t-cue button:focus-visible{outline-offset:-3px}
.t-cue-time{padding-top:.12em;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.t-cue-text{overflow-wrap:anywhere}
.t-cue-why{grid-column:2;color:var(--red);font-size:12.5px;font-weight:700;line-height:1.45}
.t-cue-note{grid-column:2;color:#7a8a99;font-size:12.5px;line-height:1.45}
.t-cue.is-now button{background:#e8f2fb;border-left-color:var(--blue)}
.t-cue.is-flag button{border-left-color:var(--red)}
.t-cue.is-flag .t-cue-time{color:var(--red);font-weight:700}

/* 받기 · 다음 단계 */
.t-after{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 22px;margin-top:22px;align-items:start}
.t-dl,.t-next{padding:18px 20px 20px;border-radius:14px}
.t-dl{border:1px solid var(--line);background:#fff}
.t-dl h3,.t-next h3{margin:0 0 12px;font-size:18px;line-height:1.4;letter-spacing:-.02em}
.t-dl-btns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.t-dl-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 6px;border:1px solid #bccbda;border-radius:8px;background:#fff;color:var(--navy);font:inherit;font-size:15px;font-weight:800;letter-spacing:.02em;cursor:pointer;transition:border-color .2s,color .2s,background-color .2s}
.t-dl-btn:hover:not(:disabled){border-color:var(--blue);background:#f3f8fd;color:var(--blue)}
.t-dl-btn:disabled{border-color:#dde5ec;background:#f4f7fa;color:#8a99a8;cursor:not-allowed}
.t-dl-btn svg{flex:none;width:16px;height:16px}
.t-dl-btn:disabled .i-dl,.t-dl-btn:not(:disabled) .i-lock{display:none}
.t-dl-note{margin:12px 0 0;color:var(--muted);font-size:14.5px;line-height:1.65}
.t-dl-note p{margin:0}
.t-dl-note a{font-weight:700}
.t-dl-act{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:10px!important}
.t-dl-act .btn{padding:8px 16px;font-size:15px}
.t-dl-name{color:var(--ink);font-weight:700;overflow-wrap:anywhere}
.t-next{border:1px solid #bfe5cc;background:#ecf8f0}
.t-next p{margin:0 0 16px;line-height:1.7}
.t-next-act{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}

/* ── 화면 폭 ───────────────────────────────────────────── */
@media (max-width:960px){
  .t-result-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"player" "adjust" "cues"}
  .t-cues-col{position:static;min-height:0}
  .t-cues{position:static}
  .t-cue-scroll{position:static;max-height:440px}
}
@media (max-width:760px){
  .t-main{padding-bottom:64px}
  .t-intro{padding:34px 0 26px}
  .t-intro .lead{margin-bottom:22px}
  .t-ladder{grid-template-columns:1fr;gap:14px}
  .t-tier + .t-tier::before{left:50%;top:-8px;transform:translate(-50%,-50%) rotate(135deg)}
  .t-bench{padding:16px 16px 22px;border-radius:14px}
  .t-tabs{display:flex}
  .t-tabs [role="tab"]{flex:1 1 0;padding:8px 10px}
  .t-invite-row{max-width:none}
  .t-step{padding:20px 0}
  .t-step-title{font-size:18.5px}
  .t-drop{padding:22px 14px;cursor:default}
  .t-drop-btns{width:100%}
  .t-drop-btns .btn,.t-make{width:100%}
  .t-sets{grid-template-columns:minmax(0,1fr)}
  .t-human{max-width:none}
  .t-progress{padding:18px 16px}
  .t-prog-steps{grid-template-columns:minmax(0,1fr);gap:7px}
  .t-result{margin-top:34px}
  .t-ctrl{gap:6px;padding-right:12px}
  .t-time{min-width:0;font-size:13px}
  .t-adjust-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .t-cue-scroll{max-height:60vh}
  .t-after{grid-template-columns:minmax(0,1fr)}
  .t-dl,.t-next{padding:16px}
  .t-next-act .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .t-tier,.t-bench,.t-drop,.t-check,.t-bigplay,.t-dl-btn{transition:none}
  .t-prog-steps li.is-on i::after{animation:none}
}

.menu a.menu-try{color:var(--blue);font-weight:700}
.menu a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.t-short{margin:6px 0 0}
.t-short b{color:var(--ink)}

/* ── 3차: 연결 전 안내, 자막 목록(SS_SubEditor 칸), 오류 ───────────────── */
.t-offline-box{display:grid;justify-items:start;gap:12px;padding:18px 20px;border:1px dashed #b9d3ea;border-radius:14px;background:#f4f8fc}
.t-offline{margin:0;color:var(--ink);font-size:15px;line-height:1.7}
.t-offline a{font-weight:700}
.t-panel .t-offline{margin:0 0 12px;padding:12px 14px;border-radius:10px;background:#f4f8fc;font-size:14.5px}
.t-invite input:disabled,.t-invite .btn:disabled{opacity:.55;cursor:not-allowed}
.t-exp{color:var(--muted);font-weight:600}
.t-make-hint.is-err{color:var(--red);font-weight:700}
.t-red b{color:var(--red)}
.t-stats .t-red{color:var(--red);font-weight:700}
#t-resplit-note{margin-top:6px}

.t-cue-head,.t-cue button{display:grid;grid-template-columns:7.3em 2.7em minmax(0,1fr) 2.4em 2.4em;grid-template-areas:"s d t cps n";gap:0 8px;align-items:baseline}
.t-cue-head{position:sticky;top:0;z-index:1;padding:6px 12px 6px 13px;border-bottom:1px solid var(--line);background:#f7fafd;color:var(--muted);font-size:11.5px;font-weight:700;line-height:1.3}
.t-cue-head span:nth-child(1){grid-area:s}.t-cue-head span:nth-child(2){grid-area:d;text-align:right}.t-cue-head span:nth-child(3){grid-area:t}
.t-cue-head span:nth-child(4){grid-area:cps;text-align:right}.t-cue-head span:nth-child(5){grid-area:n;text-align:right}
.t-cue button{padding:6px 12px 6px 13px;font-size:14.5px;line-height:1.5}
.t-c{min-width:0;font-variant-numeric:tabular-nums}
.c-s,.c-d,.c-cps,.c-n{font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;color:var(--muted);white-space:nowrap}
.c-s{grid-area:s}.c-d{grid-area:d;text-align:right}.c-t{grid-area:t;overflow-wrap:anywhere;color:var(--ink)}.c-cps{grid-area:cps;text-align:right}.c-n{grid-area:n;text-align:right}
.cell-error{padding:0 3px;margin:0 -3px;border-radius:3px;background:rgba(180,80,80,.10);color:var(--red)!important;font-weight:800}
.t-cue.is-flag button{border-left-color:var(--red)}
@media (max-width:760px){
  .t-cue-head,.t-cue button{grid-template-columns:7.2em 2.9em 2.4em 2.4em minmax(0,1fr);grid-template-areas:"s d cps n ." "t t t t t";gap:1px 8px}
  .t-cue-head{grid-template-areas:"s d cps n ."}
  .t-cue-head span:nth-child(3){display:none}
  .c-s,.c-d,.c-cps,.c-n{font-size:11.5px}
  .c-d,.c-cps,.c-n,.t-cue-head span:nth-child(2),.t-cue-head span:nth-child(4),.t-cue-head span:nth-child(5){text-align:left}
}
/* 자막 목록: 숫자 칸은 고정 폭(12px 고정폭 글꼴 기준)으로 줄이고 목록 칸을 넓힘 */
.t-result-grid{grid-template-columns:minmax(0,1.38fr) minmax(0,1fr)}
.t-cue-head,.t-cue button{grid-template-columns:88px 30px minmax(0,1fr) 24px 26px;gap:0 7px;padding-left:11px;padding-right:10px}
@media (max-width:960px){.t-result-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){
  .t-cue-head,.t-cue button{grid-template-columns:72px 30px 26px 28px minmax(0,1fr);gap:1px 8px}
}
