/* Pinhui brand identity and long-name adjustments. */
.catalog {
  background: #231719;
}

.role-tabs {
  background: #130d0e;
}

.phone,
.toast {
  border-color: #231719;
}

.toast {
  background: #231719;
}

.brand > span {
  display: block;
  overflow: hidden;
  background: #fff url('pinhui-logo.png') left center/auto 100% no-repeat;
  color: transparent;
  font-size: 0;
}

.brand strong {
  font-size: 16px;
  white-space: nowrap;
}

.location {
  min-width: 0;
  max-width: 100%;
  min-height: 28px;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location > svg {
  flex: 0 0 auto;
  stroke-width: 2;
}

.location > svg:first-child {
  width: 15px;
  height: 15px;
}

.location > svg:last-child {
  width: 12px;
  height: 12px;
  color: #74696a;
}

.screen > .topbar > .row:first-child {
  gap: 9px;
}

.screen > .topbar > .row:first-child::before {
  content: "";
  width: 92px;
  height: 32px;
  flex: 0 0 92px;
  background: #fff url('pinhui-logo.png') center/contain no-repeat;
}

.hero small {
  font-size: 10px;
}

.poster-brand-mark,
.member-code-qr-wrap > span {
  display: block;
  overflow: hidden;
  background: #fff url('pinhui-logo.png') left center/auto 100% no-repeat;
  color: transparent;
  font-size: 0;
}

.login-prototype-screen {
  background: #f7f3f3;
}

.login-brand-hero::before {
  background: linear-gradient(145deg, rgba(35, 23, 25, .92), rgba(173, 0, 14, .82));
}

.login-brand-hero::after {
  background: #f7f3f3;
}

.login-brand {
  width: 150px;
  height: 53px;
  padding: 7px 10px;
  background: #fff url('pinhui-logo.png') center/138px auto no-repeat;
}

.login-brand > * {
  display: none;
}

.login-brand-copy small,
.login-brand-copy p {
  color: rgba(255, 255, 255, .82);
}

.login-panel {
  box-shadow: 0 11px 25px rgba(80, 0, 7, .09);
}

.poster-brand strong {
  font-size: 15px;
  white-space: nowrap;
}

.home-promo-swiper {
  background: #3f0b0f;
}

.home-promo-slide::before {
  background: linear-gradient(90deg, rgba(173, 0, 14, .96) 0%, rgba(230, 0, 18, .7) 52%, rgba(230, 0, 18, .08) 100%);
}

.home-promo-stores::before {
  background: linear-gradient(90deg, rgba(35, 23, 25, .96) 0%, rgba(35, 23, 25, .68) 52%, rgba(35, 23, 25, .08) 100%);
}

.home-promo-merchant::before {
  background: linear-gradient(90deg, rgba(166, 42, 0, .96) 0%, rgba(242, 74, 10, .68) 52%, rgba(242, 74, 10, .08) 100%);
}

.points-rule-icon.tone-0 {
  background: var(--mint);
  color: var(--green);
}

.merchant-deposit-amount {
  background: var(--green2);
}

.profile-top .user small {
  max-width: 158px;
  line-height: 1.4;
}

.profile-screen {
  background: #f4f3f3;
}

.profile-screen .profile-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 258px;
  padding: 22px 14px 25px;
  background: linear-gradient(135deg, #fff 0%, #fffaf6 64%, #fff1ea 100%);
  color: #211819;
}

.profile-hero::before,
.profile-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.profile-hero::before {
  left: -74px;
  right: -92px;
  top: 127px;
  height: 108px;
  border-radius: 48% 52% 0 0 / 70% 68% 0 0;
  background: linear-gradient(100deg, rgba(255, 222, 217, .95) 0%, rgba(255, 114, 105, .82) 48%, rgba(223, 0, 20, .95) 100%);
  transform: rotate(-5deg);
}

.profile-hero::after {
  left: -42px;
  right: -76px;
  top: 153px;
  height: 92px;
  border-radius: 52% 48% 0 0 / 68% 74% 0 0;
  background: linear-gradient(100deg, rgba(255, 242, 237, .92), rgba(255, 142, 128, .66) 44%, rgba(183, 0, 14, .88));
  transform: rotate(4deg);
}

.profile-top {
  position: relative;
  z-index: 3;
}

.profile-user-entry {
  gap: 12px;
  color: #211819;
}

.profile-user-entry .avatar {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 0 5px 16px rgba(67, 26, 29, .13);
}

.profile-top .user strong {
  color: #171112;
  font-size: 19px;
  line-height: 1.25;
}

.profile-top .user small {
  max-width: 170px;
  margin-top: 5px;
  color: #847879;
  font-size: 9px;
  opacity: 1;
}

.profile-tools {
  flex: 0 0 auto;
  gap: 2px;
}

.profile-tools button {
  width: 34px;
  height: 34px;
  color: #171112;
  padding: 6px;
}

.profile-tools i {
  width: 22px;
  height: 22px;
}

.profile-hero .profile-message-badge {
  border-color: #fffaf6;
}

.profile-hero .member-card {
  position: relative;
  z-index: 2;
  min-height: 132px;
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid rgba(255, 215, 141, .88);
  border-radius: 10px;
  background: linear-gradient(120deg, #b70011 0%, #e00017 48%, #8e000b 100%);
  color: #fff1c8;
  box-shadow: 0 11px 24px rgba(104, 0, 10, .24);
  padding: 16px;
}

.profile-hero .member-card::before {
  content: "";
  position: absolute;
  inset: -52px -88px auto 38%;
  height: 118px;
  border: 22px solid rgba(255, 176, 139, .2);
  border-radius: 50%;
  transform: rotate(-11deg);
  pointer-events: none;
}

.profile-hero-crown {
  position: absolute;
  z-index: 3;
  right: 92px;
  top: 103px;
  width: 58px;
  height: 58px;
  color: rgba(238, 156, 89, .72);
  transform: rotate(-8deg);
  pointer-events: none;
}

.profile-hero-crown svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.3;
}

.profile-hero .member-card > * {
  position: relative;
  z-index: 1;
}

.profile-hero .member-card button {
  border: 1px solid rgba(255, 223, 166, .2);
  background: rgba(255, 232, 194, .15);
  color: #ffe7bd;
  padding: 7px 9px;
}

.profile-hero .member-brand {
  color: #ffe2b1;
  font-size: 9px;
}

.profile-hero .member-card h2 {
  margin: 13px 0 11px;
  color: #fff0bd;
  font-size: 27px;
  line-height: 1.15;
}

.profile-hero .member-progress {
  height: 6px;
  margin-bottom: 9px;
  background: rgba(89, 0, 8, .68);
  box-shadow: inset 0 1px 2px rgba(50, 0, 5, .32);
}

.profile-hero .member-progress span {
  background: linear-gradient(90deg, #fff0bc, #efc987);
  box-shadow: 0 0 8px rgba(255, 226, 170, .45);
}

.profile-hero .member-card small {
  color: #f7d9b1;
  font-size: 9px;
}

.profile-content {
  position: relative;
  z-index: 3;
  margin-top: 0;
}

.member-brand {
  font-size: 8px;
}

.support-intro h2 {
  font-size: 19px;
}

@media (max-width: 340px) {
  .brand strong { font-size: 14px; }
  .screen > .topbar > .row:first-child::before { width: 82px; flex-basis: 82px; }
  .poster-brand strong { font-size: 13px; }
  .profile-hero { min-height: 244px; padding-inline: 11px; }
  .profile-user-entry { gap: 8px; }
  .profile-user-entry .avatar { width: 50px; height: 50px; }
  .profile-top .user strong { font-size: 17px; }
  .profile-top .user small { max-width: 105px; font-size: 8px; }
  .profile-tools { gap: 0; }
  .profile-tools button { width: 30px; height: 30px; padding: 5px; }
  .profile-tools i { width: 20px; height: 20px; }
  .profile-hero-crown { right: 74px; top: 98px; width: 51px; height: 51px; }
  .profile-hero .member-card { min-height: 126px; margin-top: 29px; padding: 14px 13px; }
  .profile-hero .member-card h2 { font-size: 24px; }
  .support-intro h2 { font-size: 17px; }
}

.profile-hero .member-level-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 13px 0 11px;
}

.profile-hero .member-level-line h2 {
  flex: 0 0 auto;
  margin: 0;
}

.member-points-multiplier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 223, 166, .28);
  border-radius: 6px;
  background: rgba(255, 232, 194, .12);
  color: #ffe7bd;
  white-space: nowrap;
}

.member-points-multiplier span {
  font-size: 9px;
  opacity: .86;
}

.member-points-multiplier b {
  font-size: 14px;
}

.gift-service .gift-service-balance {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #137151;
}

.gift-service-balance b {
  font-size: 18px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.profile-content > .profile-panel:first-child {
  margin-top: 0;
}
