  /* =========================================================================
   * 5. 【商业级街机App大厅首页 UI：亮色轻奢风（珍珠白烤漆 + 抛光香槟金铆钉 + 皇家蓝宝石）】
   *    1) 全局色彩与材质规范（CSS Variables & Material System）
   *    2) 区域 1：顶部资产灯箱栏（Header HUD · 珍珠白 + 香槟金双铆钉铭牌）
   *    3) 区域 2：中央 3D 聚光灯主舞台（MACHINE 01 · 昭和椿 + 左右磨砂玻璃悬浮翼）
   *    4) 区域 3：副舞台 02~05 机台 2x2 珍珠白铆钉陈列柜（NO.02 PASS READY 绿金呼吸）
   * ========================================================================= */
  :root {
    /* 1. 背景与舞台底色：象牙珍珠白 (#F5EFE2) + 皇家蓝宝石聚光灯 */
    --bg-hall-top: #FBF8F0;
    --bg-hall-mid: #F5EFE2;
    --bg-hall-bottom: #EFE4CE;
    --stage-spotlight-blue: radial-gradient(circle at 50% 42%, #1D56B8 0%, #113275 56%, rgba(13, 37, 92, 0) 74%);

    /* 2. 珍珠白烤漆卡片材质 */
    --surface-pearl-card: linear-gradient(180deg, #FFFFFF 0%, #F4EFE6 100%);
    --surface-glass-wing: rgba(255, 255, 255, 0.84);

    /* 3. 香槟金金属边框与高光 */
    --border-champagne-gold: #D4AF37;
    --gradient-gold-frame: linear-gradient(135deg, #FFF3B0 0%, #D4AF37 35%, #AA7C11 70%, #F3E5AB 100%);
    --gradient-gold-btn: linear-gradient(180deg, #FFE885 0%, #F5B932 48%, #C88214 100%);
    --shadow-gold-elevation: 0 8px 20px rgba(138, 98, 24, 0.22), inset 0 2px 2px rgba(255, 255, 255, 0.9);

    /* 4. 状态强调色 */
    --accent-royal-blue: #185ADB;
    --accent-emerald-ready: #00C853;
    --text-bronze-dark: #4A3212;
    --text-gold-bright: #FFF5C0;
  }

  /* 安全隐藏所有“全画面”按钮，保留 DOM 节点防止 JS 报错 */
  #fullscreen-btn, .fullscreen-btn, [data-action="fullscreen"], #hallFullscreenBtn, #bFullscreen {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #arcadeHallOverlay {
    position: fixed;
    inset: 0;
    z-index: 80 !important;
    display: none;
    flex-direction: column;
    background: #080d1a url('../../assets/ui-3d-v44/hall-bg-clean.webp') center center / cover no-repeat !important;
    opacity: 1 !important;
    color: var(--text-bronze-dark);
    pointer-events: auto;
    overflow: hidden;
    overscroll-behavior: contain;
  }
  #arcadeHallOverlay.show {
    display: flex !important;
    opacity: 1 !important;
    animation: hallFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 当大厅打开时，彻底隐藏机台房间内一切 HUD 控件与按钮，杜绝浮起与穿帮 */
  body.in-hall #apronBtns,
  body.in-hall #ticketBar,
  body.in-hall #btns,
  body.in-hall .side-ear-btn,
  body.in-hall #plungerPullLabel,
  body.in-hall #plungerPowerGaugeBar,
  body.in-hall #roomTopBar,
  body.in-hall #adBannerSlot,
  body.in-hall #btnRandomPull,
  body.in-hall #btnPlayModeToggle,
  body.in-hall #btnSpeedModeToggle,
  #arcadeHallOverlay.show ~ #apronBtns,
  #arcadeHallOverlay.show ~ #ticketBar,
  #arcadeHallOverlay.show ~ #btns,
  #arcadeHallOverlay.show ~ .side-ear-btn,
  #arcadeHallOverlay.show ~ #plungerPullLabel,
  #arcadeHallOverlay.show ~ #plungerPowerGaugeBar,
  #arcadeHallOverlay.show ~ #roomTopBar,
  #arcadeHallOverlay.show ~ #adBannerSlot,
  #arcadeHallOverlay.show ~ #btnRandomPull,
  #arcadeHallOverlay.show ~ #btnPlayModeToggle,
  #arcadeHallOverlay.show ~ #btnSpeedModeToggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  @keyframes hallFadeIn {
    from { opacity: 0; transform: scale(0.985); }
    to { opacity: 1; transform: scale(1); }
  }

  /* -------------------------------------------------------------------------
   * 全局环境光影层（象牙白展厅柔光 + 底部抛光香槟大理石反射地面 + 金色星尘）
   * ------------------------------------------------------------------------- */
  .showroom-env {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
  }
  .spotlight-beam {
    display: none !important;
  }
  /* 底部抛光香槟大理石透视地面 */
  .perspective-grid-floor {
    position: absolute;
    left: -25%;
    right: -25%;
    bottom: -8%;
    height: 32%;
    transform: perspective(380px) rotateX(64deg);
    transform-origin: 50% 100%;
    background-image:
      radial-gradient(56% 68% at 50% 18%, rgba(255, 250, 235, 0.65) 0%, rgba(232, 213, 181, 0.35) 58%, transparent 90%),
      linear-gradient(to right, rgba(186, 142, 46, 0.18) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(186, 142, 46, 0.20) 1px, transparent 1px);
    background-size: 100% 100%, 34px 34px, 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 75% 86% at 50% 58%, #000 32%, transparent 92%);
    mask-image: radial-gradient(ellipse 75% 86% at 50% 58%, #000 32%, transparent 92%);
  }
  /* 动态香槟金星尘微粒 */
  .gold-dust-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .gold-dust {
    position: absolute;
    bottom: -10px;
    left: var(--x, 50%);
    width: var(--s, 4px);
    height: var(--s, 4px);
    border-radius: 50%;
    background: radial-gradient(circle, #FFFFFF 0%, #FFD54F 55%, rgba(212, 175, 55, 0) 100%);
    opacity: 0;
    animation: dustFloatUp var(--d, 7s) ease-in-out var(--dl, 0s) infinite;
  }
  #arcadeHallOverlay:not(.show) .gold-dust {
    animation: none !important;
  }
  @media (max-width: 768px) {
    .gold-dust-layer {
      display: none !important;
    }
  }
  @keyframes dustFloatUp {
    0%   { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
    20%  { opacity: 0.85; }
    75%  { opacity: 0.65; }
    100% { transform: translateY(-86vh) translateX(14px) scale(1.1); opacity: 0; }
  }

  /* 通用：珍珠白烤漆 + 抛光香槟金四角铆钉卡片 */
  .champagne-rivet-card {
    background: var(--surface-pearl-card);
    border: 2px solid var(--border-champagne-gold);
    border-radius: 16px;
    box-shadow: var(--shadow-gold-elevation);
    position: relative;
  }
  /* 四角铆钉装饰点（仅用于顶栏与底栏，02~05卡片已使用3D贴图自带铆钉） */
  .champagne-rivet-card .rivet-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, #FFFFFF 0%, #FFE484 38%, #B68014 82%, #6E4705 100%);
    box-shadow: 0 1px 2px rgba(74, 50, 18, 0.55), inset 0 0.5px 0.5px #FFF;
    pointer-events: none;
    z-index: 3;
  }
  .champagne-rivet-card .rivet-dot.tl { top: 5px; left: 5px; }
  .champagne-rivet-card .rivet-dot.tr { top: 5px; right: 5px; }
  .champagne-rivet-card .rivet-dot.bl { bottom: 5px; left: 5px; }
  .champagne-rivet-card .rivet-dot.br { bottom: 5px; right: 5px; }

  /* 大厅顶部快捷功能栏 (v3.8.1 Flex 布局防重叠) */
  .hall-top-utility-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 580px;
    margin: 4px auto 6px auto;
    padding: 0 8px;
    box-sizing: border-box;
    position: relative;
    z-index: 36;
  }
  .hall-utility-left {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .hall-utility-left::-webkit-scrollbar {
    display: none;
  }
  .hall-stamp-card-btn {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3.5px 7.5px !important;
    font-size: 10.5px !important;
    border-radius: 999px;
    background: linear-gradient(180deg, #5C2E0E 0%, #3A1A06 100%);
    border: 1.5px solid #F5C451;
    color: #FFF7D6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(34, 15, 4, 0.55), inset 0 1px 0 rgba(255, 240, 179, 0.45);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hall-stamp-card-btn:active {
    transform: scale(0.96);
  }
  .hall-carryover-btn {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3.5px 7.5px !important;
    font-size: 10.5px !important;
    border-radius: 999px;
    background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
    border: 1.5px solid #fbbf24;
    color: #fef08a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.6), inset 0 1px 0 rgba(254, 240, 138, 0.45);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hall-carryover-btn:active {
    transform: scale(0.96);
  }
  .hall-feedback-btn {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid #38bdf8;
    color: #bae6fd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.6), inset 0 1px 0 rgba(186, 230, 253, 0.45);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hall-feedback-btn:active {
    transform: scale(0.96);
  }
  .hall-audio-capsule-btn {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid #ca8a04;
    color: #fef08a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.6), inset 0 1px 0 rgba(254, 240, 138, 0.45);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hall-audio-capsule-btn:active {
    transform: scale(0.96);
  }
  .hall-audio-capsule-btn.muted {
    border-color: #64748b;
    color: #94a3b8;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  }
  /* 日本市场静音模式 (マナーモード) 提示弹窗样式 */
  .sound-prompt-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.78);
    /* thermal-opt */
    -webkit-/* thermal-opt */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
  }
  .sound-prompt-card {
    width: 100%;
    max-width: 350px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid #f59e0b;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(245,158,11,0.25);
    text-align: center;
    box-sizing: border-box;
    animation: promptFadeIn 0.22s ease-out;
  }
  @keyframes promptFadeIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
  }
  .sound-prompt-icon {
    font-size: 32px;
    margin-bottom: 6px;
  }
  .sound-prompt-title {
    font-size: 15.5px;
    font-weight: 900;
    color: #fef08a;
    margin-bottom: 8px;
  }
  /* TikTok & LINE 容器专属引流与特典横幅 */
  .inapp-container-banner {
    position: fixed;
    top: env(safe-area-inset-top, 8px);
    left: 8px;
    right: 8px;
    z-index: 9998;
    background: linear-gradient(135deg, rgba(20, 16, 10, 0.96) 0%, rgba(35, 26, 12, 0.95) 100%);
    border: 1.5px solid rgba(245, 185, 50, 0.7);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75), 0 0 16px rgba(245, 185, 50, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    animation: promptFadeIn 0.3s ease-out;
    box-sizing: border-box;
  }
  .inapp-banner-content {
    flex: 1;
    min-width: 0;
  }
  .inapp-banner-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
  }
  .inapp-badge {
    font-size: 11px;
    font-weight: 900;
    color: #fef08a;
    background: rgba(245, 185, 50, 0.2);
    border: 1px solid rgba(245, 185, 50, 0.4);
    border-radius: 4px;
    padding: 2px 6px;
  }
  .inapp-bonus-pill {
    font-size: 11px;
    font-weight: 800;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 4px;
    padding: 2px 6px;
  }
  .inapp-banner-text {
    font-size: 11px;
    color: #e2e8f0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .inapp-banner-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .inapp-claim-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    font-weight: 900;
    font-size: 11.5px;
    border: 1px solid #fef08a;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
  }
  .inapp-claim-btn:disabled {
    background: #475569;
    color: #94a3b8;
    border-color: #64748b;
    box-shadow: none;
    cursor: default;
  }
  .inapp-share-btn {
    background: linear-gradient(135deg, #06c755 0%, #05a847 100%);
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    white-space: nowrap;
  }
  .inapp-close-btn {
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
  }
  .sound-prompt-desc {
    font-size: 11.5px;
    line-height: 1.5;
    color: #cbd5e1;
    margin-bottom: 16px;
    text-align: left;
  }
  .sound-prompt-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sound-prompt-btn-on {
    width: 100%;
    padding: 11px;
    font-size: 13px;
    font-weight: 900;
    color: #1a0f00;
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    border: 1.5px solid #fde047;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(217,119,6,0.45);
    cursor: pointer;
  }
  .sound-prompt-btn-off {
    width: 100%;
    padding: 9px;
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(30,41,59,0.7);
    border: 1px solid rgba(148,163,184,0.3);
    border-radius: 10px;
    cursor: pointer;
  }
  @media (max-width: 440px) {
    .hall-top-utility-bar { padding: 0 4px !important; gap: 3px !important; margin: 2px auto 4px auto !important; }
    .hall-utility-left { gap: 2.5px !important; }
    .hall-stamp-card-btn { padding: 2px 4.5px !important; font-size: 9px !important; }
    .hall-carryover-btn { padding: 2px 4.5px !important; font-size: 9px !important; }
    .hall-feedback-btn { padding: 2px 4.5px !important; font-size: 9px !important; }
    .hall-audio-capsule-btn { padding: 2px 4.5px !important; font-size: 9px !important; }
    .web-gp-store-badge { height: 22px !important; padding: 0 4.5px !important; font-size: 9px !important; }
  }

  /* =========================================================================
   * v3.9.1 大厅氛围感实时漂浮捷报 (Live Floating Arcade Ticker)
   * ========================================================================= */
  .hall-floating-bulletin-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 4px 0 6px 0;
    z-index: 85;
    pointer-events: auto;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
    max-height: 52px;
  }
  .hall-floating-bulletin-wrap.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.95);
    max-height: 0;
    margin: 0;
    overflow: hidden;
  }
  .hall-floating-bulletin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(94vw, 480px);
    padding: 5px 12px 5px 14px;
    background: rgba(15, 23, 42, 0.42) !important;
    /* thermal-opt */
    -webkit-/* thermal-opt */
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    border-radius: 9999px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #fef08a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
  }
  .hall-floating-bulletin:active {
    transform: scale(0.98);
    background: rgba(15, 23, 42, 0.58) !important;
  }
  .hall-floating-bulletin .hfb-icon {
    font-size: 14.5px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  }
  .hall-floating-bulletin .hfb-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  }
  .hall-floating-bulletin .hfb-close-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    transition: background 0.2s, color 0.2s, transform 0.15s;
  }
  .hall-floating-bulletin .hfb-close-btn:hover,
  .hall-floating-bulletin .hfb-close-btn:active {
    background: rgba(239, 68, 68, 0.65);
    color: #ffffff;
    border-color: #f87171;
    transform: scale(1.1);
  }
  @media (max-width: 440px) {
    .hall-floating-bulletin { font-size: 10px; padding: 4px 10px 4px 12px; gap: 6px; }
    .hall-floating-bulletin .hfb-icon { font-size: 13px; }
    .hall-floating-bulletin .hfb-close-btn { width: 18px; height: 18px; font-size: 10px; }
  }

  .stage-codex-hud-btn {
    position: fixed;
    top: max(112px, calc(env(safe-area-inset-top) + 12.8dvh));
    left: 118px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1.5px solid #fde047;
    color: #fef08a;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 3px 10px rgba(0,0,0,0.45);
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
  }
  .stage-codex-hud-btn:active {
    transform: scale(0.96);
  }
  #mCard.stage-guide-modal-card {
    max-width: 460px;
    width: 92vw;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 15, 30, 0.99) 100%) !important;
    border: 2px solid #fde047 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.92), 0 0 35px rgba(245, 158, 11, 0.45) !important;
  }
  #mCard.feedback-modal-card {
    max-width: 440px;
    width: 92vw;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.98) 0%, rgba(11, 19, 43, 0.99) 100%) !important;
    border: 2px solid #38bdf8 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.92), 0 0 35px rgba(56, 189, 248, 0.45) !important;
  }
  @keyframes guidePulseGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.6)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 16px rgba(253, 224, 71, 0.95)); }
  }
  .guide-gimmick-anim-box {
    animation: guidePulseGlow 2.4s ease-in-out infinite;
  }
  .stamp-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 6px #EF4444;
    display: inline-block;
  }
  .stamp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 10px 0 12px;
  }
  .stamp-slot {
    position: relative;
    padding: 10px 6px;
    border-radius: 12px;
    background: linear-gradient(180deg, #FFFDF7 0%, #F5E6C8 100%);
    border: 2px solid #C89D54;
    color: #3E240B;
    text-align: center;
    box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 5px rgba(0, 0, 0, 0.22);
  }
  .stamp-slot.is-stamped {
    background: linear-gradient(180deg, #FFF7E0 0%, #F3DCAA 100%);
    border-color: #D49B38;
  }
  .stamp-slot.day7-grand {
    grid-column: span 3;
    background: linear-gradient(180deg, #FFF5CC 0%, #F9D976 100%);
    border-color: #D97706;
  }
  .stamp-slot.today-target {
    border-color: #EF4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35), 0 4px 10px rgba(239, 68, 68, 0.25);
  }
  .stamp-slot .day-lbl {
    font-size: 10.5px;
    font-weight: 900;
    color: #7C4D19;
  }
  .stamp-slot .rew-val {
    font-size: 12.5px;
    font-weight: 900;
    color: #2B1605;
    margin-top: 3px;
  }
  .hanko-seal {
    position: absolute;
    top: 3px;
    right: 4px;
    transform: rotate(-12deg);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(217, 38, 38, 0.92);
    background: rgba(255, 250, 240, 0.94);
    color: #D92626;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(217, 38, 38, 0.28);
    pointer-events: none;
  }

  .hall-container {
    width: min(500px, 100vw);
    height: 100%;
    margin: 0 auto;
    padding: max(calc(env(safe-area-inset-top, 0px) + 8px), 12px) 10px calc(74px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }

  /* iOS / Capacitor 专属顶部安全区适配：避开顶部 48px~59px 状态栏与灵动岛，确保金色大厅长匾零遮挡且远离毛玻璃状态栏 */
  @supports (-webkit-touch-callout: none) {
    .hall-container {
      padding-top: max(calc(env(safe-area-inset-top, 0px) + 6px), 52px);
    }
  }
  .is-ios .hall-container {
    padding-top: max(calc(env(safe-area-inset-top, 0px) + 6px), 52px) !important;
  }

  /* -------------------------------------------------------------------------
   * 区域 1：顶部资产栏 —— “左券 · 中标题 · 右玉”对称式抛光香槟金铆钉长匾
   * ------------------------------------------------------------------------- */
  .hall-header-hud {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 14px;
    background:
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 5px),
      linear-gradient(180deg, #FFF7DF 0%, #F1D792 26%, #D7A94E 68%, #BC892B 100%);
    border: 2px solid #9A6B16;
    box-shadow:
      0 6px 16px rgba(95, 62, 12, 0.26),
      inset 0 2px 1px rgba(255, 255, 255, 0.92),
      inset 0 -2px 2px rgba(92, 58, 8, 0.45);
    flex-shrink: 0;
  }
  /* 上下边缘一排金属铆钉 */
  .hall-header-hud::before,
  .hall-header-hud::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    height: 5px;
    background-image: radial-gradient(circle at 2.5px 2.5px, #FFFFFF 0px, #FFE484 1.2px, #8A5A0A 2.2px, transparent 2.6px);
    background-size: 22px 5px;
    background-repeat: repeat-x;
    pointer-events: none;
    z-index: 2;
  }
  .hall-header-hud::before { top: 2.5px; }
  .hall-header-hud::after  { bottom: 2.5px; }

  /* 正中品牌区：★ SMART BALL HALL ★ 金属立体字 */
  .hall-brand-plaque {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1;
    text-align: center;
    z-index: 3;
  }
  .hall-brand-star {
    color: #FFFDF0;
    font-size: 13px;
    text-shadow: 0 1px 0 #4A2C00, 0 2px 3px rgba(0, 0, 0, 0.55);
  }
  .hall-brand-title {
    font-family: var(--font-arcade);
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.03em;
    background: linear-gradient(180deg, #4A2C04 0%, #6E450B 48%, #3B2202 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(255, 252, 230, 0.92));
    white-space: nowrap;
  }
  /* 兼容保留簇容器 */
  .hall-assets-cluster {
    display: contents;
  }
  /* 左侧奖券槽：深古铜内凹胶囊底 + 金色票券图标 + 粗体白字 */
  .asset-capsule-ticket {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 9px 0 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2B1A06 0%, #4A2E0F 55%, #5E3C16 100%);
    border: 1.5px solid #F3D078;
    box-shadow:
      inset 0 2px 5px rgba(0, 0, 0, 0.72),
      0 1px 0 rgba(255, 250, 220, 0.85);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 3;
    transition: transform 0.12s ease, filter 0.15s ease;
  }
  .asset-capsule-ticket:hover {
    filter: brightness(1.08);
  }
  .asset-capsule-ticket:active {
    transform: scale(0.96);
  }
  .asset-ticket-num {
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 13px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.88);
    letter-spacing: 0.02em;
  }
  /* 右侧弹珠槽：深蓝内凹胶囊底 + 蓝宝石弹珠图标 + 玉数 + 右侧金色圆形 [+] 按钮 */
  .asset-capsule-ball {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 3px 0 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #091E4D 0%, #13398A 58%, #1C4DB0 100%);
    border: 1.5px solid #F3D078;
    box-shadow:
      inset 0 2px 5px rgba(0, 0, 0, 0.68),
      0 1px 0 rgba(255, 250, 220, 0.85);
    flex-shrink: 0;
    z-index: 3;
  }
  .sapphire-marble-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 32% 28%, #FFFFFF 0%, #7CE8FF 22%, #1D63DC 58%, #092058 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 6px rgba(86, 180, 255, 0.85);
    flex-shrink: 0;
  }
  .asset-ball-num {
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 12.5px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
    white-space: nowrap;
  }
  .asset-ball-unit {
    font-family: var(--font-arcade);
    font-style: normal;
    font-size: 10px;
    color: #BAE6FD;
    margin-left: 1px;
  }
  .asset-plus-btn {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 1.5px solid #FFF7C2;
    background: linear-gradient(180deg, #FFE98A 0%, #F4B427 52%, #B8730E 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45), inset 0 1px 0 #FFFFFF;
    color: #4A2C00;
    font-family: var(--font-num);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.12s ease, filter 0.12s ease;
  }
  .asset-plus-btn:hover {
    filter: brightness(1.1);
  }
  .asset-plus-btn:active {
    transform: scale(0.9);
  }

  /* 视图切换层 */
  .showroom-view {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .showroom-view::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  .showroom-view.active {
    display: flex;
    animation: viewSwitchIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes viewSwitchIn {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* -------------------------------------------------------------------------
   * 区域 2：中央主舞台（直接替换为 assets/stage_hero_v2.jpg + 左右斜切水晶玻璃翼板）
   * ------------------------------------------------------------------------- */
  .hero-spotlight-stage {
    position: relative;
    flex: 1.55;
    min-height: 255px !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  /* 隐藏旧的装饰层与重复覆盖层（已完整包含在 assets/stage_hero_v2.jpg 中） */
  .royal-spotlight-halo,
  .stage-header-plaque,
  .hero-glow-marquee,
  .hero-glow-reservoir,
  .hero-stage-pedestal,
  .hero-cta-wrap,
  .hero-dynamic-pill,
  .hero-dynamic-sign,
  #heroMachineImg {
    display: none !important;
  }

  /* 非日文模式下：显式激活 #heroDynamicSign 覆盖底图上的日文机台名 */
  body:not(.lang-ja) .hero-dynamic-sign {
    display: flex !important;
    position: absolute !important;
    top: 8.8% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    border: 2px solid #f59e0b !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.9), inset 0 1px 1px rgba(255,255,255,0.4) !important;
    z-index: 9 !important;
    white-space: nowrap !important;
    min-width: 180px !important;
    text-align: center !important;
  }
  body:not(.lang-ja) .hero-dynamic-sign .sign-line1 {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.12em !important;
    display: block !important;
    line-height: 1.2 !important;
  }
  body:not(.lang-ja) .hero-dynamic-sign .sign-line2 {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #fde047 !important;
    letter-spacing: 0.06em !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important;
    display: block !important;
    line-height: 1.3 !important;
  }

  /* 舞台主按钮 #btnEnterMachine01：鎏金立体大按钮，居中贴合底座椭圆铭牌 (top: 94.2%) */
  #btnEnterMachine01.stage-play-hotspot,
  body:not(.lang-ja) #btnEnterMachine01.stage-play-hotspot {
    position: absolute !important;
    top: 94.2% !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 62% !important;
    min-width: 210px !important;
    height: 9.5% !important;
    min-height: 42px !important;
    opacity: 1 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
    border: 2px solid #fef08a !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-family: var(--font-arcade, system-ui, sans-serif) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.7), inset 0 2px 2px rgba(255,255,255,0.6) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform 0.12s ease, filter 0.12s ease !important;
  }
  #btnEnterMachine01.stage-play-hotspot:hover,
  body:not(.lang-ja) #btnEnterMachine01.stage-play-hotspot:hover {
    filter: brightness(1.1) !important;
    transform: translate(-50%, -50%) scale(1.02) !important;
  }
  #btnEnterMachine01.stage-play-hotspot:active,
  body:not(.lang-ja) #btnEnterMachine01.stage-play-hotspot:active {
    transform: translate(-50%, -50%) scale(0.97) !important;
  }

  /* 舞台中央：assets/stage_hero_v2.jpg 一体图居中 + 左右斜切水晶翼板悬浮 */
  .stage-center-arena {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }

  /* 主舞台核心一体图容器：严格锁定 765/1024 竖版原生 3:4 比例，彻底杜绝拉伸变形 */
  .hero-cabinet-showcase {
    position: relative;
    z-index: 4;
    aspect-ratio: 765 / 1024 !important;
    height: 100% !important;
    min-height: 255px !important;
    width: auto !important;
    max-width: min(360px, 84vw) !important;
    max-height: 100% !important;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    background: #080d1a url('../../assets/stage_hero_v2.webp') center center / contain no-repeat !important;
    border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
    box-shadow: 0 8px 22px rgba(74, 50, 18, 0.18) !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .stage-hero-v2-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    display: block;
    pointer-events: none;
    user-select: none;
  }

  /* 舞台主按钮 #btnEnterMachine01：样式与定位由上方统一规则驱动 */

  /* -------------------------------------------------------------------------
   * 左右斜切面高透水晶翼板（Glass Wings）
   * ------------------------------------------------------------------------- */
  .stage-floating-wing {
    position: absolute;
    top: 41%;
    width: 28vw;
    max-width: 112px;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 8px !important;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 7;
  }
  .wing-glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(215, 232, 242, 0.52) 100%) !important;
    /* thermal-opt */
    -webkit-/* thermal-opt */
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 8px 20px rgba(60, 45, 15, 0.15), inset 0 0 12px rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
  }
  .wing-panel-left,
  .wing-glass-left {
    left: 4px !important;
    transform: perspective(400px) rotateY(14deg);
  }
  .wing-panel-right,
  .wing-glass-right {
    right: 4px !important;
    transform: perspective(400px) rotateY(-14deg);
  }
  .wing-panel-right::before {
    display: none !important;
    content: none !important;
  }
  .wing-clasp {
    display: none !important;
  }
  .wing-label {
    font-family: var(--font-arcade);
    font-size: 7.5px;
    font-weight: 900;
    color: #4A3212;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
    line-height: 1.2;
    white-space: nowrap;
  }
  .wing-divider {
    width: 88%;
    height: 0;
    border-top: 1px solid rgba(90, 65, 30, 0.3);
    background: none;
    margin: 3.5px 0;
  }
  .wing-value {
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 12px;
    color: #6E3B04;
    text-shadow: 0 1px 0 #FFFFFF;
    line-height: 1.15;
    white-space: nowrap;
  }

  /* -------------------------------------------------------------------------
   * 区域 3：下方 NO.02 ~ NO.05 2x2 卡片 —— 4 台真机半身像 + 右上角徽章（绿勾/皇冠）
   * ------------------------------------------------------------------------- */
  .substage-grid-section {
    width: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
  }
  .hall-mystery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }
  .hall-mystery-card,
  .machine-card-02,
  .machine-card-locked {
    position: relative;
    aspect-ratio: auto !important;
    height: clamp(90px, 13dvh, 128px) !important;
    min-height: 90px !important;
    max-height: 128px !important;
    border-radius: 12px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 7px !important;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    background: linear-gradient(165deg, #FFFDF9 0%, #F7EFE0 52%, #E8D8BA 100%) !important;
    border: 2px solid #CFA246 !important;
    box-shadow:
      0 5px 12px rgba(74, 50, 18, 0.16),
      inset 0 1px 0 #FFFFFF !important;
    transition: transform 0.14s ease, filter 0.14s ease;
  }
  .hall-mystery-card::after,
  .machine-card-locked::after,
  .hall-mystery-card.is-pass-ready::after,
  .hall-mystery-card.is-unlocked::after,
  #hallCard02.hall-mystery-card::after,
  .machine-card-02::after {
    display: none !important;
    content: none !important;
  }
  .hall-mystery-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
  }
  .hall-mystery-card:active {
    transform: translateY(1px) scale(0.985);
  }

  /* 四角精致金属铆钉 */
  .hall-mystery-card .rivet-dot {
    display: block !important;
    z-index: 5 !important;
  }

  /* 卡片中央内凹斜切金属框橱窗：居中展示 4 台真机半身像 */
  .hall-mystery-card .cabinet-trapezoid-silhouette {
    display: block !important;
    position: absolute !important;
    inset: 22% 5.5% 21% 5.5% !important;
    border-radius: 9px !important;
    clip-path: polygon(5% 0%, 95% 0%, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0% 90%, 0% 10%);
    background-size: cover !important;
    background-position: center 10% !important;
    background-repeat: no-repeat !important;
    border: 2px solid #C89B3C !important;
    box-shadow:
      inset 0 3px 8px rgba(45, 28, 6, 0.35),
      inset 0 0 0 1px rgba(255, 248, 220, 0.65),
      0 1px 0 #FFFFFF !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  /* ── 已解锁机台卡片（.is-unlocked）：外框发翠绿呼吸光 + 右上角绿勾徽章 ── */
  @keyframes emeraldCardBreath {
    0%, 100% {
      box-shadow:
        0 0 12px rgba(16, 185, 129, 0.58),
        0 0 22px rgba(16, 185, 129, 0.26),
        0 5px 12px rgba(74, 50, 18, 0.16),
        inset 0 0 10px rgba(16, 185, 129, 0.22);
    }
    50% {
      box-shadow:
        0 0 20px rgba(16, 185, 129, 0.92),
        0 0 32px rgba(52, 211, 153, 0.45),
        0 5px 12px rgba(74, 50, 18, 0.16),
        inset 0 0 16px rgba(16, 185, 129, 0.38);
    }
  }
  #hallCard02 .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/pinball-deluxe-v42-m02-board.webp') !important;
    border: 2px solid #B8892E !important;
  }
  #hallCard02 .mystery-card-top {
    background: linear-gradient(90deg, #FBF5E6 0%, #EFE2C2 100%) !important;
    border: 1px solid #C89B3C !important;
  }
  #hallCard02 .mystery-no-title {
    color: #4A3212 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }
  #hallCard02 .mystery-no-sub {
    color: #6B4E24 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }
  .hall-mystery-card.is-unlocked {
    background: linear-gradient(165deg, #FFFFFF 0%, #FAF7EE 52%, #EDE2C8 100%) !important;
    border: 2.5px solid #10B981 !important;
    animation: emeraldCardBreath 2.4s ease-in-out infinite;
  }
  .hall-mystery-card.is-unlocked .cabinet-trapezoid-silhouette {
    border: 2px solid #10B981 !important;
    box-shadow: inset 0 2px 8px rgba(16, 185, 129, 0.28), 0 0 10px rgba(16, 185, 129, 0.25) !important;
  }
  .hall-mystery-card.is-unlocked .mystery-card-top {
    background: linear-gradient(90deg, #E6F8F1 0%, #FFFDF9 50%, #F5EEDB 100%) !important;
    border: 1px solid #34D399 !important;
  }
  .hall-mystery-card.is-unlocked .mystery-no-title {
    color: #065F46 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }
  .hall-mystery-card.is-unlocked .mystery-no-sub {
    color: #78500D !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }

  /* ── NO.03（3,600券·電磁サイバー）：真机半身像 + 中央悬浮 3D 金锁 ── */
  #hallCard03 .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/pinball-deluxe-v42-m03-board.webp') !important;
    border: 2px solid #B8892E !important;
  }
  #hallCard03 .mystery-card-top {
    background: linear-gradient(90deg, #FBF5E6 0%, #EFE2C2 100%) !important;
    border: 1px solid #C89B3C !important;
  }
  #hallCard03 .mystery-no-title {
    color: #4A3212 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }
  #hallCard03 .mystery-no-sub {
    color: #6B4E24 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }

  /* ── NO.04（6,000券·紅蓮ルーレット）：真机半身像 + 中央悬浮 3D 金锁 ── */
  #hallCard04 .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/pinball-deluxe-v42-m04-board.webp') !important;
    border: 2px solid #B8892E !important;
  }
  #hallCard04 .mystery-card-top {
    background: linear-gradient(90deg, #FBF5E6 0%, #EFE2C2 100%) !important;
    border: 1px solid #C89B3C !important;
  }
  #hallCard04 .mystery-no-title {
    color: #4A3212 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }
  #hallCard04 .mystery-no-sub {
    color: #6B4E24 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }

  /* ── NO.05（10,000券·黄金ギャラクシー）：真机半身像 + 中央 3D 金锁 + 右上角 3D 金皇冠徽章 ── */
  #hallCard05.hall-mystery-card {
    border: 2px solid #D4A024 !important;
    box-shadow:
      0 0 12px rgba(245, 185, 50, 0.35),
      0 5px 12px rgba(74, 50, 18, 0.20),
      inset 0 1px 0 #FFFFFF !important;
  }
  #hallCard05 .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/pinball-deluxe-v42-m05-board.webp') !important;
    border: 2px solid #D4A024 !important;
  }
  #hallCard05 .mystery-card-top {
    background: linear-gradient(90deg, #FFF8E1 0%, #F3DF9D 50%, #E5C158 100%) !important;
    border: 1px solid #C89628 !important;
  }
  #hallCard05 .mystery-no-title {
    color: #4A3212 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }
  #hallCard05 .mystery-no-sub {
    color: #6B4E24 !important;
    text-shadow: 0 1px 0 #FFFFFF !important;
  }

  /* NO.05 右上角专属 3D 金色皇冠徽章（切取自 assets/hall_icons_v2.jpg 第 5 个图标） */
  .mystery-crown-badge {
    position: absolute;
    top: 22.5%;
    right: 6.5%;
    width: 34px;
    height: 34px;
    background-image: url('../../assets/hall_icons_v2.webp');
    background-repeat: no-repeat;
    background-position: 98.6% center;
    background-size: 500% auto;
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 46% 42% at 50% 50%, #000 66%, transparent 98%);
    mask-image: radial-gradient(ellipse 46% 42% at 50% 50%, #000 66%, transparent 98%);
    filter: brightness(1.06) contrast(1.08);
    z-index: 4;
    pointer-events: none;
  }

  .hall-mystery-card.is-selected {
    box-shadow: 0 0 0 2.5px #10B981, 0 0 18px rgba(16, 185, 129, 0.55), 0 8px 18px rgba(74, 50, 18, 0.28) !important;
    transform: translateY(-2px);
  }

  /* 徽章基础定位：未解锁 3D 金锁居中悬浮，已解锁绿色勾号移至机台图右上角 */
  .hall-mystery-card .mystery-icon-badge {
    display: flex !important;
    position: absolute !important;
    left: 50% !important;
    top: 52% !important;
    transform: translate(-50%, -50%) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 4 !important;
    pointer-events: none !important;
  }
  /* 已解锁绿色勾号徽章移至机台图右上角，不遮挡中间的机台预览 */
  .hall-mystery-card .mystery-icon-badge.ready-check {
    left: auto !important;
    right: 8.5% !important;
    top: 25.5% !important;
    transform: none !important;
    width: 25px !important;
    height: 25px !important;
    background: radial-gradient(circle at 32% 28%, #6EE7B7 0%, #10B981 55%, #047857 100%) !important;
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 3px 8px rgba(4, 120, 87, 0.55), 0 0 10px rgba(16, 185, 129, 0.75) !important;
  }
  .hall-mystery-card .mystery-icon-badge.ready-check svg {
    width: 14px !important;
    height: 14px !important;
  }
  /* NO.03 ~ NO.05（未解锁）机台图正中央悬浮 3D 金锁 */
  .hall-mystery-card .mystery-icon-badge.gold-padlock {
    background: radial-gradient(circle at 35% 30%, rgba(55, 38, 14, 0.82) 0%, rgba(20, 13, 4, 0.90) 100%) !important;
    border: 2px solid #FDE047 !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.65), 0 0 12px rgba(245, 185, 50, 0.55) !important;
  }
  .hall-mystery-card .mystery-icon-badge.gold-padlock svg {
    width: 21px !important;
    height: 21px !important;
  }

  /* 顶部机台编号与名称条 */
  .mystery-card-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2.5px 6px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .mystery-no-block {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 5px;
  }
  .mystery-no-title {
    font-family: var(--font-num);
    font-weight: 900;
    font-style: italic;
    font-size: 13px;
    color: #4A3212;
    letter-spacing: 0.03em;
    line-height: 1;
  }
  .mystery-no-sub {
    display: inline-block !important;
    font-family: var(--font-arcade);
    font-size: 10.5px !important;
    font-weight: 900;
    color: #6B4E24 !important;
    line-height: 1.1;
    white-space: nowrap;
  }

  /* 底部：左侧奖券胶囊 + 右侧状态胶囊 */
  .mystery-card-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    padding: 0 2px;
    margin-top: auto;
  }
  .mystery-cost-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FFFDF5 0%, #F3E2B8 100%);
    border: 1px solid #C89628;
    box-shadow: 0 2px 4px rgba(74, 50, 18, 0.18), inset 0 1px 0 #FFFFFF;
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 11px;
    color: #4A3212;
  }
  .mystery-status-tag {
    padding: 2px 8px;
    border-radius: 999px;
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 9.5px;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #6E5536 0%, #4A3720 100%);
    border: 1px solid #D4AF37;
    color: #F5EEDB;
    white-space: nowrap;
  }
  .mystery-status-tag.pass-ready,
  .mystery-status-tag.unlocked {
    background: linear-gradient(180deg, #10B981 0%, #059669 55%, #047857 100%);
    border: 1px solid #A7F3D0;
    color: #FFFFFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.45);
  }
  .mystery-prog-wrap {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }
  .mach-seg-progress {
    display: inline-flex;
    gap: 2px;
    padding: 2px 3px;
    border-radius: 4px;
    background: rgba(255, 250, 238, 0.88);
    border: 1px solid rgba(200, 150, 40, 0.55);
  }
  .mach-seg-progress i {
    display: block;
    width: 3.5px;
    height: 6.5px;
    border-radius: 1.5px;
    background: rgba(140, 103, 42, 0.25);
  }
  .mach-seg-progress i.on {
    background: linear-gradient(180deg, #FDE047 0%, #F59E0B 100%);
    box-shadow: 0 0 4px rgba(245, 158, 11, 0.65);
  }

  /* -------------------------------------------------------------------------
   * 模块 4：景品交換所 —— 【3连立式鎏金扭蛋橱窗卡（Vertical Foil Cards）】
   * 同时用于展厅内 #hallShopView 与局内 #modal 弹窗！
   * ------------------------------------------------------------------------- */
  .foil-shop-header {
    text-align: center;
    padding: 2px 6px 4px;
    flex-shrink: 0;
  }
  .foil-shop-title {
    font-family: var(--font-arcade);
    font-size: 20px;
    font-weight: 900;
    color: #fef08a;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 0 #000, 0 3px 0 #78350f, 0 0 16px rgba(250, 204, 21, 0.55);
  }
  .foil-shop-sub {
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 9.5px;
    color: #d8bc82;
    letter-spacing: 0.14em;
  }

  /* 3 张并排立式高光橱窗卡网格 */
  .foil-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding-top: 22px;
    margin: 2px 0 4px;
    align-items: stretch;
  }
  .foil-card {
    --fc-col: #ff1744;
    --fc-glow: rgba(255, 23, 68, 0.52);
    --fc-bg: rgba(136, 19, 55, 0.36);
    position: relative;
    border-radius: 16px;
    padding: 0 6px 8px;
    background:
      radial-gradient(90% 55% at 50% 12%, var(--fc-bg) 0%, rgba(12, 19, 40, 0.96) 65%),
      linear-gradient(175deg, #172347 0%, #070c1b 100%);
    border: 1.5px solid #d8bc82;
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.88),
      0 0 18px var(--fc-glow),
      inset 0 0 0 1px rgba(255, 250, 220, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.16s ease, border-color 0.16s ease;
  }
  .foil-card.ruby {
    --fc-col: #fb7185;
    --fc-glow: rgba(244, 63, 94, 0.45);
    --fc-bg: rgba(190, 18, 60, 0.42);
  }
  .foil-card.emerald {
    --fc-col: #34d399;
    --fc-glow: rgba(16, 185, 129, 0.45);
    --fc-bg: rgba(4, 120, 87, 0.42);
  }
  .foil-card.gold {
    --fc-col: #fde047;
    --fc-glow: rgba(250, 204, 21, 0.55);
    --fc-bg: rgba(180, 83, 9, 0.48);
    border-color: #fde047;
  }
  .foil-card.equipped {
    border: 2px solid #ffffff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.9), 0 0 24px var(--fc-col);
  }
  .foil-card:hover {
    transform: translateY(-3px);
    border-color: #fef08a;
  }

  /* 卡片顶部：破框球体展台 (放射星芒 + 旋转光环 + 悬浮呼吸宝珠 + 发光金属底座) */
  .foil-orb-stage {
    position: relative;
    width: 78px;
    height: 76px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  /* 对应颜色的放射星芒背景 */
  .foil-starburst {
    position: absolute;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: repeating-conic-gradient(
      from 0deg,
      var(--fc-glow) 0deg 10deg,
      transparent 10deg 24deg
    );
    -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 70%);
    mask-image: radial-gradient(circle, #000 18%, transparent 70%);
    animation: holoSpin 12s linear infinite;
    pointer-events: none;
  }
  /* 旋转能量光环 */
  .foil-orb-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1.5px dashed var(--fc-col);
    box-shadow: 0 0 12px var(--fc-glow);
    animation: holoSpinRev 6s linear infinite;
    pointer-events: none;
  }
  /* 上下悬浮呼吸动效 (float 3s ease-in-out infinite) 的 3D 宝珠 */
  @keyframes orbFloat {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-6px); }
  }
  .foil-orb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-bottom: 6px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    box-shadow:
      inset -7px -8px 14px rgba(0, 0, 0, 0.78),
      inset 3px 3px 8px rgba(255, 255, 255, 0.7),
      0 8px 14px rgba(0, 0, 0, 0.85),
      0 0 14px var(--fc-glow);
    animation: orbFloat 3s ease-in-out infinite;
  }
  .foil-card.emerald .foil-orb { animation-delay: -1s; }
  .foil-card.gold .foil-orb    { animation-delay: -2s; }
  .foil-orb-tex {
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.18) 28%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.38) 100%);
    border-radius: 50%;
    opacity: 0.92;
  }
  .foil-orb::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 7px;
    width: 17px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.2) 100%);
    transform: rotate(-28deg);
    z-index: 3;
  }
  .foil-orb::after {
    content: '✦';
    position: absolute;
    top: 10px;
    right: 9px;
    font-size: 11px;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 6px #ffffff;
    z-index: 3;
  }
  /* 发光金属底座 */
  .foil-pedestal {
    position: absolute;
    bottom: 2px;
    width: 54px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(90deg, #5c4018 0%, #fef08a 50%, #5c4018 100%);
    border: 1.5px solid #fde047;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.9), 0 0 12px var(--fc-glow);
    z-index: 1;
  }
  .foil-pedestal::after {
    content: '';
    position: absolute;
    inset: 2px 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, var(--fc-col) 60%, #050a18 100%);
  }

  /* 卡片中部：属性铭牌化（球名 + 所持xN + 2枚高对比斜切徽章 + 15字内爽点提示） */
  .foil-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 2px 0 6px;
  }
  .foil-name {
    font-family: var(--font-arcade);
    font-size: 13px;
    font-weight: 900;
    color: #fef08a;
    text-shadow: 0 2px 0 #000, 0 0 10px var(--fc-glow);
    white-space: nowrap;
    line-height: 1.15;
  }
  .foil-stock {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(4, 8, 20, 0.92);
    border: 1px solid rgba(216, 188, 130, 0.6);
    font-size: 9.5px;
    font-weight: 900;
    color: #cbd5e1;
  }
  .foil-stock b {
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 11.5px;
    color: #fde047;
  }
  /* 2 枚高对比度斜切属性徽章 */
  .foil-badge-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    padding: 0 2px;
  }
  .foil-chip {
    display: block;
    width: 100%;
    padding: 2.5px 4px;
    border-radius: 5px;
    transform: skewX(-8deg);
    font-family: var(--font-arcade);
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 #000;
    border: 1px solid var(--fc-col);
    background: linear-gradient(90deg, rgba(4, 9, 22, 0.92) 0%, var(--fc-bg) 50%, rgba(4, 9, 22, 0.92) 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  }
  /* 15字以内核心爽点提示 */
  .foil-hook {
    font-size: 9.5px;
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1.3;
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    text-shadow: 0 1px 0 #000;
  }

  /* 卡片底部：双阶购买键 (上方紧凑 +1球 琥珀金键 + 底部火焰流光 +3球お得 SALE 大按钮) */
  .foil-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
  }
  .foil-btn-1 {
    width: 100% !important;
    min-width: 0 !important;
    padding: 5px 6px !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fcd34d 0%, #d97706 62%, #92400e 100%) !important;
    border: 1.5px solid #fef08a !important;
    color: #1c0c02 !important;
    font-family: var(--font-arcade) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    box-shadow: 0 3px 0 #451a03, 0 4px 8px rgba(0,0,0,0.65), inset 0 1px 0 rgba(255,255,255,0.75) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.45) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }
  .foil-btn-3 {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    min-width: 0 !important;
    padding: 6px 6px 5px !important;
    border-radius: 10px !important;
    background:
      linear-gradient(110deg, rgba(255,255,255,0) 35%, rgba(255,255,255,0.48) 50%, rgba(255,255,255,0) 65%) 0 0 / 200% 100% no-repeat,
      linear-gradient(180deg, #fde047 0%, #f59e0b 36%, #dc2626 100%) !important;
    animation: btnShimmer 2.6s infinite linear;
    border: 1.5px solid #fef9c3 !important;
    color: #ffffff !important;
    font-family: var(--font-arcade) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    box-shadow: 0 3px 0 #7f1d1d, 0 5px 12px rgba(239, 68, 68, 0.52), inset 0 1px 1px rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 2px #450a0a !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
  }
  .foil-btn-1:active, .foil-btn-3:active {
    transform: translateY(2px);
  }
  .foil-btn-1.lack, .foil-btn-3.lack {
    filter: saturate(0.55) brightness(0.82);
  }
  .foil-sale-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
  }
  .foil-sale-tag {
    padding: 1px 4px;
    border-radius: 3px;
    background: #450a0a;
    border: 1px solid #fde047;
    color: #fde047;
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 8px;
    line-height: 1;
    transform: skewX(-10deg);
  }
  .foil-price-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    padding-top: 2px;
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 11px;
  }
  .foil-save-lbl {
    font-size: 8.5px;
    color: #fef08a;
  }

  /* -------------------------------------------------------------------------
   * 区域 4：底部一体式香槟金拉丝导航栏（去掉独立白框 + 垂直细分割线 + hall_icons_v2.jpg 3D 图标）
   * [無料玉補充(AD)] | [ホール(HALL)] | [景品交換所 (!)] | [任務(MISSION)]
   * ------------------------------------------------------------------------- */
  .bottom-champagne-dock {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(500px, 100vw);
    height: calc(70px + env(safe-area-inset-bottom));
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    z-index: 30;
    background:
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 5px),
      linear-gradient(180deg, #FFFDF8 0%, #F6E6C2 32%, #E0C17B 74%, #C59A42 100%);
    border-top: 2.5px solid #B8860B;
    border-left: 1.5px solid #D4AF37;
    border-right: 1.5px solid #D4AF37;
    border-radius: 18px 18px 0 0;
    box-shadow:
      0 -6px 22px rgba(92, 62, 14, 0.28),
      inset 0 2px 0 #FFFFFF;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    box-sizing: border-box;
  }
  .dock-nav-item {
    position: relative;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5A3E1B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 2px 2px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.12s ease, filter 0.15s ease;
  }
  .dock-nav-item + .dock-nav-item {
    border-left: 1px solid rgba(140, 95, 30, 0.35) !important;
  }
  .dock-nav-item:hover {
    filter: brightness(1.06);
  }
  .dock-nav-item:active {
    transform: translateY(1px) scale(0.97);
  }
  .dock-nav-item.active {
    background: radial-gradient(65% 75% at 50% 48%, rgba(255, 253, 238, 0.62) 0%, rgba(255, 236, 160, 0.22) 65%, transparent 100%) !important;
    color: #3D2506;
  }
  .dock-icon-box {
    position: relative;
    width: 38px;
    height: 36px;
    background-image: url('../../assets/hall_icons_v2.webp?v=3.4.3');
    background-repeat: no-repeat;
    background-size: 500% auto;
    mix-blend-mode: multiply;
    flex-shrink: 0;
  }
  .dock-icon-box svg {
    display: none !important;
  }
  #dockTabFreeTk .dock-icon-box {
    background-position: 0% center;
    background-size: 500% auto;
  }
  #dockTabHall .dock-icon-box {
    background-position: 25% center;
    background-size: 500% auto;
  }
  #hallShopBtn .dock-icon-box {
    background-position: 50% center;
    background-size: 500% auto;
  }
  #dockBtnMission .dock-icon-box {
    background-position: 75% center;
    background-size: 500% auto;
    mix-blend-mode: multiply;
  }
  .dock-nav-label {
    font-family: var(--font-arcade);
    font-size: 9.5px;
    font-weight: 900;
    color: #4A3212;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .dock-nav-sub {
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 8px;
    color: #7C5318;
    line-height: 1;
    white-space: nowrap;
  }
  /* 景品交換所右上角红色惊叹号角标 (!) */
  .dock-alert-badge {
    position: absolute;
    top: 3px;
    right: calc(50% - 21px);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FF5252 0%, #D50000 100%);
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 2px 5px rgba(213, 0, 0, 0.55);
    color: #FFFFFF;
    font-family: var(--font-num);
    font-weight: 900;
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    pointer-events: none;
  }

  /* 当处于展厅 (#arcadeHallOverlay.show) 时隐藏局内底部 44px 广告条，由底部立体导航船坞统一接管 */
  #arcadeHallOverlay.show ~ #adBannerSlot {
    display: none !important;
  }

  /* App Store / Google Play 非赌博娱乐免责声明 */
  .compliance-disclaimer {
    font-size: 8px !important;
    line-height: 1.15 !important;
    color: rgba(148, 163, 184, 0.78);
    text-align: center;
    padding: 1px 4px !important;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 18px !important;
  }

  /* ── 网页端与原生端统一 100% 禁用 Google Play 徽章 ── */
  #webGooglePlayBtn,
  #webRoomGpBtn,
  body.is-native-app #webGooglePlayBtn,
  body.is-native-app #webRoomGpBtn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .web-gp-store-badge {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-left: auto;
    flex-shrink: 0;
    transform: none;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 9px 0 8px;
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(43, 26, 6, 0.94) 0%, rgba(20, 12, 3, 0.96) 100%);
    border: 1.5px solid #F3D078;
    box-shadow:
      0 4px 12px rgba(45, 28, 6, 0.48),
      0 0 12px rgba(245, 185, 50, 0.35),
      inset 0 1px 0 rgba(255, 248, 214, 0.65);
    color: #FEF08A;
    font-family: var(--font-arcade);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
  }
  .web-gp-store-badge:hover {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(1.08);
    box-shadow:
      0 6px 16px rgba(45, 28, 6, 0.6),
      0 0 18px rgba(16, 185, 129, 0.55),
      inset 0 1px 0 #FFFFFF;
  }
  .web-gp-store-badge:active {
    transform: translateY(1px) scale(0.98);
  }
  .web-gp-store-badge .gp-tri-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.65));
  }
  .web-gp-store-badge .gp-badge-txt {
    color: #FFFBEB;
    text-shadow: 0 1px 2px #000000;
    letter-spacing: 0.02em;
  }
  .web-gp-store-badge .gp-dl-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #34D399 0%, #10B981 55%, #047857 100%);
    border: 1px solid #A7F3D0;
    color: #FFFFFF;
    font-family: var(--font-num);
    font-weight: 800;
    font-style: italic;
    font-size: 9.5px;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
  }
  /* 局内左上角奖券胶囊下方的迷你 Google Play 徽章（完全避开球盘与发射杆） */
  .web-room-gp-pill {
    position: fixed;
    left: 10px;
    top: calc(max(142px, env(safe-area-inset-top) + 16.4dvh) + 34px);
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(43, 26, 6, 0.92) 0%, rgba(18, 10, 2, 0.95) 100%);
    border: 1.2px solid #D4AF37;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 248, 214, 0.45);
    color: #FEF08A;
    font-family: var(--font-arcade);
    font-size: 9.5px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.12s ease, filter 0.12s ease;
  }
  .web-room-gp-pill:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
  }
  #arcadeHallOverlay.show ~ #webRoomGpBtn {
    display: none !important;
  }
  @media (max-width: 540px) {
    .web-room-gp-pill {
      left: 6px;
      top: calc(max(142px, env(safe-area-inset-top) + 16.4dvh) + 31px);
      height: 22px;
      font-size: 8.5px;
      padding: 0 6px 0 5px;
    }
  }

  /* ─────────────────────────────────────────────────────────────────────────
   * 時代羅針盤（Era Compass）＆ 1F/2F 3D 街機ホール統合レイアウト
   * ───────────────────────────────────────────────────────────────────────── */
  .hall-floor-panel {
    display: none;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
  }
  .hall-floor-panel.active {
    display: flex !important;
  }
  .retro-hall-banner {
    flex-shrink: 0;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    color: #fde68a;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(212, 175, 55, 0.48);
    border-radius: 999px;
    padding: 3px 10px;
    margin: 0 auto 2px;
    max-width: 96%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
  .hall-floor-panel .hero-spotlight-stage {
    flex: 1.55 !important;
    min-height: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  .hall-floor-panel .stage-center-arena {
    flex: 1 !important;
    min-height: 245px !important;
    height: 100% !important;
  }
  .hall-era-compass-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 2px 10px 4px;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
  }
  .era-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 8px;
    border-radius: 10px;
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(20, 35, 55, 0.85), rgba(10, 18, 30, 0.95));
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  .era-tab-btn.active {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #1e3a5f, #0f2438);
    color: #fff;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
  }
  .era-tab-badge {
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 1.5px 6px;
    border-radius: 999px;
    background: #3b82f6;
    color: #fff;
  }
  .era-tab-badge.retro {
    background: #b45309;
  }
  .era-tab-title {
    font-size: 12px;
    font-weight: 900;
    color: #fef08a;
    letter-spacing: 0.04em;
  }
  .era-tab-sub {
    font-size: 9px;
    color: #94a3b8;
  }
  .era-tab-btn.active .era-tab-sub {
    color: #e2e8f0;
  }

  /* 2F 平成電脳街 3D 聚光灯主舞台 (NO.06 浪速電鉄) — 对齐 1F 纵深聚光灯+金属底座+水晶侧翼 */
  #heiseiStageBox06.heisei-3d-stage {
    position: relative;
    perspective: 760px;
    overflow: visible;
  }
  .heisei-spotlight-halo {
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(92vw, 390px);
    height: 112%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    background:
      radial-gradient(ellipse 62% 54% at 50% 44%, rgba(251, 191, 36, 0.32) 0%, rgba(180, 83, 9, 0.16) 44%, rgba(15, 23, 42, 0) 76%),
      radial-gradient(ellipse 46% 24% at 50% 88%, rgba(245, 158, 11, 0.36) 0%, rgba(245, 158, 11, 0) 72%);
    filter: blur(2px);
  }
  .heisei-stage-arch-lights {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
  }
  .heisei-stage-arch-lights span {
    position: absolute;
    top: -12%;
    width: 44%;
    height: 110%;
    background: linear-gradient(180deg, rgba(254, 240, 138, 0.20) 0%, rgba(251, 191, 36, 0.05) 55%, rgba(0, 0, 0, 0) 100%);
    filter: blur(8px);
  }
  .heisei-stage-arch-lights span:first-child {
    left: 8%;
    transform: rotate(-18deg);
    transform-origin: top center;
  }
  .heisei-stage-arch-lights span:last-child {
    right: 8%;
    transform: rotate(18deg);
    transform-origin: top center;
  }
  #hallCard06.heisei-stage-showcase {
    background:
      radial-gradient(circle at 50% 34%, rgba(245, 158, 11, 0.24) 0%, rgba(30, 41, 59, 0.88) 46%, rgba(8, 13, 26, 0.98) 100%) !important;
    border: 2px solid #d4af37 !important;
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.72),
      0 0 28px rgba(245, 158, 11, 0.25),
      inset 0 2px 14px rgba(254, 240, 138, 0.26),
      inset 0 -18px 26px rgba(0, 0, 0, 0.65) !important;
    overflow: hidden !important;
    transform: perspective(760px) rotateX(2deg);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
  #hallCard06.heisei-stage-showcase:hover {
    transform: perspective(760px) rotateX(0deg) translateY(-2px);
    box-shadow:
      0 22px 42px rgba(0, 0, 0, 0.78),
      0 0 34px rgba(251, 191, 36, 0.36),
      inset 0 2px 16px rgba(254, 240, 138, 0.34),
      inset 0 -18px 26px rgba(0, 0, 0, 0.65) !important;
  }
  .heisei-cabinet-3d-frame {
    position: absolute;
    inset: 10px 10px 26px 10px;
    z-index: 3;
    transform: perspective(640px) rotateX(3deg);
    transform-style: preserve-3d;
    pointer-events: none;
  }
  .heisei-cabinet-shell-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 44% !important;
    border-radius: 14px;
    border: 1.5px solid rgba(253, 224, 71, 0.72);
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.85),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.82));
    pointer-events: none;
    z-index: 3;
  }
  .heisei-stage-pedestal {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 90%;
    height: 28px;
    z-index: 4;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }
  .heisei-stage-pedestal .pedestal-tier {
    display: block;
    border-radius: 50% / 100%;
    border-top: 1.5px solid rgba(254, 240, 138, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75), 0 0 14px rgba(245, 158, 11, 0.42);
  }
  .heisei-stage-pedestal .pedestal-tier.t1 {
    width: 82%;
    height: 10px;
    background: linear-gradient(90deg, #78350f 0%, #f59e0b 50%, #78350f 100%);
    margin-bottom: -4px;
    z-index: 2;
  }
  .heisei-stage-pedestal .pedestal-tier.t2 {
    width: 98%;
    height: 13px;
    background: linear-gradient(90deg, #451a03 0%, #d97706 50%, #451a03 100%);
    z-index: 1;
  }
  .heisei-dynamic-pill {
    position: absolute;
    top: 4px;
    left: 6px;
    z-index: 8;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 8.5px;
    font-weight: 900;
    color: #fef08a;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.92), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(103, 232, 249, 0.65);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }
  .heisei-dynamic-sign {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96) 0%, rgba(10, 15, 29, 0.99) 100%) !important;
    border: 1.8px solid #f59e0b !important;
    border-radius: 10px !important;
    padding: 3px 16px !important;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.88), inset 0 1px 0 rgba(254, 240, 138, 0.5) !important;
    pointer-events: none;
  }
  .heisei-dynamic-sign .rivet-dot {
    display: block !important;
  }
  .heisei-dynamic-sign .sign-line1 {
    display: block;
    font-size: 8.5px;
    font-weight: 800;
    color: #7dd3fc;
    letter-spacing: 0.1em;
    line-height: 1.15;
  }
  .heisei-dynamic-sign .sign-line2 {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #fde047;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
  }
  .wing-glass-panel.heisei-wing-glass {
    background: linear-gradient(145deg, rgba(24, 34, 56, 0.90) 0%, rgba(12, 18, 32, 0.82) 100%) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.68) !important;
    box-shadow:
      0 12px 24px rgba(0, 0, 0, 0.55),
      inset 0 1px 10px rgba(253, 224, 71, 0.22) !important;
  }
  .wing-glass-panel.heisei-wing-glass .wing-label {
    color: #cbd5e1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95) !important;
  }
  .wing-glass-panel.heisei-wing-glass .wing-divider {
    border-top-color: rgba(251, 191, 36, 0.45) !important;
  }
  .wing-glass-panel.heisei-wing-glass .wing-value {
    color: #fde047 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95) !important;
  }
  #btnEnterMachine06.stage-play-hotspot {
    position: absolute !important;
    top: 91% !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 84% !important;
    min-width: 196px !important;
    height: 38px !important;
    opacity: 1 !important;
    cursor: pointer !important;
    z-index: 12 !important;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
    border: 2px solid #fef08a !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-family: var(--font-arcade, system-ui, sans-serif) !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.78), inset 0 2px 2px rgba(255, 255, 255, 0.65) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 0 10px !important;
    transition: transform 0.12s ease, filter 0.12s ease !important;
  }
  #btnEnterMachine06.stage-play-hotspot:hover {
    filter: brightness(1.1) !important;
    transform: translate(-50%, -50%) scale(1.02) !important;
  }
  #hallHeiseiGrid .heisei-future-card {
    background: linear-gradient(165deg, #1b283f 0%, #10192b 58%, #09101d 100%) !important;
    border: 2px solid #cfa246 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  }
  #hallHeiseiGrid .heisei-future-card .cabinet-trapezoid-silhouette {
    border: 2px solid #cfa246 !important;
    background-size: cover !important;
    background-position: center 42% !important;
    box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.8), 0 3px 8px rgba(0, 0, 0, 0.5) !important;
  }
  #hallHeiseiGrid .heisei-future-card[data-heisei-id="m07"] .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/ui-3d-v44/card_m07.webp?v=20261119_m06r2') !important;
  }
  #hallHeiseiGrid .heisei-future-card[data-heisei-id="m08"] .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/ui-3d-v44/card_m08.webp?v=20261119_m06r2') !important;
  }
  #hallHeiseiGrid .heisei-future-card[data-heisei-id="m09"] .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/ui-3d-v44/card_m09.webp?v=20261119_m06r2') !important;
  }
  #hallHeiseiGrid .heisei-future-card[data-heisei-id="m10"] .cabinet-trapezoid-silhouette {
    background-image: url('../../assets/ui-3d-v44/card_m10.webp?v=20261119_m06r2') !important;
  }
  #hallHeiseiGrid .heisei-future-card .mystery-no-title {
    color: #fde047 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
  }
  #hallHeiseiGrid .heisei-future-card .mystery-no-sub {
    color: #e2e8f0 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85) !important;
  }
  #hallHeiseiGrid .heisei-future-card .mystery-status-tag {
    color: #7dd3fc !important;
    background: rgba(15, 23, 42, 0.88) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
  }

  .heisei-hero-card {
    margin: 0 12px 16px;
    padding: 18px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(15, 28, 44, 0.96), rgba(8, 16, 26, 0.98));
    border: 2px solid #d4af37;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), inset 0 0 24px rgba(212, 175, 55, 0.12);
    color: #f1f5f9;
  }
  .heisei-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .heisei-era-pill {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 6px;
    background: #0284c7;
    color: #fff;
  }
  .heisei-status-pill.live {
    font-size: 10px;
    font-weight: 900;
    color: #86efac;
    animation: pulseNeon 1.5s infinite alternate;
  }
  .heisei-machine-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 900;
    color: #fef08a;
    text-shadow: 0 2px 10px rgba(254, 240, 138, 0.3);
  }
  .heisei-machine-sub {
    margin: 0 0 14px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
  }
  .heisei-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }
  .h-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(30, 58, 90, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #e2e8f0;
  }
  .h-pill.gold {
    background: rgba(180, 83, 9, 0.6);
    border-color: #f59e0b;
    color: #fef08a;
  }
  .btn-play-heisei-hero {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid #fde047;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #0b1320;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.15s ease;
  }
  .btn-play-heisei-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
  }
  .heisei-hero-tip {
    margin-top: 8px;
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
  }
  .heisei-sub-section {
    margin: 0 12px 20px;
  }
  .heisei-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 900;
    color: #4a3212;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
  }
  .heisei-section-title small {
    color: #8c672a;
    font-size: 10px;
    font-weight: 700;
  }
  .heisei-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
  }
  .heisei-sub-card {
    padding: 10px;
    border-radius: 10px;
    background: rgba(15, 28, 44, 0.85);
    border: 1px solid rgba(71, 85, 105, 0.5);
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .heisei-sub-card .m-no {
    font-size: 10px;
    font-weight: 900;
    color: #38bdf8;
  }
  .heisei-sub-card .m-name {
    font-size: 12px;
    color: #e2e8f0;
  }
  .heisei-sub-card .m-tag {
    font-size: 9px;
    color: #94a3b8;
  }
  .retro-hall-banner {
    margin: 0 12px 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #78350f, #451a03);
    border: 1px solid #d97706;
    color: #fef3c7;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }

  /* 昭和黒板・館内お知らせボタン＆モーダル (v4.1 Hall Notice Board) */
  .hall-notice-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3.5px 8.5px !important;
    border-radius: 999px;
    background: linear-gradient(180deg, #7c2d12 0%, #431407 100%);
    border: 1.5px solid #fbbf24;
    color: #fef3c7;
    font-size: 10.5px !important;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(67, 20, 7, 0.6), inset 0 1px 0 rgba(254, 240, 138, 0.48);
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .hall-notice-btn:active {
    transform: scale(0.96);
  }
  .us-hall-notice-btn {
    position: absolute;
    top: 2.0%;
    right: 2.8%;
    z-index: 62;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #7c2d12 0%, #431407 100%);
    border: 1.5px solid #fbbf24;
    color: #fef3c7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(254, 240, 138, 0.45);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }
  .us-hall-notice-btn:active {
    transform: scale(0.96);
  }
  .hall-notice-badge-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    border: 1px solid #fde047;
    color: #fffbeb;
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1.15;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.75);
    animation: noticeBadgePulse 1.6s ease-in-out infinite;
  }
  @keyframes noticeBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 6px rgba(239, 68, 68, 0.65); }
    50% { transform: scale(1.08); box-shadow: 0 0 12px rgba(250, 204, 21, 0.9); }
  }

  .hall-notice-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9850;
    background: rgba(6, 10, 18, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-sizing: border-box;
  }
  .hall-notice-backdrop.show {
    display: flex;
  }
  .hall-notice-blackboard {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 16px;
    background: radial-gradient(circle at top center, #1b3627 0%, #102419 65%, #0a1811 100%);
    border: 4px solid #854d0e;
    box-shadow:
      0 18px 46px rgba(0, 0, 0, 0.85),
      0 0 0 1.5px #fbbf24,
      inset 0 0 28px rgba(0, 0, 0, 0.55);
    padding: 16px 16px 14px;
    color: #f8fafc;
    box-sizing: border-box;
    animation: promptFadeIn 0.2s ease-out;
  }
  .hall-notice-close-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(253, 224, 71, 0.6);
    background: rgba(15, 23, 42, 0.72);
    color: #fef08a;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hall-notice-header {
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1.5px dashed rgba(253, 224, 71, 0.45);
  }
  .hall-notice-title {
    font-size: 16px;
    font-weight: 900;
    color: #fef08a;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
    padding-right: 26px;
  }
  .hall-notice-sub {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #a7f3d0;
  }
  .hall-notice-member-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(251, 191, 36, 0.42);
    font-size: 11px;
  }
  .hall-notice-member-badge {
    font-weight: 900;
    color: #fde047;
  }
  .hall-notice-transfer-pill {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 900;
    color: #ecfdf5;
    background: rgba(6, 95, 70, 0.7);
    border: 1px solid #34d399;
    border-radius: 6px;
    padding: 2px 7px;
  }
  .hall-notice-section {
    padding: 10px 11px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(6, 20, 14, 0.58);
    border: 1px solid rgba(167, 243, 208, 0.25);
  }
  .hall-notice-section.is-phase2 {
    border-color: rgba(251, 191, 36, 0.55);
    background: linear-gradient(180deg, rgba(69, 26, 3, 0.35), rgba(6, 20, 14, 0.68));
  }
  .hall-notice-sec-tag {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fde047;
    background: rgba(180, 83, 9, 0.45);
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 999px;
    padding: 2px 7px;
    margin-bottom: 5px;
  }
  .hall-notice-sec-title {
    font-size: 13.5px;
    font-weight: 900;
    color: #fef9c3;
    margin-bottom: 4px;
    line-height: 1.35;
  }
  .hall-notice-sec-body {
    font-size: 12px;
    line-height: 1.55;
    color: #e2e8f0;
  }
  .hall-notice-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 8px;
  }
  .hall-notice-reserve-btn {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid #fde047;
    background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
    color: #fffbeb;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  }
  .hall-notice-reserve-btn.is-reserved {
    background: linear-gradient(180deg, #047857 0%, #064e3b 100%);
    border-color: #6ee7b7;
  }
  .hall-notice-btn-row {
    display: flex;
    gap: 8px;
  }
  .hall-notice-copy-btn,
  .hall-notice-ok-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
  }
  .hall-notice-copy-btn {
    background: rgba(30, 41, 59, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #e2e8f0;
  }
  .hall-notice-ok-btn {
    background: linear-gradient(180deg, #ca8a04 0%, #854d0e 100%);
    border: 1px solid #fde047;
    color: #fffbeb;
  }
  .hall-notice-footer {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.45;
    color: #94a3b8;
    text-align: center;
  }




