        /* ----- 全局配色 ----- */
        :root {
            --bg-gradient-start: #0a0c14;
            --bg-gradient-end: #050608;
            --accent-gold: #d4af37;
            --accent-soft: #e0cda8;
            --btn-bg: rgba(22, 24, 34, 0.7);
            --btn-border: rgba(212, 175, 55, 0.5);
            --btn-text: #f0ead6;
            --title-text: #f2e6d5;
            --loading-text: #ddd0bd;
            --status-text: #b8a99a;
            --video-wrapper-shadow: rgba(212, 175, 55, 0.25);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
            user-select: none;               /* 标准属性 */
            -webkit-user-select: none;       /* Safari/Chrome */
            -moz-user-select: none;          /* Firefox */
            -ms-user-select: none;           /* IE/Edge */
            -webkit-touch-callout: none;     /* 禁止长按菜单 */
        }

        body, html {
            width: 100%;
            height: 100%;
            background: #000;
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
            overflow: hidden;
        }

        .fullscreen-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100vh;
            background: #000;
        }

        .video-stage {
            position: relative;
            width: 100%;
            max-width: 100%;
            aspect-ratio: 9 / 16;
            background: #000;
            box-shadow: 0 0 0 0px var(--video-wrapper-shadow);
            max-height: 100vh;
        }

        @media (min-aspect-ratio: 9/16) {
            .video-stage {
                width: auto;
                height: 100vh;
                aspect-ratio: 9 / 16;
            }
        }

        #storyVideo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            cursor: pointer;
        }

        /* 右上角声音开关 */
        .sound-toggle {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 46px;
            height: 46px;
            background: rgba(20, 22, 30, 0.6);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-gold);
            font-size: 24px;
            cursor: pointer;
            z-index: 20;
            border: 1px solid rgba(212, 175, 55, 0.35);
            transition: background 0.2s ease;
            user-select: none;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }

        .sound-toggle:hover {
            background: rgba(40, 35, 55, 0.8);
            border-color: var(--accent-gold);
        }

        /* 播放/暂停指示器 */
        .play-pause-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            background: rgba(18, 20, 28, 0.5);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
            z-index: 10;
            border: 1px solid rgba(212, 175, 55, 0.4);
            color: var(--accent-gold);
            font-size: 34px;
        }

        .video-stage:hover .play-pause-indicator,
        .video-stage:active .play-pause-indicator {
            opacity: 0.9;
        }

        .loading-indicator {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--loading-text);
            font-size: 1.0rem;
            text-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
            z-index: 5;
            pointer-events: none;
            opacity: 0.8;
            font-weight: 300;
            letter-spacing: 2px;
        }

        /* 分支浮层 */
        .branch-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0.35s;
            z-index: 30;
            padding: 24px 20px;
            background: transparent;
        }

        .branch-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .branch-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }

        .branch-content {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 360px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .branch-mask {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4); /* 半透明黑色，可调整深浅 */
            /*backdrop-filter: blur(8px);*/ /* 模糊效果 */
            -webkit-backdrop-filter: blur(8px);
            z-index: 1;
            pointer-events: none; /* 让点击穿透到按钮 */
        }

        /* 头像 */
        .branch-avatar {
            position: relative;
            z-index: 2;
            max-width: 200px;
            max-height: 200px;
            width: auto;
            height: auto;
            object-fit: contain;
            margin-bottom: 32px;
            filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
            -webkit-filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
            pointer-events: none;  /* 防止头像被长按弹出菜单 */
        }

        .branch-buttons {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            gap: 16px;
            width: 100%;
        }

        /* 按钮 */
        .branch-btn {
            background: rgba(22, 24, 34, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 0px solid rgba(212, 175, 55, 0.45);
            color: var(--btn-text);
            padding: 18px 20px;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: 400;
            letter-spacing: 3px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
            cursor: pointer;
            transition: background 0.2s ease;
            text-shadow: 0 1px 3px rgba(0,0,0,0.2);
            display: block;
            width: 100%;
            text-align: center;
            text-transform: uppercase;
            line-height: 1.4;
            outline: none;
            -webkit-tap-highlight-color: transparent;
            user-select: none !important;
            -webkit-user-select: none !important;
            -webkit-touch-callout: none !important;
            pointer-events: auto;
        }

        .branch-btn:hover {
             
            color: #ffffff;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
        }

        .branch-btn:active {
            background: rgba(6, 28, 86, 0.9);
        }

        .branch-btn:focus-visible {
            outline: none;
        }

        .status-line {
            position: fixed;
            bottom: 14px;
            left: 0;
            right: 0;
            text-align: center;
            color: var(--status-text);
            font-size: 0.7rem;
            letter-spacing: 5px;
            text-transform: uppercase;
            opacity: 0.4;
            z-index: 5;
            pointer-events: none;
            font-weight: 300;
        }

        video::-webkit-media-controls {
            display: none !important;
        }
        video::-webkit-media-controls-enclosure {
            display: none !important;
        }