    .btn-group { display: flex; gap: 10px; margin-top: 15px; }
    .btn-export { background: linear-gradient(135deg, #2e8bc5, #236998); color: #f4fbff; padding: 10px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; cursor: pointer; font-weight: bold; flex: 1; transition: 0.2s; }
    .btn-export:hover { filter: brightness(1.08); transform: translateY(-1px); }
    .btn-export:active { transform: translateY(0); opacity: 0.93; }
    .btn-clear { background: rgba(192, 57, 43, 0.18); color: #ffd2ce; padding: 10px; border: 1px solid rgba(231, 76, 60, 0.45); border-radius: 8px; cursor: pointer; font-weight: bold; flex: 1; transition: 0.2s; }
    .btn-clear:hover { background: rgba(192, 57, 43, 0.28); color: #ffe2df; transform: translateY(-1px); }
    .btn-clear:active { transform: translateY(0); opacity: 0.93; }
    .touch-coach { position: fixed; right: 18px; top: 86px; z-index: 9998; display: flex; align-items: flex-start; gap: 10px; opacity: 1; transform: translateY(0); transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; }
    .touch-coach.hide { opacity: 0; transform: translateY(12px); }
    /* 小幫手收起後完全透明，裡面的輸入框不可再攔截底下按鈕的點擊 */
    .touch-coach.hide, .touch-coach.hide * { pointer-events: none !important; }
    .coach-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--cm-panel, #1E222A); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); border: 2px solid var(--cm-accent, #F59E0B); }
    .coach-bubble { max-width: 280px; padding: 10px 12px; border-radius: 14px; background: rgba(11, 22, 38, 0.92); border: 1px solid rgba(255,255,255,0.2); color: #eaf6ff; font-size: 0.86em; line-height: 1.45; box-shadow: 0 10px 24px rgba(0,0,0,0.35); position: relative; pointer-events: none; }
    .coach-bubble::after { content: ''; position: absolute; right: -8px; top: 14px; width: 14px; height: 14px; background: rgba(11, 22, 38, 0.92); border-right: 1px solid rgba(255,255,255,0.2); border-top: 1px solid rgba(255,255,255,0.2); transform: rotate(45deg); }
    .coach-close { position: absolute; top: 6px; right: 8px; border: none; background: transparent; color: #8dbad8; cursor: pointer; font-size: 14px; padding: 0; pointer-events: auto; }
    .coach-close:hover { color: white; }
    .coach-title { color: var(--cm-accent, #F59E0B); font-weight: bold; margin-bottom: 2px; }
    .coach-ai-row { margin-top: 8px; display: flex; gap: 6px; pointer-events: auto; }
    .coach-ai-input { flex: 1; min-width: 0; border-radius: 8px; border: 1px solid rgba(255,255,255,0.22); background: rgba(4,10,20,0.78); color: #eaf6ff; padding: 6px 8px; font-size: 0.78em; pointer-events: auto; }
    .coach-ai-btn { border: 1px solid rgba(255,255,255,0.25); background: rgba(122, 216, 255, 0.12); color: #dff3ff; border-radius: 8px; padding: 6px 8px; font-size: 0.75em; cursor: pointer; pointer-events: auto; }
    .coach-ai-btn:hover { background: rgba(122, 216, 255, 0.2); }
    .coach-ai-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .coach-guide { margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 8px; }
    .coach-guide.hide { display: none; }
    .coach-guide-step { font-size: 0.75em; color: #b6d8f0; margin-bottom: 6px; }
    .coach-guide-actions { display: flex; gap: 6px; }
    .coach-guide-btn { border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #eaf6ff; border-radius: 8px; padding: 4px 8px; font-size: 0.74em; cursor: pointer; pointer-events: auto; }
    .coach-guide-btn:hover { background: rgba(255,255,255,0.15); }
    .coach-guide-btn:disabled { opacity: 0.45; cursor: not-allowed; }
    body.high-contrast { --panel-bg: var(--cm-panel); --line-soft: var(--cm-line); --text-main: #ffffff; --text-subtle: var(--cm-ivory); --text-bright: #ffffff; --text-meta-readable: var(--cm-ivory); --highlight: var(--cm-lamp); --accent: var(--cm-teal); }
    body.high-contrast:not(.bg-wallpaper) { background-image: linear-gradient(rgba(4, 8, 14, 0.40), rgba(4, 8, 14, 0.40)); }
    body.high-contrast .input-wrapper input,
    body.high-contrast .input-wrapper select { background: #0a0804; border-color: var(--cm-line-strong); color: #ffffff; }
    body.high-contrast .tool-bar { background: var(--cm-line); }
    body.high-contrast .tool-mini { background: #12100a; border-color: var(--cm-line); color: var(--cm-ivory); }
    body.high-contrast .bim-card { background: #12100a; border-color: var(--cm-line-strong); }
    body.high-contrast .bim-table-wrap { border-color: var(--cm-line); }
    body.high-contrast td { border-bottom-color: var(--cm-line); }
    body.high-contrast .mode-btn { background: #12100a; border-color: var(--cm-line-strong); color: var(--cm-ivory); }
    body.high-contrast .live-badge { border-color: var(--cm-line-strong); background: #0c0a06; color: var(--cm-ivory); }
    body.high-contrast .level-btn { background: #12100a; border-color: var(--cm-line); color: var(--cm-ivory); }
    body.high-contrast .level-btn.active { background: var(--cm-panel); color: var(--cm-accent); border-color: var(--cm-accent); box-shadow: inset 0 -3px 0 var(--cm-accent); }
    body.high-contrast .work-btn { background: #12100a; border-color: var(--cm-line); color: var(--cm-ivory); }
    body.high-contrast .work-btn.active { background: var(--cm-panel); color: var(--cm-accent); border: 2px solid var(--cm-accent); box-shadow: inset 0 -3px 0 var(--cm-accent); }
    body.sunlight-readable {
        --panel-bg: rgba(4, 10, 20, 0.84);
        --line-soft: rgba(255,255,255,0.52);
        --text-main: #ffffff;
        --text-subtle: #f2f7ff;
        --text-bright: #ffffff;
        --text-meta-readable: #f2f7ff;
        --highlight: #ffd54f;
        --accent: #8fe7ff;
        color: #ffffff;
    }
    body.sunlight-readable .tool-btn,
    body.sunlight-readable .mode-btn,
    body.sunlight-readable .level-btn,
    body.sunlight-readable .work-btn:not(.bm-ios-chip) {
        border-width: 2px;
        font-weight: 800;
        text-shadow: 0 0 1px rgba(0,0,0,0.6);
    }
    body.sunlight-readable #scale-info,
    body.sunlight-readable #measureAssistInfo,
    body.sunlight-readable #gyroInfo {
        font-weight: 800;
    }

    .app-rating-prompt {
        position: fixed;
        inset: 0;
        z-index: 100002;
        display: none;
        align-items: center;
        justify-content: center;
        padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
        background: rgba(3, 8, 18, 0.72);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    .app-rating-prompt.open { display: flex; }
    .app-rating-card {
        width: min(380px, 92vw);
        border-radius: 16px;
        border: 1px solid var(--cm-line);
        background: linear-gradient(180deg, rgba(16, 28, 48, 0.98), rgba(8, 16, 30, 0.98));
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
        padding: 18px 16px 14px;
        text-align: center;
    }
    .app-rating-title {
        color: #ffe7a8;
        font-weight: 800;
        font-size: 1.05em;
        margin-bottom: 8px;
    }
    .app-rating-message {
        margin: 0;
        color: #cfe6ff;
        font-size: 0.88em;
        line-height: 1.55;
    }
    .app-rating-stars {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 18px 0 14px;
    }
    .app-rating-star {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid var(--cm-line);
        background: rgba(255, 255, 255, 0.04);
        color: var(--cm-line);
        font-size: 1.45em;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    }
    .app-rating-star:hover,
    .app-rating-star.active {
        color: #ffd54f;
        background: var(--cm-line);
        border-color: var(--cm-line);
        box-shadow: 0 0 16px var(--cm-line);
        transform: translateY(-1px);
    }
    .app-rating-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .app-rating-btn {
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.06);
        color: #eaf6ff;
        border-radius: 10px;
        padding: 10px 12px;
        font-weight: 700;
        cursor: pointer;
    }
    .app-rating-btn--primary {
        border-color: var(--cm-line);
        background: var(--cm-cta);
        color: var(--cm-cta-text);
    }
    .app-rating-btn--primary:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }
    .app-rating-btn--muted {
        color: #9fb6cc;
        font-size: 0.88em;
        background: transparent;
        border-color: transparent;
    }

    .feature-demo-overlay {
        position: fixed;
        inset: 0;
        z-index: 100001;
        display: none;
        pointer-events: none;
    }
    .feature-demo-repaint-boundary {
        contain: layout style paint;
        isolation: isolate;
        --demo-theme-color: #ffd54f;
        --demo-typeface: inherit;
    }
    .feature-demo-overlay.open {
        display: block;
        pointer-events: auto;
    }
    .feature-demo-spotlight {
        position: fixed;
        border-radius: 14px;
        box-shadow: 0 0 0 9999px rgba(3, 8, 18, 0.78);
        border: 2px solid color-mix(in srgb, var(--demo-theme-color) 88%, white);
        pointer-events: none;
        will-change: top, left, width, height;
        animation: feature-demo-spotlight-pulse 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    }
    @keyframes feature-demo-spotlight-pulse {
        0%, 100% { box-shadow: 0 0 0 9999px rgba(3, 8, 18, 0.78), 0 0 0 0 var(--cm-line); }
        50% { box-shadow: 0 0 0 9999px rgba(3, 8, 18, 0.78), 0 0 18px 4px var(--cm-line); }
    }
    .feature-demo-pointer {
        position: fixed;
        z-index: 100002;
        font-size: 1.65rem;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
        pointer-events: none;
        will-change: transform, top, left;
    }
    .feature-demo-panel {
        position: fixed;
        left: 50%;
        bottom: max(18px, env(safe-area-inset-bottom));
        transform: translateX(-50%);
        width: min(420px, 92vw);
        border-radius: 16px;
        border: 1px solid var(--cm-line);
        background: linear-gradient(180deg, rgba(16, 28, 48, 0.98), rgba(8, 16, 30, 0.98));
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
        padding: 14px 14px 12px;
        z-index: 100003;
        pointer-events: auto;
    }
    .feature-demo-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 8px;
    }
    .feature-demo-title {
        color: #ffe7a8;
        font-weight: 800;
        font-size: 0.95em;
    }
    .feature-demo-time {
        color: #9ecae8;
        font-size: 0.78em;
        font-weight: 700;
        white-space: nowrap;
    }
    .feature-demo-welcome-text {
        color: var(--demo-theme-color);
        font-family: var(--demo-typeface);
        font-size: 0.8em;
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.4;
    }
        color: #8ec8e8;
        font-size: 0.72em;
        margin-bottom: 4px;
        min-height: 1em;
    }
    .feature-demo-caption {
        color: #d9ecff;
        font-size: 0.88em;
        line-height: 1.55;
        min-height: 2.8em;
        margin-bottom: 10px;
        transition: opacity 0.12s linear;
    }
    .feature-demo-meter-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    .feature-demo-meter-copy {
        flex: 1;
        min-width: 0;
    }
    .feature-demo-progress-value {
        color: #ffe7a8;
        font-size: 0.82em;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
        margin-bottom: 4px;
        text-align: right;
    }
    .feature-demo-gauge {
        --demo-progress-start: 0;
        --demo-progress-end: 0;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        flex-shrink: 0;
        background:
            radial-gradient(circle at center, rgba(8, 16, 30, 0.98) 58%, transparent 59%),
            conic-gradient(
                var(--demo-theme-color) 0deg,
                #ffb74d calc(var(--demo-progress-end) * 3.6deg),
                rgba(255, 255, 255, 0.12) calc(var(--demo-progress-end) * 3.6deg),
                rgba(255, 255, 255, 0.12) 360deg
            );
        box-shadow: inset 0 0 0 1px var(--cm-line);
    }
    .feature-demo-progress {
        --demo-progress-start: 0;
        --demo-progress-end: 0;
        --demo-progress-raw: 0;
        position: relative;
        height: 7px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.1);
        overflow: hidden;
    }
    .feature-demo-progress-fill,
    .feature-demo-progress-bar {
        position: absolute;
        inset: 0 auto 0 0;
        height: 100%;
        width: 0;
        border-radius: inherit;
        pointer-events: none;
    }
    .feature-demo-progress-fill {
        opacity: 0.35;
        background: linear-gradient(
            90deg,
            #ffb74d 0%,
            #ffd54f calc(var(--demo-progress-start) * 1%),
            #ffe082 calc(var(--demo-progress-end) * 1%),
            #ffd54f 100%
        );
    }
    .feature-demo-progress-bar {
        background: linear-gradient(90deg, var(--demo-theme-color), #ffd54f);
        box-shadow: 0 0 10px var(--cm-line);
    }
    .feature-demo-loop-row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
    }
    .feature-demo-loop-label {
        color: #9ecae8;
        font-size: 0.72em;
        font-weight: 700;
    }
    .feature-demo-loop-modes {
        display: flex;
        gap: 4px;
        flex: 1;
        flex-wrap: wrap;
    }
    .feature-demo-loop-btn {
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: #cfe6ff;
        border-radius: 8px;
        padding: 4px 8px;
        font-size: 0.72em;
        font-weight: 700;
        cursor: pointer;
    }
    .feature-demo-loop-btn.active {
        border-color: var(--cm-line);
        background: var(--cm-line);
        color: #ffe7a8;
    }
    .feature-demo-playback-row {
        display: flex;
        gap: 8px;
        margin-bottom: 8px;
    }
    .feature-demo-playback-btn {
        flex: 1;
        border-radius: 10px;
        padding: 8px 10px;
        font-weight: 700;
        font-size: 0.78em;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.06);
        color: #eaf6ff;
    }
    .feature-demo-playback-btn--primary {
        border-color: rgba(122, 216, 255, 0.45);
        background: rgba(122, 216, 255, 0.12);
        color: #dff3ff;
    }
    .feature-demo-completed {
        color: #8de99a;
        font-size: 0.82em;
        font-weight: 700;
        margin-bottom: 8px;
        line-height: 1.45;
    }
    .feature-demo-completed.hide {
        display: none;
    }
    .feature-demo-actions {
        display: flex;
        gap: 8px;
    }
    .feature-demo-btn {
        flex: 1;
        border-radius: 10px;
        padding: 10px 10px;
        font-weight: 700;
        cursor: pointer;
        font-size: 0.84em;
    }
    .feature-demo-btn--stop {
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.08);
        color: #eaf6ff;
    }
    .feature-demo-btn--stop:hover {
        background: rgba(255, 255, 255, 0.14);
    }
    .feature-demo-btn--never {
        border: 1px solid rgba(255, 152, 120, 0.45);
        background: rgba(255, 120, 90, 0.12);
        color: #ffd8cc;
    }
    .feature-demo-btn--never:hover {
        background: rgba(255, 120, 90, 0.2);
    }
    .feature-demo-replay-btn {
        border: 1px solid var(--cm-line);
        background: var(--cm-line);
        color: #ffe7a8;
        border-radius: 8px;
        padding: 4px 8px;
        font-size: 0.72em;
        font-weight: 700;
        cursor: pointer;
        margin-left: auto;
        white-space: nowrap;
    }
    .feature-demo-replay-btn:hover {
        background: var(--cm-line);
    }
    body.feature-demo-active .touch-coach {
        opacity: 0.35;
    }
    .site-massing-overlay {
        position: fixed;
        inset: 0;
        z-index: 10040;
        background: rgba(4, 10, 18, 0.72);
        backdrop-filter: blur(6px);
        display: grid;
        place-items: center;
        padding: 12px;
        box-sizing: border-box;
    }
    .site-massing-overlay[hidden] { display: none !important; }
    .site-massing-sheet {
        width: min(980px, 100%);
        max-height: calc(100vh - 24px);
        display: flex;
        flex-direction: column;
        border-radius: 14px;
        border: 1px solid rgba(126, 196, 255, 0.28);
        background: rgba(8, 14, 24, 0.94);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
        overflow: hidden;
    }
    .site-massing-sheet__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 14px 8px;
        border-bottom: 1px solid rgba(126, 196, 255, 0.14);
    }
    .site-massing-sheet__title { font-size: 0.95em; color: #edf6ff; font-weight: 700; }
    .site-massing-sheet__status { margin-top: 4px; font-size: 0.76em; color: #9eb6cc; }
    .site-massing-sheet__status[data-ok="1"] { color: #a8e6bf; }
    .site-massing-sheet__meta { margin-top: 3px; font-size: 0.74em; color: #ffd27a; }
    .site-massing-sheet__close { min-width: 38px; }
    .site-massing-sheet__stage {
        position: relative;
        height: min(58vh, 520px);
        min-height: 280px;
        background: linear-gradient(180deg, #b9d7eb 0%, #9fc3dd 100%);
    }
    .site-massing-sheet__stage canvas {
        display: block;
        width: 100%;
        height: 100%;
        touch-action: none;
    }
    .site-massing-sheet__toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
        padding: 8px 12px;
        border-top: 1px solid rgba(126, 196, 255, 0.12);
        background: rgba(5, 10, 18, 0.72);
    }
    .site-massing-sheet__btn {
        border: 1px solid rgba(126, 196, 255, 0.28);
        background: rgba(255,255,255,0.05);
        color: #dff5ff;
        border-radius: 999px;
        padding: 6px 11px;
        font-size: 0.74em;
        cursor: pointer;
    }
    .site-massing-sheet__cut {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-left: auto;
        min-width: min(220px, 100%);
        font-size: 0.72em;
        color: #cfe7ff;
    }
    .site-massing-sheet__cut input[type="range"] { width: 100%; }
    .site-massing-sheet__note {
        margin: 0;
        padding: 0 14px 12px;
        font-size: 0.72em;
        line-height: 1.45;
        color: #8fa8bf;
    }
    .site-massing-sheet__note strong { color: #ffc9a8; font-weight: 600; }
    @media (max-width: 720px) {
        .site-massing-sheet__cut { margin-left: 0; width: 100%; }
    }

    /* 相式照片視圖（Three.js 牆體擠出） */
    .bp-photo-view-overlay {
        position: fixed;
        inset: 0;
        z-index: 10050;
        background: rgba(4, 10, 18, 0.78);
        backdrop-filter: blur(7px);
        display: grid;
        place-items: center;
        padding: 10px;
        box-sizing: border-box;
    }
    .bp-photo-view-overlay[hidden] { display: none !important; }
    .bp-photo-view-sheet {
        width: min(1040px, 100%);
        max-height: calc(100vh - 20px);
        display: flex;
        flex-direction: column;
        border-radius: 16px;
        border: 1px solid rgba(150, 200, 255, 0.28);
        background: rgba(7, 13, 22, 0.96);
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }
    .bp-photo-view-sheet__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 14px 8px;
        border-bottom: 1px solid rgba(126, 196, 255, 0.14);
    }
    .bp-photo-view-sheet__title { font-size: 0.98em; color: #edf6ff; font-weight: 700; }
    .bp-photo-view-sheet__status { margin-top: 4px; font-size: 0.76em; color: #9eb6cc; }
    .bp-photo-view-sheet__status[data-ok="1"] { color: #a8e6bf; }
    .bp-photo-view-sheet__meta { margin-top: 3px; font-size: 0.74em; color: #ffd27a; }
    .bp-photo-view-sheet__close { min-width: 38px; }
    .bp-photo-view-sheet__stage {
        position: relative;
        height: min(62vh, 560px);
        min-height: 300px;
        background: linear-gradient(180deg, #c5dff1 0%, #a9c9e2 100%);
    }
    .bp-photo-view-sheet__stage canvas {
        display: block;
        width: 100%;
        height: 100%;
        touch-action: none;
    }
    .bp-photo-view-axis {
        position: absolute;
        left: 10px;
        bottom: 10px;
        font-size: 0.68em;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: rgba(20, 36, 54, 0.72);
        background: rgba(255,255,255,0.55);
        border-radius: 6px;
        padding: 3px 7px;
        pointer-events: none;
    }
    .bp-photo-view-sheet__toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
        padding: 8px 12px;
        border-top: 1px solid rgba(126, 196, 255, 0.12);
        background: rgba(5, 10, 18, 0.72);
    }
    .bp-photo-view-sheet__btn {
        border: 1px solid rgba(126, 196, 255, 0.28);
        background: rgba(255,255,255,0.05);
        color: #dff5ff;
        border-radius: 999px;
        padding: 6px 11px;
        font-size: 0.74em;
        cursor: pointer;
    }
    .bp-photo-view-sheet__btn.is-active,
    .bp-photo-view-sheet__btn:hover {
        border-color: rgba(160, 220, 255, 0.55);
        background: rgba(90, 150, 200, 0.22);
    }
    .bp-photo-view-sheet__nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        border-top: 1px solid rgba(126, 196, 255, 0.12);
        background: rgba(8, 14, 24, 0.92);
    }
    .bp-photo-view-nav__item {
        border: 0;
        border-right: 1px solid rgba(126, 196, 255, 0.1);
        background: transparent;
        color: #c5d8ea;
        padding: 10px 6px;
        font-size: 0.72em;
        cursor: pointer;
    }
    .bp-photo-view-nav__item:last-child { border-right: 0; }
    .bp-photo-view-nav__item.is-active {
        color: #fff;
        background: rgba(70, 130, 190, 0.28);
    }
    .bp-photo-view-sheet__note {
        margin: 0;
        padding: 0 14px 12px;
        font-size: 0.72em;
        line-height: 1.45;
        color: #8fa8bf;
    }
    .bp-photo-view-sheet__note strong { color: #ffc9a8; font-weight: 600; }
    @media (max-width: 720px) {
        .bp-photo-view-sheet__stage { height: min(54vh, 420px); min-height: 240px; }
        .bp-photo-view-nav__item { font-size: 0.66em; padding: 9px 4px; }
    }

    .bm-pro-paywall[hidden] { display: none !important; }
    .bm-pro-paywall {
        position: fixed;
        inset: 0;
        z-index: 120000;
        display: grid;
        place-items: center;
    }
    .bm-pro-paywall__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(2, 6, 12, 0.84);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    .bm-pro-paywall__card {
        position: relative;
        width: min(440px, calc(100vw - 28px));
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        box-sizing: border-box;
        padding: var(--space-5, 24px);
        border-radius: var(--radius-md, 16px);
        background: linear-gradient(165deg, #172941, #101d30);
        border: 1px solid rgba(150, 210, 245, 0.42);
        color: #e8f4ff;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
    .bm-pro-paywall__title {
        margin: 0 0 var(--space-4, 16px);
        font-size: 1.25rem;
        line-height: 1.3;
        color: #ffffff;
        letter-spacing: 0.01em;
    }
    .bm-pro-paywall__benefits {
        margin: 0 0 var(--space-4, 16px);
        padding: var(--space-3, 12px) var(--space-3, 12px) var(--space-3, 12px) 2rem;
        border-radius: 12px;
        background: rgba(5, 14, 26, 0.38);
        font-size: var(--type-body, 0.9rem);
        line-height: 1.55;
        color: #e3eef7;
    }
    .bm-pro-paywall__benefits li + li { margin-top: var(--space-2, 8px); }
    .bm-pro-paywall__note,
    .bm-pro-paywall__extra {
        margin: 0 0 var(--space-2, 8px);
        font-size: var(--type-hint, 0.78rem);
        line-height: var(--leading-body, 1.5);
        color: #afc2d3;
    }
    .bm-pro-paywall__trials {
        margin: var(--space-3, 12px) 0 0;
        padding: 10px 12px;
        border: 1px solid var(--cm-line);
        border-radius: 10px;
        background: rgba(92, 57, 12, 0.24);
        font-size: var(--type-meta, 0.82rem);
        line-height: 1.45;
        font-weight: 800;
        color: #ffe7aa;
    }
    .bm-pro-paywall__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2, 8px);
        margin-top: var(--space-5, 24px);
    }
    .bm-pro-paywall__cta,
    .bm-pro-paywall__secondary,
    .bm-pro-paywall__dismiss {
        min-height: var(--tap-target, 46px);
        border-radius: 10px;
        padding: 10px 14px;
        font-size: var(--type-meta, 0.82rem);
        font-weight: 800;
        cursor: pointer;
        border: 1px solid rgba(150, 200, 255, 0.22);
        background: rgba(255,255,255,0.025);
        color: #c0d3e2;
    }
    .bm-pro-paywall__cta { border-color: rgba(150, 200, 255, 0.3); }
    .bm-pro-paywall__dismiss {
        border-color: rgba(122, 216, 255, 0.65);
        background: var(--cm-cta);
        color: var(--cm-cta-text);
    }
    .bm-pro-paywall__secondary { color: #dceaf4; }
    .stake-pro-lock[hidden] { display: none !important; }
    .stake-pro-lock {
        margin: 8px 0;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid var(--cm-line);
        background: rgba(70, 42, 8, 0.35);
        color: #ffe7c4;
        font-size: 0.82rem;
    }
    .stake-pro-lock p { margin: 0 0 4px; }
    .stake-pro-lock p[hidden],
    .stake-pro-lock button[hidden] { display: none !important; }
    .stake-pro-lock--trial {
        border-color: rgba(126, 210, 255, 0.55);
        background: rgba(18, 64, 96, 0.72);
        color: #e8f6ff;
        box-shadow: inset 0 0 0 1px rgba(140, 210, 255, 0.18);
    }
    .stake-pro-lock--locked {
        border-color: var(--cm-line);
        background: rgba(70, 42, 8, 0.35);
        color: #ffe7c4;
    }
    .stake-pro-lock__reason { margin: 0 0 8px; }

    .ar-feature-map {
        margin: 8px 0 12px;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid rgba(126, 231, 255, 0.28);
        background: rgba(12, 28, 44, 0.55);
    }
    .ar-feature-map--compact { padding: 10px; margin: 8px 0; }
    .ar-feature-map__title {
        font-weight: 800;
        font-size: 0.88rem;
        color: #dff5ff;
        margin: 0 0 8px;
    }
    .ar-feature-map__cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 8px;
    }
    .ar-feature-card {
        margin: 0;
        padding: 10px;
        border-radius: 10px;
        border: 1px solid rgba(150, 200, 255, 0.18);
        background: rgba(8, 16, 28, 0.45);
    }
    .ar-feature-card.is-current {
        border-color: rgba(126, 231, 255, 0.5);
        box-shadow: 0 0 0 1px rgba(126, 231, 255, 0.12);
    }
    .ar-feature-card__title {
        margin: 0 0 6px;
        font-size: 0.82rem;
        color: #e8f4ff;
    }
    .ar-feature-card__body,
    .ar-feature-card__free,
    .ar-feature-map__note {
        margin: 0 0 6px;
        font-size: 0.74rem;
        line-height: 1.45;
        color: #b7cce0;
    }
    .ar-feature-card__free { color: #ffe7c4; }

    .ar-lock-panel[hidden] { display: none !important; }
    .ar-lock-panel {
        margin: 8px 0;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid var(--cm-line);
        background: rgba(70, 42, 8, 0.35);
        color: #ffe7c4;
        font-size: 0.82rem;
    }
    .ar-lock-panel[data-reason="web"] {
        border-color: rgba(126, 231, 255, 0.32);
        background: rgba(12, 36, 52, 0.4);
        color: #d7eef8;
    }
    .ar-lock-panel p { margin: 0 0 4px; }
    .ar-value-banner {
        margin: 8px 0;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 0.8rem;
        border: 1px solid rgba(126, 231, 255, 0.28);
        background: rgba(12, 36, 52, 0.4);
        color: #d7eef8;
    }
    .ar-value-banner[data-state="trial"] {
        border-color: rgba(166, 227, 161, 0.35);
        background: rgba(20, 42, 28, 0.35);
        color: #d8f5d8;
    }
    .ar-value-banner[data-state="paid"] {
        border-color: rgba(126, 231, 255, 0.45);
        color: #e8f4ff;
    }
    .ar-value-banner[data-state="locked"] {
        border-color: var(--cm-line);
        background: rgba(70, 42, 8, 0.35);
        color: #ffe7c4;
    }
    #hologramGenerateBtn:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }
    .ar-lock-panel__title { font-weight: 800; }

    .ar-guide-panel {
        margin: 8px 0 10px;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid rgba(126, 231, 255, 0.22);
        background: rgba(10, 28, 40, 0.4);
    }
    .ar-guide-panel__title {
        font-weight: 800;
        color: #dff5ff;
        font-size: 0.86rem;
        margin: 0 0 6px;
    }
    .ar-guide-panel__steps {
        margin: 0 0 8px;
        padding-left: 1.2em;
        color: #cdd6f4;
        font-size: 0.78rem;
        line-height: 1.5;
    }
    .ar-guide-panel__free {
        margin: 6px 0;
        font-size: 0.76rem;
        color: #ffe7c4;
    }
    .ar-guide-panel__actions { margin-top: 8px; }

    .hologram-mode-note {
        margin: 0 0 12px;
        padding: 10px 12px;
        border-radius: 10px;
        border: 1px solid rgba(166, 227, 161, 0.28);
        background: rgba(20, 42, 28, 0.35);
        color: #d8f5d8;
        font-size: 0.78rem;
    }
    .hologram-mode-note--compact { margin: 8px 0; }
    .hologram-mode-note__title { font-weight: 800; margin-bottom: 6px; }
    .hologram-mode-list {
        margin: 0 0 6px;
        padding-left: 1.2em;
    }
    .hologram-mode-note p { margin: 0 0 4px; }

    .convert-flow-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        margin: 8px 0;
        padding: 8px 10px;
        border-radius: 10px;
        background: rgba(80, 140, 180, 0.12);
        border: 1px solid rgba(126, 231, 255, 0.28);
    }
    .convert-flow-label {
        font-weight: 800;
        color: #bfe7ff;
        font-size: 0.8rem;
    }
    .convert-flow-step {
        border-radius: 999px;
        padding: 5px 10px;
        font-size: 0.76rem;
        color: #c5d8ea;
        border: 1px solid rgba(126, 231, 255, 0.25);
        background: rgba(20, 40, 58, 0.35);
    }
    .convert-flow-step.is-active {
        color: #fff;
        border-color: #7ee7ff;
        background: rgba(80, 180, 210, 0.28);
    }
    .convert-flow-step.is-done {
        color: #c8f5d8;
        border-color: rgba(120, 220, 170, 0.4);
    }
    .convert-flow-step.is-locked {
        color: #ffe7c4;
        border-color: var(--cm-line);
    }
    .convert-empty-hint {
        margin: 0 0 8px;
        font-size: 0.76rem;
        color: #b7cce0;
        line-height: 1.45;
    }
    .convert-empty-hint[hidden] { display: none !important; }
    .convert-capability-banner__primary,
    .convert-capability-banner__hint { margin: 0 0 4px; }
    .convert-capability-banner__hint { font-weight: 500; font-size: 0.8rem; }
    .convert-capability-banner[data-locked="1"] {
        border-color: var(--cm-line);
        background: rgba(70, 42, 8, 0.35);
        color: #ffe7c4;
    }
