/* 29DEC shared footer: overview / slide title and progress / playback controls. */
.deck29-footer{
  --f-muted:var(--presentation-muted,#56695d);--f-line:var(--presentation-border,#cbd4ca);
  --f-accent:var(--presentation-selected,#b94b30);--f-bg:var(--presentation-bar,var(--paper,#f5f2e9));
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(10px,2.3vw,35px);
  padding:0 clamp(15px,4.5vw,64px);background:var(--f-bg);color:inherit;min-width:0;
}
#stage>.deck29-footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(10px,2.3vw,35px);padding:0 clamp(15px,4.5vw,64px);border:0}
.deck29-footer.deck-controls{border:0}
.deck29-footer::before{content:"";position:absolute;inset:0 clamp(15px,4.5vw,64px) auto;height:1px;background:var(--f-line);opacity:.55;pointer-events:none}
.deck29-footer.deck-controls{position:relative}
.deck29-actions,.deck29-controls,.deck29-controls .pager{display:flex;align-items:center;gap:clamp(3px,.65vw,10px)}
.deck29-footer .deck29-actions{gap:3px}
.deck29-footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:inherit;background:transparent;border:0;border-radius:6px;padding:8px;min-width:34px;min-height:34px;white-space:nowrap;font:inherit;font-size:.75rem}
.deck29-footer button:hover:not(:disabled){background:color-mix(in srgb,currentColor 11%,transparent)}
.deck29-footer button:disabled{opacity:.32}
.deck29-footer svg{display:block;width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.deck29-center{width:min(380px,100%);justify-self:center;min-width:0;display:flex;flex-direction:column;gap:7px}
.deck29-name{font-size:.75rem;color:var(--f-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:1em}
.deck29-progress{display:block;width:100%;height:2px;background:var(--f-line);overflow:hidden}
.deck29-progress>span{display:block;height:100%;width:0;background:var(--f-accent);transition:width .3s ease}
.deck29-footer #count,.deck29-footer #page-label{font-size:.75rem;color:var(--f-muted);min-width:44px;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.deck29-footer #chapter-label,.deck29-footer .keyboard-hint,.deck29-footer .progress{display:none}
.deck29-dialog{width:min(780px,calc(100vw - 32px));max-height:80dvh;border:1px solid var(--presentation-border,#d4d1c5);border-radius:14px;background:var(--presentation-bar,#21171b);color:inherit;padding:22px;z-index:20}
.deck29-dialog::backdrop{background:#120f13a0}
.deck29-dialog .deck29-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.deck29-dialog h2{font-size:1.15rem;margin:0;color:inherit}
.deck29-dialog nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.deck29-dialog nav button{white-space:normal;text-align:left;font-size:.9rem;line-height:1.4;color:inherit;padding:10px;border-radius:6px}
.deck29-dialog nav button[aria-current=true]{background:var(--presentation-active,#76374c)}
.deck29-dialog #jump{display:block;margin:0 0 14px;max-width:100%;font-size:.875rem}
@media(max-width:620px){#stage>.deck29-footer,.deck29-footer{padding-inline:12px;gap:6px}.deck29-footer button{padding:6px;min-width:28px}.deck29-footer button svg{width:16px;height:16px}.deck29-footer #count,.deck29-footer #page-label{min-width:40px;font-size:.69rem}.deck29-name{font-size:.7rem}.deck29-center{gap:4px}}
@media(max-width:390px){.deck29-actions button>span{display:none}.deck29-dialog nav{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.deck29-progress>span{transition:none}}
