/* Room presentation from PR 643 UI; East networking, chat and ranked systems stay authoritative. */
@font-face {
  font-family: 'ValorantRankDigits';
  src: url('/fonts/valorant/Tungsten-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0023, U+0030-0039;
}
.rs { background: #0a0b0b; color: #eef0ef; }
.rs__bg { position: absolute; inset: 0; pointer-events: none; background: #0b0e0e;
  background:
    radial-gradient(60% 50% at 30% 40%, color-mix(in srgb, var(--mint-500) 7%, transparent), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 4px),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 1.1rem 1.1rem,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 1.1rem 1.1rem,
    radial-gradient(120% 90% at 50% 30%, #161818, #070808); }
.rs > :where(:not(.rs__bg, .mf-search, .mf-found, .rs-proto, .modal)) { position: relative; }
.rs-top { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: .2rem; padding: .16rem .3rem 0 .22rem; z-index: 3; }
.rs-top__left { display: flex; align-items: center; gap: .16rem; min-width: 0; }
.rs-exit { display: grid; place-items: center; width: max(.6rem, 36px); height: max(.6rem, 36px); padding: 0; color: #1b1e1d; cursor: pointer;
  background: linear-gradient(180deg, #e3e7e5, #b7bfbc); border: 0; border-radius: .06rem; box-shadow: 0 .03rem .1rem rgba(0, 0, 0, .5); }
.rs-exit:hover { filter: brightness(1.08); }
.rs-exit .icon { width: 60%; height: 60%; }
.rs-clock { display: flex; flex-direction: column; gap: .02rem; min-width: 0; }
.rs-clock > b { display: inline-flex; align-items: center; gap: .1rem; font-size:max(calc(.2 * var(--t)), 13px); font-weight: 700; white-space: nowrap; }
.rs-clock__sep { width: 1px; height: .9em; background: rgba(255, 255, 255, .3); }
.rs-clock > span { font-size:max(calc(.16 * var(--t)), 11px); color: #9aa19e; }
.rs-ping { margin: 0 2px; } .rs-ping--low { color: #8fef5a; } .rs-ping--mid { color: #ffc53d; } .rs-ping--high, .rs-ping--off { color: #ff6b6b; }
.rs-tools { display: flex; gap: .08rem; margin-left: .1rem; }
.rs-key { display: flex; align-items: center; gap: .14rem; height: max(.56rem, 34px); padding: 0 .06rem 0 .2rem; background: rgba(28, 30, 30, .9); border: 1px solid rgba(255, 255, 255, .1); border-radius: .06rem; }
.rs-key__k { font-size:max(calc(.17 * var(--t)), 11px); color: #b7bdbb; padding-right: .14rem; border-right: 1px solid rgba(255, 255, 255, .25); }
.rs-key__code { font-size:max(calc(.28 * var(--t)), 16px); letter-spacing: .06em; color: #f2f4f3; }
.rs-key__copy { height: 78%; padding: 0 .26rem; font: inherit; font-size:max(calc(.2 * var(--t)), 12px); font-weight: 800; color: #1b1e1d; background: linear-gradient(180deg, #e9edeb, #c3cac7);
  border: 0; border-radius: .05rem; cursor: pointer; }
.rs-key__copy:hover { filter: brightness(1.06); }
.rs-key__copy, .rs-key__code { white-space: nowrap; }
.rs-key__link { display: grid; place-items: center; width: max(.44rem, 28px); height: 78%; padding: 0; color: #c9cecc; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15); border-radius: .05rem; cursor: pointer; }
.rs-key__link .icon { width: 60%; height: 60%; }
/* 邀请好友 (ui/friends.js panel; the owner, 2026-10-14: the tools' icon alone was not found) */
.rs-key__friends { display: inline-flex; align-items: center; gap: .06rem; height: 78%; padding: 0 .2rem; font: inherit; font-size:max(calc(.2 * var(--t)), 12px);
  font-weight: 800; white-space: nowrap; color: #1d1405; background: linear-gradient(180deg, #ffd27a, #f0a93a); border: 0; border-radius: .05rem; cursor: pointer; }
.rs-key__friends:hover { filter: brightness(1.06); }
.rs-key__friends .icon { width: max(.24rem, 14px); height: max(.24rem, 14px); }
.rs-key--solo { gap: .1rem; padding-right: .2rem; font-size:max(calc(.16 * var(--t)), 11px); color: #b7bdbb; }

.rs-seats { flex: 1 1 auto; min-height: 0; display: flex; align-items: stretch; justify-content: center; gap: max(.3rem, 2.2vw); padding: .3rem .4rem .1rem;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.rs--big .rs-seats { justify-content: flex-start; gap: .16rem; }
.rseat { --w: min(18vw, 3.4rem, calc((100vw - 1.6rem) / var(--n, 4) - .3rem)); position: relative; flex: none; width: var(--w); display: flex; flex-direction: column;
  animation: sw-in 260ms var(--ease-out) backwards; animation-delay: calc(var(--i) * 60ms); }
.rs--big .rseat { --w: max(1.7rem, 120px); }
.rs--solo .rseat { --w: min(2.7rem, 34vw); }
.rseat__clip { position: absolute; left: 50%; top: -.14rem; width: .16rem; height: .2rem; transform: translateX(-50%); background: #3a3e3d; border: 2px solid #1a1c1c; z-index: 2; }
.rseat.is-ready .rseat__clip { background: #4fe8c0; }
.rseat__strip { position: relative; display: flex; align-items: center; justify-content: space-between; height: max(.26rem, 16px); padding: 0 .08rem; background: #2b2e2e; }
.rseat__strip i { width: .5rem; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 3px, transparent 3px 5px); }
.rseat__strip span { font-size:max(calc(.12 * var(--t)), 9px); color: #8d9391; }
.rseat.is-ready .rseat__strip { background: #4fe8c0; }
.rseat.is-ready .rseat__strip i { background: repeating-linear-gradient(90deg, rgba(8, 34, 27, .6) 0 3px, transparent 3px 5px); }
.rseat.is-ready .rseat__strip span { color: #08221b; }
.rseat__art { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #1f2222, #141616);
  border: 2px solid #2b2e2e; border-top: 0; }
.rseat.is-ready .rseat__art { border-color: #4fe8c0; box-shadow: 0 0 .2rem rgba(79, 232, 192, .35); }
/* Full illustrations must fit both axes: short fullscreen cards must not zoom into the forehead. */
.rseat__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.rseat.is-ready .rseat__art::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(47, 207, 159, .85)); pointer-events: none; }
.rseat__glyph { font-size:max(calc(.9 * var(--t)), 40px); font-weight: 900; color: rgba(255, 255, 255, .25); }
.rseat__glyph .icon { width: max(1rem, 50px); height: max(1rem, 50px); }
.rseat__host { position: absolute; top: .14rem; left: 50%; transform: translateX(-50%); z-index: 1; padding: .02rem .18rem; font-size:max(calc(.18 * var(--t)), 12px); font-weight: 800;
  color: #08221b; background: #4fe8c0; border-radius: .04rem; white-space: nowrap; }
.rseat__lost { position: absolute; left: 0; right: 0; top: 40%; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .1rem; padding: .14rem 0;
  font-size:max(calc(.24 * var(--t)), 14px); font-weight: 800; color: #ff7a8a; background: rgba(80, 10, 18, .85); }
.rseat__lost .icon { width: 1.2em; height: 1.2em; }
.rseat.is-offline .rseat__art img { filter: grayscale(.8) brightness(.6); }
.rseat__state { position: absolute; left: 0; right: 0; bottom: .14rem; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .1rem;
  font-size:max(calc(.26 * var(--t)), 14px); font-weight: 900; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.rseat:not(.is-ready) .rseat__state { color: #c9cecc; font-size:max(calc(.2 * var(--t)), 12px); }
.rseat__box { display: grid; place-items: center; width: max(.34rem, 20px); height: max(.34rem, 20px); border: 2px solid currentColor; border-radius: 4px; background: rgba(0, 0, 0, .25); }
.rseat__box .icon { width: 80%; height: 80%; }
.rseat__kick { position: absolute; right: -.08rem; top: -.12rem; z-index: 3; display: inline-flex; align-items: center; height: max(.4rem, 24px); padding: 0 .1rem; color: #ff8a96;
  background: #3b1218; border: 1px solid rgba(255, 120, 130, .6); border-radius: 999px; cursor: pointer; }
.rseat__kick .icon { width: max(.2rem, 12px); height: max(.2rem, 12px); }
.rseat__kick .icon + .icon { width: max(.14rem, 9px); margin-left: -2px; }
.rseat__kick:hover:not(:disabled) { filter: brightness(1.3); }
.rseat__plate { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .1rem; align-items: center;
  min-height: max(.76rem, 46px); margin-top: .08rem; padding: .06rem .1rem; background: linear-gradient(90deg, #232626, #161818); border: 1px solid rgba(255, 255, 255, .1); }
.rseat.is-ready .rseat__plate { border-color: rgba(79, 232, 192, .55); }
.rseat.is-me .rseat__plate { background: linear-gradient(90deg, #26302d, #161a19); }
.rseat__plate--editable { width: 100%; min-width: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; appearance: none; }
.rseat__plate--editable:hover { border-color: #4fe8c0; }
.rseat__plate--editable:focus-visible { outline: 2px solid #4fe8c0; outline-offset: 3px; }
.rseat__plate .avatar { grid-row: 1 / 3; }
.rseat__who { display: flex; align-items: center; gap: .06rem; min-width: 0; font-size:max(calc(.18 * var(--t)), 12px); }
.rseat__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rseat__doc { font-size:max(calc(.11 * var(--t)), 8px); letter-spacing: .1em; color: #7f8583; }
.rseat__me { position: absolute; left: -.1rem; top: -.1rem; display: grid; place-items: center; width: max(.26rem, 16px); height: max(.26rem, 16px); color: #08221b;
  background: #4fe8c0; border-radius: 3px; }
.rseat__me .icon { width: 80%; height: 80%; }
.rseat__plate--empty { border-style: dashed; border-color: rgba(255, 255, 255, .12); background: none; }
.rseat--empty .rseat__art { background: linear-gradient(135deg, transparent 47%, rgba(255, 255, 255, .06) 50%, transparent 53%), #141616; }
.rseat__invite { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .2rem .1rem; font: inherit; color: #eef0ef; background: none; border: 0; cursor: pointer; }
.rseat__plus { position: relative; width: max(.9rem, 46px); height: max(.9rem, 46px); }
.rseat__plus::before, .rseat__plus::after { content: ''; position: absolute; background: #f2f4f3; box-shadow: 0 0 .1rem rgba(255, 255, 255, .5); }
.rseat__plus::before { left: 50%; top: 0; bottom: 0; width: 7px; transform: translateX(-50%); } .rseat__plus::after { top: 50%; left: 0; right: 0; height: 7px; transform: translateY(-50%); }
.rseat__invite b { font-size:max(calc(.26 * var(--t)), 15px); }
.rseat__invite small { font-size:max(calc(.15 * var(--t)), 10px); color: #8d9391; text-align: center; }
.rseat__invite:hover .rseat__plus::before, .rseat__invite:hover .rseat__plus::after { background: #5df0c6; }
.rseat__wait { display: flex; flex-direction: column; align-items: center; gap: .1rem; color: #b7bdbb; }
.rseat__wait svg { width: max(.7rem, 36px); height: auto; fill: none; stroke: currentColor; stroke-width: 3; }
.rseat__wait small { padding: .02rem .08rem; font-family: var(--font-display); font-size:max(calc(.1 * var(--t)), 7px); letter-spacing: .1em; background: rgba(255, 255, 255, .08); }
.rseat--empty.is-searching .rseat__wait { animation: mf-blip 1.6s ease-in-out infinite; }
.rseat__noinfo { position: absolute; right: .12rem; bottom: .3rem; font-family: var(--font-display); font-size:max(calc(.12 * var(--t)), 8px); letter-spacing: .1em; color: rgba(255, 255, 255, .15); }
.rs-brief { align-self: center; max-width: min(5rem, 46vw); }
.rs-foot { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: .2rem; padding: .1rem .3rem .2rem .22rem; z-index: 2; }
.rs-foot__left { min-width: 0; display: flex; align-items: center; gap: max(.12rem, 6px); }
.east-room .rs-regimen-mobile { display: none; }
.rs-top__right { display: flex; align-items: center; gap: .14rem; }
.rs-loadout.hub-plate { width: auto !important; height: max(.56rem, 34px) !important; min-width: 0; padding: 0 .2rem 0 .14rem !important; }
.rs-loadout.hub-plate .lo-entry__icon, .rs-loadout.hub-plate > .btn__icon { width: max(.36rem, 22px) !important; height: max(.36rem, 22px) !important; padding: .04rem; }
.rs-loadout.hub-plate .btn__label { font-size:max(calc(.18 * var(--t)), 12px); }
.rs-ready { display: inline-flex; align-items: center; gap: 2px; margin-right: .14rem; font-size:max(calc(.16 * var(--t)), 11px); color: #9aa19e; vertical-align: middle; }
.rs-ready .icon { width: max(.2rem, 13px); height: max(.2rem, 13px); color: #4b504e; }
.rs-ready .icon.is-on { color: #4fe8c0; }
.rs-ready b { margin-left: .06rem; color: #eef0ef; }
.rs-foot__center { display: flex; flex-direction: column; align-items: center; gap: .08rem; }
.rs-hint { margin: 0; font-size:max(calc(.18 * var(--t)), 12px); color: #d6dad8; text-align: center; }
.rs-hint .icon { width: 1.1em; height: 1.1em; margin-right: 4px; vertical-align: -2px; }
.rs-pill { position: relative; display: inline-flex; align-items: center; gap: .14rem; height: max(.68rem, 40px); padding: 0 .08rem 0 .24rem;
  background: rgba(14, 15, 15, .92); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; box-shadow: 0 .04rem .16rem rgba(0, 0, 0, .5); }
.rs-pill__mode { display: inline-flex; align-items: center; gap: .08rem; font-size:max(calc(.2 * var(--t)), 13px); font-weight: 700; color: #e9eceb; white-space: nowrap; }
.rs-pill__mode .icon { width: 1.1em; height: 1.1em; }
.rs-pill__sep { width: 1px; height: 50%; background: rgba(255, 255, 255, .25); }
.rs-pill__diff { display: inline-flex; align-items: center; gap: .08rem; height: 78%; padding: 0 .2rem; font: inherit; font-size:max(calc(.2 * var(--t)), 13px); font-weight: 800;
  color: var(--d-color); background: #151616; background: color-mix(in srgb, var(--d-color) 22%, #151616); border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.rs-pill__diff .icon { width: 1.2em; height: 1.2em; }
.rs-pill__diff:disabled { cursor: default; }
.rs-pill__diff:hover:not(:disabled) { filter: brightness(1.2); }
.rs-pill__gear { display: grid; place-items: center; width: max(.52rem, 32px); height: max(.52rem, 32px); padding: 0; color: #1b1e1d; background: linear-gradient(180deg, #e9edeb, #c3cac7);
  border: 2px solid #0e0f0f; border-radius: 50%; cursor: pointer; }
.rs-pill__gear svg { width: 62%; height: 62%; fill: currentColor; }
.rs-pill__gear.is-on, .rs-pill__gear:hover { background: #fff; }
.rs-foot__right { display: flex; align-items: center; justify-content: flex-end; gap: .14rem; }
.rs-search { display: inline-flex; align-items: center; gap: .08rem; height: max(.7rem, 40px); padding: 0 .26rem; font: inherit; font-size:max(calc(.24 * var(--t)), 14px); font-weight: 800;
  color: #5df0c6; background: rgba(10, 30, 25, .85); border: 2px solid rgba(79, 232, 192, .7); cursor: pointer; white-space: nowrap; }
.rs-search:hover:not(:disabled) { background: rgba(20, 60, 48, .9); }
.rs-search:disabled { opacity: .5; cursor: default; }
.rs-search .icon { width: 1.1em; height: 1.1em; }
.rs-go.proto-start { width: min(4.6rem, 40vw); }
.rs-go__box { display: grid; place-items: center; flex: none; width: max(.5rem, 28px); height: max(.5rem, 28px); border: 3px solid currentColor; border-radius: 6px; }
.rs-go__box .icon { width: 80%; height: 80%; }
.rs-go.is-ready { background: linear-gradient(180deg, #7ff3d4, #4fe0bf); }
.proto-start { position: relative; display: flex; align-items: center; gap: .26rem; width: 100%; height: max(1.04rem, 54px); padding: 0 0 0 .26rem; overflow: hidden;
  font: inherit; color: #0d2a23; cursor: pointer; text-align: left;
  background: linear-gradient(180deg, #4fe0bf, #34c8a6); border: 3px solid #121313; box-shadow: 0 0 0 1px rgba(79, 224, 191, .5), 0 .06rem .2rem rgba(0, 0, 0, .55);
  transition: filter var(--t-fast); }
.proto-start:hover:not(:disabled) { filter: brightness(1.07); }
.proto-start:disabled { filter: grayscale(.8) brightness(.6); cursor: default; }
.proto-start__mark { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.proto-start__rook { display: inline-flex; align-items: center; gap: 2px; font-size:max(calc(.36 * var(--t)), 20px); font-weight: 300; line-height: 1; }
.proto-start__rook i { font-style: normal; }
.proto-start__rook .icon { width: max(.34rem, 19px); height: max(.34rem, 19px); }
.proto-start__mark small { font-family: var(--font-display); font-size:max(calc(.08 * var(--t)), 6px); font-weight: 800; letter-spacing: .06em; line-height: 1.1; text-align: center; }
.proto-start__label { display: inline-flex; align-items: center; gap: .1rem; font-size:max(calc(.44 * var(--t)), 22px); font-weight: 900; letter-spacing: .08em; }
.proto-start__deco { position: absolute; right: 0; top: 0; bottom: 0; width: 26%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .28) 0 5px, transparent 5px 11px), linear-gradient(90deg, rgba(13, 42, 35, .2), rgba(13, 42, 35, .6)); }
.rseat__botadd {
  position: absolute; left: 50%; bottom: .08rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: .08rem;
  width: calc(100% - .2rem); min-height: max(.55rem, 32px); padding: .08rem .12rem;
  transform: translateX(-50%); font: inherit; font-size: max(calc(.17 * var(--utility-text, var(--t))), 12px);
  color: var(--mint-400); background: #10251f; border: 1px solid var(--mint-700); cursor: pointer; white-space: nowrap;
  transition: border-color var(--t-fast), color var(--t-fast);
}

/* East-specific integration: keep the old chat anchor classes without old layout. */
.room-screen.east-room .rs-top.topbar { display: flex; height: auto; min-height: max(.85rem, 54px); grid-template-columns: none; background: transparent; border: 0; flex-wrap: wrap; }
.east-room .rs-clock > span { display: flex; align-items: center; gap: .08rem; }
.east-room .rs-clock .ping { height: max(.24rem, 18px); font-size: max(.14rem, 10px); }
.east-room .rs-tools .btn { min-height: max(.4rem, 32px); padding: .04rem .1rem; font-size: max(.15rem, 11px); letter-spacing: 0; }
.east-room .rs-top__right { flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.east-room .room-ranked-chip { margin: 0; font-size: max(.14rem, 10px); }
.east-room .rs-loadout { height: max(.5rem, 34px); padding: .05rem .16rem; font-size: max(.18rem, 12px); }
.east-room .rs-loadout .lo-entry__micro { display: none; }
.east-room .rs-seats { padding-top: .3rem; padding-bottom: .2rem; }
.east-room .rseat { --w: min(19vw, 3.4rem, calc((100vw - 1.6rem) / var(--n, 4) - .3rem)); min-height: 180px; max-height: 7.3rem; }
.east-room .rseat__signal { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.035); transform: scale(1.7); }
.east-room .rseat__signal .icon { width: 85%; height: 85%; }
.east-room .rseat__art > .avatar { --av: min(1.6rem, 9vw); margin-bottom: .3rem; position: relative; z-index: 1; }
.east-room .rseat__rank { flex: none; display: flex; align-items: center; justify-content: center; min-height: max(.3rem, 20px); padding-top: 4px; color: #9aa19e; font-size: max(.12rem, 9px); }
.east-room .rseat__pyramid {
  position: absolute; top: -3px; left: -3px; z-index: 4; width: 94.5px; max-width: 49%; padding: 0; pointer-events: none;
  background: none; border: 0; border-radius: 0;
}
.rank-pyramid-graphic { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.rank-pyramid-graphic__label { font-synthesis: none; }
.east-room .rseat__wait { padding: .1rem; text-align: center; }
.east-room .rseat__wait b { font-size: max(.21rem, 12px); }
.east-room .rseat__cancel { flex: none; margin-top: 4px; padding: 4px; border: 1px solid #4b504e; background: #202625; color: #d6dad8; font: inherit; font-size: max(.14rem, 11px); cursor: pointer; }
.east-room .rseat__plate--empty { pointer-events: none; }
.room-screen.east-room .rs-foot.room-bar { height: auto; min-height: max(1.3rem, 80px); grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); background: transparent; border: 0; padding: .1rem .3rem .2rem; }
.east-room .room-bar::before, .east-room .room-bar::after { content: none; }
.east-room .rs-foot__right { min-width: 0; }
.east-room .rs-go { min-width: 0; gap: .2rem; }
.east-room .rs-go .proto-start__label { position: relative; z-index: 1; white-space: nowrap; font-size: max(.36rem, 20px); }
.east-room .rs-pill { max-width: 100%; }
.east-room .rs-pill__diff { max-width: 100%; }
.east-room .rs-pill__diff > .icon:last-child { width: .16rem; min-width: 10px; }
.room-protocol-modal .dpick { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; }
.room-protocol-modal .dpick__opt { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: .12rem; font-size: max(.2rem,13px); }
.room-protocol-modal .dpick__opt .icon { width: max(.25rem,18px); height: max(.25rem,18px); }
.room-protocol-modal .modal__body > p { margin-top: .18rem; color: var(--text-lo); font-size: max(.18rem,12px); line-height: 1.6; }
.east-room > .entertainment-options { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; flex:none; gap:.12rem; margin:.06rem .3rem; padding:.08rem .16rem; background:#171b1a; border:1px solid #343c39; color:#b7bdbb; font-size:max(.16rem,11px); }
.east-room .entertainment-options label { display:flex; align-items:center; gap:.1rem; }
.east-room .entertainment-options select { min-height:32px; padding:2px 8px; background:#0d1110; color:#eef0ef; border:1px solid #58675f; font:inherit; }
.east-room.rs--big .rs-seats { justify-content:flex-start; gap:max(.16rem,10px); }
.east-room.rs--big .rseat { --w:max(2.3rem,145px); }
.east-room.room-screen--cyclops .rs-seats { overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; }
.east-room.room-screen--cyclops .rseat { flex-shrink:0; }
@keyframes sw-in { from { opacity:0; transform:translateY(.12rem); } }
@media (max-width: 1100px) {
  .east-room .rs-tools .rs-regimen-mobile { display: inline-flex; min-width: 32px; }
  .east-room .rs-regimen-mobile .btn__label { display: none; }
  .room-screen.east-room .rs-foot.room-bar { grid-template-columns: 1fr auto; gap: .14rem; }
  .east-room .rs-foot__left { display:none; }
  .east-room .rs-foot__center { align-items:flex-start; }
  .east-room .rs-hint { text-align:left; }
  .east-room .rs-go.proto-start { width:min(4rem,36vw); }
  .east-room .rs-tools { margin-left:0; gap:4px; }
  .east-room .rs-top__left { gap:.12rem; }
}
@media (max-width: 720px) {
  .room-screen.east-room .rs-top.topbar { gap:8px; padding:8px 10px 0; }
  .east-room .rs-top__left { flex-wrap:wrap; }
  .east-room .rs-tools { display:flex; }
  .east-room .rs-tools .btn { min-height:32px; font-size:11px; padding:4px 6px; }
  .east-room .rs-top__right { width:100%; justify-content:flex-start; gap:6px; }
  .east-room .rs-key { flex:1; justify-content:flex-end; gap:8px; padding-left:10px; }
  .east-room .rs-key__k { display:none; }
  .east-room .rs-seats { gap:14px; padding:18px 12px 10px; justify-content:flex-start; }
  .east-room .rseat { --w:42vw; max-height:none; }
  .east-room .rseat__art > .avatar { --av:1.6rem; }
  .east-room.rs--solo .rseat { --w:40vw; }
  .room-screen.east-room .rs-foot.room-bar { grid-template-columns:1fr; padding:8px 12px 12px; gap:8px; }
  .east-room .rs-foot__center { align-items:center; }
  .east-room .rs-hint { text-align:center; }
  .east-room .rs-foot__right { justify-content:flex-end; }
  .east-room .rs-go.proto-start { width:min(4.6rem,70vw); height:48px; }
  .east-room .rs-go .proto-start__mark { display:none; }
  .east-room .rs-go .proto-start__label { font-size:22px; }
  .east-room .rs-pill__mode { font-size:12px; }
  .east-room .rs-brief { padding:.15rem; max-width:48vw; font-size:12px; }
}
@media (max-height: 520px) and (min-width: 560px) {
  .room-screen.east-room .rs-top.topbar { min-height:44px; flex-wrap:nowrap; padding-top:6px; gap:8px; }
  .east-room .rs-top__right { width:auto; }
  .east-room .rs-key__k, .east-room .rs-clock > span, .east-room .rs-tools .btn__label, .east-room .rs-loadout .btn__label { display:none; }
  .east-room .rs-tools { display:flex; }
  .east-room .rs-tools .btn, .east-room .rs-loadout { width:32px; height:32px; min-height:32px; padding:4px; }
  .east-room .room-ranked-chip { display:none; }
  .east-room .rs-key { flex:none; height:32px; }
  .east-room .rs-seats { padding-top:14px; padding-bottom:6px; justify-content:center; gap:12px; }
  .east-room .rseat { --w:min(18vw,2.8rem); min-height:100px; }
  .east-room.rs--big .rs-seats { justify-content:flex-start; }
  .east-room.rs--big .rseat { --w:140px; }
  .east-room .rseat__art > .avatar { --av:.85rem; margin-bottom:.3rem; }
  .east-room .rseat__host { top:4px; font-size:9px; }
  .east-room .rseat__state { bottom:5px; font-size:11px; gap:4px; }
  .east-room .rseat__box { width:16px; height:16px; }
  .east-room .rseat__doc { display:none; }
  .east-room .rseat__plate { min-height:32px; margin-top:4px; padding:2px 6px; }
  .east-room .rseat__plate .avatar { --av:24px; }
  .east-room .rseat__name { font-size:11px; }
  .east-room .rseat__rank { min-height:16px; }
  .east-room .rseat__pyramid { top: -2px; left: -2px; width: 73.5px; }
  .east-room .rseat__botadd { min-height:24px; font-size:10px; padding:2px; }
  .east-room .rseat__plus { width:30px; height:30px; }
  .east-room .rseat__wait b { font-size:10px; }
  .east-room .rseat__wait small { display:none; }
  .room-screen.east-room .rs-foot.room-bar { grid-template-columns:minmax(0,1fr) auto; min-height:48px; padding:4px 10px 6px; }
  .east-room .rs-foot__center { align-items:flex-end; gap:4px; }
  .east-room .rs-hint { font-size:10px; }
  .east-room .rs-pill { height:32px; gap:6px; padding-left:10px; }
  .east-room .rs-pill__mode, .east-room .rs-pill__diff { font-size:11px; }
  .east-room .rs-go.proto-start { width:min(3.7rem,32vw); height:42px; padding-left:12px; }
  .east-room .rs-go .proto-start__mark { display:none; }
  .east-room .rs-go .proto-start__label { font-size:18px; }
  .east-room > .entertainment-options { padding:2px 8px; margin:2px 10px; font-size:10px; }
  .east-room .entertainment-options select { min-height:26px; }
}
@media (prefers-reduced-motion:reduce) { .east-room .rseat { animation:none; } }

/* The complete animated name card stays inside its own art panel. */
.rseat__art.rseat__art--special img { object-fit: contain; object-position: center; }
.cardpick__special { display: flex; flex-direction: column; min-width: 0; gap: .05rem; }
.cardpick__special > .cardpick__op { width: 100%; }
.cardpick__special .cardpick__art-name { white-space: normal; line-height: 1.35; }
.cardpick__img--special img { object-fit: contain; object-position: center; }
.cardpick__op.is-locked .cardpick__img--special { position: relative; }
.cardpick__locked { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(95, 101, 99, .62); color: #fff; font-size: max(calc(.14 * var(--t)), 11px); text-shadow: 0 1px 2px #222; pointer-events: none; }
.cardpick__download { display: flex; align-items: center; justify-content: center; gap: .04rem; width: 100%; min-height: 28px; padding: .06rem .03rem; border: 1px solid var(--mint-400, #4ed8af); background: #1d2120; color: var(--mint-400, #4ed8af); font: inherit; font-size: max(calc(.13 * var(--t)), 10px); line-height: 1.35; cursor: pointer; }
.cardpick__download:disabled { opacity: .6; cursor: default; }
