/* v6.9: element cards, one calm scale of spacing and control sizes */
.qvs-gone{display:none!important}
.qvs-bin{display:none!important}
#qvsElementBar{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto;scrollbar-width:none;padding:8px 2px!important;margin:0 0 8px!important;position:sticky;top:0;z-index:6;background:var(--v5-surface)!important;-webkit-overflow-scrolling:touch}
#qvsElementBar::-webkit-scrollbar{display:none}
#qvsElementBar button{flex:0 0 auto;font:600 12px Cairo,sans-serif!important;padding:6px 12px!important;border-radius:999px!important;white-space:nowrap;min-height:32px}
#qvsElementBar button.qvs-ghost{background:transparent!important;color:var(--v5-muted)!important;border-style:dashed!important}
.qvs-cards{display:flex;flex-direction:column;gap:8px}
.qvs-card{border:1px solid var(--v5-line)!important;border-radius:14px!important;background:var(--v5-surface2)!important;overflow:hidden;scroll-margin-top:var(--qvs-sticky,12px);margin:0!important;padding:0!important}
.qvs-card[open]{background:var(--v5-surface)!important;border-color:var(--v5-green)!important;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.qvs-card>summary{display:flex!important;align-items:center;gap:10px;min-height:46px;padding:0 12px!important;cursor:pointer;list-style:none;font:700 14px Cairo,sans-serif;color:var(--v5-ink);margin:0!important;background:transparent!important;border:0!important}
.qvs-card>summary::-webkit-details-marker{display:none}
.qvs-card>summary::marker{content:''}
.qvs-ic{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--v5-surface3);color:var(--v5-green);font-size:14px;font-weight:700;flex:0 0 auto}
.qvs-card[open] .qvs-ic{background:var(--v5-green);color:var(--v7-on,#fff)}
.qvs-t{flex:1}
.qvs-chev{color:var(--v5-muted);transition:transform .15s;font-size:18px;line-height:1}
.qvs-card[open] .qvs-chev{transform:rotate(-90deg)}
.qvs-sw{position:relative;display:inline-block;width:38px;height:22px;flex:0 0 auto;margin:0!important;padding:0!important}
.qvs-sw input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer;z-index:2}
.qvs-knob{position:absolute;inset:0;border-radius:999px;background:var(--v5-surface3);border:1px solid var(--v5-line);transition:background .15s}
.qvs-knob::after{content:'';position:absolute;top:2px;inset-inline-start:2px;width:16px;height:16px;border-radius:50%;background:var(--v5-muted);transition:transform .15s,background .15s}
.qvs-sw input:checked+.qvs-knob{background:var(--v5-green);border-color:transparent}
.qvs-sw input:checked+.qvs-knob::after{background:#fff;transform:translateX(-16px)}
[dir=ltr] .qvs-sw input:checked+.qvs-knob::after{transform:translateX(16px)}
.qvs-card-body{padding:2px 12px 12px;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--v5-line)}
.qvs-sub{display:flex;flex-direction:column;gap:8px;padding-top:8px}
.qvs-sub-t{font:700 11px Cairo,sans-serif;color:var(--v5-muted);letter-spacing:.02em}
.qvs-fold{border:1px solid var(--v5-line);border-radius:10px;padding:0!important;background:var(--v5-surface2)}
.qvs-fold>summary{list-style:none;cursor:pointer;padding:9px 10px;min-height:36px;display:flex;align-items:center;justify-content:space-between}
.qvs-fold>summary::-webkit-details-marker{display:none}
.qvs-fold>summary::after{content:'+';color:var(--v5-muted);font-size:16px}
.qvs-fold[open]>summary::after{content:'−'}
.qvs-fold>.qvs-grid{padding:0 10px 10px}
.qvs-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qvs-grid>*{grid-column:1/-1;margin:0!important;min-width:0}
.qvs-grid>.qvs-half{grid-column:auto}
.qvs-card .field{margin:0!important}
.qvs-card .field>label,.qvs-card label.toggle{font:600 12px Cairo,sans-serif!important;color:var(--v5-ink)}
.qvs-card .hint{font-size:11px!important;line-height:1.5;color:var(--v5-muted)!important;margin:2px 0 0!important}
.qvs-card select,.qvs-card input[type=number],.qvs-card input[type=text]{height:38px!important;min-height:38px;font-size:13px!important;border-radius:10px!important}
.qvs-card input[type=color]{height:38px!important;width:100%!important;border-radius:10px!important;padding:3px!important}
.qvs-card .row{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;margin:0!important}
.qvs-card .btns{display:flex;gap:8px;flex-wrap:wrap;margin:0!important}
.qvs-card button.outline,.qvs-card .mini-reset{min-height:36px;font-size:12px;border-radius:10px}
.qvs-card .upload{margin:0!important}
.qvs-pos{border:1px dashed var(--v5-line);border-radius:10px;padding:0!important;background:transparent!important;margin-top:4px}
.qvs-pos>summary{padding:9px 10px;min-height:36px;cursor:pointer;font:700 12px Cairo,sans-serif;color:var(--v5-green);list-style:none}
.qvs-pos>summary::-webkit-details-marker{display:none}
.qvs-pos>summary::before{content:'⌖ '}
.qvs-pos-body{padding:0 10px 10px;display:flex;flex-direction:column;gap:8px}
.qvs-pos-body .row{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}
.qvs-pos-body .row.scale-controls-row{grid-template-columns:1fr 1fr!important}
.qvs-pos-body .field>label{font-size:10.5px!important}
.qvs-pos-body input[type=number]{padding:0 6px!important;text-align:center}
.qvs-pos-body .align-tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:6px}
.qvs-pos-body .align-tools button{font-size:11px!important;padding:0 4px!important}
.qvs-card .marker-gallery{max-height:150px;overflow:auto}
@media (max-width:760px){
 :root{--qvs-sticky:300px}
 .qvs-card-body{padding:2px 10px 12px}
}
.panel.controls,.panel.controls>*{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#qvsElementBar{width:100%;contain:inline-size}
.qvs-range{display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:6px 10px}
.qvs-range>label{grid-column:1;grid-row:1}
.qvs-range>.range-value{grid-column:2;grid-row:1;font:600 11px Cairo,sans-serif;color:var(--v5-muted);text-align:end;direction:ltr}
.qvs-range>input[type=range]{grid-column:1/-1;grid-row:2;width:100%!important;margin:0}
.qvs-range>.hint,.qvs-range>.font-upload{grid-column:1/-1}
body .panel.controls .qvs-card select,body .panel.controls .qvs-card input[type=number],body .panel.controls .qvs-card input[type=text]{height:38px!important;min-height:38px!important;font-size:13px!important;padding:0 10px!important;line-height:1.2}
body .panel.controls .qvs-card input[type=range]{height:22px!important;min-height:0!important;padding:0!important;margin:0!important}
body .panel.controls .qvs-card .field{display:flex;flex-direction:column;gap:5px;margin:0!important;padding:0!important}
body .panel.controls .qvs-card .field.qvs-range{display:grid!important;gap:4px 10px}
body .panel.controls .qvs-card .field>label{margin:0!important;line-height:1.3}
body .panel.controls .qvs-card .range-value{margin:0!important}
body .panel.controls .qvs-card label.toggle{display:flex;align-items:center;gap:8px;min-height:34px;margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body .panel.controls .qvs-card .qvs-grid{gap:10px}
body .panel.controls .qvs-card .qvs-sub-t{margin:0}
body .panel.controls .pane-heading{margin:6px 0 8px!important;padding:0 2px!important;border:0!important;min-height:0!important}
body .panel.controls .pane-heading strong{font-size:15px}
body .panel.controls .pane-heading .mini-reset{height:30px!important;min-height:30px!important;font-size:11px!important;padding:0 10px!important;border-radius:8px!important;background:transparent!important;color:var(--v5-muted)!important}
body .panel.controls .settings-pane>.hint{display:none}
@media (max-width:760px){
 body .studio-grid.v5-workspace>section.panel.controls{align-self:stretch!important;width:100%!important;margin:0!important}
 #qvsElementBar{position:static!important}
}
body .panel.controls .qvs-card input[type=file]{font-size:11px!important;width:100%;color:var(--v5-muted)}
body .panel.controls .qvs-card label.upload{display:block;padding:10px;border:1px dashed var(--v5-line);border-radius:10px;font:600 12px Cairo,sans-serif;background:transparent}
body .panel.controls .qvs-card .field>button.outline.full,body .panel.controls .qvs-card button.outline.full{width:100%}
body .settings-rail .settings-tab.qvs-gone{display:none!important}
/* ---- phone: tighter top area ---- */
@media (max-width:760px){
 body .global-commandbar{gap:6px!important;padding:6px!important}
 body .global-commandbar .ratio-select-source{order:1!important;flex:1 1 0!important}
 body .global-commandbar #exportBtn{order:2!important;flex:0 0 112px!important;width:112px!important;height:34px!important;font-size:12px!important;padding:0 8px!important;white-space:nowrap}
 body .global-commandbar::after{content:'';order:3;flex:0 0 100%;height:0}
 body .global-commandbar .format-quality-details{order:4!important}
 body .global-commandbar .sync-review-toggle.sync-top{order:5!important}
 body .global-commandbar .ai-review-notice{order:6!important}
 body .global-commandbar .ai-review-notice .notice-toggle{order:6!important}
 body .global-commandbar #qvsSummary{order:7!important;flex:1 1 0!important;min-width:0;width:auto!important;flex-basis:0!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;margin:0!important}
 body .global-commandbar #qvsSummary::-webkit-scrollbar{display:none}
 body .global-commandbar #qvsSummary span{white-space:nowrap;flex:0 0 auto;padding:3px 8px;font-size:10.5px}
 body .global-commandbar .ratio-select-source select{font-size:12px!important}
 /* preview header: one thin row */
 body .panel.preview .preview-head{min-height:0!important;margin:0 0 2px!important}
 body .panel.preview .preview-head h2,body .panel.preview .preview-head .preview-title{font-size:12px!important}
 /* transport: one row, all six buttons */
 body .panel.preview .clip-transport{display:flex!important;flex-wrap:nowrap!important;gap:4px!important}
 body .panel.preview .clip-transport>button{flex:1 1 0!important;min-width:0!important;padding:0 2px!important;font-size:11px!important;white-space:nowrap;overflow:hidden}
 body .panel.preview .clip-transport>#playBtn{flex:2.1 1 0!important}
 body .panel.preview .clip-transport .word-skip-btn{display:inline-flex!important;align-items:center;justify-content:center;font-size:0!important}
 body .panel.preview #prevWordBtn::before{content:'◂ كلمة';font-size:11px}
 body .panel.preview #nextWordBtn::before{content:'كلمة ▸';font-size:11px}
 body .panel.preview #stopBtn{font-size:0!important;display:inline-flex!important;align-items:center;justify-content:center}
 body .panel.preview #stopBtn::before{content:'■ إيقاف';font-size:11px}
}
/* light theme: the ratio select was left dark */
body[data-theme="light"] .global-commandbar .ratio-select-source select,body[data-theme="light"] .global-commandbar select{background:var(--v5-surface)!important;color:var(--v5-ink)!important;border-color:var(--v5-line)!important}
@media (max-width:760px){
 body .global-commandbar .command-export,body .global-commandbar .global-format-section{display:contents!important}
}
@media (max-width:760px){
 body .global-commandbar .global-format-section #exportBtn.export-main,body .global-commandbar #exportBtn.export-main,body .global-commandbar .command-export #exportBtn{order:2!important;flex:0 0 112px!important;width:112px!important;min-width:0!important;min-height:34px!important;height:34px!important;padding:0 8px!important;font-size:12px!important}
}
@media (max-width:760px){
 body .global-commandbar .format-quality-details[open]>.row{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;position:fixed!important;left:10px!important;right:10px!important;inset-inline-start:10px!important;inset-inline-end:10px!important;top:116px!important;z-index:300!important;margin:0!important;min-width:0!important;width:auto!important;background:var(--v5-surface)!important;border:1px solid var(--v5-line)!important;border-radius:14px!important;padding:14px!important;box-shadow:0 14px 34px rgba(0,0,0,.4)!important;gap:10px!important}
 body .global-commandbar .format-quality-details[open]>.row .field{margin:0!important}
 body .global-commandbar .format-quality-details[open]>.row label{font:600 12px Cairo,sans-serif;color:var(--v5-ink)}
 body .global-commandbar .format-quality-details[open]>.row select{height:38px!important;width:100%!important;font-size:13px!important}
 body .global-commandbar .format-quality-details[open]>summary{background:var(--v5-green)!important;color:var(--v7-on,#fff)!important}
}

/* ===== v6.10 slim preview: no header, tight video, fullscreen in the player bar ===== */
body .panel.preview .preview-head{display:none!important}
body .studio-grid > section.panel.preview{padding:8px!important}
body .panel.preview #previewViewport{height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;display:block!important;line-height:0}
body .panel.preview #previewViewport>.stage{margin:0 auto!important;display:flex!important}
body .panel.preview #previewViewport:fullscreen{height:100%!important;display:flex!important;align-items:center;justify-content:center;background:#000!important}
body .panel.preview .timeline-head,body.qvs-scrolled .panel.preview .timeline-head{display:flex!important;align-items:center;justify-content:space-between;gap:8px;margin:6px 2px 2px!important;min-height:30px!important;font-size:11px!important}
body .panel.preview .timeline-head>span:first-child{display:none}
body .panel.preview .timeline-head .transport-volume{display:flex;align-items:center;gap:6px;margin-inline-start:auto}
body .panel.preview .timeline-head .transport-volume input{width:90px}
body .panel.preview .timeline-head .volume-value{display:none}
body .panel.preview .qvs-fs-btn{min-width:34px!important;width:34px;height:30px!important;padding:0!important;font-size:17px!important;line-height:1;display:inline-flex;align-items:center;justify-content:center}
body .panel.preview #fullscreenPreviewBtn.qvs-fs-btn{min-width:34px!important;width:34px!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:0!important;border-radius:8px!important;flex:none}
body .panel.preview #fullscreenPreviewBtn.qvs-fs-btn{color:var(--v5-ink)!important;opacity:1!important}

/* ===== English interface: real left-to-right layout (Quran text, tafsir and timing words keep their own RTL) ===== */
html[dir="ltr"] body.interface-en,
html[dir="ltr"] body.interface-en .studio-grid.v5-workspace,
html[dir="ltr"] body.interface-en .studio-grid.v5-workspace > .settings-rail,
html[dir="ltr"] body.interface-en .studio-grid.v5-workspace > .preview,
html[dir="ltr"] body.interface-en .studio-grid.v5-workspace > .controls,
html[dir="ltr"] body.interface-en .controls *:not([dir="rtl"]),
html[dir="ltr"] body.interface-en .settings-rail *:not([dir="rtl"]),
html[dir="ltr"] body.interface-en .preview *:not([dir="rtl"]):not(#stage):not(#stage *),
html[dir="ltr"] body.interface-en header, html[dir="ltr"] body.interface-en header *:not([dir="rtl"]),
html[dir="ltr"] body.interface-en #homeView, html[dir="ltr"] body.interface-en #homeView *:not([dir="rtl"]),
html[dir="ltr"] body.interface-en .meta-strip, html[dir="ltr"] body.interface-en .meta-strip *:not([dir="rtl"]),
html[dir="ltr"] body.interface-en .format-section, html[dir="ltr"] body.interface-en .format-section *:not([dir="rtl"]){
  direction:ltr !important;
}
html[dir="ltr"] body.interface-en .controls label,
html[dir="ltr"] body.interface-en .controls .hint,
html[dir="ltr"] body.interface-en .controls .status,
html[dir="ltr"] body.interface-en .controls summary,
html[dir="ltr"] body.interface-en .controls .pane-heading,
html[dir="ltr"] body.interface-en .controls .range-value,
html[dir="ltr"] body.interface-en .preview .hint,
html[dir="ltr"] body.interface-en .settings-rail button,
html[dir="ltr"] body.interface-en .inspector-heading{text-align:left !important;}
html[dir="ltr"] body.interface-en #reviewArabic,html[dir="ltr"] body.interface-en #reviewTafsir{direction:rtl !important;text-align:right !important;}
html[dir="ltr"] body.interface-en .controls input[type="number"],html[dir="ltr"] body.interface-en .controls input[type="text"],html[dir="ltr"] body.interface-en .controls select{text-align:left !important;}

/* v7.1: sources & licenses at the very bottom of the page, collapsed */
body .sources-licenses{display:block!important;max-width:1100px;margin:28px auto 36px!important;padding:0 14px!important;clear:both;position:relative;z-index:1}
body .sources-licenses>summary{cursor:pointer;list-style:none;background:var(--v5-surface2,#1c2330)!important;color:var(--v5-ink,#e8edf3)!important;border:1px solid var(--v5-line,#2b3544)!important;border-radius:12px!important;padding:12px 14px!important;font-weight:700;font-size:14px}
body .sources-licenses>summary::-webkit-details-marker{display:none}
body .sources-licenses .sources-body{padding:12px 4px 0;font-size:12px;line-height:1.9;color:var(--v5-muted,#9aa6b5)}
body .sources-licenses .sources-footer{margin:0 0 8px!important;font-size:12px!important}
body .sources-licenses .accuracy-note{margin:8px 0 0!important}
body #ayahNumberColor.color-input{width:100%;min-height:40px}

/* MOCK v7.1d: ONE compact top bar (desktop) / two stacked bars (mobile); one-row player controls */
body .global-commandbar .commandbar-caption,body .global-commandbar .mini-reset,body .global-commandbar #aiNoticeMessage,body .global-commandbar #exportProgressBox.hidden{display:none!important}
body .global-commandbar .ai-review-notice{display:contents!important}
html body .global-commandbar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;padding:6px 8px!important}
html body .global-commandbar #exportBtn{order:1!important;flex:0 0 auto!important;height:34px!important;padding:0 14px!important;margin:0!important;font-size:13px!important}
html body .global-commandbar #cancelExportBtn{order:1!important}
html body .global-commandbar .ratio-quickbar{display:flex!important;gap:3px!important;margin:0!important;padding:2px!important;order:2!important;flex:0 0 auto!important;width:auto!important;max-width:none!important}
html body .global-commandbar .ratio-quickbar .ratio-option{height:28px!important;min-height:28px!important;padding:0 7px!important;font-size:11px!important;gap:4px!important;flex:0 0 auto!important}
html body .global-commandbar .dimensions-chip{order:3!important;flex:0 0 auto!important;margin:0!important;height:28px!important;padding:0 8px!important;font-size:10px!important;display:flex!important;align-items:center;border-radius:8px!important}
html body .global-commandbar #formatQualityDetails{order:4!important;flex:0 0 auto!important;margin:0!important;width:auto!important}
html body .global-commandbar #formatQualityDetails>summary,html body .global-commandbar #syncReviewToggle,html body .global-commandbar #toggleAiNotice{height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:12px!important;display:inline-flex!important;align-items:center;margin:0!important;width:auto!important}
html body .global-commandbar #syncReviewToggle{order:5!important;flex:0 0 auto!important}
html body .global-commandbar #toggleAiNotice{order:6!important;flex:0 0 auto!important}
html body .global-commandbar #qvsSummary{order:7!important;display:flex!important;gap:4px!important;margin:0 0 0 auto!important;flex:0 0 auto!important;width:auto!important}
html body .global-commandbar #qvsSummary>span{font-size:10px!important;padding:4px 7px!important;border:1px solid var(--v5-line,#2b3544);border-radius:8px;background:var(--v5-surface2,#1c2330);white-space:nowrap}
/* player: one row */
html body .timeline-control{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 8px!important}
html body .timeline-control .timeline-head{display:contents!important}
html body .timeline-control .timeline-head>span:not(#seekLabel){display:none!important}
html body .timeline-control .fullscreen-btn{order:1;flex:0 0 auto;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}
html body .timeline-control .transport-volume{order:2;flex:0 0 92px!important;display:flex!important;align-items:center;gap:4px;margin:0!important}
html body .timeline-control .transport-volume input[type=range]{width:100%!important;min-width:0}
html body .timeline-control #seekBar{order:3;flex:1 1 0!important;min-width:60px;width:auto!important;margin:0!important}
html body .timeline-control #seekLabel{order:4;flex:0 0 auto;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums}
html body .timeline-control .internal-progress-track,html body .timeline-control .clip-transport,html body .timeline-control #clipRangeInfo,html body .timeline-control .transport-jumps{order:9;flex:0 0 100%}
@media (max-width:820px){
html body .global-commandbar{padding:6px!important;gap:5px!important}
html body .global-commandbar::after{content:"";order:5!important;flex:0 0 100%;height:0}
html body .global-commandbar #exportBtn{order:1!important;flex:1 1 auto!important}
html body .global-commandbar .ratio-quickbar{display:none!important}
html body .global-commandbar .ratio-select-source{order:2!important;flex:1 1 90px!important;margin:0!important}
html body .global-commandbar .ratio-select-source label{display:none!important}
html body .global-commandbar .ratio-select-source select{height:34px!important;min-height:34px!important;font-size:11px!important;padding:0 6px!important}
html body .global-commandbar .dimensions-chip{display:none!important}
html body .global-commandbar #formatQualityDetails{order:3!important}
html body .global-commandbar #syncReviewToggle{order:3!important;font-size:0!important;padding:0 11px!important}
html body .global-commandbar #toggleAiNotice{order:4!important}
html body .global-commandbar #qvsSummary{order:6!important;flex:0 0 100%!important;width:100%!important;margin:0!important;justify-content:stretch}
html body .global-commandbar #qvsSummary>span{flex:1 1 0;text-align:center;min-width:0}
html body .timeline-control .transport-volume{flex:0 0 70px!important}
}
html body .global-commandbar .dimensions-chip{display:none!important}
html body .global-commandbar #toggleAiNotice{font-size:0!important;padding:0 11px!important}
html body .global-commandbar #toggleAiNotice::first-letter{font-size:15px}
html body .global-commandbar #exportBtn{padding:0 10px!important}
html body .global-commandbar #qvsSummary{margin:0 0 0 auto!important}
@media (max-width:820px){
html body .global-commandbar #formatQualityDetails>summary,html body .global-commandbar #syncReviewToggle,html body .global-commandbar #toggleAiNotice{font-size:0!important;padding:0!important;width:38px!important;min-width:38px!important;justify-content:center}
html body .global-commandbar #formatQualityDetails>summary::first-letter,html body .global-commandbar #syncReviewToggle::first-letter,html body .global-commandbar #toggleAiNotice::first-letter{font-size:16px}
html body .global-commandbar #formatQualityDetails,html body .global-commandbar #syncReviewToggle,html body .global-commandbar #toggleAiNotice{flex:0 0 38px!important;width:38px!important;min-width:38px!important}
html body .global-commandbar #exportBtn{flex:0 0 auto!important;font-size:12px!important;padding:0 10px!important}
}
html body .global-commandbar #canvasDimensionsLabel{display:none!important}
html body .global-commandbar #toggleAiNotice{width:38px!important;min-width:38px!important;justify-content:center}
html body .global-commandbar #toggleAiNotice::first-letter{font-size:16px}
@media (min-width:821px){
html body .global-commandbar #toggleAiNotice{font-size:12px!important;width:auto!important;min-width:0!important;padding:0 10px!important}
}

/* MOCK footer: static, last element of the page, never floats or opens */
html body .site-footer{position:static!important;display:block!important;clear:both;width:100%;margin:36px 0 0!important;padding:26px 16px 30px!important;background:linear-gradient(180deg,transparent,rgba(8,12,18,.85) 40%);border-top:1px solid var(--v5-line,#2b3544);color:var(--v5-muted,#9aa6b5);font-size:13px;line-height:1.9}
html body .site-footer .sf-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1.6fr;gap:18px 28px;align-items:start}
html body .site-footer .sf-brand{display:flex;flex-direction:column;gap:4px}
html body .site-footer .sf-brand strong{font-size:18px;color:var(--v5-ink,#e8edf3);letter-spacing:.3px}
html body .site-footer .sf-title{font-weight:700;color:var(--v5-ink,#e8edf3);margin-bottom:4px}
html body .site-footer ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}
html body .site-footer li small{color:var(--v5-muted,#8b97a7);margin-inline-start:6px;font-size:11px}
html body .site-footer a{color:#5fe0bd;text-decoration:none}
html body .site-footer .sf-note{grid-column:1/-1;margin:0;font-size:12px;opacity:.9;border-top:1px dashed var(--v5-line,#2b3544);padding-top:12px}
html body .site-footer .sf-credit{grid-column:1/-1;text-align:center;font-size:13px;color:var(--v5-ink,#e8edf3)}
html body .site-footer .sf-credit b{color:#f0cf6a;font-weight:700;margin-inline-start:4px}
@media (max-width:820px){html body .site-footer .sf-inner{grid-template-columns:1fr}html body .site-footer ul{grid-template-columns:1fr}}

/* v7.2 touch-friendly polish (phones) */
@media (max-width:820px){
html body .clip-transport button{min-height:46px!important;font-size:13px!important}
html body .settings-nav button,html body .settings-nav a{min-height:46px!important}
html body .controls select,html body .controls input[type=number],html body .controls input[type=text]{min-height:46px!important;font-size:15px!important}
html body .controls .toggle{min-height:44px;display:flex;align-items:center;gap:8px}
html body .controls input[type=checkbox]{width:22px;height:22px}
html body .controls input[type=color]{min-height:46px!important;width:100%}
html body input[type=range]{height:30px}
html body .controls summary{min-height:46px!important}
}
