.s-eye__top {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 24px 64px;
    margin-bottom: 48px;
}

.s-eye__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--ink-3);
    font-size: 14px;
    font-weight: 500;
}

.s-eye__kicker svg { width: 18px; height: 18px; color: #00cfff; }

.s-eye__kicker b {
    background: linear-gradient(90deg, #00cfff, #4d7dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.s-eye__kicker span::before { margin-right: 8px; content: "·"; }

.s-eye h2 {
    max-width: 24ch;
    margin-top: 14px;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
    text-wrap: balance;
}

.s-eye__lead p {
    max-width: 52ch;
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    text-wrap: pretty;
}

.s-eye__lead .s-link { margin-top: 22px; }

.s-eye__stage {
    --eye-t: 9s;
    --eye-cx: -190px;
    --eye-cy: 150px;
    position: relative;
}

.s-eye__screen {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0b0b0c;
}

.s-eye__game {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}

.s-eye__screen::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .5) 100%),
        radial-gradient(120% 90% at 45% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45) 100%);
    content: "";
    pointer-events: none;
}

.s-eye__tag {
    position: absolute;
    z-index: 1;
    top: 39.5%;
    left: 50%;
    display: grid;
    justify-items: center;
    color: #a9c6ea;
    font-family: Satoshi, "Inter", sans-serif;
    font-size: clamp(11px, 1.15vw, 16px);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    text-shadow: 0 0 2px #000, 0 1px 2px rgba(0, 0, 0, .9);
    transform: translate(-50%, -50%);
}

.s-eye__tag b { font-weight: 500; }

.s-eye__tag::before {
    position: absolute;
    inset: -7px -12px;
    border: 1px solid rgba(0, 207, 255, .6);
    border-radius: 7px;
    content: "";
}

.s-eye__scan {
    position: absolute;
    right: -12px;
    bottom: -9px;
    left: -12px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #00cfff, #0047ff);
    transform-origin: left center;
}

.s-eye__cursor {
    position: absolute;
    z-index: 2;
    top: 43%;
    left: 53%;
    width: clamp(16px, 1.6vw, 24px);
    height: auto;
    fill: #fff;
    stroke: #000;
    stroke-width: 1.3;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55));
}

.s-eye__keys {
    position: absolute;
    z-index: 1;
    bottom: 6%;
    left: 3%;
    display: flex;
    align-items: center;
    gap: 6px;
}

.s-eye__keys kbd {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-bottom-width: 3px;
    border-radius: 8px;
    padding: 0 10px;
    background: rgba(12, 12, 14, .86);
    color: #f4f4f5;
    font-family: Satoshi, "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.s-eye__keys i { color: rgba(255, 255, 255, .6); font-size: 13px; font-style: normal; }

.s-eye__keys small {
    margin-left: 10px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, .6);
    color: #5fd8ff;
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

.s-eye__float {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 3.2%;
    pointer-events: none;
}

.eye-card {
    display: grid;
    gap: 12px;
    width: clamp(330px, 31%, 410px);
    border: 1px solid #2a2a30;
    border-radius: 16px;
    padding: 12px 14px 14px;
    background: #0b0b0c;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .95);
    color: #f4f4f5;
    font-family: Satoshi, Inter, "Segoe UI", sans-serif;
    font-size: 13px;
    text-align: left;
    container-type: inline-size;
}

.eye-card svg { flex: none; }
.eye-card__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.eye-card__brand { display: inline-flex; flex: none; align-items: center; gap: 6px; color: #d4d4d8; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eye-card__brand svg { width: 15px; height: 15px; color: #a1a1aa; }
.eye-card__server { flex: 1; min-width: 0; overflow: hidden; color: #77777f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.eye-card__x { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #1a1a1d; border-radius: 8px; color: #a1a1aa; }
.eye-card__x svg { width: 14px; height: 14px; }

.eye-card__who { display: flex; align-items: center; gap: 12px; min-width: 0; }

.eye-card__ava {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid #2a2a30;
    border-radius: 50%;
    background: #0f0f11;
    color: #a1a1aa;
    font-size: 18px;
    font-weight: 700;
}

.eye-card__ava i {
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid #0b0b0c;
    border-radius: 50%;
    background: #34d399;
}

.eye-card__names { display: grid; gap: 1px; min-width: 0; }
.eye-card__names b { overflow: hidden; font-size: 16px; font-weight: 700; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.eye-card__names > span { overflow: hidden; color: #a1a1aa; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }

.eye-card__names small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: #77777f;
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.eye-card__names small svg { width: 12px; height: 12px; }

.eye-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }

.eye-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    height: 26px;
    border: 1px solid #1a1a1d;
    border-radius: 999px;
    padding: 0 10px;
    background: #0b0b0c;
    color: #d4d4d8;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.eye-chip small { color: #77777f; font-family: "Cascadia Mono", Consolas, monospace; font-size: 11px; font-weight: 500; }
.eye-chip.is-mono { font-variant-numeric: tabular-nums; }
.eye-chip.is-ok { color: #34d399; }
.eye-chip--team i { width: 8px; height: 8px; border-radius: 50%; background: #5a82ff; }

.eye-card__counts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #1a1a1d;
    border-radius: 12px;
}

.eye-card__counts span { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; }
.eye-card__counts span + span { border-left: 1px solid #1a1a1d; }
.eye-card__counts b { font-size: 16px; font-variant-numeric: tabular-nums; }
.eye-card__counts small { overflow: hidden; max-width: 100%; color: #77777f; font-size: 10.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.eye-card__counts .is-zero b { color: #77777f; }

.eye-card__acts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }

.eye-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 32px;
    border: 1px solid #2a2a30;
    border-radius: 10px;
    padding: 0 6px;
    background: #0f0f11;
    color: #d4d4d8;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.eye-btn svg { width: 14px; height: 14px; }
.eye-btn--danger { border-color: rgba(248, 113, 113, .26); background: rgba(248, 113, 113, .07); color: #fca5a5; }

.eye-card__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid #1a1a1d;
    padding-top: 9px;
    color: #a1a1aa;
    font-size: 12.5px;
    font-weight: 600;
}

.eye-card__toggle svg { width: 14px; height: 14px; }

@container (max-width: 340px) {
    .eye-btn svg { display: none; }
}

.s-eye__specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 56px;
    margin-bottom: 0;
}

.s-eye__specs > div { border-top: 1px solid var(--line-2); padding-top: 18px; }

.s-eye__specs dt {
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.s-eye__specs dd { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
    .js .s-eye__cursor { animation: eye-cursor var(--eye-t) infinite both; }
    .js .s-eye__tag::before { animation: eye-frame var(--eye-t) infinite both; }
    .js .s-eye__scan { animation: eye-scan var(--eye-t) infinite both; }
    .js .s-eye__keys kbd { animation: eye-key var(--eye-t) calc(var(--k) * .14s) infinite both; }
    .js .s-eye__keys i { animation: eye-plus var(--eye-t) infinite both; }
    .js .s-eye__keys small { animation: eye-time var(--eye-t) infinite both; }
    .js .eye-card { animation: eye-card var(--eye-t) infinite both; }
    .js .eye-card > div { animation: eye-row var(--eye-t) calc(var(--r) * 45ms) infinite both; }

    .js .s-eye__stage:not(.is-live) *,
    .js .s-eye__stage:not(.is-live) .s-eye__tag::before {
        animation-play-state: paused;
    }
}

@keyframes eye-cursor {
    0% { opacity: 0; transform: translate(var(--eye-cx), var(--eye-cy)); }
    4% { opacity: 1; transform: translate(var(--eye-cx), var(--eye-cy)); animation-timing-function: cubic-bezier(.45, .05, .2, 1); }
    17%, 88% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: none; }
}

@keyframes eye-frame {
    0%, 16% { opacity: 0; transform: scale(1.12); }
    20%, 88% { opacity: 1; transform: none; }
    92%, 100% { opacity: 0; transform: none; }
}

@keyframes eye-scan {
    0%, 17% { opacity: 1; transform: scaleX(0); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
    23%, 88% { opacity: 1; transform: none; }
    92%, 100% { opacity: 0; transform: none; }
}

@keyframes eye-key {
    0%, 19% { opacity: 0; transform: translateY(-6px); }
    20.5%, 25% { opacity: 1; transform: translateY(2px) scale(.96); }
    27.5%, 88% { opacity: 1; transform: none; }
    92%, 100% { opacity: 0; transform: none; }
}

@keyframes eye-plus {
    0%, 20% { opacity: 0; }
    22%, 88% { opacity: 1; }
    92%, 100% { opacity: 0; }
}

@keyframes eye-time {
    0%, 26% { opacity: 0; transform: translateX(-6px); }
    29%, 88% { opacity: 1; transform: none; }
    92%, 100% { opacity: 0; transform: none; }
}

@keyframes eye-card {
    0%, 23% { opacity: 0; transform: translateX(36px) scale(.98); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
    28%, 88% { opacity: 1; transform: none; }
    93%, 100% { opacity: 0; transform: translateY(-8px); }
}

@keyframes eye-row {
    0%, 24% { opacity: 0; transform: translateY(6px); animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
    29%, 100% { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
    .s-eye__stage {
        --eye-cx: -110px;
        --eye-cy: 90px;
    }

    .s-eye__top { grid-template-columns: minmax(0, 1fr); }
    .s-eye__screen { aspect-ratio: 16 / 10; }
    .s-eye__tag { top: 38.5%; }
    .s-eye__cursor { top: 42%; }

    .s-eye__keys {
        top: 5%;
        bottom: auto;
        left: 4%;
    }

    .s-eye__float {
        position: relative;
        inset: auto;
        display: block;
        width: min(430px, calc(100% - 24px));
        margin: -56px auto 0;
        padding: 0;
    }

    .eye-card { width: 100%; }
    .s-eye__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
}

@media (max-width: 640px) {
    .s-eye__stage { --eye-cx: -70px; --eye-cy: 60px; }
    .s-eye__lead p { font-size: 16.5px; }
    .s-eye__screen { border-radius: 14px; }
    .s-eye__keys { gap: 4px; }
    .s-eye__keys kbd { min-width: 28px; height: 28px; padding: 0 7px; font-size: 11.5px; }
    .s-eye__keys small { margin-left: 4px; padding: 4px 8px; font-size: 11px; }
    .s-eye__float { margin-top: -40px; }
}

@media (max-width: 520px) {
    .s-eye__specs { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 1000px) {
    .js .s-eye__stage:not(.s-eye__stage--fit) .eye-card { animation: none; }
    .js .s-eye__stage:not(.s-eye__stage--fit) .eye-card > div { animation-name: eye-row-slot; }
    .js .s-eye__stage:not(.s-eye__stage--fit) .eye-card > div:first-child { animation: none; }
}

@keyframes eye-row-slot {
    0%, 24% { opacity: .3; }
    29%, 88% { opacity: 1; }
    93%, 100% { opacity: .3; }
}

.s-eye__stage--fit {
    --z: 1;
    width: 100%;
    height: 100%;
    container-type: size;
}

.s-eye__stage--fit .s-eye__screen {
    height: 100%;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
}

.s-eye__stage--fit .s-eye__float {
    position: absolute;
    inset: 0;
    display: flex;
    width: auto;
    margin: 0;
    padding-right: 3.2%;
}

.s-eye__stage--fit .eye-card { width: 400px; zoom: var(--z); }

.s-eye__stage--fit .s-eye__game { left: -28%; width: 128%; }
.s-eye__stage--fit .s-eye__tag { top: 39.5%; left: 36%; transform: translate(-50%, -50%) scale(var(--z)); }
.s-eye__stage--fit .s-eye__cursor { top: 43%; left: 39%; width: calc(22px * var(--z)); --eye-cx: calc(-190px * var(--z)); --eye-cy: calc(150px * var(--z)); }

.s-eye__stage--fit .s-eye__keys {
    top: auto;
    bottom: 6%;
    left: 3%;
    transform: scale(var(--z));
    transform-origin: 0 100%;
}

@container (max-height: 500px) or (max-width: 820px) {
    .s-eye__stage--fit > * { --z: .84; }
}

@container (max-height: 420px) or (max-width: 680px) {
    .s-eye__stage--fit > * { --z: .7; }
}

@container (max-height: 340px) or (max-width: 540px) {
    .s-eye__stage--fit > * { --z: .56; }
}

@container (max-height: 260px) or (max-width: 420px) {
    .s-eye__stage--fit > * { --z: .46; }
}

@container (max-width: 540px) {
    .s-eye__stage--fit .s-eye__game { left: -40%; width: 140%; }
    .s-eye__stage--fit .s-eye__tag { left: 30%; }
    .s-eye__stage--fit .s-eye__cursor { left: 33%; }
}

@container (orientation: portrait) {
    .s-eye__stage--fit > * { --z: .82; }
    .s-eye__stage--fit .s-eye__game { top: -32%; left: 0; width: 100%; height: 132%; object-position: 50% 0; }
    .s-eye__stage--fit .s-eye__tag { top: 19%; left: 50%; }
    .s-eye__stage--fit .s-eye__cursor { top: 22.5%; left: 53%; }
    .s-eye__stage--fit .s-eye__float { align-items: flex-end; justify-content: center; padding: 0 0 4%; }

    .s-eye__stage--fit .s-eye__keys {
        top: 4%;
        bottom: auto;
        transform-origin: 0 0;
    }
}

@container (orientation: portrait) and (max-width: 330px) {
    .s-eye__stage--fit > * { --z: .74; }
}

@container (orientation: portrait) and (max-height: 460px) {
    .s-eye__stage--fit > * { --z: .7; }
}

@container (orientation: portrait) and (max-height: 400px) {
    .s-eye__stage--fit > * { --z: .62; }
}

.fx-view:not(.is-on) .s-eye__stage *,
.fx-view:not(.is-on) .s-eye__tag::before {
    animation: none;
}

.s-show { scroll-margin-top: max(88px, calc((100svh - min(100vw - 48px, 1360px) * 9 / 21) / 2 + 30px)); }

@media (max-width: 1000px) {
    .s-show { scroll-margin-top: 84px; }
}
