:root {
  --bg-deep: #12100e;
  --bg-hall: #1b1713;
  --bg-card: #241e19;
  --bg-elevated: #2e261f;
  --wood-pillar: #4d221a;
  --wood-border: rgba(212, 175, 122, 0.24);
  --gold-main: #d8b57c;
  --gold-bright: #f0d49e;
  --gold-soft: rgba(216, 181, 124, 0.14);
  --cinnabar: #a63a2b;
  --jade: #6f9478;
  --text-main: #f2ebe1;
  --text-muted: #b5a795;
  --text-dim: #827566;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "PingFang SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-serif);
  overflow: hidden;
  user-select: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

/* 顶部水墨合十提示条 */
.toast-container {
  position: fixed;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(92vw, 480px);
}

.zen-toast {
  background: rgba(32, 26, 21, 0.94);
  border: 1px solid rgba(216, 181, 124, 0.45);
  color: var(--gold-bright);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  animation: toastInOut 4.2s ease forwards;
}

@keyframes toastInOut {
  0% { opacity: 0; transform: translateY(-10px) scale(0.96); }
  12% { opacity: 1; transform: translateY(0) scale(1); }
  85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* 顶部横梁 */
.temple-header {
  height: 58px;
  padding: 0 14px;
  background: linear-gradient(180deg, #211a15 0%, #171310 100%);
  border-bottom: 1px solid var(--wood-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 30;
  position: relative;
}

.hall-badge-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 11px 5px 7px;
  background: rgba(216, 181, 124, 0.09);
  border: 1px solid var(--wood-border);
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.hall-badge-btn:hover {
  background: rgba(216, 181, 124, 0.16);
  border-color: var(--gold-main);
}

.seal-dot {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--cinnabar);
  color: #fff6eb;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 235, 205, 0.35);
}

.hall-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.hall-title-wrap strong {
  font-size: 14px;
  color: var(--gold-bright);
}

.hall-title-wrap span {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.hall-switch-arrow {
  font-size: 11px;
  color: var(--gold-main);
  padding-left: 4px;
}

.temple-live-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 181, 124, 0.16);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.stat-pill b {
  color: var(--gold-bright);
  font-weight: 600;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67c285;
  box-shadow: 0 0 8px #67c285;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-pill-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 181, 124, 0.2);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.icon-pill-btn.active,
.icon-pill-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-main);
  background: rgba(216, 181, 124, 0.13);
}

/* 主舞台布局 */
.temple-stage {
  height: calc(100% - 58px - 66px - 22px);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 古刹敞轩巨窗 */
.sanctuary-vista {
  position: relative;
  height: 29%;
  min-height: 156px;
  max-height: 235px;
  border-bottom: 2px solid #3a2b1f;
  overflow: hidden;
  background: #141920;
}

.vista-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.wooden-pillar {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 34px;
  background: linear-gradient(90deg, #2d120d 0%, #54241b 50%, #2d120d 100%);
  border-left: 1px solid rgba(216, 181, 124, 0.22);
  border-right: 1px solid rgba(216, 181, 124, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.65);
}

.left-pillar { left: 10px; }
.right-pillar { right: 10px; }

.couplet-text {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 2px;
  color: #e4c389;
  opacity: 0.88;
}

.altar-deck {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.temple-bell-btn,
.slip-trigger-btn {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(23, 18, 15, 0.76);
  border: 1px solid rgba(216, 181, 124, 0.3);
  color: var(--gold-bright);
  font-size: 11px;
  transition: transform 0.15s, border-color 0.2s;
}

.temple-bell-btn:active,
.slip-trigger-btn:active {
  transform: scale(0.93);
}

.bell-svg {
  width: 28px;
  height: 32px;
}

.slip-icon {
  font-size: 20px;
  line-height: 32px;
}

.incense-burner-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.burner-svg {
  width: 92px;
  height: 48px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.7));
}

.silence-motto {
  font-size: 11px;
  color: rgba(240, 212, 158, 0.82);
  letter-spacing: 1px;
  margin-top: -2px;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
}

.smoke-plume {
  position: absolute;
  bottom: 44px;
  width: 8px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 228, 216, 0.42) 0%, rgba(235, 228, 216, 0) 72%);
  filter: blur(2px);
  animation: smokeRise 4.2s infinite ease-in-out;
}

.smoke-plume.s1 { left: 41px; animation-delay: 0s; }
.smoke-plume.s2 { left: 45px; animation-delay: 1.4s; }
.smoke-plume.s3 { left: 49px; animation-delay: 2.7s; }

@keyframes smokeRise {
  0% { transform: translateY(4px) scale(0.6); opacity: 0; }
  30% { opacity: 0.55; }
  100% { transform: translateY(-42px) translateX(8px) scale(2.1); opacity: 0; }
}

/* 百张蒲团大殿 */
.cushion-hall-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 181, 124, 0.08) 0%, transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 48px),
    var(--bg-hall);
  overflow: hidden;
}

.hall-toolbar {
  padding: 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(216, 181, 124, 0.12);
  font-family: var(--font-sans);
  font-size: 12px;
}

.my-seat-indicator {
  color: var(--gold-bright);
  font-weight: 500;
}

.hall-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 11px;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-me { background: #f2c97d; box-shadow: 0 0 6px #f2c97d; }
.dot-sit { background: #8da88e; }
.dot-lie { background: #7e9ec2; }
.dot-empty { border: 1px dashed #8c775c; }

.mini-locate-btn {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--wood-border);
  color: var(--gold-main);
  font-size: 11px;
}

.cushion-scroll-viewport {
  flex: 1;
  overflow: auto;
  padding: 14px 16px 28px;
  scroll-behavior: smooth;
}

.cushion-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(74px, 1fr));
  gap: 12px 10px;
  max-width: 1080px;
  margin: 0 auto;
}

.cushion-cell {
  position: relative;
  height: 78px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s;
}

.cushion-cell:hover {
  transform: translateY(-2px);
  background: rgba(216, 181, 124, 0.06);
}

.cushion-cell.is-self {
  background: radial-gradient(circle at 50% 62%, rgba(240, 212, 158, 0.24), rgba(216, 181, 124, 0.04));
  box-shadow: inset 0 0 0 1.5px rgba(240, 212, 158, 0.65), 0 0 16px rgba(216, 181, 124, 0.22);
}

.seat-num-tag {
  position: absolute;
  top: 3px;
  left: 5px;
  font-size: 9px;
  font-family: var(--font-sans);
  color: rgba(181, 167, 149, 0.45);
}

.cushion-mat-svg {
  width: 62px;
  height: 22px;
  flex-shrink: 0;
}

.monk-figure-wrap {
  position: absolute;
  bottom: 14px;
  width: 66px;
  height: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.monk-figure-wrap.pose-sit {
  animation: monkBreathe 3.8s ease-in-out infinite;
}

@keyframes monkBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.occupant-name-label {
  font-size: 10px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  max-width: 72px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  margin-top: 1px;
}

.cushion-cell.is-self .occupant-name-label {
  color: var(--gold-bright);
  font-weight: 600;
}

.zzz-badge {
  position: absolute;
  top: 4px;
  right: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  color: #a9c7eb;
  opacity: 0.88;
  animation: zzzFloat 2.8s ease-in-out infinite;
}

@keyframes zzzFloat {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.cell-ripple-float {
  position: absolute;
  top: -8px;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--gold-bright);
  text-shadow: 0 1px 4px #000;
  pointer-events: none;
  animation: floatUpFade 1.5s ease-out forwards;
  z-index: 9;
}

@keyframes floatUpFade {
  0% { opacity: 1; transform: translateY(6px) scale(0.9); }
  100% { opacity: 0; transform: translateY(-22px) scale(1.05); }
}

/* 悬浮盘串与电子木鱼工作台 */
.practice-panel {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(95vw, 540px);
  background: rgba(31, 25, 20, 0.97);
  border: 1px solid rgba(216, 181, 124, 0.42);
  border-radius: 18px;
  padding: 12px 15px 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.78);
  z-index: 25;
  backdrop-filter: blur(10px);
}

.practice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.practice-tabs {
  display: flex;
  gap: 6px;
}

.ptab {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
}

.ptab.active {
  color: #1c140d;
  background: var(--gold-main);
  font-weight: 600;
}

.panel-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: 14px;
}

.material-selector {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.mat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 181, 124, 0.18);
  color: var(--text-muted);
}

.mat-chip.active {
  border-color: var(--gold-bright);
  background: rgba(216, 181, 124, 0.18);
  color: var(--gold-bright);
}

.mat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.bead-wheel-stage {
  margin: 6px 0 10px;
  padding: 12px 10px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(216, 181, 124, 0.08), rgba(0, 0, 0, 0.32));
  border: 1px solid rgba(216, 181, 124, 0.15);
  text-align: center;
  cursor: grab;
}

.bead-counter-overlay {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.bead-counter-overlay strong {
  font-size: 26px;
  color: var(--gold-bright);
}

.small-tag, .small-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.bead-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  overflow: hidden;
}

.bead-orb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset -4px -5px 8px rgba(0, 0, 0, 0.48), inset 4px 4px 7px rgba(255, 255, 255, 0.42);
}

.bead-orb.center-guru {
  width: 38px;
  height: 38px;
}

.bead-track.rolling .bead-orb {
  transform: translateX(10px) scale(1.06);
}

.bead-hint {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-sans);
}

.same-material-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(216, 181, 124, 0.12), rgba(166, 58, 43, 0.16));
  border: 1px solid rgba(216, 181, 124, 0.28);
  font-family: var(--font-sans);
  font-size: 12px;
}

.same-mat-text {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sparkle { color: var(--gold-bright); }

.same-mat-cta {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-main);
  color: #1c140c;
  font-weight: 600;
  font-size: 12px;
}

/* 敲大木鱼工作台 */
.muyu-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 2px;
}

.muyu-float-zone {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.big-muyu-btn {
  width: 164px;
  height: 124px;
  transition: transform 0.08s ease;
}

.big-muyu-btn.tapped,
.big-muyu-btn:active {
  transform: scale(0.91);
}

.big-muyu-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
}

.muyu-stats-row {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.muyu-stats-row b {
  color: var(--gold-bright);
}

.ghost-gold-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--wood-border);
  color: var(--gold-main);
  font-size: 12px;
  font-family: var(--font-sans);
  background: rgba(216, 181, 124, 0.08);
}

.ghost-gold-btn.active {
  background: var(--cinnabar);
  border-color: #d96b59;
  color: #fff;
}

/* 底部常驻行动坞 */
.bottom-dock {
  height: 66px;
  background: linear-gradient(180deg, #1d1713 0%, #14100d 100%);
  border-top: 1px solid var(--wood-border);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 760px;
  margin: 0 auto;
  padding: 6px 8px;
  gap: 5px;
}

.dock-btn {
  position: relative;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.18s;
}

.dock-emoji {
  font-size: 19px;
  line-height: 1.1;
}

.dock-btn.active {
  background: rgba(216, 181, 124, 0.16);
  border-color: rgba(216, 181, 124, 0.45);
  color: var(--gold-bright);
}

.dock-btn.shop-dock-btn {
  background: linear-gradient(145deg, rgba(166, 58, 43, 0.28), rgba(216, 181, 124, 0.16));
  border-color: rgba(216, 181, 124, 0.35);
  color: var(--gold-bright);
}

.shop-badge {
  position: absolute;
  top: 3px;
  right: 6px;
  font-style: normal;
  font-size: 9px;
  background: var(--cinnabar);
  color: #fff5e8;
  padding: 1px 5px;
  border-radius: 999px;
}

.compliance-footer {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: var(--font-sans);
  color: var(--text-dim);
  background: #0e0c0a;
}

/* 通用弹窗系统 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 5, 0.78);
  backdrop-filter: blur(5px);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.zen-modal-card {
  position: relative;
  width: min(94vw, 520px);
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #28211b 0%, #1c1713 100%);
  border: 1px solid rgba(216, 181, 124, 0.38);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.8);
}

.compact-card {
  width: min(92vw, 390px);
  text-align: center;
}

.wide-modal {
  width: min(96vw, 820px);
}

.shop-drawer-card {
  width: min(96vw, 960px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-size: 14px;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-right: 34px;
  margin-bottom: 12px;
}

.modal-header-row h3 {
  font-size: 18px;
  color: var(--gold-bright);
}

.modal-sub {
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin-top: 4px;
}

.occ-avatar-preview {
  width: 84px;
  height: 76px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.occ-modal-name {
  font-size: 18px;
  color: var(--gold-bright);
}

.occ-modal-status {
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin: 6px 0 10px;
}

.occ-mat-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--wood-border);
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.silence-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.modal-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.modal-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.modal-btn-row > button {
  flex: 1;
}

.primary-gold-btn {
  padding: 11px 16px;
  border-radius: 11px;
  background: linear-gradient(135deg, #e5c388 0%, #c49854 100%);
  color: #1c130b;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-sans);
}

.secondary-outline-btn {
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid rgba(216, 181, 124, 0.36);
  background: rgba(216, 181, 124, 0.07);
  color: var(--gold-bright);
  font-size: 13px;
  font-family: var(--font-sans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.full-width { width: 100%; }

/* 排队候补弹窗 */
.queue-lantern {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(166, 58, 43, 0.28);
  border: 1px solid rgba(216, 110, 90, 0.45);
  color: #ffb8a8;
  font-size: 12px;
  margin-bottom: 10px;
}

.queue-desc {
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 10px 0 12px;
}

.gold-num {
  font-size: 20px;
  color: var(--gold-bright);
}

.queue-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 16px;
}

.queue-progress-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold-main));
  animation: queuePulse 1.8s ease-in-out infinite alternate;
}

@keyframes queuePulse {
  from { width: 25%; }
  to { width: 88%; }
}

/* 百堂总览网格 */
.halls-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hall-filter-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid transparent;
}

.hall-filter-chip.active {
  background: var(--gold-soft);
  border-color: var(--gold-main);
  color: var(--gold-bright);
}

.halls-grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 4px;
}

.hall-card-item {
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 181, 124, 0.16);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
}

.hall-card-item:hover,
.hall-card-item.current {
  border-color: var(--gold-main);
  background: rgba(216, 181, 124, 0.11);
}

.hall-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gold-bright);
  font-weight: 600;
}

.hall-status-tag {
  font-size: 10px;
  font-family: var(--font-sans);
  padding: 1px 6px;
  border-radius: 999px;
}

.hall-status-tag.full {
  background: rgba(166, 58, 43, 0.36);
  color: #ffb3a3;
}

.hall-status-tag.warm {
  background: rgba(216, 181, 124, 0.2);
  color: var(--gold-bright);
}

.hall-status-tag.quiet {
  background: rgba(111, 148, 120, 0.24);
  color: #a7d4b2;
}

.hall-card-meta {
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-muted);
}

/* 山门器物坊 (CPS 手串与香器商城) */
.shop-total-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-sans);
  background: rgba(216, 181, 124, 0.14);
  border: 1px solid rgba(216, 181, 124, 0.36);
  color: var(--gold-bright);
  vertical-align: middle;
}

.shop-category-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(216, 181, 124, 0.14);
}

.shop-tab-btn {
  flex-shrink: 0;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(216, 181, 124, 0.18);
  color: var(--text-muted);
}

.shop-tab-btn .tab-count {
  opacity: 0.78;
  font-size: 11px;
  margin-left: 3px;
}

.shop-tab-btn.active {
  background: var(--gold-main);
  color: #1c130b;
  border-color: var(--gold-main);
  font-weight: 700;
}

.shop-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.shop-search-wrap {
  position: relative;
  flex: 1 1 240px;
  display: flex;
  align-items: center;
}

.shop-search-icon {
  position: absolute;
  left: 11px;
  font-size: 13px;
  pointer-events: none;
  opacity: 0.75;
}

.shop-search-wrap input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border-radius: 999px;
  border: 1px solid rgba(216, 181, 124, 0.26);
  background: rgba(14, 11, 9, 0.76);
  color: var(--text-main);
  font-size: 12px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.18s;
}

.shop-search-wrap input:focus {
  border-color: var(--gold-main);
}

.shop-filter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shop-filter-controls select {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(216, 181, 124, 0.26);
  background: rgba(18, 14, 11, 0.88);
  color: var(--gold-bright);
  font-size: 12px;
  font-family: var(--font-sans);
  outline: none;
  cursor: pointer;
}

.shop-goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 13px;
  max-height: 54vh;
  overflow-y: auto;
  padding-right: 4px;
}

.goods-card {
  background: rgba(18, 14, 11, 0.72);
  border: 1px solid rgba(216, 181, 124, 0.2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, border-color 0.2s;
}

.goods-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-main);
}

.goods-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #2b231c;
  overflow: hidden;
}

.goods-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.goods-platform-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  background: rgba(20, 16, 13, 0.84);
  color: var(--gold-bright);
  border: 1px solid rgba(216, 181, 124, 0.35);
}

.goods-platform-pill.jd {
  background: rgba(156, 38, 30, 0.88);
  color: #fff2ed;
}

.goods-coupon-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  background: linear-gradient(135deg, #b83b2a 0%, #8f2619 100%);
  color: #fff5e8;
  border: 1px solid rgba(255, 214, 158, 0.42);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.goods-body {
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}

.goods-title {
  font-size: 13px;
  line-height: 1.42;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.goods-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-dim);
}

.goods-shop-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 68%;
}

.goods-note {
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.goods-bottom-row {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-sans);
}

.goods-price-group {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.goods-price {
  color: var(--gold-bright);
  font-size: 17px;
  font-weight: 700;
}

.goods-price small {
  font-size: 11px;
  font-weight: 400;
}

.goods-origin-price {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.goods-buy-btn {
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e3c083 0%, #bd904c 100%);
  color: #1c130a;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.shop-load-more-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.compliance-footnote {
  margin-top: 12px;
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-dim);
  line-height: 1.5;
}

/* 淘口令框 */
.coupon-seal {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-size: 11px;
  margin-bottom: 8px;
}

.coupon-item-title {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.coupon-code-box {
  background: #14100d;
  border: 1px dashed rgba(216, 181, 124, 0.48);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--gold-bright);
  word-break: break-all;
  text-align: left;
  user-select: text;
  margin-bottom: 10px;
}

.coupon-guide-hint {
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

/* 身份选择弹窗 */
.identity-input-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.identity-input-row input {
  flex: 1;
  background: #14100d;
  border: 1px solid var(--wood-border);
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--text-main);
  font-size: 14px;
}

.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.avatar-option {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 181, 124, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--text-muted);
}

.avatar-option.selected {
  border-color: var(--gold-bright);
  background: rgba(216, 181, 124, 0.14);
  color: var(--gold-bright);
}

.avatar-thumb {
  width: 58px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 日签画布预览 */
.slip-preview-canvas {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 10px;
  margin: 10px auto 0;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

@media (max-width: 720px) {
  .subtle-hide-mobile { display: none; }
  .temple-header {
    height: auto;
    min-height: 52px;
    padding: 6px 8px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .hall-badge-btn {
    padding: 4px 8px 4px 5px;
    gap: 6px;
  }
  .hall-title-wrap strong {
    font-size: 12.5px;
    white-space: nowrap;
  }
  .hall-title-wrap span {
    font-size: 10px;
    white-space: nowrap;
  }
  .hall-switch-arrow {
    white-space: nowrap;
    padding-left: 2px;
  }
  .stat-pill {
    padding: 4px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .icon-pill-btn {
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  #myNicknameBadge {
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .wooden-pillar { width: 20px; }
  .left-pillar { left: 2px; }
  .right-pillar { right: 2px; }
  .couplet-text { font-size: 9px; }
  .altar-deck { left: 24px; right: 24px; }
  .temple-bell-btn, .slip-trigger-btn {
    padding: 4px 7px;
    font-size: 10px;
    white-space: nowrap;
  }
  .silence-motto {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .sanctuary-vista { height: 24%; min-height: 132px; }
  .cushion-grid {
    grid-template-columns: repeat(5, minmax(62px, 1fr));
    gap: 10px 6px;
  }
  #weatherLabel, #audioLabel { display: none; }
}


/* 五大沉浸修行工作台增强样式 */
.practice-tabs {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.ptab {
  flex-shrink: 0;
  font-size: 12px;
  padding: 5px 11px;
}

/* 1. 宣纸逐字点亮静心卷 + 立体108珠环 */
.chant-scroll-box {
  background: linear-gradient(180deg, rgba(48, 39, 30, 0.85) 0%, rgba(28, 22, 17, 0.92) 100%);
  border: 1px solid rgba(216, 181, 124, 0.25);
  border-radius: 12px;
  padding: 8px 10px;
  margin: 4px 0 8px;
}

.chant-scroll-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}

.chant-select {
  background: #17120e;
  color: var(--gold-bright);
  border: 1px solid rgba(216, 181, 124, 0.3);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-family: var(--font-sans);
  max-width: 68%;
}

.compact-select {
  max-width: 46%;
}

.mini-hum-btn {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-sans);
  border: 1px solid rgba(216, 181, 124, 0.28);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
}

.mini-hum-btn.active {
  color: var(--gold-bright);
  background: rgba(216, 181, 124, 0.16);
  border-color: var(--gold-main);
}

.chant-characters {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 4px;
  max-height: 66px;
  overflow-y: auto;
  padding: 2px;
  line-height: 1.45;
}

.chant-char {
  font-size: 13px;
  color: rgba(181, 167, 149, 0.34);
  transition: color 0.18s, text-shadow 0.18s, transform 0.18s;
}

.chant-char.lit {
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(240, 212, 158, 0.52);
}

.chant-char.current {
  color: #fff5dc;
  transform: scale(1.22);
  text-shadow: 0 0 10px #f5c978;
  font-weight: 700;
}

.bead-canvas-stage {
  position: relative;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 60%, rgba(216, 181, 124, 0.12), rgba(10, 8, 6, 0.55));
  border: 1px solid rgba(216, 181, 124, 0.18);
  margin-bottom: 8px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.bead-canvas-stage:active {
  cursor: grabbing;
}

.bead-ring-canvas {
  width: 100%;
  height: 144px;
  display: block;
}

.bead-hud-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  font-family: var(--font-sans);
}

.bead-count-pill {
  font-size: 11px;
  color: var(--text-main);
  background: rgba(18, 14, 11, 0.78);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(216, 181, 124, 0.25);
}

.bead-count-pill b, .bead-count-pill em {
  color: var(--gold-bright);
  font-style: normal;
}

.bead-gesture-tip {
  font-size: 10px;
  color: var(--text-dim);
}

/* 2. 电子木鱼槌与声波圆环 */
.muyu-top-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.tone-chips, .incense-flavor-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mini-chip {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 181, 124, 0.18);
}

.mini-chip.active {
  color: #1c130b;
  background: var(--gold-main);
  border-color: var(--gold-main);
  font-weight: 600;
}

.muyu-instrument-wrap {
  position: relative;
  width: 220px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.muyu-mallet {
  position: absolute;
  right: -12px;
  top: 10px;
  width: 98px;
  height: 42px;
  pointer-events: none;
  transform-origin: 88% 55%;
  transform: rotate(16deg);
  transition: transform 0.085s cubic-bezier(0.22, 1, 0.36, 1);
}

.muyu-mallet.strike {
  transform: rotate(-22deg) translate(-8px, 6px);
}

.muyu-ripple-ring {
  position: absolute;
  top: 56px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1.5px solid rgba(240, 212, 158, 0);
  pointer-events: none;
}

.muyu-ripple-ring.boom {
  animation: muyuRingExpand 0.65s ease-out;
}

@keyframes muyuRingExpand {
  0% { transform: scale(0.7); border-color: rgba(240, 212, 158, 0.78); }
  100% { transform: scale(2.1); border-color: rgba(240, 212, 158, 0); }
}

.key-hint {
  color: var(--text-dim);
  font-size: 11px;
}

/* 3. 敬点线香 & 4. 铜磬颂钵 & 5. 百八礼敬 */
.incense-ceremony-stage, .bowl-stage, .bow108-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 2px;
}

.incense-stick-canvas, .bowl-wave-canvas {
  width: 100%;
  height: 142px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 70%, rgba(216, 181, 124, 0.09), rgba(12, 10, 8, 0.55));
  border: 1px solid rgba(216, 181, 124, 0.14);
  display: block;
}

.incense-timer-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-muted);
  margin: 8px 0;
}

.incense-timer-row strong {
  font-size: 18px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.incense-btn-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bowl-stage {
  position: relative;
}

.bowl-center-btn {
  position: absolute;
  top: 34px;
  width: 118px;
  height: 82px;
  transition: transform 0.12s;
}

.bowl-center-btn:active {
  transform: scale(0.93);
}

.bow-count-circle {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1.5px solid rgba(216, 181, 124, 0.45);
  background: radial-gradient(circle, rgba(216, 181, 124, 0.16), rgba(0, 0, 0, 0.35));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  margin: 4px 0 10px;
}

.bow-count-circle span, .bow-count-circle small {
  font-size: 10px;
  color: var(--text-muted);
}

.bow-count-circle strong {
  font-size: 28px;
  color: var(--gold-bright);
  line-height: 1.15;
}

.bow-reflection-text {
  font-size: 13px;
  color: var(--gold-bright);
  text-align: center;
  min-height: 38px;
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 0 10px;
}


/* ================= v2 真 3D 全景古刹漫游与全端虚拟摇杆样式 ================= */
.temple-3d-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d141d;
  z-index: 1;
}

.temple-3d-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.roam-hud-top {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
  flex-wrap: wrap;
}

.hud-glass-pill {
  pointer-events: auto;
  background: rgba(20, 16, 13, 0.76);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 181, 124, 0.30);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--gold-bright);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.hud-quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  flex-wrap: wrap;
}

.hud-action-btn {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(22, 18, 14, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 181, 124, 0.32);
  color: var(--text-main);
  font-size: 12px;
  font-family: var(--font-sans);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.18s;
}

.hud-action-btn:hover,
.hud-action-btn.active {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(45, 34, 22, 0.88);
}

.hud-action-btn.primary-chip {
  background: linear-gradient(135deg, rgba(216, 181, 124, 0.26), rgba(166, 58, 43, 0.28));
  border-color: rgba(240, 212, 158, 0.52);
  color: var(--gold-bright);
  font-weight: 600;
}

/* 左下角虚拟摇杆与漫步微提示 */
.roam-controls-overlay {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 12;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.joystick-zone {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 181, 124, 0.14) 0%, rgba(18, 14, 11, 0.62) 100%);
  border: 1.5px solid rgba(216, 181, 124, 0.36);
  backdrop-filter: blur(6px);
  position: relative;
  pointer-events: auto;
  touch-action: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.52);
}

.joystick-knob {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f5deb0, #b88c4a);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.65);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.roam-guide-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 13, 10, 0.70);
  border: 1px solid rgba(216, 181, 124, 0.22);
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-sans);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

/* 悬浮式 100 张蒲团平面速选抽屉 */
.cushion-drawer-section {
  position: absolute;
  inset: 54px 16px 14px 16px;
  z-index: 22;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(216, 181, 124, 0.38);
  background: rgba(24, 19, 15, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.82);
  overflow: hidden;
}

@media (max-width: 720px) {
  #altarModeLabel {
    display: none;
  }
  .roam-hud-top {
    top: 6px;
    left: 8px;
    right: 8px;
    gap: 5px;
  }
  .hud-glass-pill {
    font-size: 11px;
    padding: 4px 10px;
    width: 100%;
    text-align: center;
  }
  .hud-quick-actions {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }
  .hud-action-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  .joystick-zone {
    width: 76px;
    height: 76px;
  }
  .joystick-knob {
    width: 32px;
    height: 32px;
  }
  .roam-guide-pill {
    display: none;
  }
  .cushion-drawer-section {
    inset: 76px 8px 10px 8px;
  }
}
