/* A single, rounded player for both presentation experiences. */
#controls:has(.presentation-player),.story-controls.player-shell{position:fixed!important;left:24px!important;right:24px!important;bottom:max(16px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:1120px;margin:0 auto!important;padding:0!important;min-height:0!important;display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:42!important;opacity:1!important;pointer-events:auto!important}
#controls[hidden]{display:none!important}.presentation-player{--player-white:#fff7f1;display:flex;align-items:center;gap:18px;width:100%;height:64px;box-sizing:border-box;padding:8px 18px;border:1px solid #edf7ff38;border-radius:999px;background:linear-gradient(115deg,#ffffff0d,#b1d5f005 55%,#ffffff0a);color:var(--player-white);box-shadow:inset 0 1px 0 #ffffff26,inset 0 -1px 0 #ffffff08,0 6px 24px #0002;backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15);font:400 15px/1.3 Arial,sans-serif;text-align:left}.presentation-player.player-cassia{--player-white:#324d41;background:linear-gradient(115deg,#ffffff30,#e6eee115 55%,#ffffff24);border-color:#ffffffb3;box-shadow:inset 0 1px 0 #fff9,inset 0 -1px 0 #324d410c,0 6px 24px #293d3714}.presentation-player button,.presentation-player a{box-sizing:border-box;flex:none;touch-action:manipulation}.presentation-player button{display:inline-flex!important;align-items:center;justify-content:center;background:transparent!important;color:var(--player-white)!important;border:0!important;border-radius:12px!important;min-height:44px!important;min-width:44px!important;padding:0!important;cursor:pointer;font:inherit!important;line-height:1!important;box-shadow:none!important;transition:opacity .15s,background .15s}.presentation-player button:hover{background:#ffffff10!important}.presentation-player button:disabled{opacity:.3!important;cursor:default!important;background:none!important}.presentation-player button:focus-visible,.presentation-player a:focus-visible{outline:2px solid #d3ebff!important;outline-offset:4px}.player-transport{display:flex;align-items:center;gap:8px;flex-shrink:0}.presentation-player svg{display:block!important;width:29px!important;height:29px!important;fill:currentColor;stroke:none;overflow:visible}.player-transport .player-play{width:44px;min-width:44px!important;height:46px}.player-play svg{width:31px!important;height:31px!important}.player-transport .player-previous svg,.player-transport .player-next svg{width:27px!important;height:27px!important}.player-now{display:flex;align-items:center;gap:11px;min-width:0;flex:1}.player-artwork{width:42px;height:42px;flex:0 0 42px;overflow:hidden;border-radius:6px;background:transparent;border:0;display:grid;place-items:center}.player-artwork img{display:block;width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}.player-artwork.cassia-artwork{background:#ffffff1f;border:1px solid #324d4112}.player-titles{display:flex;flex-direction:column;min-width:0;gap:3px}.player-titles>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:500;letter-spacing:-.025em;color:var(--player-white)}.player-titles>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;letter-spacing:-.015em;color:var(--player-white);opacity:.72}.player-titles b{font-weight:400}.player-tools{display:flex;align-items:center;gap:6px;flex:none}.player-tools .player-tool{position:relative;width:36px;min-width:36px!important}.player-tools .player-tool svg{width:22px!important;height:22px!important}.player-comments svg,.player-tools [data-action=chapters] svg,.player-tools [data-action=menu] svg,.player-draw svg{fill:none!important;stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round;stroke-linejoin:round}.player-draw[aria-pressed=true]{color:#edff53!important;background:#e9ff4a18!important}.player-cassia .player-draw[aria-pressed=true]{color:#55fa9f!important;background:#5cffa218!important}.player-maestro-mark{display:grid;place-items:center;width:40px;height:40px;margin-left:8px;border-radius:50%;text-decoration:none;background:transparent}.player-brand-glyph{display:block;flex:none;width:38px;height:38px;background:url("/assets/presentation-maestro-mark.svg?v=blue-circle-1") center/contain no-repeat}.player-artwork .player-brand-glyph{transform:scale(.94)}.player-cassia button:hover{background:#324d410c!important}.player-cassia .player-draw[aria-pressed=true]{color:#007f49!important;background:#31ec8420!important}[data-player-note-count]{position:absolute;right:-3px;top:0;background:#88cdf5;color:#102539;font:bold 9px/1 Arial,sans-serif;min-width:14px;height:14px;border-radius:50%;display:grid;place-items:center}[data-player-note-count][hidden]{display:none}.player-more-wrap{position:relative}.player-more-panel{position:absolute;bottom:calc(100% + 28px);right:-15px;min-width:220px;max-width:78vw;background:#1e252deF;color:#fbf3eb;border:1px solid #c6d4de40;box-shadow:0 16px 45px #0004;backdrop-filter:blur(24px);border-radius:18px;padding:8px}.player-more-panel[hidden]{display:none}.presentation-player .player-more-panel button{display:flex!important;justify-content:flex-start;white-space:nowrap;width:100%;padding:13px 16px!important;font-size:13px!important;border-radius:10px!important;height:auto}.player-more-panel button:hover{background:#ffffff12!important}.player-cassia .player-more-panel{--player-white:#324d41;background:#f7faf4ee;border-color:#324d4126}
body:has(#controls .presentation-player) .slide{padding-bottom:105px!important}.story:has(.player-shell){padding-bottom:96px;box-sizing:border-box}.story:has(.player-shell)>.progress{display:none}.source-note{flex-shrink:0}.maestro-assistant,.maestro-chat-credit{bottom:98px!important}body:has(#controls .presentation-player) .ask-float{bottom:98px!important}body:has(#controls .presentation-player) .ask-float-feedback{bottom:152px!important}
body:has(#controls .presentation-player) iframe[title="Webchat Widget"][state="widgetClose"]{visibility:hidden!important;pointer-events:none!important}
/**** Shared highlighter tools ****/
.ink-host{position:relative}.ink-layer{position:absolute;inset:0;pointer-events:none;z-index:12}.ink-surface{position:absolute;overflow:hidden;pointer-events:none;touch-action:auto}.ink-host .ink-surface path{fill:none;stroke:var(--slide-ink-color,#34ee8c);stroke-width:var(--slide-ink-width,5px);stroke-linecap:round;stroke-linejoin:round;opacity:var(--slide-ink-opacity,.95);filter:drop-shadow(0 0 var(--slide-ink-glow,2px) var(--slide-ink-color,#34ee8c));pointer-events:none}.ink-active .ink-surface{pointer-events:auto;touch-action:none;cursor:crosshair}.ink-active .ink-surface[data-tool=erase]{cursor:cell}.ink-control-row{position:fixed!important;bottom:92px!important;left:0;right:0;z-index:44;padding:0!important;background:none!important;text-align:center;pointer-events:none}.ink-control-row[hidden],.ink-tools[hidden]{display:none!important}.ink-tools{display:inline-flex;align-items:center;gap:8px;max-width:94vw;flex-wrap:wrap;justify-content:center;padding:8px 14px;border:1px solid #d8e0e055;border-radius:20px;background:#25313deF;box-shadow:0 8px 32px #0004;color:#edf6fc!important;pointer-events:auto;backdrop-filter:blur(24px)}.ink-tools button{border:0!important;border-radius:10px!important;background:transparent!important;color:inherit!important;padding:8px 10px!important;font:12px/1.2 Arial,sans-serif!important;min-height:36px!important;display:flex;gap:6px;align-items:center}.ink-tools button[aria-pressed=true]{background:#a6c3dc20!important}.ink-tools button:disabled{opacity:.35}.ink-tools button:hover{background:#a6c3dc20!important}.ink-tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.ink-tools .ink-status{display:flex;gap:7px;align-items:center;white-space:nowrap;font:11px Arial,sans-serif;color:inherit}.ink-status i{width:8px;height:8px;border-radius:50%;background:var(--marker-color,#34ee8c);box-shadow:0 0 9px var(--marker-color,#34ee8c)}.ink-feedback{position:absolute;bottom:100%;font-size:10px;color:#8fbbd5}
body:has(#controls .presentation-player) .ink-status{--marker-color:#edff53}
/**** Private notes never enter the shared presentation state. ****/
.player-notes-dialog{width:min(680px,92vw);max-width:92vw;max-height:85svh;padding:0;overflow:auto;border:1px solid #abc3d855;border-radius:25px;color:#eaf1f6;background:linear-gradient(145deg,#1b2835,#111a24);box-shadow:0 30px 110px #0008;font:14px/1.6 Arial,sans-serif}.player-notes-dialog::backdrop{background:#0008;backdrop-filter:blur(7px)}.player-notes-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 28px 15px}.player-notes-head span{font-size:9px;letter-spacing:.15em;color:#8ec7e2}.player-notes-dialog h2{font:500 28px/1.2 Arial,sans-serif;letter-spacing:-.04em;margin:7px 0 0;color:#f4f7fa}.player-notes-dialog button{font:12px/1.3 Arial,sans-serif;min-height:36px;border:1px solid #aac6df35;border-radius:9px;padding:8px 13px;background:#1c2d3d;color:#dcecf6;cursor:pointer}.player-notes-head button{border:0;background:none;font-size:18px}.player-notes-tabs{display:flex;gap:8px;padding:0 28px 18px;border-bottom:1px solid #acc6df20}.player-notes-tabs button{border:0;background:none;color:#a5bacb}.player-notes-tabs button[aria-pressed=true]{background:#acc6df15;color:#f3f7fa}.player-notes-tabs span{margin-left:5px;color:#87c8e9}.player-notes-body{padding:22px 28px}.player-note-context{color:#8eb9d1;font-size:11px;margin:0 0 23px}.player-note-context strong{display:block;font-size:16px;line-height:1.4;font-weight:400;color:#e5f0f6;margin-top:7px}.player-notes-dialog label{display:block;font-size:12px;color:#b0c7d8;margin:0 0 10px}.player-notes-dialog textarea{width:100%;box-sizing:border-box;min-height:160px;max-height:45svh;resize:vertical;padding:15px;border:1px solid #a9c4db40;border-radius:12px;font:14px/1.7 Arial,sans-serif;background:#08131f;color:#edf4f9}.player-notes-dialog textarea::placeholder{color:#698397}.player-note-actions{display:flex;gap:10px;margin-top:16px}.player-notes-dialog .player-note-save{background:#2c6d96;border-color:#77c2e75e;color:white}.player-notes-privacy{border-top:1px solid #acc6df20;padding:18px 28px 0;margin:0;color:#7999b0;font-size:10px;line-height:1.7}.player-note-status{color:#92cce9;font-size:11px;padding:10px 28px 18px;margin:0;min-height:18px}.player-note-status button{min-height:28px;font-size:10px;margin-left:5px}.player-note-summary-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.player-note-summary-tools p{font-size:12px;color:#98b4c7;margin:0}.player-note-summary-tools button{font-size:11px;flex:none}.player-note-card{border:1px solid #aac9e329;border-radius:14px;padding:18px;margin-bottom:14px;background:#0c192645}.player-note-card small{font-size:9px;color:#83bedc}.player-note-card h3{font:400 16px/1.4 Arial,sans-serif;color:#dcebf5;margin:6px 0 14px}.player-note-card>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#b4c9d8;line-height:1.7;margin:0 0 18px}.player-note-card>div{display:flex;gap:16px;align-items:center}.player-note-card a{font-size:11px;color:#8fcce9;text-decoration:none}.player-notes-empty{text-align:center;color:#9eb9cc;font-size:14px;padding:20px}.player-notes-dialog button:focus-visible,.player-notes-dialog a:focus-visible,.player-notes-dialog textarea:focus-visible{outline:2px solid #8dd3f1;outline-offset:3px}
@media(max-width:1050px){.presentation-player{height:64px;gap:12px;padding:8px 16px}.player-artwork{width:42px;height:42px;flex-basis:42px}.player-titles>strong{font-size:14px}.player-titles>span{font-size:11px}.player-tools{gap:3px}.player-transport{gap:9px}.player-tools .player-tool{width:32px;min-width:32px!important}.player-tools .player-tool svg{width:22px!important;height:22px!important}}
@media(max-width:700px){#controls:has(.presentation-player),.story-controls.player-shell{left:10px!important;right:10px!important;bottom:max(10px,env(safe-area-inset-bottom))!important}.presentation-player{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:104px;border-radius:24px;padding:8px 11px;gap:2px 0}.player-now{grid-column:1/7;grid-row:1;gap:11px;min-width:0}.player-artwork{width:34px;height:34px;flex-basis:34px}.player-artwork .player-brand-glyph{transform:scale(.8)}.player-titles>strong{font-size:13px}.player-titles>span{font-size:10px}.player-tools{display:contents}.player-maestro-mark{grid-column:7;grid-row:1;width:38px;height:38px;margin:0;justify-self:end}.player-maestro-mark .player-brand-glyph{transform:scale(.85)}.player-transport{grid-column:1/4;grid-row:2;gap:5px;justify-content:start}.player-transport button{min-width:32px!important;width:32px;min-height:40px!important}.player-transport .player-play{min-width:42px!important;width:42px;height:42px}.player-play svg{width:33px!important;height:33px!important}.player-transport .player-previous svg,.player-transport .player-next svg{width:28px!important;height:27px!important}.player-more-wrap{grid-column:4;grid-row:2;justify-self:center}.player-draw{grid-column:5;grid-row:2;justify-self:center}.player-comments{grid-column:6;grid-row:2;justify-self:center}.player-tools>[data-action=chapters],.player-tools>[data-action=menu]{grid-column:7;grid-row:2;justify-self:end}.player-tools .player-tool{min-width:36px!important;width:36px;min-height:42px!important}.player-tools .player-tool svg{width:22px!important;height:22px!important}.player-more-panel{right:-130px;bottom:calc(100% + 17px)}.story:has(.player-shell){padding-bottom:131px}.ink-control-row{bottom:124px!important}.ink-tools{gap:2px;padding:6px 8px;border-radius:15px}.ink-tools .ink-status{display:none}.ink-tools button{font-size:10px!important;padding:7px!important}.maestro-assistant,.maestro-chat-credit{bottom:130px!important}body:has(#controls .presentation-player) .ask-float{bottom:130px!important}body:has(#controls .presentation-player) .ask-float-feedback{bottom:184px!important}.player-notes-body{padding:18px 22px}.player-notes-head{padding:21px 22px 15px}.player-notes-tabs{padding-inline:22px}.player-notes-privacy{padding-inline:22px}.player-note-status{padding-inline:22px}.player-note-summary-tools{display:block}.player-note-summary-tools button{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.presentation-player button{transition:none}}
