/* Original toy-character atlas. One image request, native CSS motion, no player. */
.prosto-character{
  --prosto-size:112px;
  position:relative;isolation:isolate;display:inline-block;flex:0 0 auto;
  width:var(--prosto-size);height:var(--prosto-size);overflow:hidden;
  vertical-align:bottom;pointer-events:none;transform-origin:50% 88%;
  animation:prosto-toy-greeting 1700ms cubic-bezier(.24,.75,.3,1) both;
}
.prosto-character>img{
  position:absolute;display:block;top:0;left:0;width:300%;height:100%;max-width:none;
  object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none;
}
.prosto-character[data-hero=sharik]>img{left:-100%}
.prosto-character[data-hero=fyodor]>img{left:-200%}
.prosto-character[data-hero=sharik]{animation-delay:90ms}
.prosto-character[data-hero=fyodor]{animation-delay:180ms}
@keyframes prosto-toy-greeting{
  0%{transform:translateY(3px) rotate(-1.4deg)}
  24%{transform:translateY(0) rotate(1.4deg)}
  48%{transform:translateY(-2px) rotate(-.8deg)}
  72%{transform:translateY(0) rotate(.5deg)}
  100%{transform:translateY(0) rotate(0)}
}

/* The squad belongs to the heading area, never above numeric cards or tables. */
.prosto-overview .prosto-squad{
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;
  gap:0 4px;width:100%;max-width:440px;min-width:0;min-height:145px;
  padding:5px 6px 7px;position:relative;isolation:isolate;
}
.prosto-squad::before{
  content:"";position:absolute;left:10%;right:10%;bottom:30px;height:76px;
  border-radius:50%;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse,rgba(105,176,226,.13),transparent 72%);
}
.prosto-squad-label{
  flex-basis:100%;margin:7px 0 0!important;text-align:center;
  font-size:10px!important;line-height:1.5!important;letter-spacing:.02em;
  color:var(--mac-secondary,#68788f);max-width:none!important;
}

.prosto-chapter{
  position:relative;isolation:isolate;display:flex;align-items:center;gap:15px;
  min-width:0;min-height:98px;padding:6px 19px;margin:0 0 19px;
  border-radius:21px;border:1px solid var(--mac-border,rgba(65,91,131,.14));
  background:linear-gradient(110deg,var(--mac-card,#fff),var(--mac-accent-soft,#e8f2ff));
  box-shadow:inset 0 1px 0 var(--mac-rim,#fff);overflow:hidden;
}
.prosto-chapter::after{
  content:"";position:absolute;right:20px;top:13px;width:66px;height:47px;
  background:radial-gradient(circle,rgba(65,142,200,.09) 4px,transparent 5px) 0 0/22px 22px;
  pointer-events:none;z-index:-1;
}
.prosto-chapter>.prosto-character{--prosto-size:88px}
.prosto-chapter-copy{position:relative;min-width:0;padding:4px 0;flex:1}
.prosto-chapter-copy>.eyebrow{
  color:var(--mac-accent,#0878cf);font-size:9px;letter-spacing:1.25px;
  line-height:1.4;margin:0 0 5px;font-weight:650;
}
.prosto-chapter-copy>strong{
  display:block;color:var(--mac-ink,#23334b);font-size:16px;line-height:1.4;
  font-weight:650;letter-spacing:-.3px;
}
.prosto-chapter-copy>p:not(.eyebrow){
  color:var(--mac-secondary,#68788f);font-size:12px;line-height:1.6;
  margin:5px 0 0;max-width:760px;
}
.prosto-loading{display:flex;align-items:center;justify-content:center;min-height:90px}
.prosto-loading>.prosto-character{--prosto-size:90px}
.empty-state.prosto-empty>.prosto-character{--prosto-size:86px;margin-bottom:7px}
.empty-state.prosto-empty>.icon{display:none}
.empty-state.prosto-empty>figure{margin:0 0 7px;line-height:0}
.empty-state.prosto-empty>figure>.prosto-character{--prosto-size:86px}

.hero-orbit.brand-hero-art.prosto-hero-art{
  position:relative;display:flex;align-items:flex-end;justify-content:center;
  width:260px;height:118px;gap:0;margin:0 0 0 14px;opacity:1;transform:none;
  flex-shrink:0;pointer-events:none;
}
.prosto-hero-art>.prosto-character{
  --prosto-size:90px;display:inline-block;width:var(--prosto-size);height:var(--prosto-size);
  margin:0;border:0;border-radius:0;background:none;box-shadow:none;
}
.prosto-hero-art>.prosto-character+.prosto-character{margin-left:-5px}
.prosto-motion-button{flex-shrink:0}
.prosto-motion-button[aria-pressed=true]{background:var(--mac-accent-soft);color:var(--mac-accent)}

:root[data-appearance=dark] .prosto-squad::before{
  background:radial-gradient(ellipse,rgba(127,191,235,.09),transparent 72%);
}
:root[data-appearance=dark] .prosto-chapter{
  background:linear-gradient(110deg,var(--mac-card,#202c3f),rgba(39,66,92,.65));
}
:root[data-appearance=dark] .prosto-chapter::after{
  background:radial-gradient(circle,rgba(155,204,239,.08) 4px,transparent 5px) 0 0/22px 22px;
}
@media(max-width:1250px){
  .prosto-overview .prosto-squad{gap:0;min-height:132px;padding:3px 0 5px}
  .prosto-squad>.prosto-character{--prosto-size:91px}
  .prosto-squad-label{font-size:9px!important}
}
@media(max-width:1050px) and (min-width:761px){
  .prosto-overview .prosto-squad{max-width:440px;min-height:121px;justify-content:flex-start}
  .prosto-squad>.prosto-character{--prosto-size:94px}
  .prosto-squad-label{text-align:left;padding-left:12px}
}
@media(max-width:760px){
  .prosto-overview .prosto-squad{max-width:350px;min-height:121px;margin:10px auto 0;padding:0;justify-content:center}
  .prosto-squad>.prosto-character{--prosto-size:90px}
  .prosto-squad-label{font-size:9px!important;margin-top:4px!important}
  .hero-orbit.brand-hero-art.prosto-hero-art{display:none}
}
@media(max-width:600px){
  .prosto-chapter{min-height:86px;gap:9px;padding:8px 11px;margin-bottom:15px;border-radius:17px}
  .prosto-chapter>.prosto-character{width:68px;height:68px}
  .prosto-chapter-copy>.eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:3px}
  .prosto-chapter-copy>strong{font-size:13px;line-height:1.35;letter-spacing:-.15px}
  .prosto-chapter-copy>p:not(.eyebrow){
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    overflow:hidden;font-size:10px;line-height:1.45;margin-top:4px;
  }
  .prosto-chapter::after{right:6px;top:6px;opacity:.5}
}
@media(max-width:380px){
  .prosto-squad>.prosto-character{--prosto-size:80px}
  .prosto-overview .prosto-squad{min-height:111px}
  .prosto-squad-label{font-size:8px!important;letter-spacing:0}
  .prosto-chapter{gap:6px;padding:8px}
  .prosto-chapter>.prosto-character{width:61px;height:61px}
  .prosto-chapter-copy>strong{font-size:12px}
}
/* Pause affects presentation only; captions, controls and measured values stay. */
:root[data-character-motion=paused] .prosto-character,
:root[data-character-motion=paused] .prosto-character>img{
  animation:none!important;transition:none!important;transform:none!important;opacity:1!important;
}
@media(prefers-reduced-motion:reduce){
  .prosto-character,.prosto-character>img{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}
}
@media(prefers-reduced-transparency:reduce){
  .prosto-chapter{background:var(--mac-card,#fff)}
  .prosto-squad::before,.prosto-chapter::after{display:none}
}
@media(forced-colors:active){
  .prosto-character,.prosto-squad::before,.prosto-chapter::after{display:none!important}
  .prosto-chapter{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none;min-height:0;padding:13px}
  .prosto-chapter-copy>.eyebrow,.prosto-chapter-copy>strong,.prosto-chapter-copy>p:not(.eyebrow){color:CanvasText}
  .prosto-overview .prosto-squad{min-height:0;padding:0}
}
@media print{
  .prosto-character,.prosto-squad::before,.prosto-chapter::after,.prosto-motion-button{display:none!important}
  .prosto-chapter{background:#fff;box-shadow:none;min-height:0;padding:10px;border:1px solid #ccc;break-inside:avoid}
  .prosto-overview .prosto-squad{min-height:0;padding:0}
  .prosto-squad-label,.prosto-chapter-copy>.eyebrow,.prosto-chapter-copy>strong,.prosto-chapter-copy>p:not(.eyebrow){color:#222}
}

/* A reserved decorative plot-header stage: no absolute positioning outside
   this box, no event capture, and no fabricated metric text. Three actors use
   the same atlas and take separate ten-second turns in a thirty-second loop. */
.overview-intro.brand-overview-intro.prosto-overview-game{
  grid-template-columns:1fr;min-height:0;margin-top:18px;margin-bottom:22px;
}
.cp-company-pulse>.section-heading.prosto-game-heading{
  display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:center;
  column-gap:22px;row-gap:0;min-height:145px;
}
.prosto-game-heading>div:first-child{grid-column:1;grid-row:1;align-self:end;min-width:0}
.prosto-game-heading>.badge{grid-column:1;grid-row:2;align-self:start;justify-self:start;margin-top:8px}
.prosto-game-heading>.prosto-game{grid-column:2;grid-row:1/3}
.prosto-game{width:100%;min-width:0;max-width:320px;justify-self:end;pointer-events:none}
.prosto-peek-stage{--prosto-floor:16px;position:relative;isolation:isolate;height:152px;width:100%;overflow:hidden;pointer-events:none;contain:layout paint}
/* The foreground hay and the fixed actor viewport share one ground plane.
   Only the actor viewport clips: neither a body nor a foot can cross the floor. */
.prosto-actor-field{position:absolute;inset:0 0 var(--prosto-floor);overflow:hidden;z-index:2;pointer-events:none}
.prosto-peek-stage::before{content:"";position:absolute;z-index:1;left:50%;bottom:11px;width:216px;height:10px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,#768b4338,transparent 72%);pointer-events:none}
.prosto-peek-stage::after{content:"";position:absolute;z-index:1;left:50%;bottom:var(--prosto-floor);width:216px;height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#8e805a85 25%,#8e805a85 75%,transparent);pointer-events:none}
.prosto-peek-actor{
  --peek-delay:0s;position:absolute;left:50%;bottom:0;margin-left:-65px;
  width:130px;height:100%;opacity:0;z-index:2;
  transform:scaleY(.58);transform-origin:50% 100%;
  animation:prosto-peek-turn 30s ease-in-out var(--peek-delay) infinite both;
}
.prosto-peek-actor[data-hero=sharik]{--peek-delay:10s}
.prosto-peek-actor[data-hero=fyodor]{--peek-delay:20s}
.prosto-peek-actor[data-turn="0"]{--peek-delay:0s}
.prosto-peek-actor[data-turn="1"]{--peek-delay:10s}
.prosto-peek-actor[data-turn="2"]{--peek-delay:20s}
.prosto-peek-actor>.prosto-character{
  position:absolute;bottom:-16px;left:0;display:block;width:100%;height:130px;
  animation:none;transform:none;margin:0;
}
.prosto-peek-speech{
  position:absolute;left:50%;top:3px;width:204px;margin-left:-102px;
  display:block;box-sizing:border-box;padding:7px 9px;border-radius:12px;
  background:var(--mac-glass-strong,#fff);border:1px solid var(--mac-border,#dfe7ef);
  box-shadow:0 4px 13px -10px rgba(27,57,91,.28);color:var(--mac-ink,#23334b);
  font-size:10px;line-height:1.4;text-align:center;white-space:normal;z-index:4;
  opacity:0;animation:prosto-peek-words 30s ease var(--peek-delay) infinite both;
}
.prosto-peek-speech::after{
  content:"";position:absolute;bottom:-4px;left:50%;width:7px;height:7px;
  margin-left:-3px;background:var(--mac-glass-strong,#fff);transform:rotate(45deg);
  border-right:1px solid var(--mac-border,#dfe7ef);border-bottom:1px solid var(--mac-border,#dfe7ef);
}
.prosto-peek-cover{
  position:absolute;z-index:3;left:50%;right:auto;bottom:0;width:150px;height:100px;
  margin-left:-75px;border:0;border-radius:0;background:none;box-shadow:none;
}
.prosto-peek-cover::before,.prosto-peek-cover::after{content:none}
.prosto-peek-cover-tab,.prosto-peek-cover-studs{display:none}
.prosto-peek-cover>img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.prosto-game-label{
  margin:6px 0 0!important;text-align:center;font-size:9px!important;
  line-height:1.5!important;color:var(--mac-secondary,#68788f);max-width:none!important;
}
.prosto-game-dock{
  display:flex;align-items:center;width:100%;min-width:0;min-height:174px;
  box-sizing:border-box;margin:3px 0 17px;padding:0 8px;pointer-events:none;
}
.prosto-game-dock-start{justify-content:flex-start}
.prosto-game-dock-center{justify-content:center}
.prosto-game-dock-end{justify-content:flex-end}
.prosto-game-dock>.prosto-game{flex:0 1 270px;max-width:270px}
.prosto-chapter.prosto-chapter-hay{
  display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;
  padding:9px 18px;min-height:0;
}
.prosto-chapter-hay>.prosto-chapter-copy{grid-column:1;grid-row:1}
.prosto-chapter-hay>.prosto-game{grid-column:2;grid-row:1;justify-self:end}
.prosto-chapter-hay::after{display:none}
.prosto-squad.prosto-squad-hay{max-width:320px;min-height:0;padding:0}
.prosto-squad-hay::before{display:none}
@keyframes prosto-peek-turn{
  0%,3%{opacity:0;transform:scaleY(.58) rotate(-2deg)}
  6%,9%{opacity:1;transform:scaleY(1) rotate(-1.4deg)}
  13%,18%{opacity:1;transform:scaleY(1) rotate(1.1deg)}
  21%{opacity:1;transform:scaleY(.92) rotate(-.6deg)}
  24%,100%{opacity:0;transform:scaleY(.58) rotate(-2deg)}
}
@keyframes prosto-peek-words{
  0%,8%{opacity:0;transform:translateY(4px)}
  10%,18%{opacity:1;transform:translateY(0)}
  21%,100%{opacity:0;transform:translateY(4px)}
}
:root[data-appearance=dark] .prosto-peek-cover{background:none;box-shadow:none}
:root[data-appearance=dark] .prosto-peek-stage::before{background:radial-gradient(ellipse,#85996345,transparent 72%)}
:root[data-appearance=dark] .prosto-peek-stage::after{background:linear-gradient(90deg,transparent,#b1a57785 25%,#b1a57785 75%,transparent)}
/* Hidden tabs stop the compositor clocks without creating timer jobs. */
:root[data-character-page=hidden] .prosto-character,
:root[data-character-page=hidden] .prosto-peek-actor,
:root[data-character-page=hidden] .prosto-peek-speech{animation-play-state:paused!important}
/* Calm mode displays three quiet toys instead of frozen, clipped intermediates. */
:root[data-character-motion=paused] .prosto-peek-actor{
  animation:none!important;opacity:1;transform:none;left:0;margin-left:0;width:33.333333%;
}
:root[data-character-motion=paused] .prosto-peek-actor:nth-child(2){left:33.333333%}
:root[data-character-motion=paused] .prosto-peek-actor:nth-child(3){left:66.666667%}
:root[data-character-motion=paused] .prosto-peek-actor>.prosto-character{height:auto;aspect-ratio:1;bottom:-12px}
:root[data-character-motion=paused] .prosto-peek-speech{display:none;animation:none!important}
@media(max-width:1100px){
  .cp-company-pulse>.section-heading.prosto-game-heading{grid-template-columns:minmax(0,1fr) 235px;column-gap:12px}
  .prosto-peek-speech{width:198px;margin-left:-99px;font-size:9px}
}
@media(max-width:760px){
  .cp-company-pulse>.section-heading.prosto-game-heading{grid-template-columns:1fr;row-gap:8px}
  .prosto-game-heading>div:first-child{grid-column:1;grid-row:1}
  .prosto-game-heading>.badge{grid-column:1;grid-row:2;margin-top:0}
  .prosto-game-heading>.prosto-game{grid-column:1;grid-row:3;justify-self:center;max-width:290px}
  .prosto-game-label{font-size:8px!important}
  .prosto-chapter.prosto-chapter-hay{grid-template-columns:1fr;gap:5px;padding:14px 14px 9px}
  .prosto-chapter-hay>.prosto-chapter-copy{grid-column:1;grid-row:1}
  .prosto-chapter-hay>.prosto-game{grid-column:1;grid-row:2;justify-self:center;max-width:270px}
  .prosto-game-dock{min-height:170px;padding:0 3px;margin-bottom:13px}
}
@media(prefers-reduced-motion:reduce){
  .prosto-peek-actor{animation:none!important;opacity:1;transform:none;left:0;margin-left:0;width:33.333333%}
  .prosto-peek-actor:nth-child(2){left:33.333333%}.prosto-peek-actor:nth-child(3){left:66.666667%}
  .prosto-peek-actor>.prosto-character{height:auto;aspect-ratio:1;bottom:-12px}
  .prosto-peek-speech{display:none;animation:none!important}
}
@media(prefers-reduced-transparency:reduce){
  .prosto-peek-cover{background:none}.prosto-peek-speech{background:var(--mac-card,#fff)}
  :root[data-appearance=dark] .prosto-peek-cover{background:none}
}
@media(forced-colors:active){
  .prosto-game{display:none!important}.cp-company-pulse>.section-heading.prosto-game-heading{display:flex;min-height:0}
  .prosto-game-dock{display:none!important}.prosto-chapter.prosto-chapter-hay{display:block}
}
@media print{
  .prosto-game{display:none!important}.cp-company-pulse>.section-heading.prosto-game-heading{display:flex;min-height:0}
  .prosto-game-dock{display:none!important}.prosto-chapter.prosto-chapter-hay{display:block}
}
