* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #09040a;
  color: #fff;
  min-height: 100vh;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 18px;
  background: linear-gradient(135deg, #ff2f8b, #b112ff);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 24px;
  font-weight: 800;
}

.lang {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 5px;
}

.lang button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  padding: 7px 10px;
  font-weight: bold;
  cursor: pointer;
}

.lang button.active {
  background: rgba(255,255,255,0.28);
}

.page {
  padding: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.section {
  display: none;
  padding-bottom: 90px;
}

.section.active {
  display: block;
}

.hero {
  background: radial-gradient(circle at top left, rgba(255,47,139,0.30), rgba(255,255,255,0.07));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
}

.hero p {
  margin: 0;
  color: #ead7e2;
  line-height: 1.5;
}

.card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
}

.card.inner {
  margin-top: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: #d8c7d0;
  line-height: 1.45;
  font-size: 14px;
}

label {
  display: block;
  margin: 12px 0 6px;
  color: #ead7e2;
  font-size: 14px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 15px;
  outline: none;
}

input::placeholder {
  color: #9d8995;
}

.btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  border-radius: 14px;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #ff2f8b, #b112ff);
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.btn-light {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
}

.btn-danger {
  background: rgba(255,68,68,0.28);
  border: 1px solid rgba(255,68,68,0.35);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: #d8c7d0;
  font-size: 13px;
  line-height: 1.45;
}

.check input {
  width: auto;
  margin-top: 3px;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.code-row .btn {
  margin-top: 0;
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 16px;
}

.muted {
  color: #b9a8b1;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.center {
  text-align: center;
  margin-top: 14px;
}

.message {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #ffe0ef;
  font-size: 13px;
  line-height: 1.5;
  display: none;
  white-space: pre-wrap;
}

.message.show {
  display: block;
}

.balance {
  font-size: 38px;
  font-weight: 800;
  margin: 8px 0;
}

.link {
  color: #ff69b4;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,5,14,0.96);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-around;
  padding: 8px 4px;
  z-index: 10;
}

.nav button {
  border: 0;
  background: transparent;
  color: #cdbcc5;
  font-size: 12px;
  padding: 6px;
  cursor: pointer;
}

.nav button.active {
  color: #ff69b4;
  font-weight: bold;
}


.password-wrap {
  position: relative;
}

.password-wrap input {
  width: 100%;
  padding-right: 48px;
}

.eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #ff69b4;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
}


/* LUSHLIVE_UNIFIED_THEME_START */

body {
  background:
    radial-gradient(circle at 18% 18%, rgba(190,145,82,0.18), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(70,105,160,0.14), transparent 30%),
    linear-gradient(180deg, #0b0f17 0%, #111827 52%, #090b10 100%);
  color: #f7efe3;
}

.top {
  background: rgba(11,15,23,0.94);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.brand {
  color: #f4e6cf;
}

.lang button {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #e6edf7;
}

.lang button.active {
  background: #c28b45;
  border-color: #c28b45;
  color: #0b0f17;
}

.badge {
  background: rgba(194,139,69,0.16);
  border: 1px solid rgba(194,139,69,0.28);
  color: #f5dfbd;
}

.hero h1 {
  color: #f7efe3;
}

.hero p {
  color: #c9d0dc;
}

.card {
  background: rgba(15,20,30,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 60px rgba(0,0,0,0.38);
}

.card.inner {
  background: rgba(255,255,255,0.04);
}

.card h3 {
  color: #d8b47b;
}

label {
  color: #f5dfbd;
}

input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  color: #f7efe3;
}

input::placeholder {
  color: #8d98aa;
}

.btn {
  background: linear-gradient(90deg, #9b6b32, #d1a15d);
  color: #10131a;
  box-shadow: 0 12px 30px rgba(209,161,93,0.16);
}

.btn-light {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #f7efe3;
}

.btn-danger {
  background: rgba(130,45,45,0.18);
  border: 1px solid rgba(210,100,100,0.28);
  color: #ffd8d8;
}

.muted {
  color: #c9d0dc;
}

.message {
  background: rgba(255,255,255,0.06);
  color: #f5dfbd;
  border: 1px solid rgba(255,255,255,0.10);
}

.link {
  color: #d8b47b;
}

.eye-btn {
  color: #d8b47b;
}

.nav {
  background: rgba(11,15,23,0.96);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.nav button {
  color: #8d98aa;
}

.nav button.active {
  color: #d8b47b;
}

/* LUSHLIVE_UNIFIED_THEME_END */


/* LUSHLIVE_APP_COMPACT_AUTH_START */

.page {
  max-width: 640px;
  padding: 18px;
}

.top {
  padding: 12px 16px;
}

.brand {
  font-size: 19px;
}

.lang button {
  font-size: 12px;
  padding: 6px 9px;
}

.hero {
  padding: 24px 8px;
}

.hero h1 {
  font-size: 28px;
  margin: 6px 0;
}

.hero p {
  font-size: 13px;
  line-height: 1.5;
}

.badge {
  font-size: 12px;
  padding: 6px 11px;
}

.card {
  border-radius: 18px;
  padding: 16px;
  margin: 13px 0;
}

#loginBox,
#registerBox {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.card p {
  font-size: 13px;
  line-height: 1.5;
}

label {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 6px;
}

input {
  font-size: 14px;
  padding: 11px;
  border-radius: 12px;
}

.btn {
  font-size: 14px;
  padding: 12px;
  border-radius: 13px;
  margin-top: 13px;
}

.btn-light,
.btn-danger {
  font-size: 13px;
  padding: 11px;
  border-radius: 13px;
  margin-top: 10px;
}

.center {
  font-size: 13px;
  margin-top: 12px;
}

.muted {
  font-size: 12px;
}

.message {
  font-size: 12px;
  padding: 10px;
  border-radius: 11px;
}

.check {
  font-size: 12px;
}

.eye-btn {
  font-size: 15px;
  right: 8px;
}

.password-wrap input {
  padding-right: 42px;
}

.nav button {
  font-size: 11px;
}

.balance {
  font-size: 32px;
}

/* LUSHLIVE_APP_COMPACT_AUTH_END */


/* LUSHLIVE_APP_LANGUAGE_LABEL_START */

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-label {
  color: #c9d0dc;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .lang {
    gap: 6px;
  }

  .lang-label {
    font-size: 11px;
  }
}

/* LUSHLIVE_APP_LANGUAGE_LABEL_END */


/* LUSHLIVE_SUPPORT_FORM_START */

select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: #f7efe3;
  border-radius: 12px;
  padding: 11px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

select option {
  background: #111827;
  color: #f7efe3;
}

.ticket-item {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-top: 10px;
  cursor: pointer;
}

.ticket-item:hover {
  filter: brightness(1.12);
}

/* LUSHLIVE_SUPPORT_FORM_END */


/* LUSHLIVE_TOP_SUPPORT_START */

.top {
  gap: 10px;
}

.support-top-btn {
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  color: #f7efe3;
  border-radius: 999px;
  padding: 7px 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.support-top-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  border-color: rgba(216,180,123,0.55);
}

.support-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: white;
  font-size: 11px;
  line-height: 18px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(11,15,23,0.95);
}

@media (max-width: 480px) {
  .top {
    flex-wrap: wrap;
  }

  .support-top-btn {
    font-size: 11px;
    padding: 6px 9px;
  }
}

/* LUSHLIVE_TOP_SUPPORT_END */


/* LUSHLIVE_SUPPORT_TOP_RIGHT_START */

.top {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

.brand {
  margin-right: auto !important;
}

.support-top-btn {
  margin-left: auto !important;
}

.support-top-btn + .lang {
  margin-left: 8px !important;
}

@media (max-width: 480px) {
  .top {
    gap: 6px !important;
  }

  .brand {
    font-size: 17px !important;
  }

  .support-top-btn {
    margin-left: auto !important;
  }
}

/* LUSHLIVE_SUPPORT_TOP_RIGHT_END */


/* Support ticket sender colors */
.ticket-sender {
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}

.ticket-sender.sender-user {
  color: #6ec1ff;   /* 客户：蓝色 */
}

.ticket-sender.sender-system {
  color: #ffd84d;   /* 系统：黄色 */
}

.ticket-sender.sender-support {
  color: #6dff9a;   /* 客服：绿色 */
}


/* LUSHLIVE_SUPPORT_CHAT_UI_START */

.support-chat-panel {
  display: grid;
  gap: 14px;
}

.support-create,
.support-tickets,
.support-chat-box {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.035);
  border-radius: 16px;
  padding: 14px;
}

.support-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.support-row-title h3 {
  margin: 0;
}

.mini-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #f7efe3;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.support-ticket-list {
  margin-top: 10px;
}

.ticket-item {
  padding: 11px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  margin-top: 9px;
  cursor: pointer;
}

.ticket-item:hover {
  filter: brightness(1.12);
}

.support-messages {
  max-height: 420px;
  overflow-y: auto;
  padding: 10px 4px;
  margin: 10px 0;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 15px;
  margin: 9px 0;
  line-height: 1.45;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.10);
  white-space: pre-wrap;
}

.chat-bubble .sender {
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 4px;
}

.chat-user {
  margin-right: auto;
  background: rgba(110,193,255,0.12);
}

.chat-user .sender {
  color: #6ec1ff;
}

.chat-support {
  margin-left: auto;
  background: rgba(109,255,154,0.12);
}

.chat-support .sender {
  color: #6dff9a;
}

.chat-system {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,216,77,0.10);
  text-align: center;
}

.chat-system .sender {
  color: #ffd84d;
}

.status-pill {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(216,180,123,0.14);
  color: #f5dfbd;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(216,180,123,0.25);
}

/* LUSHLIVE_SUPPORT_CHAT_UI_END */


/* LUSHLIVE_SUPPORT_SINGLE_CHAT_START */

.support-chat-panel {
  display: grid;
  gap: 14px;
}

.support-chat-box,
.support-compose-box {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.035);
  border-radius: 16px;
  padding: 14px;
}

.support-row-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-row-title h3 {
  margin: 0;
}

.support-messages {
  max-height: 430px;
  overflow-y: auto;
  padding: 10px 4px;
  margin-top: 10px;
}

.chat-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 15px;
  margin: 9px 0;
  line-height: 1.45;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.10);
  white-space: pre-wrap;
}

.chat-bubble .sender {
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 4px;
}

.chat-user {
  margin-right: auto;
  background: rgba(110,193,255,0.12);
}

.chat-user .sender {
  color: #6ec1ff;
}

.chat-support {
  margin-left: auto;
  background: rgba(109,255,154,0.12);
}

.chat-support .sender {
  color: #6dff9a;
}

.chat-system {
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,216,77,0.10);
  text-align: center;
}

.chat-system .sender {
  color: #ffd84d;
}

.status-pill {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(216,180,123,0.14);
  color: #f5dfbd;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid rgba(216,180,123,0.25);
}

/* LUSHLIVE_SUPPORT_SINGLE_CHAT_END */


/* LUSHLIVE_CHAT_DETAIL_ONLY_START */

.support-messages {
  min-height: 180px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
}

.support-messages.muted {
  color: #c9d0dc;
  padding: 14px;
}

/* LUSHLIVE_CHAT_DETAIL_ONLY_END */


/* LUSHLIVE_ACCOUNT_LOGOUT_TOP_START */

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

.account-title-row h3 {
  margin: 0;
}

.logout-small {
  border: 1px solid rgba(255,90,90,0.65);
  background: linear-gradient(90deg, #b42318, #ef4444);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(239,68,68,0.28);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.logout-small:hover {
  filter: brightness(1.14);
  transform: translateY(-1px);
}

/* LUSHLIVE_ACCOUNT_LOGOUT_TOP_END */


/* LUSHLIVE_LOGOUT_MAIN_ORANGE_RED_START */

.account-title-row-clean {
  display: block !important;
}

.logout-main,
.btn-danger.logout-main {
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(255,90,70,0.75) !important;
  background: linear-gradient(90deg, #b42318, #f97316) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 13px !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(249,115,22,0.35);
}

.logout-main:hover,
.btn-danger.logout-main:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* LUSHLIVE_LOGOUT_MAIN_ORANGE_RED_END */


/* LUSHLIVE_LOGOUT_REAL_RED_START */

.btn-danger,
.logout-main,
.btn-danger.logout-main {
  background: linear-gradient(90deg, #dc2626, #ef4444) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 24px rgba(239,68,68,0.45) !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35) !important;
}

.btn-danger:hover,
.logout-main:hover,
.btn-danger.logout-main:hover {
  background: linear-gradient(90deg, #b91c1c, #dc2626) !important;
  color: #ffffff !important;
  filter: brightness(1.08);
}

/* LUSHLIVE_LOGOUT_REAL_RED_END */


/* LUSHLIVE_SYSTEM_LABEL_WHITE_START */

.chat-system .sender {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-shadow: 0 0 8px rgba(255,255,255,0.45);
}

/* LUSHLIVE_SYSTEM_LABEL_WHITE_END */


/* LUSHLIVE_SYSTEM_LABEL_OFFICIAL_START */

.chat-system .sender {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  font-size: 12px !important;
}

/* LUSHLIVE_SYSTEM_LABEL_OFFICIAL_END */


/* LUSHLIVE_CHAT_TIME_START */

.chat-time {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

.chat-user .chat-time {
  color: rgba(210,235,255,0.82);
}

.chat-support .chat-time {
  color: rgba(220,255,230,0.82);
}

.chat-system .chat-time {
  color: rgba(255,255,255,0.72);
}

/* LUSHLIVE_CHAT_TIME_END */
