/* /compare/hyros/ only: the camera viewfinder (hero: Hyros's zoom on the ads, Skald's wide shot)
   and the four glasses (02: one sale poured by attribution model). Prefix chy-. */

/* hero: viewfinder */
.chy-vf{border-radius:10px;background:var(--sk-deep);border:1px solid var(--sk-line-2);overflow:hidden}
.chy-bar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.6rem .8rem;border-bottom:1px solid var(--sk-line);font:500 .66rem var(--sk-mono);color:var(--sk-text-3)}
.chy-rec{display:inline-block;width:.5rem;height:.5rem;margin-right:.45rem;border-radius:50%;background:#e5484d;vertical-align:.05rem;animation:chyRec 1.6s steps(2,end) infinite}
@keyframes chyRec{50%{opacity:.15}}
.chy-btn{flex:none;padding:.2rem .55rem;border:1px solid var(--sk-line-2);border-radius:6px;background:var(--sk-ink-2);color:var(--sk-text-2);font:600 .62rem var(--sk-mono);cursor:pointer}
.chy-ctl{margin:.8rem .8rem 0;flex-wrap:wrap}
.chy-ctl .seg{padding:.5rem .7rem;font-size:.8rem}
.chy-scene{position:relative;margin:.8rem;padding:1.1rem .9rem;border-radius:8px;background:radial-gradient(120% 100% at 50% 40%,#16222d,#0a1016 75%);overflow:hidden}
.chy-frame{position:absolute;inset:.45rem;pointer-events:none;transition:inset .8s cubic-bezier(.45,.1,.2,1);
  background:linear-gradient(#eef2f5,#eef2f5) 0 0/1.1rem 2px,linear-gradient(#eef2f5,#eef2f5) 0 0/2px 1.1rem,
  linear-gradient(#eef2f5,#eef2f5) 100% 0/1.1rem 2px,linear-gradient(#eef2f5,#eef2f5) 100% 0/2px 1.1rem,
  linear-gradient(#eef2f5,#eef2f5) 0 100%/1.1rem 2px,linear-gradient(#eef2f5,#eef2f5) 0 100%/2px 1.1rem,
  linear-gradient(#eef2f5,#eef2f5) 100% 100%/1.1rem 2px,linear-gradient(#eef2f5,#eef2f5) 100% 100%/2px 1.1rem;background-repeat:no-repeat;opacity:.55;animation:chyFocus 3.2s ease-in-out infinite}
@keyframes chyFocus{50%{opacity:.25}}
.chy-scene[data-state="zoom"] .chy-frame{inset:.45rem .45rem 72% .45rem;opacity:.9}
.chy-tiles{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0;padding:0;list-style:none}
.chy-t{padding:.55rem .6rem;border-radius:6px;background:#121c26;border:1px solid #2b3a48;transition:opacity .6s,filter .6s,transform .6s,border-color .6s}
.chy-t b{display:block;font:600 .78rem var(--sk-sans);color:#ffffff}
.chy-t code{display:block;margin:.15rem 0 .3rem;font-size:.64rem;color:var(--sk-text-3);overflow-wrap:anywhere}
.chy-t small{display:block;font:500 .66rem/1.4 var(--sk-mono)}
.chy-h{color:#f2c55c}.chy-s{color:var(--sk-people-t)}
.chy-h::before{content:"Hyros · ";font-weight:700}.chy-s::before{content:"Skald · ";font-weight:700}
.chy-scene[data-state="zoom"] .chy-s,.chy-scene[data-state="wide"] .chy-h{display:none}
.chy-scene[data-state="zoom"] .chy-ad{border-color:#f2c55c;transform:scale(1.03)}
.chy-scene[data-state="zoom"] .chy-org{opacity:.55;filter:blur(.6px)}
.chy-scene[data-state="zoom"] .chy-bot{opacity:.3;filter:blur(1.4px) grayscale(1)}
.chy-scene[data-state="wide"] .chy-bot{border-color:rgba(235,104,52,.55)}
.chy-scene[data-state="both"] .chy-t small+small{margin-top:.2rem}
.chy-say{margin:0 .8rem .9rem;font-size:.84rem;line-height:1.5;color:var(--sk-text-2);min-height:5rem}
.chy-vf.paused .chy-rec,.chy-vf.paused .chy-frame{animation-play-state:paused}
@media (max-width:560px){.chy-ctl .seg{padding:.45rem .5rem;font-size:.7rem}.chy-tiles{gap:.4rem}.chy-t{padding:.45rem}.chy-t b{font-size:.72rem}.chy-t small{font-size:.6rem}.chy-say{min-height:7rem}}
@media (prefers-reduced-motion:reduce){.chy-rec,.chy-frame{animation:none}.chy-t,.chy-frame{transition:none}}

/* 02: four glasses */
.chy-glw{margin-top:1.6rem}
.chy-gls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:0;padding:0;list-style:none}
.chy-g{display:flex;flex-direction:column;align-items:center;text-align:center}
.chy-cup{position:relative;display:block;width:4.6rem;height:7rem;border:2px solid #9fb0bf;border-top:0;border-radius:0 0 1rem 1rem;clip-path:polygon(0 0,100% 0,88% 100%,12% 100%);background:rgba(255,255,255,.04);overflow:hidden}
.chy-cup i{position:absolute;left:0;right:0;bottom:0;height:0;background:linear-gradient(180deg,color-mix(in srgb,var(--c) 70%,#ffffff),var(--c));transition:height .9s cubic-bezier(.45,.1,.2,1)}
.chy-cup i::before{content:"";position:absolute;left:0;right:0;top:0;height:.3rem;background:rgba(255,255,255,.35)}
.chy-g b{margin-top:.55rem;font:700 1.35rem var(--sk-disp);color:#ffffff}
.chy-g strong{margin-top:.2rem;font-size:.92rem;color:var(--sk-text)}
.chy-g small{font-size:.76rem;color:var(--sk-text-3)}
.chy-glw[data-state="first"] .chy-g:nth-child(1) i,.chy-glw[data-state="last"] .chy-g:nth-child(4) i,
.chy-glw[data-state="skald"] .chy-g:nth-child(1) i,.chy-glw[data-state="skald"] .chy-g:nth-child(4) i{height:100%}
.chy-glw[data-state="linear"] .chy-g i{height:25%}
.chy-glw[data-state="ushape"] .chy-g:nth-child(1) i,.chy-glw[data-state="ushape"] .chy-g:nth-child(4) i{height:40%}
.chy-glw[data-state="ushape"] .chy-g:nth-child(2) i,.chy-glw[data-state="ushape"] .chy-g:nth-child(3) i{height:10%}
.chy-glw[data-state="skald"] .chy-g:nth-child(2) i,.chy-glw[data-state="skald"] .chy-g:nth-child(3) i{height:100%;background:repeating-linear-gradient(135deg,var(--c) 0 6px,transparent 6px 12px);opacity:.7}
.chy-glw[data-state="skald"] .chy-g b{font-size:.95rem;font-family:var(--sk-mono)}
.chy-who{margin:1.4rem 0 0;font:500 .78rem var(--sk-mono);color:var(--sk-text-3)}
.chy-who b{color:var(--sk-ai)}
.chy-gsay{margin:.4rem 0 0;max-width:46rem;font-size:.98rem;line-height:1.55;color:var(--sk-text);min-height:3.2rem}
.chy-rule{max-width:52rem;margin:1.8rem 0 0;padding:.8rem 1rem;border-left:3px solid var(--sk-ai);font-size:.98rem;line-height:1.55;color:var(--sk-text-2)}
@media (max-width:640px){.chy-gls{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.4rem}.chy-gsay{min-height:5.6rem}}
@media (prefers-reduced-motion:reduce){.chy-cup i{transition:none}}
