:root {
  color-scheme: light;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: #f5f7fb;
  color: #172033;
}

body {
  margin: 0;
}

.topbar {
  height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #e6ebf2;
}

.brand {
  font-size: 20px;
  font-weight: 700;
}

.sub {
  margin-top: 2px;
  color: #687386;
  font-size: 13px;
}

.admin-link {
  color: #1162d6;
  text-decoration: none;
  font-weight: 600;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: #5b6678;
}

.stat {
  min-width: 132px;
  padding: 14px 18px;
  background: #172033;
  color: #ffffff;
  border-radius: 8px;
  text-align: center;
}

.stat span {
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.stat small {
  color: #c8d0dc;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-bottom: 18px;
}

input, select {
  height: 42px;
  border: 1px solid #d9e0ea;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
  background: #ffffff;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.room-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0f172a;
  object-fit: cover;
}

.room-body {
  padding: 14px;
}

.room-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.rent {
  color: #d9480f;
  white-space: nowrap;
}

.meta {
  margin-top: 8px;
  color: #637083;
  font-size: 14px;
  line-height: 1.6;
}

.empty {
  margin-top: 40px;
  color: #687386;
  text-align: center;
}

@media (max-width: 720px) {
  .topbar {
    padding: 0 16px;
  }

  .summary {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: 26px;
  }

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