/* GÉNÉRÉ par pitch-studio/build-css.cjs (mode rails) : ne pas éditer à la main.
   Sources : book.css (coque) + pitch.css (propre au pitch), un seul préfixe : tps-. */

/* ═══ coque (book.css) ═══ */
.tps,.tps-toast{ --ink-2:#4A4640; --n-500:#8A857A; --line:#E8E2D6; --line-2:#D9D2C3;
  --gold:var(--gold-500);
  --on-gold-shadow:0 1px 2px rgba(60,44,10,.45);
  --night:#120F07; --night-2:#1E1910; --ivory:var(--gold-50); --ivory-2:rgba(251,247,238,.72); --ivory-3:rgba(251,247,238,.16);
  --sans:"Geist",system-ui,sans-serif; --serif:"Playfair Display",Georgia,serif;
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:20px;
  --t:.18s ease; --ease:cubic-bezier(.2,.8,.2,1);
}
.tps{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;font-family:var(--sans);color:var(--ink);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;text-align:left}
.tps[hidden]{display:none}
.tps *,.tps *::before,.tps *::after{box-sizing:border-box}
.tps :where(h1,h2,h3,h4,h5,p,figure,figcaption,ul,ol,li,dl,dd){margin:0;padding:0;font-weight:inherit;font-size:inherit;letter-spacing:normal;text-transform:none;color:inherit;list-style:none}
.tps :where(button){font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:inherit;letter-spacing:inherit}
.tps :where(input,textarea){font:inherit;color:inherit;margin:0}
.tps :where(img,video){display:block;max-width:none;height:auto}
.tps :where(a){color:inherit}
.tps svg.tps-i{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tps :focus-visible,.tps-toast :focus-visible{outline:2px solid var(--gold-600);outline-offset:2px}
.tps [tabindex="-1"]:focus{outline:none}
.tps-save-short{display:none}
.tps-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tps-scrim{position:absolute;inset:0;background:rgba(23,18,13,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.tps-modal{position:relative;width:min(1600px,calc(100vw - 32px));height:calc(100vh - 32px);display:flex;flex-direction:column;background:#fff;border-radius:var(--r-xl);box-shadow:0 40px 120px rgba(23,18,13,.36),0 0 0 1px rgba(80,59,31,.08);overflow:hidden}
.tps.is-entering .tps-scrim{animation:tpsFade .24s ease both}
.tps.is-entering .tps-modal{animation:tpsRise .32s var(--ease) both}
@keyframes tpsFade{from{opacity:0}}
@keyframes tpsRise{from{opacity:0;transform:translateY(14px) scale(.99)}}
.tps-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;height:72px;padding:0 20px 0 28px;border-bottom:1px solid var(--line)}
.tps-head-l{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.tps-head-l > div{min-width:0}
.tps-head-mark{width:40px;height:40px;border-radius:12px;border:1px solid var(--gold-200);display:grid;place-items:center;color:var(--gold-600);flex:none}
.tps-head-mark svg.tps-i{width:20px;height:20px}
.tps-head h1{font-size:18px;font-weight:600;line-height:1.2}
.tps-status{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--ink-2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tps-status i{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none}
.tps-status.is-dirty i{background:var(--amber)}
.tps-status.is-error{color:var(--red)} .tps-status.is-error i{background:var(--red)}
.tps-status .tps-spin{width:14px;height:14px}
.tps-head-r{display:flex;align-items:center;gap:10px}
.tps-x{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--ink)}
.tps-x:hover{border-color:var(--ink-2)}
.tps-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:500;line-height:1.15;border:1px solid transparent;white-space:nowrap;transition:background var(--t),border-color var(--t),box-shadow var(--t),transform var(--t)}
.tps-btn svg.tps-i{width:17px;height:17px}
.tps-btn:disabled{opacity:.45;cursor:not-allowed}
.tps-btn-gold{background:var(--gold-fill);color:#fff;text-shadow:var(--on-gold-shadow);box-shadow:0 6px 18px rgba(163,133,67,.30)}
.tps-btn-gold:not(:disabled):hover{box-shadow:0 10px 24px rgba(163,133,67,.40);transform:translateY(-1px)}
.tps-btn-dark{background:var(--ink);color:#fff}
.tps-btn-dark:not(:disabled):hover{background:#2C2C2C}
.tps-btn-line{background:#fff;border-color:var(--line-2);color:var(--ink)}
.tps-btn-line:not(:disabled):hover{border-color:var(--ink-2)}
.tps-btn-ghost{color:var(--ink);padding:0 14px}
.tps-btn-ghost:hover{text-decoration:underline;text-underline-offset:4px}
.tps-btn-danger{color:var(--red);padding:0 4px}
.tps-btn-danger:hover{text-decoration:underline;text-underline-offset:4px}
.tps-btn-sm{min-height:36px;padding:0 14px;font-size:14px}
.tps-spin{animation:tpsSpin .8s linear infinite}
@keyframes tpsSpin{to{transform:rotate(360deg)}}
.tps-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(420px,38%,640px)}
.tps-editor{position:relative;min-width:0;min-height:0;display:flex;flex-direction:column}
.tps-ed-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}
.tps-ed-scroll::-webkit-scrollbar{display:none}
.tps-ed{max-width:940px;padding:40px 48px 56px}
.tps-ed.is-swap{animation:tpsSwap .2s ease both}
@keyframes tpsSwap{from{opacity:0;transform:translateY(6px)}}
.tps-stepbar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 48px;border-top:1px solid var(--line);background:#fff}
.tps-stepbar-r{display:flex;align-items:center;gap:10px;margin-left:auto}
.tps-stepbar-note{font-size:14px;color:var(--ink-2)}
.tps-crumb{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:14px;color:var(--ink-2);margin-bottom:22px}
.tps-crumb button{display:inline-flex;align-items:center;gap:6px;font-weight:500;color:var(--ink);padding:6px 0}
.tps-crumb button:hover{text-decoration:underline;text-underline-offset:4px}
.tps-crumb svg.tps-i{width:16px;height:16px}
.tps-crumb .tps-sep{color:var(--n-500)}
.tps-h1{font-family:var(--serif);font-size:40px;line-height:1.1;font-weight:500;letter-spacing:-.01em}
.tps-h2{font-family:var(--serif);font-size:32px;line-height:1.15;font-weight:500}
.tps-lede{font-size:17px;line-height:1.55;color:var(--ink-2);margin-top:10px;max-width:62ch}
.tps-help{font-size:14px;line-height:1.5;color:var(--ink-2)}
.tps-welcome{padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:8px}
.tps-flag{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;background:rgba(18,15,7,.62);color:#fff;font-size:12.5px;font-weight:500;backdrop-filter:blur(6px)}
.tps-flag svg.tps-i{width:14px;height:14px}
.tps-flag.is-new{background:var(--green)}

.tps-drop{border:1.5px dashed var(--gold-300);border-radius:var(--r-xl);padding:40px 24px;text-align:center;transition:border-color var(--t),background var(--t)}
.tps-drop.is-over{border-color:var(--gold);border-style:solid;box-shadow:inset 0 0 0 4px rgba(196,165,89,.18)}
.tps-drop-ic{width:60px;height:60px;border-radius:50%;border:1px solid var(--gold-300);display:grid;place-items:center;margin:0 auto 16px;color:var(--gold-600)}
.tps-drop-ic svg.tps-i{width:26px;height:26px}
.tps-drop h3{font-family:var(--serif);font-size:24px;font-weight:500;line-height:1.25}
.tps-drop p{font-size:15px;color:var(--ink-2);margin-top:6px}
.tps-drop-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}
.tps-formats{font-size:14px;color:var(--ink-2);margin-top:16px}
.tps-field{display:block;margin-bottom:20px}
.tps-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:15px;font-weight:500;margin-bottom:8px}
.tps-label small{font-size:13.5px;font-weight:400;color:var(--ink-2)}
.tps-input{display:block;width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--line-2);border-radius:var(--r-md);background:#fff;font-size:16px;color:var(--ink);transition:border-color var(--t),box-shadow var(--t)}
.tps-input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 4px rgba(196,165,89,.2)}
.tps-input.is-invalid{border-color:var(--red);box-shadow:0 0 0 4px rgba(176,67,47,.12)}
textarea.tps-input{min-height:120px;resize:vertical;line-height:1.5}
.tps-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line-2);font-size:14px;color:var(--ink)}
.tps-chip svg.tps-i{width:15px;height:15px}
.tps-chip.is-sig svg{color:var(--gold-600)}
.tps-confirm{border:1px solid var(--red);border-radius:var(--r-lg);padding:16px 18px;margin-top:20px;display:flex;align-items:flex-start;gap:14px}
.tps-confirm > svg.tps-i{color:var(--red);margin-top:2px}
.tps-confirm b{display:block;font-size:15.5px;font-weight:600}
.tps-confirm p{font-size:14.5px;color:var(--ink-2);margin-top:3px}
.tps-confirm-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.tps-btn-redfill{background:var(--red);color:#fff}
.tps-banner{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--red);border-radius:var(--r-lg);padding:14px 16px;margin-bottom:24px}
.tps-banner > svg.tps-i{color:var(--red);margin-top:2px}
.tps-banner b{display:block;font-weight:600}
.tps-banner p{font-size:14.5px;color:var(--ink-2);margin-top:2px}
.tps-banner .tps-btn{margin-left:auto;flex:none}
.tps-preview{min-width:0;min-height:0;display:flex;flex-direction:column;border-left:1px solid var(--line)}
.tps-pv-head{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px 14px}
.tps-pv-head h2{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}
.tps-pv-head h2 i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(27,122,78,.14)}
.tps-seg{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line-2);border-radius:999px}
.tps-seg button{min-height:36px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:500;color:var(--ink-2);display:inline-flex;align-items:center;gap:7px}
.tps-seg button svg.tps-i{width:16px;height:16px}
.tps-seg button[aria-pressed="true"]{background:var(--ink);color:#fff}
.tps-pv-where{flex:none;display:flex;align-items:center;gap:8px;padding:0 22px 12px;font-size:14px;color:var(--ink-2);min-height:30px}
.tps-pv-where svg.tps-i{width:16px;height:16px;color:var(--gold-600)}
.tps-pv-where b{color:var(--ink);font-weight:500}
.tps-pv-scroll{position:relative;flex:1;min-height:0;overflow:auto;scrollbar-width:none;padding:0 22px 28px;overscroll-behavior:contain}
.tps-pv-scroll::-webkit-scrollbar{display:none}
.tps-pv-fade{position:sticky;bottom:-28px;height:36px;margin-top:-36px;background:linear-gradient(rgba(255,255,255,0),#fff);pointer-events:none;opacity:0;transition:opacity var(--t)}
.tps-pv-scroll.has-more .tps-pv-fade{opacity:1}
.tps-pv-page{border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line);box-shadow:0 18px 40px rgba(18,15,7,.08)}
.tps-pv-page.is-swap{animation:tpsSwap .22s ease both}
.tps-pv [data-spot]{position:relative}
.tps-pv .is-spot{outline:3px solid var(--gold-primary);outline-offset:3px;border-radius:12px}
.tps-pv .is-pulse{animation:tpsPulse 1.6s ease}
@keyframes tpsPulse{0%,100%{box-shadow:0 0 0 0 rgba(196,165,89,0)}35%{box-shadow:0 0 0 8px rgba(196,165,89,.35)}}
.tps-pf{background:#fff}
.tps-pf-cover{height:120px;background:repeating-linear-gradient(125deg,rgba(255,255,255,0) 0 46px,rgba(255,255,255,.035) 46px 92px),linear-gradient(110deg,#1E1910 0%,#3A2E1A 60%,var(--gold-800) 100%)}
.tps-pf-id{display:flex;align-items:flex-end;gap:16px;padding:0 24px;margin-top:-44px}
.tps-pf-av{width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:4px solid #fff;box-shadow:0 6px 18px rgba(18,15,7,.16);flex:none}
.tps-pf-who{padding-top:54px;min-width:0}
.tps-pf-role{font-family:var(--serif);font-style:italic;font-size:15px;color:var(--gold-600)}
.tps-pf-name{font-size:26px;font-weight:600;line-height:1.15;letter-spacing:-.01em}
.tps-pf-name em{font-family:var(--serif);font-style:italic;font-weight:500}
.tps-pf-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 24px 0;font-size:13.5px;color:var(--ink-2)}
.tps-pf-dispo{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;border:1px solid #BFE0CC;color:var(--green);font-size:12.5px;font-weight:600}
.tps-pf-dispo i{width:6px;height:6px;border-radius:50%;background:var(--green)}
.tps-pf-nav{display:flex;gap:22px;justify-content:center;margin:18px 24px 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13.5px;color:var(--ink-2)}
.tps-pf-nav b{color:var(--ink);font-weight:600}
.tps-pf-more{text-align:center;font-size:13.5px;color:var(--ink-2);padding:22px 24px 26px}
.tps-dlg{position:absolute;inset:0;z-index:20;display:grid;place-items:center;background:rgba(23,18,13,.36);padding:20px}
.tps-dlg[hidden]{display:none}
.tps-dlg-card{width:min(500px,100%);background:#fff;border-radius:var(--r-xl);padding:28px;box-shadow:0 30px 80px rgba(23,18,13,.35);animation:tpsSwap .2s ease both}
.tps-dlg-card h2{font-family:var(--serif);font-size:28px;font-weight:500;line-height:1.2}
.tps-dlg-card p{font-size:15.5px;color:var(--ink-2);margin-top:10px}
.tps-dlg-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}
.tps-dlg-actions .tps-btn{width:100%}
.tps-dlg-err{display:flex;gap:8px;align-items:flex-start;color:var(--red);font-size:14.5px;margin-top:14px}
.tps-mtabs{display:none}
.tps-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:2147483001;display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 10px 10px 18px;border-radius:16px;background:#17130D;color:#fff;font-family:var(--sans);font-size:15px;box-shadow:0 20px 50px rgba(0,0,0,.3);max-width:calc(100vw - 32px)}
.tps-toast[hidden]{display:none}
.tps-toast svg.tps-i{width:20px;height:20px;color:#7FD3A6;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tps-toast b{font-weight:600}
.tps-toast span{color:rgba(255,255,255,.75)}
.tps-toast button{font:inherit;font-weight:600;font-size:14.5px;color:#17130D;background:#fff;border:0;border-radius:999px;min-height:38px;padding:0 16px;cursor:pointer;flex:none}
.tps-toast.is-in{animation:tpsToast .3s var(--ease) both}
@keyframes tpsToast{from{opacity:0;transform:translate(-50%,12px)}}
@media (max-width:1099px){
  .tps-ed{padding:32px 32px 48px}
  .tps-stepbar{padding:12px 32px}
  .tps-body{grid-template-columns:minmax(0,1fr) clamp(380px,42%,520px)}
}
@media (max-width:760px){
  .tps-scrim{display:none}
  .tps-modal{left:0;top:0;transform:none;width:100%;height:100%;max-height:none;border-radius:0}
  .tps.is-entering .tps-modal{animation:tpsUp .3s var(--ease) both}
  @keyframes tpsUp{from{transform:translateY(24px);opacity:0}}
  .tps-head{height:64px;padding:0 12px;gap:10px}
  .tps-head-mark{display:none}
  .tps-head h1{font-size:17px}
  .tps-status{font-size:13px}
  .tps-head .tps-btn-gold{padding:0 16px}
  .tps-head .tps-save-long{display:none}
  .tps-head .tps-save-short{display:inline}
  .tps-body{display:block;position:relative}
  .tps-editor,.tps-preview{position:absolute;inset:0}
  .tps-body[data-view="edit"] .tps-preview,.tps-body[data-view="preview"] .tps-editor{display:none}
  .tps-preview{border-left:0}
  .tps-ed{padding:22px 16px 32px}
  .tps-stepbar{padding:10px 16px;flex-wrap:wrap}
  .tps-stepbar .tps-stepbar-note{display:none}
  .tps-stepbar-r{flex:1}
  .tps-stepbar-r .tps-btn{flex:1}
  .tps-h1{font-size:31px}
  .tps-h2{font-size:27px}
  .tps-lede{font-size:16px}
  .tps-drop{padding:28px 16px}
  .tps-drop-actions .tps-btn{width:100%}
  .tps-confirm{flex-direction:column}
  .tps-banner{flex-wrap:wrap}
  .tps-pv-head{padding:12px 16px 8px}
  .tps-pv-head h2{display:none}
  .tps-seg{display:flex;width:100%}
  .tps-seg button{flex:1;justify-content:center}
  .tps-pf-nav{display:none}
  .tps-pf-line{padding-top:12px}
  .tps-pf-id{padding:0 16px}
  .tps-pf-av{width:84px;height:84px}
  .tps-pf-name{font-size:23px}
  .tps-pv-where{padding:0 16px 10px}
  .tps-pv-scroll{padding:0 12px 24px}
  .tps-mtabs{display:flex;flex:none;gap:6px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
  .tps-mtabs button{flex:1;min-height:48px;border-radius:999px;font-size:15px;font-weight:500;color:var(--ink-2);display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line-2)}
  .tps-mtabs button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
  .tps-mtabs .tps-mdot{width:8px;height:8px;border-radius:50%;background:var(--amber)}
  .tps-toast{bottom:16px;font-size:14px}
}
@media (pointer:coarse){
  .tps-btn{min-height:46px}
  .tps-input{font-size:16px}
}
.tps-welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:22px}
.tps-ex-tag{position:absolute;z-index:3;left:10px;top:10px;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:#fff;color:var(--ink);border:1px dashed var(--gold);font-size:12.5px;font-weight:600;letter-spacing:.01em;box-shadow:0 2px 8px rgba(18,15,7,.15);pointer-events:none}
.tps-pv-exnote{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--ink-2);margin:-6px 0 12px}
.tps-pv-exnote svg.tps-i{width:15px;height:15px;color:var(--gold-600)}
.tps-aug-chip{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px 0 5px;border:1px solid var(--line-2);border-radius:999px;font-size:14.5px;font-weight:500;color:var(--ink);background:#fff}
.tps-aug-chip:hover{border-color:var(--ink-2)}
.tps-aug-chip img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.tps.is-fit .tps-modal{max-height:none;border-radius:24px}
.tps.is-fit .tps-ed{max-width:none;padding:32px 44px 48px}
.tps.is-fit .tps-stepbar{padding:14px 44px}
.tps.is-fit .tps-body{grid-template-columns:minmax(0,1fr) clamp(500px,29%,620px)}
.tps.is-fit .tps-drop{max-width:1200px}
@media print{
  @page{size:A4;margin:0}
}
@media (max-width:760px){
  .tps-welcome{flex-direction:column;align-items:stretch;gap:14px}
  .tps-head .tps-aug-chip{display:none}
  .tps-head .tps-btn-line .tps-save-short{display:none}
  .tps-head-r{gap:6px}
  .tps-head .tps-btn-line{padding:0 12px}
}

@media (prefers-reduced-motion:reduce){
  .tps *,.tps *::before,.tps *::after,.tps-toast{animation:none!important;transition:none!important}
}

.tps:not([data-screen="home"]) .tps-aug-chip{display:none}
.tps-stepbar{position:relative}

@media (max-width:760px){
  .tps-stepbar-r{flex-wrap:wrap}
}
.tps-btn-xl{min-height:54px;padding:0 26px;font-size:16px;font-weight:600;gap:10px}
.tps-btn-xl svg.tps-i{width:20px;height:20px}
.tps-stepbar.is-place{padding-top:14px;padding-bottom:14px;border-top:2px solid var(--line)}
.tps-stepbar.is-place.has-sel{border-top-color:var(--gold-primary)}
.tps-stepbar.is-place .tps-stepbar-r{gap:12px}
.tps-stepbar.is-place .tps-btn-xl:disabled{opacity:.4}
@media (max-width:760px){
  .tps-stepbar.is-place .tps-stepbar-note{display:block}
  .tps-stepbar.is-place .tps-stepbar-r{flex-direction:column;align-items:stretch;width:100%}
  .tps-stepbar.is-place .tps-stepbar-r .tps-btn{width:100%}
}

.tps-stepbar.is-place .tps-btn-gold.tps-btn-xl{box-shadow:0 10px 24px rgba(163,133,67,.38)}
.tps-stepbar.is-place .tps-btn-gold.tps-btn-xl:not(:disabled){outline:3px solid rgba(196,165,89,.28);outline-offset:2px}
@media (max-width:760px){
  .tps-drop{overflow:hidden}
}

/* ═══ pitch ═══ */
.tps-toast{--sans:"Geist",system-ui,sans-serif}
.tps .tps-dlg-p ol{margin-top:14px}
.tps .tps-dlg-p .tps-steps{grid-template-columns:1fr;gap:14px}
.tps-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px}
.tps-path{display:flex;flex-direction:column;min-width:0;text-align:left;border:1px solid var(--line-2);border-radius:var(--r-xl);background:#fff;overflow:hidden;transition:border-color var(--t),box-shadow var(--t),transform var(--t)}
.tps-path:hover{border-color:var(--ink-2);box-shadow:0 16px 34px rgba(18,15,7,.10);transform:translateY(-2px)}
.tps-path.is-first{border-color:var(--gold);box-shadow:0 14px 34px rgba(163,133,67,.16)}
.tps-path.is-first:hover{border-color:var(--gold-600)}
.tps-path-art{position:relative;display:grid;place-items:center;height:184px;border-bottom:1px solid var(--line);overflow:hidden}
.tps-path-body{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1;padding:20px 22px 22px}
.tps-path h3{font-family:var(--serif);font-size:25px;line-height:1.15;font-weight:600}
.tps-path p{font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.tps-path small{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--ink-2);margin:2px 0 14px}
.tps-path small svg.tps-i{width:15px;height:15px;color:var(--gold-600)}
.tps-path .tps-btn{margin-top:auto}
.tps-art-cam{position:relative;display:block;width:240px;height:135px;border-radius:14px;overflow:hidden;background:var(--night);box-shadow:0 14px 30px rgba(18,15,7,.22)}
.tps-art-cam img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.tps-art-rec{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:999px;background:rgba(18,15,7,.62);color:#fff;font-size:11.5px;font-weight:600}
.tps-art-rec i{width:7px;height:7px;border-radius:50%;background:#E5533D;animation:tpsRec 1.1s ease-in-out infinite}
.tps-art-bar{position:absolute;left:10px;right:10px;bottom:10px;height:3px;border-radius:2px;background:rgba(255,255,255,.4)}
.tps-art-bar i{display:block;width:34%;height:100%;border-radius:2px;background:var(--gold-fill)}
@keyframes tpsRec{50%{opacity:.35}}
.tps-art-voice{display:flex;align-items:center;gap:16px;padding:16px 22px 16px 16px;border:1px solid var(--line-2);border-radius:18px;background:#fff;box-shadow:0 14px 30px rgba(18,15,7,.10)}
.tps-art-av{position:relative;display:block;width:64px;height:64px;flex:none}
.tps-art-av img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid #fff;box-shadow:0 4px 12px rgba(18,15,7,.18)}
.tps-art-mic{position:absolute;right:0;bottom:-2px;width:26px;height:26px;border-radius:50%;background:var(--gold-fill-deep);color:#fff;display:grid;place-items:center;border:2px solid #fff}
.tps-art-mic svg.tps-i{width:13px;height:13px}
.tps-wave.is-art{height:46px}
.tps-wave.is-art i{background:var(--gold-primary);width:3px}
.tps-art-files{position:relative;display:block;width:230px;height:140px}
.tps-file{position:absolute;top:8px;width:96px;height:114px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line-2);border-radius:14px;background:#fff;box-shadow:0 12px 26px rgba(18,15,7,.12);color:var(--gold-600)}
.tps-file svg.tps-i{width:28px;height:28px}
.tps-file b{font-size:12.5px;font-weight:600;letter-spacing:.02em;color:var(--ink);border:1px solid var(--line-2);border-radius:999px;padding:1px 9px}
.tps-file.f1{left:20px;transform:rotate(-7deg)}
.tps-file.f2{right:20px;transform:rotate(6deg);top:14px}
.tps-art-up{position:absolute;left:50%;bottom:-2px;margin-left:-20px;width:40px;height:40px;border-radius:50%;background:var(--gold-fill-deep);color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(163,133,67,.4);border:3px solid #fff}
.tps-art-up svg.tps-i{width:18px;height:18px;stroke-width:2.2}
.tps-trame{background:#fff;display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:32px;align-items:center;margin-top:24px;padding:24px 28px;border:1px solid var(--line);border-radius:var(--r-xl)}
.tps-trame-head{display:flex;align-items:center;gap:14px}
.tps-trame-head img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none}
.tps-trame-head b{display:block;font-family:var(--serif);font-size:21px;font-weight:600;line-height:1.2}
.tps-trame-head p{font-size:14.5px;color:var(--ink-2);margin-top:2px}
.tps-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tps-steps li{display:flex;align-items:flex-start;gap:12px;min-width:0}
.tps-step-n{flex:none;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--gold-300);display:grid;place-items:center;font-family:var(--serif);font-size:17px;font-weight:600;color:var(--gold-600);transition:background var(--t),box-shadow var(--t),color var(--t)}
.tps-steps b{display:block;font-size:15.5px;font-weight:600;line-height:1.3}
.tps-steps p{font-size:14px;line-height:1.45;color:var(--ink-2);margin-top:2px}
.tps-steps li.is-now .tps-step-n{background:var(--gold-fill-deep);color:#fff;border-color:transparent;box-shadow:0 0 0 5px rgba(196,165,89,.24)}
.tps-steps li.is-done .tps-step-n{border-color:var(--green);color:var(--green)}
.tps-tips{display:grid;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.tps-tips li{display:flex;align-items:flex-start;gap:11px;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
.tps-tips svg.tps-i{width:18px;height:18px;margin-top:1px;color:var(--gold-600)}
.tps-recgrid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px;align-items:start;margin-top:26px}
.tps-recmain{min-width:0}
.tps-trame-side{background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);padding:22px 22px 24px}
.tps-trame-side .tps-trame-head{margin-bottom:20px}
.tps-trame-side .tps-steps{grid-template-columns:1fr;gap:16px}
.tps-live{position:relative;display:grid;place-items:center;aspect-ratio:16/9;border-radius:var(--r-xl);overflow:hidden;background:var(--night);color:#fff}
.tps-live video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.tps-live.is-audio,.tps-stage.is-audio,.tps-cur-tile.is-audio{background:linear-gradient(110deg,#1E1910 0%,#3A2E1A 60%,var(--gold-800) 100%)}
.tps-live.is-audio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}
.tps-live.is-rec{box-shadow:0 0 0 3px #E5533D}
.tps-live.is-msg{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:30px;text-align:center}
.tps-live.is-msg > svg.tps-i{width:34px;height:34px;color:var(--gold-300)}
.tps-live.is-msg b{font-family:var(--serif);font-size:25px;font-weight:600;line-height:1.2}
.tps-live.is-msg p{max-width:46ch;font-size:15px;line-height:1.5;color:var(--ivory-2)}
.tps-live-state,.tps-live-max{position:absolute;top:14px;display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;border-radius:999px;background:rgba(18,15,7,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-size:13.5px;font-weight:600;font-variant-numeric:tabular-nums}
.tps-live-state{left:14px}
.tps-live-max{right:14px;font-weight:500;color:var(--ivory-2)}
.tps-live-state i{width:9px;height:9px;border-radius:50%;background:#7FD3A6}
.tps-live-state.is-rec i{background:#E5533D;animation:tpsRec 1.1s ease-in-out infinite}
.tps-count{position:absolute;inset:0;display:grid;place-items:center;background:rgba(18,15,7,.5)}
.tps-count b{font-family:var(--serif);font-size:128px;font-weight:600;line-height:1;animation:tpsPop .95s ease both}
@keyframes tpsPop{from{transform:scale(1.35);opacity:0}30%{opacity:1}}
.tps-live-foot{position:absolute;left:16px;right:16px;bottom:16px;display:flex;align-items:center;gap:16px}
.tps-meter{display:inline-flex;align-items:center;gap:8px;flex:none;height:30px;padding:0 12px 0 10px;border-radius:999px;background:rgba(18,15,7,.62)}
.tps-meter svg.tps-i{width:15px;height:15px}
.tps-meter i{position:relative;display:block;width:54px;height:5px;border-radius:3px;background:rgba(255,255,255,.28);overflow:hidden}
.tps-meter i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:calc(var(--lvl,0) * 100%);border-radius:3px;background:#7FD3A6;transition:width .08s linear}
.tps-prog{position:relative;flex:1;height:6px;border-radius:4px;background:rgba(255,255,255,.3)}
.tps-prog > i{position:absolute;left:0;top:0;bottom:0;width:var(--p,0%);border-radius:4px;background:var(--gold-fill)}
.tps-prog > s{position:absolute;left:33.33%;width:33.34%;top:-4px;bottom:-4px;border:1.5px solid rgba(255,255,255,.75);border-radius:5px;text-decoration:none}
.tps-prog > s em{position:absolute;left:0;right:0;top:-22px;text-align:center;font-style:normal;font-size:12px;font-weight:600;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.tps-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.tps-controls-note{font-size:14.5px;line-height:1.45;color:var(--ink-2);max-width:44ch}
.tps-recbtn svg.tps-i{stroke:#fff}
.tps-wave{display:flex;align-items:center;justify-content:center;gap:3px;height:48px}
.tps-wave i{display:block;width:4px;height:var(--h,40%);max-height:100%;border-radius:3px;background:var(--gold-300);transition:height .09s linear}
.tps-wave.is-live{height:56px}
.tps-av{position:relative;z-index:1;width:112px;height:112px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:3px solid rgba(255,255,255,.88);box-shadow:0 10px 26px rgba(0,0,0,.35)}
.tps-player{position:relative;border-radius:var(--r-xl);overflow:hidden;background:var(--night);color:#fff}
.tps-stage{position:relative;display:grid;place-items:center;aspect-ratio:16/9;background:#000;overflow:hidden;cursor:pointer}
.tps-player.is-still .tps-stage{cursor:default}
.tps-stage video{width:100%;height:100%;object-fit:contain;background:#000}
.tps-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.tps-stage.is-audio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.tps-stage.is-audio .tps-av{width:22%;max-width:130px;height:auto;aspect-ratio:1}
.tps-bigplay{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;background:rgba(255,255,255,.94);color:var(--ink);display:grid;place-items:center;box-shadow:0 10px 30px rgba(0,0,0,.4);transition:transform var(--t),opacity var(--t)}
.tps-stage:hover .tps-bigplay{transform:scale(1.06)}
.tps-bigplay svg.tps-i{width:30px;height:30px;fill:currentColor;margin-left:3px}
.tps-player[data-state="playing"] .tps-bigplay{opacity:0;pointer-events:none}
.tps-cc{position:absolute;right:12px;top:12px;z-index:2;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:999px;background:rgba(18,15,7,.66);color:#fff;font-size:12.5px;font-weight:500}
.tps-cc svg.tps-i{width:14px;height:14px}
.tps-dur{position:absolute;right:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;background:rgba(18,15,7,.7);color:#fff;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.tps-bar{display:flex;align-items:center;gap:14px;padding:10px 16px 12px;background:var(--night-2)}
.tps-pbtn{flex:none;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center}
.tps-pbtn svg.tps-i{width:18px;height:18px;fill:currentColor}
.tps-pbtn svg.tps-i.ic-play{margin-left:2px}
.tps-player .ic-pause,.tps-cur-play .ic-pause{display:none}
.tps-player[data-state="playing"] .tps-pbtn .ic-play{display:none}
.tps-player[data-state="playing"] .tps-pbtn .ic-pause{display:block}
.tps-time{flex:none;font-size:14px;font-variant-numeric:tabular-nums;color:var(--ivory-2);white-space:nowrap}
.tps-time b{color:#fff;font-weight:600}
.tps-player[data-state="playing"] .tps-wave i{animation:tpsBar .9s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -70ms)}
@keyframes tpsBar{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
.tps-scrub,.tps-range input{-webkit-appearance:none;appearance:none;display:block;width:100%;height:24px;margin:0;background:transparent;cursor:pointer;--p:0%;--tr:rgba(255,255,255,.3)}
.tps-scrub{flex:1;min-width:0}
.tps-range input{--tr:var(--line-2)}
.tps-scrub::-webkit-slider-runnable-track,.tps-range input::-webkit-slider-runnable-track{height:5px;border-radius:3px;background:linear-gradient(90deg,var(--gold-primary) var(--p),var(--tr) var(--p))}
.tps-scrub::-webkit-slider-thumb,.tps-range input::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-6.5px;border-radius:50%;background:#fff;border:2px solid var(--gold-600);box-shadow:0 2px 6px rgba(18,15,7,.3)}
.tps-scrub::-moz-range-track,.tps-range input::-moz-range-track{height:5px;border-radius:3px;background:var(--tr)}
.tps-scrub::-moz-range-progress,.tps-range input::-moz-range-progress{height:5px;border-radius:3px;background:var(--gold-primary)}
.tps-scrub::-moz-range-thumb,.tps-range input::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--gold-600)}
.tps-scrub:focus-visible,.tps-range input:focus-visible{outline:2px solid var(--gold-600);outline-offset:3px;border-radius:6px}
.tps-review{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:32px;align-items:start;margin-top:26px}
.tps-review-main{min-width:0}
.tps-meta{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;color:var(--ink-2)}
.tps-meta svg.tps-i{width:16px;height:16px;color:var(--gold-600)}
.tps-notice{display:flex;align-items:flex-start;gap:11px;margin-top:22px;padding:14px 16px;border:1px solid var(--gold-300);border-radius:var(--r-lg);font-size:15px;line-height:1.5;color:var(--ink)}
.tps-notice svg.tps-i{margin-top:2px;color:var(--gold-600)}
.tps-trim{background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);padding:24px 26px 26px}
.tps-trim h3{font-family:var(--serif);font-size:25px;font-weight:600;line-height:1.2}
.tps-range{display:block;margin-top:20px}
.tps-range > span{display:flex;align-items:baseline;justify-content:space-between;font-size:15px;font-weight:500;margin-bottom:4px}
.tps-range b{font-weight:600;font-variant-numeric:tabular-nums}
.tps-sum{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.tps-sum-len{font-family:var(--serif);font-size:40px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.tps-trim-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.tps-verdict{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:0 12px;border:1px solid var(--line-2);border-radius:999px;font-size:14px;font-weight:500;color:var(--ink-2)}
.tps-verdict svg.tps-i{width:16px;height:16px}
.tps-verdict.is-ok{border-color:#BFE0CC;color:var(--green)}
.tps-verdict.is-warn,.tps-verdict.is-info{border-color:var(--gold-300);color:var(--gold-600)}
.tps-verdict.is-bad{border-color:#E3B7AD;color:var(--red)}
.tps-cur{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:34px;align-items:start;margin-top:26px}
.tps-cur-tile{position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:var(--r-xl);overflow:hidden;background:var(--night);box-shadow:0 14px 32px rgba(18,15,7,.16)}
.tps-cur-tile > img:not(.tps-av){width:100%;height:100%;object-fit:cover;object-position:50% 22%;transition:transform .5s var(--ease)}
.tps-cur-tile:hover > img:not(.tps-av){transform:scale(1.03)}
.tps-cur-tile.is-audio{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}
.tps-cur-tile.is-audio .tps-av{width:96px;height:96px}
.tps-cur-play{position:absolute;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;background:rgba(255,255,255,.94);color:var(--ink);display:grid;place-items:center;box-shadow:0 10px 28px rgba(0,0,0,.4);transition:transform var(--t)}
.tps-cur-tile:hover .tps-cur-play{transform:scale(1.07)}
.tps-cur-tile.is-audio .tps-cur-play{left:auto;right:16px;top:16px;bottom:auto;width:48px;height:48px;margin:0}
.tps-cur-play svg.tps-i{width:26px;height:26px;fill:currentColor;margin-left:3px}
.tps-cur-tile.is-audio .tps-cur-play svg.tps-i{width:20px;height:20px}
.tps-cur-play .ic-pause{display:none}
.tps-cur-info{display:flex;flex-direction:column;gap:16px;min-width:0}
.tps-cur-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tps-cur-file{font-size:14.5px;line-height:1.5;color:var(--ink-2);margin-top:-4px;overflow-wrap:anywhere}
.tps-cur-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.tps-cur-info .tps-field{margin:0}
.tps-cur-info .tps-confirm{margin-top:0}
.tps-opts{margin-top:34px;border-top:1px solid var(--line)}
.tps-opt{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}
.tps-opt-ic{flex:none;width:46px;height:46px;border-radius:50%;border:1px solid var(--gold-200);display:grid;place-items:center;color:var(--gold-600)}
.tps-opt-tx{flex:1;min-width:0}
.tps-opt-tx b{display:block;font-size:16.5px;font-weight:600}
.tps-opt-tx p{font-size:14.5px;line-height:1.5;color:var(--ink-2);margin-top:3px;max-width:64ch}
.tps-switch{position:relative;flex:none;width:56px;height:32px;border-radius:999px;border:1.5px solid var(--line-2);background:#fff;transition:border-color var(--t),background var(--t)}
.tps-switch i{position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;border:1.5px solid var(--ink-2);transition:transform .2s var(--ease),border-color var(--t)}
.tps-switch[aria-checked="true"]{background:var(--gold-fill-deep);border-color:transparent}
.tps-switch[aria-checked="true"] i{transform:translateX(24px);border-color:#fff;box-shadow:0 2px 6px rgba(60,44,10,.35)}
.tps-switch::after{content:"";position:absolute;inset:-8px 0}
@media (pointer:coarse){
  .tps-scrub,.tps-range input{height:34px}
  .tps-scrub::-webkit-slider-thumb,.tps-range input::-webkit-slider-thumb{width:26px;height:26px;margin-top:-10.5px}
  .tps-scrub::-moz-range-thumb,.tps-range input::-moz-range-thumb{width:22px;height:22px}
}
.tps-pf-pitch{padding:18px 24px 0}
.tps-pill-wrap,.tps-pv .tps-pill-wrap.is-spot{display:inline-block;border-radius:999px}
.tps-pill{position:relative;display:inline-flex;align-items:center;gap:12px;min-height:54px;padding:6px 24px 6px 6px;border-radius:999px;background:var(--gold-fill-deep);color:#fff;text-shadow:var(--on-gold-shadow);box-shadow:0 8px 20px rgba(163,133,67,.34);text-align:left;transition:box-shadow var(--t),transform var(--t)}
.tps-pill:hover{box-shadow:0 12px 26px rgba(163,133,67,.46);transform:translateY(-1px)}
.tps-pill-th{position:relative;flex:none;width:42px;height:42px;border-radius:50%;overflow:hidden;border:2px solid #fff}
.tps-pill-th img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.tps-pill-ic{position:absolute;inset:0;display:grid;place-items:center;background:rgba(18,15,7,.4);color:#fff}
.tps-pill-ic svg.tps-i{width:16px;height:16px;fill:currentColor;margin-left:1px}
.tps-pill-tx{display:flex;flex-direction:column;line-height:1.2}
.tps-pill-tx b{font-size:15px;font-weight:600}
.tps-pill-tx small{font-size:13px;opacity:.92;font-variant-numeric:tabular-nums}
.tps-pill > .tps-ex-tag{left:calc(100% + 10px);right:auto;top:50%;margin-top:-13px;text-shadow:none;white-space:nowrap}
.tps-pf-cap{font-family:var(--serif);font-style:italic;font-size:17px;line-height:1.45;color:var(--ink);margin-top:14px;max-width:44ch}
.tps-pf-cap[hidden],.tps-op-cap[hidden]{display:none}
.tps-op{background:#fff}
.tps-op-bar{padding:14px 18px 0}
.tps-op-bar button{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:500;padding:6px 0}
.tps-op-bar button:hover{text-decoration:underline;text-underline-offset:4px}
.tps-op-bar svg.tps-i{width:16px;height:16px}
.tps-op-card{padding:12px 18px 22px}
.tps-op-card > header{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tps-op-card > header img{width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:50% 20%}
.tps-op-card h3{font-family:var(--serif);font-size:20px;font-weight:600;line-height:1.2}
.tps-op-card > header p{font-size:14px;color:var(--ink-2)}
.tps-op-cap{font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.45;margin-top:16px}
.tps-op .tps-bar{padding:8px 12px 10px;gap:10px}
.tps-op .tps-pbtn{width:38px;height:38px}
.tps-op .tps-time{font-size:13px}
.tps-toast :focus-visible{outline:2px solid var(--gold-primary);outline-offset:2px}
.tps-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:2147483001;display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 10px 10px 18px;border-radius:16px;background:#17130D;color:#fff;font-family:var(--sans);font-size:15px;box-shadow:0 20px 50px rgba(0,0,0,.3);max-width:calc(100vw - 32px)}
.tps-toast[hidden]{display:none}
.tps-toast svg.tps-i{width:20px;height:20px;color:#7FD3A6;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tps-toast b{font-weight:600}
.tps-toast span{color:rgba(255,255,255,.75)}
.tps-toast button{font:inherit;font-weight:600;font-size:14.5px;color:#17130D;background:#fff;border:0;border-radius:999px;min-height:38px;padding:0 16px;cursor:pointer;flex:none}
.tps-toast.is-in{animation:tpsToast .3s cubic-bezier(.2,.8,.2,1) both}
.tps.is-fit .tps-recgrid{grid-template-columns:minmax(0,1fr) 340px}
.tps.is-fit .tps-live.is-msg{padding:40px}
@media (max-width:1099px){
  .tps-trame{grid-template-columns:1fr;gap:18px}
  .tps-recgrid,.tps-review,.tps-cur{grid-template-columns:minmax(0,1fr)}
  .tps-trame-side .tps-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:760px){
  .tps-paths{grid-template-columns:1fr;gap:14px;margin-top:20px}
  .tps-path{flex-direction:row;align-items:stretch}
  .tps-path-art{width:132px;height:auto;flex:none;border-bottom:0;border-right:1px solid var(--line)}
  .tps-path-art > span{zoom:.47}
  .tps-path-body{padding:14px 14px 16px}
  .tps-path h3{font-size:21px}
  .tps-path p{font-size:14.5px}
  .tps-path small{display:none}
  .tps-path .tps-btn{margin-top:10px;min-height:42px;padding:0 14px;font-size:14.5px}
  .tps-trame{padding:18px 16px}
  .tps-steps,.tps-trame-side .tps-steps{grid-template-columns:1fr;gap:14px}
  .tps-recgrid{gap:22px}
  .tps-trame-side{padding:18px 16px}
  .tps-count b{font-size:88px}
  .tps-live.is-msg{padding:20px 16px}
  .tps-live.is-msg b{font-size:21px}
  .tps-live-max{display:none}
  .tps-controls .tps-btn{flex:1 1 100%}
  .tps-controls-note{max-width:none}
  .tps-bigplay{width:60px;height:60px;margin:-30px 0 0 -30px}
  .tps-time{font-size:13px}
  .tps-bar{gap:10px;padding:8px 12px 10px}
  .tps-sum-len{font-size:34px}
  .tps-cur-actions .tps-btn{flex:1 1 calc(50% - 6px);padding:0 12px}
  .tps-cur-actions .tps-btn-danger{flex:1 1 100%}
  .tps-opt{align-items:flex-start;gap:14px}
  .tps-opt-ic{width:40px;height:40px}
  .tps-pf-pitch{padding:14px 16px 0}
  .tps-toast{bottom:16px;font-size:14px}
}
@media (max-width:420px){
  .tps-path-art{width:104px}
  .tps-path-art > span{zoom:.37}
}
@media (prefers-reduced-motion:reduce){
  .tps *,.tps *::before,.tps *::after,.tps-toast,.tps-art-rec i{animation:none!important;transition:none!important}
}

/* ═══ ajouts du moteur partagé ═══ */
.tps .tps-initials{display:grid;place-items:center;background:var(--gold-fill-deep);color:#fff;font-family:var(--sans);font-weight:600;text-shadow:var(--on-gold-shadow);text-transform:uppercase;letter-spacing:.02em;overflow:hidden;line-height:1}
.tps .tps-av.tps-initials{font-size:38px}
.tps .tps-stage.is-audio .tps-av.tps-initials{font-size:42px}
.tps .tps-cur-tile.is-audio .tps-av.tps-initials{font-size:34px}
.tps .tps-pf-av.tps-initials{font-size:34px}
.tps .tps-pill-th .tps-initials{width:100%;height:100%;font-size:15px}
.tps .tps-op-card > header .tps-initials{width:46px;height:46px;border-radius:50%;font-size:17px}
.tps .tps-art-cam .tps-initials{width:100%;height:100%;font-size:44px}
.tps .tps-art-av .tps-initials{width:100%;height:100%;border-radius:50%;border:2px solid #fff;font-size:22px;box-shadow:0 4px 12px rgba(18,15,7,.18)}
.tps .tps-poster.tps-initials{font-size:72px}


.tps .tps-cur-tile:disabled{cursor:default}
.tps .tps-cur-wait{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(18,15,7,.58);color:#fff;text-align:center;padding:16px}
.tps .tps-cur-wait b{font-size:16px;font-weight:600}
.tps .tps-cur-wait svg.tps-i{width:30px;height:30px}


.tps .tps-stage mux-player{display:block;width:100%;height:100%;background:#000;--controls:none}
.tps .tps-stage.is-audio mux-player{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}


.tps .tps-soon{display:inline-flex;align-items:center;height:22px;padding:0 9px;margin-left:8px;border:1px dashed var(--gold);border-radius:999px;font-size:12px;font-weight:600;color:var(--ink);vertical-align:2px}
.tps .tps-switch:disabled{opacity:.5;cursor:not-allowed}
