:root {
  color-scheme: light;
  --bg: #f3f5f0;
  --ink: #17130f;
  --muted: #6f665c;
  --panel: rgba(255, 255, 255, 0.84);
  --line: rgba(23, 19, 15, 0.14);
  --coral: #ff5b4a;
  --lime: #b8f042;
  --cyan: #38d7ff;
  --violet: #7763ff;
  --yellow: #ffd84f;
  --shadow: 0 24px 80px rgba(23, 19, 15, 0.18);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(56, 215, 255, 0.46), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(184, 240, 66, 0.48), transparent 22rem),
    linear-gradient(135deg, #fff8ef 0%, #fff 48%, #f5f0ff 100%);
  color: var(--ink);
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}

.stage {
  position: relative;
  width: min(100%, 980px);
  min-height: min(760px, calc(100vh - 32px));
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  transition: min-height 260ms ease;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 46px;
  height: 46px;
  display: block;
  filter: drop-shadow(4px 4px 0 var(--ink));
}

.brand-title,
.brand-subtitle {
  margin: 0;
}

.brand-title {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.view {
  position: absolute;
  inset: 90px clamp(18px, 4vw, 58px) clamp(18px, 4vw, 54px);
  z-index: 2;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms ease;
}

.view-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.welcome-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
}

#welcomeView {
  align-content: center;
  padding-bottom: 74px;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.85;
  font-weight: 650;
}

.credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 3px;
  justify-items: center;
  color: rgba(23, 19, 15, 0.58);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
  text-align: center;
  pointer-events: none;
}

.result-credit {
  position: static;
  margin-top: 18px;
}

.start-form {
  padding: clamp(22px, 4vw, 34px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 10px 10px 0 var(--ink);
}

.start-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.start-form input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  outline: none;
  background: #fff;
  font-size: 18px;
  font-weight: 850;
}

.start-form input:focus {
  box-shadow: 0 0 0 4px rgba(56, 215, 255, 0.32);
}

.primary-btn,
.ghost-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-btn {
  background: var(--coral);
  box-shadow: 5px 5px 0 var(--ink);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.78);
}

.primary-btn:not(:disabled):hover,
.ghost-btn:not(:disabled):hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.primary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.start-form .primary-btn {
  width: 100%;
  margin-top: 18px;
}

.progress-wrap {
  align-self: start;
  margin-bottom: 28px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.progress-track {
  height: 14px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 99px;
  background: #fff;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--lime), var(--cyan));
  transition: width 320ms ease;
}

.question-card {
  padding: clamp(22px, 4vw, 40px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--ink);
}

.question-index {
  margin: 0 0 12px;
  color: var(--violet);
  font-size: 13px;
  font-weight: 950;
}

.question-card h2 {
  margin: 0 0 24px;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.18;
}

.options {
  display: grid;
  gap: 12px;
}

.option-btn {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.option-btn:hover,
.option-btn.selected {
  transform: translate(-2px, -2px);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.quiz-nav,
.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.quiz-nav button,
.result-actions button {
  flex: 1;
}

.result-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--ink);
}

#resultView {
  align-content: start;
}

.result-visual {
  display: grid;
  place-items: center;
}

#resultImage {
  width: min(100%, 260px);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #fff;
}

.result-name-prefix {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.result-copy h2 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.tag {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cyan);
  font-size: 13px;
  font-weight: 950;
}

.portrait {
  color: #312b25;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 650;
}

.portrait p,
.portrait ul {
  margin: 0 0 10px;
}

.portrait strong {
  color: var(--coral);
}

.slogan {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 6px solid var(--coral);
  background: rgba(255, 216, 79, 0.42);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 950;
}

.blessing {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.geo {
  position: absolute;
  z-index: 1;
  border: 2px solid var(--ink);
  pointer-events: none;
}

.geo-a {
  right: 8%;
  top: 16%;
  width: 130px;
  height: 130px;
  background: var(--cyan);
  transform: rotate(18deg);
  animation: floatA 8s ease-in-out infinite;
}

.geo-b {
  left: 8%;
  bottom: 8%;
  width: 190px;
  height: 96px;
  border-radius: 96px;
  background: var(--lime);
  transform: rotate(-12deg);
  animation: floatB 9s ease-in-out infinite;
}

.geo-c {
  right: 18%;
  bottom: 10%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--yellow);
  animation: floatA 7s ease-in-out infinite reverse;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 19, 15, 0.64);
}

.share-modal[hidden] {
  display: none;
}

.share-dialog {
  position: relative;
  width: min(100%, 440px);
  display: grid;
  gap: 14px;
}

.share-dialog img {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.close-btn {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 28px;
  font-weight: 950;
  cursor: pointer;
}

@keyframes floatA {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -18px;
  }
}

@keyframes floatB {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 18px 12px;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 0;
  }

  .stage {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .view {
    inset: 86px 18px 22px;
    align-content: start;
  }

  #welcomeView,
  .welcome-content,
  .result-card {
    grid-template-columns: 1fr;
  }

  #welcomeView {
    padding-bottom: 92px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .start-form,
  .question-card,
  .result-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .quiz-nav,
  .result-actions {
    position: sticky;
    bottom: 0;
    padding-top: 10px;
    background: linear-gradient(180deg, transparent, rgba(255, 248, 239, 0.96) 32%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
/* USTI campus journal visual system */
:root { --ink: #203c42; --muted: #627577; --panel: #fff; --line: #dbe4df; --coral: #216653; --lime: #e9f1e9; --cyan: #e9f1e9; --violet: #216653; --yellow: #f8f3e8; --shadow: 0 18px 60px #203c420d; }
body { background: #f3f5f0; }
.app-shell { padding: 32px; }
.stage { width: min(100%, 1080px); border: 1px solid var(--line); border-radius: 28px; background: #fcfdf9; }
.topbar { padding: 24px 40px; border-bottom: 1px solid var(--line); }
.topbar::after { content: "CAMPUS / SELF DISCOVERY"; margin-left: auto; color: var(--muted); font-size: 10px; letter-spacing: 2px; }
.brand-mark, .brand-mark img { width: 40px; height: 40px; filter: none; }
.brand-title { font-size: 20px; font-weight: 800; letter-spacing: 3px; }
.brand-subtitle { font-size: 12px; font-weight: 400; }
.view { inset: 120px 48px 36px; display: none; transform: none; }
.view-active { display: grid; }
.welcome-content { grid-template-columns: 1.2fr .8fr; gap: 56px; }
#welcomeView { padding-bottom: 80px; }
.hero-copy::before { content: "发现自己 · 从校园开始"; display: block; margin-bottom: 24px; color: var(--coral); font-size: 13px; letter-spacing: 3px; }
.hero-copy h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.35; font-weight: 750; letter-spacing: -1px; }
.hero-copy p { font-size: 17px; font-weight: 400; line-height: 1.9; }
.hero-copy p + p { font-size: 13px; max-width: 360px; }
.credit { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.5; }
.credit span:first-child { text-transform: uppercase; letter-spacing: 2px; font-size: 9px; }
.start-form, .question-card, .result-card { border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); background: white; }
.start-form { padding: 32px; }
.start-form::before { content: "你的校园探索手册"; display: block; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; }
.start-form label { font-size: 13px; font-weight: 500; }
.start-form input { height: 52px; border: 1px solid #bccdc5; border-radius: 10px; background: #fafcf9; color: var(--ink); font-size: 16px; font-weight: 500; }
.start-form input:focus { box-shadow: 0 0 0 3px #21665320; }
button:focus-visible, a:focus-visible { outline: 3px solid #b77e35; outline-offset: 4px; }
.primary-btn, .ghost-btn { padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 650; box-shadow: none; }
.primary-btn { color: #fff; border-color: var(--coral); }
.primary-btn:not(:disabled):hover { background: #174e3f; transform: translateY(-2px); box-shadow: none; }
.ghost-btn:not(:disabled):hover { background: var(--lime); transform: none; box-shadow: none; }
.progress-meta { font-size: 12px; font-weight: 500; }
.progress-track { height: 5px; border: 0; background: #e0e8e2; }
.progress-bar { background: var(--coral); }
.question-index { color: var(--coral); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.question-card h2 { font-size: clamp(23px, 3vw, 32px); line-height: 1.5; font-weight: 650; }
.options { counter-reset: option; gap: 10px; }
.option-btn { counter-increment: option; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfb; font-size: 15px; font-weight: 500; line-height: 1.6; }
.option-btn::before { content: counter(option, upper-alpha); display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--coral); font-size: 12px; }
.option-btn:hover, .option-btn.selected { background: #edf5ee; border-color: var(--coral); box-shadow: none; transform: none; }
.option-btn.selected::before { background: var(--coral); color: white; }
.result-card { grid-template-columns: 260px 1fr; gap: 36px; padding: 32px; }
.result-visual { padding: 16px; border-radius: 140px 140px 20px 20px; background: var(--lime); }
#resultImage { border: 0; border-radius: 16px; }
.result-name-prefix { font-weight: 500; font-size: 13px; margin-bottom: 12px; }
.result-copy h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.25; }
.tag { border: 0; border-radius: 24px; padding: 6px 12px; color: var(--coral); font-size: 12px; font-weight: 500; }
.portrait { color: #435b5e; font-size: 15px; line-height: 1.9; font-weight: 400; }
.slogan { border-left: 3px solid #b77e35; background: #f8f3e8; font-size: 17px; line-height: 1.7; font-weight: 650; }
.blessing { font-size: 12px; line-height: 1.9; font-weight: 400; }
.geo { border: 1px solid #dce6dc; border-radius: 50%; background: transparent; transform: none; animation: none; }
.geo-a { width: 480px; height: 480px; right: -180px; top: 180px; }
.geo-b { width: 380px; height: 380px; left: auto; right: -130px; top: 230px; bottom: auto; }
.geo-c { width: 280px; height: 280px; right: -80px; top: 280px; bottom: auto; }
.share-modal { overflow-y: auto; padding: 28px; background: #152d37b3; backdrop-filter: blur(8px); }
.share-dialog img { max-height: calc(100dvh - 140px); object-fit: contain; border: 0; background: #fcfdf9; }
.close-btn { border: 1px solid var(--line); background: white; font-weight: 400; }
@media (max-width: 760px) {
 .app-shell { padding: 0; }
 .stage { border: 0; border-radius: 0; }
 .topbar { padding: 20px 22px; }
 .topbar::after { content: "SELF DISCOVERY"; font-size: 8px; letter-spacing: 1px; }
 .view { inset: 110px 22px 24px; }
 .welcome-content, .result-card { grid-template-columns: 1fr; gap: 28px; }
 #welcomeView { padding-bottom: 90px; }
 .hero-copy::before { margin-bottom: 16px; font-size: 11px; }
 .hero-copy h1 { font-size: clamp(30px, 8vw, 42px); }
 .hero-copy p { margin-top: 18px; font-size: 15px; }
 .start-form, .result-card { padding: 24px; }
 .start-form::before { padding-bottom: 16px; margin-bottom: 18px; }
 .result-visual { width: 220px; justify-self: center; }
 .quiz-nav, .result-actions { padding: 12px 0; background: #fcfdf9f5; }
 .option-btn { padding: 12px; font-size: 14px; }
}
/* Playful campus sticker theme */
:root { --ink: #302653; --muted: #746582; --coral: #7050dc; --lime: #fff1a9; --cyan: #e5ddff; --violet: #7050dc; --line: #ded3f1; --shadow: 0 14px 35px #7050dc12; }
body { background: radial-gradient(circle at 10% 14%, #ffe5ed 0, transparent 35%), radial-gradient(circle at 90% 80%, #dceeff 0, transparent 35%), #fff8df; }
.stage { background: #fffdf5; border: 2px solid #d9cbed; border-radius: 32px; box-shadow: 0 20px 70px #58418b16; }
.topbar { border-bottom: 2px dashed #e7dcf1; }
.topbar::after { content: "HELLO, CAMPUS! ✦"; color: #7050dc; font-weight: 800; letter-spacing: 2px; }
.brand-title { color: #7050dc; }
.hero-copy::before { content: "✦ 青春不设限，快乐做自己"; display: inline-block; padding: 9px 16px; border-radius: 6px; background: #fff1a9; color: #67431f; transform: rotate(-3deg); font-weight: 750; letter-spacing: 1px; }
.hero-copy h1 { color: #302653; line-height: 1.35; }
.hero-copy p { color: #746582; }
.start-form { position: relative; border: 2px solid #dfcffa; background: #f6f0ff; box-shadow: 7px 8px 0 #e4d7f7; transform: rotate(1deg); }
.start-form::after { content: "LET’S GO!"; position: absolute; top: -20px; right: 18px; padding: 8px 15px; background: #ffcedf; color: #8b3156; border: 2px solid #fff; border-radius: 30px; transform: rotate(9deg); font-size: 12px; font-weight: 850; letter-spacing: 1px; }
.start-form::before { content: "校园探索，出发！"; border-bottom: 2px dashed #dfcffa; font-size: 18px; }
.start-form input { background: white; border: 2px solid #d9cbed; border-radius: 14px; }
.start-form input:focus { box-shadow: 0 0 0 4px #ffd8e680; }
.primary-btn, .ghost-btn { border-radius: 16px; font-weight: 750; border-width: 2px; }
.primary-btn { background: #7050dc; border-color: #7050dc; box-shadow: 0 4px 0 #5139a7; }
.primary-btn:not(:disabled):hover { background: #805fea; transform: translateY(-3px); box-shadow: 0 7px 0 #5139a7; }
.primary-btn:not(:disabled):active { transform: translateY(2px); box-shadow: 0 1px 0 #5139a7; }
.ghost-btn { background: #fff5cf; border-color: #efdfa4; }
.ghost-btn:not(:disabled):hover { background: #ffedaa; transform: translateY(-2px); }
.progress-track { height: 10px; background: #eee6f7; }
.progress-bar { background: linear-gradient(90deg, #9e82f0, #e890c3, #f4bf5a); }
.question-card { border: 2px solid #e1d4f2; box-shadow: 6px 7px 0 #eee4f6; border-radius: 24px; }
.question-index { display: inline-block; width: fit-content; padding: 7px 12px; border-radius: 8px; background: #fff1a9; color: #76571c; transform: rotate(-2deg); }
.option-btn { border: 2px solid #e6dff0; background: #fff; border-radius: 16px; }
.option-btn::before { background: #e9e0ff; color: #7050dc; font-weight: 800; border-radius: 9px; }
.option-btn:nth-child(2n)::before { background: #ffe0eb; color: #a4466c; }
.option-btn:nth-child(3n)::before { background: #dceeff; color: #316b9e; }
.option-btn:hover, .option-btn.selected { background: #f3ecff; border-color: #9d7be2; transform: translateX(3px); }
.option-btn.selected::before { background: #7050dc; color: white; }
.result-card { border: 2px solid #e1d4f2; box-shadow: 7px 8px 0 #eee4f6; }
.result-visual { background: #ffebad; border-radius: 36px; transform: rotate(-3deg); border: 3px solid #fff; box-shadow: 4px 5px 0 #f1d98d; }
#resultImage { transform: rotate(3deg); }
.result-copy h2 { color: #7050dc; }
.tag { background: #eee4ff; color: #6a43a6; font-weight: 650; }
.tag:nth-child(2n) { background: #ffe0eb; color: #943858; }
.tag:nth-child(3n) { background: #dceeff; color: #316b9e; }
.slogan { background: #fff2bb; border-left: 4px solid #edb34c; border-radius: 0 14px 14px 0; }
.geo { border: 0; opacity: .7; }
.geo-a { width: 170px; height: 170px; right: -50px; top: 140px; background: #ffe0eb; border-radius: 35px; transform: rotate(20deg); }
.geo-b { width: 120px; height: 120px; left: 24px; right: auto; top: auto; bottom: 28px; background: #e9e0ff; border-radius: 50%; }
.geo-c { width: 80px; height: 80px; right: 35px; top: auto; bottom: 35px; background: #ffec9e; clip-path: polygon(50% 0,61% 35%,100% 50%,65% 62%,50% 100%,38% 65%,0 50%,35% 38%); }
.share-modal { background: #302653aa; }
.close-btn { background: #ffe0eb; color: #6a3158; border-color: #fff; }
@media (max-width: 760px) {
 .stage { border: 0; border-radius: 0; }
 .topbar::after { content: "HELLO, CAMPUS!"; font-size: 8px; letter-spacing: 1px; }
 .hero-copy::before { font-size: 11px; }
 .start-form { margin: 8px 3px 0; }
 .quiz-nav, .result-actions { background: #fffdf5f5; }
 .result-visual { margin: 4px 0 12px; }
}

/* QR and WeChat support from master, styled for USTI. */
.result-qr { display: grid; justify-items: center; gap: 8px; margin-top: 22px; }
.result-qr canvas { width: 118px; height: 118px; padding: 8px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.result-qr p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 650; }
.wechat-tip { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: #30265388; backdrop-filter: blur(8px); }
.wechat-tip[hidden], .screenshot-hint[hidden] { display: none; }
.wechat-tip-card { width: min(100%, 420px); padding: 24px 26px; border: 2px solid #dfcffa; border-radius: 24px; background: #f6f0ff; box-shadow: 7px 8px 0 #e4d7f7; text-align: center; }
.wechat-tip-card p { margin: 0; color: var(--ink); font-size: clamp(18px, 4vw, 24px); line-height: 1.55; font-weight: 750; }
.screenshot-hint { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); z-index: 11; margin: 0; padding: 10px 16px; border: 2px solid #dfcffa; border-radius: 999px; background: #fff5cf; color: var(--ink); font-size: 15px; font-weight: 750; transform: translateX(-50%); }
.share-modal.wechat-share-mode { padding: 0; background: #302653; }
.share-modal.wechat-share-mode .share-dialog { width: 100vw; height: 100dvh; display: grid; place-items: center; }
.share-modal.wechat-share-mode .share-dialog img { width: auto; max-width: 100vw; height: auto; max-height: 100dvh; border: 0; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
.share-modal.wechat-share-mode .close-btn, .share-modal.wechat-share-mode #downloadShare { display: none; }
