/* R40 stationen – the three tasks on the start page: props, the big pictures, the cards under the portrait.
   (Moved here from site-r34.css §18 and reworked.) */

/* ---------- the prop of each station (speaker · padlock · laptop) */
.st-prop{display:flex;align-items:center;gap:14px;width:fit-content;max-width:100%;margin:18px 0 6px;padding:10px 16px 10px 12px;border:1.5px dashed rgba(29,45,43,.28);border-radius:14px;background:rgba(255,255,253,.6);font:inherit;color:inherit;text-align:left;cursor:pointer;transition:border-color .4s,background .4s,box-shadow .4s}
.st-prop:hover{border-color:rgba(29,45,43,.5)}
.st-prop:focus-visible{outline:2px solid #304ee7;outline-offset:3px}
.st-prop i{flex:none;display:grid;place-items:center;width:64px;height:44px}
.st-prop.st-prop-prozess i{width:76px;height:52px;margin:-4px 0}
.st-prop svg,.day-prop svg{width:100%;height:100%;fill:none;stroke:#1f3136;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.st-prop b{font-size:14px;font-weight:700;color:#44524f}
.st-prop:not(.is-done) b::after{content:" ↗";color:#304ee7;font-weight:800}
/* R42: sound is back (right speaker + test tone) – green already, the ticket is still to be closed */
.st-prop.is-ok{border-style:solid;border-color:rgba(47,143,78,.55);background:rgba(232,245,236,.75)}
.st-prop.is-ok b{color:#1f6b3a}
.st-prop.is-ok:not(.is-done) b::after{content:none}
.st-prop.is-ok svg{stroke:#1f6b3a}
.st-prop.is-ok .sp-x{opacity:0}
.st-prop.is-ok .sp-w path{opacity:1}
.st-prop.is-done{border-style:solid;border-color:rgba(47,143,78,.55);background:rgba(232,245,236,.75)}
.st-prop.is-done b{color:#1f6b3a}
.st-prop.is-done svg{stroke:#1f6b3a}
.st-prop.is-glow{box-shadow:0 0 0 6px rgba(47,143,78,.16),0 14px 30px -16px rgba(47,143,78,.6)}
.st-prop.is-poke i{animation:sp-poke .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes sp-poke{40%{rotate:-7deg;scale:1.08}70%{rotate:4deg}}
.sp-w path{opacity:0;transition:opacity .3s}
.sp-x{transition:opacity .25s}
:is(.st-prop,.day-overview a).is-done .sp-x{opacity:0}
:is(.st-prop,.day-overview a).is-done .sp-w path{opacity:1}
:is(.st-prop,.day-overview a).is-done .sp-w path:nth-child(2){transition-delay:.12s}
:is(.st-prop,.day-overview a).is-done .sp-w path:nth-child(3){transition-delay:.24s}
@media (prefers-reduced-motion:no-preference){.st-prop.is-done .sp-w path{animation:sp-wave 2.4s ease-in-out infinite}.st-prop.is-done .sp-w path:nth-child(2){animation-delay:.2s}.st-prop.is-done .sp-w path:nth-child(3){animation-delay:.4s}}
@keyframes sp-wave{0%,100%{opacity:1}50%{opacity:.35}}
.sp-sh{transform-box:fill-box;transform-origin:100% 100%;transition:transform .5s cubic-bezier(.3,1.5,.5,1)}
:is(.st-prop,.day-overview a).is-done .sp-sh{transform:rotate(38deg) translateY(-2px)}
.station-process .scene-after .close-laptop{display:none}

/* the laptop (inline sketch; the lid is redrawn by the script while it closes) */
.st-prop svg.lp,.day-prop svg.lp{stroke-width:1.5}
svg.lp .lp-deck{fill:#f4f1e8}
svg.lp .lp-front{fill:#d9d4c6}
svg.lp .lp-keys{stroke-width:1.1;opacity:.55}
svg.lp .lp-lid{fill:#fbfaf6}
svg.lp .lp-lid.is-back{fill:#e8e4d8}
svg.lp .lp-screen{fill:#e8eef5;stroke-width:1}
svg.lp .lp-rows{stroke-width:1.05}
svg.lp .lp-mark{fill:rgba(48,78,231,.14);stroke:none}
svg.lp .lp-head{stroke-width:1.6}
svg.lp .lp-ticks{stroke:#2f8f4e;stroke-width:1.2}
.st-prop.is-done svg.lp .lp-ticks,.day-overview a.is-done svg.lp .lp-ticks{stroke:#2f8f4e}
svg.lp.is-shut{animation:lp-settle .22s ease-out}
@keyframes lp-settle{40%{translate:0 .6px}}
/* R43 medien: one box with the film's aspect ratio, centred in the slot; picture and film fill exactly this box */
.lp-pic{position:relative;display:block;width:auto;height:100%;max-width:100%;aspect-ratio:var(--lp-ar,360 / 310);margin:0 auto}
.lp-pic img,.lp-pic canvas{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:50% 50%;margin:0;padding:0;border:0}
html[data-read=on] :is(.st-prop,.day-prop) *,html.motion-paused :is(.st-prop,.day-prop) *{animation:none!important;transition:none!important}

/* the same props on the three cards under the portrait */
.day-overview a{position:relative}
.day-prop{position:absolute;right:46px;top:16px;width:34px;height:24px;opacity:.5;transition:opacity .3s}
.day-prop.st-prop-prozess{width:38px;height:26px;top:14px}
.day-prop svg{stroke-width:2.6}
.day-overview a:hover .day-prop{opacity:.95}
.day-overview a.is-done .day-prop{opacity:1}
.day-overview a.is-done .day-prop svg{stroke:#1f6b3a}
.day-overview a.is-done i{color:#1f6b3a}
@media (max-width:760px){.day-prop{right:56px;top:50%;translate:0 -50%}.day-prop.st-prop-prozess{top:50%}}

/* ---------- 01: the meeting. A has its own colour from the start and is the one who speaks */
.call-avatar.cs-host{background:#304ee7;color:#fff}
.call-avatar.cs-host::after{opacity:.18}
.cs-host .cs-slide,.cs-host .cs-badge{display:none}
.cs-letter{font:inherit}
.sound-state.is-ok{color:#1f6b3a!important;background:rgba(47,143,78,.14)!important}
/* as soon as the sound works: A becomes the big tile and shares a slide; B and C stay beside it (R41: the same three as in the game) */
.call-grid.is-share{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:repeat(2,50px);gap:6px;padding:12px 10px 8px;justify-content:stretch}
.call-grid.is-share .call-avatar{width:auto;height:auto;min-width:0;font-size:15px;transition:box-shadow .3s}
.call-grid.is-share .call-avatar.is-react{box-shadow:0 0 0 2px #2f8f4e}
.call-avatar.is-new{background:hsl(var(--h,200) 32% 86%);color:hsl(var(--h,200) 26% 44%);animation:call-join .5s cubic-bezier(.3,1.5,.5,1) both}
@keyframes call-join{from{scale:.3;opacity:0}}
.call-grid.is-share .cs-host{grid-column:1;grid-row:1/3;display:block;background:#fffdf8;color:#1f3136;box-shadow:0 0 0 2px #304ee7;container-type:size;animation:cs-grow .55s cubic-bezier(.3,1.3,.5,1) both}
@keyframes cs-grow{from{scale:.6;opacity:.4}}
.call-grid.is-share .cs-host::after,.call-grid.is-share .cs-letter{display:none}
.call-grid.is-share .cs-host .cs-slide,.call-grid.is-share .cs-host .cs-badge{display:flex}
.cs-slide{position:absolute;inset:0;flex-direction:column;gap:4cqmin;padding:8cqmin 8cqmin 22cqmin;text-align:left;font-family:Manrope,system-ui,sans-serif;background:linear-gradient(#fffdf8,#fffdf8) padding-box,repeating-linear-gradient(0deg,transparent 0 11cqmin,rgba(48,78,231,.05) 11cqmin 12cqmin)}
.cs-slide>b{font-size:max(8px,10.5cqmin);font-weight:800;letter-spacing:-.01em;line-height:1.1;color:#1f3136;border-bottom:1.5px solid #304ee7;padding-bottom:2cqmin;width:fit-content}
.cs-rows{display:flex;flex-direction:column;gap:3.5cqmin}
.cs-row{display:flex;align-items:center;gap:4cqmin;font-size:max(6.5px,8.2cqmin);font-weight:600;line-height:1.15;color:#3d4c4f;white-space:nowrap;overflow:hidden}
.cs-row span{overflow:hidden;text-overflow:ellipsis}
.cs-row i{flex:none;position:relative;width:7.5cqmin;height:7.5cqmin;min-width:6px;min-height:6px;border:1.2px solid #1f3136;border-radius:1.5px}
.cs-row.is-ok i::after{content:"";position:absolute;left:18%;top:-30%;width:45%;height:80%;border:solid #2f8f4e;border-width:0 1.6px 1.6px 0;rotate:40deg}
.cs-row.is-ok span{color:#1f3136}
.cs-page{position:absolute;right:6cqmin;top:7cqmin;font-size:max(6px,6.5cqmin);font-weight:700;color:#8a9597}
.cs-slide.is-turn{animation:cs-turn .5s cubic-bezier(.3,.9,.4,1)}
@keyframes cs-turn{0%{clip-path:inset(0 0 0 100%)}100%{clip-path:inset(0 0 0 0)}}
.cs-badge{position:absolute;left:5cqmin;bottom:5cqmin;align-items:center;gap:4px;font:700 max(7px,7.5cqmin)/1 Manrope,system-ui,sans-serif;color:#304ee7}
.cs-badge i{position:relative;display:grid;place-items:center;width:max(14px,15cqmin);height:max(14px,15cqmin);border-radius:50%;background:#304ee7;color:#fff;font-style:normal;font-weight:800}
.cs-badge i::before{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid #304ee7;opacity:.5}
@media (prefers-reduced-motion:no-preference){html:not([data-read=on]):not(.motion-paused) .cs-badge i::before{animation:cs-level 1.1s ease-out infinite}}
@keyframes cs-level{0%{scale:1;opacity:.65}100%{scale:1.7;opacity:0}}
.cs-badge em{font-style:normal;padding:2px 4px;border-radius:3px;background:rgba(255,253,248,.92)}
/* the caption line under the tiles */
.cs-caption{display:flex;align-items:flex-start;gap:7px;min-height:calc(2 * 1.35em + 10px);margin:0 10px 8px;padding:5px 8px;border-radius:5px;background:#1f3136;color:#f4f6f2;font:600 11.5px/1.35 Manrope,system-ui,sans-serif}
.cs-caption[hidden]{display:none}
.cs-caption>b{flex:none;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#304ee7;color:#fff;font-size:10px;font-weight:800;margin-top:-1px}
.cs-say{flex:1;min-width:0}
.cs-cc{flex:none;align-self:flex-end;padding:1px 4px;border:1px solid rgba(244,246,242,.4);border-radius:3px;font-size:8.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:rgba(244,246,242,.75)}
.cs-caption.is-muted .cs-cc{max-width:42%;white-space:normal;text-transform:none;letter-spacing:0;font-size:9.5px;color:#fff;border-color:rgba(255,255,255,.7)}
@media (max-width:420px){.call-grid.is-share{grid-template-rows:repeat(2,44px);gap:5px;padding:10px 8px 7px}.call-grid.is-share .call-avatar{font-size:12px}.cs-caption{font-size:10.5px;margin:0 8px 7px}}
html[data-read=on] :is(.cs-host,.cs-slide,.call-avatar),html.motion-paused :is(.cs-host,.cs-slide,.call-avatar){animation:none!important}
@media (prefers-reduced-motion:reduce){:is(.cs-host,.cs-slide,.call-avatar,.trail-node,svg.lp){animation:none!important}}
/* dark mode: the screen of the meeting keeps its real colours (like a picture), the self view is a picture anyway */
html[data-theme=dark] .station-tech :is(.monitor-frame,.monitor-stand),html[data-theme=dark] svg.lp{filter:invert(1) hue-rotate(180deg)}
html[data-theme=dark] .station-tech .monitor-frame :is(img,video,canvas){filter:none}

/* ---------- 02: the trail is cleared – "Identität geprüft" as soon as it is, "Konto frei" at the end */
.trail-node.is-fresh{animation:trail-ok .6s cubic-bezier(.3,1.5,.5,1)}
@keyframes trail-ok{from{scale:.85}50%{scale:1.08}}
.trail-line.is-done{opacity:1;background:#2f8f4e}
html[data-read=on] .trail-node,html.motion-paused .trail-node{animation:none!important}

/* ---------- 03: the board is handed over */
.board-handed{margin-left:auto;padding:4px 10px;border:1.5px solid #1f6b3a;border-radius:6px;font:800 11px/1 Manrope,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#1f6b3a;rotate:-3deg;animation:jp-slap .5s cubic-bezier(.2,1.5,.4,1) both}
html[data-read=on] .board-handed,html.motion-paused .board-handed{animation:none}

/* "Leichter lesen" colours all text in main dark and enlarges paragraphs – the screen of the meeting keeps its own colours */
html .station-tech :is(.cs-say,.cs-caption>b){color:#f4f6f2!important}
html .station-tech .cs-cc{color:rgba(244,246,242,.8)!important}
html .station-tech .cs-caption.is-muted .cs-cc{color:#fff!important}
html .station-tech .cs-row span{color:#3d4c4f!important}
html .station-tech .cs-row.is-ok span{color:#1f3136!important}
html .station-tech .cs-page{color:#8a9597!important}
html .station-tech .cs-badge em{color:#304ee7!important}

