/* NTEデータ（nte-lab）: 一覧・詳細・お知らせ。色は SWELL のメインカラー（--color_main）に合わせる */

.ntl-filter {
	margin: 0 0 1em;
	padding: 12px 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: rgba(106, 63, 209, 0.04);
}
.ntl-filter__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 4px 0;
}
.ntl-filter__label {
	min-width: 5.5em;
	font-size: 0.85em;
	font-weight: 700;
}
.ntl-filter__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ntl-filter__btn {
	padding: 4px 12px;
	border: 1px solid var(--color_main, #6a3fd1);
	border-radius: 999px;
	background: #fff;
	color: var(--color_main, #6a3fd1);
	font-size: 0.85em;
	line-height: 1.6;
	cursor: pointer;
}
.ntl-filter__btn[aria-pressed="true"] {
	background: var(--color_main, #6a3fd1);
	color: #fff;
}
.ntl-list__count {
	margin: 0 0 0.5em;
	font-size: 0.85em;
	text-align: right;
}

.ntl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 10px;
	margin: 0 0 1.5em !important;
	padding: 0 !important;
	list-style: none !important;
}
.ntl-grid--mini {
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
}
.ntl-grid__item {
	margin: 0 !important;
	padding: 0 !important;
}
.ntl-grid__item::before {
	content: none !important;
}
.ntl-grid__item[hidden] {
	display: none;
}
.ntl-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	height: 100%;
	padding: 8px 4px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-align: center;
	text-decoration: none;
	transition: box-shadow 0.15s;
}
.ntl-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.ntl-icon {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 8px;
	background: linear-gradient(160deg, #2b1f4a, #6a3fd1);
}
.ntl-icon--empty {
	opacity: 0.3;
}
.ntl-card__name {
	font-size: 0.8em;
	font-weight: 700;
	line-height: 1.3;
}
.ntl-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 3px;
}

.ntl-badge {
	display: inline-block;
	padding: 0 7px;
	border-radius: 4px;
	background: #eee;
	color: #333;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.7;
}
.ntl-rarity--s { background: #e8a93a; color: #fff; }
.ntl-rarity--a { background: #9b6ae0; color: #fff; }
.ntl-rarity--b { background: #4a8fd6; color: #fff; }
.ntl-el--cosmos { background: #f4d35e; color: #3a2e00; }
.ntl-el--nature { background: #6cc4a1; color: #0b3326; }
.ntl-el--incantation { background: #c0457a; color: #fff; }
.ntl-el--chaos { background: #3d3553; color: #fff; }
.ntl-el--psyche { background: #5b8def; color: #fff; }
.ntl-el--lakshana { background: #d7843a; color: #fff; }

.ntl-detail {
	margin: 0 0 2em;
}
.ntl-detail__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
}
.ntl-detail__head .ntl-icon {
	width: 160px;
	height: 160px;
}
.ntl-spec {
	flex: 1 1 260px;
	margin: 0 !important;
}
.ntl-spec th {
	width: 8em;
	white-space: nowrap;
}
.ntl-detail__intro {
	margin-top: 1em;
}

.ntl-news {
	margin: 0 0 0.5em !important;
	padding: 0 !important;
	list-style: none !important;
}
.ntl-news__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin: 0 !important;
	padding: 10px 0 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.ntl-news__item::before {
	content: none !important;
}
.ntl-news__date {
	font-size: 0.85em;
	color: #666;
	font-variant-numeric: tabular-nums;
}
.ntl-news__cat {
	padding: 0 6px;
	border: 1px solid var(--color_main, #6a3fd1);
	border-radius: 4px;
	color: var(--color_main, #6a3fd1);
	font-size: 0.72rem;
}
.ntl-news__link {
	flex: 1 1 100%;
}
.ntl-note {
	font-size: 0.8em;
	color: #666;
}
.ntl-footer-credit {
	margin-top: 0.5em;
	font-size: 0.7rem;
	opacity: 0.75;
	text-align: center;
}

.ntl-stats td,
.ntl-ach-summary td {
	text-align: right;
	font-variant-numeric: tabular-nums;
}
.ntl-awaken dt {
	margin-top: 0.8em;
	font-weight: 700;
}
.ntl-awaken dd {
	margin: 0.2em 0 0 0;
	padding-left: 0.5em;
	border-left: 3px solid rgba(106, 63, 209, 0.3);
}
.ntl-ach td:first-child {
	white-space: nowrap;
	font-weight: 700;
}
.ntl-ach td:last-child {
	white-space: nowrap;
}

.ntl-asc th[scope="row"] {
	white-space: nowrap;
}

.ntl-skill-values th[scope="row"] {
	width: 45%;
	font-weight: 400;
}
.ntl-skill-values td {
	font-variant-numeric: tabular-nums;
}
