* {
  box-sizing: border-box;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #f5f5f5;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  user-select: none;
}

button,
input {
  font: inherit;
}

button:focus,
input:focus {
  outline: none;
}

.phone-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: #f5f5f5;
}

.page {
  width: min(100vw, 390px);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: url("./loginBG.jpg") center / cover no-repeat;
}

.page.app-page {
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 244, 238, 0.24), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(254, 44, 85, 0.24), transparent 26%),
    radial-gradient(circle at 76% 72%, rgba(37, 244, 238, 0.13), transparent 30%),
    linear-gradient(155deg, #05070d 0%, #10121d 48%, #050507 100%);
}

.page.app-page::before,
.page.app-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page.app-page::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
}

.page.app-page::after {
  background:
    linear-gradient(115deg, transparent 0 16%, rgba(37, 244, 238, 0.13) 16.5%, transparent 17.5% 62%, rgba(254, 44, 85, 0.12) 63%, transparent 64%),
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.16), transparent 32%);
  opacity: 0.9;
}

.page.app-page[data-mode="order"] {
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 244, 238, 0.2), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(254, 44, 85, 0.2), transparent 26%),
    linear-gradient(155deg, #05070d 0%, #10121d 48%, #050507 100%);
}

.page.app-page[data-mode="withdraw"] {
  background: #fff;
}

.page.app-page[data-mode="recharge"] {
  background: #fff;
}

.page.app-page[data-mode="feedback"] {
  background: #fff;
}

.page.app-page[data-mode="rechargeRecord"] {
  background: #eef2f5;
}

.page.app-page[data-mode="withdrawRecord"] {
  background: #eef2f5;
}

.page.app-page[data-mode="recharge"] .sub-page {
  padding-bottom: 190px;
}

.page.app-page[data-mode="profile"],
.page.app-page[data-mode="fundPassword"],
.page.app-page[data-mode="setwallet"] {
  background: #f3f4f6;
}

.page.app-page[data-mode="withdraw"]::before,
.page.app-page[data-mode="withdraw"]::after,
.page.app-page[data-mode="recharge"]::before,
.page.app-page[data-mode="recharge"]::after,
.page.app-page[data-mode="feedback"]::before,
.page.app-page[data-mode="feedback"]::after,
.page.app-page[data-mode="rechargeRecord"]::before,
.page.app-page[data-mode="rechargeRecord"]::after,
.page.app-page[data-mode="withdrawRecord"]::before,
.page.app-page[data-mode="withdrawRecord"]::after,
.page.app-page[data-mode="profile"]::before,
.page.app-page[data-mode="profile"]::after,
.page.app-page[data-mode="fundPassword"]::before,
.page.app-page[data-mode="fundPassword"]::after,
.page.app-page[data-mode="setwallet"]::before,
.page.app-page[data-mode="setwallet"]::after {
  display: none;
}

.top {
  height: 80px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  direction: ltr;
}

.back {
  width: 28px;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
}

.back.visible {
  display: flex;
}

.back span {
  width: 15px;
  height: 15px;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}

.language {
  height: 32px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg) translateY(-2px);
}

.form-card {
  width: 94%;
  margin: 14px auto 0;
  padding: 35px 0 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  direction: ltr;
  text-align: left;
}

.page.app-page .top,
.page.app-page .form-card {
  display: none;
}

.main-app {
  min-height: 100vh;
  color: #000;
  position: relative;
  z-index: 1;
}

.screen {
  min-height: 100vh;
  padding-bottom: 62px;
}

.screen.no-tabbar {
  padding-bottom: 96px;
}

.screen.mine-bg {
  background: #eef2f5;
}

.screen.service-bg {
  background: #f5f5f5;
}

.sub-page {
  min-height: 844px;
  padding: 0 10px 112px;
  background: #f5f5f5;
}

.sub-head {
  height: 44px;
  margin: 0 -10px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.sub-head button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
}

.sub-head button::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 12px;
  height: 12px;
  border-left: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg);
}

.sub-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.recharge-card {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.recharge-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recharge-balance-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.recharge-balance-left img {
  width: 50px;
  height: 50px;
}

.recharge-amount {
  font-size: 18px;
  font-weight: 700;
}

.recharge-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 15px;
}

.recharge-stats strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.recharge-stats div:nth-child(2) {
  text-align: right;
}

.txid-title {
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
}

.txid-input {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

.qr-fake {
  width: 150px;
  height: 150px;
  background: #fff;
}

.qr-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: #fff;
}

.qr-address {
  max-width: 96%;
  margin-top: 20px;
  font-size: 12px;
  word-break: break-all;
  text-align: center;
}

.copy-address-btn {
  min-width: 172px;
  height: 34px;
  margin-top: 12px;
  border: 0;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
}

.upload-card {
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.upload-title {
  font-weight: 700;
}

.upload-file-input {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.upload-icon {
  width: 170px;
  height: 170px;
  margin-top: 10px;
  display: grid;
  place-items: center;
  border: 3px solid #000;
  border-radius: 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.upload-icon:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.upload-empty-icon {
  width: 66px;
  height: 52px;
  border: 4px solid #111;
  border-radius: 6px;
  position: relative;
  pointer-events: none;
}

.upload-empty-icon::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  border-left: 4px solid #111;
  border-bottom: 4px solid #111;
  transform: rotate(45deg);
  transform-origin: left bottom;
}

.upload-empty-icon::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #111;
}

.upload-icon.uploaded {
  border-color: #000;
  background: #fff;
}

.voucher-preview {
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  display: block;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  pointer-events: none;
}

.upload-selected-text {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 41, 58, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.recharge-actions {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 22;
  width: min(100vw, 390px);
  padding: 0 16px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.recharge-actions button {
  height: 34px;
  border: 0;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
}

.recharge-record-page {
  min-height: 100vh;
  padding-bottom: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f6fa 42%, #eef2f5 100%);
}

.record-summary {
  margin: 14px 4px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.record-summary div {
  min-height: 82px;
  padding: 14px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 86% 12%, rgba(37, 244, 238, 0.16), transparent 34%),
    linear-gradient(145deg, #111827, #1f2937);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.record-summary span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.record-summary strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}

.record-list {
  display: grid;
  gap: 10px;
}

.recharge-record-card {
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.record-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.record-main span,
.record-amount span {
  display: block;
  color: #8a94a6;
  font-size: 12px;
}

.record-main strong {
  display: block;
  margin-top: 6px;
  color: #1f2937;
  font-size: 14px;
}

.record-status {
  min-width: 62px;
  padding: 5px 9px;
  border-radius: 999px;
  font-style: normal;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.record-status.pending {
  background: #fff7e6;
  color: #b7791f;
}

.record-status.processing {
  background: #e8f2ff;
  color: #2563eb;
}

.record-status.approved {
  background: #e8fff4;
  color: #059669;
}

.record-status.rejected {
  background: #fff0f2;
  color: #e11d48;
}

.record-amount {
  margin-top: 16px;
  padding-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid #eef2f7;
}

.record-amount strong {
  color: #111827;
  font-size: 22px;
}

.record-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed #d7dde7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #8a94a6;
  font-size: 14px;
}

.record-state.retry {
  width: 100%;
  border-style: solid;
  color: #ff293a;
}

.wallet-form {
  margin: 0 -10px;
  padding: 20px 10px 12px;
  background: #fff;
}

.wallet-label {
  margin-bottom: 8px;
  font-size: 14px;
}

.wallet-input {
  width: 100%;
  height: 38px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  color: #222;
  font-size: 13px;
  font-weight: 400;
}

.wallet-input::placeholder,
.withdraw-input::placeholder {
  color: #c7cdd6;
  opacity: 1;
}

.save-wallet,
.withdraw-submit {
  width: 100%;
  height: 34px;
  margin-top: 10px;
  border: 0;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
}

.profile-page {
  min-height: 100vh;
  background: #f3f4f6;
  color: #111827;
}

.profile-list {
  margin-top: 10px;
  background: #fff;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.profile-row {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
  color: #111827;
  text-align: left;
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-row span {
  color: #111827;
  font-size: 14px;
}

.profile-row strong {
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
  word-break: break-all;
}

.profile-row > img:not(.profile-avatar) {
  width: 18px;
  height: 18px;
  opacity: .72;
}

.avatar-row {
  min-height: 50px;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border: 1px solid #111827;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.profile-form {
  margin-top: 10px;
  padding: 16px 14px 18px;
  background: #fff;
}

.profile-form label {
  display: block;
  margin-bottom: 14px;
}

.profile-form-label {
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
}

.profile-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-size: 14px;
}

.profile-save {
  width: 100%;
  height: 38px;
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #111827, #252b3a);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.withdraw-page {
  min-height: auto;
  padding-bottom: 24px;
  background: #fff;
}

.withdraw-card {
  margin-top: 10px;
  padding: 10px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.withdraw-card .recharge-balance-left {
  gap: 12px;
}

.withdraw-section-title {
  padding: 10px 5px;
  font-size: 14px;
  font-weight: 700;
}

.withdraw-input {
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
}

.withdraw-address-display {
  width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #f8f8f8;
  color: #222;
  font-size: 13px;
  line-height: 18px;
  word-break: break-all;
}

.withdraw-rate {
  padding: 8px 5px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.withdraw-rate button {
  width: 70px;
  height: 20px;
  border: 0;
  border-radius: 2px;
  background: #ff293a;
  color: #fff;
  font-size: 12px;
}

.withdraw-card label + label {
  display: block;
  margin-top: 12px;
}

.withdraw-main-submit {
  margin-top: 30px;
  height: 34px;
}

.screen.no-tabbar:has(.withdraw-page) {
  padding-bottom: 0;
  min-height: 100vh;
  background: #fff;
}

.screen.no-tabbar:has(.feedback-page) {
  background: #fff;
}

.home-top {
  height: 148px;
  padding: 20px 10px 14px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 244, 238, 0.18), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(254, 44, 85, 0.2), transparent 34%),
    rgba(5, 7, 13, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-brand-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-name {
  font-size: 25px;
  font-weight: 700;
  line-height: 37px;
}

.brand-sub {
  width: max-content;
  margin: 5px 0 0 0;
  padding: 4px 6px;
  border-radius: 3px;
  background: #ff293a;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  font-weight: 400;
}

.credit-chip {
  width: max-content;
  max-width: 150px;
  height: 25px;
  margin-top: 8px;
  padding: 0 9px 0 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(66, 70, 82, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 5px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.credit-chip-icon {
  width: 15px;
  height: 15px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #25f4ee 0 72%, #fe2c55 72% 100%);
  box-shadow: 0 0 8px rgba(37, 244, 238, 0.26);
}

.credit-chip-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #10121d;
}

.credit-chip-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.credit-chip strong {
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.profile-mini {
  width: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
}

.member-benefits-btn {
  width: max-content;
  height: 25px;
  margin-top: 8px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 211, 106, 0.42);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.16), rgba(254, 44, 85, 0.08)),
    rgba(18, 20, 30, 0.72);
  color: #ffd36a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 5px 12px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.member-benefits-btn:active {
  transform: translateY(1px);
}

.profile-mini img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.profile-account {
  display: block;
  margin-top: 5px;
}

.vip-badge {
  height: 23px;
  margin-top: 5px;
  padding: 0 9px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  color: #ffe7a1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(34, 28, 18, 0.95), rgba(8, 9, 14, 0.9));
  border: 1px solid rgba(255, 205, 96, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 183, 54, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.vip-badge::after {
  content: "";
  position: absolute;
  inset: -18px auto -18px -22px;
  width: 18px;
  transform: rotate(22deg);
  background: rgba(255, 255, 255, 0.34);
  opacity: 0.45;
}

.vip-badge.is-normal {
  padding: 0 10px;
  color: #c9cbd3;
  background: rgba(35, 36, 44, 0.84);
  border-color: rgba(170, 174, 186, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.18);
}

.vip-badge.is-normal::after {
  display: none;
}

.vip-crown {
  width: 11px;
  height: 11px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 3px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #fff5b7 0%, #ffc83d 54%, #ff8f24 100%);
  box-shadow:
    0 0 0 2px rgba(255, 202, 58, 0.12),
    0 0 10px rgba(255, 202, 58, 0.46);
}

.vip-crown::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  background: rgba(14, 12, 11, 0.55);
}

.vip-badge strong {
  position: relative;
  color: #ffe9a8;
  font-size: 12.5px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 5px rgba(255, 175, 38, 0.32);
  white-space: nowrap;
}

.vip-badge.is-normal strong {
  color: #c9cbd3;
  font-weight: 700;
  text-shadow: none;
}

.money-panel,
.order-head {
  padding: 20px 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 10, 18, 0.7);
  border-radius: 0 0 50px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.24);
}

.balance-row {
  min-height: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.muted-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.balance-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 400;
}

.balance-title img {
  width: 50px;
  height: 50px;
  padding: 6px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.95), rgba(254, 44, 85, 0.88));
}

.big-money {
  text-align: right;
  font-size: 19px;
  font-weight: 700;
}

.money-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.pill-btn {
  min-width: 125px;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: #ff293a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.pill-btn.withdraw {
  background: #00b69c;
}

.stats-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.stat-card {
  min-height: 62px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

button.stat-card {
  width: 100%;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.stat-card span {
  max-width: 92px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 15px;
}

.stat-card strong {
  color: #fff;
  font-size: 14px;
}

.quick-grid {
  width: 94%;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.quick-item {
  height: 78px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.quick-item img:first-child {
  width: 44px;
  height: 44px;
}

.quick-item img:last-child {
  width: 24px;
  height: 24px;
}

.mission {
  width: 94%;
  margin: 0 auto;
  padding-bottom: 0;
}

.section-title {
  position: relative;
  padding: 15px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(37, 244, 238, 0.72), rgba(254, 44, 85, 0.72));
}

.mission-card {
  width: 100%;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.mission-card img,
.mission img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: 10px;
}

.earning-marquee {
  position: absolute;
  right: 4%;
  top: 19%;
  width: 45%;
  height: 58%;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  contain: paint;
  transform: translateZ(0);
}

.earning-marquee::before,
.earning-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 20px;
  pointer-events: none;
}

.earning-marquee::before {
  top: 0;
  background: linear-gradient(180deg, rgba(245, 255, 253, 0.96), transparent);
}

.earning-marquee::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(230, 250, 246, 0.88), transparent);
}

.earning-marquee-track {
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: earningScroll 22s linear infinite;
}

.earning-marquee-set {
  display: grid;
  gap: 7px;
  padding: 14px 8px;
  flex: 0 0 auto;
}

.earning-marquee-set span {
  min-height: 22px;
  padding: 5px 7px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #232733;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes earningScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -50%, 0);
  }
}

.order-head {
  border-radius: 0 0 25px 25px;
}

.order-screen {
  min-height: 100vh;
  padding: 14px 14px 82px;
  background: transparent;
}

.order-screen .order-head {
  min-height: 170px;
  padding: 18px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 244, 238, 0.22), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(254, 44, 85, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(16, 18, 29, 0.96), rgba(7, 9, 15, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.order-screen .page-title {
  padding-bottom: 18px;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0;
}

.order-screen .balance-row {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.order-screen .balance-title {
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
}

.order-screen .balance-title img {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.order-screen .big-money {
  font-size: 26px;
  font-weight: 800;
}

.order-summary {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.order-summary div {
  min-height: 54px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.order-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.order-summary strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 15px;
}

.order-screen .tab-card {
  width: 100%;
  margin: 14px auto 0;
  overflow: visible;
  border-radius: 0;
}

.order-screen .order-tabs {
  height: 44px;
  padding: 4px;
  gap: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 10px;
}

.order-screen .order-tabs button {
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: #e5e5e5;
  color: #333;
  font-size: 13px;
  font-weight: 500;
}

.order-screen .order-tabs button.active {
  color: #fff;
  background: #050505;
  font-weight: 700;
  border-bottom: 0;
  box-shadow: none;
}

.order-screen .empty-box {
  min-height: 300px;
  margin-top: 14px;
  padding: 46px 20px 24px;
  border-radius: 18px;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 10px 26px rgba(40, 54, 70, 0.08);
  backdrop-filter: none;
}

.task-order-card {
  position: relative;
  margin: 0;
  padding: 14px 14px 16px;
  display: block;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
  border: 1px solid rgba(226, 232, 240, .95);
  overflow: hidden;
}

.task-order-card + .task-order-card {
  margin-top: 12px;
  border-radius: 14px;
}

.task-order-card.is-pending {
  border-left: 4px solid #ff2f45;
}

.task-order-card.is-completed {
  min-height: 152px;
  border-left: 4px solid #ef1f36;
  background:
    radial-gradient(circle at 18px 18px, rgba(255, 204, 77, .22) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 22px) 70px, rgba(239, 31, 54, .14) 0 5px, transparent 6px),
    linear-gradient(180deg, #fff 0%, #fff9f2 100%);
}

.order-card-meta {
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
}

.order-card-countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 4px 0 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 47, 69, .1);
  color: #ff1f35;
  font-size: 12px;
  font-weight: 700;
}

.order-card-countdown strong {
  color: #ff1f35;
}

.order-card-product {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
}

.order-card-image {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef2f7;
}

.order-card-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 72px;
  max-height: 72px;
  object-fit: contain;
}

.order-card-product-name {
  min-height: 34px;
  color: #111827;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.order-card-product-bottom {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  color: #111827;
  font-size: 13px;
}

.order-card-money-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.order-card-money-grid span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 13px;
}

.order-card-money-grid strong {
  display: block;
  color: #ff2637;
  font-size: 20px;
  line-height: 1;
}

.order-card-money-grid div:nth-child(2) strong {
  color: #7c2d12;
}

.order-card-money-grid div:nth-child(4) strong {
  color: #f97316;
}

.order-success-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 76px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  transform-origin: center;
  border: 2px solid rgba(198, 18, 35, .92);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 241, 242, .9)),
    linear-gradient(135deg, #b91c1c, #ef233c);
  color: #c1121f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(127, 29, 29, .18);
  z-index: 2;
}

.order-success-ribbon::before,
.order-success-ribbon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(198, 18, 35, .48);
  border-radius: 3px;
  pointer-events: none;
}

.order-success-ribbon::before {
  background:
    linear-gradient(90deg, transparent 0 18px, rgba(198, 18, 35, .18) 18px 19px, transparent 19px),
    linear-gradient(0deg, transparent 0 11px, rgba(198, 18, 35, .14) 11px 12px, transparent 12px);
}

.order-success-ribbon::after {
  inset: auto 9px 6px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(198, 18, 35, 0), rgba(198, 18, 35, .72), rgba(198, 18, 35, 0));
}

.order-submit-btn {
  width: 108px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff3048, #ff5b68);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 35, 54, .22);
}

.order-screen .empty-icon {
  width: 98px;
  height: 98px;
  margin-bottom: 16px;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 0;
  position: relative;
}

.order-screen .empty-icon::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 14px;
  width: 42px;
  height: 52px;
  border: 4px solid #c4ccd5;
  border-radius: 9px;
  background:
    linear-gradient(#c4ccd5, #c4ccd5) 10px 17px / 21px 4px no-repeat,
    linear-gradient(#c4ccd5, #c4ccd5) 10px 30px / 17px 4px no-repeat;
}

.order-screen .empty-icon::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 17px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff293a;
  box-shadow: inset 0 12px 0 #fff, inset 0 16px 0 #ff293a;
}

.empty-title {
  font-size: 17px;
  font-weight: 800;
}

.empty-desc {
  margin-top: 8px;
  color: #8b94a0;
  font-size: 13px;
  line-height: 20px;
}

.empty-action {
  width: 150px;
  height: 36px;
  margin-top: 22px;
  border: 0;
  border-radius: 18px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.page-title {
  padding: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.tab-card {
  width: 94%;
  margin: 10px auto 0;
  border-radius: 3px;
  overflow: hidden;
}

.order-tabs {
  height: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

.order-tabs button {
  border: 0;
  background: #fff;
  font-size: 15px;
  color: #555;
}

.order-tabs button.active {
  color: #000;
  font-weight: 700;
  border-bottom: 3px solid #111;
}

.empty-box {
  margin-top: 82px;
  padding: 20px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  color: #444;
}

.empty-icon {
  margin: 0 auto 10px;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #999;
  font-size: 44px;
}

.task-content {
  padding: 14px 0 62px;
  background: transparent;
  min-height: 100vh;
}

.task-notice-bar {
  width: 84%;
  height: 34px;
  margin: 0 auto 10px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: #ff2b3a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.task-notice-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}

.task-notice-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.task-notice-marquee span {
  display: inline-block;
  min-width: 100%;
  animation: taskNoticeScroll 7s linear infinite;
}

@keyframes taskNoticeScroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.task-banner {
  width: 90%;
  height: 198px;
  margin: 0 auto 16px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.commission {
  width: 90%;
  min-height: 150px;
  margin: 0 auto 10px;
  padding: 14px;
  display: grid;
  grid-template-columns: 46% 54%;
  border-radius: 15px;
  background: #fff;
  box-shadow: 2px 2px 2px #ccc;
}

.commission img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 10px;
}

.commission-copy {
  position: relative;
  z-index: 1;
  padding: 8px 0 0 14px;
  font-size: 13px;
}

.commission-rate-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #111;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.commission-rate-line strong {
  font-size: 14px;
  font-weight: 800;
}

.rate-btn {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  width: 130px;
  padding: 8px 0;
  border-radius: 13px;
  border: 0;
  background: #ff293a;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

.rate-btn:disabled {
  opacity: .65;
}

.rate-btn.is-disabled {
  opacity: .55;
  background: #9ca3af;
  cursor: not-allowed;
}

.match-rule-btn {
  margin-top: 8px;
  width: 130px;
  padding: 7px 0;
  border: 1px solid #ff293a;
  border-radius: 13px;
  background: #fff;
  color: #ff293a;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.task-balance,
.partner {
  width: 91%;
  margin: 10px auto;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
}

.partner {
  overflow: hidden;
}

.task-balance {
  padding: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 14% 8%, rgba(37, 244, 238, 0.22), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(254, 44, 85, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(8, 10, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.task-balance-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.task-balance .money-large {
  padding: 6px 0 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.task-balance .muted-title {
  color: rgba(255, 255, 255, 0.72);
}

.task-balance-note {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.task-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.task-buttons button {
  height: 36px;
  border: 0;
  border-radius: 18px;
  background: #ff293a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(254, 44, 85, 0.22);
}

.task-buttons button.withdraw {
  background: #00b69c;
  box-shadow: 0 8px 18px rgba(0, 182, 156, 0.2);
}

.task-balance .stats-grid {
  margin-top: 14px;
  gap: 8px;
}

.task-balance .stat-card {
  min-height: 54px;
  padding: 9px;
  border-radius: 12px;
}

.task-balance .stat-card span {
  max-width: none;
  font-size: 11px;
  line-height: 14px;
}

.task-balance .stat-card strong {
  font-size: 15px;
}

.partner-title {
  margin-bottom: 5px;
  font-weight: 700;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px 7px;
  align-items: center;
}

.logo-grid img {
  display: block;
  width: 100%;
  max-width: 62px;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  justify-self: center;
}

.mine-head {
  border-radius: 0 0 30px 0;
  background: #fff;
}

.mine-user {
  padding: 20px 20px 10px;
  display: flex;
  gap: 15px;
}

.mine-user img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.mine-name {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
}

.mine-id {
  padding-top: 5px;
  font-size: 15px;
  font-weight: 400;
}

.mine-assets {
  padding: 15px;
  border-radius: 0 26px 26px 0;
  background: rgba(255, 255, 255, 0.5);
}

.mine-assets strong {
  display: block;
  text-align: right;
  font-size: 31px;
}

.mine-actions {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
}

.mine-actions .pill-btn {
  width: 140px;
  margin: 5px;
}

.mine-list {
  padding: 13px 15px;
}

.mine-row {
  min-height: 48px;
  margin-bottom: 7px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #fff;
}

.mine-row img:first-child {
  width: 40px;
  height: 40px;
}

.mine-row span {
  flex: 1;
  padding-left: 7px;
  font-size: 12px;
  font-weight: 700;
}

.mine-row img:last-child {
  width: 20px;
  height: 20px;
}

.signout {
  width: 96%;
  height: 38px;
  margin: 6px auto 0;
  display: block;
  border: 0;
  border-radius: 4px;
  background: #000;
  color: #fff;
}

.mine-screen {
  min-height: 100vh;
  padding-top: 1px;
  padding-bottom: 62px;
  background: transparent;
}

.mine-screen .mine-head {
  margin: 14px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(37, 244, 238, 0.22), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(254, 44, 85, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(16, 18, 29, 0.96), rgba(7, 9, 15, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
}

.mine-screen .mine-user {
  padding: 18px 18px 12px;
  align-items: center;
}

.mine-screen .mine-user img {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,.65);
}

.mine-screen .mine-name {
  font-size: 19px;
}

.mine-screen .mine-id {
  color: rgba(255,255,255,.72);
}

.mine-screen .mine-assets {
  margin: 0 18px 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
}

.mine-screen .mine-assets strong {
  margin-top: 8px;
  text-align: left;
}

.mine-screen .mine-actions {
  padding: 0 13px 16px;
}

.mine-screen .mine-actions .pill-btn {
  flex: 1;
  width: auto;
}

.mine-section-title {
  margin: 14px 14px 10px;
  color: #273241;
  font-size: 15px;
  font-weight: 800;
}

.mine-section-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0fb7ae, #f45b73);
}

.mine-metrics {
  margin: 0 14px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 244, 238, 0.2), transparent 36%),
    radial-gradient(circle at 95% 20%, rgba(254, 44, 85, 0.18), transparent 38%),
    rgba(10, 13, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.mine-metric {
  min-height: 84px;
  padding: 14px 13px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  box-shadow: none;
}

.mine-metric span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.mine-metric strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 21px;
}

.mine-screen .mine-list {
  padding: 0 14px 18px;
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.mine-screen .mine-row {
  min-height: 58px;
  margin-bottom: 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 0;
  color: #111;
  background: transparent;
  border-bottom: 1px solid rgba(17, 21, 31, 0.08);
  box-shadow: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.mine-screen .mine-row:active {
  transform: scale(0.99);
  background: rgba(37, 244, 238, 0.06);
  border-color: rgba(17, 21, 31, 0.08);
}

.mine-screen .mine-row:last-of-type {
  border-bottom: 0;
}

.mine-screen .mine-row img:first-child {
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(37, 244, 238, 0.12), rgba(254, 44, 85, 0.1)),
    #f5f7fa;
}

.mine-screen .mine-row span {
  padding-left: 12px;
  font-size: 14px;
  font-weight: 800;
}

.mine-screen .mine-row img:last-child {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: #fe2c55;
}

.mine-screen .signout {
  width: 100%;
  height: 42px;
  margin-top: 14px;
  border-radius: 22px;
  background: #090b10;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.service-page {
  min-height: 844px;
  padding: 14px 14px 136px;
  background: transparent;
}

.service-hero {
  padding: 18px 16px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 86% 8%, rgba(37, 244, 238, 0.24), transparent 30%),
    radial-gradient(circle at 10% 78%, rgba(254, 44, 85, 0.2), transparent 35%),
    linear-gradient(135deg, rgba(16, 18, 29, 0.96), rgba(7, 9, 15, 0.94));
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.service-hero::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.service-title {
  font-size: 22px;
  font-weight: 800;
}

.service-sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.service-agent {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.92), rgba(254, 44, 85, 0.92));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.agent-avatar img {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 50%;
}

.agent-name {
  font-weight: 700;
}

.agent-state {
  margin-top: 3px;
  color: #00e0bd;
  font-size: 12px;
}

.service-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.service-message {
  font-size: 14px;
  line-height: 1.6;
}

.service-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 12px;
}

.service-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-actions button {
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-actions span {
  display: block;
  margin-top: 4px;
  color: #888;
  font-size: 11px;
  font-weight: 400;
}

.support-chat-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-empty {
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.support-message {
  max-width: 82%;
}

.support-message.is-agent {
  align-self: flex-start;
}

.support-message.is-user {
  align-self: flex-end;
}

.support-message-meta {
  margin-bottom: 4px;
  color: #888;
  font-size: 11px;
}

.support-message.is-user .support-message-meta {
  text-align: right;
}

.support-bubble {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  color: #222;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.support-message.is-user .support-bubble {
  background: #ff293a;
  color: #fff;
}

.service-chatbar {
  position: fixed;
  left: 50%;
  bottom: 56px;
  width: min(100vw, 390px);
  padding: 8px 12px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 8px;
  background: rgba(245, 245, 245, 0.96);
}

.service-chatbar input {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  background: #fff;
  font-size: 13px;
}

.service-chatbar button {
  height: 36px;
  border: 0;
  border-radius: 18px;
  background: #ff293a;
  color: #fff;
  font-size: 13px;
}

.invite-page {
  min-height: 844px;
  padding: 0 20px 42px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("./rotorder-bg-Dve7_5Jp.jpg") center / cover no-repeat;
}

.invite-page .sub-head {
  margin: 0 -20px;
}

.invite-panel {
  margin-top: 30px;
  min-height: 512px;
  padding: 30px 20px 24px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
}

.invite-title {
  text-align: center;
  font-size: 26px;
  line-height: 1.45;
  font-weight: 800;
}

.invite-qr {
  width: 112px;
  height: 112px;
  margin: 28px auto 26px;
  padding: 5px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #fff;
}

.invite-qr .qr-fake {
  width: 98px;
  height: 98px;
  display: block;
}

.invite-copy-title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 800;
}

.invite-link {
  margin-top: 12px;
  min-height: 58px;
  padding: 11px 15px;
  border-radius: 22px;
  background: #fff;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 18px;
  word-break: break-all;
  cursor: pointer;
  user-select: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.invite-link:active {
  transform: scale(0.99);
  box-shadow: inset 0 0 0 1px rgba(255, 41, 58, 0.24);
}

.invite-code-btn {
  width: 100%;
  height: 38px;
  margin-top: 22px;
  border: 0;
  border-radius: 20px;
  background: #ff293a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.feedback-page {
  min-height: 844px;
  padding: 0 10px 96px;
  background: #fff;
}

.feedback-card {
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
}

.feedback-title {
  font-size: 15px;
  font-weight: 700;
}

.feedback-sub {
  margin-top: 6px;
  color: #999;
  font-size: 12px;
  line-height: 18px;
}

.feedback-types {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feedback-types button {
  height: 38px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.feedback-types button.active {
  border-color: #ff293a;
  background: rgba(255, 41, 58, 0.08);
  color: #ff293a;
}

.feedback-label {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
}

.feedback-input,
.feedback-textarea {
  width: 100%;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 400;
}

.feedback-input {
  height: 36px;
}

.feedback-textarea {
  height: 120px;
  padding-top: 10px;
  resize: none;
}

.feedback-input::placeholder,
.feedback-textarea::placeholder {
  color: #c7cdd6;
  opacity: 1;
}

.feedback-upload {
  width: 92px;
  height: 92px;
  margin-top: 10px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px dashed #bbb;
  border-radius: 8px;
  background: #fafafa;
  color: #999;
  font-size: 34px;
  cursor: pointer;
}

.feedback-upload .voucher-preview {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

.feedback-submit {
  width: 100%;
  height: 38px;
  margin-top: 18px;
  border: 0;
  border-radius: 3px;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  width: min(100vw, 390px);
  height: 56px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .05), 0 -8px 20px rgba(0, 0, 0, .08);
  backdrop-filter: blur(10px);
}

.tabbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
  background: rgba(255, 255, 255, .98);
}

.tabbar[hidden] {
  display: none;
}

.tabbar button {
  position: relative;
  border: 0;
  background: transparent;
  color: #888;
  font-size: 10px;
  min-width: 0;
  padding: 0;
}

.tabbar button.active {
  color: #ff293a;
}

.tabbar img {
  width: 23px;
  height: 23px;
  display: block;
  margin: 6px auto 2px;
}

.tab-badge {
  position: absolute;
  top: 3px;
  right: calc(50% - 24px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ff293a;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.page.register .form-card {
  margin-top: 14px;
  padding-top: 35px;
  background: rgba(255, 255, 255, 0.9);
}

.fields {
  padding: 0 25px;
  direction: ltr;
  text-align: left;
}

.field {
  width: 100%;
  display: block;
  margin-bottom: 25px;
  direction: ltr;
  text-align: left;
}

.page.register .field {
  margin-bottom: 25px;
}

.label {
  width: 100%;
  display: block;
  margin-bottom: 14px;
  color: #2d2d2d;
  font-size: 16px;
  font-weight: 700;
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

.input-box {
  width: 100%;
  min-height: 36px;
  padding: 5px;
  display: flex;
  align-items: center;
  border: 1px solid #000;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
  direction: ltr;
}

.input-box input {
  width: 100%;
  height: 24px;
  min-width: 0;
  padding: 5px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

.input-box input::placeholder {
  color: #000;
  opacity: 1;
}

.eye {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 0;
  background: transparent;
  color: #6b6b6b;
  position: relative;
}

.eye::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 13px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50% / 60%;
}

.eye::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.eye.off::before {
  transform: rotate(-15deg);
}

.eye.off .slash {
  position: absolute;
  left: 5px;
  top: 12px;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-35deg);
}

.submit {
  width: calc(100% - 50px);
  height: 38px;
  margin: 0 25px;
  display: block;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-size: 14px;
}

.submit:disabled {
  background: #8c8c88;
}

.auth-links {
  width: calc(100% - 50px);
  margin: 10px 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.switch-link,
.guest-link {
  min-height: 31px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

.page.register .switch-link {
  color: #ff341a;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
}

.guest-link[hidden] {
  display: none;
}

.picker-mask {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
}

.picker {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 21;
  width: min(100vw, 390px);
  height: 262px;
  transform: translate(-50%, 100%);
  background: #fff;
  transition: transform 0.2s ease;
}

.picker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 131px;
  z-index: 3;
  height: 44px;
  pointer-events: none;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  background: rgba(247, 247, 247, 0.72);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 -1px 0 rgba(0, 0, 0, 0.02);
}

.picker.open {
  transform: translate(-50%, 0);
}

.picker-actions {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.picker-actions button {
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #8b8b8b;
  font-size: 16px;
}

.picker-actions button:last-child {
  color: #6aa2c8;
}

.wheel {
  height: 218px;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  padding: 87px 0;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.wheel-highlight {
  display: none;
}

.option {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 44px;
  display: block;
  border: 0;
  background: transparent;
  color: #d4d4d4;
  font-size: 16px;
  text-align: center;
  scroll-snap-align: center;
}

.option.active {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  background: #f6f6f6;
  z-index: 4;
}

.loading {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 30;
  width: 132px;
  min-height: 90px;
  padding: 20px 12px 12px;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  text-align: center;
  font-size: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  top: 20%;
  z-index: 31;
  max-width: min(82vw, 320px);
  padding: 10px 14px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.task-product-mask {
  position: fixed;
  inset: 0;
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: rgba(0, 0, 0, 0.42);
}

.task-product-modal {
  width: min(100% - 16px, 330px);
  padding: 38px 10px 18px;
  border-radius: 16px;
  background: #dedede;
  color: #6f7784;
}

.task-product-modal h3 {
  margin: 0 0 30px;
  color: #ff0000;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.matching-rule-modal {
  width: min(100% - 28px, 360px);
  max-height: 76vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 20px 16px 16px;
  border-radius: 12px;
  background: #fff;
  color: #202733;
}

.matching-rule-modal h3 {
  margin: 0;
  color: #151922;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}

.matching-rule-content {
  min-height: 120px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  background: #fafafa;
  color: #3d4652;
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.matching-rule-close {
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.credit-score-modal {
  width: min(100% - 34px, 330px);
  padding: 22px 18px 18px;
  border-radius: 14px;
  background: #fff;
  color: #202733;
  text-align: center;
}

.credit-score-modal h3 {
  margin: 0;
  color: #151922;
  font-size: 18px;
  line-height: 24px;
}

.credit-score-value {
  width: 88px;
  height: 88px;
  margin: 18px auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.credit-score-modal p {
  margin: 0 0 18px;
  color: #5d6673;
  font-size: 14px;
  line-height: 1.7;
}

.credit-score-close {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.member-benefits-modal {
  width: min(100% - 34px, 330px);
  padding: 22px 18px 18px;
  border-radius: 14px;
  background: #fff;
  color: #202733;
}

.member-benefits-modal h3 {
  margin: 0 0 14px;
  color: #151922;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}

.member-benefits-modal ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.member-benefits-modal li {
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f7f9;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.member-benefits-close {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: #ff293a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.announcement-mask {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 9, 16, 0.62);
  backdrop-filter: blur(8px);
}

.announcement-modal {
  position: relative;
  width: min(100%, 340px);
  max-height: 78vh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  color: #111827;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  animation: announcement-pop .2s cubic-bezier(.2, .9, .2, 1);
}

.announcement-modal::before {
  content: "";
  width: 54px;
  height: 54px;
  margin: 0 auto 2px;
  border-radius: 18px;
  background: url("announcement-tiktok.svg") center / contain no-repeat;
  box-shadow: 0 12px 28px rgba(37, 244, 238, 0.18), 0 10px 24px rgba(254, 44, 85, 0.2);
  transform: rotate(-4deg);
}

.announcement-modal h3 {
  margin: 0;
  color: #10131a;
  font-size: 21px;
  line-height: 28px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
}

.announcement-content {
  min-height: 116px;
  max-height: 40vh;
  overflow-y: auto;
  padding: 16px;
  border: 1px solid #edf0f5;
  border-radius: 18px;
  background: #fff;
  color: #2f3744;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 22px rgba(15, 23, 42, 0.06);
}

.announcement-close {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.24);
}

.announcement-close:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.22);
}

@keyframes announcement-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.task-product-modal.is-needle {
  width: min(100% - 16px, 362px);
  padding-top: 42px;
  border: 1px solid rgba(255, 41, 58, .72);
}

.task-product-badge {
  position: relative;
  width: 292px;
  max-width: 100%;
  height: 76px;
  margin: -18px auto 12px;
  display: grid;
  place-items: center;
  background: url("caidai-XzzQYPS4.png") center / contain no-repeat;
  color: #fff;
  pointer-events: none;
}

.task-product-badge::before {
  content: none;
}

.task-product-badge span {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 182px;
  min-height: 30px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(150, 0, 16, .42);
}

.task-product-modal.is-needle h3 {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #ff0015;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 900;
}

.task-product-card {
  padding: 18px 10px 14px;
  border-radius: 8px;
  background: #fff;
}

.task-product-meta {
  position: relative;
  min-height: 42px;
  color: #9aa3ad;
  font-size: 12px;
  line-height: 16px;
}

.task-product-meta b {
  position: absolute;
  top: 1px;
  right: 0;
  padding: 4px 7px;
  border-radius: 3px;
  background: #ffa500;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
}

.task-product-item {
  min-height: 72px;
  margin: 8px 0 18px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
  background: #f3f4f6;
}

.task-product-image {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.task-product-image img {
  width: auto;
  height: auto;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.task-product-item p {
  padding-right: 6px;
  color: #0b0f16;
  font-size: 13px;
  line-height: 16px;
}

.task-product-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aa3ad;
  font-size: 13px;
}

.task-product-row strong {
  color: #9aa3ad;
  font-weight: 500;
}

.task-product-row.is-total strong {
  color: #ff9900;
  font-size: 16px;
  font-weight: 700;
}

.task-product-shortage {
  margin-top: 18px;
  color: #f00016;
  font-size: 16px;
  line-height: 22px;
  font-weight: 900;
}

.task-product-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  padding-left: 10px;
}

.task-product-actions button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.task-product-close {
  background: #ff5f66;
}

.task-product-submit {
  background: #ffb43b;
}

.spinner {
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 390px) {
  .page {
    width: 100vw;
    min-height: 100vh;
  }
}

@supports (height: 100dvh) {
  html,
  body,
  .phone-shell,
  .page,
  .main-app,
  .screen {
    min-height: 100dvh;
  }
}

@media (max-width: 560px) {
  html,
  body {
    min-height: var(--app-height, 100vh);
    overflow-x: hidden;
  }

  body {
    background: #05070d;
  }

  .phone-shell {
    min-height: var(--app-height, 100vh);
    display: block;
    background: #05070d;
  }

  .page {
    width: 100vw;
    max-width: none;
    min-height: var(--app-height, 100vh);
    margin: 0;
  }

  .main-app,
  .screen {
    min-height: var(--app-height, 100vh);
  }

  .screen {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }

  .screen.no-tabbar {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .page.app-page[data-mode="withdraw"],
  .page.app-page[data-mode="recharge"],
  .page.app-page[data-mode="withdraw"] .main-app,
  .page.app-page[data-mode="recharge"] .main-app,
  .page.app-page[data-mode="withdraw"] .screen,
  .page.app-page[data-mode="recharge"] .screen,
  .page.app-page[data-mode="recharge"] .sub-page,
  .page.app-page[data-mode="withdraw"] .withdraw-page {
    min-height: var(--app-height, 100vh);
    background: #fff;
  }

  .page.app-page[data-mode="withdraw"] .screen.no-tabbar,
  .page.app-page[data-mode="recharge"] .screen.no-tabbar {
    padding-bottom: 0;
  }

  .sub-page,
  .service-page,
  .invite-page,
  .feedback-page {
    min-height: var(--app-height, 100vh);
  }

  .withdraw-page {
    min-height: auto;
  }

  .tabbar,
  .picker,
  .service-chatbar {
    width: 100vw;
    max-width: none;
  }

  .tabbar {
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .service-chatbar {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .picker {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (min-width: 561px) {
  .page,
  .tabbar,
  .picker,
  .service-chatbar {
    width: min(100vw, 430px);
  }
}

@media (max-width: 340px) {
  body {
    font-size: 14px;
  }

  .top {
    height: 68px;
    padding: 16px;
  }

  .form-card {
    width: 92%;
    margin-top: 8px;
    padding-top: 24px;
  }

  .fields {
    padding: 0 18px;
  }

  .field,
  .page.register .field {
    margin-bottom: 18px;
  }

  .submit {
    width: calc(100% - 36px);
    margin-inline: 18px;
  }

  .switch-link {
    margin-right: 18px;
  }

  .brand-name {
    font-size: 22px;
    line-height: 30px;
  }

  .pill-btn {
    min-width: 110px;
  }

  .quick-grid,
  .stats-grid {
    gap: 8px;
  }

  .quick-item {
    height: 68px;
    padding-inline: 8px;
  }

  .tabbar img {
    width: 21px;
    height: 21px;
  }
}
