.profile-framer-page {
  min-width: 1100px;
  background: #000;
  color: #e1f0ec;
  font-family: Satoshi, "Microsoft YaHei", sans-serif;
}

.profile-framer-page .site-header {
  grid-template-columns: 1fr auto 1fr;
  min-height: 74px;
  padding: 0 32px;
  background: #030807;
  border-color: rgba(133, 206, 194, .15);
}

.profile-framer-page .search { display: none; }
.profile-framer-page .header-actions { position: static; grid-column: 2; justify-self: center; gap: 30px; color: #b0ccc7; font-size: 14px; }
.profile-framer-page .nav-button { position: absolute; right: 32px; min-height: 36px; padding: 9px 16px; border: 1px solid rgba(138, 205, 197, .34); border-radius: 6px; background: rgba(62, 133, 128, .28); color: #e5f8f4; font-size: 14px; }
.profile-framer-page .account-menu { position: absolute; right: 32px; }
.profile-framer-page .brand { color: #e0f6f2; font-size: 17px; font-weight: 700; }
.profile-framer-page .brand-cn, .profile-framer-page .brand-en { color: inherit; font-size: inherit; }
.profile-framer-page .brand-en { margin-left: 3px; }

.profile-framer-page .profile-shell {
  position: relative;
  width: min(976px, calc(100% - 80px));
  min-height: 700px;
  margin: 0 auto;
  padding: 88px 0 120px;
}

.profile-framer-page .profile-shell::before {
  position: absolute;
  z-index: -1;
  top: 16px;
  left: 50%;
  width: 760px;
  height: 500px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(38, 139, 124, .2), rgba(11, 49, 42, .1) 42%, transparent 72%);
  transform: translateX(-50%);
}

.profile-framer-page .profile-hero { margin: 0 0 48px; }
.profile-framer-page .profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 148px;
  box-sizing: border-box;
  padding: 28px 30px;
  border: 1px solid rgba(119, 204, 191, .3);
  border-radius: 8px;
  background: linear-gradient(105deg, rgba(9, 41, 35, .93), rgba(4, 18, 16, .88));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .25);
}

.profile-framer-page .profile-avatar { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #4ca99c, #1b6e66); color: #e6faf6; font-size: 28px; font-weight: 600; }
.profile-framer-page .profile-card > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
.profile-framer-page .profile-card > div > .eyebrow { grid-column: 1 / -1; margin: 0 0 6px; color: #71c1b4; font-size: 13px; }
.profile-framer-page .profile-card h1 { grid-column: 1; margin: 0 0 5px; color: #effbf8; font-size: 32px; font-weight: 500; line-height: 1.2; }
.profile-framer-page .profile-card > div > p:last-child { grid-column: 1; margin: 0; color: #aac7c1; font-size: 14px; line-height: 1.55; }
.profile-framer-page .profile-card > div > .buy-button { grid-column: 2; grid-row: 2 / span 2; align-self: center; min-width: 78px; }
.profile-framer-page .profile-name-row { grid-column: 1 / -1; margin: 0; }
.profile-framer-page .profile-name-row h1 { margin: 0; }
.profile-framer-page .profile-meta { grid-column: 1 / -1; grid-template-columns: repeat(3, max-content); margin-top: 14px; }
.profile-framer-page .profile-meta.is-email-bound { grid-template-columns: repeat(2, max-content); }
.profile-framer-page .profile-meta > span { border: 1px solid rgba(116, 200, 187, .22); border-radius: 5px; background: rgba(26, 90, 80, .2); color: #b6d8d1; }

.profile-framer-page .referral-panel { margin: 0 0 48px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.profile-framer-page .shop-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 20px; }
.profile-framer-page .shop-heading .eyebrow { margin: 0 0 7px; color: #6cb8ad; font-size: 13px; }
.profile-framer-page .shop-heading h2 { margin: 0; color: #eaf8f5; font-size: 26px; font-weight: 500; line-height: 1.25; }
.profile-framer-page .referral-reward { min-height: 34px; padding: 0 12px; border: 1px solid rgba(118, 214, 199, .45); border-radius: 999px; background: rgba(39, 125, 113, .23); color: #baf2e8; font-size: 13px; font-weight: 500; }
.profile-framer-page .referral-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-framer-page .referral-card { gap: 10px; min-height: 190px; box-sizing: border-box; padding: 20px; border: 1px solid rgba(117, 202, 189, .26); border-radius: 8px; background: #08201c; }
.profile-framer-page .referral-card span, .profile-framer-page .referral-card label { color: #aac6c0; font-size: 13px; font-weight: 400; }
.profile-framer-page .referral-card strong { color: #edf9f6; font-size: 27px; font-weight: 500; letter-spacing: 0; }
.profile-framer-page .referral-card p { color: #a6c1bb; font-size: 13px; line-height: 1.55; }
.profile-framer-page .referral-input-row { grid-template-columns: 1fr; gap: 12px; }
.profile-framer-page .referral-input-row input { min-height: 40px; box-sizing: border-box; border-color: rgba(119, 205, 191, .27); border-radius: 5px; background: #061411; color: #d5ece7; font-weight: 400; }
.profile-framer-page .referral-input-row input::placeholder { color: #6f938c; }
.profile-framer-page .referral-input-row .buy-button { justify-self: start; min-height: 36px; }
.profile-framer-page .referral-message.is-success, .profile-framer-page .profile-message.is-success { color: #8bdecf; }

.profile-framer-page .profile-orders { margin: 0; padding: 0; }
.profile-framer-page .order-list { gap: 12px; }
.profile-framer-page .order-list .empty-state { display: flex; align-items: center; justify-content: space-between; min-height: 78px; box-sizing: border-box; padding: 18px 22px; border: 1px solid rgba(117, 202, 189, .26); border-radius: 8px; background: #08201c; color: #a9c5be; }
.profile-framer-page .order-card { border-color: rgba(117, 202, 189, .26); border-radius: 8px; background: #08201c; color: #c7dfd9; }
.profile-framer-page .order-card h3 { color: #edf9f6; }

.profile-framer-page .buy-button { border-color: #fff; background: #fff; color: #07100f; box-shadow: none; }
.profile-framer-page .secondary-button { border-color: rgba(122, 205, 194, .4); background: rgba(61, 139, 130, .32); color: #d9f3ee; }
.profile-framer-page .site-footer { width: min(976px, calc(100% - 80px)); margin: 0 auto; border-color: rgba(129, 200, 189, .16); color: #8faeaa; }
.profile-framer-page .site-footer a { color: #8faeaa; }

/* Framer desktop frame: profile uses the same 1040px content rail. */
.profile-framer-page { min-width: 1200px; }
.profile-framer-page .site-header { padding: 0 72px; border-color: rgba(141, 202, 195, .14); }
.profile-framer-page .nav-button { right: 72px; min-height: 35px; font-weight: 500; }
.profile-framer-page .account-menu { right: 72px; }

.profile-framer-page .profile-shell {
  width: 100%;
  min-height: 900px;
  margin: 0;
  padding: 0 0 96px;
  background: transparent !important;
}
.profile-framer-page .profile-shell::before { display: none; }
.profile-framer-page .profile-hero,
.profile-framer-page .referral-panel,
.profile-framer-page .profile-orders { width: 1040px; max-width: none; margin: 0 auto; }
.profile-framer-page .profile-hero { padding: 88px 32px 28px; }
.profile-framer-page .profile-hero > * { width: 100%; }
.profile-framer-page .profile-card { min-height: 0; padding: 30px; border-radius: 8px; background: linear-gradient(125deg, rgba(10, 43, 38, .94), rgba(5, 22, 19, .96)); box-shadow: 0 0 38px rgba(57, 168, 153, .12); }
.profile-framer-page .profile-card h1 { font-size: 32px; font-weight: 700; line-height: 1.2; }
.profile-framer-page .profile-card p { font-size: 14px; line-height: 1.6; }
.profile-framer-page .profile-card .secondary-button { min-height: 40px; padding: 12px 18px; font-size: 14px; }
.profile-framer-page .referral-panel { padding: 18px 32px 28px; }
.profile-framer-page .profile-orders { padding: 22px 32px 96px; }
.profile-framer-page .shop-heading { margin: 0 0 18px; }
.profile-framer-page .shop-heading h2 { font-size: 26px; font-weight: 700; line-height: 1.25; }
.profile-framer-page .shop-heading .eyebrow { color: #70d2c4; font-size: 13px; font-weight: 500; }
.profile-framer-page .referral-grid { gap: 16px; }
.profile-framer-page .referral-card { min-height: 190px; padding: 20px; border-radius: 8px; background: rgba(8, 30, 26, .80); }
.profile-framer-page .referral-redeem-card { border-color: rgba(121, 218, 202, .25); background: linear-gradient(135deg, rgba(11, 52, 45, .90), rgba(5, 23, 20, .96)); }
.profile-framer-page .referral-card strong { font-size: 27px; font-weight: 700; }
.profile-framer-page .orders-empty { padding: 22px 24px; border-radius: 8px; background: rgba(7, 24, 21, .76); }

.profile-framer-page .modal-panel { border-color: rgba(121, 205, 192, .3); background: #071411; color: #e9f8f4; }
.profile-framer-page .profile-modal-field { color: #aac6c0; }
.profile-framer-page .profile-modal-field input { border-color: rgba(119, 205, 191, .27); background: #04100e; color: #d5ece7; }
