/* 火火暖号 backend UI: order page / console / pay */

:root {
  --bg: #050505;
  --panel: #0a0a0b;
  --panel-2: #101012;
  --panel-3: #151517;
  --line: #252528;
  --line-strong: #3a3a3e;
  --text: #f2f0e9;
  --text-soft: #d8d4cb;
  --muted: #a09c94;
  --dim: #6d6a63;
  --accent: #ff4b3e;
  --accent-soft: rgba(255, 75, 62, .1);
  --green: #35d49a;
  --blue: #4c9bff;
  --yellow: #e8c37a;
  --font-body: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Arial Narrow", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", monospace;
  --max: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 70% -10%, rgba(255, 75, 62, .055), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; background: transparent; border: 0; }
img { display: block; max-width: 100%; }
::selection { color: #070707; background: var(--accent); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #2b2b2e; }
::-webkit-scrollbar-track { background: transparent; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--font-mono); }

/* Header */
.backend-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, .9);
  backdrop-filter: blur(16px);
}
.backend-brand { display: flex; align-items: center; gap: 11px; }
.backend-brand img { width: 38px; height: 42px; object-fit: contain; }
.backend-brand strong { display: block; font-size: 15px; letter-spacing: -.03em; }
.backend-brand em {
  display: block;
  margin-top: 1px;
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 7px;
  font-style: normal;
  letter-spacing: .16em;
}
.backend-header-right { display: flex; align-items: center; gap: 18px; }
.backend-order-id { color: var(--dim); font-family: var(--font-mono); font-size: 10px; }
.backend-link { color: var(--muted); font-size: 10px; transition: color .2s; }
.backend-link:hover { color: var(--text); }

/* Shared components */
.backend-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.backend-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dim);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: .2em;
}
.backend-eyebrow i { width: 28px; height: 1px; background: var(--accent); }
.backend-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 75, 62, .035), transparent 70%),
    var(--panel);
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.card-head > div > span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: .18em;
}
.card-head h2 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.03em; }
.card-head > span { color: var(--dim); font-family: var(--font-mono); font-size: 8px; }
.card-note { margin: 0; padding: 13px 20px 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.demo-tag {
  padding: 2px 6px;
  color: var(--yellow) !important;
  border: 1px solid rgba(232, 195, 122, .28);
  letter-spacing: .06em;
}
.backend-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 10px;
  letter-spacing: .02em;
  transition: color .2s, background .2s, border-color .2s, opacity .2s;
}
.backend-btn:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.backend-btn.primary { color: #080808; border-color: var(--accent); background: var(--accent); }
.backend-btn.primary:hover { background: #ff675c; border-color: #ff675c; }
.backend-btn.ghost { color: var(--muted); border-color: var(--line); }
.backend-btn:disabled { opacity: .45; cursor: not-allowed; }
.backend-btn.small { min-height: 32px; padding: 0 11px; font-size: 9px; }
.field-row { display: flex; flex-direction: column; gap: 6px; }
.field-row > span { color: var(--dim); font-size: 8px; letter-spacing: .04em; }
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--text);
  border: 1px solid var(--line);
  outline: 0;
  background: rgba(255, 255, 255, .018);
  font-size: 11px;
}
.field-row textarea { resize: vertical; min-height: 90px; }
.field-row input:focus, .field-row select:focus, .field-row textarea:focus { border-color: rgba(255, 75, 62, .5); }
.field-row select option { background: #111; color: var(--text); }
.alert {
  margin: 0 0 16px;
  padding: 11px 14px;
  color: #ffc9c4;
  border: 1px solid rgba(255, 75, 62, .3);
  background: rgba(255, 75, 62, .08);
  font-size: 11px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.status-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-pill.pending { color: var(--yellow); border-color: rgba(232, 195, 122, .3); }
.status-pill.paid { color: var(--blue); border-color: rgba(76, 155, 255, .3); }
.status-pill.active { color: var(--green); border-color: rgba(53, 212, 154, .3); }
.status-pill.completed { color: var(--muted); }
.status-pill.refunded { color: #ff9a6b; border-color: rgba(255, 154, 107, .3); }

/* Order page */
.order-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 34px 0 70px; }
.order-hero { padding: 8px 0 27px; border-bottom: 1px solid var(--line); }
.order-hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 15px; }
.order-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 55px); font-weight: 800; letter-spacing: -.07em; line-height: 1.05; }
.order-hero p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.order-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 25px;
}
.order-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 8px;
}
.order-step::before {
  content: attr(data-index);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px; height: 21px;
  flex: none;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 7px;
}
.order-step::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.order-step:last-child::after { display: none; }
.order-step.is-done { color: var(--muted); }
.order-step.is-done::before { color: #080808; border-color: var(--green); background: var(--green); }
.order-step.is-active { color: var(--text); }
.order-step.is-active::before { color: #080808; border-color: var(--accent); background: var(--accent); }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .55fr); gap: 16px; margin-top: 18px; align-items: start; }
.order-main, .order-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-grid > div:nth-child(3n) { border-right: 0; }
.detail-grid span { color: var(--dim); font-size: 8px; letter-spacing: .04em; }
.detail-grid strong { color: var(--text-soft); font-size: 12px; font-weight: 500; }
.detail-grid .wide { grid-column: span 2; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 15px 20px 0; }
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px 10px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: #070707;
}
.qr-card.alipay { border-top: 2px solid #1677ff; }
.qr-card.wechat { border-top: 2px solid #07c160; }
.qr-card img { width: 190px; height: 190px; object-fit: contain; image-rendering: auto; }
.qr-card strong { font-size: 11px; }
.qr-card span { color: #666; font-size: 8px; }
.qr-loading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; min-height: 180px; color: var(--dim); border: 1px dashed var(--line); font-size: 10px; }
.payment-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 20px 18px; }
.payment-actions > span { color: var(--dim); font-size: 8px; }
.participants { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 20px 0; }
.participant {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 8px;
}
.participant::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.participant.staff::before { background: var(--accent); }
.participant.owner::before { background: var(--yellow); }
.chat-log {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  max-height: 330px;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
}
.chat-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 82%; }
.chat-msg .meta { color: var(--dim); font-size: 7px; }
.chat-msg .bubble {
  padding: 8px 11px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 10px;
  line-height: 1.7;
}
.chat-msg.staff .bubble { border-color: rgba(255, 75, 62, .28); }
.chat-msg.owner .bubble { border-color: rgba(232, 195, 122, .25); }
.chat-msg.system { align-self: center; align-items: center; max-width: 94%; }
.chat-msg.system .bubble { color: var(--dim); border: 0; background: transparent; text-align: center; font-size: 8px; }
.chat-form { display: flex; gap: 7px; padding: 0 20px 18px; }
.chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 0 12px;
  color: var(--text);
  border: 1px solid var(--line);
  outline: 0;
  background: rgba(255, 255, 255, .018);
  font-size: 11px;
}
.chat-form input:focus { border-color: rgba(255, 75, 62, .45); }
.side-label { display: block; padding: 17px 18px 0; color: var(--dim); font-family: var(--font-display); font-size: 7px; letter-spacing: .18em; }
.timer-card strong {
  display: block;
  padding: 9px 18px 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 52px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.timer-card p { margin: 0; padding: 3px 18px 12px; color: var(--muted); font-size: 9px; }
.timer-bar { height: 2px; margin: 0 18px 18px; overflow: hidden; background: var(--line); }
.timer-bar i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .5s linear; }
.side-participants { display: flex; flex-direction: column; gap: 9px; padding: 13px 18px 18px; }
.side-person { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }
.side-person i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  color: #080808;
  background: var(--text-soft);
  font-family: var(--font-display);
  font-size: 9px;
  font-style: normal;
}
.side-person.staff i { background: var(--accent); }
.side-person.owner i { background: var(--yellow); }
.side-help { padding: 8px 18px 18px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.side-help button { padding: 0; color: var(--accent); border: 0; background: none; font-family: var(--font-mono); font-size: 11px; }
.order-empty { padding: 50px 20px; color: var(--dim); text-align: center; font-size: 11px; }

/* Console */
.console-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 26px 0 60px; }
.console-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.console-top h1 { margin: 5px 0 0; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.06em; line-height: 1.1; }
.console-top p { margin: 5px 0 0; color: var(--dim); font-size: 10px; }
.console-live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-family: var(--font-mono); font-size: 8px; }
.console-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.console-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.console-stat { padding: 13px 15px; border: 1px solid var(--line); background: var(--panel); }
.console-stat span { display: block; color: var(--dim); font-size: 8px; letter-spacing: .06em; }
.console-stat strong { display: block; margin-top: 3px; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.console-stat.hot strong { color: var(--accent); }
.console-grid { display: grid; grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); gap: 14px; margin-top: 16px; align-items: start; }
.orders-pane { border: 1px solid var(--line); background: var(--panel); }
.orders-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 13px; border-bottom: 1px solid var(--line); }
.orders-head strong { font-size: 10px; font-weight: 500; }
.orders-head button { color: var(--dim); font-size: 8px; }
.orders-head button:hover { color: var(--text); }
.orders-filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.orders-filters button { padding: 4px 7px; color: var(--dim); border: 1px solid transparent; font-size: 8px; }
.orders-filters button.is-active { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.order-list { max-height: 610px; overflow-y: auto; }
.order-item {
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-align: left;
  transition: background .2s, border-color .2s;
}
.order-item:hover { background: rgba(255, 255, 255, .025); }
.order-item.is-active { border-left-color: var(--accent); background: rgba(255, 75, 62, .045); }
.order-item-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-item-top strong { color: var(--text-soft); font-family: var(--font-mono); font-size: 9px; font-weight: 400; }
.order-item-top span { font-family: var(--font-mono); font-size: 7px; }
.order-item-main { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.order-item-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; }
.order-item-main em { color: var(--accent); font-family: var(--font-display); font-size: 14px; font-style: normal; }
.order-item-sub { color: var(--dim); font-size: 8px; }
.detail-pane { border: 1px solid var(--line); background: var(--panel); min-height: 360px; }
.detail-empty { padding: 80px 20px; color: var(--dim); text-align: center; font-size: 10px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.detail-head h2 { margin: 4px 0 0; font-family: var(--font-mono); font-size: 16px; font-weight: 400; }
.detail-head p { margin: 4px 0 0; color: var(--dim); font-size: 8px; }
.detail-section { padding: 14px 19px; border-bottom: 1px solid var(--line); }
.detail-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: var(--dim); font-family: var(--font-display); font-size: 7px; letter-spacing: .16em; }
.detail-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.detail-grid-2 div { display: flex; flex-direction: column; gap: 2px; }
.detail-grid-2 span { color: var(--dim); font-size: 7px; }
.detail-grid-2 strong { color: var(--text-soft); font-size: 10px; font-weight: 500; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 13px 19px; border-bottom: 1px solid var(--line); }
.pay-qrs { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-qrs .qr-card { width: 150px; padding: 8px; }
.pay-qrs .qr-card img { width: 112px; height: 112px; }
.pay-qrs .qr-card span { font-size: 7px; }
.console-chat .chat-log { max-height: 270px; min-height: 150px; padding: 12px 19px; }
.console-chat .chat-form { padding: 0 19px 16px; }
.console-chat .participants { padding: 9px 19px 0; }
.timer-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.timer-mini strong { color: var(--text); font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -.03em; }
.timer-mini span { color: var(--dim); font-size: 8px; }

/* Login */
.login-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, .94);
  backdrop-filter: blur(16px);
}
.login-box { width: min(380px, 100%); padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.login-box .backend-eyebrow { margin-bottom: 14px; }
.login-box h1 { margin: 0; font-size: 32px; letter-spacing: -.06em; }
.login-box p { margin: 7px 0 20px; color: var(--dim); font-size: 10px; line-height: 1.8; }
.login-box .field-row { margin-bottom: 10px; }
.login-box .backend-btn { width: 100%; margin-top: 7px; }
.login-error { min-height: 17px; margin-top: 5px; color: var(--accent); font-size: 9px; }

/* Pay page */
.pay-shell { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 68px); padding: 35px 20px; }
.pay-card { width: min(440px, 100%); border: 1px solid var(--line); background: var(--panel); }
.pay-head { padding: 24px 25px 16px; border-bottom: 1px solid var(--line); }
.pay-head h1 { margin: 8px 0 0; font-size: 31px; letter-spacing: -.06em; }
.pay-head p { margin: 4px 0 0; color: var(--dim); font-size: 9px; }
.pay-body { padding: 22px 25px 25px; text-align: center; }
.pay-amount { font-family: var(--font-display); font-size: 52px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pay-provider { margin-top: 8px; color: var(--muted); font-size: 10px; }
.pay-body .backend-btn { width: 100%; margin-top: 22px; }
.pay-success { padding: 55px 25px 45px; text-align: center; }
.pay-success .success-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  color: var(--green);
  border: 1px solid rgba(53, 212, 154, .4);
  font-size: 28px;
}
.pay-success h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.pay-success p { margin: 8px 0 20px; color: var(--dim); font-size: 10px; line-height: 1.8; }
.pay-note { margin-top: 19px; color: var(--dim); font-size: 8px; line-height: 1.8; }
.pay-back { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 10px; }

/* Mobile */
@media (max-width: 1000px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-side { display: grid; grid-template-columns: 1fr 1fr; }
  .timer-card { grid-column: 1 / -1; }
  .console-grid { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .backend-header { height: 60px; padding: 0 16px; }
  .backend-brand img { width: 32px; height: 36px; }
  .backend-order-id { display: none; }
  .backend-shell, .order-shell, .console-shell { width: calc(100% - 28px); }
  .order-shell { padding-top: 22px; }
  .order-hero-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .order-hero h1 { font-size: 36px; }
  .order-steps { grid-template-columns: 1fr 1fr; gap: 7px 12px; }
  .order-step:nth-child(5) { grid-column: 1 / -1; }
  .order-step::after { display: none; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .detail-grid > div:nth-child(2n) { border-right: 0; }
  .detail-grid .wide { grid-column: span 2; }
  .qr-grid { grid-template-columns: 1fr; padding: 13px 15px 0; }
  .qr-card { flex-direction: row; text-align: left; }
  .qr-card img { width: 100px; height: 100px; }
  .qr-card div { display: flex; flex-direction: column; }
  .order-side { display: flex; }
  .console-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .console-stats { grid-template-columns: 1fr 1fr; }
  .console-grid { grid-template-columns: 1fr; }
  .order-list { max-height: 310px; }
  .detail-pane { min-height: 0; }
  .pay-qrs .qr-card { flex-direction: column; text-align: center; width: calc(50% - 4px); }
  .pay-qrs .qr-card img { width: 100%; height: auto; }
}

/* Balance, payment ledger, owner dialogs, self chat bubbles */
.chat-msg.self { align-self: flex-end; align-items: flex-end; }
.chat-msg.self .bubble {
  color: #080808;
  border-color: var(--accent);
  background: var(--accent);
}
.chat-msg.customer:not(.self) .bubble { border-color: rgba(76, 155, 255, .2); }
.balance-box {
  margin: 14px 20px 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
}
.balance-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.balance-top span { color: var(--dim); font-size: 8px; }
.balance-top strong { color: var(--yellow); font-family: var(--font-display); font-size: 27px; font-weight: 500; letter-spacing: -.03em; }
.balance-top em { color: var(--dim); font-size: 7px; font-style: normal; }
.recharge-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.recharge-row button {
  min-height: 28px;
  padding: 0 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 8px;
}
.recharge-row button:hover { color: var(--text); border-color: var(--line-strong); }
.recharge-row input {
  width: 82px;
  min-height: 28px;
  padding: 0 7px;
  color: var(--text);
  border: 1px solid var(--line);
  outline: 0;
  background: transparent;
  font-size: 9px;
}
.balance-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.balance-actions span { color: var(--dim); font-size: 7px; }
.balance-actions .backend-btn { min-height: 32px; font-size: 9px; }
.payments-wrap { margin-top: 16px; border: 1px solid var(--line); background: var(--panel); }
.payments-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.payments-head strong { font-size: 12px; font-weight: 500; }
.payments-head span { color: var(--dim); font-size: 8px; }
.payments-table { width: 100%; border-collapse: collapse; }
.payments-table th, .payments-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.payments-table th { color: var(--dim); font-family: var(--font-display); font-size: 7px; font-weight: 400; letter-spacing: .12em; }
.payments-table td { color: var(--muted); font-size: 9px; }
.payments-table td strong { color: var(--text-soft); font-weight: 500; }
.payments-table .amount { color: var(--accent); font-family: var(--font-display); font-size: 15px; }
.console-view-tabs { display: flex; gap: 5px; margin-top: 16px; }
.console-view-tabs button {
  padding: 7px 12px;
  color: var(--dim);
  border: 1px solid transparent;
  font-size: 9px;
}
.console-view-tabs button.is-active { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.owner-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5,5,5,.86);
  backdrop-filter: blur(12px);
}
.owner-dialog-box { width: min(390px, 100%); padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.owner-dialog-box h2 { margin: 0; font-size: 26px; letter-spacing: -.05em; }
.owner-dialog-box p { margin: 6px 0 16px; color: var(--dim); font-size: 9px; }
.owner-dialog-box .field-row { margin-bottom: 9px; }
.owner-dialog-actions { display: flex; gap: 8px; margin-top: 14px; }
.owner-dialog-actions .backend-btn { flex: 1; }
.owner-auth-intro { margin-bottom: 14px; color: var(--dim); font-size: 10px; line-height: 1.8; }
.owner-auth-intro strong { color: var(--text-soft); font-weight: 500; }
.owner-password-note { margin-top: 10px; color: var(--dim); font-size: 8px; line-height: 1.8; }
.owner-login-error { min-height: 18px; margin-top: 6px; color: var(--accent); font-size: 9px; }
.owner-auth-message { padding: 8px 9px; margin-top: 8px; color: var(--dim); border: 1px solid var(--line); font-size: 8px; }
@media (max-width: 760px) {
  .balance-box { margin-left: 15px; margin-right: 15px; }
  .payments-table th:nth-child(2), .payments-table td:nth-child(2) { display: none; }
  .payments-table th, .payments-table td { padding: 8px 9px; }
}

/* Owner upload page */
.upload-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 75px; }
.upload-hero { max-width: 850px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.upload-hero h1 { margin: 18px 0 0; font-size: clamp(40px, 5.8vw, 68px); font-weight: 800; letter-spacing: -.075em; line-height: 1.02; }
.upload-hero > p { max-width: 680px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.upload-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 19px; }
.upload-hero-tags span { padding: 4px 8px; color: var(--dim); border: 1px solid var(--line); font-size: 8px; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .55fr); gap: 16px; margin-top: 18px; align-items: start; }
.upload-form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 15px 20px 0; }
.form-grid-2 .field-row > span { color: var(--dim); font-size: 8px; }
.form-grid-2 input, .form-grid-2 select { min-height: 38px; }
.field-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 17px, calc(100% - 12px) 17px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; cursor: pointer; }
.form-grid-2 + .field-row { margin-left: 20px; margin-right: 20px; }
.upload-form .backend-card > .field-row { margin-left: 20px; margin-right: 20px; }
.upload-form .backend-card > .field-row:last-child { margin-bottom: 20px; }
.upload-form .field-row textarea { min-height: 86px; }
.upload-contact-note { margin: 0 20px 18px; color: var(--dim); font-size: 8px; line-height: 1.7; }
.upload-drop {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 15px 20px 0;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-drop:hover { border-color: rgba(255, 75, 62, .45); background: rgba(255, 75, 62, .035); }
.upload-drop input { position: absolute; opacity: 0; pointer-events: none; }
.upload-drop-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; color: var(--accent); border: 1px solid rgba(255, 75, 62, .25); font-size: 21px; }
.upload-drop > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.upload-drop strong { font-size: 11px; font-weight: 500; }
.upload-drop small { color: var(--dim); font-size: 8px; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 20px 18px; }
.upload-preview { position: relative; width: 104px; height: 68px; overflow: hidden; border: 1px solid var(--line); background: #111; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.upload-preview span { position: absolute; right: 3px; bottom: 3px; padding: 1px 4px; color: #080808; background: var(--text-soft); font-family: var(--font-mono); font-size: 6px; }
.notice-box { max-height: 270px; overflow-y: auto; margin: 14px 20px 0; padding: 15px 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .012); scrollbar-width: thin; }
.notice-box h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.notice-box ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 9px; line-height: 1.9; }
.notice-box li { margin-bottom: 5px; }
.notice-box p { margin: 9px 0 0; color: var(--dim); font-size: 8px; }
.notice-agree { display: flex; align-items: flex-start; gap: 8px; margin: 14px 20px 0; color: var(--muted); font-size: 9px; line-height: 1.7; cursor: pointer; }
.notice-agree input { position: absolute; opacity: 0; pointer-events: none; }
.notice-check { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: none; color: #080808; border: 1px solid var(--line-strong); background: transparent; font-size: 10px; }
.notice-agree input:checked + .notice-check { border-color: var(--accent); background: var(--accent); }
.upload-error { min-height: 18px; margin: 8px 20px 0; color: var(--accent); font-size: 9px; }
.upload-submit { width: calc(100% - 40px); margin: 3px 20px 0; min-height: 48px; }
.upload-demo-note { margin: 10px 20px 20px; color: var(--dim); font-size: 8px; line-height: 1.7; }
.upload-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; }
.upload-steps { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 14px 18px 18px; }
.upload-steps li { display: flex; gap: 10px; }
.upload-steps li > span { color: var(--accent); font-family: var(--font-mono); font-size: 8px; }
.upload-steps strong { font-size: 10px; font-weight: 500; }
.upload-steps p { margin: 2px 0 0; color: var(--dim); font-size: 8px; line-height: 1.7; }
.upload-side-link { color: var(--accent); font-size: 9px; line-height: 1.8; }
.upload-success { max-width: 660px; margin: 40px auto 0; padding: 44px 40px 36px; border: 1px solid var(--line); background: var(--panel); text-align: center; }
.upload-success .success-mark { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: 0 auto 15px; color: var(--green); border: 1px solid rgba(53, 212, 154, .4); font-size: 27px; }
.upload-success h2 { margin: 9px 0 0; font-size: 36px; letter-spacing: -.06em; }
.upload-success > p { max-width: 470px; margin: 10px auto 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.upload-success-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.upload-success-meta div { display: flex; flex-direction: column; gap: 3px; padding: 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.upload-success-meta span { color: var(--dim); font-size: 7px; }
.upload-success-meta strong { color: var(--text-soft); font-size: 10px; font-weight: 500; }
.upload-success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
@media (max-width: 900px) {
  .upload-layout { grid-template-columns: 1fr; }
  .upload-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .upload-aside > .backend-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .upload-shell { width: calc(100% - 28px); padding-top: 24px; }
  .upload-hero h1 { font-size: 40px; }
  .form-grid-2 { grid-template-columns: 1fr; padding-left: 15px; padding-right: 15px; }
  .form-grid-2 + .field-row, .upload-form .backend-card > .field-row { margin-left: 15px; margin-right: 15px; }
  .upload-drop, .upload-previews, .notice-box, .notice-agree, .upload-error, .upload-submit { margin-left: 15px; margin-right: 15px; }
  .upload-submit { width: calc(100% - 30px); }
  .upload-aside { grid-template-columns: 1fr; }
  .upload-aside > .backend-card:first-child { grid-column: auto; }
  .upload-success { padding: 32px 20px 27px; }
  .upload-success h2 { font-size: 28px; }
  .upload-success-meta { grid-template-columns: 1fr 1fr; }
}

.admin-owner-listing { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.admin-owner-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-owner-head h3 { margin: 5px 0 0; font-size: 19px; letter-spacing: -.04em; }
.admin-owner-head p { margin: 3px 0 0; color: var(--dim); font-size: 8px; }
.admin-owner-fields { margin-top: 12px; }
.admin-owner-skins { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.admin-owner-note { margin: 6px 0 0; color: var(--dim); font-size: 9px; line-height: 1.7; }
.admin-owner-shots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.admin-owner-shot { width: 96px; height: 63px; overflow: hidden; border: 1px solid var(--line); background: #111; }
.admin-owner-shot img { width: 100%; height: 100%; object-fit: cover; }
.admin-owner-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.admin-owner-actions > span { margin-right: auto; color: var(--dim); font-size: 8px; }
@media (max-width: 760px) {
  .admin-owner-listing { padding: 13px 14px; }
  .admin-owner-head { flex-direction: column; gap: 7px; }
  .admin-owner-shot { width: 78px; height: 52px; }
}

.pay-notified {
  margin: 0 0 9px;
  padding: 8px 10px;
  color: #ffd38a;
  border: 1px solid rgba(255, 190, 82, .28);
  background: rgba(255, 190, 82, .06);
  font-size: 9px;
  line-height: 1.6;
}

/* Rental whitelist */
.upload-whitelist-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  color: #ffd38a;
  border-left: 2px solid var(--accent);
  background: rgba(255, 75, 62, .06);
  font-size: 10px;
  line-height: 1.7;
}
.whitelist-toolbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 12px;
}
.whitelist-forced { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; color: #080808; background: var(--yellow); font-size: 10px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.whitelist-switch { display: none; }
.whitelist-switch input {
  appearance: none;
  width: 36px; height: 20px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: #171719;
  position: relative;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.whitelist-switch input::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s, background .2s;
}
.whitelist-switch input:checked { background: rgba(255, 75, 62, .18); border-color: var(--accent); }
.whitelist-switch input:checked::after { transform: translateX(16px); background: var(--accent); }
.whitelist-toolbar p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.whitelist-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 12px;
}
.whitelist-form label { display: flex; flex-direction: column; gap: 6px; }
.whitelist-form label span { color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.whitelist-form input {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  background: #08080a;
  color: var(--text);
  font-size: 11px;
  outline: none;
}
.whitelist-form input:focus { border-color: var(--accent); }
.whitelist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.whitelist-list { border: 1px solid var(--line); background: var(--panel); max-height: 340px; overflow-y: auto; }
.whitelist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}
.whitelist-item:last-child { border-bottom: 0; }
.whitelist-item strong { display: block; font-size: 11px; font-weight: 500; }
.whitelist-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.whitelist-item button {
  flex: none;
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}
.whitelist-item button:hover { color: var(--accent); border-color: var(--accent); }
.whitelist-owner .whitelist-item strong { color: #ffd38a; }
.whitelist-note { margin: 12px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.whitelist-empty { padding: 18px; color: var(--muted); font-size: 10px; text-align: center; }
@media (max-width: 720px) {
  .whitelist-toolbar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .whitelist-form { grid-template-columns: 1fr; }
  .whitelist-grid { grid-template-columns: 1fr; }
}

.balance-wallet-link { margin-left: auto; color: var(--muted); font-size: 9px; text-decoration: none; white-space: nowrap; }
.balance-wallet-link:hover { color: var(--accent); }

/* Owner earnings */
.owner-earnings {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 75, 62, .08), transparent 35%),
    var(--panel);
}
.owner-earnings-intro h2 { margin: 8px 0 7px; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.owner-earnings-intro p { margin: 0; max-width: 330px; color: var(--muted); font-size: 9px; line-height: 1.8; }
.owner-earnings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.owner-earnings-grid > div { min-height: 82px; padding: 13px 14px; background: #0b0b0d; display: flex; flex-direction: column; justify-content: center; }
.owner-earnings-grid span { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.owner-earnings-grid strong { margin-top: 6px; color: var(--accent); font-family: var(--font-display); font-size: 24px; line-height: 1; }
.owner-earnings-grid > div:nth-child(2) strong, .owner-earnings-grid > div:nth-child(4) strong { color: var(--text); }
.owner-earnings-grid small { margin-top: 5px; color: var(--muted); font-size: 8px; }
@media (max-width: 900px) {
  .owner-earnings { grid-template-columns: 1fr; }
  .owner-earnings-grid { grid-template-columns: 1fr 1fr; }
}

.owner-no-password {
  padding: 4px 8px;
  color: #080808;
  background: var(--yellow);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .06em;
}
.owner-page.is-embed .backend-header { display: none; }
.owner-page.is-embed .console-shell { padding-top: 22px; }

.payment-proof-row { margin: 10px 0; }
.payment-proof-upload { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px dashed var(--line-strong); background: #08080a; cursor: pointer; }
.payment-proof-upload > span { color: var(--text); font-size: 10px; }
.payment-proof-upload > span em { color: var(--muted); font-size: 8px; font-style: normal; }
.payment-proof-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.payment-proof-upload::after { content: "选择图片"; flex: none; padding: 5px 8px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 8px; }
.payment-proof-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.payment-proof-preview[hidden] { display: none !important; }
.payment-proof-preview img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line-strong); }
.payment-proof-preview button { padding: 5px 8px; color: var(--muted); border: 1px solid var(--line-strong); background: transparent; font-size: 8px; cursor: pointer; }
.payment-proof-admin { display: block; max-width: 220px; max-height: 220px; margin-top: 8px; object-fit: contain; border: 1px solid var(--line-strong); }

.balance-no-recharge { margin: 8px 0 10px; color: var(--muted); font-size: 9px; line-height: 1.6; }

.customers-wrap { display: flex; flex-direction: column; gap: 8px; }
.customer-admin-card { display: grid; grid-template-columns: 1.7fr .8fr 1.3fr; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); }
.customer-admin-main strong { display: block; font-size: 11px; font-weight: 500; }
.customer-admin-main span { display: block; margin-top: 3px; color: var(--text-soft); font-size: 10px; }
.customer-admin-main small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.customer-admin-balance { text-align: right; }
.customer-admin-balance span { display: block; color: var(--muted); font-size: 8px; }
.customer-admin-balance strong { display: block; margin-top: 3px; color: var(--accent); font-family: var(--font-display); font-size: 20px; }
.customer-recharge-form { display: flex; gap: 6px; }
.customer-recharge-form input { width: 100%; min-width: 0; height: 30px; padding: 0 8px; color: var(--text); border: 1px solid var(--line-strong); background: #08080a; font-size: 10px; outline: none; }
.customer-recharge-form input:focus { border-color: var(--accent); }
.customer-recharge-form button { flex: none; padding: 0 10px; color: #080808; background: var(--accent); border: 0; font-size: 9px; font-weight: 600; cursor: pointer; }
.customer-recharge-form button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 720px) {
  .customer-admin-card { grid-template-columns: 1fr 1fr; }
  .customer-recharge-form { grid-column: 1 / -1; }
}

.chat-image-label { display: flex; align-items: center; justify-content: center; min-width: 52px; height: 34px; color: var(--muted); border: 1px solid var(--line-strong); background: #0a0a0c; font-size: 9px; cursor: pointer; }
.chat-image-label:hover { color: var(--accent); border-color: var(--accent); }
.chat-image-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chat-image { display: block; max-width: min(240px, 70vw); max-height: 240px; object-fit: contain; border-radius: 2px; }
.chat-msg .bubble:has(.chat-image) { padding: 4px; background: #08080a; }
.chat-image-caption { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }

.console-toast { position: fixed; z-index: 120; right: 20px; bottom: 20px; max-width: 320px; padding: 10px 13px; color: var(--text); border: 1px solid var(--line-strong); background: #111113; box-shadow: 0 14px 40px rgba(0,0,0,.45); font-size: 10px; line-height: 1.6; }
.console-toast[hidden] { display: none !important; }

.payment-proof-status { color: var(--green); font-size: 9px; line-height: 1.5; }

.chat-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 20px 0; }
.chat-tools-copy { display: flex; flex-direction: column; gap: 2px; }
.chat-tools-copy strong { color: var(--text-soft); font-size: 9px; font-weight: 500; }
.chat-tools-copy span { color: var(--muted); font-size: 8px; }
.chat-tools-actions { display: flex; align-items: center; gap: 6px; }
.chat-tool { height: 30px; padding: 0 10px; color: var(--muted); border: 1px solid var(--line-strong); background: #0a0a0c; font-size: 9px; cursor: pointer; }
.chat-tool:hover { color: var(--accent); border-color: var(--accent); }
.chat-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chat-upload-status { color: var(--muted); font-size: 8px; }
.chat-upload-status[hidden] { display: none !important; }
.chat-image { cursor: zoom-in; }
.chat-lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 30px; background: rgba(0, 0, 0, .92); }
.chat-lightbox[hidden] { display: none !important; }
.chat-lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; object-fit: contain; border: 1px solid var(--line-strong); background: #050505; }
.chat-lightbox-close { position: absolute; z-index: 2; top: 18px; right: 22px; width: 38px; height: 38px; color: var(--text); border: 1px solid var(--line-strong); background: #0b0b0d; font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .chat-tools { align-items: flex-start; flex-direction: column; gap: 6px; padding-left: 16px; padding-right: 16px; }
  .chat-tools-actions { width: 100%; }
  .chat-tool { flex: 1; }
}

.review-form { padding: 0 20px 18px; }
.review-form > p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.review-star-input { display: flex; gap: 4px; margin-bottom: 10px; }
.review-star-input button { width: 34px; height: 34px; padding: 0; color: #343438; border: 1px solid var(--line); background: #08080a; font-size: 21px; cursor: pointer; }
.review-star-input button.is-active { color: var(--yellow); border-color: rgba(255,190,82,.45); background: rgba(255,190,82,.06); }
.review-form textarea { width: 100%; box-sizing: border-box; padding: 9px 10px; color: var(--text); border: 1px solid var(--line-strong); background: #08080a; outline: none; resize: vertical; font-size: 10px; }
.review-form textarea:focus { border-color: var(--accent); }
.review-actions { display: flex; justify-content: flex-end; margin-top: 9px; }
.review-complete { padding: 0 20px 18px; }
.review-stars { color: var(--yellow); font-size: 24px; letter-spacing: 2px; }
.review-complete strong { display: block; margin-top: 5px; font-size: 11px; font-weight: 500; }
.review-complete p { margin: 8px 0 0; color: var(--text-soft); font-size: 10px; line-height: 1.7; }
.review-complete small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; }

.warehouse-review-head { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.warehouse-review-wrap { display: flex; flex-direction: column; gap: 8px; }
.admin-warehouse-listing { padding: 14px; border: 1px solid var(--line); background: var(--panel); }
.admin-warehouse-listing .admin-owner-head { margin-bottom: 10px; }
.admin-warehouse-listing .admin-owner-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.admin-warehouse-listing .admin-owner-actions > div { display: flex; gap: 6px; }
.admin-warehouse-listing .admin-owner-actions > span { color: var(--muted); font-size: 8px; }
