/* ===== 基础布局 ===== */
* { box-sizing: border-box; }
html, body {
	margin: 0; padding: 0;
	font-family: 'Segoe UI', sans-serif;
	/*background-color: #C7EDCC;*/
	color: #333;
}

/* ===== 布局结构（iframe 页面适配）===== */
.left-sidebar {
	width: 250px; background-color: #ffffff; border-right: 1px solid #ccc;
	height: 100vh; overflow-y: auto;
}
.content {
	padding: 30px; 
}

/* ===== 左侧菜单（iframe 内的内容样式）===== */
.left-sidebar-title {
	text-align: center; font-size: 18px; color: #28a745; font-weight: bold; padding: 20px 0 10px 0;
}
.left-sidebar a {
	display: block; padding: 10px 15px; text-decoration: none; color: #333; font-size:14px;
}
.left-sidebar a:hover { background-color: #e9f5ff; }

/* ===== 表单样式（通用）===== */
form {
	width: 600px; background-color: #ffffff;
	box-shadow: none; margin: auto;
}
form label {
	margin-top: 12px; display: block; color: #333; 
}
form input[type="text"],
form input[type="number"],
form input[type="datetime-local"],
form input[type="password"]
{
	height:28px; width: 100%; padding: 8px; margin-top: 4px; border: 1px solid #ccc; background-color: #fff; color: #333; font-size: 16px; border-radius: 0;
}

form select {
	height:35px !important; width: 100%; padding: 8px; margin-top: 4px; border: 1px solid #ccc; background-color: #fff; color: #333; font-size: 16px; border-radius: 0; 
}
form input[type="submit"] { margin-top: 20px; }

/* ===== 登录页样式 ===== */
.login-container {
	width: 550px; background-color: #ffffff; padding: 40px 30px; border: 1px solid #ccc; text-align: left; box-sizing: border-box;
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.login-container h2 { color: #007bff; margin-bottom: 25px; text-align: center; }
.login-container form { width: 100%; }
.login-container input[type="text"],
.login-container input[type="password"] {
	width: 100%; box-sizing: border-box; padding: 8px; margin-top: 5px; border: 1px solid #ccc; font-size: 16px;
}
.login-container input[type="submit"] {
	padding: 8px; font-size: 16px; border: 1px solid #ccc; cursor: pointer; width: 100px;
}
.login-container .error {
	background-color: #ffe0e0; color: #d8000c; padding: 10px; border: 1px solid #d8000c; margin-bottom: 15px; font-size: 14px; text-align: center;
}

/* ===== 成功提示框 ===== */
.success-message {
	background-color: #d4edda; border-left: 5px solid #28a745; padding: 20px; margin-bottom: 20px; color: #155724; text-align: center; font-size: 16px;
	width: 600px; margin-left: auto; margin-right: auto; border-radius: 0;
}

/* ===== 链接样式 ===== */
.print-link, .back-link {
	color: #007bff; text-decoration: none; display: block; text-align: center; margin-top: 20px;
}
.print-link:hover, .back-link:hover { text-decoration: underline; }

/* 表格样式 */
.inventory-table {
	width: 100%; border-collapse: collapse; margin-top: 0px; border: 1px solid #ccc; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.inventory-table th, .inventory-table td {
	padding: 12px 18px; text-align: left; border-bottom: 1px solid #ddd;
}
.inventory-table th {
	background-color: #BFD641; color: white; font-size: 16px;
}
.inventory-table tr:nth-child(even) { background-color: #ECF1D2; }
.inventory-table tr:hover { background-color: #e9f5ff; cursor: pointer; }
.inventory-table td { font-size: 14px; }
.inventory-table td[colspan="5"] {
	text-align: center; font-style: italic; color: #999;
}
.inventory-table tr:focus-within { background-color: #e0f7fa; outline: 2px solid #007bff; }


/* 右侧内容：跟随外壳等高即可 */
.content{
	flex: 1 1 auto; padding: 30px;  min-height: auto !important;
}

.input, select, textarea {
	width: 100%; padding: 12px; border: 1px solid #ddd; font-size: 14px; box-sizing: border-box;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #007b5f; }

/* 全站直角化：所有元素默认无圆角 */
*, *::before, *::after { border-radius: 0 !important; }

/* 常见控件再兜底一次 */
button,div,input,select,textarea,img,a,label,fieldset,legend,table,thead,tbody,tfoot,tr,th,td,details,summary,dialog,code,pre,blockquote,nav,header,footer,section,article,aside,main,figure,figcaption,form,hr {
	border-radius: 0 !important;
}
a{ text-decoration:none !important; }

/* footer 粘底样式 */
.site-footer {
	margin-top: auto; text-align: center; padding: 10px; background: #fff; border-top: 1px solid #ccc; font-size: 14px; color: #555; width: 100%;
}

/* 左侧栏：不再固定 100vh，也不滚动 */
.left-sidebar{
	width: 250px; background-color: #fff; border-right: 1px solid #ccc; height: auto !important; overflow-y: visible !important;
}

.menu-level { list-style: none; margin: 0; padding: 0; }
.menu-item { margin-bottom: 8px; }
.menu-card {
	display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-size: 15px; cursor: pointer;
}
.menu-card.parent { font-weight: bold; color: #007b5f; }
.menu-card.child { background: #ffffff; color: #333; }
.menu-card:hover { background: #e9f5ff; }
.arrow { font-size: 10px; color: #007b5f; }
.submenu { margin-top: 5px; }

body {}
.product-container {
	max-width: 100%; max-width: 1200px; margin: 20px auto; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.product-title { font-size:14px !important; font-weight: bold; margin-bottom: 15px; color: #333; line-height: 1.4; }
.product-title { margin-bottom: 20px; text-align: left; display: inline-block; }
.product-price, .product-meta { text-align: left; }
.product-price { font-size:14px !important; color: #007b5f; }
.price-display { font-family: 'Arial', sans-serif; font-size:14px !important; font-weight: bold; color: #e63946; padding: 0.5rem 1rem; border-radius: 4px; display: inline-block; }
.price-symbol { font-size:14px !important; margin-right: 0.2rem; }
.price-decimal { font-size:14px !important; color: #6c757d; }
.product-meta {
	font-size: 14px; color: #666; margin-bottom: -10px; line-height: 1.6; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee;
}
.product-description { font-size:14px !important; color: #444; line-height: 1.8; margin: 20px 0; }
.product-description img { width: 100%; height: auto; display: block; margin: auto; }
.product-actions { margin-top: 30px; display: flex; gap: 15px; flex-wrap: wrap; }

.product-thumbnails { margin-top: 10px; } 
.product-thumbnails img {
	width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; cursor: pointer; margin-right: 5px; transition: all 0.2s; opacity: 0.7;
}
.product-thumbnails img:hover, .product-thumbnails img.active { border-color: #007b5f; opacity: 1; transform: scale(1.05); }

.shop-info { background: #fff9f5; padding: 15px; border-radius: 8px; display: flex; align-items: center; margin-top:20px; }
.shop-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.shop-name { font-weight: bold; color: #333; }
.shop-meta { font-size: 12px; color: #999; margin-top:10px; }

.fixed-carousel { width: 100%; margin: 0; padding: 0; }
.carousel-item img { width: 100%; height: 400px; object-fit: contain; background-color: #999; }

.other-products-section {
	margin: 40px 0; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.other-product-card {
	width: 100%; max-width: 100%; box-sizing: border-box;
	background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; text-align: center; padding: 8px; transition: transform 0.2s;
}
.other-product-card:hover { transform: translateY(-5px); }
.other-product-img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; background: #f0f0f0; }
.other-product-title {
	font-size: 14px; margin: 8px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left;
}
.other-product-price { color: #007b5f; font-weight: bold; font-size: 14px; text-align: left; }

.mobile-only{ display:none; }

@media (max-width: 768px) {
	.product-container { padding: 10px; margin: 10px auto; }
	.product-title { font-size: 18px; margin-bottom: 10px; }
	.product-price { font-size: 22px; margin: 10px 0; }
	.product-meta { font-size: 13px; margin-bottom: 10px; padding: 8px 0; }
	.product-description { font-size: 14px; margin: 15px 0; }
	.carousel-item img { height: 250px; }
	.product-thumbnails { display: none !important; }
	.shop-info { padding: 10px; margin: 15px 0; }
	.shop-avatar { width: 40px; height: 40px; margin-right: 10px; }
	.product-actions { margin-top: 20px; flex-direction: column; }
	
	/* 原 .btn-lg 改为 .btnAll-lg（若使用） */
	.btnAll-lg { /* 移动端可按需微调字号/内边距 */
		font-size: 16px;
	}
	
	.other-products-section { padding: 12px; margin: 16px 0; }
	.other-products-section .other-products-row {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 8px !important;
		margin: 0 !important;
	}
	.other-products-section .other-products-row > [class*="col-"] {
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	.other-product-card {
		width: 100% !important;
		max-width: 100% !important;
		margin-bottom: 0;
		padding: 6px;
	}
	.other-product-img {
		width: 100% !important;
		height: 42vw !important;
		max-height: 180px;
		object-fit: cover !important;
	}
	.other-product-title { font-size: 13px; margin: 6px 0 2px; }
	.other-product-price { font-size: 13px; }
	.fixed-bottom { padding: 10px; }
	/* 原对 .btn 的移动端适配已移除，按钮请使用 .btnAll 体系 */
	#commentBox { height: 300px; }
	.d-none.d-lg-block { display: none !important; }
	.d-lg-none { display: block !important; }
	.mobile-only{ display:block; }
}



/* 自定义卡片 */
.sku-card{
	position: relative; display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid #ddd; border-radius: 8px; background: #fff; transition: .15s;
}
.sku-card img{ width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background:#f5f5f5; }
.sku-card .sku-card-text{ flex: 1 1 auto; min-width: 0; }
.sku-card .sku-card-title{ font-size: 14px; color:#333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sku-card .sku-card-sub{ font-size: 12px; color:#999; }
.sku-card:hover{ box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.sku-card.active{ border-color:#007b5f; background:#fff9f5; }
.sku-card.disabled{ opacity:.45; cursor:not-allowed; text-decoration: line-through; }



/* ========= 商品大容器 | 玻璃卡片 ========= */ 
.product-container{
	position: relative;
	background: linear-gradient(to bottom, rgba(255,255,255,.62), rgba(255,255,255,.38));
	border: 1px solid var(--glass-border);
	border-radius: 14px;
	backdrop-filter: blur(var(--glass-blur)) saturate(150%) contrast(105%);
	-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%) contrast(105%);
	box-shadow: 0 12px 28px rgba(2,6,23,.12), inset 0 1px 0 var(--glass-hi);
	overflow: hidden;
}
.product-container::before{
	content:""; position:absolute; inset:0; pointer-events:none;
	background:
    linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
    radial-gradient(120% 150% at -10% -30%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%),
    radial-gradient(120% 150% at 110% 130%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, rgba(255,255,255,0) 2px 7px);
	mix-blend-mode: screen;
}

/* ========= 轮播区域 | 水晶相框 ========= */
.fixed-carousel{
	background: rgba(255,255,255,.08);
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	padding: 6px;
	backdrop-filter: blur(10px) saturate(140%);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	box-shadow: 0 10px 24px rgba(2,6,23,.12), inset 0 1px 0 var(--glass-hi);
}
.fixed-carousel .carousel-inner{ border-radius: 10px; overflow: hidden; }
.carousel-item img{ background-color:#f0f0f0; }

/* 玻璃质感的左右按钮：两侧垂直居中（去掉白底白边，避免按键底部露白） */
.carousel-control-prev, .carousel-control-next{
	width: 42px;
	height: 42px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.45) !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	top: 50% !important;
	bottom: auto !important;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.carousel-control-prev{ left: 8px; right: auto; }
.carousel-control-next{ right: 8px; left: auto; }
.carousel-control-prev:hover, .carousel-control-next:hover,
.carousel-control-prev:focus, .carousel-control-next:focus{
	background: rgba(0, 0, 0, 0.55) !important;
	background-image: none !important;
	opacity: 1;
}

/* 缩略图：微玻璃边框 */
.product-thumbnails img{
	background: rgba(255,255,255,.66);
	border: 1px solid rgba(255,255,255,.70);
	box-shadow: 0 6px 18px rgba(2,6,23,.15), inset 0 1px 0 var(--glass-hi);
}

/* ========= 店铺信息 | 暖色玻璃卡 ========= */
.shop-info{
	position: relative;
	background:
    linear-gradient(to bottom, rgba(255,255,255,.62), rgba(255,255,255,.38)),
    #fff9f5;
	border: 1px solid var(--glass-border);
	border-radius: 12px;
	backdrop-filter: blur(10px) saturate(150%);
	-webkit-backdrop-filter: blur(10px) saturate(150%);
	box-shadow: 0 10px 22px rgba(2,6,23,.10), inset 0 1px 0 var(--glass-hi);
}
.shop-avatar{ border:2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* 价格胶囊 | 玻璃质感 */
.price-display{ }



/* ========= 地图广告小卡 ========= */
.compact-ad-container{ border: 1px solid var(--glass-border); }

/* ========= 降级与动效偏好 ========= */
@supports not (backdrop-filter: blur(1px)){
	.product-container,
	.fixed-carousel,
	.shop-info,
	.price-display,
	.sku-option, .sku-card, .sku-list-item,
	.other-products-section,
	.compact-ad-container,
	.fixed-bottom.bg-white{
		backdrop-filter: none; -webkit-backdrop-filter: none;
	}
}
@media (prefers-reduced-motion: reduce){ .product-container::before{ opacity:.4; } }

/* 广告区域 */
.compact-ad-container { }
.compact-ad {
	display: flex; align-items: center; justify-content: space-between; padding: 8px; border-radius: 8px; text-decoration: none; color: #333;
}
.compact-ad img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.ad-badge { background-color: #007b5f; color: white; font-size: 12px; padding: 2px 6px; border-radius: 10px; }

/* 上传器 */
.uploader {border:2px dashed #999; padding:20px; text-align:center; background:#fafafa;}
.uploader.dragover {background:#eef;}
.file-list {margin-top:10px;}
.file-item {padding:6px 10px; border:1px solid #ddd; border-radius:6px; margin:6px 0; background:#fff;}
.row {display:flex; gap:10px; flex-wrap:wrap; margin:10px 0;}
.row > * {flex:1 1 180px;}
.progress {height:6px; background:#eee; border-radius:3px; overflow:hidden; margin-top:6px;}
.bar {height:6px; width:0; background:#4caf50;}
.input { width: 100%; padding: 12px; border: 1px solid #ddd; font-size: 14px; box-sizing: border-box; }

/* 让“可免费查看 / 可免费下载”两项靠左紧凑 */
.row.flags{ justify-content: flex-start; align-items: center; gap: 12px; font-weight: 700; }
.row.flags > *{ flex: 0 0 auto !important; }
.row.flags label{ display: inline-flex; align-items: center; gap: 8px; padding: 20px 12px; line-height: 1.2; }
.row.flags input[type="checkbox"]{ width: 18px; height: 18px; }

/* 全局样式（表单页） */
body { font-family: Arial, sans-serif; background-color: #f7f7f7; display: flex; flex-direction: column; justify-content: center; }
h2 { font-size: 28px; color: #333; text-align: center; }
.card { }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 16px; color: #333; margin-bottom: 8px; }
.input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; font-size: 14px; box-sizing: border-box; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #007b5f; }
.hint { font-size: 12px; color: #666; }
.actions { margin-top: 20px; display: flex; gap: 20px; justify-content: center; }

/* 列布局 */
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.col { flex: 1 1 200px; min-width: 220px; display: flex; flex-direction: column; }

/* 单位chips */
.unit-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: #f7f8fa; border-radius: 10px; border: 1px solid #e6e6e6; }
.chip { padding: 6px 12px; background-color: #fff; border: 1px solid #ccc; cursor: pointer; transition: all 0.3s ease; }
.chip:hover { background-color: #007b5f; color: white; }
.chip.active { background-color: #007b5f; color: white; border-color: #007b5f; }

/* 标签输入 */
.tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border: 1px solid #ccc; border-radius: 8px; }
.tag { background: #eaeaea; padding: 6px 12px; border-radius: 6px; }
.tag .x { color: #666; cursor: pointer; margin-left: 6px; }

/* 图集预览 */
.images { display: flex; gap: 12px; flex-wrap: wrap; }
.img-tile { width: 150px; aspect-ratio: 1; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; background: #fafafa; position: relative; }
.img-tile img { width: 100%; height: 100%; object-fit: cover; }
.img-tile .rm {
	position: absolute; top: 6px; right: 6px; background: rgba(0, 0, 0, 0.5); color: #fff; border: none; border-radius: 50%; width: 22px; height: 22px; text-align: center; line-height: 22px; cursor: pointer;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.actions { flex-direction: column; }
	.input, select, textarea, .btnAll { font-size: 14px; }
}
@media (max-width: 480px) {
	.row { flex-direction: column; }
	.col { flex: 1 1 100%; }
	.product-card { padding: 12px; }
}

form { width: 100%; max-width: 1200px; margin: 0 auto; }
#tagInput,
#region {
	padding: 12px; border: 1px solid #ddd; font-size: 14px; width: 100%; box-sizing: border-box; margin-top:4px;
}

.unit-chips{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:10px; background:#f7f8fa; border:1px solid #e6e6e6; }
.unit-input{
	order:999; flex:0 0 160px; height:36px; padding:6px 12px; border:1px dashed #cbd5e1; background:#fff; font-size:14px; outline:none; box-sizing:border-box;
}
.unit-input::placeholder{ color:#9aa1a8; }
.chip.active{ border-color:#007b5f; }
.unit-row{ display:flex; gap:10px; align-items:center; }
#unitSelect, #unitCustom{ }
#unitSelect:focus, #unitCustom:focus{ }

/* 对齐优化 */
.row { align-items: flex-start !important; }
.row .col > .field { margin: 0 !important; }
.row .col > .field > label, .row .col > label { margin-bottom: 8px !important; }
#unitSelect, #unitCustom { margin-top: 0 !important; }

/* 单选组 */
.radio-group{ display:flex; align-items:center; gap:16px; height:44px; padding:0; }
.radio-group label{ display:inline-flex; align-items:center; gap:6px; font-weight:600; }
.radio-group input[type="radio"]{ width:16px; height:16px; margin:0; }

/* 成功提示卡 */
.success-wrap{
	max-width:760px; margin:48px auto; padding:32px 28px; border:1px solid #e5e7eb; background:#fff;
}
.success-head{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.success-ico{
	width:28px; height:28px; line-height:28px; text-align:center;
	font-size:18px; color:#fff; background:#16a34a; border:0; border-radius:0;
}
.success-title{ font-size:22px; font-weight:700; color:#111827; }
.success-desc{ color:#4b5563; margin:4px 0 18px; }
.meta{ display:flex; gap:16px; flex-wrap:wrap; padding:12px; background:#f9fafb; border:1px dashed #d1d5db; margin-bottom:18px; }
.actions{ display:flex; gap:12px; align-items:center; }
.link{ color:#007b5f; text-decoration:none; }
.link:hover{ text-decoration:underline; }
.note{ color:#6b7280; font-size:13px; margin-top:12px; }
.other-products-section .row { text-align: left !important; justify-content: flex-start !important; }
/* 仅「其他产品/发现更多」：用 Grid 两列，避免 .row 的 gap 把 50% 挤成竖排 */
.other-products-section .other-products-row {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 8px !important;
	margin: 0 !important;
	width: 100% !important;
	--bs-gutter-x: 0 !important;
	--bs-gutter-y: 0 !important;
}
.other-products-section .other-products-row > [class*="col-"] {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}
@media (min-width: 768px) {
	.other-products-section .other-products-row {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}
.other-products-section .other-products-row .other-product-card {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

body { font-family: sans-serif; background: white; }
h3 { text-align: center; margin-bottom: 30px; }
.product-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.product-card {
	width: 220px; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; text-align: center; padding: 10px; transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; height: 160px; object-fit: contain; border-radius: 8px; background: #f0f0f0; }
.product-card h4 { margin: 10px 0 6px; font-size: 16px; color: #333; }
.product-card p { margin: 0; font-size: 14px; color: #777; }
.product-card a { text-decoration: none; color: inherit; }

.paginationMain { text-align: center; margin-top: 30px; }
.paginationMain a, .paginationMain strong {
	margin: 0 5px; padding: 6px 12px; background: #fff; border: 1px solid #ccc; border-radius: 6px; text-decoration: none; color: #007bff;
}
.paginationMain strong { background: #007b5f; color: #fff; border-color: #007b5f; }

.containerProduct {
	max-width: 1200px; margin: 20px auto; padding: 20px; background-color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.quantity-control { margin-bottom: 20px; }
.quantity-control label { margin-right: 10px; }
.quantity-control input { width: 70px; padding: 5px; text-align: center; }
.checkout-button {
	background-color: #ff0036; color: #fff; border: none; padding: 10px 20px; font-size: 16px; cursor: pointer; border-radius: 4px;
}
.checkout-button:hover { background-color: #ff2a4a; }
.error-message {
	color: #ff0036; margin-bottom: 20px; padding: 10px; background-color: #ffeeee; border-radius: 4px;
}
.disabled-button { background-color: #cccccc; cursor: not-allowed; }
.points-info { margin-bottom: 15px; padding: 10px; background-color: #f8f8f8; border-radius: 4px; }
.total-price { font-size:14px !important; margin-top: 10px; }
.points-warning { color: #ff0036; margin-top: 5px; font-size: 14px; }

/* 头像与用户信息的布局 */
.user-info-container {
	display: flex; align-items: center; margin-bottom: 30px; gap: 20px; flex-wrap: wrap;
}
.head-pic img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.user-info-container div { font-size: 14px; color: #666; }
.user-info-container .shop-user-name { font-size: 18px; font-weight: bold; }

/* 让每一行 label 与 input 同行排列（登录） */
.login-form .form-row{
	display: flex; align-items: center; gap: 12px;
}
.login-form .form-row label{
	margin: 0; white-space: nowrap; text-align: left !important;font-size:14px !important;
}
.login-form .form-row input{
	flex: 1; margin-top: 0; width: auto; box-sizing: border-box;
}
@media (max-width: 480px){
	.login-form .form-row{ flex-direction: column; align-items: stretch; }
	.login-form .form-row label{ width: auto; text-align: left; }
}

/* 注册表单 label + input 同行（不改HTML） */
.content form label{
	display: inline-block; width: 100px; margin: 0 12px 12px 0; text-align: left; vertical-align: middle; white-space: nowrap;
}
.content .form-row{ display: flex; align-items: center; gap: 12px; }
.content .form-row label{ margin: 0; white-space: nowrap; text-align: left !important; }
.content .form-row input{ flex: 1; margin-top: 0; width: auto; box-sizing: border-box; }

/* 表单容器与提示块 */
div,section,aside,main,header,footer,button,input,select,textarea,a,
.login-container,.success-message{ border-radius:0 !important; }
.content form{
	width:100%; max-width:520px; background: var(--c-card, #fff);
	border:1px solid var(--c-border, #e5e7eb); padding:24px; margin:0 auto 24px; box-shadow:none;
}
.login-container.error, .success-message{
	display:block; width:100%; max-width:520px; box-sizing:border-box; margin:0 auto 16px; padding:12px 14px; background:#fff; border:1px solid var(--c-border, #e5e7eb);
}
.login-container.error{ border-left:3px solid var(--c-danger, #b91c1c); color:#991b1b; }
.success-message{ border-left:3px solid var(--c-success, #0f766e); color:#065f46; }
.success-message a{ color:var(--c-primary, #007b5f); text-decoration:none; }
.success-message a:hover{ text-decoration:underline; }

/* 输入聚焦 */
.content form input[type="text"],
.content form input[type="password"],
.content form input[type="number"],
.content form input[type="email"]{
	height:42px; padding:0 12px; border:1px solid #cfd4dc; background:#fff; color:var(--c-text, #222); outline:none; border-radius:0;
}
.content form input:focus{ border-color:var(--c-primary, #007b5f); box-shadow:0 0 0 2px rgba(0,123,95,.10); }
.content .content > div { text-align:initial; }
@media (max-width: 980px){
	.content{ padding:24px 16px; }
	.content form, .login-container.error, .success-message{ max-width:100%; }
}
.content form .form-actions{ display: flex; justify-content: center; }

/* ===== 统一按钮：.btnAll 系列 ===== */
:root{
	--c-primary: #007b5f;
	--c-primary-hover: #05684f;
	--c-text-on-primary: #fff;
	--c-secondary-bg: #f1f3f5;
	--c-secondary-border: #d0d7de;
}
.btnAll,
button.btnAll,
a.btnAll,
input[type="submit"].btnAll,
input[type="button"].btnAll {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0;                /* 尺寸由尺寸类控制 */
	border: 1px solid var(--c-primary);
	background: var(--c-primary);
	color: var(--c-text-on-primary);
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	border-radius: 0;
	box-shadow: none;
	height:28px;
}
.btnAll:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); }
.btnAll:disabled, .btnAll[disabled] { opacity: .55; cursor: not-allowed; }
.btnAll.secondary { background: var(--c-secondary-bg); color: #333; border-color: var(--c-secondary-border); }
.btnAll.secondary:hover { background: #e6eaee; }

/* 尺寸 */
.btnAll-sm { width: 100px; height: 28px;  } /*小*/
.btnAll-md { width: 200px; height: 28px;  } /*中*/
.btnAll-lg { width: 300px; height: 28px;  } /*大*/

/* 铺满/居中 */
.btnAll-block { display: flex; width: 100%; }
.btnAll-center { display: flex; margin-left: auto; margin-right: auto; }

/* 链接按钮的文字与下划线覆盖，避免被全局 a:hover 影响 */
a.btnAll, a.btnAll:link, a.btnAll:visited, a.btnAll:hover, a.btnAll:active {
	color: var(--c-text-on-primary) !important; text-decoration: none !important;
}


.body1 .body1 *{
	font-size:14px !important;
}

.title1{
	font-size:16px !important;
}

.title2{
	font-size:18px !important;
}

.title3{
	font-size:20px !important;
}

.input1
{
	height:28px !important;
}

.input2
{
	height:28px !important;
}

a{
	text-decoration:none !important;
}

/* 两列自适应：左列宽度随内容变化，右列占剩余 */
.layout{
	display: grid;
	grid-template-columns: auto 1fr; /* 左=自适应，右=剩余 */
	align-items: start;
	gap: 24px;
	min-height: 100vh;
}

/* 右侧内容常规样式 */
.content{
	min-width: 0;            /* 防止内容把网格撑开 */
}

/* 如果你希望页面在极小屏下上下堆叠 */
@media (max-width: 768px){
	.layout{ grid-template-columns: 1fr; }
	#left-sidebar{ order: 2; }
	.content{ order: 1; } 
	
	h3 { text-align: left;}
}


/********统一控制页面********/
.parent-category-buttons,.children-category-container
{
	display:none !important; 
}

/* 以下由 .main-content .item 统一控制，与商城 list 一致 */
@media (min-width: 768px) {
	.item {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
@media (min-width: 1024px) {
	.item {
		grid-template-columns: repeat(4, 1fr) !important;
	}
}
@media (min-width: 1440px) {
	.item {
		grid-template-columns: repeat(6, 1fr) !important;
	}
}

/********统一控制页面********/


span
{
	font-size:15px !important;
}

/* ===== 列表页（首页/商城/视窗/文档/图库/音律/资讯）统一：取消右侧滚动条、分页底部居中 ===== */
html, body {
	overflow-x: hidden;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.container-wrapper {
	flex: 1 1 auto;
	display: flex;
	min-height: 0;
	padding-left: 150px;
	padding-top: 60px;
	box-sizing: border-box;
}

/* 页脚默认铺满底栏（无左侧栏页面如上传页，避免左侧/两侧露灰底 #f7f7f7） */
.site-footer {
	margin-left: 0;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}
/* 首页/频道列表等：仅当页脚紧跟在 .container-wrapper 之后时，与主内容区同宽，不盖住左侧 150px 菜单 */
.container-wrapper ~ .site-footer {
	margin-left: 150px !important;
	width: calc(100% - 150px) !important;
	max-width: calc(100vw - 150px) !important;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.container-wrapper ~ .site-footer {
		margin-left: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* PC 端上传/编辑表单（无 .container-wrapper）：整页白底 + 页脚全宽，避免 body 灰底 #f7f7f7 在左侧或底栏旁露出 */
body.page-uploads-no-sidebar {
	background-color: #fff !important;
	/* 顶栏 .site-header 为 position:fixed；与 .site-header-row 实际高度对齐，避免发布类首段与顶栏之间过大留白 */
	padding-top: 60px;
	box-sizing: border-box;
}
/* 发布文档/图库等六大入口横条：紧贴固定顶栏下沿（各页勿再叠加 margin-top） */
body.page-uploads-no-sidebar #upload-type-tabs {
	margin-top: 0 !important;
}
body.page-uploads-no-sidebar .site-footer {
	margin-left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	align-self: stretch;
}

/* 左侧菜单栏固定（仅首页；个人橱窗用 .person-page-nav 不固定）；z-index 高于页脚，避免被底部白条遮挡 */
.container-wrapper > .sidebar:not(.person-page-nav) {
	position: fixed !important;
	left: 0 !important;
	top: 60px !important;
	width: 150px !important;
	height: calc(100vh - 60px) !important;
	z-index: 200 !important;
	overflow-y: auto !important;
	flex-shrink: 0 !important;
	-ms-overflow-style: none !important;
	scrollbar-width: none !important;
}
.container-wrapper > .sidebar:not(.person-page-nav)::-webkit-scrollbar { display: none !important; }

/* 商城/视窗/文档/图库/音律/资讯：与首页统一的整体排版（左侧 150px 固定、主内容区预留左边距、紧凑间距） */
@media (min-width: 1024px) {
	body.layout-section .container-wrapper {
		gap: 12px !important;
		padding: 60px 12px 0 12px !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	body.layout-section .container-wrapper > .sidebar:not(.person-page-nav) + .main-content {
		margin-left: 150px !important;
		padding: 12px 16px !important;
		min-width: 0 !important;
		flex: 1 1 0% !important;
	}
	body.layout-section .site-header .site-header-row {
		min-height: 48px;
		padding: 6px 12px;
	}
}

/* 个人橱窗：整体下移 60px，避免被固定顶栏挡住，左侧第一项「文档」才能露出 */
.container2 {
	margin-top: 60px !important;
	box-sizing: border-box;
}
/* 个人橱窗左侧栏：不固定、完整显示六项（文档/音乐/视窗/图库/产品/资讯） */
.container2 .sidebar {
	position: sticky !important;
	left: auto !important;
	top: 0 !important;
	width: 250px !important;
	height: auto !important;
	min-height: 0 !important;
	overflow-y: visible !important;
}
/* 手机端：六大板块横向并排占满整行，不被 250px 裁切 */
@media (max-width: 768px) {
	.container2 {
		margin-top: 0 !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.container2 .sidebar,
	.container2 .sidebar.person-page-nav {
		position: relative !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
		overflow-x: visible !important;
		border-right: none !important;
		box-sizing: border-box !important;
	}
	.container2 .sidebar nav {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		width: 100% !important;
		max-width: 100% !important;
		justify-content: stretch !important;
		align-items: stretch !important;
		gap: 0 !important;
		overflow: visible !important;
	}
	.container2 .sidebar nav a {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		max-width: none !important;
		text-align: center !important;
		padding: 10px 2px !important;
		font-size: 12px !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
		border-left: none !important;
		box-sizing: border-box !important;
	}
}

/* 顶栏固定，识的文化与菜单栏滑动时保持不动（无下边线） */
.site-header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 101 !important;
	margin-left: 0;
	background: #fff;
}

.main-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow-x: hidden;
	flex: 1 1 auto;
}
.main-content .item {
	flex: 0 1 auto;
	min-height: 0;
}

/* 与商城 list.php 一致：flex 流 + 卡片尺寸（非首页使用） */
.main-content .item {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	grid-template-columns: unset !important;
}
.main-content .item > a {
	box-sizing: border-box;
	flex: 0 0 100%;
	text-decoration: none;
	color: inherit;
}
@media (min-width: 576px) {
	.main-content .item > a { flex: 0 0 calc(50% - 6px); }
}
@media (min-width: 768px) {
	.main-content .item > a { flex: 0 0 calc(33.333% - 8px); }
}
@media (min-width: 1024px) {
	.main-content .item > a { flex: 0 0 calc(25% - 9px); }
}
@media (min-width: 1440px) {
	.main-content .item > a { flex: 0 0 calc(16.6667% - 10px); }
}

.main-content .item .card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 3px 8px rgba(0,0,0,.08);
	transition: .25s;
	cursor: pointer;
	width: 100%;
	position: relative;
}
.main-content .item .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.main-content .item .card img {
	width: 100%;
	height: 108px;
	object-fit: contain;
	background: #f3f3f3;
}
.main-content .item .card h3 {
	font-size: 12px;
	margin: 6px 8px 2px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: normal;
}
.main-content .item .card p {
	font-size: 12px;
	color: #888;
	margin: 0 8px 8px;
	line-height: 1.3;
	min-height: 2em;
}

/* ===== 商城 list 页：卡片略小 ===== */
.shop-list-page .main-content .item {
	gap: 8px !important;
}
.shop-list-page .main-content .item .card img {
	height: 78px;
}
.shop-list-page .main-content .item .card h3 {
	font-size: 11px;
	margin: 3px 5px 2px;
}
.shop-list-page .main-content .item .card p {
	font-size: 10px;
	margin: 0 5px 5px;
	min-height: 1.6em;
}

/* ===== 图库 list 页：封面固定高度，标题两行 ===== */
.shop-list-page.pictures-list-page .main-content .item .card img {
	height: 110px;
	min-height: 110px;
	max-height: 110px;
}
.shop-list-page.pictures-list-page .main-content .item .card h3 {
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 2.8em;
	min-height: 2.8em;
}

/* ===== 资讯 list 页：与商城 list 排版一致（6 列、卡片尺寸一致）===== */
.article-list-page .main-content .item {
	gap: 8px !important;
}
.article-list-page .main-content .item .card img {
	height: 78px;
	min-height: 78px;
	object-fit: contain;
	object-position: center;
	background: #f3f3f3;
}
.article-list-page .main-content .item .card h3 {
	font-size: 11px;
	margin: 3px 5px 2px;
}
.article-list-page .main-content .item .card p {
	font-size: 10px;
	margin: 0 5px 5px;
	min-height: 1.6em;
}

/* ===== 商城 listCategory 页（所有分类）：卡片略放大 ===== */
.shop-list-category-page .main-content .item {
	gap: 11px !important;
}
.shop-list-category-page .main-content .item .card img {
	height: 92px !important;
}
.shop-list-category-page .main-content .item .card h3 {
	font-size: 12px !important;
	margin: 5px 7px 2px !important;
}
.shop-list-category-page .main-content .item .card p {
	font-size: 11px !important;
	margin: 0 7px 7px !important;
	min-height: 2em !important;
}

/* 地道美食(40)、地道产品(46) 与上方 listCategory 统一，确保卡片放大生效 */
.shop-list-category-40 .main-content .item .card img,
.shop-list-category-46 .main-content .item .card img {
	height: 92px !important;
}
.shop-list-category-40 .main-content .item .card h3,
.shop-list-category-46 .main-content .item .card h3 {
	font-size: 12px !important;
	margin: 5px 7px 2px !important;
}
.shop-list-category-40 .main-content .item .card p,
.shop-list-category-46 .main-content .item .card p {
	font-size: 11px !important;
	margin: 0 7px 7px !important;
	min-height: 2em !important;
}

/* ===== 首页：8 列网格，列表卡片放大一点 ===== */
.main-content:has(.friendly-links-wrap) .item {
	display: grid !important;
	grid-template-columns: repeat(8, 1fr) !important;
	gap: 14px !important;
	margin-bottom: 14px !important;
	width: 100% !important;
}
@media (max-width: 767px) {
	.main-content:has(.friendly-links-wrap) .item {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
.main-content:has(.friendly-links-wrap) .item > a {
	text-decoration: none !important;
	color: inherit !important;
	display: block !important;
	box-sizing: border-box !important;
}
.main-content:has(.friendly-links-wrap) .item .card {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	background: #fff !important;
	border: 1px solid #eee !important;
	border-radius: 0 !important;
	overflow: hidden !important;
	box-shadow: 0 3px 8px rgba(0,0,0,.08) !important;
	cursor: pointer !important;
	transition: transform .25s ease, box-shadow .25s ease !important;
}
.main-content:has(.friendly-links-wrap) .item .card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.main-content:has(.friendly-links-wrap) .item .card img {
	width: 100% !important;
	height: 90px !important;
	object-fit: contain !important;
	background: #f3f3f3 !important;
	flex-shrink: 0;
	display: block;
}
.main-content:has(.friendly-links-wrap) .item .card h3 {
	font-size: 11px !important;
	font-weight: normal !important;
	color: #333 !important;
	margin: 4px 5px 2px !important;
	line-height: 1.28 !important;
	text-align: center !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 1 !important;
	-webkit-box-orient: vertical !important;
	word-break: break-all !important;
	white-space: normal !important;
}
.main-content:has(.friendly-links-wrap) .item .card p {
	font-size: 11px !important;
	color: #888 !important;
	margin: 0 6px 7px !important;
	text-align: center !important;
	line-height: 1.24 !important;
	min-height: 1.65em !important;
}
/* 首页卡片：与商城 list 一致，图片下方白色区域标题与日期居中 */
.main-content:has(.friendly-links-wrap) .item .card {
	text-align: center !important;
}

/* 分页条：页面底部居中 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 12px;
	width: 100%;
	box-sizing: border-box;
	padding: 0 16px;
}
.pagination a,
.pagination span,
.pagination button {
	padding: 6px 12px;
	min-height: 32px;
	line-height: 20px;
	border: 1px solid #ddd;
	background: #fff;
	text-decoration: none;
	color: #333;
	border-radius: 0;
	font-size: 14px;
	cursor: pointer;
	box-sizing: border-box;
}
.pagination .active {
	background: #007b5f;
	color: #fff;
	border-color: #007b5f;
}
.pagination a:hover,
.pagination button:hover {
	background: #f1f1f1;
	border-color: #007b5f;
	color: #007b5f;
}
.pagination-jump {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 8px;
}
.pagination-jump input[type="number"] {
	width: 52px;
	height: 32px;
	text-align: center;
	border: 1px solid #ddd;
	font-size: 14px;
	box-sizing: border-box;
}
.pagination-jump button {
	height: 32px;
	padding: 0 12px;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
}
.pagination-jump button:hover {
	background: #007b5f;
	color: #fff;
	border-color: #007b5f;
}

/* ===== 商城统一：价格角标（list / listCategory 共用） ===== */
.main-content .item .card .price-tag,
.item .card .price-tag {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 3px 8px;
	border-radius: 0;
	background: #ff5000;
	color: #fff;
	font-size: 14px;
	line-height: 18px;
	font-weight: normal;
	box-shadow: 0 2px 6px rgba(0,0,0,.15);
	pointer-events: none;
}
.main-content .item .card .price-tag .yen,
.item .card .price-tag .yen {
	font-size: 12px;
	margin-right: 2px;
	opacity: .95;
}

/* ===== 商城统一：店铺主页 shop_home 与 list 一致排版 ===== */
.shop-home .product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (min-width: 576px) {
	.shop-home .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
	.shop-home .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
	.shop-home .product-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1440px) {
	.shop-home .product-grid { grid-template-columns: repeat(6, 1fr); }
}
.shop-home .product-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 3px 8px rgba(0,0,0,.08);
	transition: .25s;
	cursor: pointer;
	width: 100%;
	position: relative;
}
.shop-home .product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.shop-home .product-card a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.shop-home .product-card img {
	width: 100%;
	height: 108px;
	object-fit: contain;
	background: #f3f3f3;
	display: block;
}
.shop-home .product-card h4 {
	font-size: 12px;
	margin: 6px 8px 2px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: normal;
	color: #333;
}
.shop-home .product-card p {
	font-size: 12px;
	color: #888;
	margin: 0 8px 8px;
	line-height: 1.3;
	min-height: 2em;
}

/* VIP / 积分提示弹窗：底部「关闭」「去开通VIP」等按钮组水平居中（覆盖各页内联 .recharge-actions 的 flex-end） */
.recharge-modal .recharge-actions {
	justify-content: center;
}

/* ======================================================================
   发布文档 doc_new_03.php：「所属类别」「主题标签」标签按钮 / 已选芯片 / 下拉联想 共用视觉
   限定 form#uploadForm[data-relax-doc-publish="1"]，避免影响其它页面
   ====================================================================== */
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .doc-cat-like-video .ap-form-sync-host {
	display: none !important;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .doc-cat-hint {
	margin: 6px 0 8px;
	font-size: 13px;
	color: #5a6b5e;
	line-height: 1.45;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .doc-cat-like-video .doc-cat-hint.ap-tag-section-hint {
	margin-top: 4px;
	margin-bottom: 8px;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .music-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 10px;
	align-content: flex-start;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-cat-shortcuts,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-tag-shortcuts {
	max-height: 9rem;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-cat-shortcuts .music-cat-memory-host,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-tag-shortcuts .music-tag-memory-host {
	display: contents;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-field {
	border: none;
	background: transparent;
	padding: 0;
	box-sizing: border-box;
	width: 100%;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .doc-tag-hint {
	margin: 4px 0 8px;
	font-size: 13px;
	color: #5a6b5e;
	line-height: 1.45;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .doc-cat-like-video .ap-tag-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	min-height: 0;
	align-items: flex-start;
	align-content: flex-start;
}
/* 快捷标签：所属类别 (.music-cat-shortcut) 与主题标签 (.music-tag-shortcut) 同款 */
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-cat-shortcuts button.music-cat-shortcut,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-tag-shortcuts button.music-tag-shortcut {
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border: 1px solid #b0bec5;
	background: #fff;
	cursor: pointer;
	font-size: 13px;
	color: #333;
	border-radius: 0;
	user-select: none;
	box-shadow: none;
	line-height: 1.35;
	min-height: 30px;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-cat-shortcuts button.music-cat-shortcut:hover,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-tag-shortcuts button.music-tag-shortcut:hover {
	border-color: #007b5f;
	color: #007b5f;
	background: #fff;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-cat-shortcuts button.music-cat-shortcut.is-on,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #music-tag-shortcuts button.music-tag-shortcut.is-on {
	border-color: #007b5f;
	background: #e8f5f0;
	color: #004d40;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #categoryTagChips,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #subjectTagChips {
	max-height: min(32vh, 220px);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
	min-height: 0;
	align-items: flex-start;
	align-content: flex-start;
}
/* 已选芯片：绿框浅绿底，与主题标签区一致 */
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #categoryTagChips .ap-tag-chip,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #subjectTagChips .ap-tag-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border: 1px solid #007b5f;
	background: #e8f5f0;
	color: #1b4332;
	font-size: 13px;
	border-radius: 0;
	max-width: 100%;
	box-sizing: border-box;
	box-shadow: none;
	line-height: 1.35;
	min-height: 30px;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #categoryTagChips .ap-tag-chip .ap-tag-dd-meta,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #subjectTagChips .ap-tag-chip .ap-tag-dd-meta {
	display: none !important;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #categoryTagChips .ap-tag-chip-remove,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #subjectTagChips .ap-tag-chip-remove {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	border: none !important;
	background: transparent !important;
	color: #333;
	font-size: 16px;
	line-height: 1;
	padding: 0 2px;
	flex-shrink: 0;
	box-shadow: none !important;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #categoryTagChips .ap-tag-chip-remove:hover,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side #subjectTagChips .ap-tag-chip-remove:hover {
	color: #c62828 !important;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-input-line {
	position: relative;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-input {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #bfc7bf;
	font-size: 12px;
	border-radius: 0;
	box-sizing: border-box;
	background: #fff;
	min-height: 36px;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-input::placeholder {
	font-size: 12px;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-input:focus {
	outline: none;
	border-color: #007b5f;
	box-shadow: 0 0 0 1px rgba(0, 123, 95, 0.2);
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	margin-top: 2px;
	max-height: 160px;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 4px;
	border: 1px solid #007b5f;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-dropdown .ap-tag-dd-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	margin: 3px;
	cursor: pointer;
	font-size: 13px;
	border: 1px solid #d9e8dc;
	text-align: left;
	background: #fff;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-dropdown .ap-tag-dd-item:hover,
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-dropdown .ap-tag-dd-item.active {
	background: #f4faf6;
}
form#uploadForm[data-relax-doc-publish="1"] .doc-field-control-side .ap-tag-dd-meta {
	display: none;
}

