.hot-spring-toolbar {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 7px;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}
.hot-spring-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
.hot-spring-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 5px;
}
.hot-spring-button {
  min-height: 27px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 8px;
  color: var(--text);
  background: var(--panel-2);
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.1;
}
.hot-spring-button:hover:not(:disabled) { border-color: var(--accent); background: rgba(105, 213, 255, .08); }
.hot-spring-button.enter { border-color: rgba(105, 213, 255, .34); }
.hot-spring-button.confirm { border-color: rgba(92, 227, 164, .42); background: rgba(92, 227, 164, .08); }
.hot-spring-button.cancel,
.hot-spring-button.leave { border-color: rgba(255, 126, 136, .42); color: var(--on-bad, #ffb1b1); }
.hot-spring-button[hidden] { display: none; }
.hot-spring-button:disabled { opacity: .46; cursor: not-allowed; }
.hot-spring-state {
  max-width: 360px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-spring-state.active { color: var(--good); }
.hot-spring-state.pending { color: var(--warn); }
.hot-spring-state.error { color: var(--bad); }
.hot-spring-room,
.hot-spring-feedback { flex: 1 0 100%; }
.hot-spring-room {
  display: grid;
  gap: 7px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.hot-spring-room[hidden] { display: none; }
.hot-spring-room-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 10px;
}
.hot-spring-room-head strong,
.hot-spring-room-name { color: var(--text); }
.hot-spring-room-name { font-weight: 700; }
.hot-spring-occupancy { margin-left: auto; }
.hot-spring-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 6px;
}
.hot-spring-stats > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 15, 25, .26);
}
.hot-spring-stats small { color: var(--muted); font-size: 8px; }
.hot-spring-stats strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.hot-spring-feedback {
  min-height: 0;
  font-size: 9px;
  line-height: 1.2;
}
.hot-spring-feedback:empty { display: none; }
.hot-spring-feedback.pending { color: var(--warn); }
.hot-spring-feedback.success { color: var(--good); }
.hot-spring-feedback.error { color: var(--bad); }

@media (max-width: 720px) {
  .hot-spring-toolbar { align-items: flex-start; }
  .hot-spring-label { width: 100%; }
  .hot-spring-actions { width: 100%; }
  .hot-spring-button { flex: 1 1 auto; min-height: 34px; }
  .hot-spring-state { flex: 1 0 100%; max-width: none; white-space: normal; }
  .hot-spring-occupancy { margin-left: 0; }
  .hot-spring-stats { grid-template-columns: repeat(2, minmax(92px, 1fr)); }
}
