/* =========================================================================
   Pray祈愿电竞 · 统一入口与高端视觉层
   保留原站结构，在更克制的留白、材质、光影和字体层级上做升级。
   ========================================================================= */

:root {
  --premium-ink: #181117;
  --premium-muted: #877681;
  --premium-rose: #e24b7d;
  --premium-rose-deep: #9d234f;
  --premium-line: rgba(88, 45, 64, 0.12);
  --premium-paper: rgba(255, 253, 254, 0.9);
  --premium-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Microsoft YaHei", serif;
}

html.ct-gate-active,
html.ct-gate-active body {
  min-height: 100%;
  overflow: hidden;
}

html[data-entered="customer"] #gateway,
html[data-entered="admin"] #gateway {
  display: none;
}

#app {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-entered="customer"] #app,
html[data-entered="admin"] #app {
  opacity: 1;
  transform: none;
}

body.ct-admin-active {
  overflow: auto;
}

/* ------------------------------------------------------------ 统一入口 */
#gateway {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  color: var(--premium-ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 193, 215, 0.72), transparent 31%),
    radial-gradient(circle at 92% 4%, rgba(192, 211, 232, 0.76), transparent 36%),
    radial-gradient(circle at 76% 92%, rgba(230, 199, 237, 0.55), transparent 34%),
    linear-gradient(145deg, #fffdfb 0%, #fff5f8 48%, #f9eef3 100%);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  isolation: isolate;
}

#gateway *,
#gateway *::before,
#gateway *::after {
  box-sizing: border-box;
}

#gateway [hidden] {
  display: none !important;
}

#gateway button,
#gateway input {
  font: inherit;
}

#gateway button {
  cursor: pointer;
}

#gateway.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s ease;
}

.gateway-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.gateway-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(123, 76, 95, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 76, 95, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}

.gateway-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
}

.gateway-orb.orb-a {
  width: 36vw;
  height: 36vw;
  min-width: 360px;
  min-height: 360px;
  left: -12vw;
  top: 8vh;
  background: radial-gradient(circle at 40% 36%, rgba(255, 228, 237, 0.96), rgba(244, 132, 169, 0.18) 48%, transparent 72%);
  animation: gateway-drift 14s ease-in-out infinite alternate;
}

.gateway-orb.orb-b {
  width: 38vw;
  height: 38vw;
  min-width: 340px;
  min-height: 340px;
  right: -8vw;
  bottom: -15vh;
  background: radial-gradient(circle at 45% 40%, rgba(226, 237, 248, 0.96), rgba(170, 195, 219, 0.22) 50%, transparent 72%);
  animation: gateway-drift 18s 1.2s ease-in-out infinite alternate-reverse;
}

.gateway-rings {
  position: absolute;
  width: min(78vw, 1000px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(154, 86, 112, 0.1);
  box-shadow:
    0 0 0 9vw rgba(255, 255, 255, 0.11),
    0 0 0 17vw rgba(255, 255, 255, 0.07);
}

.gateway-petals {
  position: absolute;
  inset: 0;
}

.gateway-petals i {
  position: absolute;
  top: -6vh;
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * 0.72);
  border-radius: 80% 0 80% 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 109, 155, 0.68));
  box-shadow: 0 3px 12px rgba(193, 68, 111, 0.14);
  opacity: 0;
  animation: gateway-petal var(--d) linear var(--delay) infinite;
}

@keyframes gateway-petal {
  0% {
    transform: translate3d(0, -5vh, 0) rotate(0);
    opacity: 0;
  }
  14% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(18vw, 112vh, 0) rotate(540deg);
    opacity: 0;
  }
}

@keyframes gateway-drift {
  to {
    transform: translate3d(5vw, 4vh, 0) scale(1.08);
  }
}

.gateway-intro {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.gateway-intro.is-complete {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-intro-stage {
  display: grid;
  justify-items: center;
  animation: gateway-stage-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gateway-stage-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
}

.gateway-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(138px, 20vw, 190px);
  aspect-ratio: 1;
  margin-bottom: 34px;
}

.gateway-seal::before,
.gateway-seal::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
}

.gateway-seal::before {
  border: 1px solid rgba(144, 74, 102, 0.24);
  box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.34), 0 28px 60px rgba(127, 44, 78, 0.13);
  animation: gateway-seal-breathe 3s ease-in-out infinite;
}

.gateway-seal::after {
  inset: 20%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.94), transparent 30%),
    linear-gradient(145deg, rgba(255, 241, 247, 0.96), rgba(237, 141, 173, 0.52));
  box-shadow: inset 0 1px 0 #fff, 0 20px 46px rgba(143, 54, 88, 0.2);
}

.gateway-seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(184, 91, 126, 0.3);
  animation: gateway-ring-spin 18s linear infinite;
}

.gateway-seal-glyph {
  position: relative;
  z-index: 1;
  font-family: var(--premium-serif);
  font-size: clamp(54px, 7.5vw, 82px);
  font-weight: 700;
  line-height: 1;
  color: #8f214a;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}

.gateway-seal-dot {
  position: absolute;
  z-index: 2;
  top: 12%;
  right: 14%;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #dd5a88;
  box-shadow: 0 0 0 7px rgba(221, 90, 136, 0.12);
}

@keyframes gateway-seal-breathe {
  50% {
    transform: scale(1.035);
    box-shadow: 0 0 0 19px rgba(255, 255, 255, 0.22), 0 32px 70px rgba(127, 44, 78, 0.18);
  }
}

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

.temple-intro {
  position: relative;
  width: min(500px, 84vw);
  height: 330px;
  margin: 0 auto 22px;
  perspective: 900px;
  isolation: isolate;
}

.temple-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: 7%;
  left: 8%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(82, 41, 50, 0.22), transparent);
  filter: blur(7px);
}

.temple-lattice {
  position: absolute;
  inset: 6px 2% 22px;
  border: 1px solid rgba(107, 66, 72, 0.1);
  border-radius: 20px 20px 8px 8px;
  opacity: 0.65;
  background:
    linear-gradient(90deg, rgba(132, 81, 84, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(132, 81, 84, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 250, 246, 0.65), rgba(244, 223, 219, 0.38));
  background-size: 38px 38px, 38px 38px, 100% 100%;
  mask-image: linear-gradient(to bottom, #000, #000 58%, transparent 94%);
}

.temple-roof {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 7%;
  width: 86%;
  height: 62px;
  filter: drop-shadow(0 8px 12px rgba(54, 25, 30, 0.18));
}

.temple-roof::before {
  content: "";
  position: absolute;
  inset: 0 2% 12px;
  border-radius: 48% 48% 10px 10px / 32% 32% 8px 8px;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 238, 233, 0.13) 22px 24px),
    linear-gradient(180deg, #5e3032, #301a1d);
  box-shadow: inset 0 2px 0 rgba(255, 230, 222, 0.2);
  clip-path: polygon(5% 40%, 23% 9%, 50% 0, 77% 9%, 95% 40%, 100% 100%, 0 100%);
}

.temple-roof span {
  position: absolute;
  z-index: 2;
  bottom: 5px;
  width: 13px;
  height: 18px;
  border-radius: 50% 50% 2px 2px;
  background: linear-gradient(180deg, #7e4a44, #3b2022);
}

.temple-roof span:nth-child(1) { left: 0; transform: rotate(-13deg); }
.temple-roof span:nth-child(2) { left: 24%; }
.temple-roof span:nth-child(3) { left: 49%; }
.temple-roof span:nth-child(4) { left: 74%; }
.temple-roof span:nth-child(5) { right: 0; transform: rotate(13deg); }

.temple-eave {
  position: absolute;
  z-index: 3;
  top: 66px;
  left: 9%;
  width: 82%;
  height: 13px;
  border-radius: 2px 2px 9px 9px;
  background: linear-gradient(180deg, #77443c, #462325 55%, #2a1719);
  box-shadow: 0 5px 10px rgba(66, 28, 33, 0.22), inset 0 1px 0 rgba(255, 232, 218, 0.22);
}

.temple-ema-hanger {
  position: absolute;
  z-index: 5;
  top: 53px;
  left: 50%;
  width: 260px;
  height: 245px;
  margin-left: -130px;
  display: grid;
  justify-items: center;
  transform-origin: 50% 0;
  animation: temple-ema-sway 5.8s ease-in-out infinite;
}

.temple-rope {
  width: 2px;
  height: 42px;
  background:
    repeating-linear-gradient(180deg, #9b6b4d 0 3px, #68432f 3px 6px);
  box-shadow: 1px 0 1px rgba(255, 255, 255, 0.35);
}

.wooden-ema {
  position: relative;
  width: 226px;
  height: 142px;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid #7c4d2e;
  border-radius: 8px 8px 20px 20px;
  color: #2f1b11;
  background:
    radial-gradient(ellipse at 72% 47%, transparent 0 7px, rgba(92, 49, 24, 0.1) 8px 9px, transparent 11px),
    radial-gradient(ellipse at 24% 74%, transparent 0 4px, rgba(92, 49, 24, 0.12) 5px 6px, transparent 8px),
    repeating-linear-gradient(93deg, rgba(96, 48, 22, 0.06) 0 1px, transparent 1px 8px, rgba(255, 228, 183, 0.08) 8px 10px),
    linear-gradient(165deg, #e6bc7d 0%, #c88f50 42%, #e1b372 75%, #b7793e 100%);
  box-shadow:
    0 24px 38px rgba(65, 28, 24, 0.23),
    inset 0 1px 0 rgba(255, 244, 213, 0.72),
    inset 0 -5px 12px rgba(91, 44, 18, 0.18),
    inset 4px 0 8px rgba(255, 237, 193, 0.16);
  transform: perspective(700px) rotateX(3deg) rotateY(-2deg);
}

.wooden-ema::before,
.wooden-ema::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.wooden-ema::before {
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(101deg, transparent 0 31%, rgba(101, 56, 27, 0.13) 31.3%, transparent 31.8%),
    linear-gradient(83deg, transparent 0 68%, rgba(100, 53, 25, 0.1) 68.4%, transparent 69%),
    radial-gradient(ellipse 120px 18px at 45% 20%, rgba(253, 222, 160, 0.18), transparent 70%);
}

.wooden-ema::after {
  inset: 5px;
  border: 1px solid rgba(93, 53, 27, 0.21);
  border-radius: 5px 5px 16px 16px;
}

.ema-hole {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border: 1px solid rgba(70, 35, 18, 0.5);
  border-radius: 50%;
  background: #d6aa6b;
  box-shadow: inset 0 2px 3px rgba(68, 33, 17, 0.35), 0 0 0 2px rgba(255, 231, 184, 0.2);
}

.wooden-ema strong {
  position: relative;
  z-index: 2;
  margin-top: 7px;
  font-family: var(--premium-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-shadow: 0 1px 0 rgba(255, 237, 196, 0.42);
}

.wooden-ema small {
  position: relative;
  z-index: 2;
  margin-top: 7px;
  color: rgba(62, 36, 19, 0.58);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.ema-seal {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(136, 25, 23, 0.72);
  border-radius: 4px;
  color: #a61f1d;
  font-family: var(--premium-serif);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  transform: rotate(-7deg);
}

.ema-grain {
  position: absolute;
  border: 1px solid rgba(95, 49, 21, 0.16);
  border-radius: 50%;
}

.ema-grain.grain-a {
  width: 120px;
  height: 20px;
  top: 23px;
  left: -26px;
  transform: rotate(-6deg);
}

.ema-grain.grain-b {
  width: 160px;
  height: 28px;
  right: -35px;
  bottom: 20px;
  transform: rotate(7deg);
}

.ema-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 10%, rgba(255, 247, 222, 0.25) 32%, transparent 48%);
  transform: translateX(-35%);
  animation: ema-shine 7s ease-in-out infinite;
}

.ema-tassel {
  width: 1px;
  height: 32px;
  background: #8c2336;
}

.ema-tassel::after {
  content: "";
  display: block;
  width: 16px;
  height: 20px;
  margin: 31px 0 0 -7.5px;
  border-radius: 3px 3px 50% 50%;
  background: repeating-linear-gradient(90deg, #a42a43 0 2px, #751d32 2px 4px);
  box-shadow: 0 5px 9px rgba(65, 18, 31, 0.24);
}

.jade-charm {
  position: absolute;
  z-index: 6;
  top: 86px;
  right: 11%;
  display: grid;
  justify-items: center;
  transform-origin: 50% 0;
  animation: jade-sway 4.7s ease-in-out infinite;
}

.jade-cord {
  width: 1px;
  height: 34px;
  background: #b12b47;
}

.jade-charm i {
  display: grid;
  place-items: center;
  width: 47px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 48% 48% 42% 42%;
  color: rgba(19, 73, 52, 0.84);
  background:
    radial-gradient(circle at 33% 24%, rgba(255, 255, 255, 0.78), transparent 18%),
    radial-gradient(circle at 65% 75%, rgba(31, 114, 79, 0.5), transparent 28%),
    linear-gradient(145deg, rgba(196, 245, 217, 0.9), rgba(37, 138, 92, 0.7));
  box-shadow: 0 10px 20px rgba(17, 94, 58, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  font-family: var(--premium-serif);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

.temple-wind-chime {
  position: absolute;
  z-index: 6;
  top: 77px;
  left: 9%;
  display: grid;
  justify-items: center;
  transform-origin: 50% 0;
  animation: chime-sway 3.8s ease-in-out infinite;
}

.chime-cord {
  width: 1px;
  height: 37px;
  background: #876145;
}

.chime-top {
  width: 35px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #72553c;
  background: linear-gradient(180deg, #e2c591, #a77e4e);
  box-shadow: 0 3px 8px rgba(70, 45, 30, 0.22);
}

.temple-wind-chime i {
  position: absolute;
  top: 45px;
  width: 3px;
  height: 55px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8c7459, #f0d8a9 35%, #a98a67 62%, #725a45);
  box-shadow: 0 4px 6px rgba(77, 46, 30, 0.18);
  transform-origin: 50% 0;
}

.temple-wind-chime i:nth-of-type(1) { left: 2px; height: 42px; animation: chime-pipe 2.4s ease-in-out infinite; }
.temple-wind-chime i:nth-of-type(2) { left: 10px; height: 58px; animation: chime-pipe 2.4s 0.2s ease-in-out infinite; }
.temple-wind-chime i:nth-of-type(3) { right: 9px; height: 49px; animation: chime-pipe 2.4s 0.4s ease-in-out infinite; }
.temple-wind-chime i:nth-of-type(4) { right: 1px; height: 38px; animation: chime-pipe 2.4s 0.6s ease-in-out infinite; }

.temple-wind-chime b {
  position: absolute;
  top: 105px;
  left: 50%;
  width: 20px;
  height: 11px;
  margin-left: -10px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(150deg, #edcf93, #9e7442);
  box-shadow: 0 5px 8px rgba(70, 45, 28, 0.2);
}

.temple-lantern {
  position: absolute;
  z-index: 1;
  top: 84px;
  width: 46px;
  height: 66px;
  border-radius: 45% 45% 38% 38%;
  opacity: 0.78;
  background:
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(147, 72, 51, 0.17) 12px 13px),
    radial-gradient(circle at 50% 44%, #fff1c3, #efba74 48%, #d18457 100%);
  box-shadow: 0 0 28px rgba(247, 184, 102, 0.4), inset 0 0 16px rgba(255, 247, 203, 0.65);
}

.temple-lantern::before,
.temple-lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 26px;
  height: 5px;
  margin-left: -13px;
  border-radius: 2px;
  background: #8b493d;
}

.temple-lantern::before { top: -3px; }
.temple-lantern::after { bottom: -6px; }
.temple-lantern-left { left: 3%; transform: rotate(-3deg); }
.temple-lantern-right { right: 3%; transform: rotate(3deg); }

.temple-incense {
  position: absolute;
  bottom: 40px;
  width: 34px;
  height: 90px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(9px);
  background: linear-gradient(to top, rgba(190, 160, 145, 0.22), transparent 75%);
  animation: incense-rise 6s ease-in-out infinite;
}

.incense-one { left: 31%; }
.incense-two { right: 30%; animation-delay: 2.2s; }

@keyframes temple-ema-sway {
  0%, 100% { transform: rotate(-1.25deg); }
  50% { transform: rotate(1.25deg); }
}

@keyframes jade-sway {
  0%, 100% { transform: rotate(4deg); }
  50% { transform: rotate(-5deg); }
}

@keyframes chime-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2.4deg); }
}

@keyframes chime-pipe {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3.5deg); }
}

@keyframes ema-shine {
  0%, 60% { transform: translateX(-60%); opacity: 0; }
  73% { opacity: 0.75; }
  88%, 100% { transform: translateX(70%); opacity: 0; }
}

@keyframes incense-rise {
  0% { transform: translateY(20px) rotate(-4deg); opacity: 0; }
  35% { opacity: 0.7; }
  100% { transform: translateY(-25px) rotate(8deg); opacity: 0; }
}

.gateway-kicker {
  margin: 0;
  color: #a16b7d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.gateway-intro h1 {
  margin: 14px 0 0;
  font-family: var(--premium-serif);
  font-size: clamp(31px, 4.5vw, 50px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.gateway-intro h1 em {
  display: block;
  margin-top: 10px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #9b7786;
}

.gateway-loading {
  display: flex;
  gap: 7px;
  margin-top: 28px;
}

.gateway-loading i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c04f78;
  animation: gateway-dot 1.1s ease-in-out infinite;
}

.gateway-loading i:nth-child(2) {
  animation-delay: 0.14s;
}

.gateway-loading i:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes gateway-dot {
  50% {
    opacity: 0.3;
    transform: translateY(-4px);
  }
}

.gateway-intro-note {
  margin: 11px 0 0;
  color: #a28792;
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* 登录页 */
.gateway-auth {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(380px, 1.1fr);
  place-items: stretch;
  width: min(1120px, calc(100% - 64px));
  min-height: min(680px, calc(100vh - 72px));
  max-height: 820px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 35px 100px rgba(88, 40, 60, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.08);
  opacity: 0;
  transform: translateY(22px) scale(0.98);
}

.gateway-auth.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gateway-auth-story {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(34px, 5vw, 64px);
  overflow: hidden;
  color: #fff8fb;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 177, 202, 0.3), transparent 29%),
    radial-gradient(circle at 18% 88%, rgba(187, 138, 203, 0.32), transparent 32%),
    linear-gradient(152deg, #321724 0%, #5b1c36 57%, #8d2b4e 100%);
}

.gateway-auth-story::before {
  content: "願";
  position: absolute;
  right: -0.08em;
  top: -0.1em;
  font-family: var(--premium-serif);
  font-size: clamp(220px, 30vw, 390px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.gateway-auth-story::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -130px;
  bottom: 15%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.035), 0 0 0 92px rgba(255, 255, 255, 0.025);
}

.gateway-story-mark {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
}

.gateway-story-mark span {
  font-family: var(--premium-serif);
  font-size: 29px;
  font-weight: 700;
}

.gateway-story-mark i {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb7d0;
  box-shadow: 0 0 0 4px rgba(255, 183, 208, 0.14);
}

.gateway-auth-story .gateway-kicker {
  position: relative;
  z-index: 1;
  color: rgba(255, 230, 239, 0.66);
}

.gateway-auth-story h2 {
  position: relative;
  z-index: 1;
  margin: 14px 0 18px;
  font-family: var(--premium-serif);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.03em;
}

.gateway-story-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 239, 245, 0.74);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.gateway-story-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.gateway-story-meta span {
  display: grid;
  gap: 4px;
  color: rgba(255, 239, 245, 0.62);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.gateway-story-meta b {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.gateway-auth-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 224, 234, 0.46), transparent 34%),
    rgba(255, 252, 253, 0.82);
}

.gateway-login {
  width: min(100%, 396px);
  margin: auto;
}

.gateway-login-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 34px;
}

.gateway-mini-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 45px;
  height: 45px;
  border-radius: 15px;
  color: #9c234f;
  font-family: var(--premium-serif);
  font-size: 21px;
  font-weight: 700;
  background: linear-gradient(145deg, #fff, #f9dce7);
  box-shadow: 0 10px 25px rgba(141, 55, 85, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.gateway-login-head h1 {
  margin: 6px 0 4px;
  font-family: var(--premium-serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.gateway-login-head p:last-child {
  margin: 0;
  color: var(--premium-muted);
  font-size: 12px;
}

.gateway-field {
  display: block;
  margin-bottom: 18px;
}

.gateway-field > span {
  display: block;
  margin-bottom: 8px;
  color: #66545e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.gateway-input-wrap {
  position: relative;
}

.gateway-input-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 48px 0 16px;
  border: 1px solid rgba(94, 54, 71, 0.14);
  border-radius: 15px;
  outline: none;
  color: var(--premium-ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: 0.2s ease;
}

.gateway-input-wrap input::placeholder {
  color: #b8a6ae;
}

.gateway-input-wrap input:focus {
  border-color: rgba(207, 67, 113, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(226, 75, 125, 0.1), inset 0 1px 0 #fff;
}

.gateway-input-wrap > i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #c1adb6;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.gateway-password-toggle {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px;
  border: 0;
  border-radius: 8px;
  color: #a08792;
  background: transparent;
  font-size: 10px;
}

.gateway-password-toggle:hover {
  color: #8e2149;
  background: #fff1f6;
}

.gateway-error {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 70, 91, 0.16);
  border-radius: 11px;
  color: #a72c49;
  background: #fff1f3;
  font-size: 11px;
}

.gateway-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: 0 20px 0 22px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #d73e73, #991c47);
  box-shadow: 0 16px 34px rgba(169, 38, 82, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gateway-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(169, 38, 82, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.gateway-submit:active {
  transform: translateY(1px);
}

.gateway-submit i {
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
}

.gateway-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.gateway-submit.is-loading i {
  animation: gateway-arrow 0.9s ease-in-out infinite;
}

@keyframes gateway-arrow {
  50% {
    transform: translateX(5px);
  }
}

.gateway-role-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: #9a8790;
  font-size: 10.5px;
  line-height: 1.7;
}

.gateway-role-dot {
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: #d95684;
  box-shadow: 0 0 0 4px rgba(217, 86, 132, 0.1);
}

.gateway-demo {
  margin-top: 12px;
  padding: 9px 11px;
  border: 1px dashed rgba(105, 67, 81, 0.17);
  border-radius: 10px;
  color: #8a7480;
  background: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

.gateway-role-state {
  width: min(100%, 396px);
  margin: auto;
  text-align: center;
}

.gateway-role-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 22px;
  font-size: 32px;
  background: #fff;
  box-shadow: 0 16px 35px rgba(111, 55, 76, 0.12);
}

.gateway-role-state h2 {
  margin: 12px 0;
  font-family: var(--premium-serif);
  font-size: 28px;
}

.gateway-role-state > p:not(.gateway-kicker) {
  margin: 0 0 24px;
  color: #806e77;
  font-size: 12px;
  line-height: 1.8;
}

.gateway-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
  color: #bba9b0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.gateway-foot i {
  width: 26px;
  height: 1px;
  background: #ddcbd2;
}

/* 统一入口手机端 */
@media (max-width: 780px) {
  #gateway {
    overflow-y: auto;
  }

  .gateway-auth {
    position: relative;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    min-height: 0;
    max-height: none;
    margin: 12px auto;
    border-radius: 28px;
  }

  .gateway-auth-story {
    min-height: 218px;
    padding: 28px 26px 24px;
    justify-content: flex-start;
  }

  .gateway-story-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 23px;
    border-radius: 16px;
  }

  .gateway-story-mark span {
    font-size: 23px;
  }

  .gateway-auth-story h2 {
    margin: 8px 0 10px;
    font-size: 35px;
  }

  .gateway-story-copy {
    font-size: 11.5px;
    line-height: 1.7;
  }

  .gateway-story-meta {
    display: none;
  }

  .gateway-auth-panel {
    padding: 28px 22px 24px;
  }

  .gateway-login-head {
    margin-bottom: 24px;
  }

  .gateway-login-head h1 {
    font-size: 25px;
  }

  .gateway-mini-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .gateway-input-wrap input {
    height: 51px;
  }

  .gateway-seal {
    margin-bottom: 24px;
  }

  .gateway-intro h1 em {
    font-size: 11px;
  }
}

/* ------------------------------------------------------ 点单站视觉升级 */
html[data-entered="customer"] body {
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 206, 224, 0.46), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(187, 214, 233, 0.4), transparent 30%),
    radial-gradient(circle at 72% 86%, rgba(222, 205, 236, 0.28), transparent 32%),
    linear-gradient(145deg, #fffdfb 0%, #f9f0f4 48%, #f6eef2 100%);
  background-attachment: fixed;
}

html[data-entered="customer"] .app {
  --radius-lg: 28px;
  --radius: 21px;
  --radius-sm: 14px;
  --shadow-sm: 0 8px 24px rgba(98, 46, 65, 0.055);
  --shadow: 0 18px 44px rgba(87, 38, 56, 0.09);
  --shadow-lg: 0 32px 80px rgba(71, 30, 45, 0.16);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 244, 248, 0.96), transparent 26%),
    rgba(255, 252, 253, 0.94);
  box-shadow:
    0 0 0 1px rgba(119, 65, 83, 0.075),
    0 35px 90px rgba(82, 35, 53, 0.13);
}

html[data-entered="customer"] .column {
  min-width: 0;
}

html[data-entered="customer"] .topbar {
  padding-top: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(112, 62, 80, 0.055);
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.96), rgba(255, 252, 253, 0.76) 72%, transparent);
}

html[data-entered="customer"] .brand-mark {
  border-radius: 15px;
  box-shadow: 0 9px 22px rgba(168, 54, 95, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html[data-entered="customer"] .brand-text strong {
  font-family: var(--premium-serif);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.045em;
}

html[data-entered="customer"] .brand-text span {
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-entered="customer"] .view {
  animation-duration: 0.5s;
}

html[data-entered="customer"] .section {
  margin-top: 34px;
}

html[data-entered="customer"] .pad {
  padding: 0 22px;
}

html[data-entered="customer"] .section-head {
  align-items: flex-end;
  margin-bottom: 16px;
}

html[data-entered="customer"] .section-head .eyebrow {
  margin-bottom: 5px;
  color: #b44870;
  font-size: 9.5px;
  letter-spacing: 0.22em;
}

html[data-entered="customer"] .section-head h2 {
  margin-top: 0;
  font-family: var(--premium-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

html[data-entered="customer"] .section-head p {
  margin-top: 6px;
  font-size: 12px;
}

/* 首页第一屏 */
.premium-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  min-height: 392px;
  margin: 14px 18px 0;
  padding: clamp(28px, 4.8vw, 46px);
  border-radius: 34px;
  overflow: hidden;
  color: #fff8fb;
  background:
    radial-gradient(circle at 79% 22%, rgba(255, 170, 199, 0.32), transparent 26%),
    radial-gradient(circle at 13% 100%, rgba(197, 165, 228, 0.22), transparent 30%),
    linear-gradient(135deg, #23141d 0%, #4c192f 52%, #8f2a4d 100%);
  box-shadow:
    0 30px 70px rgba(71, 18, 40, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  isolation: isolate;
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 255, 255, 0.08) 46.2%, transparent 46.5%),
    radial-gradient(rgba(255, 255, 255, 0.17) 0.7px, transparent 0.8px);
  background-size: 100% 100%, 7px 7px;
  mask-image: linear-gradient(100deg, transparent, #000 45%, #000);
}

.premium-hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -110px;
  top: -140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.018);
}

.premium-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding-bottom: 42px;
}

.premium-overline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 231, 240, 0.62);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.premium-overline i {
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.premium-overline em {
  font-style: normal;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.premium-hero h1 {
  margin: 17px 0 15px;
  font-family: var(--premium-serif);
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.premium-hero h1 em {
  color: #ffbad1;
  font-style: normal;
}

.premium-lead {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 237, 244, 0.68);
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

.premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.premium-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 142px;
  height: 48px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 14px;
  color: #45192c;
  background: rgba(255, 250, 252, 0.95);
  box-shadow: 0 12px 28px rgba(19, 5, 12, 0.14), inset 0 1px 0 #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: 0.22s ease;
}

.premium-cta i {
  font-style: normal;
  font-size: 15px;
}

.premium-cta:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 17px 34px rgba(19, 5, 12, 0.2);
}

.premium-cta-ghost {
  min-width: 126px;
  color: rgba(255, 244, 248, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.premium-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.premium-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  color: rgba(255, 232, 240, 0.55);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.premium-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.premium-meta span > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ef0bc;
  box-shadow: 0 0 0 3px rgba(126, 240, 188, 0.11);
}

.premium-meta b {
  color: #fff;
  font-size: 12px;
}

.premium-emblem {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  pointer-events: none;
}

.premium-halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.premium-halo.halo-one {
  width: 238px;
  height: 238px;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.028);
  animation: premium-halo-spin 24s linear infinite;
}

.premium-halo.halo-two {
  width: 176px;
  height: 176px;
  border-style: dashed;
  border-color: rgba(255, 194, 214, 0.28);
  animation: premium-halo-spin 18s linear infinite reverse;
}

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

.premium-star {
  position: absolute;
  color: rgba(255, 221, 233, 0.76);
  font-size: 13px;
}

.premium-star.star-one {
  top: 19%;
  right: 19%;
}

.premium-star.star-two {
  left: 16%;
  bottom: 25%;
  font-size: 10px;
}

.premium-ema {
  position: relative;
  z-index: 1;
  width: 142px;
  height: 210px;
  display: grid;
  justify-items: center;
  animation: premium-ema-sway 5.6s ease-in-out infinite;
  transform-origin: 50% 0;
}

@keyframes premium-ema-sway {
  0%,
  100% {
    transform: rotate(-2.3deg);
  }
  50% {
    transform: rotate(2.3deg);
  }
}

.premium-ema-rope {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, transparent, rgba(255, 238, 244, 0.58));
}

.premium-ema-board {
  position: relative;
  width: 126px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px 12px 26px 26px;
  color: #7c2244;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.7), transparent 30%),
    linear-gradient(150deg, #fff2f7, #eeb2c9);
  box-shadow: 0 24px 42px rgba(15, 3, 9, 0.2), inset 0 1px 0 #fff;
  transform: perspective(500px) rotateY(-6deg);
}

.premium-ema-board::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(113, 37, 64, 0.4);
  border-radius: 50%;
  background: #fff7fa;
}

.premium-ema-board small {
  position: absolute;
  top: 20px;
  color: rgba(118, 39, 68, 0.62);
  font-size: 7px;
  letter-spacing: 0.43em;
}

.premium-ema-board b {
  margin-top: 17px;
  font-family: var(--premium-serif);
  font-size: 49px;
  font-weight: 700;
  line-height: 1;
}

.premium-ema-board i {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 17px;
  height: 17px;
  border: 1px solid #a23b5f;
  border-radius: 5px;
  transform: rotate(7deg);
  opacity: 0.55;
}

.premium-ema-tassel {
  width: 1px;
  height: 31px;
  background: rgba(255, 221, 233, 0.5);
}

.premium-ema-tassel::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 27px 0 0 -5.5px;
  border-radius: 50% 50% 45% 45%;
  background: #f2a6c0;
  box-shadow: 0 7px 16px rgba(15, 3, 9, 0.18);
}

.premium-emblem > p {
  position: absolute;
  bottom: 4px;
  margin: 0;
  color: rgba(255, 226, 237, 0.46);
  font-family: var(--premium-serif);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.27em;
  text-align: center;
}

.premium-member {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 16px;
}

.premium-member > span:nth-child(2) {
  display: grid;
  gap: 1px;
}

.premium-member small {
  color: rgba(255, 232, 240, 0.48);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.premium-member strong {
  font-size: 10.5px;
  font-weight: 500;
}

.premium-member > i {
  margin-left: auto;
  color: rgba(255, 232, 240, 0.45);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: 0.06em;
}

/* 通用面板质感 */
html[data-entered="customer"] .fortune-hero {
  margin: 18px 18px 0;
  padding: 22px;
  border-color: rgba(118, 67, 86, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 2%, rgba(255, 201, 220, 0.52), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 250, 0.92));
  box-shadow: 0 20px 48px rgba(99, 43, 63, 0.095), inset 0 1px 0 #fff;
}

html[data-entered="customer"] .fortune-title {
  font-family: var(--premium-serif);
  font-size: 27px;
  font-weight: 600;
}

html[data-entered="customer"] .fortune-sub {
  font-size: 12px;
}

html[data-entered="customer"] .promo-row {
  gap: 11px;
  margin: 14px 18px 0;
}

html[data-entered="customer"] .promo {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: 0 13px 34px rgba(94, 38, 59, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html[data-entered="customer"] .promo:hover {
  transform: translateY(-2px);
  transition: 0.22s ease;
}

html[data-entered="customer"] .btn {
  min-height: 43px;
  padding: 11px 18px;
  border-radius: 14px;
  font-size: 12.5px;
}

html[data-entered="customer"] .btn-primary {
  background: linear-gradient(135deg, #e14d7d, #ad2858);
  box-shadow: 0 12px 25px rgba(178, 45, 88, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html[data-entered="customer"] .btn-ghost {
  border-color: rgba(105, 65, 81, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 #fff;
}

html[data-entered="customer"] .btn-dark {
  background: linear-gradient(135deg, #2d2028, #151015);
  box-shadow: 0 12px 25px rgba(40, 21, 31, 0.2);
}

html[data-entered="customer"] .mini-card {
  width: 151px;
  padding: 9px 9px 12px;
  border-color: rgba(103, 58, 75, 0.09);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 11px 28px rgba(92, 42, 60, 0.07);
  transition: 0.22s ease;
}

html[data-entered="customer"] .mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 38px rgba(92, 42, 60, 0.11);
}

html[data-entered="customer"] .mini-art {
  position: relative;
  height: 78px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.mini-cover,
.p-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mini-cover {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.p-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}

html[data-entered="customer"] .p-art .fang {
  z-index: 2;
}

.detail-poster {
  position: relative;
  display: block;
  height: clamp(300px, 46vh, 430px);
  overflow: hidden;
  border: 1px solid rgba(99, 52, 70, 0.1);
  border-radius: 22px;
  color: #fff;
  background: #e9dfe4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-poster:hover img {
  transform: scale(1.015);
}

.detail-poster span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(31, 15, 23, 0.68);
  box-shadow: 0 8px 20px rgba(28, 12, 20, 0.22);
  backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* 价目与老板权益 */
.price-guide-page {
  padding-bottom: 24px;
}

.price-guide-hero {
  position: relative;
  margin-top: 8px;
  padding: 30px 28px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff8fb;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 184, 211, 0.36), transparent 34%),
    linear-gradient(145deg, #26151e 0%, #561d38 62%, #9e2c54 100%);
  box-shadow: 0 22px 50px rgba(73, 23, 44, 0.2);
}

.price-guide-hero::after {
  content: "¥";
  position: absolute;
  right: 16px;
  bottom: -54px;
  font-family: var(--premium-serif);
  font-size: 230px;
  color: rgba(255, 255, 255, 0.055);
}

.price-guide-hero .eyebrow {
  color: #ffc2d8;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.price-guide-hero h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 12px;
  font-family: var(--premium-serif);
  font-size: clamp(30px, 6vw, 43px);
  font-weight: 500;
  line-height: 1.22;
}

.price-guide-hero p {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0 0 20px;
  color: rgba(255, 234, 242, 0.68);
  font-size: 12px;
  line-height: 1.8;
}

.price-guide-hero .btn {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #fff;
}

.price-guide-section {
  margin-top: 34px;
}

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

.price-card-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-mini-card {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(104, 58, 76, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(87, 38, 56, 0.06);
}

.price-mini-card.accent {
  border-color: rgba(220, 66, 117, 0.23);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 199, 219, 0.58), transparent 38%),
    rgba(255, 253, 254, 0.95);
}

.price-mini-card small {
  color: #9b7382;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.price-mini-card strong {
  color: #b72d61;
  font-family: var(--premium-serif);
  font-size: 25px;
  line-height: 1.2;
}

.price-mini-card strong em {
  margin-left: 2px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 9px;
  font-style: normal;
}

.price-mini-card > span,
.price-mini-card > em {
  overflow: hidden;
  color: #68545e;
  font-size: 10px;
  font-style: normal;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-mini-card > em {
  color: #a08490;
}

.price-inline-note {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed rgba(188, 60, 105, 0.24);
  border-radius: 13px;
  color: #a12c56;
  background: #fff6fa;
  font-size: 10.5px;
  text-align: center;
}

.hourly-price-table {
  overflow: hidden;
  border: 1px solid rgba(104, 58, 76, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(87, 38, 56, 0.06);
}

.price-hourly-header,
.price-hourly-row {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  align-items: center;
  min-height: 50px;
  padding: 0 14px;
  border-top: 1px solid rgba(105, 60, 77, 0.07);
}

.price-hourly-header {
  min-height: 40px;
  border-top: 0;
  color: #987682;
  background: #fff4f8;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.price-hourly-header span,
.price-hourly-header b {
  text-align: center;
}

.price-hourly-header span {
  text-align: left;
}

.price-hourly-row span {
  font-family: var(--premium-serif);
  font-size: 14px;
  font-weight: 600;
}

.price-hourly-row b {
  color: #ad2858;
  font-family: var(--premium-serif);
  font-size: 17px;
  text-align: center;
}

.price-hourly-row b small {
  margin-left: 1px;
  color: #aa8b98;
  font: 8px "PingFang SC", "Microsoft YaHei", sans-serif;
}

.billing-notes,
.rights-list {
  margin: 0;
  padding: 18px 20px 18px 38px;
  border: 1px solid rgba(104, 58, 76, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(87, 38, 56, 0.055);
}

.billing-notes {
  display: grid;
  gap: 9px;
  color: #68545e;
  font-size: 11px;
  line-height: 1.7;
}

.rights-list {
  display: grid;
  gap: 13px;
  color: #604c56;
  font-size: 10.5px;
  line-height: 1.8;
}

.rights-list li::marker {
  color: #d04a7d;
  font-weight: 700;
}

.policy-poster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.policy-poster {
  position: relative;
  height: 310px;
  overflow: hidden;
  border: 1px solid rgba(97, 53, 70, 0.1);
  border-radius: 20px;
  background: #f1e7eb;
  box-shadow: 0 15px 35px rgba(78, 33, 51, 0.09);
}

.policy-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.policy-poster:hover img {
  transform: scale(1.018);
}

.policy-poster span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 11px;
  color: #fff;
  background: rgba(30, 14, 22, 0.68);
  backdrop-filter: blur(10px);
  font-size: 10px;
  text-align: center;
}

/* ------------------------------------------------------- 每日求签仪式 */
.fortune-draw-overlay {
  position: fixed;
  inset: 0;
  z-index: 650;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff7f9;
  background:
    radial-gradient(circle at 50% 48%, rgba(245, 195, 151, 0.22), transparent 22%),
    radial-gradient(circle at 18% 18%, rgba(227, 119, 157, 0.2), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(117, 96, 157, 0.2), transparent 36%),
    rgba(26, 14, 20, 0.94);
  backdrop-filter: blur(16px);
  animation: ritual-overlay-fade 2.65s ease both;
}

.ritual-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ritual-ambient i {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(145deg, rgba(255, 249, 223, 0.85), rgba(240, 126, 167, 0.35));
  opacity: 0;
  animation: ritual-mote 3.4s ease-out forwards;
}

.ritual-ambient i:nth-child(1) { left: 22%; top: 35%; animation-delay: 0.15s; }
.ritual-ambient i:nth-child(2) { left: 72%; top: 26%; animation-delay: 0.55s; transform: scale(0.7); }
.ritual-ambient i:nth-child(3) { left: 35%; top: 68%; animation-delay: 0.9s; transform: scale(0.55); }
.ritual-ambient i:nth-child(4) { left: 66%; top: 62%; animation-delay: 1.2s; transform: scale(1.2); }
.ritual-ambient i:nth-child(5) { left: 15%; top: 76%; animation-delay: 1.5s; transform: scale(0.45); }
.ritual-ambient i:nth-child(6) { left: 83%; top: 44%; animation-delay: 1.8s; transform: scale(0.65); }

.ritual-stage {
  position: relative;
  width: min(420px, 88vw);
  height: min(500px, 74vh);
  display: grid;
  place-items: center;
}

.ritual-stage::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 229, 195, 0.12);
  box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.025), 0 0 0 84px rgba(255, 255, 255, 0.014);
  animation: ritual-halo 2.6s ease-out both;
}

.ritual-tube {
  position: absolute;
  bottom: 64px;
  left: 50%;
  width: 150px;
  height: 208px;
  margin-left: -75px;
  transform-origin: 50% 100%;
  animation: ritual-tube-shake 0.95s 0.16s ease-in-out both;
}

.ritual-tube::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 21px 0 0;
  border: 1px solid #8b5738;
  border-radius: 10px 10px 28px 28px / 8px 8px 20px 20px;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(255, 245, 210, 0.38), transparent 25%),
    radial-gradient(ellipse at 73% 75%, rgba(74, 38, 23, 0.22), transparent 24%),
    repeating-linear-gradient(92deg, transparent 0 12px, rgba(82, 44, 25, 0.1) 12px 14px),
    linear-gradient(90deg, #9b633c, #e0b06f 26%, #c88b4e 64%, #8d5737);
  box-shadow:
    0 28px 45px rgba(10, 3, 6, 0.38),
    inset 7px 0 13px rgba(255, 236, 193, 0.18),
    inset -8px 0 14px rgba(73, 36, 20, 0.2);
}

.ritual-tube::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 9px;
  right: 9px;
  bottom: 18px;
  height: 18px;
  border-radius: 50%;
  border-top: 1px solid rgba(255, 237, 195, 0.2);
  box-shadow: 0 -5px 12px rgba(80, 40, 20, 0.18);
}

.ritual-tube-mouth {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 2px;
  width: 146px;
  height: 30px;
  border: 1px solid #76533c;
  border-radius: 50%;
  background: radial-gradient(ellipse, #2b1c1a 0 56%, #a4734c 60%, #5f3d2c 100%);
  box-shadow: inset 0 7px 11px rgba(0, 0, 0, 0.44), 0 2px 0 rgba(255, 225, 174, 0.18);
}

.ritual-tube-band {
  position: absolute;
  z-index: 4;
  top: 92px;
  left: -3px;
  width: 156px;
  height: 18px;
  border-radius: 4px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 241, 202, 0.45) 0 4px, transparent 4px 8px),
    #8c2d3f;
  box-shadow: 0 4px 10px rgba(38, 14, 18, 0.26);
}

.ritual-tube-glyph {
  position: absolute;
  z-index: 4;
  top: 123px;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 234, 198, 0.66);
  border-radius: 50%;
  color: #54301e;
  background: rgba(255, 235, 195, 0.48);
  font-family: var(--premium-serif);
  font-size: 27px;
  font-weight: 700;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.36);
}

.ritual-stick {
  position: absolute;
  z-index: 1;
  top: 34px;
  left: 50%;
  width: 36px;
  height: 232px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  border: 1px solid #9b754c;
  border-radius: 18px 18px 8px 8px;
  color: #7e2037;
  background:
    linear-gradient(90deg, rgba(122, 80, 40, 0.12), transparent 30%, rgba(255, 255, 255, 0.28) 52%, transparent 72%),
    linear-gradient(180deg, #f5dfb6, #dcb981 74%, #b97c52);
  box-shadow: 0 18px 34px rgba(13, 5, 8, 0.35), inset 0 1px 0 #fff4dc;
  opacity: 0;
  transform: translate(-50%, 125px) scale(0.12);
  transform-origin: 50% 50%;
  animation: ritual-stick-rise 2.38s 0.62s cubic-bezier(0.18, 0.82, 0.2, 1) both;
}

.ritual-stick::before {
  content: "";
  position: absolute;
  top: -9px;
  width: 22px;
  height: 13px;
  border-radius: 50% 50% 30% 30%;
  background: linear-gradient(180deg, #b32f46, #791a2f);
}

.ritual-stick b {
  font-family: var(--premium-serif);
  font-size: 24px;
  line-height: 1;
}

.ritual-stick small {
  color: rgba(91, 53, 30, 0.52);
  font-size: 6px;
  letter-spacing: 0.22em;
}

.ritual-loose-stick {
  position: absolute;
  z-index: 3;
  top: 7px;
  width: 7px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b98854, #f0d8a5 45%, #9a653e);
  box-shadow: 0 4px 8px rgba(36, 13, 18, 0.24);
  transform-origin: 50% 100%;
}

.ritual-loose-stick.loose-a { left: 49px; transform: rotate(-10deg); animation: loose-stick-a 0.8s ease-in-out both; }
.ritual-loose-stick.loose-b { left: 70px; animation: loose-stick-b 0.8s 0.08s ease-in-out both; }
.ritual-loose-stick.loose-c { left: 91px; transform: rotate(9deg); animation: loose-stick-a 0.8s 0.15s ease-in-out reverse both; }

.ritual-status {
  position: absolute;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 237, 223, 0.68);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.ritual-status i {
  width: 22px;
  height: 1px;
  background: rgba(255, 231, 211, 0.22);
}

.ritual-caption {
  position: absolute;
  bottom: -4px;
  color: rgba(255, 236, 222, 0.34);
  font-family: var(--premium-serif);
  font-size: 9px;
  letter-spacing: 0.22em;
}

@keyframes ritual-tube-shake {
  0%, 100% { transform: rotate(0); }
  12% { transform: rotate(-8deg); }
  23% { transform: rotate(7deg); }
  35% { transform: rotate(-10deg); }
  48% { transform: rotate(9deg); }
  61% { transform: rotate(-6deg); }
  74% { transform: rotate(4deg); }
}

@keyframes ritual-stick-rise {
  0% { opacity: 0; transform: translate(-50%, 125px) scale(0.12); }
  18% { opacity: 1; transform: translate(-50%, 72px) scale(0.22); }
  45% { opacity: 1; transform: translate(-50%, -45px) scale(0.58); }
  72%, 88% { opacity: 1; transform: translate(-50%, -180px) scale(1.62); }
  100% { opacity: 0; transform: translate(-50%, -230px) scale(2.05); }
}

@keyframes loose-stick-a {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  45% { transform: translateY(-21px) rotate(-19deg); }
}

@keyframes loose-stick-b {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-27px) rotate(9deg); }
}

@keyframes ritual-halo {
  0% { opacity: 0; transform: scale(0.7); }
  45%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.12); }
}

@keyframes ritual-mote {
  0% { opacity: 0; translate: 0 20px; rotate: 0deg; }
  25% { opacity: 0.75; }
  100% { opacity: 0; translate: 18px -150px; rotate: 190deg; }
}

@keyframes ritual-overlay-fade {
  0% { opacity: 0; }
  8%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 699px) {
  .price-card-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-poster-grid {
    grid-template-columns: 1fr;
  }

  .policy-poster {
    height: 360px;
  }
}

html[data-entered="customer"] .mini-art::before,
html[data-entered="customer"] .p-art::before,
html[data-entered="customer"] .hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 55%);
  pointer-events: none;
}

html[data-entered="customer"] .mini-title {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
}

html[data-entered="customer"] .mini-price {
  font-size: 15px;
}

html[data-entered="customer"] .hero-card {
  border-color: rgba(107, 62, 79, 0.08);
  border-radius: 29px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 48px rgba(81, 35, 52, 0.11);
}

html[data-entered="customer"] .hero-card .awning {
  height: 10px;
  border: 0;
  opacity: 0.72;
}

html[data-entered="customer"] .hero-art {
  height: 164px;
  overflow: hidden;
}

html[data-entered="customer"] .hero-art > span:first-child {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 32px rgba(86, 34, 52, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(7px);
}

html[data-entered="customer"] .hero-art::after {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
}

html[data-entered="customer"] .hero-body {
  padding: 20px 22px 0;
}

html[data-entered="customer"] .hero-body h3 {
  font-family: var(--premium-serif);
  font-size: 23px;
  font-weight: 600;
}

html[data-entered="customer"] .hero-body p {
  font-size: 12px;
  line-height: 1.75;
}

html[data-entered="customer"] .cat-strip {
  gap: 8px;
  padding: 3px 22px 8px;
}

html[data-entered="customer"] .cat-chip {
  min-height: 40px;
  padding: 9px 14px;
  border-color: rgba(104, 60, 77, 0.1);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 7px 18px rgba(95, 46, 64, 0.055);
  font-size: 11.5px;
}

html[data-entered="customer"] .feed {
  gap: 16px;
  margin-top: 17px;
}

html[data-entered="customer"] .product {
  position: relative;
  border-color: rgba(100, 56, 73, 0.085);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 13px 32px rgba(87, 39, 57, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-entered="customer"] .product:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(87, 39, 57, 0.11);
}

html[data-entered="customer"] .p-art {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

html[data-entered="customer"] .p-art > span:first-child {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 22px rgba(85, 32, 52, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(6px);
}

html[data-entered="customer"] .p-top {
  gap: 5px;
}

html[data-entered="customer"] .p-badge,
html[data-entered="customer"] .floor-tag,
html[data-entered="customer"] .hour-tag {
  border-radius: 7px;
  font-size: 9px;
  letter-spacing: 0.04em;
}

html[data-entered="customer"] .p-title {
  font-size: 16px;
  font-weight: 650;
}

html[data-entered="customer"] .p-sub {
  font-size: 11.5px;
  line-height: 1.65;
}

html[data-entered="customer"] .chip {
  min-height: 25px;
  border-radius: 8px;
  font-size: 9.5px;
}

html[data-entered="customer"] .price .num {
  font-family: var(--premium-serif);
  font-size: 25px;
}

html[data-entered="customer"] .p-actions .btn {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 10.5px;
}

html[data-entered="customer"] .rail {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 250, 0.8)),
    radial-gradient(circle at 15% 5%, rgba(255, 201, 220, 0.3), transparent 25%);
  border-right: 1px solid rgba(98, 53, 71, 0.08);
  backdrop-filter: blur(18px);
}

html[data-entered="customer"] .rail-brand strong {
  font-family: var(--premium-serif);
  font-size: 16px;
}

html[data-entered="customer"] .rail-link {
  border-radius: 13px;
}

html[data-entered="customer"] .rail-link.on {
  background: linear-gradient(135deg, #321a27, #722342);
  color: #fff;
  box-shadow: 0 12px 25px rgba(73, 22, 44, 0.2);
}

html[data-entered="customer"] .side-card {
  border-color: rgba(99, 55, 72, 0.08);
  background: rgba(255, 255, 255, 0.73);
  box-shadow: 0 14px 34px rgba(87, 38, 56, 0.07);
  backdrop-filter: blur(14px);
}

html[data-entered="customer"] .side-welcome {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 198, 219, 0.44), transparent 40%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 249, 0.74));
}

html[data-entered="customer"] .tabbar {
  border-top-color: rgba(102, 56, 74, 0.08);
  background: rgba(255, 251, 253, 0.92);
  backdrop-filter: blur(20px) saturate(1.1);
}

html[data-entered="customer"] .tab.on {
  background: linear-gradient(135deg, #351926, #7a2246);
  color: #fff;
}

html[data-entered="customer"] .sheet {
  border-top: 1px solid rgba(113, 67, 84, 0.1);
  background: #fffbfd;
  box-shadow: 0 -28px 80px rgba(44, 18, 29, 0.2);
}

html[data-entered="customer"] .toast {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(28, 17, 23, 0.94);
  box-shadow: 0 15px 35px rgba(34, 11, 22, 0.24);
  backdrop-filter: blur(12px);
}

@media (min-width: 700px) {
  html[data-entered="customer"] .app {
    border-radius: 34px;
  }
}

@media (max-width: 699px) {
  .premium-hero {
    grid-template-columns: 1fr;
    min-height: 454px;
    padding: 28px 24px 74px;
  }

  .premium-hero-copy {
    padding-bottom: 0;
  }

  .premium-hero h1 {
    font-size: 39px;
  }

  .premium-emblem {
    position: absolute;
    right: -30px;
    top: 60px;
    width: 240px;
    height: 270px;
    opacity: 0.42;
  }

  .premium-halo.halo-one {
    width: 210px;
    height: 210px;
  }

  .premium-halo.halo-two {
    width: 158px;
    height: 158px;
  }

  .premium-ema {
    transform: scale(0.9);
  }

  .premium-member {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

  html[data-entered="customer"] .pad {
    padding: 0 18px;
  }

  html[data-entered="customer"] .section {
    margin-top: 28px;
  }

  html[data-entered="customer"] .section-head h2 {
    font-size: 23px;
  }
}

@media (min-width: 1200px) {
  html[data-entered="customer"] .app {
    max-width: 1360px;
    grid-template-columns: 218px minmax(0, 1fr) 282px;
  }

  html[data-entered="customer"] .column {
    padding: 0 22px;
  }

  html[data-entered="customer"] .premium-hero {
    margin-left: 0;
    margin-right: 0;
  }

  html[data-entered="customer"] .fortune-hero {
    margin-left: 0;
    margin-right: 0;
  }

  html[data-entered="customer"] .promo-row {
    margin-left: 0;
    margin-right: 0;
  }

  html[data-entered="customer"] .cat-strip {
    padding-left: 0;
    padding-right: 0;
  }

  html[data-entered="customer"] .topbar {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 1400px) {
  html[data-entered="customer"] .product {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  html[data-entered="customer"] .product .p-art {
    min-height: 154px;
    border-radius: 0;
  }

  html[data-entered="customer"] .product .p-body {
    padding: 17px;
  }
}

@media (max-width: 1080px) {
  html[data-entered="customer"] .app {
    max-width: 900px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gateway *,
  #gateway *::before,
  #gateway *::after,
  .premium-hero *,
  .premium-hero *::before,
  .premium-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}
