/* 落日杂志 tpl_04_sunset —— 橙色杂志风 / 衬线标题 / 横幅行列表（轻量精修） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif; background: #fffbf5; color: #292524; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.t4-wrap { max-width: 980px; margin: 0 auto; padding: 0 18px; }
.t4-mast { background: #fffbf5; border-bottom: 3px double #f0b27a; }
.t4-date { text-align: center; font-size: 12px; color: #a8a29e; padding: 10px 0 2px; letter-spacing: 2px; }
.t4-logo { display: block; text-align: center; padding: 4px 0 10px; }
.t4-logo img { display: inline-block; max-height: 48px; width: auto; }
.t4-logo span { font-size: 30px; font-weight: 600; color: #ea580c; letter-spacing: 4px; }
.t4-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 0; border-top: 1px solid #f5d0b0; }
.t4-nav a { padding: 9px 16px; font-size: 14px; color: #57534e; transition: .18s; }
.t4-nav a:hover { color: #ea580c; text-decoration: underline; }
.t4-adtop { margin: 16px 0 4px; text-align: center; }
.t4-adtop:empty { display: none; }
.t4-h1 { font-size: 24px; font-weight: 600; margin: 8px 0 16px; color: #ea580c; }
.t4-sec { margin: 22px 0; }
.t4-cat { display: flex; justify-content: space-between; align-items: baseline; font-size: 19px; margin-bottom: 6px; }
.t4-cat span { border-bottom: 2px solid #ea580c; padding-bottom: 4px; }
.t4-cat a { font-size: 13px; color: #ea580c; }
.t4-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #f5d0b0; }
.t4-rowimg { flex: none; width: 220px; aspect-ratio: 16/9; background: #f5d0b0; overflow: hidden; position: relative; border-radius: 8px; }
.t4-rowimg img { width: 100%; height: 100%; object-fit: cover; }
.t4-dur { position: absolute; }
.t4-rowimg .t4-dur { right: 6px; bottom: 6px; background: rgba(0,0,0,.68); color: #fff; font-size: 12px; padding: 1px 7px; border-radius: 6px; }
.t4-rowtxt { flex: 1; min-width: 0; }
.t4-rowtxt h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.t4-rowtxt h3 a:hover { color: #ea580c; }
.t4-rowtxt p { font-size: 14px; color: #78716c; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.t4-meta { display: flex; gap: 14px; font-size: 12px; color: #a8a29e; margin-top: 8px; }
.t4-meta a { color: #ea580c; }
.t4-lead-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t4-lead img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #f5d0b0; border-radius: 8px; }
.t4-lead h3 { font-size: 16px; font-weight: 600; margin-top: 8px; line-height: 1.45; }
.t4-lead h3 a:hover { color: #ea580c; }
.t4-empty { text-align: center; color: #a8a29e; padding: 48px 0; }
.t4-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 24px 0; font-size: 14px; color: #78716c; }
.t4-pgbtn { border: 1px solid #ea580c; color: #ea580c; padding: 6px 18px; border-radius: 999px; transition: .18s; }
.t4-pgbtn:hover { background: #ea580c; color: #fff; }
.t4-admid { margin: 20px 0; text-align: center; }
.t4-admid:empty { display: none; }
.t4-vtitle { font-size: 26px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.t4-article .t4-meta { border-bottom: 1px solid #f5d0b0; padding-bottom: 12px; }
.t4-player { position: relative; background: #000; border-radius: 10px; overflow: hidden; margin-top: 4px; }
.t4-player video { width: 100%; aspect-ratio: 16/9; display: block; }
.scp-error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.75); color: #fff; font-size: 14px; }
.t4-lines { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.t4-lines[hidden] { display: none; }
.scp-line-btn { border: 1px solid #f5d0b0; background: #fff; color: #ea580c; font-size: 13px; padding: 4px 14px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: .18s; }
.scp-line-btn.active { background: #ea580c; border-color: #ea580c; color: #fff; }
.t4-eps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; font-size: 14px; }
.t4-ep-btn { border: 1px solid #f5d0b0; background: #fff; padding: 3px 14px; border-radius: 999px; font-size: 13px; color: #57534e; transition: .18s; }
.t4-ep-btn.active { background: #ea580c; border-color: #ea580c; color: #fff; }
.t4-desc { margin: 14px 0; padding: 14px 16px; background: #fff7ed; border-left: 3px solid #ea580c; border-radius: 8px; }
.t4-desc p { font-size: 15px; color: #57534e; white-space: pre-wrap; }
.t4-foot { border-top: 3px double #f0b27a; margin-top: 30px; padding: 22px 0; font-size: 13px; color: #a8a29e; text-align: center; }
.t4-footbrand { font-size: 20px; font-weight: 600; color: #ea580c; letter-spacing: 4px; margin-bottom: 8px; }
.t4-footnav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }
.t4-footnav a:hover { color: #ea580c; }
.t4-floatad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; text-align: center; pointer-events: none; }
.t4-floatad > * { pointer-events: auto; }
@media (max-width: 680px) {
    .t4-row { flex-direction: column; }
    .t4-rowimg { width: 100%; }
    .t4-lead-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---- 导航栏搜索框 ---- */
.t4-search { position: relative; display: flex; align-items: center; margin-left: 14px; align-self: center; }
.t4-search input {
	width: 150px; height: 30px; padding: 0 12px;
	border: 1px solid #f0b27a; border-radius: 999px;
	background: #fff; color: #292524; font-size: 13px; outline: none;
	transition: .2s; appearance: none; font-family: inherit;
}
.t4-search input::placeholder { color: #b8a99a; }
.t4-search input:focus { width: 190px; border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234,88,12,.10); }
.t4-search button {
	margin-left: 6px; height: 30px; padding: 0 16px;
	border: 1px solid #ea580c; border-radius: 999px;
	background: transparent; color: #ea580c; font-size: 13px; cursor: pointer;
	font-family: inherit; transition: .18s;
}
.t4-search button:hover { background: #ea580c; color: #fff; }

/* ---- 搜索结果页 ---- */
.t4-sform { display: flex; gap: 10px; justify-content: center; margin: 16px 0 4px; }
.t4-sform input {
	flex: 0 1 420px; height: 42px; padding: 0 18px; border: 1px solid #f0b27a; border-radius: 999px;
	background: #fff; font-size: 15px; color: #292524; outline: none; font-family: inherit; transition: .18s;
}
.t4-sform input:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234,88,12,.10); }
.t4-sform button {
	height: 42px; padding: 0 26px; border: 1px solid #ea580c; border-radius: 999px;
	background: #ea580c; color: #fff; font-size: 15px; cursor: pointer; font-family: inherit; transition: .18s;
}
.t4-sform button:hover { background: #c2410c; border-color: #c2410c; }
.t4-sstat { text-align: center; font-size: 13.5px; color: #a8a29e; margin: 12px 0 4px; letter-spacing: 1px; }
.t4-sstat b { color: #ea580c; font-weight: 600; }
.t4-sgroup { margin: 24px 0 4px; }
.t4-sghead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; border-bottom: 1px solid #f5d0b0; padding-bottom: 6px; }
.t4-sghead h2 { font-size: 18px; font-weight: 600; font-style: italic; }
.t4-sghead span { font-size: 12.5px; color: #a8a29e; }
@media (max-width: 700px) { .t4-search { margin: 6px 0; } .t4-search input { width: 120px; } }
