/* Rented rooms (js/rent.js): the list, my room, the packages, a room's card; the name on the table; the owner's and
   moderators' sign on a seat; a rented room on Leaders */
.rent { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.rent-tabs { display: flex; gap: 6px; }
.rent-tab { flex: 1; height: 36px; border-radius: 18px; background: #f3edfd; color: #6b5b95; font-weight: 800; font-size: 13px; }
.rent-tab.on { background: linear-gradient(180deg, #9b6bff, #7048e8); color: #fff; box-shadow: 0 3px 8px rgba(112, 72, 232, .3); }
.rent-box { display: flex; flex-direction: column; gap: 8px; }
.rent-list { display: flex; flex-direction: column; gap: 8px; }
.rent-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid #efe7fb; box-shadow: 0 2px 6px rgba(57, 45, 96, .06); }
.rent-row.closed { opacity: .7; }
.rent-row.grace { border-color: #ffd8a8; background: #fff9f0; }
.rent-pic { flex: 0 0 54px; height: 54px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.rent-pic.big { flex-basis: 76px; height: 76px; border-radius: 16px; }
.rent-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rent-mid b, .rent-title { font-size: 15px; font-weight: 800; color: #2b2340; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; overflow-wrap: anywhere; }
.rent-mid small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #8b84a3; min-width: 0; }
.rent-ava { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.rent-grace { font-style: normal; color: #e8590c; font-weight: 700; }
.rent-people { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: #6b5b95; }
.rent-go { flex: 0 0 auto; height: 32px; padding: 0 14px; border-radius: 16px; background: linear-gradient(180deg, #5fd36a, #2fb344); color: #fff; font-size: 12.5px; font-weight: 800; }
.rent-more { flex: 0 0 32px; height: 32px; border-radius: 50%; background: #f3edfd; font-size: 15px; }
.rent-empty { padding: 36px 16px; text-align: center; color: #8b84a3; }
.rent-empty span { font-size: 42px; }
.rent-sub { margin-top: 6px; font-size: 13px; font-weight: 800; color: #4a3f6b; }
.rent-hint { margin: 0; font-size: 12px; color: #8b84a3; }
.rent-hero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px 12px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, #7b4dff, #c84fd8); color: #fff; box-shadow: 0 6px 16px rgba(112, 72, 232, .25); }
.rent-hero-ico { font-size: 40px; line-height: 1; }
.rent-hero b { font-size: 17px; font-weight: 800; }
.rent-hero small { font-size: 12.5px; opacity: .9; }
.rent-gains { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-top: 8px; }
.rent-gain { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 700; }
.rent-gain i { font-style: normal; }
.rent-pkgs { display: flex; flex-direction: column; gap: 8px; }
.rent-pkg { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid #efe7fb; box-shadow: 0 2px 6px rgba(57, 45, 96, .06); }
.rent-pkg.hot { border-color: #b197fc; }
.rent-pkg-ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: #f3edfd; }
.rent-pkg-img { flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; }
.rent-pkg-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rent-pkg-mid b { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #2b2340; }
.rent-pkg-mid small { font-size: 12px; color: #8b84a3; }
.rent-pkg-badge { padding: 1px 7px; border-radius: 9px; background: #f03e3e; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; }
.rent-pkg-btns { flex: 0 0 96px; display: flex; flex-direction: column; gap: 5px; }
.rent-buy { height: 30px; border-radius: 15px; background: linear-gradient(180deg, #ffd43b, #fab005); color: #5c3c00; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.rent-buy.money { background: linear-gradient(180deg, #9b6bff, #7048e8); color: #fff; }
.rent-buy:disabled { opacity: .5; }
.rent-st { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rent-pill { flex: 0 0 auto; padding: 1px 8px; border-radius: 9px; font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; background: #adb5bd; }
.rent-pill.active { background: #2fb344; }
.rent-pill.grace { background: #f76707; }
.rent-pill.new { background: #fab005; }
.rent-go.renew { background: linear-gradient(180deg, #9b6bff, #7048e8); }
.rent-new { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: #fff9db; border: 1px solid #ffe066; }
.rent-new small { color: #8a6d00; font-size: 12px; }
.rent-input { height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid #ddd2f3; background: #fff; font-size: 14px; min-width: 0; }
.rent-head { display: flex; align-items: center; gap: 12px; }
.rent-rename { display: flex; gap: 6px; }
.rent-rename .rent-input { flex: 1; }
.rent-mods, .rent-bans { display: flex; flex-direction: column; gap: 6px; }
.rent-mod, .rent-ban { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: #fff; border: 1px solid #efe7fb; }
.rent-mod span { flex: 1; font-weight: 700; font-size: 13px; }
.rent-mod .rent-ava, .rent-ban .rent-ava { width: 30px; height: 30px; }
.rent-x { width: 28px; height: 28px; border-radius: 50%; background: #fff0f0; color: #e03131; font-weight: 800; }
.rent-lift { height: 28px; padding: 0 12px; border-radius: 14px; background: #ebfbee; color: #2b8a3e; font-weight: 800; font-size: 12px; }
.rent-pickrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rent-pick { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 4px; border-radius: 16px; background: #f3edfd; font-size: 12.5px; font-weight: 700; color: #4a3f6b; }

/* the name of a rented room on its table */
.table .rent-name { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 6; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; max-width: 260px;
  height: 28px; padding: 0 12px; border-radius: 14px; background: rgba(20, 12, 40, .62); color: #fff; font-size: 13px; backdrop-filter: blur(3px); }
.table .rent-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }

/* the owner (🏠) and a room moderator (🛡️) on their seat: the photo's top corner opposite the league icon */
.seat .seat-rent { position: absolute; top: 0; left: 0; z-index: 3; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -9px; margin-left: -9px;
  border-radius: 50%; font-size: 13px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
@media (min-width: 1400px) { .seat .seat-rent { width: 32px; height: 32px; font-size: 17px; margin-top: -14px; margin-left: -12px; } }
.seat .seat-rent.owner { background: linear-gradient(180deg, #ffe066, #fab005); }
.seat .seat-rent.mod { background: linear-gradient(180deg, #d0bfff, #9775fa); }

/* a rented room on Leaders */
.ld7-rent { display: flex; flex-direction: column; min-width: 0; }
.ld7-rent b { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
.ld7-rent small { font-size: 11px; color: #8b84a3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld7-door.off { opacity: .45; }
.rent-card .rent-head { flex-wrap: wrap; }
.rent-card .rent-head .rent-go { flex: 1 0 100%; height: 36px; }

/* a room action in the table chat (js/rent.js modCard): a kick-like card, coloured by what was done */
.rm-card.expel { background: linear-gradient(135deg, #9a3412, #f97316); }
.rm-card.ban { background: linear-gradient(135deg, #7a0f24, #c2183a); }
.rm-card.mute { background: linear-gradient(135deg, #4c1d95, #8b5cf6); }
.rm-card.music { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.rm-card.lift { background: linear-gradient(135deg, #0f6b3a, #1f9d55); }
.rm-card .pk-ph img { border-color: rgba(255, 255, 255, .85); box-shadow: none; }
.rm-card .kc-mid { max-width: 170px; }
.rm-time { font-size: 14px; font-weight: 800; }
.rm-by { font-size: 10.5px; font-weight: 700; opacity: .9; }
.rm-reason { font-size: 11px; font-style: italic; opacity: .95; overflow-wrap: anywhere; }

/* muted in a rented room: the bar on top of the table chat, with the time left */
.has-mutebar { position: relative; }
.rm-mutebar { position: absolute; top: 6px; left: 10px; right: 10px; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: linear-gradient(135deg, #4c1d95, #8b5cf6); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 3px 10px rgba(76, 29, 149, .3); }
.rm-mutebar b { padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, .2); font-variant-numeric: tabular-nums; }
/* kept from songs: the window with the time left */
.rm-pop { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 320px; text-align: center; }
.rm-pop-ico { font-size: 40px; }
.rm-pop-title { font-size: 17px; color: #1e3a8a; }
.rm-pop p { margin: 0; font-size: 13.5px; color: #4a3f6b; }
.rm-pop-time { padding: 6px 14px; border-radius: 12px; background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.rm-pop-reason { color: #8b84a3; font-style: italic; }
.rm-pop .btn { min-width: 120px; margin-top: 4px; }

/* a room's name keeps its own direction (a Russian or English name in the Arabic game, and the other way round) */
.rent-mid b, .rent-title, .ld7-rent b, .table .rent-name b { unicode-bidi: plaintext; }
.rent-force { font-style: normal; color: #e03131; font-weight: 800; margin-inline-start: 6px; }


/* a rented room on Leaders: its owner (photo and name) under its name */
.ld7-rent-sub { display: flex; align-items: center; gap: 6px; margin-top: 3px; min-width: 0; }
.ld7-rent-owner { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; padding: 2px 8px 2px 2px; border-radius: 12px;
  background: linear-gradient(135deg, #fff3bf, #ffe066); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ld7-rent-owner img { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; border: 1.5px solid #fff; }
.ld7-rent-owner span { font-size: 11.5px; font-weight: 800; color: #5c3c00; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.ld7-rent-people { flex: 0 0 auto; font-size: 11px; font-weight: 800; color: #6b5b95; }
.ld7-rent-sub { flex-wrap: wrap; row-gap: 2px; }
.ld7-rent-owner { flex: 0 1 auto; }
.rent-force { white-space: nowrap; }
.rent-tab { line-height: 1.15; }
.ld7-rent-owner { border-radius: 10px; }
.ld7-rent-owner span { white-space: normal; overflow-wrap: anywhere; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Leaders -> Rented rooms: each room a card of its own, its picture behind */
.lr-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 104px; margin: 0 0 10px; padding: 12px 12px 12px 14px;
  border-radius: 18px; overflow: hidden; color: #fff; box-shadow: 0 6px 16px rgba(40, 20, 80, .22); }
.lr-card.p1 { box-shadow: 0 0 0 3px #ffd43b, 0 8px 20px rgba(250, 176, 5, .35); }
.lr-card.p2 { box-shadow: 0 0 0 3px #dee2e6, 0 6px 16px rgba(40, 20, 80, .22); }
.lr-card.p3 { box-shadow: 0 0 0 3px #e8a87c, 0 6px 16px rgba(40, 20, 80, .22); }
.lr-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 45, .82) 0%, rgba(20, 10, 45, .55) 55%, rgba(20, 10, 45, .78) 100%); }
[dir="rtl"] .lr-shade { background: linear-gradient(270deg, rgba(20, 10, 45, .82) 0%, rgba(20, 10, 45, .55) 55%, rgba(20, 10, 45, .78) 100%); }
.lr-card > :not(.lr-shade) { position: relative; }
.lr-place { flex: 0 0 auto; display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; font-size: 24px; font-weight: 800;
  background: rgba(255, 255, 255, .16); }
.lr-card:not(.p1):not(.p2):not(.p3) .lr-place { font-size: 16px; border: 2px solid rgba(255, 255, 255, .6); }
.lr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lr-name { font-size: 17px; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); overflow-wrap: anywhere; unicode-bidi: plaintext;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lr-owner { align-self: flex-start; display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 3px 12px 3px 3px; border-radius: 22px;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(4px); color: #fff; text-align: start; }
[dir="rtl"] .lr-owner { padding: 3px 3px 3px 12px; }
.lr-owner img { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #ffd43b; }
.lr-owner span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.lr-owner small { font-size: 10px; font-weight: 700; color: #ffe066; }
.lr-owner b { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.lr-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lr-pts, .lr-ppl { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.lr-pts { background: linear-gradient(180deg, #ffd43b, #fab005); color: #5c3c00; }
.lr-pts i { font-style: normal; }
.lr-ppl { background: rgba(255, 255, 255, .2); }
.lr-door { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(180deg, #5fd36a, #2fb344); font-size: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .3); cursor: pointer; }
.lr-door.off { background: rgba(255, 255, 255, .25); cursor: default; }

/* a room's card (js/rent.js roomCard): the banner, then one card per part */
.rent-card { gap: 12px; }
.rc-hero { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 170px; padding: 14px; border-radius: 20px; overflow: hidden; color: #fff;
  box-shadow: 0 8px 22px rgba(40, 20, 80, .28); }
.rc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 45, .35) 0%, rgba(20, 10, 45, .55) 45%, rgba(20, 10, 45, .9) 100%); }
.rc-hero > :not(.rc-shade) { position: relative; }
.rc-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-badge { padding: 3px 10px; border-radius: 12px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(4px); font-size: 11.5px; font-weight: 800; }
.rc-hero .rent-st { padding: 3px 8px; border-radius: 12px; background: rgba(0, 0, 0, .35); font-size: 11px; color: #fff; }
.rc-title { margin-top: auto; font-size: 22px; font-weight: 800; line-height: 1.2; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); overflow-wrap: anywhere; unicode-bidi: plaintext; }
.rc-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-owner { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 12px 3px 3px; border-radius: 24px; background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(4px); color: #fff; text-align: start; }
[dir="rtl"] .rc-owner { padding: 3px 3px 3px 12px; }
.rc-owner img { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #ffd43b; }
.rc-owner span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.rc-owner small { font-size: 10.5px; font-weight: 700; color: #ffe066; }
.rc-owner b { font-size: 13.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; unicode-bidi: plaintext; }
.rc-enter { flex: 0 0 auto; height: 38px; padding: 0 16px; border-radius: 19px; background: linear-gradient(180deg, #5fd36a, #2fb344); color: #fff; font-weight: 800; font-size: 13.5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.rc-sec { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid #efe7fb; box-shadow: 0 2px 8px rgba(57, 45, 96, .06); }
.rc-sec-head { display: flex; align-items: center; gap: 8px; }
.rc-sec-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: #f3edfd; font-size: 15px; }
.rc-sec-head b { flex: 1; font-size: 14.5px; font-weight: 800; color: #2b2340; }
.rc-count { padding: 2px 9px; border-radius: 10px; background: #7048e8; color: #fff; font-size: 11.5px; font-weight: 800; }
.rc-tip { margin: 0; padding: 8px 10px; border-radius: 10px; background: #f8f5ff; font-size: 12px; color: #6b5b95; line-height: 1.4; }
.rc-empty { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #f8f9fa; color: #868e96; }
.rc-empty span { font-size: 18px; opacity: .7; }
.rc-list { display: flex; flex-direction: column; gap: 8px; }
.rc-person { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: #faf8ff; border: 1px solid #f1ebfc; }
.rc-person > img { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rc-person-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rc-person-mid b { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #2b2340; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.rc-person-mid small { font-size: 11.5px; color: #8b84a3; }
.rc-reason { font-style: italic; }
.rc-kind { padding: 1px 7px; border-radius: 8px; font-size: 10px; font-style: normal; font-weight: 800; color: #fff; background: #adb5bd; }
.rc-kind.ban { background: #e03131; }
.rc-kind.mute { background: #7048e8; }
.rc-kind.music { background: #1c7ed6; }
.rc-x { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: #fff0f0; color: #e03131; font-weight: 800; }
.rc-add small { font-size: 12px; color: #6b5b95; }

/* Leaders -> Rented rooms: "More", and the banner to rent one's own room */
.lr-more { align-self: center; display: block; margin: 2px auto 12px; height: 34px; padding: 0 22px; border-radius: 17px; background: #f3edfd; color: #6741d9;
  font-weight: 800; font-size: 13px; border: 1px solid #e5dbff; }
.lr-banner { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 12px; padding: 14px; border-radius: 18px; color: #fff; text-align: start;
  background: linear-gradient(135deg, #7b4dff 0%, #c84fd8 60%, #ff6b9a 100%); box-shadow: 0 8px 20px rgba(123, 77, 255, .35); position: relative; overflow: hidden; }
.lr-banner::after { content: ''; position: absolute; inset: -40% -10% auto auto; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lr-banner-ico { flex: 0 0 auto; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .2); font-size: 30px; }
.lr-banner-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lr-banner-mid b { font-size: 15.5px; font-weight: 800; }
.lr-banner-mid small { font-size: 12px; opacity: .92; line-height: 1.35; }
.lr-banner-go { flex: 0 0 auto; padding: 7px 12px; border-radius: 14px; background: #fff; color: #7048e8; font-size: 12.5px; font-weight: 800; position: relative; z-index: 1; }

.rm-card.modadd { background: linear-gradient(135deg, #b8860b, #f5c542); }
.rm-card.modremove { background: linear-gradient(135deg, #495057, #868e96); }

/* a person in a room's card: the photo and the name open their profile */
.rc-face { flex: 0 0 auto; padding: 0; border-radius: 50%; background: none; cursor: pointer; }
.rc-face img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
button.rc-person-mid { background: none; padding: 0; text-align: start; cursor: pointer; color: inherit; }
.rc-face:hover img, button.rc-person-mid:hover b { filter: brightness(1.08); text-decoration: underline; }

/* the rented rooms' screen: each room the same card as on Leaders */
.rent-list { gap: 0; }
.rl-card.closed { filter: grayscale(.55); }
.rl-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rl-pills .rent-st { padding: 3px 8px; border-radius: 12px; background: rgba(0, 0, 0, .35); font-size: 11px; color: #fff; }
.rl-pills .lr-ppl.force { background: rgba(224, 49, 49, .85); }
.lr-door.gear { background: rgba(255, 255, 255, .25); }
.rl-renew { height: 36px; padding: 0 14px; border-radius: 18px; background: linear-gradient(180deg, #9b6bff, #7048e8); color: #fff; font-weight: 800; font-size: 12.5px; }

/* a muted player's / a song-banned player's seat: the crossed-out sign in the middle of the photo (both: side by side) */
.seat .seat-bans { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 4; display: flex; gap: 6px; pointer-events: none; }
.seat .seat-ban { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(20, 10, 40, .72); border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .45); }
.seat .seat-ban i { font-style: normal; font-size: 21px; line-height: 1; filter: grayscale(.2); }
.seat .seat-ban::after { content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: 4px; border-radius: 2px; background: #ff3b3b;
  transform: translate(-50%, -50%) rotate(-45deg); box-shadow: 0 0 0 1.5px #fff; }
.seat .seat-ban.chat { background: rgba(76, 29, 149, .82); }
.seat .seat-ban.song { background: rgba(30, 58, 138, .82); }
.seat .seat-bans.both .seat-ban { width: 36px; height: 36px; }
.seat .seat-bans.both .seat-ban i { font-size: 17px; }
@media (max-width: 950px) {
  .seat .seat-ban { width: 30px; height: 30px; border-width: 1.5px; }
  .seat .seat-ban i { font-size: 15px; }
  .seat .seat-bans.both .seat-ban { width: 26px; height: 26px; }
  .seat .seat-bans.both .seat-ban i { font-size: 13px; }
  .seat .seat-ban::after { height: 3px; }
}

/* a room card's stats (Leaders and the rooms list): one tidy row of pills; the door alone at the end, centred */
.lr-body { gap: 7px; }
.lr-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lr-pts, .lr-ppl { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12.5px; font-weight: 800; line-height: 1; }
.lr-pts { background: linear-gradient(180deg, #ffd43b, #fab005); color: #5c3c00; }
.lr-ppl { background: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(3px); }
.lr-pts i, .lr-ppl i { display: inline-flex; font-style: normal; font-size: 13px; }
.lr-pts b, .lr-ppl b { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.lr-side { align-self: center; flex-direction: column; justify-content: center; gap: 8px; }
.lr-door { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; }
.lr-card { gap: 12px; padding: 14px; }
.lr-place { align-self: center; }

/* a rented room's rules: the line on top of its table chat, and its window */
.rm-rules { position: static; display: flex; align-items: center; gap: 8px; width: calc(100% - 12px); margin: 6px auto 8px; padding: 9px 12px;
  border-radius: 14px; background: linear-gradient(135deg, #fff8e1, #ffecb3); border: 1px solid #ffd54f; color: #5c3c00; text-align: start;
  box-shadow: 0 2px 8px rgba(255, 193, 7, .25); }
.rm-rules-ico { flex: 0 0 auto; font-size: 18px; }
.rm-rules-text { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; line-height: 1.4; }
.rm-rules-link { flex: 0 0 auto; padding: 4px 10px; border-radius: 12px; background: #f59f00; color: #fff; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.rm-rules-panel p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #3d3555; }
.rm-rules-warn { padding: 8px 10px; border-radius: 10px; background: #fff4e6; color: #a35200 !important; font-weight: 700; }
.rm-rules-btn { align-self: flex-start; height: 34px; padding: 0 14px; border-radius: 17px; background: #f3edfd; color: #6741d9; font-weight: 800; font-size: 13px; }
.rm-rules-btn.primary { background: linear-gradient(180deg, #9b6bff, #7048e8); color: #fff; }
