/* Swing 02 — opponent lobby, versus face, ladder line. Tokens from tokens.js; slow cubic motion; no bounces. */
.s2-lobby{display:flex;align-items:center;gap:10px;margin-top:10px;font-family:"Barlow Condensed","Arial Narrow",system-ui,sans-serif}
.s2-lobby>small{font:600 10px/1 Inter,system-ui,sans-serif;letter-spacing:.26em;color:var(--rt-ui-muted,#b6c9c1);margin-right:2px}
.s2-cards{display:flex;gap:4px}
.s2-cards button{position:relative;display:inline-flex;align-items:baseline;gap:8px;padding:9px 12px 10px;border-radius:999px;cursor:pointer;color:var(--rt-ui-ink,#f0f6f2);background:rgba(255,255,255,.03);border:1px solid rgba(240,246,242,.14);transition:border-color .9s cubic-bezier(.22,.61,.36,1),background .9s cubic-bezier(.22,.61,.36,1),color .9s cubic-bezier(.22,.61,.36,1),opacity .9s cubic-bezier(.22,.61,.36,1)}
.s2-cards button b{font:700 14px/1 "Barlow Condensed","Arial Narrow",system-ui,sans-serif;letter-spacing:.16em}
.s2-cards button i{font:600 10px/1 Inter,system-ui,sans-serif;font-style:normal;letter-spacing:.1em;color:var(--rt-ui-accent,#c7fc68);font-variant-numeric:tabular-nums}
.s2-cards button em{font:600 8px/1 Inter,system-ui,sans-serif;font-style:normal;letter-spacing:.18em;color:var(--rt-ui-muted,#b6c9c1)}
.s2-cards button:hover{border-color:rgba(240,246,242,.34)}
.s2-cards button[aria-pressed="true"]{border-color:var(--rt-ui-yellow,#ffda39);background:rgba(255,218,57,.08)}
.s2-cards button[aria-pressed="true"] em{color:var(--rt-ui-yellow,#ffda39)}
.s2-cards button.locked{opacity:.42;cursor:default}
.s2-cards button.locked b{color:var(--rt-ui-muted,#b6c9c1)}
.s2-cards button .gb-lamp{bottom:3px}
.s2-online{font:600 9px/1 Inter,system-ui,sans-serif;letter-spacing:.24em;color:rgba(182,201,193,.5);border:1px solid rgba(182,201,193,.25);border-radius:999px;padding:5px 7px}
/* versus card: the opponent's face is a live Figma shader behind the name */
#searchOverlay .versusCards div:last-child{position:relative;overflow:hidden;isolation:isolate}
.s2-face{position:absolute;inset:0;z-index:-1;opacity:0;transition:opacity .9s cubic-bezier(.22,.61,.36,1)}
.s2-face.fs-live{opacity:.55}
.s2-face canvas{width:100%;height:100%;display:block;object-fit:cover}
/* result card ladder line */
#d22Result .s2-ladder{margin:10px 0 0;font:600 11px/1.5 Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--rt-ui-accent,#c7fc68)}
@media (max-width:720px){.s2-lobby{flex-wrap:wrap}.s2-cards button{padding:8px 9px 9px}.s2-cards button em{display:none}}
/* VIEW MODE pill: it sat bottom-centre over the engine ring and the dock; now a compact pill top-centre under the scoreboard */
#chillMode{left:50%;bottom:auto;top:98px;transform:translateX(-50%);min-width:0;min-height:0;padding:10px 16px;gap:12px}
#chillMode strong{font-size:14px}
#chillMode small{font-size:10px}
#chillMode svg{width:20px;height:20px}
#chillMode:hover{transform:translate(-50%,2px)}
#chillMode:active{transform:translate(-50%,0)}
@media (max-width:720px){#chillMode{top:auto;bottom:90px}}
