/* Fix YouTube Subtitles landing page only (/tools/fix-youtube-subtitles). */
.tp-ycc-hero{--ycc-ink:#071b35;--ycc-muted:#4d5f76;--ycc-line:#d3deec;--ycc-blue:#1f5cf0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,56px);align-items:start;padding-top:clamp(20px,3vw,40px);padding-bottom:clamp(24px,3vw,40px)}
.tp-ycc-intro,.tp-ycc-get{min-width:0}
.tp-ycc-intro h1{margin:8px 0 14px;font-size:clamp(2rem,3.6vw,3.2rem);line-height:1.05;letter-spacing:-.04em;color:var(--ycc-ink);overflow-wrap:anywhere}
.tp-ycc-lede{margin:0 0 20px;color:var(--ycc-muted);font-size:1.06rem;line-height:1.6;max-width:60ch}
.tp-ycc-start{display:grid;grid-template-columns:minmax(0,15rem) minmax(0,1fr);align-items:start;gap:14px;padding:18px;border:1px solid #bfd0e5;border-radius:18px;background:#fff;box-shadow:0 18px 44px rgba(9,34,70,.1)}
.tp-ycc-go{justify-self:stretch;justify-content:center;white-space:nowrap;min-height:52px;padding-inline:16px;font-size:1rem}
.tp-ycc-shift{padding:14px 16px;border-radius:12px;background:#f2f6fc;border:2px solid #9fb8e0}
.tp-ycc-shift p{margin:0;color:var(--ycc-muted);font-size:.94rem;line-height:1.55}
.tp-ycc-shift p b{color:var(--ycc-ink)}
.tp-ycc-shift .tp-ycc-shift-title{margin:0 0 6px;color:var(--ycc-ink);font-weight:800;font-size:1rem}
.tp-ycc-facts{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.tp-ycc-facts li{padding:6px 12px;border:1px solid var(--ycc-line);border-radius:999px;background:#fff;color:var(--ycc-ink);font-size:.88rem;line-height:1.4}
.tp-ycc-plan{margin:12px 0 0;color:var(--ycc-muted);font-size:.92rem}
.tp-ycc-plan b{color:var(--ycc-ink)}
.tp-ycc-plan a,.tp-ycc-keep a{display:inline-flex;align-items:center;min-height:40px;color:var(--ycc-blue);font-weight:800;text-underline-offset:3px}
.tp-ycc-get{padding:20px;border:1px solid var(--ycc-line);border-radius:18px;background:#f8fafd}
.tp-ycc-get-title{margin:0 0 12px;font-size:1.15rem;color:var(--ycc-ink)}
.tp-ycc-files{margin:0 0 16px;padding:0;list-style:none;display:grid;gap:8px}
.tp-ycc-files li{display:grid;gap:2px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid var(--ycc-line)}
.tp-ycc-files b{color:var(--ycc-ink);font-size:.95rem;overflow-wrap:anywhere}
.tp-ycc-files span{color:var(--ycc-muted);font-size:.86rem}
.tp-ycc-keep{margin:12px 0 0;color:var(--ycc-muted);font-size:.88rem}

.tp-ycc-steps{padding-block:clamp(20px,3vw,36px)}
.tp-ycc-steps h2{margin:0 0 14px;font-size:clamp(1.3rem,2vw,1.6rem)}
.tp-ycc-steps ol{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tp-ycc-steps li{display:flex;gap:12px;padding:16px;border:1px solid #d3deec;border-radius:14px;background:#fff}
.tp-ycc-steps li>span{flex:0 0 32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#1f5cf0;color:#fff;font-weight:800}
.tp-ycc-steps strong{display:block;margin-bottom:4px}
.tp-ycc-steps p{margin:0;color:#4d5f76;font-size:.92rem;line-height:1.5}

.creator-tool-page details.tp-ycc-fold#demo,details.tp-ycc-fold[id]{padding:0;scroll-margin-top:90px}
.tp-ycc-fold{margin-block:14px;border:1px solid #d3deec;border-radius:16px;background:#fff}
.tp-ycc-fold>summary{display:flex;flex-direction:column;gap:2px;min-height:56px;justify-content:center;padding:12px 48px 12px 18px;position:relative;cursor:pointer;font-weight:800;font-size:1.05rem;color:#071b35;list-style:none}
.tp-ycc-fold>summary::-webkit-details-marker{display:none}
.tp-ycc-fold>summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#1f5cf0}
.tp-ycc-fold[open]>summary::after{content:"\2212"}
.tp-ycc-fold>summary small{font-weight:600;font-size:.88rem;color:#4d5f76}
.tp-ycc-fold>summary:focus-visible{outline:3px solid #1f5cf0;outline-offset:2px;border-radius:14px}
.tp-ycc-fold>.section{padding-top:8px}
.tp-ycc-fold .shell{width:auto;max-width:none;padding-inline:clamp(12px,2vw,20px)}
.tp-ycc-fold>.section.shell{padding-inline:clamp(12px,2vw,20px)}

@media (max-width:900px){
  .tp-ycc-hero{grid-template-columns:minmax(0,1fr)}
  .tp-ycc-steps ol{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:520px){
  .tp-ycc-go{justify-self:stretch;justify-content:center}
  .tp-ycc-start,.tp-ycc-get{padding:14px}
  .tp-ycc-start{grid-template-columns:minmax(0,1fr)}
  .tp-ycc-diff th,.tp-ycc-diff td{padding:7px 6px;font-size:.8rem}
}
.tp-ycc-fold .caption-demo-section{padding-top:24px}

/* round 2: visible shift panel next to the file button */
.tp-ycc-actions{display:grid;gap:8px;min-width:0}
.tp-ycc-actions-note{margin:0;color:var(--ycc-muted);font-size:.88rem;line-height:1.45}
.tp-ycc-shift .tp-ycc-shift-title{font-size:1.1rem}
.tp-ycc-offset{display:grid;gap:4px;margin:0 0 10px}
.tp-ycc-offset-label{font-size:.85rem;font-weight:700;color:var(--ycc-ink)}
.tp-ycc-offset-field{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 12px;border:1px solid #8ea6c8;border-radius:8px;background:#fff;font-variant-numeric:tabular-nums;font-size:1.1rem;font-weight:800;color:var(--ycc-ink)}
.tp-ycc-offset-field span+span{font-size:.9rem;font-weight:600;color:var(--ycc-muted)}
.tp-ycc-shift-rules{margin:0 0 10px;padding:0 0 0 18px;display:grid;gap:4px;color:var(--ycc-ink);font-size:.92rem;line-height:1.45}
.tp-ycc-shift-rules b{font-variant-numeric:tabular-nums}
.tp-ycc-shift .tp-ycc-shift-note{font-size:.88rem}
.tp-ycc-get-sub{margin:0 0 12px;color:var(--ycc-muted);font-size:.92rem;line-height:1.5}
.tp-ycc-diff{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--ycc-line);border-radius:10px;overflow:hidden;font-variant-numeric:tabular-nums}
.tp-ycc-diff th,.tp-ycc-diff td{padding:8px 10px;border-bottom:1px solid var(--ycc-line);text-align:left;font-size:.88rem;line-height:1.45;color:var(--ycc-ink)}
.tp-ycc-diff thead th{background:#eef3fa;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--ycc-muted)}
.tp-ycc-diff tbody tr:last-child>*{border-bottom:0}
.tp-ycc-diff td:last-child{color:#0b5a2a;font-weight:700}
.tp-ycc-get-out{margin:14px 0 0;color:var(--ycc-ink);font-size:.94rem;line-height:1.5}
.tp-ycc-get-out a{display:inline-flex;align-items:center;min-height:40px;color:#1f5cf0;font-weight:800;text-underline-offset:3px}
.tp-ycc-extras{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding:4px clamp(12px,2vw,20px) 20px}
.tp-ycc-extras>*{min-width:0}
.tp-ycc-extras .store-product-example{margin:0;max-width:100%}
.tp-ycc-extras-note{margin:0;color:#4d5f76;font-size:.92rem;line-height:1.5}
.tp-ycc-get-out a:focus-visible,.tp-ycc-plan a:focus-visible,.tp-ycc-keep a:focus-visible{outline:3px solid #1f5cf0;outline-offset:2px;border-radius:4px}
@media (max-width:1100px) and (min-width:901px){.tp-ycc-start{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){.tp-ycc-extras{grid-template-columns:minmax(0,1fr)}}
.tp-ycc-offset-label small{font-weight:600;color:var(--ycc-muted)}
