/**
 * N3TW Core Frontend Stylesheet
 * Scoped to database components
 *
 * @package N3TW\Core
 */

:root {
	--n3tw-core-bg: var(--n3tw-bg, #080D16);
	--n3tw-core-surface: var(--n3tw-surface, #101827);
	--n3tw-core-card: var(--n3tw-card, #141E2E);
	--n3tw-core-blue: var(--n3tw-blue, #54BFFF);
	--n3tw-core-gold: var(--n3tw-gold, #E5AE45);
	--n3tw-core-text: var(--n3tw-text, #F1F5F9);
	--n3tw-core-muted: var(--n3tw-muted, #94A3B8);
	--n3tw-core-border: rgba(148, 163, 184, 0.15);

	/* WoW Item Quality Colors */
	--n3tw-color-poor: #9d9d9d;
	--n3tw-color-common: #ffffff;
	--n3tw-color-uncommon: #1eff00;
	--n3tw-color-rare: #0070dd;
	--n3tw-color-epic: #a335ee;
	--n3tw-color-legendary: #ff8000;
	--n3tw-color-artifact: #e6cc80;
}

/* Quality Classes */
.n3tw-q-poor, a.n3tw-q-poor { color: var(--n3tw-color-poor) !important; border-color: var(--n3tw-color-poor) !important; }
.n3tw-q-common, a.n3tw-q-common { color: var(--n3tw-color-common) !important; border-color: var(--n3tw-color-common) !important; }
.n3tw-q-uncommon, a.n3tw-q-uncommon { color: var(--n3tw-color-uncommon) !important; border-color: var(--n3tw-color-uncommon) !important; }
.n3tw-q-rare, a.n3tw-q-rare { color: var(--n3tw-color-rare) !important; border-color: var(--n3tw-color-rare) !important; }
.n3tw-q-epic, a.n3tw-q-epic { color: var(--n3tw-color-epic) !important; border-color: var(--n3tw-color-epic) !important; }
.n3tw-q-legendary, a.n3tw-q-legendary { color: var(--n3tw-color-legendary) !important; border-color: var(--n3tw-color-legendary) !important; }
.n3tw-q-artifact, a.n3tw-q-artifact { color: var(--n3tw-color-artifact) !important; border-color: var(--n3tw-color-artifact) !important; }

/* Database Wrapper */
.n3tw-db-wrap {
	font-family: inherit;
	color: var(--n3tw-core-text);
	margin-bottom: 2.5rem;
}

/* Filter Bar */
.n3tw-db-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	background: var(--n3tw-core-card);
	border: 1px solid var(--n3tw-core-border);
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1.5rem;
	align-items: center;
}

.n3tw-filter-group {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.n3tw-search-wrap {
	flex: 1 1 240px;
}

.n3tw-input, .n3tw-select {
	background: #0E1624 !important;
	border: 1px solid var(--n3tw-core-border) !important;
	color: var(--n3tw-core-text) !important;
	border-radius: 6px !important;
	padding: 0.6rem 0.9rem !important;
	font-size: 0.95rem !important;
	width: 100%;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.n3tw-input:focus, .n3tw-select:focus {
	border-color: var(--n3tw-core-blue) !important;
	box-shadow: 0 0 0 2px rgba(84, 191, 255, 0.25) !important;
}

/* Buttons */
.n3tw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.2rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 6px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
	transition: all 0.2s ease;
}

.n3tw-btn-primary {
	background: linear-gradient(135deg, #E5AE45 0%, #B88220 100%);
	color: #080D16 !important;
	border-color: #F2C46E;
}

.n3tw-btn-primary:hover {
	background: linear-gradient(135deg, #F2C46E 0%, #D49626 100%);
	transform: translateY(-1px);
}

.n3tw-btn-secondary {
	background: rgba(84, 191, 255, 0.1);
	color: var(--n3tw-core-blue) !important;
	border-color: rgba(84, 191, 255, 0.3);
}

.n3tw-btn-secondary:hover {
	background: rgba(84, 191, 255, 0.2);
}

/* Data Table */
.n3tw-table-responsive {
	width: 100%;
	overflow-x: auto;
	background: var(--n3tw-core-card);
	border: 1px solid var(--n3tw-core-border);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.n3tw-data-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.9rem;
}

.n3tw-data-table th {
	background: #0E1624;
	color: var(--n3tw-core-text);
	font-weight: 700;
	padding: 0.9rem 1.2rem;
	border-bottom: 2px solid var(--n3tw-core-border);
	white-space: nowrap;
}

.n3tw-data-table td {
	padding: 0.85rem 1.2rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.08);
	color: var(--n3tw-core-muted);
	vertical-align: middle;
}

.n3tw-item-row:hover, .n3tw-quest-row:hover {
	background: rgba(84, 191, 255, 0.05);
}

.n3tw-item-icon-frame {
	display: inline-block;
	width: 38px;
	height: 38px;
	border-radius: 4px;
	border: 2px solid var(--n3tw-color-common);
	overflow: hidden;
	background: #000;
	vertical-align: middle;
}

.n3tw-item-icon-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.n3tw-item-title, .n3tw-quest-title {
	font-weight: 700;
	font-size: 0.95rem;
	display: block;
	text-decoration: none;
}

.n3tw-item-subtext {
	font-size: 0.8rem;
	color: var(--n3tw-core-muted);
}

.n3tw-drop-rate {
	display: block;
	color: var(--n3tw-core-gold);
	font-size: 0.75rem;
}

.n3tw-badge {
	display: inline-block;
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.n3tw-badge-ilvl {
	background: rgba(84, 191, 255, 0.15);
	color: var(--n3tw-core-blue);
	border: 1px solid rgba(84, 191, 255, 0.3);
}

.n3tw-badge-gold {
	background: rgba(229, 174, 69, 0.15);
	color: var(--n3tw-core-gold);
	border: 1px solid rgba(229, 174, 69, 0.3);
}

.n3tw-badge-blue {
	background: rgba(84, 191, 255, 0.15);
	color: var(--n3tw-core-blue);
	border: 1px solid rgba(84, 191, 255, 0.3);
}

.n3tw-badge-emerald {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.n3tw-badge-cyan {
	background: rgba(6, 182, 212, 0.15);
	color: #06b6d4;
	border: 1px solid rgba(6, 182, 212, 0.3);
}

.n3tw-badge-accent {
	background: rgba(148, 163, 184, 0.1);
	color: var(--n3tw-core-muted);
	border: 1px solid var(--n3tw-core-border);
}

/* Pagination */
.n3tw-pagination-wrap {
	display: flex;
	gap: 0.35rem;
	margin-top: 1.5rem;
	justify-content: center;
	align-items: center;
}

.n3tw-page-link {
	padding: 0.4rem 0.8rem;
	background: var(--n3tw-core-card);
	border: 1px solid var(--n3tw-core-border);
	color: var(--n3tw-core-muted);
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9rem;
}

.n3tw-page-link:hover, .n3tw-page-link.is-active {
	background: var(--n3tw-core-blue);
	color: #080D16 !important;
	font-weight: 700;
}

/* Single Item View / Tooltip Layout */
.n3tw-item-detail-grid {
	display: grid;
	grid-template-columns: minmax(320px, 460px) 1fr;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 820px) {
	.n3tw-item-detail-grid {
		grid-template-columns: 1fr;
	}
}

.n3tw-wow-tooltip-card {
	background: #0B111D;
	border: 2px solid #23344D;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
	padding: 1.5rem;
}

.n3tw-tooltip-header {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	padding-bottom: 1rem;
}

.n3tw-tooltip-icon {
	width: 48px;
	height: 48px;
	border-radius: 4px;
	border: 2px solid var(--n3tw-color-common);
}

.n3tw-tooltip-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 0.25rem 0;
	line-height: 1.2;
}

.n3tw-tooltip-ilvl {
	color: var(--n3tw-core-gold);
	font-size: 0.85rem;
	font-weight: 600;
}

.n3tw-tooltip-meta-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.9rem;
	color: var(--n3tw-core-text);
	margin-bottom: 1rem;
}

.n3tw-tooltip-stats {
	margin-bottom: 1rem;
	line-height: 1.6;
	font-size: 0.95rem;
}

.n3tw-stat-line {
	color: #FFFFFF;
}

.n3tw-tooltip-req {
	color: #FFFFFF;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.n3tw-tooltip-flavor {
	color: var(--n3tw-core-gold);
	font-style: italic;
	font-size: 0.85rem;
	border-top: 1px solid rgba(148, 163, 184, 0.1);
	padding-top: 0.75rem;
}

.n3tw-item-sidebar-card {
	background: var(--n3tw-core-card);
	border: 1px solid var(--n3tw-core-border);
	border-radius: 8px;
	padding: 1.5rem;
}

.n3tw-sidebar-title {
	font-size: 1.2rem;
	color: var(--n3tw-core-text);
	margin: 0 0 1rem 0;
	border-bottom: 1px solid var(--n3tw-core-border);
	padding-bottom: 0.5rem;
}

.n3tw-specs-table {
	width: 100%;
	border-collapse: collapse;
}

.n3tw-specs-table th {
	text-align: left;
	color: var(--n3tw-core-muted);
	padding: 0.5rem 0;
	width: 40%;
	font-weight: 600;
}

.n3tw-specs-table td {
	padding: 0.5rem 0;
	color: var(--n3tw-core-text);
}
/* ==========================================================================
   Blizzard Blue Tracker Authentic Layout & Styling
   ========================================================================== */
.n3tw-blizz-post-wrapper {
	margin-bottom: 2.5rem;
}

.n3tw-blizz-headline {
	font-family: var(--font-heading, 'Cinzel', serif);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.n3tw-blizz-headline a {
	color: #00b4ff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.n3tw-blizz-headline a:hover {
	color: #00c0ff;
}

.n3tw-blizz-post-box {
	background: #111722;
	border: 1px solid rgba(0, 180, 255, 0.2);
	border-radius: 6px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
	display: flex;
	position: relative;
	overflow: hidden;
}

/* Left Column: Author */
.n3tw-blizz-post-author {
	width: 175px;
	min-width: 175px;
	background: rgba(8, 12, 18, 0.6);
	border-right: 1px solid rgba(0, 180, 255, 0.15);
	padding: 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.n3tw-blizz-avatar-wrap {
	width: 88px;
	height: 88px;
	border: 2px solid #00c0ff;
	box-shadow: 0 0 12px rgba(0, 192, 255, 0.55), inset 0 0 8px rgba(0, 192, 255, 0.2);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 0.85rem;
	background: #060e18;
}

.n3tw-blizz-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.n3tw-blizz-author-name {
	color: #00c0ff;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.2rem;
	line-height: 1.2;
}

.n3tw-blizz-author-role {
	color: #52a7e0;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.3;
}

/* Right Column: Content */
.n3tw-blizz-post-content {
	flex: 1;
	padding: 1.35rem 1.75rem 1.6rem;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.n3tw-blizz-post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.75rem;
	margin-bottom: 1.15rem;
	border-bottom: 1px solid rgba(0, 180, 255, 0.12);
}

.n3tw-blizz-meta-info {
	color: #009be3;
	font-size: 0.88rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.n3tw-blizz-tag-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(0, 180, 255, 0.12);
	border: 1px solid rgba(0, 180, 255, 0.35);
	color: #00c0ff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.n3tw-blizz-tag-badge:hover {
	background: rgba(0, 180, 255, 0.25);
	border-color: #00c0ff;
	color: #ffffff;
	box-shadow: 0 0 10px rgba(0, 192, 255, 0.5);
}

.n3tw-blizz-tag-badge svg {
	width: 14px;
	height: 14px;
}

/* Authentic Blizzard Blue Text */
.n3tw-blizz-body {
	color: #00b4ff;
	font-size: 0.96rem;
	line-height: 1.7;
	flex: 1;
}

.n3tw-blizz-body p {
	color: #00b4ff;
	margin: 0 0 1.15rem;
	line-height: 1.7;
}

.n3tw-blizz-body strong,
.n3tw-blizz-body b {
	color: #ffffff;
	font-weight: 700;
}

.n3tw-blizz-body ul,
.n3tw-blizz-body ol {
	color: #00b4ff;
	margin: 0.85rem 0 1.25rem 1.6rem;
	padding: 0;
}

.n3tw-blizz-body li {
	color: #00b4ff;
	margin-bottom: 0.6rem;
	line-height: 1.65;
}

.n3tw-blizz-body li::marker {
	color: #00c0ff;
}

.n3tw-blizz-body a {
	color: #38c8ff;
	text-decoration: underline;
}

.n3tw-blizz-body a:hover {
	color: #ffffff;
}

/* Post Footer */
.n3tw-blizz-post-footer {
	margin-top: 1.25rem;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0.82rem;
}

.n3tw-blizz-source-text {
	color: #64748b;
}

.n3tw-blizz-source-text strong {
	color: #94a3b8;
}

.n3tw-blizz-original-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #00c0ff;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.n3tw-blizz-original-btn:hover {
	color: #7dd3fc;
	transform: translateX(2px);
}

@media (max-width: 768px) {
	.n3tw-blizz-post-box {
		flex-direction: column;
	}
	.n3tw-blizz-post-author {
		width: 100%;
		min-width: unset;
		border-right: none;
		border-bottom: 1px solid rgba(0, 180, 255, 0.15);
		flex-direction: row;
		gap: 1rem;
		text-align: left;
		padding: 1rem 1.25rem;
	}
	.n3tw-blizz-avatar-wrap {
		width: 58px;
		height: 58px;
		margin-bottom: 0;
	}
	.n3tw-blizz-post-content {
		padding: 1.2rem;
	}
	.n3tw-blizz-post-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6rem;
	}
}
/* ==========================================================================
   Blizzard Blue Tracker Table View & Filter Navigation (Wowhead/MMO-C Style)
   ========================================================================== */

/* Filter Navigation */
.n3tw-blizz-filter-nav {
	margin-bottom: 1.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.n3tw-blizz-filter-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	justify-content: flex-start;
}

.n3tw-blizz-filter-tab {
	color: #94a3b8;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.25rem 0.1rem;
	position: relative;
	transition: all 0.2s ease;
}

.n3tw-blizz-filter-tab:hover {
	color: #00b4ff;
}

.n3tw-blizz-filter-tab.is-active {
	color: #00b4ff;
	font-weight: 800;
}

.n3tw-blizz-filter-tab.is-active::after {
	content: '';
	position: absolute;
	bottom: -0.85rem;
	left: 0;
	right: 0;
	height: 2px;
	background: #00b4ff;
	box-shadow: 0 0 8px rgba(0, 180, 255, 0.8);
}

.n3tw-blizz-rss-tab {
	color: #f59e0b;
	display: inline-flex;
	align-items: center;
	margin-left: auto;
	padding: 0.2rem;
	transition: transform 0.2s ease, color 0.2s ease;
}

.n3tw-blizz-rss-tab:hover {
	color: #fbbf24;
	transform: scale(1.15);
}

/* View Mode Buttons */
.n3tw-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #94a3b8;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.n3tw-view-btn svg {
	width: 14px;
	height: 14px;
}

.n3tw-view-btn:hover {
	color: #00b4ff;
}

.n3tw-view-btn.active {
	background: rgba(0, 180, 255, 0.18);
	color: #00c0ff;
	box-shadow: 0 0 10px rgba(0, 192, 255, 0.2);
}

/* Table Responsive Container */
.n3tw-blizz-table-responsive {
	overflow-x: auto;
	background: #090e17;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.n3tw-blizz-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-family: var(--font-body, system-ui, sans-serif);
}

.n3tw-blizz-table thead tr {
	background: rgba(14, 22, 34, 0.8);
	border-bottom: 1px solid rgba(0, 180, 255, 0.2);
}

.n3tw-blizz-table th {
	padding: 0.85rem 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #7dd3fc;
	white-space: nowrap;
}

.n3tw-blizz-table th.th-num { width: 48px; text-align: center; }
.n3tw-blizz-table th.th-topic { min-width: 320px; }
.n3tw-blizz-table th.th-lastblue { width: 140px; }
.n3tw-blizz-table th.th-date { width: 130px; }
.n3tw-blizz-table th.th-forum { width: 260px; }
.n3tw-blizz-table th.th-author { width: 140px; }

/* Table Rows */
.n3tw-blizz-row {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: background 0.15s ease;
}

.n3tw-blizz-row:hover {
	background: rgba(0, 180, 255, 0.05);
}

.n3tw-blizz-row td {
	padding: 0.75rem 1rem;
	font-size: 0.88rem;
	vertical-align: middle;
}

.td-num {
	text-align: center;
	color: #64748b;
	font-weight: 700;
	font-size: 0.82rem;
}

.n3tw-topic-wrap {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.n3tw-topic-flag {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.n3tw-topic-link {
	color: #00b4ff;
	font-weight: 600;
	font-size: 0.94rem;
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.15s ease;
}

.n3tw-topic-link:hover {
	color: #38c8ff;
	text-decoration: underline;
}

.n3tw-row-expand-btn {
	background: none;
	border: none;
	color: #64748b;
	cursor: pointer;
	padding: 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	margin-left: 0.25rem;
	transition: transform 0.2s ease, color 0.2s ease;
}

.n3tw-row-expand-btn svg {
	width: 14px;
	height: 14px;
}

.n3tw-row-expand-btn:hover,
.n3tw-row-expand-btn.is-open {
	color: #00c0ff;
}

.n3tw-row-expand-btn.is-open {
	transform: rotate(180deg);
}

.n3tw-author-link {
	color: #00b4ff;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.15s ease;
}

.n3tw-author-link:hover {
	color: #38c8ff;
	text-decoration: underline;
}

.n3tw-date-text {
	color: #94a3b8;
	font-size: 0.85rem;
	white-space: nowrap;
}

.n3tw-forum-name {
	color: #cbd5e1;
	font-size: 0.85rem;
}

/* Accordion Expand Row */
.n3tw-blizz-expand-row td {
	padding: 0;
	background: #060a10;
}

.n3tw-expand-inner {
	padding: 1.25rem 1.5rem;
	border-top: 1px dashed rgba(0, 180, 255, 0.25);
	border-bottom: 1px solid rgba(0, 180, 255, 0.35);
}

@media (max-width: 992px) {
	.th-forum, .td-forum,
	.th-author, .td-author {
		display: none;
	}
}

@media (max-width: 640px) {
	.th-lastblue, .td-lastblue {
		display: none;
	}
	.n3tw-blizz-table th,
	.n3tw-blizz-table td {
		padding: 0.6rem 0.65rem;
	}
}

/* ==========================================================================
   Comments & Strategy Guides Section
   ========================================================================== */
.n3tw-comments-section {
	margin-top: 3.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.n3tw-comments-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.n3tw-comments-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.35rem;
	margin: 0;
	color: #fff;
}

.n3tw-comments-counter {
	background: rgba(229, 174, 69, 0.15);
	color: var(--n3tw-core-gold);
	border: 1px solid rgba(229, 174, 69, 0.35);
	border-radius: 9999px;
	padding: 0.15rem 0.6rem;
	font-size: 0.8rem;
	font-weight: 700;
}

/* Comment Form Card */
.n3tw-comment-form-card {
	background: var(--n3tw-core-card, #0e1420);
	border: 1px solid var(--n3tw-core-border, rgba(255, 255, 255, 0.08));
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.n3tw-auth-error-banner {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.35);
	border-radius: 6px;
	color: #fca5a5;
	font-size: 0.88rem;
}

.n3tw-auth-error-banner svg {
	flex-shrink: 0;
	color: #ef4444;
}

.n3tw-form-user-bar {
	margin-bottom: 1rem;
}

.n3tw-current-author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	background: rgba(255, 255, 255, 0.03);
	padding: 0.6rem 0.85rem;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.n3tw-author-img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--n3tw-core-gold, #f59e0b);
}

.n3tw-author-details {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.n3tw-author-name {
	font-weight: 700;
	color: #fff;
	font-size: 0.95rem;
}

.n3tw-auth-logout-btn {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #94a3b8;
	font-size: 0.8rem;
	text-decoration: none;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	transition: all 0.2s ease;
}

.n3tw-auth-logout-btn:hover {
	color: #f87171;
	border-color: rgba(248, 113, 113, 0.3);
	background: rgba(239, 68, 68, 0.1);
}

/* Guest & Social Login Group */
.n3tw-guest-fields-group {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.n3tw-social-login-bar {
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 6px;
	padding: 0.85rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.n3tw-social-login-label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #94a3b8;
}

.n3tw-social-login-label svg {
	color: var(--n3tw-core-gold, #f59e0b);
}

.n3tw-social-buttons {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.n3tw-social-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.85rem;
	border-radius: 5px;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	line-height: 1;
}

.n3tw-social-btn svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.n3tw-social-btn-discord {
	background: #5865F2;
	color: #ffffff;
	border: 1px solid #4752c4;
}

.n3tw-social-btn-discord:hover {
	background: #4752c4;
	color: #ffffff;
	box-shadow: 0 0 12px rgba(88, 101, 242, 0.45);
	transform: translateY(-1px);
}

.n3tw-social-btn-bnet {
	background: #0074e0;
	color: #ffffff;
	border: 1px solid #005bb5;
}

.n3tw-social-btn-bnet:hover {
	background: #0088ff;
	color: #ffffff;
	box-shadow: 0 0 12px rgba(0, 174, 255, 0.45);
	transform: translateY(-1px);
}

.n3tw-social-btn-twitch {
	background: #9146FF;
	color: #ffffff;
	border: 1px solid #772ce8;
}

.n3tw-social-btn-twitch:hover {
	background: #772ce8;
	color: #ffffff;
	box-shadow: 0 0 12px rgba(145, 70, 255, 0.45);
	transform: translateY(-1px);
}

.n3tw-social-divider {
	font-size: 0.76rem;
	color: #64748b;
	text-align: left;
}

.n3tw-guest-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.n3tw-guest-input-wrap label {
	font-size: 0.85rem;
	color: var(--n3tw-core-muted, #94a3b8);
	font-weight: 600;
}

.n3tw-guest-input-wrap input {
	padding: 0.45rem 0.75rem;
	background: #080d16;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	color: #fff;
	font-size: 0.9rem;
	width: 240px;
	max-width: 100%;
}

.n3tw-textarea-wrap {
	margin-bottom: 1rem;
}

.n3tw-textarea {
	width: 100%;
	background: #080d16;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 6px;
	padding: 0.85rem 1rem;
	color: #e2e8f0;
	font-size: 0.95rem;
	font-family: inherit;
	resize: vertical;
	box-sizing: border-box;
}

.n3tw-textarea:focus {
	outline: none;
	border-color: var(--n3tw-core-blue, #54bfff);
	box-shadow: 0 0 0 2px rgba(84, 191, 255, 0.2);
}

.n3tw-form-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.n3tw-replying-notice {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--n3tw-core-blue);
	font-size: 0.85rem;
}

.n3tw-btn-cancel-reply {
	background: transparent;
	border: none;
	color: #ef4444;
	cursor: pointer;
	font-weight: 700;
}

.n3tw-comment-msg {
	margin-top: 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	font-size: 0.85rem;
}

.n3tw-comment-msg.is-success {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.n3tw-comment-msg.is-error {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Comment Cards */
.n3tw-comments-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.n3tw-comment-card {
	display: flex;
	gap: 1rem;
	background: var(--n3tw-core-card, #0e1420);
	border: 1px solid var(--n3tw-core-border, rgba(255, 255, 255, 0.08));
	border-radius: 8px;
	padding: 1.25rem;
	transition: border-color 0.2s;
}

.n3tw-comment-card:hover {
	border-color: rgba(255, 255, 255, 0.15);
}

.n3tw-comment-card.is-reply {
	margin-top: 0.75rem;
	background: rgba(0, 0, 0, 0.25);
	border-left: 2px solid var(--n3tw-core-gold);
}

/* Vote Column */
.n3tw-vote-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.25rem;
	min-width: 36px;
}

.n3tw-vote-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	color: #94a3b8;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	padding: 0;
}

.n3tw-vote-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.n3tw-vote-btn.n3tw-vote-up:hover,
.n3tw-vote-btn.n3tw-vote-up.has-voted {
	color: #10b981;
	border-color: #10b981;
	background: rgba(16, 185, 129, 0.15);
}

.n3tw-vote-btn.n3tw-vote-down:hover,
.n3tw-vote-btn.n3tw-vote-down.has-voted {
	color: #ef4444;
	border-color: #ef4444;
	background: rgba(239, 68, 68, 0.15);
}

.n3tw-comment-score {
	font-weight: 700;
	font-size: 0.85rem;
	min-height: 1.2rem;
	display: flex;
	align-items: center;
}

.n3tw-comment-score.is-positive {
	color: #10b981;
}

.n3tw-comment-score.is-negative {
	color: #ef4444;
}

.n3tw-comment-score.is-zero {
	color: #94a3b8;
}

/* Comment Body */
.n3tw-comment-body {
	flex: 1;
}

.n3tw-comment-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
	flex-wrap: wrap;
}

.n3tw-comment-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.n3tw-comment-avatar-placeholder {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.75rem;
	color: #fff;
	text-transform: uppercase;
}

.n3tw-comment-author {
	font-weight: 700;
	color: #fff;
	font-size: 0.95rem;
}

.n3tw-comment-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1;
}

.n3tw-badge-discord {
	background: rgba(88, 101, 242, 0.15);
	color: #5865F2;
	border: 1px solid rgba(88, 101, 242, 0.35);
}

.n3tw-badge-bnet {
	background: rgba(0, 174, 255, 0.15);
	color: #00aeff;
	border: 1px solid rgba(0, 174, 255, 0.35);
}

.n3tw-badge-twitch {
	background: rgba(145, 70, 255, 0.15);
	color: #9146FF;
	border: 1px solid rgba(145, 70, 255, 0.35);
}

.n3tw-comment-time {
	color: #64748b;
	font-size: 0.8rem;
	margin-left: auto;
}

.n3tw-comment-text {
	color: #cbd5e1;
	font-size: 0.95rem;
	line-height: 1.55;
	word-break: break-word;
}

.n3tw-comment-actions {
	margin-top: 0.6rem;
}

.n3tw-reply-btn {
	background: transparent;
	border: none;
	color: #94a3b8;
	font-size: 0.8rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	cursor: pointer;
	padding: 0.2rem 0.4rem;
	border-radius: 4px;
	transition: color 0.15s;
}

.n3tw-reply-btn:hover {
	color: var(--n3tw-core-blue, #54bfff);
	background: rgba(255, 255, 255, 0.05);
}

.n3tw-empty-comments {
	padding: 2.5rem;
	text-align: center;
	background: var(--n3tw-core-card, #0e1420);
	border: 1px dashed rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--n3tw-core-muted, #94a3b8);
}

/* ==========================================
 * Character Armory & Battle.net Inspector
 * ========================================== */
.n3tw-armory-inspector {
	margin-bottom: 2.5rem;
}

.n3tw-armory-search-card {
	background: var(--n3tw-core-card, #0e1420);
	border: 1px solid var(--n3tw-core-border, rgba(255, 255, 255, 0.08));
	border-radius: 8px;
	padding: 1.5rem;
}

.n3tw-armory-inputs {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	align-items: flex-end;
}

.n3tw-input-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	flex: 1;
	min-width: 200px;
}

.n3tw-input-group label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #94a3b8;
}

.n3tw-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.n3tw-input-icon {
	position: absolute;
	left: 0.85rem;
	color: #64748b;
	pointer-events: none;
}

.n3tw-armory-input {
	width: 100%;
	background: #080d16;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 6px;
	padding: 0.65rem 0.85rem 0.65rem 2.5rem;
	color: #fff;
	font-size: 0.95rem;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.n3tw-armory-input:focus {
	outline: none;
	border-color: var(--n3tw-core-gold, #f59e0b);
}

.n3tw-armory-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.4rem;
	background: var(--n3tw-core-gold, #f59e0b);
	color: #0b0f19;
	font-weight: 700;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	height: 42px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.n3tw-armory-submit:hover {
	background: #d97706;
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
	transform: translateY(-1px);
}

.n3tw-quick-lookups {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	flex-wrap: wrap;
}

.n3tw-quick-label {
	font-size: 0.8rem;
	color: #64748b;
}

.n3tw-quick-pill {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	font-size: 0.8rem;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.n3tw-quick-pill:hover {
	color: #fff;
	border-color: var(--n3tw-core-gold, #f59e0b);
	background: rgba(245, 158, 11, 0.1);
}

.n3tw-armory-loader {
	text-align: center;
	padding: 2.5rem;
	color: var(--n3tw-core-gold, #f59e0b);
}

.n3tw-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid rgba(245, 158, 11, 0.2);
	border-top-color: var(--n3tw-core-gold, #f59e0b);
	border-radius: 50%;
	animation: n3twSpin 0.8s linear infinite;
	margin: 0 auto 0.75rem;
}

@keyframes n3twSpin {
	to { transform: rotate(360deg); }
}

.n3tw-armory-feedback {
	padding: 0.85rem 1.25rem;
	border-radius: 6px;
	margin-top: 1rem;
	font-size: 0.9rem;
}

.n3tw-armory-feedback.is-error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fca5a5;
}

/* Character Sheet View */
.n3tw-character-sheet {
	margin-top: 1.5rem;
	background: #090e18;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.n3tw-sheet-header {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.5rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.4) 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.n3tw-sheet-avatar-wrap {
	flex-shrink: 0;
}

.n3tw-sheet-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--n3tw-core-gold, #f59e0b);
}

.n3tw-sheet-avatar-placeholder {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #1e293b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.25rem;
	color: #fff;
	border: 2px solid var(--n3tw-core-gold, #f59e0b);
}

.n3tw-sheet-title-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.n3tw-sheet-char-name {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0;
	line-height: 1.2;
}

.n3tw-sheet-faction-badge {
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.n3tw-sheet-faction-badge.is-alliance {
	background: rgba(0, 116, 224, 0.2);
	color: #38bdf8;
	border: 1px solid rgba(0, 116, 224, 0.4);
}

.n3tw-sheet-faction-badge.is-horde {
	background: rgba(220, 38, 38, 0.2);
	color: #f87171;
	border: 1px solid rgba(220, 38, 38, 0.4);
}

.n3tw-sheet-ilvl-badge {
	background: rgba(245, 158, 11, 0.15);
	color: var(--n3tw-core-gold, #f59e0b);
	border: 1px solid rgba(245, 158, 11, 0.35);
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 700;
}

.n3tw-sheet-sub-row {
	color: #94a3b8;
	font-size: 0.95rem;
	margin: 0.35rem 0;
}

.n3tw-sheet-sep {
	margin: 0 0.35rem;
	color: #475569;
}

.n3tw-sheet-sync-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.8rem;
	color: #64748b;
	margin-top: 0.4rem;
}

.n3tw-sheet-refresh-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #cbd5e1;
	font-size: 0.78rem;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.n3tw-sheet-refresh-btn:hover {
	background: rgba(245, 158, 11, 0.15);
	border-color: var(--n3tw-core-gold, #f59e0b);
	color: #fff;
}

.n3tw-sheet-equipment-grid {
	display: grid;
	grid-template-columns: 280px 1fr 280px;
	gap: 1.5rem;
	padding: 1.5rem;
}

@media (max-width: 992px) {
	.n3tw-sheet-equipment-grid {
		grid-template-columns: 1fr;
	}
}

.n3tw-gear-col {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.n3tw-gear-slot {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	padding: 0.5rem 0.75rem;
	transition: border-color 0.15s ease;
}

.n3tw-gear-slot.has-item:hover {
	border-color: rgba(255, 255, 255, 0.2);
}

.n3tw-gear-icon-box {
	width: 36px;
	height: 36px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #05080f;
	border: 1px solid #333;
}

.n3tw-gear-icon-box.q-epic {
	border-color: #a335ee;
	box-shadow: 0 0 6px rgba(163, 53, 238, 0.4);
	color: #a335ee;
}

.n3tw-gear-icon-box.q-rare {
	border-color: #0070dd;
	box-shadow: 0 0 6px rgba(0, 112, 221, 0.4);
	color: #0070dd;
}

.n3tw-gear-icon-box.q-uncommon {
	border-color: #1eff00;
	box-shadow: 0 0 6px rgba(30, 255, 0, 0.4);
	color: #1eff00;
}

.n3tw-gear-icon-box.q-legendary {
	border-color: #ff8000;
	box-shadow: 0 0 8px rgba(255, 128, 0, 0.5);
	color: #ff8000;
}

.n3tw-gear-info {
	overflow: hidden;
}

.n3tw-gear-name {
	font-weight: 700;
	font-size: 0.88rem;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 190px;
}

.n3tw-gear-name.q-epic { color: #a335ee; }
.n3tw-gear-name.q-rare { color: #0070dd; }
.n3tw-gear-name.q-uncommon { color: #1eff00; }
.n3tw-gear-name.q-legendary { color: #ff8000; }
.n3tw-gear-name.q-common { color: #fff; }

.n3tw-gear-meta {
	font-size: 0.76rem;
	color: #64748b;
	display: block;
	margin-top: 2px;
}

.n3tw-gear-ilvl {
	color: var(--n3tw-core-gold, #f59e0b);
}

.n3tw-char-render-box {
	text-align: center;
	max-height: 300px;
	overflow: hidden;
	margin-bottom: 1.25rem;
}

.n3tw-char-render-img {
	max-height: 300px;
	object-fit: contain;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
}

.n3tw-char-attributes-card {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	padding: 1rem;
	margin-bottom: 1.25rem;
}

.n3tw-attr-title {
	font-size: 0.85rem;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	letter-spacing: 0.05em;
}

.n3tw-attr-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.5rem 1rem;
}

.n3tw-attr-item {
	display: flex;
	justify-content: space-between;
	font-size: 0.84rem;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
	padding-bottom: 0.25rem;
}

.n3tw-attr-label {
	color: #64748b;
}

.n3tw-attr-val {
	color: #fff;
	font-weight: 700;
}

.n3tw-attr-val.is-health { color: #10b981; }
.n3tw-attr-val.is-power { color: #38bdf8; }

.n3tw-gear-bottom-row {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   NPC & Boss Database & Zone Radar Coordinates Map
   ========================================================================== */
.n3tw-zone-radar-card {
	background: #0b0e14;
	border: 1px solid rgba(84, 191, 255, 0.2);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.n3tw-radar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
	background: rgba(15, 23, 42, 0.85);
	border-bottom: 1px solid rgba(84, 191, 255, 0.15);
}

.n3tw-radar-zone-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: #f1f5f9;
	font-size: 0.95rem;
}

.n3tw-radar-coords-pill {
	font-size: 0.8rem;
	font-weight: 700;
	color: #ef4444;
	background: rgba(239, 68, 68, 0.12);
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.n3tw-radar-canvas-wrap {
	position: relative;
	background: #07090e;
}

.n3tw-radar-svg {
	display: block;
	width: 100%;
	height: auto;
}

.n3tw-radar-legend {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.6rem 1rem;
	background: rgba(15, 23, 42, 0.9);
	border-top: 1px solid rgba(84, 191, 255, 0.1);
	font-size: 0.8rem;
}

.n3tw-legend-text {
	color: #94a3b8;
}

.n3tw-coords-list {
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
}

.n3tw-coord-badge {
	color: #54bfff;
	background: rgba(84, 191, 255, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
	border: 1px solid rgba(84, 191, 255, 0.2);
	font-size: 0.75rem;
}

.n3tw-npc-boss {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(185, 28, 28, 0.35));
	color: #fca5a5;
	border: 1px solid #ef4444;
	box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
	font-weight: 700;
}

.n3tw-npc-rare-elite,
.n3tw-npc-elite {
	background: linear-gradient(135deg, rgba(229, 174, 69, 0.2), rgba(180, 83, 9, 0.3));
	color: #fde047;
	border: 1px solid #e5ae45;
	font-weight: 700;
}

.n3tw-npc-rare {
	background: rgba(148, 163, 184, 0.2);
	color: #e2e8f0;
	border: 1px solid #94a3b8;
	font-weight: 600;
}

.n3tw-level-skull {
	color: #ef4444;
	font-weight: 800;
	letter-spacing: 0.05em;
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
}

.n3tw-reaction-friendly {
	color: #22c55e;
}
.n3tw-reaction-neutral {
	color: #eab308;
}
.n3tw-reaction-hostile {
	color: #ef4444;
}

/* ==========================================================================
   Universal Instant Live Search & Modal
   ========================================================================== */
.header-search-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(15, 23, 42, 0.65);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: 6px;
	padding: 0.35rem 0.65rem;
	color: #94A3B8;
	font-size: 0.85rem;
	cursor: pointer;
	transition: all 0.15s ease;
	line-height: 1;
}

.header-search-btn:hover {
	color: #54BFFF;
	border-color: rgba(84, 191, 255, 0.4);
	background: rgba(15, 23, 42, 0.9);
}

.header-search-btn svg {
	width: 15px;
	height: 15px;
}

.header-search-kbd {
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 4px;
	font-size: 0.68rem;
	padding: 1px 5px;
	color: #CBD5E1;
	font-family: inherit;
}

/* Search Modal Overlay */
.n3tw-search-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 10vh;
}

.n3tw-search-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(4, 9, 20, 0.85);
	backdrop-filter: blur(10px);
}

.n3tw-search-modal-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 760px;
	margin: 0 1rem;
	animation: n3twFadeDown 0.2s ease-out;
}

@keyframes n3twFadeDown {
	from {
		opacity: 0;
		transform: translateY(-16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.n3tw-search-modal-close {
	position: absolute;
	right: 4px;
	top: -38px;
	background: transparent;
	border: none;
	font-size: 2rem;
	line-height: 1;
	color: #94A3B8;
	cursor: pointer;
	padding: 0;
	transition: color 0.15s ease;
}

.n3tw-search-modal-close:hover {
	color: #FFFFFF;
}

/* Instant Results Floating Dropdown */
.search-input-wrap {
	position: relative;
}

.n3tw-instant-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #0B1120;
	border: 1px solid rgba(84, 191, 255, 0.35);
	border-radius: 8px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(84, 191, 255, 0.15);
	max-height: 480px;
	overflow-y: auto;
	z-index: 10000;
	scrollbar-width: thin;
	scrollbar-color: rgba(84, 191, 255, 0.3) rgba(15, 23, 42, 0.6);
}

.n3tw-instant-dropdown::-webkit-scrollbar {
	width: 6px;
}

.n3tw-instant-dropdown::-webkit-scrollbar-thumb {
	background: rgba(84, 191, 255, 0.3);
	border-radius: 3px;
}

.n3tw-instant-group-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.45rem 0.85rem;
	background: rgba(15, 23, 42, 0.9);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #94A3B8;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
	border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.n3tw-instant-group-header:first-child {
	border-top: none;
}

.n3tw-instant-group-count {
	font-size: 0.7rem;
	background: rgba(84, 191, 255, 0.15);
	color: #54BFFF;
	padding: 1px 6px;
	border-radius: 10px;
}

.n3tw-instant-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.85rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(148, 163, 184, 0.06);
	transition: background 0.12s ease;
}

.n3tw-instant-item:hover,
.n3tw-instant-item.is-active {
	background: rgba(84, 191, 255, 0.12);
}

.n3tw-instant-icon-wrap {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.n3tw-instant-icon {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	object-fit: cover;
	border: 1px solid rgba(84, 191, 255, 0.2);
}

.n3tw-instant-icon-placeholder {
	width: 32px;
	height: 32px;
	border-radius: 4px;
	background: rgba(30, 41, 59, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	border: 1px solid rgba(148, 163, 184, 0.2);
}

.n3tw-instant-info {
	flex: 1;
	min-width: 0;
}

.n3tw-instant-title {
	font-size: 0.92rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.n3tw-instant-sub {
	font-size: 0.78rem;
	color: #94A3B8;
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 2px;
	flex-wrap: wrap;
}

.n3tw-instant-ilvl {
	color: #E5AE45;
	font-weight: 600;
}

.n3tw-instant-arrow {
	color: #64748B;
	opacity: 0;
	transition: opacity 0.12s ease;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.n3tw-instant-item:hover .n3tw-instant-arrow,
.n3tw-instant-item.is-active .n3tw-instant-arrow {
	opacity: 1;
	color: #54BFFF;
}

.n3tw-instant-footer {
	padding: 0.75rem;
	text-align: center;
	background: rgba(15, 23, 42, 0.95);
	border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.n3tw-instant-footer a {
	color: #54BFFF;
	font-weight: 600;
	font-size: 0.85rem;
	text-decoration: none;
}

.n3tw-instant-footer a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.header-search-btn .header-search-label,
	.header-search-btn .header-search-kbd {
		display: none;
	}
	.header-search-btn {
		padding: 0.4rem;
	}
}

/* ==========================================================================
   Interactive Floating Tooltip (Wowhead Style)
   ========================================================================== */
.n3tw-wow-floating-tooltip {
	position: fixed;
	z-index: 100000;
	pointer-events: none;
	width: max-content;
	max-width: 380px;
	animation: n3twTipFade 0.08s ease-out;
}

@keyframes n3twTipFade {
	from {
		opacity: 0;
		transform: scale(0.97);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.n3tw-wow-floating-tooltip .n3tw-wow-tooltip-card {
	margin: 0;
	border: 1px solid rgba(84, 191, 255, 0.4);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 0, 0, 0.7);
	background: #0B1120;
	border-radius: 6px;
}

.n3tw-wow-floating-tooltip .n3tw-tooltip-inner {
	padding: 0.75rem 0.9rem;
}

/* Inline tooltip link styling */
.n3tw-tooltip-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	text-decoration: underline;
	transition: opacity 0.15s ease;
}

.n3tw-tooltip-link:hover {
	opacity: 0.85;
}

.n3tw-tooltip-inline-icon {
	width: 18px;
	height: 18px;
	border-radius: 3px;
	object-fit: cover;
	display: inline-block;
	vertical-align: middle;
	border: 1px solid rgba(148, 163, 184, 0.3);
}

