/* DSM Top Chart — skin styles */

.dsm-tc-chart {
	--dsm-tc-accent: #aa3333;
	margin: 40px 0;
}

.dsm-tc-head { margin-bottom: 16px; border-bottom: 2px solid var(--dsm-tc-accent); padding-bottom: 8px; }
.dsm-tc-heading { margin: 0; font-size: 1.5em; }
.dsm-tc-subheading { margin: 4px 0 0; opacity: 0.75; font-size: 0.95em; }

.dsm-tc-items { list-style: none; margin: 0; padding: 0; }

.dsm-tc-item { margin-bottom: 10px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }

.dsm-tc-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}
.dsm-tc-link:hover { background: rgba(170,51,51,0.08); }

.dsm-tc-rank {
	flex-shrink: 0;
	font-weight: 900;
	font-size: 1.3em;
	color: var(--dsm-tc-accent);
	min-width: 40px;
}

.dsm-tc-thumb {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 4px;
	overflow: hidden;
}
.dsm-tc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.dsm-tc-body { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.dsm-tc-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dsm-tc-title-block { display: flex; flex-direction: column; }
.dsm-tc-artist { font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.65; font-weight: 700; }
.dsm-tc-title { font-weight: 700; }
.dsm-tc-format { font-weight: 500; opacity: 0.6; font-size: 0.85em; }
.dsm-tc-score { font-weight: 800; white-space: nowrap; }
.dsm-tc-score-suffix { font-size: 0.7em; opacity: 0.6; margin-left: 2px; }
.dsm-tc-verdict { font-style: italic; opacity: 0.75; font-size: 0.85em; }

.dsm-tc-trend {
	flex-shrink: 0;
	font-size: 0.75em;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 4px;
	white-space: nowrap;
}
.dsm-tc-trend-new { background: var(--dsm-tc-accent); color: #fff; }
.dsm-tc-trend-up { background: rgba(63,158,92,0.2); color: #3f9e5c; }
.dsm-tc-trend-down { background: rgba(138,35,35,0.2); color: #c95050; }

.dsm-tc-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,0.1);
}
.dsm-tc-page-link { color: var(--dsm-tc-accent); font-weight: 700; text-decoration: none; }
.dsm-tc-page-link:hover { text-decoration: underline; }
.dsm-tc-page-status { opacity: 0.7; font-size: 0.9em; }

/* ---- Grid skin ---- */
.dsm-tc-skin-grid .dsm-tc-items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
@media (min-width: 700px) {
	.dsm-tc-skin-grid .dsm-tc-items { grid-template-columns: repeat(5, 1fr); }
}
.dsm-tc-skin-grid .dsm-tc-item { margin-bottom: 0; }
.dsm-tc-skin-grid .dsm-tc-link { flex-direction: column; align-items: stretch; padding: 0; position: relative; }
.dsm-tc-skin-grid .dsm-tc-thumb { width: 100%; height: auto; aspect-ratio: 1/1; border-radius: 0; }
.dsm-tc-skin-grid .dsm-tc-rank {
	position: absolute;
	top: 8px; left: 8px;
	background: rgba(0,0,0,0.75);
	color: #fff;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 1em;
	min-width: auto;
}
.dsm-tc-skin-grid .dsm-tc-body { flex-direction: column; align-items: flex-start; padding: 8px 10px; }

/* ---- Compact skin ---- */
.dsm-tc-skin-compact .dsm-tc-item { border: none; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; margin-bottom: 0; }
.dsm-tc-skin-compact .dsm-tc-link { padding: 8px 4px; }
.dsm-tc-skin-compact .dsm-tc-rank { font-size: 1em; min-width: 30px; }
