@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&display=swap');

.guanyu-body {
  --temple-red: #8b1a1a;
  --gold: #d4af37;
  --gold-light: #ffd700;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23ffffff' fill-opacity='0.015'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(139, 26, 26, 0.55) 0%, transparent 50%),
    linear-gradient(180deg, #120606 0%, #0a0a12 100%);
  min-height: 100vh;
  font-family: "Noto Serif SC", "PingFang SC", "Microsoft YaHei", serif;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.guanyu-body .enter-overlay,
.guanyu-body .merchant-card,
.guanyu-body .tube-stage,
.guanyu-body .enter-logo,
.guanyu-body .merchant-logo,
.guanyu-body .merchant-logo-img,
.guanyu-body .temple-arch {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.guanyu-body img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.temple-page { max-width: 420px; margin: 0 auto; padding: 0 16px 24px; }

.temple-arch { text-align: center; padding: 20px 0 8px; position: relative; }
.temple-arch::before, .temple-arch::after {
  content: ''; position: absolute; top: 28px; width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.temple-arch::before { left: 12px; }
.temple-arch::after { right: 12px; }

.temple-name {
  font-family: "Ma Shan Zheng", "KaiTi", serif;
  font-size: 42px; letter-spacing: 8px;
  background: linear-gradient(180deg, #fff8dc, var(--gold-light), #b8860b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.temple-motto { font-size: 13px; color: rgba(212, 175, 55, 0.75); letter-spacing: 6px; margin-top: 4px; }

.merchant-card {
  margin: 16px 0; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(139, 26, 26, 0.25) 0%, rgba(20, 10, 10, 0.9) 100%);
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
}
.merchant-logo {
  width: 56px; height: 56px; border-radius: 10px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, #3d1515, #1a0808);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.merchant-logo.logo-glyph,
.enter-logo.logo-glyph {
  font-family: "Ma Shan Zheng", "KaiTi", serif;
  font-size: 30px;
  color: var(--gold-light);
  line-height: 1;
}
.theme-guan-yin .merchant-logo,
.theme-guan-yin .enter-logo { background: linear-gradient(180deg, #2e4a3a, #0a1628); }
.merchant-logo-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  border-radius: 0;
}
.merchant-info h2 { font-size: 17px; color: var(--gold-light); margin-bottom: 4px; }
.merchant-info .meta { font-size: 12px; color: rgba(245, 230, 200, 0.65); line-height: 1.6; }
.merchant-info .meta span { display: block; }

.draw-meta { text-align: center; margin: 8px 0 4px; }
.draw-meta .badge {
  display: inline-block; padding: 3px 14px; border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4); color: var(--gold); font-size: 11px; letter-spacing: 2px;
}
.draw-meta .draws-left { margin-top: 6px; font-size: 12px; color: rgba(212, 175, 55, 0.85); }
.draw-meta-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.uid-lock-banner {
  margin: 0 12px 8px; padding: 8px 12px; border-radius: 8px; font-size: 12px; line-height: 1.5;
  background: rgba(180, 60, 40, 0.25); border: 1px solid rgba(255, 160, 100, 0.35); color: #ffd4b8;
  text-align: center;
}
.uid-lock-banner.hidden { display: none !important; }
.wallet-entry {
  padding: 4px 12px; border-radius: 999px; font-size: 11px; cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.35); background: rgba(0,0,0,0.25);
  color: rgba(245, 230, 200, 0.9); font-family: inherit;
}
.coupon-preview-hint { margin: 12px 0; line-height: 1.5; }

.consumer-auth-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.consumer-auth-overlay.hidden { display: none !important; }
.consumer-auth-panel {
  width: 100%; max-width: 340px; background: #2a1010; border: 1px solid rgba(212,175,55,0.35);
  border-radius: 14px; padding: 20px; color: #f5e6c8;
}
.consumer-auth-panel h3 { margin: 0 0 8px; color: var(--gold); text-align: center; }
.consumer-auth-panel .field { margin: 10px 0; }
.consumer-auth-panel input {
  width: 100%; padding: 10px; border-radius: 8px; border: 1px solid rgba(212,175,55,0.3);
  background: rgba(0,0,0,0.35); color: #fff; box-sizing: border-box;
}
.auth-code-row { display: flex; gap: 8px; }
.auth-code-row input { flex: 1; }
.otp-hint { font-size: 11px; text-align: center; opacity: 0.7; }

.wallet-page { padding: 16px; max-width: 480px; margin: 0 auto; }
.wallet-header { text-align: center; margin-bottom: 16px; }
.wallet-header h1 { color: var(--gold); font-size: 20px; margin: 8px 0 4px; }
.wallet-back { background: none; border: none; color: rgba(245,230,200,0.7); font-size: 14px; cursor: pointer; float: left; }
.wallet-phone { font-size: 12px; color: rgba(255,255,255,0.45); clear: both; }
.wallet-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.wallet-tabs button {
  flex: 1; padding: 8px; border-radius: 8px; border: 1px solid rgba(212,175,55,0.25);
  background: rgba(0,0,0,0.3); color: rgba(245,230,200,0.75); cursor: pointer; font-family: inherit;
}
.wallet-tabs button.active { border-color: var(--gold); color: var(--gold); }
.wallet-card {
  background: rgba(0,0,0,0.35); border: 1px solid rgba(212,175,55,0.2);
  border-radius: 12px; padding: 14px; margin-bottom: 10px;
}
.wallet-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wallet-status { font-size: 11px; color: var(--gold); }
.wallet-exp { font-size: 12px; color: rgba(255,200,100,0.85); }
.coupon-code-sm { font-size: 11px; word-break: break-all; opacity: 0.65; margin: 8px 0; }
.wallet-qr { margin-top: 10px; display: flex; justify-content: center; }
.wallet-qr.hidden { display: none !important; }
.wallet-empty { text-align: center; padding: 40px 16px; color: rgba(245,230,200,0.6); }

.pwa-hint-card {
  background: rgba(139, 0, 0, 0.25); border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px; padding: 14px; margin-bottom: 14px;
}
.pwa-hint-title { color: var(--gold); font-size: 14px; margin: 0 0 8px; font-weight: bold; }
.pwa-hint-steps { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: rgba(245,230,200,0.9); }
.pwa-hint-inline .pwa-hint-card { margin: 12px 0; text-align: left; }
.wallet-entry.bind-entry { border-color: rgba(255, 215, 0, 0.55); color: #ffd700; }
.wallet-bind-card {
  text-align: center; padding: 28px 16px; background: rgba(0,0,0,0.35);
  border: 1px solid rgba(212,175,55,0.25); border-radius: 12px;
}
.wallet-bind-title { color: var(--gold); margin: 0 0 8px; font-size: 15px; }
.btn-install-pwa { width: 100%; margin: 0 0 12px; }
.hidden { display: none !important; }

.scene-tabs { display: flex; gap: 8px; margin: 12px 0; }
.scene-tabs.hidden { display: none !important; }
.scene-tab {
  flex: 1; padding: 10px 8px; border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.25); background: rgba(0,0,0,0.35);
  color: rgba(245,230,200,0.7); font-size: 13px; cursor: pointer; font-family: inherit;
}
.scene-tab.active {
  background: linear-gradient(180deg, rgba(139,26,26,0.8), rgba(80,10,10,0.9));
  border-color: var(--gold); color: var(--gold-light);
}
.scene-title {
  text-align: center; font-family: "Ma Shan Zheng", serif;
  font-size: 26px; color: var(--gold-light); letter-spacing: 4px; margin: 8px 0 16px;
}

.tube-stage {
  position: relative; padding: 24px 16px 20px; border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: radial-gradient(ellipse 70% 50% at 50% 80%, rgba(139,26,26,0.3), transparent), rgba(10, 5, 5, 0.85);
  min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.progress-ring-wrap {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
  border-radius: 50%; padding: 3px; background: rgba(0,0,0,0.4);
}
.progress-ring {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(rgba(255,215,0,0.12) 0deg, rgba(255,215,0,0.12) 360deg);
}
.progress-ring-wrap::after {
  content: '诚'; position: absolute; inset: 8px; border-radius: 50%;
  background: #1a0808; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gold); font-family: "Ma Shan Zheng", serif;
}

.fortune-tube { position: relative; width: 120px; height: 200px; margin: 0 auto 20px; transform-origin: center bottom; }
.fortune-tube.is-shaking { animation: tube-shake 0.12s ease-in-out infinite; }
.fortune-tube.is-reveal { animation: tube-reveal 0.6s ease forwards; }
@keyframes tube-shake {
  0%, 100% { transform: rotate(-6deg) translateX(-2px); }
  50% { transform: rotate(6deg) translateX(2px); }
}
@keyframes tube-reveal {
  0% { transform: scale(1); }
  40% { transform: scale(1.05) translateY(-8px); }
  100% { transform: scale(1) translateY(0); }
}

.tube-rim {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 130px; height: 18px; background: linear-gradient(180deg, #ffd700, #b8860b);
  border-radius: 50%; z-index: 3;
}
.tube-rim::after {
  content: ''; position: absolute; inset: 4px 8px; border-radius: 50%;
  background: linear-gradient(180deg, #8b4513, #5c2e0a);
}
.tube-body {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 175px;
  background: repeating-linear-gradient(90deg, #6b2f0a 0px, #6b2f0a 8px, #5a2808 8px, #5a2808 16px);
  border-radius: 8px 8px 16px 16px; overflow: hidden; z-index: 2;
  box-shadow: inset -8px 0 16px rgba(0,0,0,0.4), 0 12px 24px rgba(0,0,0,0.5);
}
.tube-body .tube-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; width: 88px;
  font-family: "Ma Shan Zheng", serif;
  color: rgba(255, 215, 0, 0.88);
}
.tube-label-ip {
  writing-mode: horizontal-tb;
  font-size: 19px;
  letter-spacing: 3px;
  line-height: 1.2;
  white-space: nowrap;
}
.tube-label-ip.len-3 { font-size: 17px; letter-spacing: 2px; }
.tube-label-ip.len-4 { font-size: 15px; letter-spacing: 1px; }
.tube-label-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 30px;
  line-height: 0.95;
  letter-spacing: 0;
}
.tube-label-type span { display: block; }
.theme-guan-yin .tube-label { color: rgba(232, 197, 71, 0.92); }
.theme-guan-yin .tube-body {
  background: repeating-linear-gradient(90deg, #3d5a4a 0px, #3d5a4a 8px, #2e4a3a 8px, #2e4a3a 16px);
}
.tube-sticks { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); width: 90px; height: 40px; z-index: 1; }
.tube-sticks span {
  position: absolute; bottom: 0; width: 4px; height: 32px;
  background: linear-gradient(180deg, #f5e6c8, #c9a86c); border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
}
.tube-sticks span:nth-child(1) { left: 10%; transform: rotate(-12deg); height: 28px; }
.tube-sticks span:nth-child(2) { left: 22%; transform: rotate(-5deg); height: 34px; }
.tube-sticks span:nth-child(3) { left: 35%; transform: rotate(3deg); height: 30px; }
.tube-sticks span:nth-child(4) { left: 48%; transform: rotate(-2deg); height: 36px; }
.tube-sticks span:nth-child(5) { left: 58%; transform: rotate(8deg); height: 32px; }
.tube-sticks span:nth-child(6) { left: 70%; transform: rotate(-6deg); height: 29px; }
.tube-sticks span:nth-child(7) { left: 82%; transform: rotate(4deg); height: 33px; }
.fortune-tube.is-shaking .tube-sticks span { animation: stick-rattle 0.1s ease-in-out infinite alternate; }
@keyframes stick-rattle {
  from { transform: rotate(-8deg); }
  to { transform: rotate(8deg) translateY(-3px); }
}
.tube-base {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 140px; height: 20px; background: linear-gradient(180deg, #4a2010, #2a1008);
  border-radius: 50%; z-index: 0;
}

.guide-text { font-size: 15px; color: rgba(245, 230, 200, 0.85); text-align: center; letter-spacing: 2px; margin-bottom: 16px; }
.shake-icon-inline { display: inline-block; animation: phone-tilt 1s ease-in-out infinite; }
@keyframes phone-tilt {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.tap-draw-btn {
  width: 100%; max-width: 280px; padding: 14px 24px; border: none; border-radius: 999px;
  background: linear-gradient(135deg, #ffd700, #b8860b); color: #1a0808;
  font-size: 16px; font-weight: 700; font-family: inherit; letter-spacing: 3px; cursor: pointer;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}
.tap-draw-btn:active:not(:disabled),
.tap-draw-btn.is-pressing {
  transform: scale(0.97);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.55), inset 0 0 20px rgba(255, 200, 0, 0.15);
  background: linear-gradient(135deg, #ffe566, #d4a017);
}
.poem-label { font-size: 12px; color: #8b6914; margin-bottom: 8px; letter-spacing: 4px; }
.result-level-sm { font-family: "Ma Shan Zheng", serif; font-size: 18px; margin-bottom: 12px; }
.coupon-hint { font-size: 11px; color: rgba(212,175,55,0.6); margin-bottom: 8px; }
.tap-draw-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.progress-ring-wrap {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px;
  border-radius: 50%; padding: 3px; background: rgba(0,0,0,0.4);
}
.progress-ring-wrap::after {
  content: '诚';
  position: absolute; inset: 8px; border-radius: 50%;
  background: #1a0808; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--gold); font-family: "Ma Shan Zheng", serif;
}
.tap-draw-sub { text-align: center; font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 10px; }

.enter-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.enter-panel {
  text-align: center; width: 100%; max-width: 320px;
  display: flex; flex-direction: column; align-items: center;
  animation: pop 0.5s ease;
}
.enter-logo {
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(180deg, #3d1515, #1a0808);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin: 0 auto 20px;
  flex-shrink: 0;
}
.enter-logo.logo-glyph { font-size: 72px; }
.enter-guan { font-size: 80px; margin-bottom: 16px; }
.enter-panel h2 { font-family: "Ma Shan Zheng", serif; font-size: 36px; color: var(--gold-light); letter-spacing: 6px; margin-bottom: 12px; width: 100%; }
.enter-panel p { color: rgba(245,230,200,0.7); font-size: 14px; line-height: 1.8; margin-bottom: 24px; width: 100%; }
.enter-btn {
  width: min(280px, 100%);
  box-sizing: border-box;
  padding: 16px 48px; border: 2px solid var(--gold); border-radius: 999px;
  background: linear-gradient(180deg, rgba(139,26,26,0.9), rgba(80,10,10,0.95));
  color: var(--gold-light); font-family: "Ma Shan Zheng", serif; font-size: 22px; letter-spacing: 4px; cursor: pointer;
}

.result-overlay {
  position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.result-panel {
  width: min(360px, 100%); max-height: 90vh; overflow-y: auto; padding: 28px 24px;
  border-radius: 16px; border: 2px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(180deg, rgba(60,20,20,0.95), rgba(20,8,8,0.98)); text-align: center;
}
.stick-fly { font-size: 56px; animation: stick-fly-in 0.8s ease; margin-bottom: 12px; }
@keyframes stick-fly-in {
  0% { transform: translateY(-80px) rotate(-20deg); opacity: 0; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
.result-level { font-family: "Ma Shan Zheng", serif; font-size: 36px; letter-spacing: 4px; margin-bottom: 4px; }
.result-level.level-shangshang { color: #ffd700; }
.result-level.level-shang { color: #ffb347; }
.result-level.level-zhong { color: #c9a86c; }
.result-level.level-xia { color: #a08060; }
.result-level.level-xiaxia { color: #888; }

.result-no-win { padding: 8px 0; }
.no-win-icon { font-size: 52px; margin-bottom: 8px; opacity: 0.9; animation: stick-fly-in 0.6s ease; }
.no-win-title { font-size: 28px; color: rgba(245, 230, 200, 0.95); margin-bottom: 8px; }
.no-win-sub { font-size: 14px; color: rgba(212, 175, 55, 0.75); margin-bottom: 12px; line-height: 1.5; }
.no-win-limit { margin-bottom: 16px; color: rgba(255, 248, 220, 0.65); }
.no-win-actions { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; }
.no-win-actions .btn { width: 100%; }
.result-no-win .no-win-chip {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; background: rgba(255,255,255,.08); color: rgba(245,230,200,.75);
}

.result-no { font-size: 14px; color: rgba(212,175,55,0.8); margin-bottom: 8px; }
.result-title { font-size: 20px; color: #f5e6c8; margin-bottom: 24px; }
.poem-scroll {
  margin: 16px 0 24px; padding: 20px 16px; border-radius: 8px;
  background: linear-gradient(180deg, #f5e6c8, #e8d4a8); border: 1px solid #c9a86c;
}
.poem-text { font-family: "Ma Shan Zheng", serif; font-size: 22px; color: #3d2010; line-height: 2; }
.interpret-head { font-family: "Ma Shan Zheng", serif; font-size: 24px; color: var(--gold-light); margin-bottom: 12px; }
.interpret-text { font-size: 15px; color: rgba(245,230,200,0.9); line-height: 1.9; text-align: left; margin-bottom: 20px; }
.coupon-block { margin: 16px 0; padding: 16px; border-radius: 12px; border: 1px dashed rgba(212,175,55,0.4); }
.coupon-label { font-size: 12px; color: var(--gold); }
.coupon-name { font-size: 18px; color: #fff; margin: 8px 0 12px; }
.coupon-code { font-size: 11px; color: rgba(255,255,255,0.5); word-break: break-all; }
.guanyu-btn-gold { background: linear-gradient(135deg, #ffd700, #b8860b) !important; color: #1a0808 !important; }
.guanyu-btn { background: linear-gradient(135deg, #c41e3a, #8b0000) !important; }
.result-step .btn { width: 100%; margin-top: 8px; }
#qrcode { display: inline-block; padding: 8px; background: #fff; border-radius: 8px; }
.result-step.hidden { display: none !important; }
.icp-footer { text-align: center; padding: 20px 16px 28px; color: rgba(255,255,255,0.25); font-size: 11px; }

/* 观音系列 / 商家 ip_skin 主题 */
.theme-guan-yin {
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='%23ffffff' fill-opacity='0.012'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(46, 107, 90, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, #0a1628 0%, #0a1218 100%);
}
.theme-guan-yin .temple-arch::before,
.theme-guan-yin .temple-arch::after { background: linear-gradient(90deg, transparent, #e8c547, transparent); }
.theme-guan-yin .merchant-card {
  border-color: rgba(46, 107, 90, 0.45);
  background: linear-gradient(135deg, rgba(46, 107, 90, 0.22) 0%, rgba(10, 22, 40, 0.92) 100%);
}
.theme-guan-yin .scene-tab.active {
  background: linear-gradient(180deg, rgba(61, 139, 114, 0.85), rgba(20, 53, 45, 0.95));
}
.theme-guan-yin .tube-stage {
  background: radial-gradient(ellipse 70% 50% at 50% 80%, rgba(46, 107, 90, 0.35), transparent), rgba(8, 20, 18, 0.88);
  border-color: rgba(232, 197, 71, 0.22);
}
.theme-guan-yin .guanyu-btn { background: linear-gradient(135deg, #3d8b72, #2e6b5a) !important; }
.theme-guan-yin .enter-panel { border-color: rgba(232, 197, 71, 0.35); }
.theme-guan-yin .enter-btn {
  background: linear-gradient(180deg, rgba(61, 139, 114, 0.92), rgba(46, 107, 90, 0.98));
  border-color: rgba(232, 197, 71, 0.65);
  color: #f5f0dc;
  box-shadow: 0 8px 28px rgba(46, 107, 90, 0.45);
}
.theme-guan-yin .enter-btn:active {
  background: linear-gradient(180deg, rgba(72, 160, 132, 0.95), rgba(36, 90, 74, 1));
}
.theme-guan-yin .result-panel {
  background: linear-gradient(180deg, rgba(20, 53, 45, 0.96), rgba(10, 22, 40, 0.98));
  border-color: rgba(232, 197, 71, 0.35);
}
.theme-guan-yin .progress-ring-wrap::after { background: #0a1628; }
.theme-guan-yin .tap-draw-btn {
  background: linear-gradient(135deg, #e8c547, #b8962e);
  box-shadow: 0 6px 24px rgba(232, 197, 71, 0.35);
}
.theme-guan-yin .scene-tab:not(.active) {
  border-color: rgba(46, 107, 90, 0.35);
}
.theme-guan-yin .uid-lock-banner {
  background: rgba(46, 107, 90, 0.35);
  border-color: rgba(232, 197, 71, 0.25);
}

.merchant-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.merchant-actions.hidden { display: none; }
.merchant-act-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(245, 230, 200, 0.9);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.merchant-act-btn:active { opacity: 0.85; }
