:root {
  --green: #17ad55;
  --green-dark: #109346;
  --mint: #e9f8f0;
  --mint-strong: #d9f4e6;
  --blue: #2f6df6;
  --text: #101827;
  --muted: #748297;
  --soft: #f6f8fb;
  --line: #e9eef5;
  --card: #ffffff;
  --warning: #fff7e8;
  --danger: #fff1f2;
  --purple: #a855f7;
  --shadow: 0 14px 30px rgba(16, 24, 39, 0.08);
  --nav-height: 86px;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: start center;
  background: var(--soft);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.device {
  position: relative;
  width: min(100vw, 440px);
  min-width: 360px;
  height: min(100vh, 956px);
  min-height: 780px;
  overflow: hidden;
  background: var(--soft);
}

.tg-shell {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background: var(--soft);
  border-radius: 0;
}

.app-screen {
  position: absolute;
  inset: 0 0 var(--nav-height);
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--soft);
  padding: 26px 17px 110px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-screen::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.support-button {
  position: absolute;
  z-index: 30;
  right: 16px;
  bottom: 102px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 12px 22px rgba(23, 173, 85, 0.3);
}

.support-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.bottom-nav {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--nav-height);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 8px 8px 12px;
  background: rgba(249, 251, 254, 0.97);
  border-top: 1px solid rgba(222, 228, 237, 0.82);
  backdrop-filter: blur(16px);
}

.nav-item {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 4px;
  color: #6d7c90;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.nav-item svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.nav-item.active {
  color: var(--green);
}

.page {
  display: grid;
  gap: 17px;
}

.home-page {
  gap: 18px;
}

.user-summary {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid #c7eed7;
}

.user-name {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 900;
}

.fingerprint {
  color: #594bff;
  font-size: 20px;
}

.uid,
.username,
.subline {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.username {
  color: var(--green);
}

.signed-pill,
.balance-pill,
.rate-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.signed-pill {
  min-width: 82px;
  height: 40px;
  color: #aab3c0;
  background: #f3f6fa;
  box-shadow: var(--shadow);
}

.balance-pill,
.rate-pill {
  height: 28px;
  padding: 0 14px;
  color: var(--green);
  background: var(--mint);
  border: 1px solid #b7eacb;
}

.balance-pill svg,
.rate-pill svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.hero-banner {
  display: block;
  width: 100%;
  aspect-ratio: 1216 / 609;
  object-fit: cover;
  border-radius: 23px;
  box-shadow: 0 10px 22px rgba(20, 34, 54, 0.12);
}

.menu-list {
  display: grid;
  gap: 14px;
}

.entry-card {
  min-height: 73px;
  display: grid;
  grid-template-columns: 48px 1fr 40px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #eef2f7;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(16, 24, 39, 0.03);
}

.entry-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--green);
  background: var(--mint);
}

.entry-icon.orange {
  color: #ff7a1a;
  background: #fff0e8;
}

.entry-icon.purple {
  color: #a855f7;
  background: #f1e7ff;
}

.entry-icon.teal {
  color: #20bf86;
  background: #e8faf4;
}

.entry-icon svg,
.small-title svg,
.inline-icon {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.entry-title {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 900;
}

.entry-desc {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.chevron-circle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #728197;
  border-radius: 50%;
  background: #f6f8fb;
}

.chevron-circle svg,
.back-circle svg,
.tiny-chev {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.section-row h2,
.page-title {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}

.view-all {
  color: var(--green);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
}

.empty-dash {
  height: 84px;
  border: 1.5px dashed #dfe7f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
}

.top-title-row,
.inner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-title-row h1,
.inner-header h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.1;
}

.inner-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.back-circle {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: #f0f3f7;
  border-radius: 50%;
}

.subhead {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 7px;
  border-radius: 20px;
  background: #f2f6fa;
}

.segmented button {
  min-height: 42px;
  color: #738299;
  background: transparent;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
}

.segmented button.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 8px 16px rgba(17, 24, 39, 0.1);
}

.field-group {
  display: grid;
  gap: 8px;
}

.label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.field-shell {
  position: relative;
  min-height: 48px;
  display: grid;
  grid-template-columns: 35px 1fr auto 20px;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  background: #fff;
  border: 1px solid #e4eaf1;
  border-radius: 17px;
  box-shadow: 0 3px 10px rgba(20, 34, 54, 0.06);
}

.field-shell::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 7px;
  border-radius: 17px 0 0 17px;
  background: var(--green);
}

.field-shell.purple::before {
  background: var(--purple);
}

.field-shell svg {
  z-index: 1;
  width: 22px;
  height: 22px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.field-shell.purple svg {
  color: #728197;
}

.inline-plus {
  z-index: 1;
  color: #728197;
  font-size: 24px;
  line-height: 1;
}

.field-shell input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
}

.field-shell input::placeholder {
  color: #8a97ab;
}

.addr-count {
  min-width: 22px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--green);
  background: #dff5e9;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.small-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
}

.small-title.green {
  color: var(--green);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.energy-plan {
  min-height: 97px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px 10px;
  color: var(--text);
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 17px;
  box-shadow: 0 4px 10px rgba(20, 34, 54, 0.08);
}

.energy-plan.active {
  border-color: var(--green);
  box-shadow: 0 8px 18px rgba(23, 173, 85, 0.12);
}

.energy-plan strong {
  font-size: 21px;
  font-weight: 950;
}

.energy-plan span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.energy-plan em {
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid #edf1f5;
  color: #708096;
  font-style: normal;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.toggle-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 18px;
}

.toggle-label {
  display: grid;
  gap: 3px;
}

.toggle-label strong {
  font-size: 14px;
  font-weight: 950;
}

.toggle-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.switch {
  position: relative;
  width: 42px;
  height: 26px;
  padding: 0;
  background: #d9e2ed;
  border-radius: 999px;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.switch.on {
  background: var(--green);
}

.switch.on::after {
  transform: translateX(16px);
}

.primary-button {
  min-height: 52px;
  width: 100%;
  color: #fff;
  background: #87d0a2;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 950;
}

.primary-button.strong {
  background: var(--green);
  box-shadow: 0 10px 20px rgba(23, 173, 85, 0.18);
}

.info-card {
  display: grid;
  gap: 13px;
  padding: 22px 21px;
  color: #4c6fc9;
  background: #eff6ff;
  border: 1px solid #acd0ff;
  border-radius: 17px;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2868ec;
  font-size: 18px;
  font-weight: 950;
}

.info-title svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.info-card h3 {
  margin: 0;
  color: #2868ec;
  font-size: 15px;
}

.info-card ol {
  margin: 0;
  padding-left: 21px;
  line-height: 1.9;
  font-size: 14px;
  font-weight: 650;
}

.info-card .cta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #d5e5ff;
  color: var(--green);
  font-size: 14px;
  font-weight: 950;
}

.profile-page {
  padding-top: 0;
}

.profile-user {
  grid-template-columns: 66px 1fr auto;
  padding: 4px 8px 6px;
}

.profile-user .avatar {
  width: 58px;
  height: 58px;
}

.asset-card {
  display: grid;
  gap: 16px;
  padding: 22px 17px 17px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ebf0f5;
  border-radius: 23px;
  box-shadow: 0 18px 30px rgba(20, 34, 54, 0.08);
}

.asset-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa6b6;
  font-size: 13px;
  font-weight: 900;
}

.asset-head svg,
.asset-actions svg,
.free-energy-line svg,
.history-link svg,
.member-icon svg,
.selected-dot svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.asset-balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.balance-box {
  min-height: 86px;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid;
  background: #fff6f6;
}

.balance-box.usdt {
  text-align: right;
  background: #f0fbf7;
}

.balance-box.trx {
  border-color: #ffd4d8;
}

.balance-box.usdt {
  border-color: #cbefe3;
}

.coin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 950;
}

.balance-box.usdt .coin-row {
  justify-content: flex-end;
  color: #22aa77;
}

.coin {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(20, 34, 54, 0.08);
}

.balance-number {
  margin-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 24px;
  font-weight: 950;
}

.asset-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.asset-actions button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  background: #f5f7fa;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 950;
}

.asset-actions .deposit {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 15px rgba(23, 173, 85, 0.2);
}

.free-energy-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--text);
  background: #f2fbf6;
  border: 1px solid #caebd9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.free-energy-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-menu {
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf1f5;
  border-radius: 22px;
}

.profile-menu button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 37px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: var(--text);
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #edf1f5;
  font-size: 15px;
  font-weight: 950;
}

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

.profile-menu svg {
  width: 24px;
  height: 24px;
  color: #55bf7a;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.profile-menu .right-note {
  color: #a0aabc;
  font-size: 13px;
  font-weight: 900;
}

.swap-card,
.address-form,
.saved-address,
.tutorial-card,
.member-option,
.pay-option {
  background: #fff;
  border: 1px solid #edf1f5;
  box-shadow: 0 3px 10px rgba(20, 34, 54, 0.04);
}

.swap-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
}

.qr-box {
  width: 190px;
  height: 190px;
  justify-self: center;
  padding: 8px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 12px 22px rgba(20, 34, 54, 0.12);
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 14px;
  background: #f8fafc;
  border: 1px solid #edf1f5;
  border-radius: 16px;
}

.copy-field strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-style: italic;
  font-weight: 900;
}

.copy-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #dff5e9;
  border-radius: 13px;
}

.copy-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.notice {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.notice svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.notice.warn {
  color: #c35a00;
  background: var(--warning);
  border: 1px solid #ffd99a;
}

.notice.danger {
  color: #c81e2b;
  background: var(--danger);
  border: 1px solid #ffc1c7;
}

.records-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
}

.records-title svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.premium-hero {
  width: 100%;
  aspect-ratio: 1216 / 609;
  object-fit: cover;
  border-radius: 34px;
}

.two-choice,
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.choice-card,
.pay-option {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 5px;
  color: var(--text);
  border-radius: 22px;
  background: #fff;
  font-size: 14px;
  font-weight: 950;
}

.choice-card svg,
.pay-option svg {
  width: 24px;
  height: 24px;
  color: #6e7d92;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.choice-card.active,
.pay-option.active {
  color: var(--green);
  background: #effbf5;
  border: 2px solid var(--green);
}

.choice-card.active svg,
.pay-option.active svg {
  color: var(--green);
}

.member-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8a97ab;
  font-size: 16px;
  font-weight: 950;
}

.history-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.member-list {
  display: grid;
  gap: 15px;
}

.member-option {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 25px;
}

.member-option.active {
  background: #f1fbf6;
  border: 2px solid var(--green);
}

.member-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e5f8ee;
  border-radius: 16px;
}

.member-option.active .member-icon {
  color: #fff;
  background: var(--green);
}

.member-main strong,
.price strong {
  display: block;
  font-size: 19px;
  font-weight: 950;
}

.member-main span,
.price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.price {
  text-align: right;
}

.price span {
  color: #16bf74;
}

.selected-dot {
  position: absolute;
  right: -5px;
  top: -8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  border: 3px solid #f6f8fb;
}

.address-form {
  display: grid;
  gap: 18px;
  padding: 24px 18px 18px;
  border: 2px dashed #e0e5ec;
  border-radius: 20px;
  box-shadow: 0 8px 12px rgba(20, 34, 54, 0.03);
}

.plain-input {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
}

.plain-input svg {
  width: 22px;
  height: 22px;
  color: #728197;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.plain-input:first-child svg {
  color: var(--green);
}

.plain-input input {
  min-height: 34px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
}

.plain-input input::placeholder {
  color: #7d8aa0;
}

.saved-count {
  color: #718096;
  font-size: 13px;
  font-weight: 900;
}

.saved-address {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border-radius: 18px;
}

.saved-address strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 950;
}

.saved-address span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.delete-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #6c7a90;
  background: transparent;
}

.delete-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.empty-state {
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
}

.empty-box {
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #c7ced8;
}

.empty-box svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.empty-box strong {
  color: #aeb7c4;
  font-size: 15px;
  font-weight: 950;
}

.empty-box span {
  font-size: 13px;
  font-weight: 700;
}

.outline-button {
  min-height: 40px;
  padding: 0 18px;
  color: var(--text);
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 950;
}

.tutorial-list {
  display: grid;
  gap: 18px;
}

.tutorial-card {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  gap: 10px;
  padding: 18px;
  text-align: left;
  border-radius: 20px;
}

.tutorial-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 950;
}

.tutorial-date {
  display: block;
  margin-top: 12px;
  color: #a0aabc;
  font-size: 12px;
  font-weight: 750;
}

.round-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #e5f8ee;
  border-radius: 50%;
}

.round-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.toast {
  position: absolute;
  z-index: 60;
  left: 50%;
  bottom: 188px;
  max-width: 76%;
  padding: 10px 14px;
  color: #fff;
  background: rgba(16, 24, 39, 0.9);
  border-radius: 999px;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

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

  .app-screen {
    padding-left: 14px;
    padding-right: 14px;
  }

  .entry-card {
    grid-template-columns: 44px 1fr 36px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .plans-grid,
  .asset-balances,
  .two-choice,
  .pay-grid {
    gap: 10px;
  }

  .energy-plan strong {
    font-size: 19px;
  }
}

/* 订单记录与邀请页（个人中心二级页面） */
.order-row {
  grid-template-columns: 1fr auto;
}

.order-status {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.order-status.ok {
  color: var(--green);
  background: rgba(23, 173, 85, 0.12);
}

.order-status.wait {
  color: #c2820a;
  background: rgba(245, 158, 11, 0.14);
}

.order-status.bad {
  color: #d92d20;
  background: rgba(217, 45, 32, 0.12);
}

.invite-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.invite-stat > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  background: #f5f8fb;
  border-radius: 16px;
}

.invite-stat strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
}

.invite-stat span {
  font-size: 12px;
  color: #6b7a8d;
}
