/* ------------------------------------------------------------------------
	可编辑区域
	说明：prettyPhoto 插件的 JS 已按要求从仓库中移除。
	本文件中仍保留了一些来自 prettyPhoto 主题的样式规则（用于兼容旧主题）。
	如果不再需要这些旧样式，可以删除以减小 CSS 体积；已在同目录保留备份文件。
------------------------------------------------------------------------- */
body {
	font: 62.5%/1.2 Arial, Verdana, Sans-Serif;
	padding: 0 20px;
	background-image:url(/assets/images/single-works/bg_pictures.gif);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: right bottom;
	color:#666;
}
		
.width{
	width:350px;
}

/*
	已移除（或已归档）：prettyPhoto 旧主题样式（light_rounded、dark_rounded、dark_square、
	light_square、facebook 等）。这些规则属于 legacy 插件主题，当前站点不再使用。
	参考：已将原始完整样式保存在同目录下的备份文件：picture-backup.css 及 pictures.css.orig-removed-20250922
*/


/* legacy prettyPhoto rules removed - backed up in picture-backup.css and pictures.css.orig-removed-20250922 */

/* ------------------------------------------------------------------------
	Miscellaneous
------------------------------------------------------------------------- */

	/* Modern clearfix */
	.clearfix::after {
	    content: "";
	    display: table;
	    clear: both;
	}
	.clearfix { display: block; }

	/* simple-lightbox legacy styles removed - see picture-backup.css or pictures.css.orig-removed-20250922 */

	/* ----------------------------
		 Gallery grid (ul/li) styles
		 Keep semantic <ul><li> structure but use CSS Grid for layout
		 ---------------------------- */
	.ray-pic-list {
		list-style: none;
		margin: 8px 0 18px 0;
		padding: 0;
		display: grid;
		grid-template-columns: repeat(5, minmax(60px, 60px));
		gap: 5px 5px;
		align-items: start;
	}

	.ray-pic-list li {
		display: block;
	}

	.ray-pic-list a {
		display: block;
		width: 60px;
		height: 60px;
		overflow: hidden;
		border-radius: 3px;
		transition: transform 160ms ease, box-shadow 160ms ease;
	}

	.ray-pic-list img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		border: 0;
	}

	.ray-pic-list a:hover,
	.ray-pic-list a:focus {
		transform: translateY(-3px);
		box-shadow: 0 6px 14px rgba(0,0,0,0.18);
		outline: 2px solid rgba(0,0,0,0.06);
	}

	.ray-pic-section { margin-bottom: 18px; }
	.ray-pic-section-title { margin: 12px 0 8px 0; font-size: 0.8rem; color: #747474; }

	/* small screens: slightly smaller thumbnails */
	@media (max-width: 420px) {
		.ray-pic-list { grid-template-columns: repeat(auto-fill, minmax(48px, 48px)); gap: 6px; }
		.ray-pic-list a { width: 48px; height: 48px; }
	}
	/* simple-lightbox legacy styles removed - see picture-backup.css or pictures.css.orig-removed-20250922 */

	/* 小屏适配：保留现代画廊布局的适配规则（legacy slb 样式已移除并备份） */
	@media (max-width: 640px){
		/* legacy simple-lightbox 相关样式已移除（见备份文件） */
		.ray-pic-list { grid-template-columns: repeat(auto-fill, minmax(48px, 48px)); gap: 6px; }
		.ray-pic-list a { width: 48px; height: 48px; }
	}

	/* 结束 simple-lightbox 样式 */


	/* 我自行修改 */
	#ray-pic-sidebar {
		float: left;
		padding: 10px;
		background: rgba(0, 0, 0, 0);
		/* border: 1px solid #ff0000; */
		/* border-radius: 5px; */
		/* box-shadow: 12px rgb(255, 0, 0); */
		font-size: 0.9rem;
		color: #515151;
	}
	#ray-pic-display-area{
		float: left;
		width: 60vw;
		height: 800px;

		min-height: 800px;
		padding: 10px;
		margin: 200px 50px;
		background: rgba(255, 255, 255, 0);
		/* border: 1px solid #0048ef; */
		/* border-radius: 5px; */
		/* box-shadow: 12px rgb(255, 0, 0); */
		font-size: 0.9rem;
		color: #333;
		display: flex;
		align-items: center; /* vertical center */
		justify-content: center; /* horizontal center */
	}

	#ray-pic-display-shell{ /* ensure inner shell fills area and centers final box */
		height: 100%;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
    #ray-pic-final{
			min-width: 50px;
			min-height: 50px;
			padding: 20px;
			/* center content */
			display: flex;
			align-items: center;
			justify-content: center;
			background-color: transparent; /* remove white frame */
			border: none; /* remove thin border */
			box-shadow: none; /* remove drop shadow */
			position: relative; /* for absolute-positioned loader */
			overflow: hidden;
	}

	/* overlay-style loader: absolute centered inside #ray-pic-final */
	.ray-pic-loader {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 48px;
		height: 48px;
		border-radius: 50%;
		border: 4px solid rgba(0,0,0,0.08);
		border-top-color: rgba(0,0,0,0.28);
		box-sizing: border-box;
		animation: ray-pic-spin 900ms linear infinite;
		z-index: 30;
	}

	/* dim underlying image while loading */
	#ray-pic-final.loading > img.ray-pic-img,
	#ray-pic-final.loading > .ray-pic-img {
		opacity: 0.36; /* subtle dim */
		transition: opacity 220ms ease;
	}

	@keyframes ray-pic-spin {
		from { transform: rotate(0deg); }
		to { transform: rotate(360deg); }
	}

	.ray-pic-error { color: #b00000; }

	/* Ensure images inside final area scale and are centered */
	#ray-pic-final img {
	  max-width: 100%;
	  max-height: 80vh;
	  display: block;
	  margin: 0 auto;
	}

	/* fade-in for preview images */
	.ray-pic-img {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 320ms ease, transform 320ms ease;
	}
	.ray-pic-img.show {
		opacity: 1;
		transform: translateY(0);
	}