/* Жители замка (этап 6, js/screens/residents.js): места в постройке, Ратуша (наём и список), карточка жителя.
   Приставка rd- (rs- — у окна Академии). Размеры — в пикселях сцены 1280×720 (720×1280 стоя). */

.rd-modal .note { color: var(--muted); font-size: 14px; line-height: 1.35; margin: 6px 0; }
.rd-modal .sect { margin: 14px 0 8px; }

/* лицо жителя: значок ремесла в круге цвета звёзд; у именитого — золотая рамка */
.rd-face {
  width: 44px; height: 44px; border-radius: 22px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 35%, #34445e, #10141c); border: 2px solid var(--sc, #9aa3ad);
}
.rd-face.named { border-color: #ffd36a; box-shadow: 0 0 0 2px rgba(255, 211, 106, 0.35), 0 0 12px rgba(255, 196, 90, 0.6); }
.rd-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rd-who b { font-size: 16px; color: var(--w-hi, #fff3d0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-who b.named { color: var(--w-gold, #ffd36a); } /* светлое окно — тёмное золото (--w-*, css/kod.css .modal) */
.rd-meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-meta i { font-style: normal; letter-spacing: -1px; }

/* постройка: картинка и что дают жители */
.rd-top { display: flex; gap: 16px; align-items: center; }
.rd-top img { width: 132px; height: 100px; object-fit: contain; flex-shrink: 0; }
.rd-top p { margin: 0 0 6px; }
.rd-sum { color: var(--w-good, #9fe0a8); font-weight: 700; font-size: 17px; }

/* портрет жителя (аудит 07.11 zamok-03 — был значок ремесла): картинка во всю «рожицу», рамка — цвет звёзд */
.rd-face.pic { background: #1c2430; overflow: hidden; }
.rd-face.pic > img.rd-pic { width: 100%; height: 100%; object-fit: cover; display: block; }

/* карточки жителей (места постройки, все жители Ратуши): портрет во всю ширину карточки, звёзды на нём, имя одной
   строкой, ремесло значком, ниже — прибавка или «без дела»; свободное место — пунктиром «Свободно» */
.rd-seats, .rd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; margin: 12px 0 10px; }
.rd-pc {
  position: relative; min-width: 0; box-sizing: border-box; padding: 8px 8px 10px; border-radius: 16px; display: flex;
  flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer;
  background: linear-gradient(#ffffff, #d9e2ed); border: 3px solid var(--sc, #9aa3ad);
  box-shadow: 0 3px 0 rgba(40, 52, 70, 0.35), inset 0 1px 0 #fff; color: var(--text);
}
.rd-pc.s3 { --sc: #4f8fd6; } .rd-pc.s4 { --sc: #a565d8; } .rd-pc.s5, .rd-pc.named { --sc: #e0a83a; }
.rd-pc.s4 { box-shadow: 0 3px 0 rgba(40, 52, 70, 0.35), 0 0 14px rgba(165, 101, 216, 0.55); }
.rd-pc.s5, .rd-pc.named { box-shadow: 0 3px 0 rgba(40, 52, 70, 0.35), 0 0 16px rgba(224, 168, 58, 0.7); }
.rd-pp { position: relative; width: 100%; max-width: 150px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.rd-pc .rd-pp .rd-face { width: 100%; height: 100%; border-radius: 12px; border-width: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
.rd-pc .rd-pp .rd-face:not(.pic) > svg { width: 56%; height: 56%; }
.rd-pc .rd-pp .rd-st {
  position: absolute; left: 0; right: 0; bottom: 2px; font-style: normal; font-size: 22px; letter-spacing: -1px; line-height: 1;
  text-shadow: 0 1px 0 #000, 0 0 3px #000, 0 0 6px rgba(0, 0, 0, 0.8);
}
.rd-pc .rd-nm { max-width: 100%; font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-pc.named .rd-nm { color: var(--w-gold, #a86a10); }
.rd-cr { display: flex; align-items: center; justify-content: center; gap: 4px; max-width: 100%; color: var(--muted); font-size: 14px; }
.rd-cr > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-cr > :is(svg, img) { flex: none; }
.rd-pc .v { color: var(--w-good, #23803e); font-weight: 700; font-size: 18px; }
.rd-pc .rd-wk { color: var(--muted); font-size: 14px; }
.rd-pc.empty { cursor: default; border-style: dashed; border-color: rgba(120, 100, 60, 0.55); background: rgba(255, 255, 255, 0.35); box-shadow: none; color: var(--w-accent, var(--bronze-l)); }
.rd-pc.empty .rd-pp { opacity: 0.85; }
.rd-pc.locked { color: var(--muted); }
.rd-x {
  position: absolute; top: 4px; right: 4px; z-index: 1; width: 30px; height: 30px; border-radius: 15px; border: 1px solid rgba(0, 0, 0, 0.25);
  background: rgba(20, 26, 36, 0.72); color: #fff; font-size: 14px; cursor: pointer; padding: 0;
}
.rd-act { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }

/* итог постройки: крупно прибавка и «занято / мест» */
.rd-tops { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.rd-big-v, .rd-seatn, .rd-capn { display: inline-flex; align-items: center; gap: 8px; }
.rd-big-v b { font-size: 34px; color: var(--w-good, #23803e); }
.rd-seatn b, .rd-capn b { font-size: 28px; }
.rd-seatn span, .rd-capn span { color: var(--muted); font-size: 15px; }
.rd-help p { margin: 0 0 10px; line-height: 1.4; }

/* списки: кого поставить, все жители */
.rd-list { display: flex; flex-direction: column; gap: 6px; }
.rd-row {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; cursor: pointer;
  background: var(--w-well, rgba(16, 20, 28, 0.55)); border: 1px solid var(--w-line, var(--bronze-d));
}
.rd-row .w { color: var(--muted); font-size: 14px; white-space: nowrap; min-width: 120px; text-align: right; }
.rd-row .v { color: var(--w-good, #9fe0a8); font-weight: 700; min-width: 58px; text-align: right; }

/* Ратуша */
.rd-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.rd-tabs .tab, .rd-chips .chip {
  padding: 8px 18px; border-radius: 8px; border: 1px solid var(--w-line, rgba(192, 138, 62, 0.35)); background: var(--w-well, rgba(0, 0, 0, 0.25));
  color: var(--muted); font-size: 16px; cursor: pointer;
}
.rd-tabs .tab.on, .rd-chips .chip.on { color: var(--w-hi, #fff3d0); border-color: var(--bronze-l); background: rgba(192, 138, 62, 0.2); }
.rd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rd-chips .chip { padding: 5px 12px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.rd-chips .chip b { font-size: 16px; }
.rd-cap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rd-cap .rd-capn { flex: 1; }
.rd-lost { color: var(--w-gold, #a86a10); font-size: 14px; margin: 0 0 10px; }

/* наём: сверху афиша — три портрета веером и «жителей N / M» крупно; бесплатный наём — золотая кнопка; грамоты —
   ячейкой с числом и две кнопки; шансы — плашками по звёздам с крупным процентом */
.rd-hire { display: flex; flex-direction: column; gap: 12px; }
.rd-hero { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 6px 0 2px; }
.rd-hps { display: flex; align-items: flex-end; }
.rd-hp {
  width: 118px; height: 118px; margin-inline-start: -26px; border-radius: 50%; overflow: hidden; border: 4px solid #fff3d0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35); background: #1c2430; transform: rotate(calc((var(--i) - 1) * 7deg));
}
.rd-hp:first-child { margin-inline-start: 0; }
.rd-hp:nth-child(2) { width: 140px; height: 140px; z-index: 1; }
.rd-hp > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-free, .rd-tk {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px;
  background: var(--w-well, rgba(16, 20, 28, 0.55)); border: 1px solid var(--bronze);
}
.rd-free b { flex: 1; font-size: 18px; }
.rd-free .tm { font-weight: 700; font-size: 22px; color: var(--w-accent, var(--bronze-l)); }
.rd-tk .ic-cell { flex: none; }
.rd-tk .btn { flex: 1 1 auto; }
.rd-odds { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rd-oc {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: 6px 10px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.55); border: 2px solid var(--sc); box-sizing: border-box;
}
.rd-oc i { font-style: normal; color: var(--sc); font-size: 16px; letter-spacing: -1px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35); }
.rd-oc b { font-size: 22px; }

/* карточка жителя: крупный портрет слева */
.rd-big { display: flex; gap: 16px; align-items: flex-start; }
.rd-big .rd-face { width: 150px; height: 150px; border-radius: 18px; flex: none; }
.rd-big p { margin: 0 0 8px; line-height: 1.4; }
.rd-stars { font-size: 24px; margin-bottom: 8px; }
.rd-stars span { font-size: 15px; color: var(--muted); margin-left: 6px; }
.rd-story { font-style: italic; color: var(--w-hi, #5a4020); border-left: 3px solid #ffd36a; padding-left: 10px; }

/* «Новый житель» — заставка: портрет крупно в рамке цвета звёзд, за ним — свет; карточки вылетают по одной с
   перелётом масштаба (конечная анимация; «уменьшить движение» — сразу на месте) */
.rd-got { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 6px 0 4px; }
.rd-gcard {
  position: relative; width: 190px; box-sizing: border-box; padding: 12px 10px 14px; border-radius: 18px; display: flex; flex-direction: column;
  align-items: center; gap: 4px; text-align: center; background: linear-gradient(#ffffff, #dde6f0); border: 3px solid var(--sc, var(--bronze));
  box-shadow: 0 4px 0 rgba(40, 52, 70, 0.35); animation: rd-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; animation-delay: var(--d, 0s);
}
.rd-got.one .rd-gcard { width: 300px; }
.rd-gcard .rd-gl {
  position: absolute; left: 50%; top: 16px; width: 200px; height: 200px; margin-left: -100px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff 0, var(--sc) 30%, transparent 68%); opacity: 0.45;
}
.rd-gcard .rd-face { position: relative; width: 150px; height: 150px; border-radius: 20px; border-width: 3px; }
.rd-got.one .rd-gcard .rd-face { width: 230px; height: 230px; }
.rd-got.one .rd-gcard .rd-gl { width: 320px; height: 320px; margin-left: -160px; top: 0; }
.rd-gcard .rd-st { position: relative; font-style: normal; color: var(--sc); font-size: 26px; letter-spacing: -1px; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45); margin-top: -18px; }
.rd-gcard b { position: relative; font-size: 18px; }
.rd-gcard .tr { position: relative; font-size: 14px; color: var(--muted); }
.rd-gcard.s4 { box-shadow: 0 4px 0 rgba(40, 52, 70, 0.35), 0 0 18px rgba(165, 101, 216, 0.6); }
.rd-gcard.s5, .rd-gcard.named { box-shadow: 0 4px 0 rgba(40, 52, 70, 0.35), 0 0 24px rgba(255, 196, 90, 0.85); }
.rd-gcard.named b { color: #a86a10; }
@keyframes rd-pop { 0% { transform: scale(0.3) translateY(40px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
html.kod-still .rd-gcard { animation: none; }

/* стоя: карточки — по три в ряд, имена и итоги — 20+; подписи не мельче --fs-min */
body.vertical .rd-seats, body.vertical .rd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.vertical .rd-pc .rd-nm { font-size: var(--fs-sub); }
body.vertical .rd-who b { font-size: var(--fs-list); } /* «Кого поставить»: имя жителя в строке (было 16) */
body.vertical :is(.rd-cr, .rd-pc .rd-wk) { font-size: var(--fs-min); }
body.vertical .rd-pc .v { font-size: var(--fs-sub); }
body.vertical .rd-pc .rd-pp .rd-st { font-size: 24px; }
body.vertical .rd-free b { font-size: var(--fs-list); } /* «Бесплатный наём готов» — и во вкладке «Жители» окна призыва */
body.vertical :is(.rd-seatn span, .rd-capn span, .rd-lost, .rd-chips .chip, .rd-modal .note) { font-size: var(--fs-sub); }
body.vertical :is(.rd-meta, .rd-row .w, .rd-gcard .tr, .rd-stars span, .rd-x, .rd-oc i) { font-size: var(--fs-min); }
body.vertical .rd-oc b { font-size: var(--fs-num); }
body.vertical .rd-top img { width: 150px; height: 116px; }
body.vertical .rd-row { flex-wrap: wrap; }
body.vertical .rd-row .rd-who { flex-basis: calc(100% - 60px); }
body.vertical .rd-row .w { min-width: 0; flex: 1; text-align: left; padding-left: 54px; }
body.vertical .rd-gcard { width: calc(50% - 10px); }
body.vertical .rd-got.one .rd-gcard { width: 420px; }
body.vertical .rd-gcard b { font-size: var(--fs-list); }
body.vertical .rd-big .rd-face { width: 200px; height: 200px; }
body.vertical .rd-big { flex-direction: column; align-items: center; text-align: center; }
body.vertical .rd-help p { font-size: var(--fs-body); }

/* лёжа на телефоне (body.phone-land, js/ui.js fitStage: сцена мельче 3/4): имена и итоги — --fs-list, пояснения —
   --fs-sub, не мельче --fs-min; ✕ и фильтры — 48 (вкладки «Жители / Наём» — 64, css/kod.css) */
body.phone-land .rd-seats, body.phone-land .rd-cards { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
body.phone-land :is(.rd-modal .note, .rd-seatn span, .rd-capn span, .rd-lost, .rd-row .w, .rd-stars span) { font-size: var(--fs-sub); }
body.phone-land :is(.rd-meta, .rd-cr, .rd-pc .rd-wk, .rd-gcard .tr, .rd-oc i) { font-size: var(--fs-min); }
body.phone-land :is(.rd-who b, .rd-pc .rd-nm, .rd-free b, .rd-pc .v) { font-size: var(--fs-list); }
body.phone-land .rd-row .w { min-width: 150px; }
body.phone-land .rd-x { width: 48px; height: 48px; border-radius: 24px; font-size: 20px; }
body.phone-land .rd-chips { gap: 8px; }
body.phone-land .rd-chips .chip { min-height: 48px; padding: 0 16px; font-size: var(--fs-sub); }
body.phone-land .rd-gcard { width: 200px; }
body.phone-land .rd-gcard b { font-size: var(--fs-list); }
body.phone-land .rd-help p { font-size: var(--fs-body); }

/* ——— наём, круг 9 (владелец: «не забудь про призыв жителей»): сцена во всю свободную высоту — Ратуша крупно (картинка
   постройки), перед ней мастера покачиваются, «жителей N / M» значком в углу; ниже — шансы; внизу — грамоты ячейкой и
   крупные кнопки найма. Ратуши нет — та же сцена тусклой под замком, заголовок и золотая «Построить Ратушу». Покачивание —
   свойство translate малых узлов (поворот веера — transform — не сбивается); «уменьшить движение» — стоят ——— */
.rdx-hire { box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; }
/* во вкладке «Жители» окна призыва сцена забирает всю свободную высоту; в окне Ратуши (над ней ярлыки) — своя высота */
.hz-hire > .rdx-hire { min-height: 100%; }
.rdx-scene {
  position: relative; flex: none; height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 10px 10px 14px; box-sizing: border-box; border-radius: 18px; overflow: hidden;
  background: linear-gradient(#dfeaf6, #b9cfe6 46%, #a3bd94 60%, #7f9c6a 78%, #6a8656); border: 3px solid #fff3d0; box-shadow: 0 4px 12px rgba(40, 52, 70, 0.3);
}
.rdx-glow { position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 236, 170, 0.75), rgba(255, 236, 170, 0)); }
.rdx-hall { position: absolute; left: 50%; top: 4%; width: 92%; height: 72%; transform: translateX(-50%); object-fit: contain; object-position: 50% 100%;
  display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35)); }
.rdx-scene.off .rdx-hall { filter: grayscale(0.75) brightness(0.8) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35)); }
.rdx-lock { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); display: flex; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.55)); }
.rdx-lock > :is(img, svg) { width: 96px; height: 96px; }
.rdx-cap { position: absolute; top: 10px; inset-inline-start: 10px; padding: 4px 16px 4px 8px; border-radius: 24px; background: rgba(16, 20, 28, 0.72); color: #fff; }
.rdx-cap b { color: #fff; }
.rdx-hps { position: relative; z-index: 1; }
.rdx-hp { width: 150px; height: 150px; margin-inline-start: -30px; }
.rdx-hp:nth-child(2) { width: 176px; height: 176px; }
@keyframes rdx-bob { 50% { translate: 0 -8px; } }
.rdx-hp { animation: rdx-bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
html.kod-still .rdx-hp { animation: none; }
.rdx-hire .rd-odds { align-items: center; }
.rdx-acts { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--w-well, rgba(16, 20, 28, 0.55)); border: 1px solid var(--bronze); }
.rdx-tk { position: relative; flex: none; display: flex; }
.rdx-tk > .ic-cell { flex: none; }
/* грамоты есть — зелёный «+» в углу их ячейки: докупить в Лавке замка */
.rdx-plus {
  position: absolute; top: -12px; inset-inline-end: -12px; z-index: 2; width: 46px; height: 46px; padding: 0; box-sizing: border-box; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: radial-gradient(circle at 50% 35%, #8fdc9c, #2f7a3a 78%); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.rdx-plus > :is(svg, img) { width: 26px; height: 26px; }
.rdx-plus:active { transform: scale(0.92); }
/* окно Ратуши, вкладка «Наём» (тело окна — классом .rd-hbody, residents.js openTownHall): наём — на всю высоту под
   ярлыками; лёжа сцена слева во всю высоту (была сплющена, мастера закрывали Ратушу, снизу пустая треть окна), стоя —
   сцена растёт до кнопок (без пустой полосы внизу) */
.modal-body.rd-hbody { display: flex; flex-direction: column; }
.modal-body.rd-hbody > * { flex-shrink: 0; }
.modal-body.rd-hbody > .rdx-hire { flex: 1 0 auto; }
.rd-hbody > .rdx-hire > .rdx-scene { flex: 1 0 auto; }
.rdx-btns { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.rdx-row { display: flex; gap: 10px; }
.rdx-row > .btn { flex: 1 1 0; min-width: 0; max-width: none; }
/* «Нанять» и «×10» рядом — каждая по половине ряда (стоя body.vertical .btn.two — min-width 260: вторая вылезала за край) */
.rdx-hire .rdx-row > .btn.two.rdx-btn { min-width: 0; padding-inline: 10px; }
.rdx-btns > .btn { align-self: stretch; width: auto; max-width: none; }
.btn.two.rdx-btn .sub { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn.two.rdx-btn .sub > :is(img, svg) { width: 26px; height: 26px; object-fit: contain; }
.rdx-tic { width: 26px; height: 26px; object-fit: contain; }
.rdx-none { align-items: center; }
.rdx-none > .rdx-scene { align-self: stretch; }
.rdx-title { font-family: var(--title); font-size: 26px; color: var(--w-accent, #8a5a1a); }
.btn.rdx-build { min-width: 320px; }

body.vertical .rdx-hire { gap: 16px; }
body.vertical .rdx-scene { height: clamp(420px, calc(var(--app-h, 1280px) - 700px), 1000px); border-radius: 22px; } /* окно Ратуши: до кнопок без прокрутки */
.hz-hire .rdx-scene { flex: 1 1 auto; height: auto; min-height: 300px; }
body.vertical .hz-hire .rdx-scene { height: auto; min-height: 520px; } /* вкладка «Жители» окна призыва: растёт сама (flex) */
body.vertical .rdx-hp { width: 200px; height: 200px; margin-inline-start: -40px; border-width: 5px; }
body.vertical .rdx-hp:nth-child(2) { width: 236px; height: 236px; }
body.vertical .rdx-cap { top: 14px; inset-inline-start: 14px; min-height: 60px; padding: 4px 22px 4px 10px; border-radius: 30px; }
body.vertical .rdx-cap > :is(img, svg) { width: 40px; height: 40px; }
body.vertical .rdx-cap b { font-size: var(--fs-num); }
body.vertical .rdx-lock > :is(img, svg) { width: 140px; height: 140px; }
body.vertical .rdx-acts { gap: 14px; padding: 12px 14px; border-radius: 18px; }
body.vertical .rdx-tk > .ic-cell.rdx-tcell { --ic: 116px; } /* сильнее itemcell.css body.vertical .ic-cell.ic-l (96) */
body.vertical .rdx-plus { top: -14px; inset-inline-end: -14px; width: 58px; height: 58px; border-width: 4px; }
body.vertical .rdx-plus > :is(svg, img) { width: 32px; height: 32px; }
body.vertical .btn.two.rdx-btn { min-height: 96px; font-size: var(--fs-btn, 30px); }
body.vertical .btn.two.rdx-btn .sub { font-size: 26px; }
body.vertical .btn.two.rdx-btn .sub > :is(img, svg), body.vertical .rdx-tic { width: 34px; height: 34px; }
body.vertical .rdx-title { font-size: 40px; }
body.vertical .btn.rdx-build { min-width: 460px; min-height: 96px; font-size: var(--fs-btn, 30px); }

/* лёжа: сцена слева во всю высоту, справа — шансы и кнопки найма */
body.phone-land .rdx-hire:not(.rdx-none) { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "scene odds" "scene acts"; gap: 14px 18px; }
body.phone-land .rdx-hire:not(.rdx-none) > .rdx-scene { grid-area: scene; height: auto; min-height: 340px; }
body.phone-land .rdx-hire:not(.rdx-none) > .rd-odds { grid-area: odds; align-self: end; }
body.phone-land .rdx-hire:not(.rdx-none) > .rdx-acts { grid-area: acts; align-self: stretch; }
body.phone-land .rdx-tk > .ic-cell.rdx-tcell { --ic: 132px; }
body.phone-land .rdx-plus { width: 54px; height: 54px; }
body.phone-land .rdx-plus > :is(svg, img) { width: 30px; height: 30px; }
body.phone-land .rdx-btns { justify-content: center; gap: 14px; }
body.phone-land .btn.two.rdx-btn { min-height: 112px; }
body.phone-land .rdx-hp { width: 130px; height: 130px; margin-inline-start: -28px; }
body.phone-land .rdx-hp:nth-child(2) { width: 152px; height: 152px; }
body.phone-land .rdx-none > .rdx-scene { flex: 1 1 auto; height: auto; min-height: 300px; }
body.phone-land .btn.two.rdx-btn { min-height: 84px; font-size: var(--fs-btn); }
body.phone-land .btn.two.rdx-btn .sub { font-size: var(--fs-btn-s); }
body.phone-land .rdx-cap b { font-size: var(--fs-num); }
body.phone-land .rdx-title { font-size: 34px; }
