/* =========================================================
   战备商行 · 租号大厅
   宽屏筛选市场 / 三列账号卡 / 夜间主题
   ========================================================= */

:root {
  --r-bg: #eef4fb;
  --r-surface: #ffffff;
  --r-soft: #f6f9fd;
  --r-soft-2: #fbfcff;
  --r-ink: #0d1b32;
  --r-text: #3f4f65;
  --r-muted: #8795a8;
  --r-dim: #a4b1c1;
  --r-line: #e2ebf5;
  --r-line-strong: #d5e2f0;
  --r-blue: #2d6cff;
  --r-blue-soft: #eaf2ff;
  --r-navy: #0a1b36;
  --r-gold: #d9a53e;
  --r-gold-soft: #fff8e8;
  --r-green: #1ca77b;
  --r-shadow: 0 4px 16px rgba(30, 57, 92, 0.055);
  --r-shadow-hover: 0 10px 26px rgba(30, 57, 92, 0.1);
  --r-sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --r-display: "Bahnschrift", "DIN Alternate", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.night {
  --r-bg: #0c1420;
  --r-surface: #121c2b;
  --r-soft: #172235;
  --r-soft-2: #162132;
  --r-ink: #edf4ff;
  --r-text: #c5d2e3;
  --r-muted: #8b9ab0;
  --r-dim: #63738a;
  --r-line: #263448;
  --r-line-strong: #34455d;
  --r-blue: #6d99ff;
  --r-blue-soft: #18263c;
  --r-gold-soft: #2b2519;
  --r-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  --r-shadow-hover: 0 10px 26px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--r-text);
  background: var(--r-bg);
  font-family: var(--r-sans);
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 8px 12px;
  background: var(--r-navy);
  color: #fff;
  font-size: 12px;
}

.skip-link:focus {
  top: 8px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   Top account bar
   ========================================================= */

.rent-utility {
  height: 28px;
  border-bottom: 1px solid var(--r-line);
  background: var(--r-surface);
}

.rent-utility__inner {
  display: flex;
  width: min(1530px, calc(100% - 60px));
  height: 100%;
  align-items: center;
  margin: 0 auto;
}

.rent-welcome {
  color: var(--r-muted);
  font-size: 9px;
}

.rent-utility__right {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-left: auto;
}

.rent-utility__right a,
.rent-utility__right button {
  color: #7e8da0;
  font-size: 9px;
  white-space: nowrap;
}

.rent-utility__right a:hover,
.rent-utility__right button:hover {
  color: var(--r-blue);
}

.rent-night {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rent-night .icon {
  width: 11px;
  height: 11px;
}

.rent-utility__sep {
  width: 1px;
  height: 12px;
  background: var(--r-line);
}

.rent-top-user {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rent-top-avatar {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #0d2443;
  color: #d4e6ff;
}

.rent-top-avatar .icon {
  width: 11px;
  height: 11px;
}

.rent-top-user > span:last-child {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.rent-top-user strong {
  color: var(--r-ink);
  font-family: var(--r-display);
  font-size: 8.5px;
  font-weight: 600;
}

.rent-top-user small {
  color: #91a0b2;
  font-size: 7px;
}

.rent-logout {
  color: #a5b0bd !important;
}

/* =========================================================
   Main header
   ========================================================= */

.rent-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  border-bottom: 1px solid var(--r-line);
  background: var(--r-surface);
}

.rent-header__inner {
  display: flex;
  width: min(1530px, calc(100% - 60px));
  height: 100%;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

.rent-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #10213d;
}

body.night .rent-brand {
  color: var(--r-ink);
}

.rent-brand i {
  width: 14px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.8;
}

.rent-brand strong {
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.rent-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 36px;
}

.rent-nav a,
.rent-nav button {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  color: #4d5d72;
  font-size: 13.5px;
  white-space: nowrap;
}

.rent-nav a:hover,
.rent-nav button:hover {
  color: var(--r-blue);
}

.rent-nav a.is-active {
  color: var(--r-blue);
}

.rent-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 34px;
  height: 2px;
  background: var(--r-blue);
  transform: translateX(-50%);
}

.rent-header__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.rent-btn {
  display: inline-flex;
  height: 35px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.rent-btn:hover {
  transform: translateY(-1px);
}

.rent-btn--navy {
  background: var(--r-navy);
  color: #fff;
  box-shadow: 0 3px 8px rgba(10, 27, 54, 0.14);
}

.rent-btn--navy:hover {
  background: #12294c;
}

.rent-btn--ghost {
  border-color: var(--r-line-strong);
  background: var(--r-surface);
  color: var(--r-ink);
}

.rent-btn--ghost:hover {
  border-color: #b8cfe6;
}

.rent-user {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 7px;
  padding-left: 13px;
  border-left: 1px solid var(--r-line);
}

.rent-user__avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #0d2443;
  color: #cfe4ff;
}

.rent-user__avatar .icon {
  width: 18px;
  height: 18px;
}

.rent-user__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.35;
}

.rent-user__info strong {
  color: var(--r-ink);
  font-family: var(--r-display);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.rent-user__info small {
  color: var(--r-muted);
  font-size: 8px;
}

/* =========================================================
   Main layout
   ========================================================= */

.rent-main {
  width: min(1280px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - 1530px) / 2 + 24px));
  padding: 22px 0 34px;
}

/* =========================================================
   Filter
   ========================================================= */

.rent-filter {
  padding: 20px 22px 12px;
  border: 1px solid var(--r-line);
  border-radius: 6px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow);
}

.rent-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 19px;
}

.rent-cat {
  display: flex;
  height: 59px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid var(--r-line);
  border-radius: 5px;
  background: var(--r-soft-2);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.rent-cat:hover {
  border-color: #c6d9ed;
}

.rent-cat__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #e8f2ff;
  color: #2874e9;
}

.rent-cat__icon .icon {
  width: 19px;
  height: 19px;
}

.rent-cat__icon--green {
  background: #e6f8f4;
  color: #12a985;
}

.rent-cat__icon--night {
  background: #eee9ff;
  color: #805bd8;
}

.rent-cat__icon--gold {
  background: #fff2d7;
  color: #e1a126;
}

.rent-cat__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}

.rent-cat__copy strong {
  color: #172943;
  font-size: 13.5px;
  font-weight: 600;
}

.rent-cat__copy small {
  overflow: hidden;
  color: #96a4b5;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rent-cat.is-active {
  border-color: #2d6cff;
  background: linear-gradient(118deg, #2c6cff, #4c84ff);
  box-shadow: 0 6px 14px rgba(45, 108, 255, 0.2);
}

.rent-cat.is-active .rent-cat__icon {
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
}

.rent-cat.is-active .rent-cat__copy strong,
.rent-cat.is-active .rent-cat__copy small {
  color: #fff;
}

.rent-cat.is-active .rent-cat__copy small {
  opacity: 0.8;
}

.rent-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 0;
}

.rent-filter-row--three {
  flex-wrap: wrap;
  gap: 12px 32px;
}

.rent-filter-row--last {
  padding-bottom: 4px;
}

.rent-filter-group {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 7px;
}

.rent-filter-label {
  flex: 0 0 auto;
  color: #1b2c45;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 27px;
  white-space: nowrap;
}

.rent-chips {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 7px;
}

.rent-chip {
  display: inline-flex;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #f5f8fc;
  color: #596b80;
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

body.night .rent-chip {
  background: #1a2638;
  color: #aab8ca;
}

.rent-chip:hover {
  border-color: #c4d8ec;
  background: #eef5fd;
}

.rent-chip.is-active {
  border-color: #2d6cff;
  background: #2d6cff;
  color: #fff;
}

.rent-chip.is-active:hover {
  background: #2d6cff;
}

.rent-chip[data-extra] {
  display: none;
}

.rent-filter-row.is-expanded .rent-chip[data-extra] {
  display: inline-flex;
}

.rent-expand {
  display: inline-flex;
  height: 26px;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0 8px;
  color: #3172dd;
  font-size: 9.5px;
  white-space: nowrap;
}

.rent-expand .icon {
  width: 11px;
  height: 11px;
  transition: transform 0.2s;
}

.rent-filter-row.is-expanded .rent-expand .icon {
  transform: rotate(180deg);
}

.rent-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #eef3f9;
}

.rent-reset,
.rent-advanced {
  display: inline-flex;
  height: 33px;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid var(--r-line-strong);
  border-radius: 4px;
  background: var(--r-surface);
  color: #5c6d82;
  font-size: 10px;
  white-space: nowrap;
}

.rent-reset .icon,
.rent-advanced .icon {
  width: 13px;
  height: 13px;
}

.rent-reset:hover,
.rent-advanced:hover {
  border-color: #b6cce2;
  color: var(--r-blue);
}

.rent-advanced {
  color: #66809d;
}

/* =========================================================
   Listing header
   ========================================================= */

.rent-list-panel {
  margin-top: 28px;
  padding: 13px 18px 20px;
  border: 1px solid var(--r-line);
  border-radius: 6px;
  background: var(--r-surface);
  box-shadow: var(--r-shadow);
}

.rent-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 43px;
}

.rent-sorts {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rent-sorts::-webkit-scrollbar {
  display: none;
}

.rent-sort {
  position: relative;
  height: 39px;
  color: #5b6b80;
  font-size: 11px;
  white-space: nowrap;
}

.rent-sort:hover {
  color: var(--r-blue);
}

.rent-sort.is-active {
  color: var(--r-blue);
  font-weight: 500;
}

.rent-sort.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--r-blue);
}

.rent-list-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.rent-search {
  display: flex;
  width: 325px;
  height: 35px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--r-line-strong);
  border-radius: 4px;
  background: var(--r-surface);
}

.rent-search .icon {
  width: 13px;
  height: 13px;
  color: var(--r-dim);
}

.rent-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--r-ink);
  font-size: 10px;
}

.rent-search input::placeholder {
  color: var(--r-dim);
}

.rent-views {
  display: flex;
  align-items: center;
  gap: 3px;
}

.rent-views button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 27px;
  border-radius: 3px;
  color: #8796a8;
}

.rent-views button .icon {
  width: 16px;
  height: 16px;
}

.rent-views button:hover {
  background: var(--r-soft);
}

.rent-views button.is-active {
  color: var(--r-blue);
}

/* =========================================================
   Account cards
   ========================================================= */

.rent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.rent-card {
  overflow: hidden;
  border: 1px solid var(--r-line);
  border-radius: 6px;
  background: var(--r-surface);
  box-shadow: 0 2px 8px rgba(30, 57, 92, 0.035);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.rent-card:hover {
  border-color: #c6d9ec;
  box-shadow: var(--r-shadow-hover);
  transform: translateY(-2px);
}

.rent-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: #0b1521;
}

.rent-card__media .scene,
.rent-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rent-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(139, 180, 222, 0.085) 1px, transparent 1px),
    linear-gradient(rgba(139, 180, 222, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.22));
  background-size: 28px 28px, 28px 28px, 100% 100%;
  pointer-events: none;
}

.rent-card__discount {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 2px 7px;
  border-radius: 3px;
  background: #ffd33d;
  color: #2b230d;
  font-family: var(--r-display);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.rent-card__hud {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(236, 247, 255, 0.88);
  font-family: var(--r-display);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.rent-card__rented-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(244, 249, 255, 0.4);
  color: #111111;
  font-family: var(--r-sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: none;
}

.rent-card.is-rented .rent-card__media img,
.rent-card.is-rented .rent-card__media .scene {
  filter: grayscale(0.45) brightness(0.94);
}

.rent-card__hud::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2fe09b;
  box-shadow: 0 0 5px rgba(47, 224, 155, 0.9);
}

.rent-card__strip {
  display: flex;
  height: 31px;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  border-top: 1px solid #f6ead3;
  border-bottom: 1px solid #f6ead3;
  background: var(--r-gold-soft);
  color: #a77d2e;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.rent-card__strip .icon {
  width: 12px;
  height: 12px;
  color: #cfa13f;
}

.rent-card__strip small {
  color: #9a896d;
  font-size: 8.5px;
}

.rent-card__bolt {
  display: inline-flex;
  margin-left: auto;
  color: #eaa500;
}

.rent-card__bolt .icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
}

.rent-card__body {
  padding: 11px 15px 14px;
}

.rent-card__title {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--r-ink);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.rent-card__title a {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rent-card__title a:hover {
  color: var(--r-blue);
}

.rent-card__shield {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--r-green);
}

.rent-card__shield .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.rent-card__tags {
  display: flex;
  overflow: hidden;
  max-height: 22px;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 6px 0 8px;
}

.rent-card__tag {
  display: inline-flex;
  height: 20px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 8px;
  border: 1px solid;
  border-radius: 10px;
  font-size: 8.5px;
  line-height: 1;
  white-space: nowrap;
}

.rent-card__tag--blue {
  border-color: #c9e3f8;
  background: #f1f9ff;
  color: #4b8bb7;
}

.rent-card__tag--gold {
  border-color: #ecddba;
  background: #fffaf0;
  color: #a17c36;
}

.rent-card__tag--pink {
  border-color: #f2d2df;
  background: #fff7fb;
  color: #b76685;
}

.rent-card__tag--purple {
  border-color: #ded1f6;
  background: #f9f6ff;
  color: #7a5dbb;
}

.rent-card__tag--red {
  border-color: #f1cccc;
  background: #fff5f5;
  color: #bd5c5c;
}

.rent-card__specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #eef3f9;
}

.rent-card__spec {
  min-width: 0;
  padding: 0 8px;
  border-left: 1px solid #eef3f9;
}

.rent-card__spec:first-child {
  padding-left: 0;
  border-left: 0;
}

.rent-card__spec span {
  display: block;
  color: #9aa7b6;
  font-size: 8.5px;
  line-height: 1.35;
  white-space: nowrap;
}

.rent-card__spec b {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #273850;
  font-family: var(--r-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rent-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.rent-card__price {
  color: #0b1838;
  font-family: var(--r-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.rent-card__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rent-card__confirm,
.rent-card__rent {
  display: inline-flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 9.5px;
  line-height: 1;
  white-space: nowrap;
}

.rent-card__confirm {
  border: 1px solid #dcbf79;
  background: #fffdf8;
  color: #8a671c;
}

.rent-card__confirm .icon {
  width: 11px;
  height: 11px;
  color: #b89136;
}

.rent-card__confirm:hover {
  border-color: #c7a44f;
  background: #fff8e8;
}

.rent-card__rent {
  background: var(--r-navy);
  color: #fff;
}

.rent-card__rent:hover {
  background: #152d52;
}

.rent-card__rent.is-rented {
  background: #e8eef6;
  color: #111111;
  font-family: var(--r-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: none;
  cursor: not-allowed;
}

.rent-card__rent.is-rented:hover {
  background: #e8eef6;
}

/* List view */

.rent-grid.is-list {
  grid-template-columns: 1fr;
  gap: 12px;
}

.rent-grid.is-list .rent-card {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  grid-template-rows: 31px minmax(0, 1fr);
}

.rent-grid.is-list .rent-card__media {
  grid-row: 1 / -1;
  aspect-ratio: auto;
  height: 100%;
  min-height: 190px;
}

.rent-grid.is-list .rent-card__strip {
  grid-column: 2;
}

.rent-grid.is-list .rent-card__body {
  grid-column: 2;
  padding: 14px 20px;
}

.rent-grid.is-list .rent-card__title {
  font-size: 18px;
}

.rent-grid.is-list .rent-card__bottom {
  margin-top: 15px;
}

/* =========================================================
   Empty / load / footer
   ========================================================= */

.rent-empty {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--r-muted);
}

.rent-empty > span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--r-soft);
  color: var(--r-dim);
}

.rent-empty > span .icon {
  width: 29px;
  height: 29px;
}

.rent-empty h2 {
  color: var(--r-ink);
  font-size: 14px;
  font-weight: 600;
}

.rent-empty p {
  color: var(--r-muted);
  font-size: 10px;
}

.rent-empty button {
  height: 32px;
  margin-top: 9px;
  padding: 0 14px;
  border: 1px solid var(--r-line-strong);
  border-radius: 4px;
  color: var(--r-blue);
  font-size: 10px;
}

.rent-load-wrap {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.rent-load-more {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  border: 1px solid var(--r-line-strong);
  border-radius: 4px;
  background: var(--r-surface);
  color: #60748b;
  font-size: 10px;
}

.rent-load-more:hover {
  border-color: #b9cee4;
  color: var(--r-blue);
}

.rent-load-more .icon {
  width: 12px;
  height: 12px;
}

.rent-footer {
  border-top: 1px solid var(--r-line);
  background: var(--r-surface);
}

.rent-footer__inner {
  display: flex;
  width: min(1280px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-left: max(24px, calc((100% - 1530px) / 2 + 24px));
  padding: 17px 0;
}

.rent-footer p {
  color: var(--r-muted);
  font-size: 8.5px;
}

.rent-footer div {
  display: flex;
  gap: 14px;
}

.rent-footer a {
  color: #7d8ca0;
  font-size: 8.5px;
}

.rent-footer a:hover {
  color: var(--r-blue);
}

/* =========================================================
   Left activity float
   ========================================================= */

.rent-float {
  position: fixed;
  top: 43%;
  left: 0;
  z-index: 30;
  display: flex;
  width: 58px;
  height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  border-radius: 0 8px 8px 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 35%),
    linear-gradient(160deg, #d17cff, #8f3ce0);
  color: #fff;
  box-shadow: 0 6px 18px rgba(120, 53, 190, 0.24);
}

.rent-float__cat {
  font-size: 20px;
  line-height: 1;
}

.rent-float strong {
  font-size: 10px;
  line-height: 1.5;
}

.rent-float small {
  padding: 0 4px;
  border-radius: 2px;
  background: #ff4f57;
  font-family: var(--r-display);
  font-size: 6px;
  line-height: 1.5;
}

/* =========================================================
   Dialog / toast
   ========================================================= */

.rent-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 21, 39, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}

.rent-dialog-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.rent-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 110;
  width: min(460px, calc(100vw - 32px));
  max-height: 82vh;
  overflow-y: auto;
  padding: 20px 22px 22px;
  border: 1px solid var(--r-line);
  border-radius: 10px;
  background: var(--r-surface);
  box-shadow: 0 30px 80px rgba(13, 31, 56, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 10px)) scale(0.985);
  transition: opacity 0.22s, visibility 0.22s, transform 0.22s;
}

.rent-dialog.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.rent-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rent-dialog__head h2 {
  color: var(--r-ink);
  font-size: 18px;
  font-weight: 700;
}

.rent-dialog__close {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--r-line);
  border-radius: 50%;
  color: var(--r-muted);
}

.rent-dialog__close:hover {
  border-color: var(--r-blue);
  color: var(--r-blue);
}

.rent-dialog__close .icon {
  width: 13px;
  height: 13px;
}

.rent-dialog__body {
  color: var(--r-text);
  font-size: 11.5px;
  line-height: 1.75;
}

.rent-dialog-note {
  margin-top: 11px;
  padding: 9px 10px;
  border: 1px solid var(--r-line);
  border-radius: 5px;
  background: var(--r-soft);
  color: var(--r-muted);
  font-size: 9.5px;
}

.rent-dialog-actions {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.rent-dialog-actions button,
.rent-dialog-actions a {
  display: flex;
  height: 37px;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 11px;
}

.rent-dialog-primary {
  background: var(--r-navy);
  color: #fff;
}

.rent-dialog-ghost {
  border: 1px solid var(--r-line-strong);
  color: var(--r-blue);
}

.rent-advanced-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rent-advanced-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--r-text);
  font-size: 10.5px;
}

.rent-advanced-field select {
  width: 190px;
  height: 33px;
  padding: 0 8px;
  border: 1px solid var(--r-line-strong);
  border-radius: 4px;
  outline: 0;
  background: var(--r-surface);
  color: var(--r-ink);
  font-size: 10px;
}

.rent-toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 130;
  max-width: min(370px, calc(100vw - 32px));
  padding: 9px 15px;
  border-radius: 18px;
  background: rgba(10, 23, 43, 0.93);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  pointer-events: none;
}

.rent-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* =========================================================
   Night
   ========================================================= */

body.night .rent-utility,
body.night .rent-header,
body.night .rent-filter,
body.night .rent-list-panel,
body.night .rent-card,
body.night .rent-footer,
body.night .rent-dialog {
  background: var(--r-surface);
}

body.night .rent-brand,
body.night .rent-nav a,
body.night .rent-nav button,
body.night .rent-user__info strong,
body.night .rent-filter-label,
body.night .rent-sort,
body.night .rent-card__title,
body.night .rent-card__price,
body.night .rent-empty h2,
body.night .rent-dialog__head h2 {
  color: var(--r-ink);
}

body.night .rent-nav a.is-active {
  color: var(--r-blue);
}

body.night .rent-cat {
  background: var(--r-soft-2);
}

body.night .rent-cat__copy strong {
  color: var(--r-ink);
}

body.night .rent-cat__copy small {
  color: var(--r-muted);
}

body.night .rent-cat.is-active {
  background: linear-gradient(118deg, #2c6cff, #4c84ff);
}

body.night .rent-cat.is-active .rent-cat__copy strong,
body.night .rent-cat.is-active .rent-cat__copy small {
  color: #fff;
}

body.night .rent-chip {
  background: #1a2638;
  color: #aab8ca;
}

body.night .rent-chip:hover {
  background: #213149;
}

body.night .rent-chip.is-active {
  background: #2d6cff;
  color: #fff;
}

body.night .rent-filter-actions,
body.night .rent-card__specs,
body.night .rent-card__spec {
  border-color: var(--r-line);
}

body.night .rent-reset,
body.night .rent-advanced,
body.night .rent-load-more,
body.night .rent-views button,
body.night .rent-search,
body.night .rent-advanced-field select {
  background: var(--r-surface);
  color: var(--r-text);
}

body.night .rent-advanced {
  color: var(--r-blue);
}

body.night .rent-views button.is-active {
  color: var(--r-blue);
}

body.night .rent-card__strip {
  border-color: #3a3324;
}

body.night .rent-card__spec span,
body.night .rent-card__strip small {
  color: var(--r-muted);
}

body.night .rent-card__spec b {
  color: var(--r-ink);
}

body.night .rent-card__tag--blue {
  border-color: #274b68;
  background: #132a3b;
  color: #7cb6dd;
}

body.night .rent-card__tag--gold {
  border-color: #51452c;
  background: #2a251c;
  color: #ceb47d;
}

body.night .rent-card__tag--pink {
  border-color: #573547;
  background: #2e1f28;
  color: #d39ab2;
}

body.night .rent-card__tag--purple {
  border-color: #453668;
  background: #241e35;
  color: #b6a0e7;
}

body.night .rent-card__tag--red {
  border-color: #5a3333;
  background: #2d1d1d;
  color: #dc9b9b;
}

body.night .rent-card__confirm {
  border-color: #5a4a2e;
  background: #2b2519;
  color: #d8b46c;
}

body.night .rent-card__strip {
  color: #c7a35d;
}

body.night .rent-search input,
body.night .rent-advanced-field select {
  color: var(--r-ink);
}

body.night .rent-search input::placeholder {
  color: var(--r-dim);
}

body.night .rent-empty > span {
  background: var(--r-soft);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1300px) {
  .rent-utility__inner,
  .rent-header__inner {
    width: calc(100% - 40px);
  }

  .rent-header__inner {
    gap: 24px;
  }

  .rent-nav {
    gap: 23px;
  }

  .rent-main {
    width: calc(100% - 40px);
    margin-left: 20px;
  }

  .rent-footer__inner {
    width: calc(100% - 40px);
    margin-left: 20px;
  }

  .rent-cats {
    gap: 14px;
  }

  .rent-cat {
    padding: 0 14px;
  }

  .rent-cat__copy small {
    font-size: 8.5px;
  }

  .rent-search {
    width: 270px;
  }
}

@media (max-width: 1150px) {
  .rent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rent-utility__right {
    gap: 9px;
  }

  .rent-nav {
    gap: 17px;
  }

  .rent-header__actions {
    gap: 6px;
  }

  .rent-btn {
    padding: 0 12px;
    font-size: 10.5px;
  }

  .rent-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rent-filter-row--three {
    gap: 9px 22px;
  }

  .rent-card__price {
    font-size: 23px;
  }

  .rent-card__confirm,
  .rent-card__rent {
    padding: 0 7px;
    font-size: 9px;
  }
}

@media (max-width: 940px) {
  .rent-welcome {
    display: none;
  }

  .rent-utility__right a[href="profile.html#rentals"],
  .rent-utility__right a[href="profile.html#wallet"] {
    display: none;
  }

  .rent-header {
    height: 58px;
  }

  .rent-brand strong {
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .rent-nav {
    display: none;
  }

  .rent-header__actions {
    gap: 5px;
  }

  .rent-user {
    margin-left: 2px;
    padding-left: 9px;
  }

  .rent-btn {
    height: 32px;
    padding: 0 9px;
    font-size: 9.5px;
  }

  .rent-main {
    width: calc(100% - 24px);
    margin-left: 12px;
    padding-top: 12px;
  }

  .rent-filter {
    padding: 14px 13px 9px;
  }

  .rent-cats {
    gap: 9px;
    margin-bottom: 12px;
  }

  .rent-cat {
    height: 52px;
    padding: 0 10px;
    gap: 8px;
  }

  .rent-cat__icon {
    width: 29px;
    height: 29px;
  }

  .rent-cat__copy strong {
    font-size: 11.5px;
  }

  .rent-cat__copy small {
    font-size: 8px;
  }

  .rent-filter-row {
    flex-wrap: wrap;
    gap: 5px;
    padding: 7px 0;
  }

  .rent-filter-row--three {
    flex-direction: column;
    gap: 6px;
  }

  .rent-filter-group {
    width: 100%;
  }

  .rent-expand {
    margin-left: 0;
  }

  .rent-filter-label {
    font-size: 11px;
  }

  .rent-chip {
    height: 24px;
    padding: 0 7px;
    font-size: 9.5px;
  }

  .rent-list-panel {
    margin-top: 14px;
    padding: 9px 11px 14px;
  }

  .rent-list-head {
    flex-wrap: wrap;
    gap: 6px;
  }

  .rent-sorts {
    width: 100%;
    gap: 17px;
  }

  .rent-sort {
    height: 34px;
    font-size: 10px;
  }

  .rent-list-tools {
    width: 100%;
  }

  .rent-search {
    width: auto;
    flex: 1;
  }

  .rent-grid {
    gap: 12px;
    margin-top: 10px;
  }

  .rent-card__title {
    font-size: 15px;
  }

  .rent-card__price {
    font-size: 21px;
  }

  .rent-card__spec b {
    font-size: 12px;
  }

  .rent-grid.is-list .rent-card {
    grid-template-columns: 235px minmax(0, 1fr);
  }

  .rent-float {
    display: none;
  }

  .rent-footer__inner {
    width: calc(100% - 24px);
    margin-left: 12px;
  }
}

@media (max-width: 700px) {
  .rent-utility {
    display: none;
  }

  .rent-header__actions .rent-btn--ghost {
    display: none;
  }

  .rent-user__info small {
    display: none;
  }

  .rent-main {
    width: calc(100% - 20px);
    margin-left: 10px;
    padding-top: 10px;
  }

  .rent-cats {
    grid-template-columns: 1fr 1fr;
  }

  .rent-cat {
    height: 48px;
    padding: 0 8px;
  }

  .rent-cat__icon {
    width: 25px;
    height: 25px;
  }

  .rent-cat__icon .icon {
    width: 15px;
    height: 15px;
  }

  .rent-cat__copy strong {
    font-size: 10.5px;
  }

  .rent-cat__copy small {
    font-size: 7px;
  }

  .rent-grid {
    grid-template-columns: 1fr;
  }

  .rent-card__media {
    aspect-ratio: 2 / 1;
  }

  .rent-grid.is-list .rent-card {
    display: block;
  }

  .rent-grid.is-list .rent-card__media {
    aspect-ratio: 2 / 1;
    min-height: 0;
  }

  .rent-grid.is-list .rent-card__strip,
  .rent-grid.is-list .rent-card__body {
    grid-column: auto;
  }

  .rent-card__bottom {
    align-items: center;
    flex-direction: row;
  }

  .rent-card__price {
    font-size: 24px;
  }

  .rent-card__actions {
    width: auto;
  }

  .rent-card__confirm,
  .rent-card__rent {
    flex: none;
    height: 33px;
    padding: 0 9px;
    font-size: 9.5px;
  }

  .rent-dialog {
    padding: 18px;
  }

  .rent-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 20px);
    margin-left: 10px;
  }

  .rent-footer div {
    gap: 10px;
  }
}

@media (max-width: 460px) {
  .rent-brand strong {
    font-size: 18px;
  }

  .rent-brand i {
    width: 9px;
  }

  .rent-user__info {
    display: none;
  }

  .rent-user {
    padding-left: 7px;
  }

  .rent-user__avatar {
    width: 27px;
    height: 27px;
  }

  .rent-btn {
    padding: 0 8px;
    font-size: 9px;
  }

  .rent-cat {
    gap: 6px;
    padding: 0 7px;
  }

  .rent-filter-label {
    font-size: 10.5px;
  }

  .rent-chip {
    padding: 0 6px;
    font-size: 9px;
  }

  .rent-sorts {
    gap: 14px;
  }

  .rent-sort {
    font-size: 9.5px;
  }

  .rent-card__title {
    font-size: 14px;
  }

  .rent-card__spec b {
    font-size: 11px;
  }

  .rent-card__spec span {
    font-size: 8px;
  }

  .rent-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .rent-card__actions {
    width: 100%;
  }

  .rent-card__confirm,
  .rent-card__rent {
    flex: 1;
  }

  .rent-card__price {
    font-size: 23px;
  }

  .rent-search {
    height: 32px;
  }

  .rent-views button {
    width: 23px;
    height: 24px;
  }
}
