/* 邊角空间 · 站点样式（主页 + 原始页面共用） */

:root {
  --accent: #7ee0c0;
  --accent-2: #58b6ff;
  --ink: #e8eef5;
  --ink-dim: #93a2b3;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(11, 15, 21, .72);
  --radius: 26px;
  --par-x: 0px;
  --par-y: 0px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #05070a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  user-select: none;
}

/* ---------------- 背景池 ---------------- */

.bg-stage {
  position: fixed;
  inset: -2%;
  z-index: 0;
  overflow: hidden;
  background: #05070a;
  /* 鼠标视差：整组背景一起微微偏移 */
  transform: translate3d(var(--par-x), var(--par-y), 0);
  will-change: transform;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 很轻的模糊，靠遮罩保证可读性 */
  filter: blur(3px) saturate(1.04) brightness(.9);
  transform: scale(1.03);
  opacity: 0;
  transition: opacity .85s ease;
  z-index: 1;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

.bg-layer.is-on { opacity: 1; }

/* 随机转场 */
.bg-layer.t-fade { animation: bgFade 1.15s ease both; }
@keyframes bgFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bg-layer.t-slide-r { animation: bgSlideR 1s cubic-bezier(.22, .8, .24, 1) both; }
@keyframes bgSlideR {
  from { opacity: .25; transform: translateX(7%) scale(1.07); }
  to { opacity: 1; transform: translateX(0) scale(1.03); }
}

.bg-layer.t-slide-l { animation: bgSlideL 1s cubic-bezier(.22, .8, .24, 1) both; }
@keyframes bgSlideL {
  from { opacity: .25; transform: translateX(-7%) scale(1.07); }
  to { opacity: 1; transform: translateX(0) scale(1.03); }
}

.bg-layer.t-zoom { animation: bgZoom 1.25s cubic-bezier(.22, .8, .24, 1) both; }
@keyframes bgZoom {
  from { opacity: 0; transform: scale(1.18); }
  to { opacity: 1; transform: scale(1.03); }
}

.bg-layer.t-blur { animation: bgBlur 1.25s ease both; }
@keyframes bgBlur {
  from { opacity: 0; filter: blur(11px) saturate(1.04) brightness(1.02); transform: scale(1.05); }
  to { opacity: 1; filter: blur(3px) saturate(1.04) brightness(.9); transform: scale(1.03); }
}

.bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(5, 8, 12, .18) 0%, rgba(5, 8, 12, .55) 58%, rgba(4, 6, 9, .86) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, .72) 0%, rgba(4, 6, 10, .18) 32%, rgba(4, 6, 10, .2) 62%, rgba(3, 5, 8, .88) 100%);
}

.bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(140% 120% at 50% 50%, transparent 45%, rgba(0, 0, 0, .55) 100%);
  mix-blend-mode: multiply;
}

/* ---------------- 顶栏 ---------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 3.2vw, 48px);
  pointer-events: none;
}

.topbar > * { pointer-events: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

/* 图标 + 站点名：可点击（返回 snowdropia.site） */
.brand__home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 6px 10px 6px 6px;
  margin: -6px 0 -6px -6px;
  border-radius: 14px;
  transition: background .25s;
}

.brand__home:hover { background: rgba(255, 255, 255, .07); }

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 18px rgba(126, 224, 192, .18);
  transition: border-color .25s, box-shadow .25s;
}

.brand__home:hover .brand__mark {
  border-color: rgba(126, 224, 192, .6);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .6), 0 0 22px rgba(126, 224, 192, .3);
}

.brand__cn {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .26em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .8);
}

.brand__en {
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--ink-dim);
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 2px;
}

.account { position: relative; }

.avatar {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(10, 14, 20, .6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}

.avatar svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  opacity: .92;
}

.avatar:hover {
  border-color: rgba(126, 224, 192, .6);
  box-shadow: 0 0 0 4px rgba(126, 224, 192, .1), 0 8px 26px rgba(0, 0, 0, .5);
}

.avatar__ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: .85;
  animation: ring 3.4s ease-in-out infinite;
}

@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126, 224, 192, .35); }
  50% { box-shadow: 0 0 14px 2px rgba(126, 224, 192, .3); }
}

/* 悬停小窗 */
.peek {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 244px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.94);
  transform-origin: top right;
  /* 收起：快速淡化 + 缩小 */
  transition: opacity .1s ease, transform .12s ease, visibility 0s linear .12s;
}

/* 鼠标从头像移到小窗之间的透明缓冲带 */
.peek::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.account:hover .peek,
.account:focus-within .peek,
.account.is-open .peek {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .16s ease, transform .18s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.peek__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peek__badge {
  flex: none;
  font-size: 9px;
  letter-spacing: .16em;
  padding: 3px 7px;
  border-radius: 6px;
  color: #06231c;
  background: linear-gradient(140deg, var(--accent), #5ad0ff);
  font-weight: 800;
}

.peek__form { display: grid; gap: 8px; }

/* ---------------- 主舞台 ---------------- */

.stage {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 44px);
  padding: 96px clamp(20px, 4vw, 72px) 64px;
}

.game-card {
  position: relative;
  display: block;
  width: min(30.6vw, 461px);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1) inset;
  opacity: 1;
  transition: opacity .45s ease, transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
  transform: translateY(0) scale(1);
  -webkit-tap-highlight-color: transparent;
}

/* 2 秒没被悬停 → 50% 透明 */
.game-card.is-idle { opacity: .5; }

.game-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s;
}

.game-card__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 120%, rgba(126, 224, 192, .22), transparent 60%);
  opacity: 0;
  transition: opacity .45s;
}

.game-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 16px 18px 14px;
  background: linear-gradient(0deg, rgba(3, 6, 10, .92), rgba(3, 6, 10, .55) 55%, transparent);
  transform: translateY(4px);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.game-card__meta b { font-size: 15px; letter-spacing: .1em; }
.game-card__meta em { font-size: 9px; letter-spacing: .2em; color: var(--ink-dim); font-style: normal; }

.game-card:hover {
  opacity: 1;
  transform: translateY(-7px) scale(1.012);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .68), 0 0 0 1px rgba(126, 224, 192, .35) inset, 0 0 56px rgba(126, 224, 192, .12);
}

.game-card:hover img { transform: scale(1.045); filter: brightness(1.06); }
.game-card:hover .game-card__glow { opacity: 1; }
.game-card:hover .game-card__meta { transform: none; }

/* ---------------- 原始页面（snowdropia.site） ---------------- */

.landing {
  position: relative;
  z-index: 10;
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  gap: 6px;
}

/* 原始页面的背景更亮，压一层更重的暗罩保证文字可读 */
.landing::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(62% 58% at 50% 45%, rgba(4, 7, 10, .52) 0%, rgba(3, 5, 8, .84) 100%);
}

.landing__kicker {
  font-size: 10.5px;
  letter-spacing: .42em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.landing__title {
  margin: 0;
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.08;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .75);
}

.landing__sub {
  margin: 14px 0 0;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.landing__desc {
  margin: 26px 0 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.95;
  color: #c8d4e0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}

.landing__cta {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .16em;
  color: #04211a;
  background: linear-gradient(140deg, var(--accent), #63c8ff);
  box-shadow: 0 16px 40px rgba(126, 224, 192, .26);
  transition: box-shadow .28s;
}

.landing__cta:hover { box-shadow: 0 22px 54px rgba(126, 224, 192, .38); }

.landing__foot {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: .14em;
  color: #6c7a89;
}

/* ---------------- 右侧 1/4 面板 ---------------- */

.panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: 25vw;
  min-width: 332px;
  max-width: 460px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(9, 13, 19, .93), rgba(6, 9, 13, .96));
  backdrop-filter: blur(26px) saturate(1.15);
  -webkit-backdrop-filter: blur(26px) saturate(1.15);
  border-left: 1px solid rgba(255, 255, 255, .1);
  box-shadow: -30px 0 80px rgba(0, 0, 0, .5);
  transform: translateX(101%);
  transition: transform .42s cubic-bezier(.22, .85, .24, 1);
  will-change: transform;
}

.panel.is-open { transform: none; }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 14px;
  border-bottom: 1px solid var(--line);
}

.panel__head h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: .34em;
  font-weight: 700;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.panel__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-dim);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.panel__close svg { width: 18px; height: 18px; fill: currentColor; }
.panel__close:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }

.panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .18) transparent;
}

.panel__body::-webkit-scrollbar { width: 8px; }
.panel__body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 8px; }

.panel-mask {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(3, 5, 8, .35);
  opacity: 0;
  transition: opacity .3s;
  backdrop-filter: blur(1px);
}

.panel-mask.is-on { opacity: 1; }

/* 账户资料 */
.profile { display: grid; gap: 0; animation: fadeUp .35s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  font-size: 13.5px;
}

.row + .row { border-top: 1px solid rgba(255, 255, 255, .055); }
.row__k { color: var(--ink-dim); letter-spacing: .06em; }
.row__v { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }

.row--game { gap: 10px; justify-content: flex-start; }

.row--game .thumb {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}

.row--game .row__k { flex: 1; }

.divider {
  height: 1px;
  margin: 16px 0 6px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}

/* 注册码（管理员） */
.regcard {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(126, 224, 192, .26);
  background: linear-gradient(160deg, rgba(126, 224, 192, .1), rgba(126, 224, 192, .02));
  animation: fadeUp .45s ease both;
}

.regcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.regcard__code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #dcfff4;
  word-break: break-all;
  user-select: text;
}

.regcard__copy {
  flex: none;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .14em;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(126, 224, 192, .35);
  background: rgba(126, 224, 192, .1);
  color: var(--accent);
  cursor: pointer;
}

.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.bar__track {
  position: relative;
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #59d0ff);
  box-shadow: 0 0 14px rgba(126, 224, 192, .6);
  transition: width .6s cubic-bezier(.2, .8, .2, 1);
}

.bar__num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #d6f7ec;
  white-space: nowrap;
}

.regcard__foot {
  margin-top: 10px;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: .04em;
}

/* 表单 */
.panel__login-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .06em;
  margin: 4px 0 6px;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  margin-bottom: 18px;
}

.tab {
  flex: 1;
  padding: 9px 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: inherit;
}

.tab.is-on { background: rgba(255, 255, 255, .1); color: #fff; }

.field { display: grid; gap: 7px; margin-bottom: 13px; }

.field label {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.input {
  width: 100%;
  padding: 12px 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
  user-select: text;
}

.input::placeholder { color: #5d6b7a; }

.input:focus {
  outline: none;
  border-color: rgba(126, 224, 192, .55);
  background: rgba(126, 224, 192, .06);
  box-shadow: 0 0 0 3px rgba(126, 224, 192, .1);
}

.input--code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  font-size: 13.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s, color .2s;
}

.btn--primary {
  color: #04211a;
  background: linear-gradient(140deg, var(--accent), #63c8ff);
  box-shadow: 0 10px 26px rgba(126, 224, 192, .22);
}

.btn--primary:hover { box-shadow: 0 14px 34px rgba(126, 224, 192, .32); }

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }

.btn--danger { color: #ffb4b4; background: rgba(255, 90, 90, .1); border-color: rgba(255, 120, 120, .28); }
.btn--danger:hover { background: rgba(255, 90, 90, .16); }

.btn--sm { width: auto; padding: 9px 14px; font-size: 12px; }

.form-err {
  min-height: 18px;
  font-size: 12px;
  color: #ff9b9b;
  letter-spacing: .02em;
  padding-top: 2px;
}

.form-ok { color: var(--accent); }

.muted { color: var(--ink-dim); font-size: 12px; line-height: 1.7; }

/* ---------------- 交互（点击：变小再回弹） ---------------- */

[data-press] { cursor: pointer; }

[data-press].is-down {
  transform: scale(.955) !important;
  transition: transform .07s ease !important;
}

@keyframes popBack {
  0% { transform: scale(.955); }
  52% { transform: scale(1.018); }
  100% { transform: scale(1); }
}

[data-press].is-pop { animation: popBack .34s cubic-bezier(.22, .8, .24, 1); }

/* ---------------- 提示条 ---------------- */

.hint {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 90;
  transform: translate(-50%, 18px);
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(126, 224, 192, .28);
  background: rgba(8, 13, 18, .94);
  color: #d9fff2;
  font-size: 13px;
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
}

.hint.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1180px) {
  .stage { gap: 18px; padding: 92px 20px 40px; }
  .game-card { width: min(32.4vw, 356px); }
  .brand__en { display: none; }
}

@media (max-width: 820px) {
  html, body { overflow: auto; }
  .stage {
    flex-direction: column;
    height: auto;
    min-height: 100%;
    padding: 104px 18px 60px;
  }
  .game-card { width: min(75.6vw, 396px); }
  .panel { width: 100vw; min-width: 0; max-width: none; }
  .peek { width: 236px; }
}

/* ---------------- 头像图片（QQ 头像） ---------------- */

.avatar__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ---------------- QQ 绑定 ---------------- */

.label-note {
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: none;
  margin-left: 6px;
  opacity: .85;
}

.qqpick { display: flex; align-items: center; gap: 10px; }
.qqpick .input { flex: 1; }

.qqpick__prev {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .16);
}

.qqbox {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035);
}

.qqbox__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-dim);
  margin-bottom: 10px;
}

.qqbox__hint { font-size: 10px; letter-spacing: .1em; opacity: .7; }
.qqbox__row { display: flex; align-items: center; gap: 8px; }
.qqbox__row .input { flex: 1; }

.qqbox__prev {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .16);
}

/* ================= 原始页面：白底 + 少量粉色点缀 ================= */

body.theme-cute {
  --accent: #ff8fbe;
  --accent-2: #ffc2da;
  --ink: #3f3540;
  --ink-dim: #9c8a96;
  --line: #f3e7ee;
  --glass: #ffffff;
  background: #ffffff;
}

body.theme-cute .brand--plain { padding: 6px 12px 6px 6px; }
body.theme-cute .brand--plain:hover { background: #fdf8fa; }

body.theme-cute .brand__cn {
  color: #3f3540;
  letter-spacing: .22em;
  text-shadow: none;
}

body.theme-cute .brand__mark {
  border-color: #f2e7ec;
  box-shadow: 0 4px 12px rgba(60, 40, 50, .08);
}

/* 中间只有一个按钮：白底粉字 */
.cute-stage {
  position: relative;
  z-index: 10;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 96px 24px 60px;
}

.cute-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 56px;
  border-radius: 999px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .2em;
  text-decoration: none;
  color: #e0649b;
  background: #ffffff;
  border: 1.5px solid #ffdceb;
  box-shadow: 0 10px 26px rgba(255, 143, 190, .14);
  transition: transform .26s cubic-bezier(.2, .8, .2, 1), background .26s, border-color .26s, box-shadow .26s;
}

.cute-btn:hover {
  transform: translateY(-2px);
  background: #fffafc;
  border-color: #ffc3dc;
  box-shadow: 0 16px 34px rgba(255, 143, 190, .18);
}

/* 头像：白底粉图标 */
body.theme-cute .avatar {
  background: #ffffff;
  border-color: #ffe2ee;
  color: #ff8fbe;
  box-shadow: 0 4px 14px rgba(255, 143, 190, .12);
}

body.theme-cute .avatar:hover {
  border-color: #ffc3dc;
  box-shadow: 0 0 0 4px rgba(255, 158, 199, .1), 0 6px 16px rgba(255, 143, 190, .16);
}

body.theme-cute .avatar svg { fill: #ff9ec7; }
body.theme-cute .avatar__ring { border-color: #ffd3e4; }

/* 悬停小窗：纯白 + 浅粉描边 */
body.theme-cute .peek {
  background: #ffffff;
  border: 1px solid #ffe6f0;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(120, 95, 110, .12);
  color: #3f3540;
}

body.theme-cute .peek__name { border-bottom-color: #f7eef3; color: #3f3540; }
body.theme-cute .peek__form .input { background: #ffffff; border-color: #f2e7ec; color: #3f3540; }
body.theme-cute .peek__badge { color: #ffffff; background: #ffa8cc; }

/* 右侧面板：纯白 */
body.theme-cute .panel {
  background: #ffffff;
  border-left: 1px solid #f3e9ee;
  box-shadow: -18px 0 44px rgba(120, 100, 110, .08);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

body.theme-cute .panel__head {
  background: #ffffff;
  border-bottom: 1px solid #f7eef3;
  border-top-left-radius: 20px;
}

body.theme-cute .panel__head h2 { color: #b9a6b1; }

body.theme-cute .panel__close {
  color: #b9a6b1;
  background: #ffffff;
  border: 1px solid #f2e7ec;
  border-radius: 50%;
}

body.theme-cute .panel__close:hover { background: #fdf6fa; color: #e0649b; }

body.theme-cute .row__k { color: #9c8a96; }
body.theme-cute .row__v { color: #3f3540; }
body.theme-cute .row + .row { border-top-color: #f7eef3; }
body.theme-cute .divider { background: linear-gradient(90deg, transparent, #f0e4ea, transparent); }
body.theme-cute .panel__login-title { color: #4a3b45; }
body.theme-cute .muted { color: #a89aa3; }

body.theme-cute .input {
  background: #ffffff;
  border-color: #f0e5eb;
  color: #3f3540;
}

body.theme-cute .input::placeholder { color: #c9bac2; }

body.theme-cute .input:focus {
  border-color: #ffbdd8;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 158, 199, .12);
}

body.theme-cute .tabs { background: #faf6f8; }
body.theme-cute .tab { color: #a08e99; }
body.theme-cute .tab.is-on { background: #ffffff; color: #e0649b; box-shadow: 0 1px 4px rgba(140, 110, 125, .1); }

body.theme-cute .btn--primary {
  color: #ffffff;
  background: linear-gradient(140deg, #ffb0d2, #ffc9de);
  box-shadow: 0 8px 20px rgba(255, 143, 190, .2);
}

body.theme-cute .btn--primary:hover { box-shadow: 0 10px 24px rgba(255, 143, 190, .26); }
body.theme-cute .btn--ghost { color: #7d6a75; background: #ffffff; border-color: #f0e5eb; }
body.theme-cute .btn--ghost:hover { background: #fdf8fa; border-color: #ffdceb; }
body.theme-cute .btn--danger { color: #d9678c; background: #ffffff; border-color: #f6dce6; }
body.theme-cute .form-err { color: #d9678c; }

body.theme-cute .qqbox { border-color: #f5ecf1; background: #ffffff; }
body.theme-cute .qqbox__head { color: #a08e99; }
body.theme-cute .qqbox__prev,
body.theme-cute .qqpick__prev { border-color: #f0e5eb; border-radius: 50%; }

body.theme-cute .regcard {
  border-color: #f7e7ef;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(140, 110, 125, .06);
}

body.theme-cute .regcard__head { color: #c0829e; }
body.theme-cute .regcard__code { color: #4a3b45; }
body.theme-cute .regcard__copy { color: #d9678c; border-color: #f6dce6; background: #ffffff; }
body.theme-cute .regcard__foot { color: #a89aa3; }
body.theme-cute .bar__track { background: #f7eef3; }
body.theme-cute .bar__fill { background: linear-gradient(90deg, #ffb6d5, #ffd2b8); box-shadow: none; }
body.theme-cute .bar__num { color: #a08e99; }

body.theme-cute .panel-mask {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(2px);
}

body.theme-cute .hint {
  background: #ffffff;
  color: #b0547e;
  border-color: #f2e7ec;
  box-shadow: 0 12px 28px rgba(140, 110, 125, .14);
}

body.theme-cute .panel__body { padding-top: 18px; }
body.theme-cute .row { font-size: 13.5px; }

@media (max-width: 820px) {
  .cute-btn { padding: 15px 40px; font-size: 16px; letter-spacing: .16em; }
}
