/* Inked — ranked mode (docs/RANKED.md): the RANKED screen, the MATCH FOUND card, the tier badge next to nicks, the
   ranked lobby ticket and the Elo panel on the results screen. Same sticker language as the online hub: torn ink tape,
   fat outlines (--k), hard shadows (--stk), spring motion. */

/* ---------------------------------------------------------------- tier badge (rank-badge.js) */
.iw-rank { position: relative; display: inline-flex; align-items: center; gap: .3em; flex: none; vertical-align: middle; font: 400 .78em / 1 'Titan One', sans-serif; letter-spacing: .04em; white-space: nowrap; }
.iw-rank__img { display: block; width: 1.9em; height: 1.9em; filter: drop-shadow(0 .08em 0 rgba(0, 0, 0, .45)); }
.iw-rank__div { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; padding: 0 .25em; border-radius: .4em .3em .45em .3em; background: #fff; color: var(--k); font-size: .78em; rotate: -4deg; box-shadow: 0 0 0 .14em var(--k); }
.iw-rank__tx { color: #fff; text-shadow: 0 .09em 0 var(--k), 0 0 .2em rgba(0, 0, 0, .6); }
.iw-rank--xs { font-size: max(10px, calc(var(--u) * .78)); }
.iw-rank--s { font-size: max(11px, calc(var(--u) * .95)); }
.iw-rank--m { font-size: max(12px, calc(var(--u) * 1.25)); }
.iw-rank--l { font-size: calc(var(--u) * 1.8); }
.iw-rank--supremo .iw-rank__img, .iw-rank--graomestre .iw-rank__img { animation: iw-rank-glow 2.6s ease-in-out infinite; }
@keyframes iw-rank-glow { 50% { filter: drop-shadow(0 .08em 0 rgba(0, 0, 0, .45)) drop-shadow(0 0 .35em rgba(255, 210, 63, .8)); } }
.iw-plate__rank { margin-left: .4em; }
.iw-btn__rank { position: absolute; right: calc(var(--u) * 1.1); top: 50%; translate: 0 -50%; rotate: 4deg; }
.iw-btn--ranked { --fill: #ffd23f; --fill-ink: var(--k); }
.iw-btn--ranked .iw-btn__icon { color: #ffd23f; }
.iw-btn--ranked.is-focus .iw-btn__icon { color: var(--k); }
.iw-profile__rkrow { margin-top: .45em; }

/* ---------------------------------------------------------------- RANKED screen */
.iw-ranked .iw-rk__body { gap: calc(var(--u) * 1.5); }
.iw-rkcard { display: grid; grid-template-columns: calc(var(--u) * 7.2) 1fr auto; align-items: center; gap: calc(var(--u) * 1.6); min-height: calc(var(--u) * 10.6); color: #fff; }
.iw-rkcard--1v1 .iw-hubcard__bg { background: var(--tex-stripes), var(--tex-squids-k), linear-gradient(165deg, #ffe08a -40%, #ff9d1a 42%, #b35a0a 110%); animation: iw-hub-stripes 2.6s linear infinite; }
.iw-rkcard--2v2 .iw-hubcard__bg { background: var(--tex-stripes), var(--tex-squids-k), linear-gradient(165deg, #9ff7ff -40%, #2fd6ff 42%, #0d7fa8 110%); animation: iw-hub-stripes 2.6s linear infinite; }
.iw-rkcard .iw-hubcard__title { color: #fff; }
.iw-rkcard .iw-hubcard__kicker { --tape: var(--k); }
.iw-rk__fmt { position: absolute; z-index: 2; inset: auto -4% -6% auto; font-size: calc(var(--u) * 1.9); color: #fff; -webkit-text-stroke: .18em var(--k); paint-order: stroke fill; rotate: -8deg; }
.iw-rk__cardsub { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; }
.iw-rk__count { font: 800 var(--fs-s) / 1 'Rubik', sans-serif; opacity: .9; }
.iw-rk__plc { display: inline-flex; align-items: center; padding: .3em .6em .32em; border-radius: .5em .35em .55em .4em; background: var(--k); color: #fff; font: 900 var(--fs-xs) / 1 'Rubik', sans-serif; letter-spacing: .08em; rotate: -1.5deg; }
.iw-rkcard.is-off { filter: saturate(.35) brightness(.72); }
.iw-rkcard.is-off .iw-hubcard__go { opacity: .5; }
.iw-rkcard.is-queued .iw-hubcard__go { background: #ff3d5e; color: #fff; }
.iw-rkcard.is-queued .iw-hubcard__status { background: var(--hv); color: var(--k); animation: iw-wobble 1.4s ease-in-out infinite; }
.iw-rkcard.is-queued .iw-hubcard__icon > i { animation: iw-rk-spin 1.6s ease-in-out infinite; }
@keyframes iw-rk-spin { 0%, 100% { rotate: -10deg; } 50% { rotate: 10deg; scale: 1.1; } }
.iw-rkcard.is-focus .iw-hubcard__go { background: var(--hv); color: var(--k); transform: scale(1.12); animation: iw-wobble 1s ease-in-out infinite; }
.iw-rk__steps .iw-hubstep > span { font-size: var(--fs-xs); }
.iw-rk__wall { position: relative; isolation: isolate; display: flex; align-items: center; gap: calc(var(--u) * 1); padding: calc(var(--u) * 1) calc(var(--u) * 1.4) calc(var(--u) * 1) calc(var(--u) * 1.2); border-radius: calc(var(--u) * 1.3) calc(var(--u) * .8) calc(var(--u) * 1.4) calc(var(--u) * .9);
  background: var(--k); color: #fff; box-shadow: var(--stk); rotate: -.8deg; }
.iw-rk__wall[hidden], .iw-rk__party[hidden] { display: none; }
.iw-rk__wallsplat { position: absolute; z-index: -1; left: calc(var(--u) * -2); top: 50%; width: calc(var(--u) * 9); translate: 0 -50%; rotate: -14deg; opacity: .9; }
.iw-rk__wallsplat svg { width: 100%; height: 100%; }
.iw-rk__wall > i { flex: none; display: block; width: calc(var(--u) * 3); height: calc(var(--u) * 3); color: #ff3d5e; }
.iw-rk__wall > i svg { width: 100%; height: 100%; }
.iw-rk__walltxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3em; }
.iw-rk__walltxt b { font: 400 calc(var(--u) * 1.7) / 1 'Titan One', sans-serif; letter-spacing: .02em; }
.iw-rk__walltxt span { font: 700 var(--fs-s) / 1.3 'Rubik', sans-serif; opacity: .9; }
.iw-rk__party { display: flex; align-items: center; gap: .6em; padding: .5em .9em .55em .7em; border-radius: calc(var(--u) * .6); background: rgba(20, 16, 32, .85); font: 800 var(--fs-xs) / 1.3 'Rubik', sans-serif; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); }
.iw-rk__party i { flex: none; width: 1.6em; height: 1.6em; color: var(--hv); }
.iw-rk__party i svg { width: 100%; height: 100%; }
.iw-ranked.is-joining .iw-hub__body { pointer-events: none; opacity: .6; }

/* right column: your rank + tabs */
.iw-rk__right { position: absolute; right: calc(var(--u) * 3.4 + var(--sar)); top: calc(var(--u) * 2.4 + var(--sat)); bottom: calc(var(--u) * 6.4 + var(--sab)); width: min(calc(var(--u) * 36), 38vw); display: flex; flex-direction: column; gap: calc(var(--u) * 1.1); pointer-events: auto; }
.iw-rk__me { position: relative; flex: none; display: flex; flex-direction: column; gap: calc(var(--u) * .9); padding: calc(var(--u) * 1.6) calc(var(--u) * 1.4) calc(var(--u) * 1.2); }
.iw-rk__melbl { --tape: var(--a); position: absolute; left: calc(var(--u) * 1.2); top: calc(var(--u) * -1.1); font-size: var(--fs-xs); rotate: -3deg; }
.iw-rk__mewrap { display: grid; grid-template-columns: calc(var(--u) * 9.5) 1fr; gap: calc(var(--u) * 1.2); align-items: center; }
.iw-rk__big { position: relative; display: grid; place-items: center; width: calc(var(--u) * 9.5); height: calc(var(--u) * 9.5); }
.iw-rk__bigimg { width: 100%; height: 100%; filter: drop-shadow(0 calc(var(--u) * .35) 0 rgba(0, 0, 0, .45)); animation: iw-rk-float 3.2s ease-in-out infinite; }
@keyframes iw-rk-float { 50% { translate: 0 calc(var(--u) * -.35); rotate: -2deg; } }
.iw-rk__plcbig { display: inline-flex; align-items: baseline; gap: .1em; padding: .25em .55em .2em; border-radius: calc(var(--u) * .9) calc(var(--u) * .6) calc(var(--u) * 1) calc(var(--u) * .7); background: #fff; color: var(--k); rotate: -4deg; box-shadow: 0 0 0 var(--ol) var(--k), calc(var(--u) * .25) calc(var(--u) * .38) 0 var(--ol) var(--k); }
.iw-rk__plcbig b { font: 400 calc(var(--u) * 3.6) / 1 'Titan One', sans-serif; }
.iw-rk__plcbig small { font: 900 calc(var(--u) * 1.2) / 1 'Rubik', sans-serif; opacity: .7; }
.iw-rk__meinfo { display: flex; flex-direction: column; gap: .35em; min-width: 0; }
.iw-rk__mename { font: 400 calc(var(--u) * 1.9) / 1 'Titan One', sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iw-rk__merank { font: 900 var(--fs-s) / 1 'Rubik', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--hv); }
.iw-rk__memmrrow { display: flex; align-items: baseline; justify-content: space-between; gap: .8em; }
.iw-rk__memmr { font: 400 calc(var(--u) * 1.35) / 1 'Titan One', sans-serif; }
.iw-rk__menext { font: 700 var(--fs-xs) / 1 'Rubik', sans-serif; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-rk__bar { height: calc(var(--u) * .9); }
.iw-rk__mestats { display: flex; gap: calc(var(--u) * 1.3); margin-top: .2em; }
.iw-rk__mestats div { display: flex; flex-direction: column; gap: .25em; }
.iw-rk__mestats b { font: 400 calc(var(--u) * 1.25) / 1 'Titan One', sans-serif; }
.iw-rk__mestats span { font: 800 var(--fs-xs) / 1 'Rubik', sans-serif; letter-spacing: .1em; opacity: .7; }
.iw-rk__fmtseg .iw-seg { width: 100%; }
.iw-rk__side { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.iw-rk__tabs { margin-bottom: calc(var(--u) * .7); }
.iw-rk__tabbody { position: relative; flex: 1; min-height: 0; overflow: auto; padding: calc(var(--u) * .8); border-radius: calc(var(--u) * 1.3) calc(var(--u) * .8) calc(var(--u) * 1.4) calc(var(--u) * .9); background: var(--tex-grain), linear-gradient(175deg, rgba(45, 35, 73, .92), rgba(27, 20, 48, .92)); box-shadow: var(--stk); scrollbar-width: thin; scrollbar-color: var(--a) transparent; }
.iw-rk__tabbody.is-swap { animation: iw-rk-swap .3s var(--out); }
@keyframes iw-rk-swap { 0% { opacity: 0; translate: 0 calc(var(--u) * .5); } }
.iw-rk__list { display: flex; flex-direction: column; gap: calc(var(--u) * .4); }
.iw-rk__row { display: grid; grid-template-columns: calc(var(--u) * 2.4) auto 1fr auto calc(var(--u) * 5.2); align-items: center; gap: calc(var(--u) * .7); padding: calc(var(--u) * .45) calc(var(--u) * .7); border-radius: calc(var(--u) * .7) calc(var(--u) * .45) calc(var(--u) * .75) calc(var(--u) * .5); background: rgba(20, 16, 32, .75);
  font: 700 var(--fs-s) / 1.2 'Rubik', sans-serif; animation: iw-rk-row .35s var(--out) both; animation-delay: calc(var(--i, 0) * 22ms); }
@keyframes iw-rk-row { 0% { opacity: 0; translate: calc(var(--u) * .8) 0; } }
.iw-rk__row.is-me { box-shadow: 0 0 0 2px var(--hv); background: rgba(227, 255, 46, .1); }
.iw-rk__row.is-top .iw-rk__pos { background: #ffd23f; color: var(--k); }
.iw-rk__pos { display: grid; place-items: center; width: calc(var(--u) * 2.2); height: calc(var(--u) * 2.2); border-radius: .5em .35em .55em .4em; background: rgba(255, 255, 255, .12); font: 400 calc(var(--u) * 1.05) / 1 'Titan One', sans-serif; rotate: -4deg; }
.iw-rk__name { display: flex; align-items: center; gap: .5em; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.iw-rk__name small { font: 700 var(--fs-xs) / 1 'Rubik', sans-serif; opacity: .65; }
.iw-rk__wl { display: flex; gap: .4em; font: 700 var(--fs-xs) / 1 'Rubik', sans-serif; opacity: .78; white-space: nowrap; }
.iw-rk__mmr { justify-self: end; font: 400 calc(var(--u) * 1.25) / 1 'Titan One', sans-serif; font-variant-numeric: tabular-nums; }
.iw-rk__mmr.is-up { color: #3ddc84; } .iw-rk__mmr.is-down { color: #ff6b7f; }
.iw-rk__hist { grid-template-columns: calc(var(--u) * 5) 1fr auto calc(var(--u) * 5.2); }
.iw-rk__res { display: grid; place-items: center; padding: .35em .5em; border-radius: .5em .35em .55em .4em; background: #fff; color: var(--k); font: 400 var(--fs-xs) / 1 'Titan One', sans-serif; letter-spacing: .06em; rotate: -3deg; }
.iw-rk__hist.is-win .iw-rk__res { background: #3ddc84; }
.iw-rk__hist.is-loss .iw-rk__res { background: #ff3d5e; color: #fff; }
.iw-rk__hist.is-void { opacity: .6; }
.iw-rk__hist .iw-rk__name { flex-direction: column; align-items: flex-start; gap: .2em; }
.iw-rk__empty { display: flex; flex-direction: column; align-items: center; gap: .5em; padding: calc(var(--u) * 3) calc(var(--u) * 1); text-align: center; }
.iw-rk__empty i { width: calc(var(--u) * 3.4); height: calc(var(--u) * 3.4); color: var(--hv); }
.iw-rk__empty i svg { width: 100%; height: 100%; }
.iw-rk__empty b { font: 400 calc(var(--u) * 1.6) / 1 'Titan One', sans-serif; }
.iw-rk__empty span { font: 700 var(--fs-s) / 1.3 'Rubik', sans-serif; opacity: .78; }
.iw-rk__seasonhead { display: flex; flex-direction: column; gap: .3em; margin: 0 calc(var(--u) * .3) calc(var(--u) * .8); }
.iw-rk__seasonhead b { font: 400 calc(var(--u) * 1.6) / 1 'Titan One', sans-serif; color: var(--hv); }
.iw-rk__seasonhead span { font: 700 var(--fs-xs) / 1.3 'Rubik', sans-serif; opacity: .8; }
.iw-rk__tier { grid-template-columns: calc(var(--u) * 3.6) minmax(0, 1fr) auto; }
.iw-rk__items { display: flex; flex-wrap: wrap; gap: .35em; margin-top: .25em; }
.iw-rk__tierimg { width: calc(var(--u) * 3.6); height: calc(var(--u) * 3.6); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .5)); }
.iw-rk__tier .iw-rk__name { flex-direction: column; align-items: flex-start; gap: .2em; color: var(--tc); white-space: normal; overflow: visible; }
.iw-rk__item { padding: .3em .55em; border-radius: .45em; background: rgba(255, 255, 255, .12); font: 800 var(--fs-xs) / 1 'Rubik', sans-serif; }
.iw-rk__item.is-legend { background: linear-gradient(115deg, #ff4fd8, #ffd25a 45%, #4ff0ff); color: var(--k); }

/* ---------------------------------------------------------------- MATCH FOUND card (ranked.js, on document.body) */
.iw-rka { --k: #15121c; --hv: #e3ff2e; --spring2: cubic-bezier(.26, 1.9, .5, 1); position: fixed; inset: 0; z-index: 62; display: grid; place-items: center; padding: 16px; color: #fff;
  font: 600 14px / 1.4 Rubik, sans-serif; background: radial-gradient(rgba(0, 0, 0, .35) 1.5px, transparent 2px) 0 0 / 8px 8px, rgba(8, 6, 14, .74); animation: iw-rka-fade .22s both; }
.iw-rka.is-leaving { animation: iw-rka-fade .2s reverse both; pointer-events: none; }
.iw-rka.is-leaving .iw-rka__card { animation: iw-rka-out .2s ease-in both; }
@keyframes iw-rka-fade { 0% { opacity: 0; } }
@keyframes iw-rka-in { 0% { opacity: 0; transform: scale(.6) rotate(-6deg); } }
@keyframes iw-rka-out { to { opacity: 0; transform: scale(.85) rotate(3deg); } }
.iw-rka *, .iw-rka *::before, .iw-rka *::after { box-sizing: border-box; }
.iw-rka svg { display: block; overflow: visible; }
.iw-rka__card { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(640px, 94vw); padding: 26px 30px 34px; background: var(--k); border: 3px solid #fff;
  border-radius: 28px 16px 30px 18px; box-shadow: 0 0 0 6px var(--k), 8px 11px 0 6px var(--k), 0 30px 80px rgba(0, 0, 0, .55); animation: iw-rka-in .5s var(--spring2) both; }
.iw-rka__splat { position: absolute; z-index: -1; left: -40px; top: -44px; width: 150px; height: 150px; rotate: -16deg; }
.iw-rka__splat svg { width: 100%; height: 100%; filter: drop-shadow(3px 4px 0 var(--k)); }
.iw-rka__head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.iw-rka__tape { --tape: #ffd23f; font-size: 11px; }
.iw-rka__head h2 { margin: 0; font: 400 clamp(30px, 4.4vw, 46px) / 1 'Titan One', Rubik, sans-serif; color: #fff; -webkit-text-stroke: 7px var(--k); paint-order: stroke fill; rotate: -2deg; text-shadow: 0 6px 0 var(--k); }
.iw-rka__head small { font: 800 12px / 1 Rubik, sans-serif; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.iw-rka__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: 100%; }
.iw-rka__team { display: flex; flex-direction: column; gap: 8px; }
.iw-rka__team.is-a { align-items: flex-end; } .iw-rka__team.is-b { align-items: flex-start; }
.iw-rka__pl { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px 7px 13px 8px; background: #2c2540; box-shadow: 0 3px 0 #0006; }
.iw-rka__pl b { font: 400 16px / 1 'Titan One', Rubik, sans-serif; }
.iw-rka__pl small { padding: 3px 6px; border-radius: 6px; background: var(--hv); color: var(--k); font: 900 10px / 1 Rubik, sans-serif; letter-spacing: .1em; }
.iw-rka__pl.is-you { box-shadow: 0 0 0 2px var(--hv), 0 3px 0 #0006; }
.iw-rka__plc { padding: 4px 7px; border-radius: 6px; background: #ffffff22; font: 900 10px / 1 Rubik, sans-serif; letter-spacing: .08em; }
.iw-rka__vs { position: relative; display: grid; place-items: center; width: 54px; height: 54px; font-style: normal; }
.iw-rka__vs svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.iw-rka__vs svg path, .iw-rka__vs svg circle { fill: #fff; }
.iw-rka__vs b { position: relative; font: 400 18px / 1 'Titan One', Rubik, sans-serif; color: var(--k); }
.iw-rka__ring { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--hv) 0 calc(var(--f, 1) * 360deg), #ffffff22 0); box-shadow: 0 0 0 4px var(--k), 0 0 0 7px #fff; }
.iw-rka__ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--k); }
.iw-rka__ring.is-hot { background: conic-gradient(#ff3d5e 0 calc(var(--f, 1) * 360deg), #ffffff22 0); animation: iw-rka-beat .6s ease-in-out infinite; }
@keyframes iw-rka-beat { 50% { scale: 1.06; } }
.iw-rka__num { position: relative; font: 400 38px / 1 'Titan One', Rubik, sans-serif; font-variant-numeric: tabular-nums; }
.iw-rka__btns { display: flex; gap: 14px; }
.iw-rka__btn { --u: 10px; height: 58px; padding: 0 22px; font: 400 22px / 1 'Titan One', Rubik, sans-serif; }
.iw-rka__btn .iw-btn__sub { opacity: .9; }
.iw-rka__btn.is-accept { --fill: #3ddc84; --fill-ink: var(--k); --bg: #3ddc84; color: var(--k); }
.iw-rka__btn.is-decline { --fill: #ff3d5e; --fill-ink: #fff; }
.iw-rka__btn:hover, .iw-rka__btn:focus-visible { color: var(--fill-ink); transform: translateY(-2px) scale(1.04); outline: none; }
.iw-rka__btn:hover .iw-btn__blob, .iw-rka__btn:focus-visible .iw-btn__blob { transform: translate(-50%, -50%) scale(1); }
.iw-rka__btn:disabled { opacity: .55; pointer-events: none; }
.iw-rka.is-accepted .iw-rka__btn.is-accept { --bg: #3ddc84; color: var(--k); }
.iw-rka__count { font: 900 12px / 1 Rubik, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--hv); }
.iw-rka__note { font: 600 11px / 1.3 Rubik, sans-serif; opacity: .6; text-align: center; }
.iw-rka__drips { position: absolute; left: 10%; right: 40%; top: 100%; height: 26px; pointer-events: none; }
.iw-rka__drips svg { width: 100%; height: 100%; }
.iw-rka__drip { fill: #fff; }
@media (prefers-reduced-motion: reduce) { .iw-rka__card, .iw-rka, .iw-rka__ring.is-hot, .iw-rk__bigimg, .iw-rkcard.is-queued .iw-hubcard__status, .iw-rkcard.is-queued .iw-hubcard__icon > i, .iw-rank--supremo .iw-rank__img, .iw-rank--graomestre .iw-rank__img { animation: none !important; } }

/* ---------------------------------------------------------------- ranked lobby */
.iw-rc--ranked .iw-rc__rkinfo { display: flex; flex-direction: column; gap: .3em; color: #fff; }
.iw-rc--ranked .iw-rc__rkinfo b { font: 400 calc(var(--u) * 1.7) / 1 'Titan One', sans-serif; -webkit-text-stroke: .16em var(--k); paint-order: stroke fill; }
.iw-rc--ranked .iw-rc__rkinfo small { font: 800 var(--fs-xs) / 1 'Rubik', sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.iw-rc--ranked .iw-rc__label > i { color: #ffd23f; }
.iw-rc--ranked .iw-rc__tile { background: #ffd23f; }
.iw-lobby.is-ranked .iw-lock.is-ranked { display: inline-flex; }
.iw-lobby.is-ranked .iw-lock:not(.is-ranked), .iw-lobby.is-ranked .iw-lob__modearrows, .iw-lobby.is-ranked .iw-lstage__arrows, .iw-lobby.is-ranked .iw-rc__edit { display: none !important; }
.iw-lobby.is-ranked .iw-lset__panel .iw-lset:not(.iw-lset--stage) { display: none; }
.iw-lobby.is-ranked .iw-lset { pointer-events: none; }
.iw-lobby.is-ranked .iw-lob__teamprompt, .iw-lobby.is-ranked .iw-lob__copyprompt { display: none; }
.iw-lobby.is-ranked .iw-lob__team.is-locked .iw-seg { display: none; }
.iw-lobby.is-ranked .iw-lob__team.is-locked .iw-lob__squadlock { display: flex; }
.iw-lobby.is-ranked.is-host .iw-btn--ready { display: flex; }
.iw-lobby.is-ranked.is-host .iw-btn--lobstart { display: none; }
.iw-lobby.is-ranked .iw-lob__status .iw-lob__statustxt { background: #ffd23f; color: var(--k); }
.iw-lobby.is-ranked .iw-lob__status.is-allready .iw-lob__statustxt { background: var(--hv); }

/* ---------------------------------------------------------------- results: Elo panel */
.iw-rkres { position: relative; display: flex; flex-direction: column; gap: calc(var(--u) * .5); margin-top: calc(var(--u) * 1); padding: calc(var(--u) * 1.2) calc(var(--u) * 1.3) calc(var(--u) * .9); width: max-content; max-width: calc(var(--u) * 40);
  border-radius: calc(var(--u) * 1.3) calc(var(--u) * .8) calc(var(--u) * 1.4) calc(var(--u) * .9); background: var(--tex-grain), rgba(14, 11, 22, .92); color: #fff; box-shadow: var(--stk); rotate: -1deg; }
.iw-rkres__tape { --tape: #ffd23f; position: absolute; left: calc(var(--u) * 1); top: calc(var(--u) * -1.1); font-size: var(--fs-xs); rotate: -3deg; }
.iw-rkres__body { display: flex; align-items: center; gap: calc(var(--u) * 1); min-height: calc(var(--u) * 5); }
.iw-rkres__wait { display: flex; align-items: center; gap: .7em; font: 800 var(--fs-s) / 1 'Rubik', sans-serif; opacity: .85; }
.iw-rkres__dots { width: 1.2em; height: 1.2em; border-radius: 50%; border: 3px solid #ffffff44; border-top-color: #ffd23f; animation: iw-spin 1s linear infinite; }
.iw-rkres__badge { width: calc(var(--u) * 5.4); height: calc(var(--u) * 5.4); filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .5)); animation: iw-pop .5s var(--spring2) both; }
.iw-rkres__plc { display: inline-flex; align-items: baseline; gap: .1em; padding: .25em .5em .2em; border-radius: calc(var(--u) * .7) calc(var(--u) * .45) calc(var(--u) * .75) calc(var(--u) * .5); background: #fff; color: var(--k); rotate: -4deg; box-shadow: 0 0 0 2px var(--k), 3px 4px 0 2px var(--k); }
.iw-rkres__plc b { font: 400 calc(var(--u) * 2.2) / 1 'Titan One', sans-serif; }
.iw-rkres__plc small { font: 900 var(--fs-xs) / 1 'Rubik', sans-serif; opacity: .7; }
.iw-rkres__txt { display: flex; flex-direction: column; gap: .3em; }
.iw-rkres__rank { font: 400 calc(var(--u) * 1.6) / 1 'Titan One', sans-serif; color: #ffd23f; }
.iw-rkres__mmr { display: flex; align-items: baseline; gap: .4em; font: 400 calc(var(--u) * 1.5) / 1 'Titan One', sans-serif; font-variant-numeric: tabular-nums; }
.iw-rkres__mmr small { font-size: .8em; opacity: .65; }
.iw-rkres__mmr i { align-self: center; width: 1em; height: 1em; opacity: .7; }
.iw-rkres__mmr i svg { width: 100%; height: 100%; }
.iw-rkres__delta { margin-left: .3em; padding: .2em .5em .22em; border-radius: .4em .3em .45em .3em; font: 400 .85em / 1 'Titan One', sans-serif; font-style: normal; rotate: -4deg; box-shadow: 0 0 0 2px var(--k); animation: iw-pop .5s var(--spring2) both .15s; }
.iw-rkres__delta.is-up { background: #3ddc84; color: var(--k); } .iw-rkres__delta.is-down { background: #ff3d5e; color: #fff; }
.iw-rkres__pos { font: 700 var(--fs-xs) / 1 'Rubik', sans-serif; opacity: .72; }
.iw-rkres__stamp { position: absolute; right: calc(var(--u) * -1.2); top: calc(var(--u) * -1.4); padding: .4em .8em .42em; border-radius: .5em .35em .55em .4em; font: 400 calc(var(--u) * 1.3) / 1 'Titan One', sans-serif; letter-spacing: .04em; rotate: 6deg; box-shadow: 0 0 0 3px var(--k), 3px 4px 0 3px var(--k); animation: iw-pop .6s var(--spring2) both .3s; }
.iw-rkres__stamp.is-up { background: #ffd23f; color: var(--k); } .iw-rkres__stamp.is-down { background: #8d939d; color: var(--k); }
.iw-rkres__void { display: flex; align-items: center; gap: .6em; font: 800 var(--fs-s) / 1.2 'Rubik', sans-serif; color: #ff8ea0; }
.iw-rkres__void i { width: 1.4em; height: 1.4em; } .iw-rkres__void i svg { width: 100%; height: 100%; }
.iw-results.is-lose .iw-rkres__rank { color: #ece8f6; }
