/* SI MIND live, the stream layer (stream builder, Nov 27, 2026 build; thesimind.si v2.33.0 and sicto.si v1.59.0).
   A layer over the feed's own rules (si.css) and look v3 (ml-v3.css), linked after both: the Sound of the Mind switch, the Director's
   mark and its closer framing, the Stream Stamp and Launch Night lines on the stage, the stream's uptime in the status line, and the
   portrait composition for tall streams (?obs=1&portrait=1, 1080 by 1920, for Telegram Live Stories).
   Look v3 only: no boxes, hairlines, clean type, quiet motion. Built by SCRATCH/pass-stream/build.py into /assets/css/ml-stream.css. */

/* ---- the Sound of the Mind: one switch beside the voice */
.ml-sound svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ml-sound .ml-so-on,.ml-sound .ml-so-off{display:inline-flex;align-items:center;gap:8px}
.ml-sound .ml-so-on,.ml-sound.is-on .ml-so-off{display:none}
.ml-sound.is-on .ml-so-on{display:inline-flex}
.ml-sound:disabled{opacity:.55;cursor:not-allowed}
/* between a phone and a desktop the row of tools is one tight line: the switch is its mark alone there (its name stays for screen readers) */
@container (min-width:621px) and (max-width:1079px){.ml-sound .ml-so-on>span,.ml-sound .ml-so-off>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.ml-sound{padding-inline:11px!important}.ml-tools{gap:6px!important;flex-wrap:wrap!important;row-gap:6px}}
.ml.ml-v3 .ml-sound.is-on{border-color:var(--v-up)!important;color:var(--v-up)!important}
.ml.ml-v3 .ml-sound.is-on svg path{animation:mlSoBars 1.6s ease-in-out infinite}
@keyframes mlSoBars{0%,100%{opacity:1}50%{opacity:.45}}

/* ---- the Director: a small word in front of the views while it holds the camera, and a closer framing for a live question */
.ml-dir-tag{align-self:center;margin:0 10px 0 2px;font:600 10.5px/1 var(--f-body,inherit);letter-spacing:.14em;text-transform:uppercase;color:var(--v-amber,#ffb454);white-space:nowrap}
.ml-dir-tag[hidden]{display:none}
.ml-dir-tag::before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:currentColor;vertical-align:1px}
.ml .ml-view{transition:transform 1.4s cubic-bezier(.22,.8,.24,1)}
.ml.ml-dir-close .ml-view{transform:scale(1.07)}
.ml.ml-dir-close[data-view="basic"] .ml-view,.ml.ml-dir-close[data-view="nerd"] .ml-view{transform:none}
/* lead, Nov 27 preview: the push in carried the corner words ("The mind", "$SI volume ring") past the edge of the stage, so they fade while it lasts */
.ml .ml-hud-tl,.ml .ml-hud-tr{transition:opacity .5s ease}
.ml.ml-dir-close:not([data-view="basic"]):not([data-view="nerd"]) :is(.ml-hud-tl,.ml-hud-tr){opacity:0}

/* ---- on the stage: the Stream Stamp and Launch Night, plain lines above the ask line (inside the overlay, like the poll and milestone lines) */
.ml-schips{position:absolute;left:50%;bottom:calc(clamp(8px,1.8cqh,18px) + clamp(34px,4.6cqh,44px));transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:6px;width:max-content;max-width:calc(100% - 16px);pointer-events:none;transition:opacity .3s}
.ml-schips.is-up{bottom:calc(clamp(8px,1.8cqh,18px) + clamp(68px,9.2cqh,88px))}
.ml.has-bc .ml-schips{bottom:calc(clamp(8px,1.8cqh,18px) + clamp(98px,13.6cqh,136px))}
.ml-ov.is-take .ml-schips,.ml-schips.is-off{opacity:0}
.ml-schip{display:flex;align-items:baseline;justify-content:center;gap:10px;max-width:100%;margin:0;padding:6px 14px;border:1px solid rgba(150,185,255,.22);border-radius:999px;background:rgba(2,5,11,.78);font:500 clamp(11.5px,2.1cqh,15px)/1.3 var(--f-body,inherit);color:#dfe8f5;white-space:nowrap;overflow:hidden}
.ml-schip[hidden]{display:none}
.ml-schip b{font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.82em;color:#ffb454}
.ml-launchchip b{color:#cfdcf2}
.ml-schip .ml-sc-t{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ml-schip code{font:700 1.08em/1 var(--f-mono,ui-monospace,monospace);letter-spacing:.08em;color:#fff}
.ml-schip i{font-style:normal;font-variant-numeric:tabular-nums;color:#93a3ba}
@container mlov (max-width:620px){.ml-schips{bottom:8px}.ml-schips.is-up{bottom:44px}.ml-schip{flex-wrap:wrap;gap:1px 8px;padding:5px 12px;border-radius:14px;white-space:normal;text-align:center;font-size:11px}.ml-schip .ml-sc-t{overflow:visible;overflow-wrap:anywhere}}
.ml-seg.is-launch .ml-seg-k b{color:#cfdcf2}

/* ---- the Up Next line when it shows the calendar: a long title never pushes the bar */
.ml-onair.is-cal b{max-width:min(46ch,38vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ml-onair .ml-oa-next{min-width:0;overflow:hidden;text-overflow:ellipsis}

/* ---- the status line: the stream's own uptime */
.ml-status li[data-ml-streamup][hidden]{display:none}
.ml-status li[data-ml-streamup] b{font-variant-numeric:tabular-nums}

@media (prefers-reduced-motion:reduce){html:not(.obs) .ml .ml-view{transition:none}html:not(.obs) .ml.ml-dir-close .ml-view{transform:none}html:not(.obs) .ml.ml-v3 .ml-sound.is-on svg path{animation:none}}

/* ---- Live inside Telegram: the portrait composition (?obs=1&portrait=1). A 9:16 frame drawn 600 wide and scaled up to the stream
   (1080 by 1920), so every word stays readable on a phone. The feed's own narrow layout does most of the work; this trims it to one screen:
   the mind on top, its eight channels as two short rows, what just happened, $SI, and the five tokens in the bar. */
.ml.ml-portrait.is-fs.ml-fit .ml-in{width:600px!important;height:1066.67px!important}
/* the top: the name and what is on air, six numbers in one row, the five views and the clock */
.ml.ml-portrait.is-fs .ml-top{grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"brand badges" "stats stats" "acts acts"!important;align-items:center;gap:8px 12px!important;padding:12px 16px 6px!important}
.ml.ml-portrait.is-fs .ml-brand{grid-area:brand;gap:10px}
.ml.ml-portrait.is-fs .ml-brand>img{width:38px!important;height:38px!important}
.ml.ml-portrait.is-fs .ml-brand .ml-word img{height:20px!important;width:auto!important}
.ml.ml-portrait.is-fs .ml-brand small{display:none}
.ml.ml-portrait.is-fs .ml-badges{justify-content:flex-end;flex-wrap:wrap;gap:4px 10px}
.ml.ml-portrait.is-fs .ml-demo{font-size:8.5px!important;padding:3px 8px!important;letter-spacing:.08em!important}
.ml.ml-portrait.is-fs .ml-onair{flex:1 0 100%;flex-wrap:nowrap;justify-content:flex-end;gap:8px!important;padding:0!important;max-width:100%;min-width:0}
.ml.ml-portrait.is-fs .ml-onair b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px!important}
.ml.ml-portrait.is-fs .ml-onair .ml-oa-next{display:none!important}
.ml.ml-portrait.is-fs .ml-top>.ml-stats{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between;gap:0!important;padding:6px 0!important}
.ml.ml-portrait.is-fs .ml-stats li{flex:1 1 0!important;min-width:0;padding:0 2px!important;margin:0!important;text-align:center;white-space:normal}
.ml.ml-portrait.is-fs .ml-stats li[hidden]{display:none!important}
.ml.ml-portrait.is-fs .ml-stats b{font-size:15px!important}
.ml.ml-portrait.is-fs .ml-stats small{display:block;font-size:7.5px!important;letter-spacing:.05em!important;line-height:1.2!important}
.ml.ml-portrait.is-fs .ml-acts{flex-wrap:nowrap!important;gap:8px!important;padding-top:4px!important}
.ml.ml-portrait.is-fs .ml-views button{padding:8px 9px!important;font-size:10px!important;letter-spacing:.08em!important}
.ml.ml-portrait.is-fs .ml-tools>:not(.ml-clock){display:none!important}
.ml.ml-portrait.is-fs .ml-clock{font-size:11px!important;white-space:nowrap}
/* the middle: the mind, its eight channels as two short rows, and what just happened */
.ml.ml-portrait.is-fs .ml-main{display:flex!important;flex-direction:column;flex:1 1 0;min-height:0;gap:6px!important;padding:6px 12px!important;overflow:hidden}
.ml.ml-portrait.is-fs .ml-left{display:none!important}
.ml.ml-portrait.is-fs .ml-stage{flex:0 0 auto}
.ml.ml-portrait.is-fs .ml-view{height:356px!important}
.ml.ml-portrait.is-fs .ml-nodes{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px 8px!important;padding:6px 10px 8px!important}
.ml.ml-portrait.is-fs .ml-node{padding:6px 4px!important;min-width:0}
.ml.ml-portrait.is-fs .ml-node>small,.ml.ml-portrait.is-fs .ml-node .ml-d,.ml.ml-portrait.is-fs .ml-node .ml-heat,.ml.ml-portrait.is-fs .ml-node .ml-spark{display:none!important}
.ml.ml-portrait.is-fs .ml-node .ml-v{font-size:15px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.ml.ml-portrait.is-fs .ml-side{flex:1 1 0;min-height:0;height:auto!important}
.ml.ml-portrait.is-fs .ml-plan{display:none!important}
.ml.ml-portrait.is-fs .ml-side-h small,.ml.ml-portrait.is-fs .ml-side .ml-dist{display:none!important}
.ml.ml-portrait.is-fs .ml-side-h{padding:6px 12px 4px!important;min-height:0!important}
.ml.ml-portrait.is-fs .ml-thought{margin:4px 10px 6px!important;padding:6px 12px!important}
.ml.ml-portrait.is-fs .ml-thought p{font-size:13px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ml.ml-portrait.is-fs .ml-feed{gap:2px!important;padding:0 10px 6px!important}
.ml.ml-portrait.is-fs .ml-ev-head{padding-block:6px!important}
.ml.ml-portrait.is-fs .ml-bottom{display:none!important}
.ml.ml-portrait.is-fs .ml-feed,.ml.ml-portrait.is-fs .ml-log{overflow:hidden!important;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
/* Basic and Nerd stats: a shorter map, the words and the panes take the rest and fade out at the bottom edge */
.ml.ml-portrait.is-fs[data-view="basic"] .ml-view,.ml.ml-portrait.is-fs[data-view="nerd"] .ml-view{height:250px!important}
.ml.ml-portrait.is-fs .ml-basic,.ml.ml-portrait.is-fs .ml-nerd{flex:1 1 0!important;min-height:0!important;overflow:hidden!important;-webkit-mask-image:linear-gradient(180deg,#000 88%,transparent);mask-image:linear-gradient(180deg,#000 88%,transparent)}
.ml.ml-portrait.is-fs .ml-basic{gap:8px!important;padding:10px 14px!important}
.ml.ml-portrait.is-fs .mlb-tiles li{padding-block:8px!important}
/* a live question and a takeover share a small map: the question waits behind the takeover (its clock already stops for it) */
.ml.ml-portrait .ml-ov.is-take .ml-hot{opacity:0}
/* lead, Nov 27 preview: on the tall stream the answer to a live question was cut after its first line; the box now grows to hold it */
.ml.ml-portrait.is-fs .ml-hot{max-height:88cqh!important;gap:4px!important;padding:9px 14px!important}
.ml.ml-portrait.is-fs .ml-hot-k{font-size:9.5px!important;gap:4px 10px!important}
.ml.ml-portrait.is-fs .ml-hot-q{font-size:15px!important;line-height:1.3!important}
.ml.ml-portrait.is-fs .ml-hot-a{font-size:13px!important;line-height:1.42!important;gap:8px!important}
.ml.ml-portrait.is-fs .ml-hot-a b{font-size:10px!important}
/* the bar stacks: SI MIND's two channels, then the four communities */
.ml.ml-portrait.is-fs .ml-cta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px!important;padding:8px 14px!important;align-items:center}
.ml.ml-portrait.is-fs .ml-cta>a{grid-column:span 2;min-width:0;justify-content:center}
.ml.ml-portrait.is-fs .ml-cta>a .ml-cta-ic,.ml.ml-portrait.is-fs .ml-cta>a .ml-cta-ic svg{width:30px!important;height:30px!important;flex:0 0 30px}
.ml.ml-portrait.is-fs .ml-cta>a.ml-cta-x .ml-cta-ic svg{width:16px!important;height:16px!important}
.ml.ml-portrait.is-fs .ml-cta>a small{font-size:8.5px!important}
.ml.ml-portrait.is-fs .ml-cta>a b{font-size:15px!important}
.ml.ml-portrait.is-fs .ml-cta-si{display:flex!important;flex-direction:column;align-items:center;gap:3px!important;min-width:0;margin:0!important;padding:0!important;border:0!important;text-align:center}
.ml.ml-portrait.is-fs .ml-cta-si img{height:24px!important;width:auto!important;max-width:100%}
.ml.ml-portrait.is-fs .ml-cta-si small{display:none!important}
.ml.ml-portrait.is-fs .ml-cta-si b{font-size:9.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block}
.ml.ml-portrait.is-fs .ml-cta-site{display:none!important}
.ml.ml-portrait.is-fs .ml-status li[data-sci]{display:none!important}
.ml.ml-portrait.is-fs .ml-status{justify-content:center;gap:3px 14px!important;padding:6px 12px 8px!important;font-size:8.5px!important;letter-spacing:.1em!important}
