@charset "utf-8";
/* CSS Document */
	* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	}

	html, body {
		height: 100%;
		overflow-x: hidden;
		color: #fff;
	}

	.container {
		max-width: 1000px;
		margin: 0 auto;
		min-height: 100vh;
		position: relative;
		padding: 0 20px;
	}

        /* 顶部主题横幅 —— 自适应高度，图片完整显示，圆角和场景一致 */
        .top-banner {
            width: 100%;
            position: relative;
            z-index: 2;
            margin: 10px 0 0;
            overflow: hidden;
        }
		
        .top-banner img {
            width: 100%;
            height: auto;
            display: block;
        }

	/* 背景图：手机默认 */
        .bg-poster {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: 1;
            background: url("../2009060/bg1.jpg") no-repeat center center;
            background-size: cover;
            filter: blur(0.5px);
        }

        /* 电脑端（≥768px）换另一张背景图 */
        @media (min-width: 768px) {
            .bg-poster {
                background: url("../2009060/bg2.jpg") no-repeat center center;
                background-size: cover;
            }
        }

        .content {
            position: relative;
            z-index: 3;
            padding: 15px 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            max-width: 100%;
        }

        .news-section {
            background: rgba(239, 246,243,0.5);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 5%;
            border: 1px solid rgba(239, 246,243,0.15);
			height: auto !important;
        }

        .news-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 16px;
            color: #497551;
            border-left: 4px solid #497551;
            padding-left: 12px;
        }

        .news-item {
            list-style: none;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .news-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .news-date {
            font-size: 12px;
            color: #fff;
            background: rgba(84,150,141, 1);
            padding: 2px 8px;
            border-radius: 12px;
            display: inline-block;
        }

        .news-content {
            font-size: 14px;
            line-height: 1.6;
            color: #54968d;
            margin-top: 8px;
            /* 单行显示，超出省略号 */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .scene-section {
            text-align: center;
            margin-top: auto;
            padding-bottom: 40px;
            width: 100%;
            position: relative;
        }

        /* 标题 + 按钮 同行 */

        .scene-title-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            margin-bottom: 20px;
			background: rgba(239, 246,243,0.5);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 10px 0;
            border: 1px solid rgba(239, 246,243,0.15);
        }

        .scene-title {
            font-size: 22px;
            font-weight: 700;
            color: #497551;
        }

        /* 清空按钮 */
        .clear-btn {
            display: none; /* 默认隐藏 */
            padding: 6px 12px;
            background: rgba(84,150,141, 0.9);
            color: #fff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
        }
        .clear-btn.show {
            display: inline-block;
        }

        /* 电脑端左右滑动箭头 */
        .scroll-btn {
            position: absolute;
            top: 55%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(144,195,184,0.6);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50%;
            color: #fff;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            user-select: none;
        }

        .scroll-left {
            left: 5px;
        }

        .scroll-right {
            right: 5px;
        }

        .scene-scroll-container {
            width: 100%;
            overflow-x: auto;
            padding: 10px 0;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .scene-scroll-container::-webkit-scrollbar {
            display: none;
        }

        .scene-list {
            display: flex;
            gap: 24px;
            padding: 0 15px;
            min-width: max-content;
            justify-content: flex-start;
        }

        .scene-item {
            width: 120px;
            height: 180px;
            border-radius: 16px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            cursor: pointer;
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(8px);
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        /* 已完成标识样式 */

        .scene-item.completed::after {
            content: '✓ 已祭扫';
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(84,150,141, 0.9);
            color: #fff;
            font-size: 12px;
            padding: 3px 8px;
            border-radius: 10px;
            z-index: 2;
        }

        .scene-item::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
            z-index: 1;
        }

        .scene-item:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        }

        .scene-name {
            font-size: 0.9rem;
            font-weight: bold;
            color: #fff;
            z-index: 2;
            padding: 15px;
        }

        /* MP4 播放器 */
        .video-player {
            position: fixed;
            top: 0; left: 0;
            width: 100vw; height: 100vh;
            background: #000;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .video-player.active {
            display: flex;
        }
        .play-video {
            width: 100%; height: 100%;
            object-fit: contain;
        }

        /* 隐藏视频控件 */
        video::-webkit-media-controls {
            display: none !important;
        }
        video::-webkit-media-controls-enclosure {
            display: none !important;
        }
        video::-webkit-media-controls-panel {
            display: none !important;
        }

        .custom-alert {
            position: fixed;
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.85);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 12px;
            padding: 24px 32px;
            color: #fff;
            font-size: 16px;
            z-index: 10000;
            display: none;
            min-width: 280px;
            max-width: 80%;
            text-align: center;
        }
        .custom-alert.active {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }

        @media (min-width: 751px) {
            .scene-item {
                width: 160px;
                height: 220px;
            }
            .news-content {
                font-size: 16px;
            }
            .scene-title {
                font-size: 26px;
            }
            .scene-list {
                gap: 40px;
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translate(-50%, -45%); }
            to { opacity: 1; transform: translate(-50%, -50%); }
        }

		.news-content a {
			color: #54968d !important;
			text-decoration: none !important;
		}
		.news-content a:hover {
			color: #54968d !important;
			text-decoration: none !important;
		}

		.scene-item {
			position: relative;
			overflow: hidden;
		}
		.scene-bg-img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			z-index: 0;
		}
		.scene-name {
			position: relative;
			z-index: 1;
		}