:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-soft: #faf9f6;
  --ink: #111111;
  --muted: #77736c;
  --line: #e5e2dc;
  --brand: #d71920;
  --brand-strong: #a8070c;
  --gold: #c7a264;
  --red: #d71920;
  --shadow: 0 12px 32px rgba(0, 0, 0, .06);
  --max: 1440px;
}

html {
  background: #050505;
  scroll-behavior: smooth;
}

body:not(.admin-body) {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-soft: #faf9f6;
  --ink: #111111;
  --muted: #77736c;
  --line: #e5e2dc;
  --brand: #d71920;
  --brand-strong: #a8070c;
  --gold: #c7a264;
  --red: #d71920;
  --blue: #d71920;
  --shadow: 0 12px 32px rgba(0, 0, 0, .06);
  min-width: 320px;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body:not(.admin-body)::before {
  display: none;
}

body:not(.admin-body) button,
body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea {
  letter-spacing: 0;
}

body:not(.admin-body) button {
  min-height: 42px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  padding: 9px 18px;
  background: var(--brand);
  color: #fff;
  box-shadow: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

body:not(.admin-body) button:not(:disabled):hover {
  border-color: #ef2c32;
  background: #ef2c32;
  box-shadow: none;
  transform: translateY(-1px);
}

body:not(.admin-body) button:focus-visible,
body:not(.admin-body) input:focus-visible,
body:not(.admin-body) select:focus-visible,
body:not(.admin-body) textarea:focus-visible,
body:not(.admin-body) a:focus-visible {
  outline: 2px solid #ef2c32;
  outline-offset: 3px;
}

body:not(.admin-body) input,
body:not(.admin-body) select,
body:not(.admin-body) textarea {
  min-height: 46px;
  border: 1px solid #dcd8d0;
  border-radius: 3px;
  padding: 0 14px;
  background: #fff;
  box-shadow: none;
}

body:not(.admin-body) input:focus,
body:not(.admin-body) select:focus,
body:not(.admin-body) textarea:focus {
  border-color: #b79860;
  outline: 2px solid rgba(199, 162, 100, .16);
}

/* Global member header */
body:not(.admin-body) .mobile-header {
  position: relative;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(460px, 1fr) auto;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  min-height: 108px;
  margin: 0;
  padding: 0 42px;
  border-bottom: 1px solid rgba(199, 162, 100, .42);
  background: #050505;
  color: #fff;
}

body:not(.admin-body) .mobile-header .brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f0d39b;
  font-weight: inherit;
}

body:not(.admin-body) .mobile-header .brand-lockup > i {
  flex: 0 0 auto;
  font-size: 50px;
  line-height: 1;
}

body:not(.admin-body) .mobile-header .brand-lockup > span {
  display: grid;
  gap: 2px;
}

body:not(.admin-body) .mobile-header .brand-lockup strong {
  color: #f1d7a6;
  font-size: 25px;
  line-height: 1.1;
  white-space: nowrap;
}

body:not(.admin-body) .mobile-header .brand-lockup small {
  color: rgba(255, 255, 255, .58);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

body:not(.admin-body) .bottom-menu {
  position: static;
  display: grid;
  grid-template-columns: repeat(5, minmax(88px, 128px));
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
  transform: none;
}

body:not(.admin-body) .bottom-menu button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 108px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .86);
  box-shadow: none;
  font-size: 16px;
  font-weight: 800;
}

body:not(.admin-body) .bottom-menu button i {
  display: none;
  font-size: 23px;
}

body:not(.admin-body) .bottom-menu button::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 17px;
  height: 3px;
  background: transparent;
  transition: left .18s ease, right .18s ease, background .18s ease;
}

body:not(.admin-body) .bottom-menu button:not(.active):hover {
  border-color: transparent;
  background: transparent;
  color: #fff;
  transform: none;
}

body:not(.admin-body) .bottom-menu button.active {
  border-color: transparent;
  background: transparent;
  color: #ef242b;
  box-shadow: none;
}

body:not(.admin-body) .bottom-menu button.active::after {
  left: 22%;
  right: 22%;
  background: #ef242b;
}

.member-account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.member-identity {
  display: grid;
  grid-template-columns: 42px auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.member-identity > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 162, 100, .6);
  border-radius: 50%;
  color: #efd19a;
  font-size: 23px;
}

.member-identity > span {
  display: grid;
  gap: 3px;
}

.member-identity strong {
  color: #fff;
  font-size: 15px;
}

.member-identity small {
  color: rgba(255, 255, 255, .52);
  font-size: 10px;
  white-space: nowrap;
}

.member-identity small b {
  color: inherit;
  font-weight: 500;
}

.member-identity em {
  align-self: start;
  margin-top: 3px;
  padding: 2px 5px;
  border-radius: 3px;
  background: #c89d55;
  color: #12100d;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.member-value {
  display: grid;
  gap: 2px;
  min-width: 82px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.member-value small {
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.member-value strong {
  color: #e5c27d;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.red-value strong {
  color: #ed4c50;
}

.admin-entry {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 3px;
  color: rgba(255, 255, 255, .7);
  transition: color .18s ease, border-color .18s ease;
}

.admin-entry:hover {
  border-color: #c7a264;
  color: #efd19a;
}

/* Main composition */
body:not(.admin-body) .mobile-shell {
  width: min(100%, var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 44px;
}

body:not(.admin-body) .page-panel.active {
  animation: blackGoldPageIn .32s ease both;
}

body:not(.admin-body) #page-home.active {
  display: grid;
  grid-template-columns: minmax(330px, .42fr) minmax(560px, 1fr);
  gap: 18px;
  padding-bottom: 0;
}

body:not(.admin-body) #homeBanners {
  grid-column: 1 / -1;
  grid-row: 1;
}

body:not(.admin-body) .login-panel {
  grid-column: 1 / -1;
  grid-row: 2;
}

body:not(.admin-body) .notice-panel {
  grid-column: 1 / -1;
  grid-row: 3;
}

body:not(.admin-body) .leaderboard-panel {
  grid-column: 1;
  grid-row: 4;
}

body:not(.admin-body) .checkin-panel {
  grid-column: 2;
  grid-row: 4;
}

body:not(.admin-body) .benefit-shortcuts {
  grid-column: 1 / -1;
  grid-row: 5;
}

body:not(.admin-body) .wage-panel {
  grid-column: 1 / -1;
  grid-row: 6;
}

body.is-authenticated:not(.admin-body) .login-panel {
  display: none;
}

/* Campaign hero */
body:not(.admin-body) .banner-carousel {
  display: block;
}

body:not(.admin-body) #homeBanners .home-banner {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #080808;
  box-shadow: none;
  color: #fff;
}

body:not(.admin-body) .home-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1.01);
  animation: heroBreath 14s ease-in-out infinite alternate;
}

body:not(.admin-body) .home-banner::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(0, 0, 0, .63);
  pointer-events: none;
}

body:not(.admin-body) .home-banner::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0, 0, 0, .08);
  pointer-events: none;
}

body:not(.admin-body) .home-banner em,
body:not(.admin-body) .home-banner strong,
body:not(.admin-body) .home-banner span,
body:not(.admin-body) .home-banner .hero-cta {
  position: relative;
  z-index: 2;
  display: block;
  width: fit-content;
  max-width: min(560px, calc(100% - 84px));
  margin-left: 50px;
  text-shadow: none;
}

body:not(.admin-body) .home-banner em {
  margin-top: 46px;
  padding: 5px 10px;
  border-radius: 2px;
  background: #f0d6a7;
  color: #20170b;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

body:not(.admin-body) .home-banner strong {
  margin-top: 16px;
  white-space: pre-line;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 56px);
  font-weight: 950;
  line-height: 1.2;
}

body:not(.admin-body) .home-banner strong mark {
  padding: 0;
  background: transparent;
  color: #e3262d;
}

body:not(.admin-body) .home-banner span {
  margin-top: 12px;
  padding: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

body:not(.admin-body) .home-banner .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 3px;
  background: #d71920;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

/* News ticker */
body:not(.admin-body) .notice-panel {
  display: flex;
  align-items: center;
  min-height: 62px;
  overflow: hidden;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: #171717;
  box-shadow: none;
}

body:not(.admin-body) .notice-panel::before {
  display: none;
}

body:not(.admin-body) .notice-panel .section-head {
  flex: 0 0 auto;
  gap: 0;
  margin: 0 24px 0 0;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, .2);
}

body:not(.admin-body) .notice-panel .section-head h2 {
  color: #ee3338;
  font-size: 16px;
  white-space: nowrap;
}

body:not(.admin-body) .notice-panel .section-head span {
  display: none;
}

body:not(.admin-body) .notice-list {
  display: block;
  width: auto;
  min-width: 100%;
  max-height: 28px;
  overflow: visible;
  overflow: hidden;
}

body:not(.admin-body) .notice-track {
  display: flex;
  align-items: center;
  width: max-content;
}

body:not(.admin-body) .notice-list.rolling .notice-track {
  animation: welfareTicker 52s linear infinite;
}

body:not(.admin-body) .notice-list.rolling:hover .notice-track {
  animation-play-state: paused;
}

body:not(.admin-body) .notice-list article {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}

body:not(.admin-body) .notice-list b {
  padding: 0;
  background: transparent;
  color: #d2b271;
}

body:not(.admin-body) .notice-list span {
  color: rgba(255, 255, 255, .72);
}

/* Content surfaces */
body:not(.admin-body) .login-panel,
body:not(.admin-body) .bind-panel,
body:not(.admin-body) .support-panel,
body:not(.admin-body) .leaderboard-panel,
body:not(.admin-body) .wage-panel,
body:not(.admin-body) .reward-panel,
body:not(.admin-body) .rule-panel,
body:not(.admin-body) .team-panel,
body:not(.admin-body) .checkin-panel,
body:not(.admin-body) .birthday-panel {
  position: relative;
  overflow: visible;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

body:not(.admin-body) .login-panel {
  grid-template-columns: minmax(220px, .7fr) auto minmax(520px, 1.7fr);
  align-items: end;
  gap: 18px;
}

body:not(.admin-body) .login-panel form {
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto;
}

body:not(.admin-body) .login-panel::before,
body:not(.admin-body) .leaderboard-panel::before,
body:not(.admin-body) .checkin-panel::before {
  display: none;
}

body:not(.admin-body) .section-head {
  min-height: 36px;
  margin: 0 0 16px;
}

body:not(.admin-body) .section-head h2 {
  margin: 0;
  color: #111;
  font-size: 22px;
  font-weight: 950;
}

body:not(.admin-body) .section-head span {
  color: #807c75;
  font-size: 12px;
}

body:not(.admin-body) .leaderboard-panel,
body:not(.admin-body) .checkin-panel {
  min-height: 420px;
}

body:not(.admin-body) .checkin-panel {
  align-content: start;
  grid-template-rows: auto auto auto;
}

body:not(.admin-body) .checkin-preview {
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
  gap: 8px;
  margin: 14px 0 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

body:not(.admin-body) .checkin-preview article {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 70px;
  padding: 13px 6px;
  border: 1px solid #e5e1da;
  border-radius: 3px;
  background: #faf9f6;
  text-align: center;
}

body:not(.admin-body) .checkin-preview article i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c9a363;
  border-radius: 50%;
  color: #b4873c;
  font-size: 18px;
}

body:not(.admin-body) .checkin-preview article small,
body:not(.admin-body) .checkin-preview article span {
  color: #8a857d;
  font-size: 10px;
}

body:not(.admin-body) .checkin-preview article strong {
  color: #292929;
  font-size: 13px;
}

body:not(.admin-body) .checkin-preview article.signed,
body:not(.admin-body) .checkin-preview article.today {
  border-color: #d71920;
  background: #fff4f4;
}

body:not(.admin-body) .checkin-preview article.today i {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}

body:not(.admin-body) .checkin-preview article.signed i {
  border-color: #b68b47;
  background: #c7a264;
  color: #15110c;
}

body:not(.admin-body) .checkin-reward-bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  margin-top: 12px;
  padding: 10px 12px 10px 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0d0d0d, #1b1b1b);
  color: #fff;
}

body:not(.admin-body) .checkin-reward-bar > i {
  color: #d8b474;
  font-size: 34px;
}

body:not(.admin-body) .checkin-reward-bar div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body:not(.admin-body) .checkin-reward-bar strong {
  font-size: 15px;
}

body:not(.admin-body) .checkin-reward-bar strong b {
  color: #e2bd78;
}

body:not(.admin-body) .checkin-reward-bar span {
  overflow: hidden;
  color: #a9a9a9;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .checkin-reward-bar button {
  min-width: 146px;
  min-height: 42px;
  border-color: #d71920;
  background: #d71920;
  color: #fff;
  font-size: 14px;
}

body:not(.admin-body) .benefit-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 92px;
  border: 1px solid #e4dfd6;
  border-radius: 3px;
  background: #fff;
}

body:not(.admin-body) .benefit-shortcuts a {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 18px;
  color: #191919;
}

body:not(.admin-body) .benefit-shortcuts a + a::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: #ece7df;
  content: "";
}

body:not(.admin-body) .benefit-shortcuts a > i:first-child {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff2f2;
  color: #d71920;
  font-size: 38px;
}

body:not(.admin-body) .benefit-shortcuts a:nth-child(3) > i:first-child {
  background: #f1f1f1;
  color: #4e4e4e;
}

body:not(.admin-body) .benefit-shortcuts a:nth-child(4) > i:first-child {
  background: #fff5e8;
  color: #c49139;
}

body:not(.admin-body) .benefit-shortcuts span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body:not(.admin-body) .benefit-shortcuts strong {
  font-size: 15px;
}

body:not(.admin-body) .benefit-shortcuts small {
  overflow: hidden;
  color: #8a857d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .benefit-shortcuts a > i:last-child {
  color: #a39d94;
  font-size: 14px;
}

body:not(.admin-body) .benefit-shortcuts a:hover {
  background: #faf8f4;
}

body:not(.admin-body) .rank-tabs,
body:not(.admin-body) .period-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

body:not(.admin-body) .period-tabs {
  margin-top: 0;
  border-bottom-color: #efede8;
}

body:not(.admin-body) .rank-tabs button,
body:not(.admin-body) .period-tabs button,
body:not(.admin-body) .auth-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #77736d;
  box-shadow: none;
}

body:not(.admin-body) .rank-tabs button.active,
body:not(.admin-body) .period-tabs button.active,
body:not(.admin-body) .auth-tabs button.active {
  border-color: #d71920;
  background: transparent;
  color: #d71920;
}

body:not(.admin-body) .rank-tabs button:not(.active):hover,
body:not(.admin-body) .period-tabs button:not(.active):hover,
body:not(.admin-body) .auth-tabs button:not(.active):hover {
  border-color: transparent;
  background: #f8f7f4;
  color: #1b1b1b;
  box-shadow: none;
  transform: none;
}

body:not(.admin-body) .rank-list {
  margin-top: 8px;
}

body:not(.admin-body) .rank-row {
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid #efede9;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.admin-body) .rank-row:hover {
  transform: none;
  background: #faf9f6;
  box-shadow: none;
}

body:not(.admin-body) .rank-row b,
body:not(.admin-body) .claim-list b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #282828;
  color: #fff;
  font-size: 11px;
}

body:not(.admin-body) .rank-row:nth-child(1) b,
body:not(.admin-body) .claim-list li:nth-child(1) b {
  background: #d7ad55;
}

body:not(.admin-body) .rank-row:nth-child(2) b,
body:not(.admin-body) .claim-list li:nth-child(2) b {
  background: #aeb1b5;
}

body:not(.admin-body) .rank-row:nth-child(3) b,
body:not(.admin-body) .claim-list li:nth-child(3) b {
  background: #bf7946;
}

body:not(.admin-body) .secondary-btn {
  border-color: #1d1d1d;
  background: #171717;
  color: #fff;
}

body:not(.admin-body) .secondary-btn:hover {
  border-color: #d71920;
  background: #d71920;
}

body:not(.admin-body) .checkin-day,
body:not(.admin-body) .checkin-rewards article,
body:not(.admin-body) .wage-grid > article,
body:not(.admin-body) .rule-list article {
  border-color: #e8e4dc;
  border-radius: 3px;
  background: #fbfaf7;
}

body:not(.admin-body) .checkin-day.today {
  border-color: #d71920;
  background: #fff2f2;
}

body:not(.admin-body) .checkin-day.signed {
  border-color: #c7a264;
  background: #fbf4e8;
}

body:not(.admin-body) .checkin-day.signed strong,
body:not(.admin-body) .checkin-day.today strong,
body:not(.admin-body) .product-meta b,
body:not(.admin-body) .wage-row b,
body:not(.admin-body) .team-grid strong {
  color: #ae781d;
}

body:not(.admin-body) .wage-panel {
  padding: 20px 22px;
}

body:not(.admin-body) .wage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body:not(.admin-body) .wage-grid > article {
  padding: 16px;
}

/* Secondary pages */
body:not(.admin-body) .page-panel:not(#page-home).active {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 0;
}

body:not(.admin-body) .page-panel:not(#page-home) > * {
  grid-column: 1 / -1;
}

body:not(.admin-body) .page-image {
  min-height: 280px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #111;
  box-shadow: none;
}

body:not(.admin-body) .page-image img {
  opacity: .72;
  animation: none;
}

body:not(.admin-body) .page-image::before {
  display: none;
}

body:not(.admin-body) .page-image::after {
  background: rgba(0, 0, 0, .34);
}

body:not(.admin-body) .page-image strong {
  left: 30px;
  bottom: 28px;
  color: #fff;
  font-size: 34px;
}

body:not(.admin-body) .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body:not(.admin-body) .product-card,
body:not(.admin-body) .platform-link-card,
body:not(.admin-body) .reward-card,
body:not(.admin-body) .timeline article,
body:not(.admin-body) .chat-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

body:not(.admin-body) .product-card,
body:not(.admin-body) .platform-link-card,
body:not(.admin-body) .reward-card {
  transition: border-color .18s ease, transform .18s ease;
}

body:not(.admin-body) .product-card:hover,
body:not(.admin-body) .platform-link-card:hover,
body:not(.admin-body) .reward-card:hover {
  border-color: #c7a264;
  transform: translateY(-2px);
  box-shadow: none;
}

body:not(.admin-body) .product-card img {
  aspect-ratio: 16 / 10;
}

body:not(.admin-body) .send-packet {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

body:not(.admin-body) .packet-message {
  border: 1px solid #e1d8c9;
  border-radius: 4px;
  box-shadow: none;
}

body:not(.admin-body) .packet-cover {
  background: #20130f;
}

body:not(.admin-body) .packet-cover::after {
  background: rgba(0, 0, 0, .38);
}

body:not(.admin-body) .packet-message button {
  background: #d71920;
}

body:not(.admin-body) #page-profile > .bind-panel,
body:not(.admin-body) #page-profile > .birthday-panel,
body:not(.admin-body) #page-profile > .team-panel,
body:not(.admin-body) #page-profile > .reward-panel {
  grid-column: span 6;
}

body:not(.admin-body) #page-profile > .support-panel,
body:not(.admin-body) #page-profile > section:last-of-type {
  grid-column: 1 / -1;
}

body:not(.admin-body) .profile-details,
body:not(.admin-body) .profile-accordion {
  padding: 0;
  overflow: hidden;
}

body:not(.admin-body) .profile-details > summary,
body:not(.admin-body) .profile-accordion > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

body:not(.admin-body) .profile-details > summary::-webkit-details-marker,
body:not(.admin-body) .profile-accordion > summary::-webkit-details-marker {
  display: none;
}

body:not(.admin-body) .profile-details > summary span,
body:not(.admin-body) .profile-accordion > summary span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body:not(.admin-body) .profile-details > summary span > i,
body:not(.admin-body) .profile-accordion > summary span > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff3f3;
  color: #d71920;
  font-size: 19px;
}

body:not(.admin-body) .profile-details > summary strong,
body:not(.admin-body) .profile-accordion > summary strong {
  color: #1d1d1d;
  font-size: 15px;
}

body:not(.admin-body) .profile-details > summary em,
body:not(.admin-body) .profile-accordion > summary em {
  overflow: hidden;
  color: #8a857d;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body:not(.admin-body) .profile-details > summary > i:last-child,
body:not(.admin-body) .profile-accordion > summary > i:last-child {
  color: #9b958c;
  transition: transform .2s ease;
}

body:not(.admin-body) .profile-details[open] > summary,
body:not(.admin-body) .profile-accordion[open] > summary {
  border-bottom: 1px solid #ece7df;
  background: #faf9f6;
}

body:not(.admin-body) .profile-details[open] > summary > i:last-child,
body:not(.admin-body) .profile-accordion[open] > summary > i:last-child {
  transform: rotate(180deg);
}

body:not(.admin-body) .profile-details > form,
body:not(.admin-body) .profile-details > .birthday-claim,
body:not(.admin-body) .profile-accordion > .team-grid,
body:not(.admin-body) .profile-accordion > .personal-rewards,
body:not(.admin-body) .profile-accordion > .chat-list,
body:not(.admin-body) .profile-accordion > form {
  margin: 0;
  padding: 18px;
}

body:not(.admin-body) .profile-details > .birthday-claim {
  padding-top: 0;
}

body:not(.admin-body) .profile-accordion > form {
  padding-top: 0;
}

body:not(.admin-body) .team-grid article {
  border-radius: 3px;
  background: #171717;
}

body:not(.admin-body) .team-grid span {
  color: rgba(255, 255, 255, .58);
}

body:not(.admin-body) .team-grid strong {
  color: #e4bd72;
}

body:not(.admin-body) .toast {
  border: 1px solid rgba(199, 162, 100, .45);
  border-radius: 3px;
  background: #111;
  color: #fff;
}

@keyframes blackGoldPageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBreath {
  from { transform: scale(1.01); }
  to { transform: scale(1.045); }
}

@keyframes welfareTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-52%); }
}

@media (max-width: 1180px) {
  body:not(.admin-body) .mobile-header {
    grid-template-columns: 210px 1fr auto;
    padding: 0 22px;
  }

  body:not(.admin-body) .bottom-menu {
    grid-template-columns: repeat(5, minmax(72px, 100px));
  }

  body:not(.admin-body) .bottom-menu button {
    padding: 0 7px;
    font-size: 14px;
  }

  .red-value,
  body:not(.admin-body) .mobile-header .admin-entry {
    display: none;
  }
}

@media (max-width: 820px) {
  body:not(.admin-body) {
    padding-bottom: 86px;
    background: #f5f5f3;
  }

  body:not(.admin-body) .mobile-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 116px;
    padding: 11px 20px 9px;
    border-bottom-color: rgba(199, 162, 100, .28);
  }

  body:not(.admin-body) .mobile-header .brand-lockup {
    align-self: start;
    gap: 9px;
  }

  body:not(.admin-body) .mobile-header .brand-lockup > i {
    font-size: 37px;
  }

  body:not(.admin-body) .mobile-header .brand-lockup strong {
    font-size: 20px;
  }

  body:not(.admin-body) .mobile-header .brand-lockup small {
    font-size: 8px;
  }

  .member-account {
    display: contents;
  }

  .member-identity {
    justify-self: end;
    align-self: start;
    grid-template-columns: 34px auto auto;
    gap: 7px;
  }

  .member-identity > i {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .member-identity strong {
    font-size: 14px;
  }

  .member-value {
    grid-column: 1 / -1;
    align-self: end;
    min-width: 0;
    padding: 8px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-left: 0;
  }

  .points-value {
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: start;
    gap: 7px;
  }

  .points-value small {
    grid-column: 1 / -1;
  }

  .points-value strong {
    font-size: 26px;
  }

  .red-value,
  body:not(.admin-body) .mobile-header .admin-entry {
    display: none;
  }

  body:not(.admin-body) .bottom-menu {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-height: 76px;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #080808;
  }

  body:not(.admin-body) .bottom-menu button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-height: 60px;
    padding: 4px 1px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
  }

  body:not(.admin-body) .bottom-menu button i {
    display: block;
    font-size: 25px;
  }

  body:not(.admin-body) .bottom-menu button::after {
    display: none;
  }

  body:not(.admin-body) .bottom-menu button.active {
    color: #ef242b;
  }

  body:not(.admin-body) .mobile-shell {
    width: 100%;
    padding: 0 0 22px;
  }

  body:not(.admin-body) #page-home.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body:not(.admin-body) #homeBanners,
  body:not(.admin-body) .login-panel,
  body:not(.admin-body) .notice-panel,
  body:not(.admin-body) .leaderboard-panel,
  body:not(.admin-body) .checkin-panel,
  body:not(.admin-body) .benefit-shortcuts,
  body:not(.admin-body) .wage-panel {
    grid-column: 1;
    grid-row: auto;
  }

  body:not(.admin-body) #homeBanners .home-banner {
    min-height: 230px;
  }

  body:not(.admin-body) .home-banner img {
    object-position: 58% center;
  }

  body:not(.admin-body) .home-banner::before {
    width: 82%;
    background: rgba(0, 0, 0, .64);
  }

  body:not(.admin-body) .home-banner em,
  body:not(.admin-body) .home-banner strong,
  body:not(.admin-body) .home-banner span,
  body:not(.admin-body) .home-banner .hero-cta {
    max-width: calc(100% - 48px);
    margin-left: 24px;
  }

  body:not(.admin-body) .home-banner em {
    margin-top: 14px;
  }

  body:not(.admin-body) .home-banner strong {
    max-width: 330px;
    margin-top: 10px;
    font-size: clamp(27px, 7.7vw, 34px);
    line-height: 1.18;
  }

  body:not(.admin-body) .home-banner span {
    max-width: 310px;
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.45;
  }

  body:not(.admin-body) .home-banner .hero-cta {
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
    font-size: 14px;
  }

  body:not(.admin-body) .notice-panel {
    min-height: 56px;
    padding: 0 16px;
  }

  body:not(.admin-body) .notice-panel .section-head {
    margin-right: 14px;
    padding-right: 14px;
  }

  body:not(.admin-body) .notice-panel .section-head h2 {
    font-size: 14px;
  }

  body:not(.admin-body) .notice-list article {
    padding: 0 18px;
    font-size: 12px;
  }

  body:not(.admin-body) .login-panel,
  body:not(.admin-body) .leaderboard-panel,
  body:not(.admin-body) .checkin-panel,
  body:not(.admin-body) .wage-panel {
    margin: 0 12px;
    padding: 18px 14px;
  }

  body:not(.admin-body) .login-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  body:not(.admin-body) .login-panel form {
    grid-template-columns: 1fr 1fr auto;
  }

  body:not(.admin-body) .leaderboard-panel,
  body:not(.admin-body) .checkin-panel {
    min-height: 0;
  }

  body:not(.admin-body) .benefit-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 12px;
  }

  body:not(.admin-body) .benefit-shortcuts a:nth-child(3)::after,
  body:not(.admin-body) .benefit-shortcuts a:nth-child(4)::after {
    position: absolute;
    top: 0;
    right: 18px;
    left: 18px;
    height: 1px;
    background: #ece7df;
    content: "";
  }

  body:not(.admin-body) .checkin-reward-bar {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    padding-left: 12px;
  }

  body:not(.admin-body) .checkin-reward-bar > i {
    font-size: 30px;
  }

  body:not(.admin-body) .checkin-reward-bar button {
    min-width: 126px;
  }

  body:not(.admin-body) .section-head h2 {
    font-size: 20px;
  }

  body:not(.admin-body) .rank-tabs,
  body:not(.admin-body) .period-tabs {
    overflow-x: auto;
  }

  body:not(.admin-body) .rank-tabs button,
  body:not(.admin-body) .period-tabs button {
    flex: 1 0 auto;
    padding: 7px 11px;
    font-size: 12px;
  }

  body:not(.admin-body) .checkin-calendar {
    grid-template-columns: repeat(7, minmax(58px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }

  body:not(.admin-body) .checkin-calendar-panel {
    overflow: hidden;
  }

  body:not(.admin-body) .wage-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .page-panel:not(#page-home).active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 12px 22px;
  }

  body:not(.admin-body) .page-panel:not(#page-home) > *,
  body:not(.admin-body) #page-profile > .bind-panel,
  body:not(.admin-body) #page-profile > .birthday-panel,
  body:not(.admin-body) #page-profile > .team-panel,
  body:not(.admin-body) #page-profile > .reward-panel,
  body:not(.admin-body) #page-profile > .support-panel,
  body:not(.admin-body) #page-profile > section:last-of-type {
    grid-column: 1;
  }

  body:not(.admin-body) .profile-details > summary,
  body:not(.admin-body) .profile-accordion > summary {
    grid-template-columns: minmax(0, 1fr) 18px;
    min-height: 60px;
    gap: 8px;
    padding: 12px 14px;
  }

  body:not(.admin-body) .profile-details > summary em,
  body:not(.admin-body) .profile-accordion > summary em {
    grid-column: 1;
    padding-left: 44px;
    margin-top: -12px;
  }

  body:not(.admin-body) .profile-details > summary > i:last-child,
  body:not(.admin-body) .profile-accordion > summary > i:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  body:not(.admin-body) .page-image {
    min-height: 220px;
    margin: 0 -12px;
  }

  body:not(.admin-body) .page-image strong {
    left: 22px;
    bottom: 22px;
    font-size: 27px;
  }

  body:not(.admin-body) .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.admin-body) .send-packet {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-body) .send-packet > *:first-child,
  body:not(.admin-body) .send-packet > *:nth-child(4),
  body:not(.admin-body) .send-packet > button {
    grid-column: 1 / -1;
  }

  body:not(.admin-body) .shipping-form,
  body:not(.admin-body) .birthday-form,
  body:not(.admin-body) .birthday-claim {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .shipping-form input:nth-child(3),
  body:not(.admin-body) .shipping-form button {
    grid-column: 1;
  }
}

@media (max-width: 430px) {
  .member-identity em {
    display: none;
  }

  body:not(.admin-body) #homeBanners .home-banner {
    min-height: 230px;
  }

  body:not(.admin-body) .home-banner strong {
    max-width: 280px;
    font-size: 28px;
  }

  body:not(.admin-body) .checkin-reward-bar {
    grid-template-columns: 30px minmax(0, 1fr) 112px;
    gap: 8px;
    min-height: 64px;
    padding: 8px 10px;
  }

  body:not(.admin-body) .checkin-reward-bar button {
    min-width: 112px;
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  body:not(.admin-body) .benefit-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 94px;
  }

  body:not(.admin-body) .benefit-shortcuts a {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 6px;
    min-height: 94px;
    padding: 8px 4px;
    text-align: center;
  }

  body:not(.admin-body) .benefit-shortcuts a + a::before,
  body:not(.admin-body) .benefit-shortcuts a:nth-child(3)::after,
  body:not(.admin-body) .benefit-shortcuts a:nth-child(4)::after {
    top: 16px;
    right: auto;
    bottom: 16px;
    left: 0;
    width: 1px;
    height: auto;
  }

  body:not(.admin-body) .benefit-shortcuts a > i:first-child {
    width: 38px;
    height: 38px;
    font-size: 27px;
  }

  body:not(.admin-body) .benefit-shortcuts span {
    gap: 0;
  }

  body:not(.admin-body) .benefit-shortcuts strong {
    font-size: 11px;
    white-space: nowrap;
  }

  body:not(.admin-body) .benefit-shortcuts small,
  body:not(.admin-body) .benefit-shortcuts a > i:last-child {
    display: none;
  }

  body:not(.admin-body) .product-grid {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .login-panel form {
    grid-template-columns: 1fr;
  }

  body:not(.admin-body) .auth-tabs {
    grid-template-columns: 1fr 1fr;
  }

  body:not(.admin-body) .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body:not(.admin-body) .page-panel.active,
  body:not(.admin-body) .home-banner img,
  body:not(.admin-body) .notice-list {
    animation: none;
  }

  body:not(.admin-body) button,
  body:not(.admin-body) .product-card,
  body:not(.admin-body) .platform-link-card,
  body:not(.admin-body) .reward-card {
    transition: none;
  }
}
