:root {
	--primary-color: #4facfe;
	--secondary-color: #00f2fe;
	--accent-color: #7affff;
	--bg-dark: #0f172a;
	--bg-card: rgba(255, 255, 255, 0.05);
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--success: #10b981;
	--warning: #f59e0b;
	--danger: #ef4444;
	--font-main: 'Outfit', sans-serif;
}

/* Language Switching */
html[data-lang="nl"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-nl { display: none !important; }

body {
	margin: 0;
	font-family: var(--font-main);
	background-color: var(--bg-dark);
	color: var(--text-primary);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.background-animation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	background-size: 400% 400%;
	animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
	width: 100%;
	flex: 1;
}

/* Theme overrides for light mode */
html.light {
	--bg-dark: #f8fafc;
	--bg-card: rgba(0, 0, 0, 0.05);
	--text-primary: #0f172a;
	--text-secondary: #475569;
}

html.light .background-animation {
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.top-controls {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	gap: 10px;
	z-index: 100;
}

.control-btn {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--text-primary);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
}

.control-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

html.light .control-btn {
	background: rgba(0, 0, 0, 0.05);
	border-color: rgba(0, 0, 0, 0.1);
}
html.light .control-btn:hover {
	background: rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
	text-align: center;
	margin-bottom: 50px;
}

.logo-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin: 0;
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -1px;
}

.subtitle {
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-top: 12px;
	letter-spacing: -0.2px;
}

.hero-subheadline {
	font-size: 1.05rem;
	color: var(--text-secondary);
	opacity: 0.9;
	max-width: 680px;
	margin: 10px auto 0;
	line-height: 1.55;
}

.seo-description {
	font-size: 0.9rem;
	color: var(--text-secondary);
	opacity: 0.7;
	margin-top: 15px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
}

/* Glassy Card */
.glassy {
	background: var(--bg-card);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
	border-radius: 20px;
}

.search-card {
	padding: 30px;
	margin-bottom: 40px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.input-group {
	display: flex;
	gap: 15px;
}

.urlInput {
	flex: 1;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 15px 20px;
	font-size: 1.1rem;
	color: var(--text-primary);
	font-family: var(--font-main);
	transition: all 0.3s ease;
}

.urlInput:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.2);
}

button {
	cursor: pointer;
	font-family: var(--font-main);
	font-weight: 600;
	transition: all 0.3s ease;
}

.btnURLCheck {
	background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
	border: none;
	border-radius: 12px;
	padding: 15px 30px;
	font-size: 1.1rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btnURLCheck:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

/* Results Area */
.urlHeadersDiv {
	animation: fadeIn 0.5s ease-out;
}

.hidden {
	display: none;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.controls {
	text-align: right;
	margin-bottom: 15px;
}

.secondary-btn {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--text-secondary);
	padding: 8px 16px;
	border-radius: 8px;
}

.secondary-btn:hover {
	border-color: var(--text-primary);
	color: var(--text-primary);
}

.results-area {
	background: var(--bg-card);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 30px;
	overflow: hidden;
}

/* Tables and Headers */
.rawTable {
	width: 100%;
	margin-bottom: 20px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.rawTable td {
	padding: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rawTable td:first-child {
	min-width: 300px;
	width: max-content;
	white-space: nowrap;
}

.resultsHeaderDiv {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 30px 0 20px;
	color: var(--accent-color);
	border-bottom: 2px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 10px;
}

.headersDivInfo table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.headersDivInfo h4 {
	margin: 20px 0 10px;
	color: var(--text-primary);
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.8;
}

.noBB {
	background: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
}

.noBB td {
	padding: 15px;
	vertical-align: middle;
}

.noBB td:first-child {
	font-weight: 600;
	color: var(--text-primary);
	border-radius: 8px 0 0 8px;
	min-width: 300px;
	width: max-content;
	white-space: nowrap;
}

.noBB td:last-child {
	border-radius: 0 8px 8px 0;
	color: var(--text-secondary);
}

.scoreIcon {
	width: 24px;
	height: 24px;
}

/* Total Score */
.totalScoreDiv {
	text-align: center;
	padding: 30px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 15px;
	margin-bottom: 30px;
}

.totalScoreDiv h4 {
	font-size: 2.5rem;
	margin: 0;
	background: linear-gradient(to right, #10b981, #34d399);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.textIcon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: bold;
	color: #fff;
	margin-bottom: 10px;
}

.iconGreen {
	background: var(--success);
	box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.iconLightGreen {
	background: #34d399;
}

.iconYellow {
	background: var(--warning);
}

.iconOrange {
	background: #f97316;
}

.iconRed {
	background: var(--danger);
}

.iconGrey {
	background: #64748b;
}

.iconBlue {
	background: #3b82f6;
	box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Download Section */
.downloadSection {
	margin-top: 40px;
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.primary-btn {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--text-primary);
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 0.95rem;
}

.primary-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: var(--accent-color);
}

.fixInstructions {
	margin-top: 15px;
	font-size: 0.9rem;
	color: var(--text-secondary);
	font-style: italic;
}

/* Footer */
.site-footer {
	text-align: center;
	padding: 40px;
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-top: auto;
}

.site-footer a {
	color: var(--primary-color);
	text-decoration: none;
}

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

/* Error Message */
.errorMessage {
	color: var(--danger);
	text-align: center;
	margin-top: 15px;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.logo-title {
		font-size: 2.5rem;
	}

	.subtitle {
		font-size: 1.15rem;
	}

	.hero-subheadline {
		font-size: 0.95rem;
		padding: 0 10px;
		margin-top: 8px;
	}

	.input-group {
		flex-direction: column;
	}

	.btnURLCheck {
		width: 100%;
	}
}

.logo-link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active {
    color: inherit;
    text-decoration: none;
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    border-radius: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 20;
}

.close-btn:hover {
    color: var(--primary-color);
}


.grade-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}
.grade-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}


.iconLightOrange {
    background: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}


/* Modal SEO Content */
.seo-content {
    text-align: left;
}
.seo-content-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.seo-content-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}
.seo-content-text:last-of-type {
    margin-bottom: 0;
}
.seo-content-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.seo-content-links {
    display: flex;
    gap: 15px;
}
.seo-content-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}
.seo-content-link:hover {
    text-decoration: underline;
}
.seo-content-avatar-link {
    display: inline-block;
    transition: transform 0.3s ease;
}
.seo-content-avatar-link:hover {
    transform: scale(1.1);
}
.seo-content-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

/* Privacy/Cookie Page Container */
.policy-container {
    padding: 40px;
    background: var(--bg-dark);
    color: var(--text-primary);
    border-radius: 10px;
    margin-top: 50px;
}

/* Results Widget */
.results-error {
    color: red;
}
.results-meta {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #666;
}
.header-doc-link {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}
.header-doc-link:hover {
    color: var(--primary-color);
}

/* Hall of Fame */
.hall-of-fame-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}
.hall-of-fame-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}
.hall-of-fame-list { display: block; }
.hof-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}
.hof-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.hof-score {
    font-weight: bold;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.8rem;
}
.hof-score-a\+\+ { background: #00d2ff; color: #000; }
.hof-score-a\+ { background: #10b981; color: #fff; }
.hof-score-a { background: #34d399; color: #000; }
.hof-score-b { background: #facc15; color: #000; }
.hof-score-c { background: #f59e0b; color: #fff; }
.hof-score-d { background: #ea580c; color: #fff; }
.hof-score-e { background: #ef4444; color: #fff; }
.hof-score-f { background: #b91c1c; color: #fff; }

/* Modal CSP Fixes */
.modal-title {
	margin-top: 0;
}
.modal-title-center {
	text-align: center;
}
.modal-subtitle {
	text-align: center;
	color: var(--text-secondary);
	margin-bottom: 20px;
}
.nav-modal-links {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
}
.nav-modal-links a {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 1.1rem;
}
.modal-hof {
	max-width: 1400px !important; }

/* Easter Egg Footer */
@keyframes heartbeat {
	0% { transform: scale(1); }
	14% { transform: scale(1.3); }
	28% { transform: scale(1); }
	42% { transform: scale(1.3); }
	70% { transform: scale(1); }
}

#easter-egg-heart {
	cursor: pointer;
	display: inline-block;
	animation: heartbeat 2s infinite;
	margin: 0 5px;
}

.easter-egg-footer-text {
	margin-top: 20px;
	font-size: 0.9em;
	opacity: 0.8;
}





.site-footer-inner { text-align: center; padding: 20px 0; }
.footer-text { color: var(--text-muted, #888); font-size: 0.9rem; margin: 0; }
.footer-link { color: inherit; text-decoration: none; }
.footer-link-inherit { color: inherit; }

/* =========================================
   PREMIUM HALL OF FAME STYLES
   ========================================= */

/* Modal Container (Glassmorphism) */
.modal-hof {
    max-width: 1400px !important;
    width: 95vw !important;
    max-height: calc(100vh - 24px);
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    padding: 14px 20px !important;
    overflow: hidden;
}

.modal-title-center {
    text-align: center;
    font-size: 1.85rem;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 4px 0;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.3;
    color: #94a3b8;
    margin: 0 0 6px 0;
    letter-spacing: 0.02em;
}

/* Scrollable List Container */
.hall-of-fame-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar for the list */
.hall-of-fame-list::-webkit-scrollbar {
    width: 8px;
}
.hall-of-fame-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
}
.hall-of-fame-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}
.hall-of-fame-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.25);
}

/* Table Design */
.hof-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

.hof-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.hof-table th {
    padding: 8px 12px;
    line-height: 1.25;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hof-th-rank  { width: 50px; text-align: center; }
.hof-th-score { width: 80px; text-align: center; }
.hof-th-date  { width: 110px; text-align: right; }

/* Table Rows & Hover Effects */
.hof-row {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hof-row:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.005);
}

.hof-row td {
    padding: 4px 12px;
    line-height: 1.3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.hof-row:last-child td {
    border-bottom: none;
}

/* Rank Medals */
.hof-td-rank {
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.15;
    color: #475569;
}
.hof-rank-gold { 
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    font-size: 1.1rem;
}
.hof-rank-silver { 
    color: #cbd5e1;
    text-shadow: 0 0 10px rgba(203, 213, 225, 0.4);
    font-size: 1.05rem;
}
.hof-rank-bronze { 
    color: #b45309;
    font-size: 1rem;
}

/* Domain Links */
.hof-domain-link {
    color: #f1f5f9;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}
.hof-domain-link:hover {
    color: #818cf8;
    text-shadow: 0 0 8px rgba(129, 140, 248, 0.4);
}

/* Score Badges */
.hof-td-score {
    text-align: center;
}
.hof-badge {
    display: inline-block;
    padding: 2px 9px;
    line-height: 1.25;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
}

/* Glowing Grades */
.hof-badge-app { background: linear-gradient(135deg, #059669, #10b981); color: #fff; box-shadow: 0 0 12px rgba(16, 185, 129, 0.4); }
.hof-badge-ap  { background: linear-gradient(135deg, #10b981, #34d399); color: #022c22; box-shadow: 0 0 10px rgba(52, 211, 153, 0.3); }
.hof-badge-a   { background: linear-gradient(135deg, #34d399, #6ee7b7); color: #022c22; }
.hof-badge-am  { background: linear-gradient(135deg, #4ade80, #86efac); color: #052e16; }
.hof-badge-bp  { background: linear-gradient(135deg, #84cc16, #bef264); color: #1a2e05; }
.hof-badge-b   { background: linear-gradient(135deg, #eab308, #fde047); color: #422006; }
.hof-badge-bm  { background: linear-gradient(135deg, #d97706, #fbbf24); color: #451a03; }
.hof-badge-cp  { background: linear-gradient(135deg, #f59e0b, #fed7aa); color: #451a03; }
.hof-badge-c   { background: linear-gradient(135deg, #ea580c, #f97316); color: #fff; }
.hof-badge-cm  { background: linear-gradient(135deg, #c2410c, #ea580c); color: #fff; }
.hof-badge-dp  { background: linear-gradient(135deg, #e11d48, #f43f5e); color: #fff; }
.hof-badge-d   { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.hof-badge-dm  { background: linear-gradient(135deg, #b91c1c, #dc2626); color: #fff; }
.hof-badge-ep  { background: linear-gradient(135deg, #991b1b, #b91c1c); color: #fff; }
.hof-badge-e   { background: linear-gradient(135deg, #7f1d1d, #991b1b); color: #fff; }
.hof-badge-em  { background: linear-gradient(135deg, #5c1414, #7f1d1d); color: #fecaca; }
.hof-badge-f   { background: linear-gradient(135deg, #450a0a, #7f1d1d); color: #fca5a5; box-shadow: 0 0 10px rgba(127, 29, 29, 0.5); }
.hof-badge-waf { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 0 10px rgba(124, 58, 237, 0.4); }
.iconPurple { background: #8b5cf6; box-shadow: 0 0 15px rgba(139, 92, 246, 0.4); color: #fff; }

/* Dates */
.hof-td-date {
    text-align: right;
    color: #64748b;
    font-size: 0.85rem;
    font-family: monospace;
}

.hof-empty {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-style: italic;
}

/* Hall of Fame Stats Dashboard - Clean 2-Row Distribution */
.hof-stats {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 6px;
    margin-bottom: 6px;
    padding: 7px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.hof-stats-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    width: 100%;
}
.hof-stat-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 8px;
    border-radius: 8px;
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.hof-stat-count {
    margin-top: 0;
    font-size: 0.82rem;
    line-height: 1.25;
    font-weight: 700;
    color: #e2e8f0;
    white-space: nowrap;
}
.hof-stat-pct {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}
@media (max-width: 900px) {
    .hof-stats-row {
        flex-wrap: wrap;
    }
    .hof-stat-box {
        flex: 1 1 calc(25% - 6px);
    }
}
@media (max-width: 540px) {
    .hof-stat-box {
        flex: 1 1 calc(50% - 6px);
    }
}
.hof-table-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    max-height: none;
}
.hof-table-wrapper::-webkit-scrollbar { width: 8px; }
.hof-table-wrapper::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 10px; }
.hof-table-wrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }





.hof-perc {
    font-size: 0.85em;
    opacity: 0.75;
    margin-left: 4px;
    font-weight: 500;
}

/* Hall of Fame Switcher */
.hof-view-switch-wrapper {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin: 2px 0 8px 0;
}
.hof-view-switch {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.4);
    padding: 3px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
}
.hof-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 4px 16px;
    line-height: 1.3;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.hof-tab-btn:hover {
    color: #f8fafc;
}
.hof-tab-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}
.hof-tab-count {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: 4px;
    font-weight: 500;
}
html.light .hof-view-switch {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}
html.light .hof-tab-btn {
    color: #475569;
}
html.light .hof-tab-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}






/* =========================================
   FIX-IT WIZARD STYLES (PORTED FROM SANDBOX)
   ========================================= */
.control-panel-grid { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
.cp-row { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: center; background: rgba(30,41,59,0.7); padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 0.75rem; }
.row-danger { border-left: 4px solid var(--danger); box-shadow: -4px 0 15px rgba(239,68,68,0.2); }

.cp-info h2 { margin: 0 0 0.25rem 0; font-size: 1.15rem; display: flex; align-items: center; justify-content: space-between; }
.badge-tag { font-size: 0.7rem; padding: 0.1rem 0.5rem; border-radius: 4px; background: rgba(255,255,255,0.1); font-weight: normal; }
.tutorial-desc { font-size: 0.85rem; line-height: 1.5; color: #94a3b8; margin: 0.5rem 0; }
.tutorial-desc strong { color: #e2e8f0; font-weight: 600; }
.cp-info code { display: block; padding: 0.5rem; border-radius: 6px; font-family: monospace; font-size: 0.85rem; margin-top: 0.5rem; word-break: break-all; }
.code-inactive { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px dashed rgba(239,68,68,0.3); opacity: 0.8; }

.cp-test { background: rgba(0,0,0,0.3); border-radius: 8px; padding: 0.75rem 1rem; min-height: 60px; display: flex; align-items: center; justify-content: flex-start; gap: 1rem; border: 1px solid rgba(255,255,255,0.05); text-align: left; }
.test-danger { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.4); color: #fca5a5; box-shadow: inset 0 0 20px rgba(239,68,68,0.2); }
.status-icon { font-size: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.status-text { display: flex; flex-direction: column; }
.status-text strong { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.status-text .detail { font-size: 0.8rem; opacity: 0.9; margin-top: 0.2rem; line-height: 1.3; }

#wizardScrollArea::-webkit-scrollbar { width: 8px; }
#wizardScrollArea::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); border-radius: 10px; }
#wizardScrollArea::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

/* Navigation and UI Links */
.nav-link-sandbox {
    color: #60a5fa;
    font-weight: 600;
}

/* Fix-it Wizard UI */
.btnWizard {
    background: linear-gradient(to right, #10b981, #3b82f6);
    color: white;
    border: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.modal-wizard {
    max-width: 1000px;
    padding: 0;
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.8);
}
.wizard-close-btn {
    color: white;
    z-index: 10;
}
.wizard-header {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1.5rem;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.wizard-scroll-area {
    padding: 2rem;
    max-height: 75vh;
    overflow-y: auto;
}
.wizard-intro-text {
    text-align: center;
    color: #94a3b8;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 2rem;
}
.wizard-htaccess-box {
    margin-top: 3rem;
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.wizard-htaccess-title {
    margin-top: 0;
    color: #a5b4fc;
    font-size: 1.3rem;
}
.wizard-warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}
.wizard-warning-title {
    color: #fca5a5;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}
.wizard-warning-text {
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.wizard-desc-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.wizard-code-wrapper {
    position: relative;
}
.wizard-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}
.wizard-copy-btn.btn-copied {
    background: #10b981 !important;
}
.wizard-code-pre {
    margin: 0;
    background: rgba(0,0,0,0.6);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    color: #6ee7b7;
    font-family: monospace;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.4;
}
.warning-box-alert {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.warning-box-title {
    color: #fca5a5;
    margin: 0 0 0.5rem 0;
}
.warning-box-desc {
    color: #e2e8f0;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}
.icon-score-invalid {
    font-size: 3rem;
    padding-top: 10px;
}
.risk-highlight {
    color: #fb923c;
}
.wizard-success-msg {
    text-align: center;
    color: #10b981;
    font-size: 1.2rem;
    margin-bottom: 0;
}
.info-box-waf {
    background: rgba(168, 85, 247, 0.12);
    border-left: 4px solid #a855f7;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.info-box-waf .warning-box-title {
    color: #d8b4fe;
    margin: 0 0 0.5rem 0;
}
.info-box-waf .warning-box-desc {
    color: #e2e8f0;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}
.waf-badge-subtle {
    display: inline-block;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid #a855f7;
    color: #d8b4fe;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.info-box-bonus-locked {
    background: rgba(245, 158, 11, 0.12);
    border-left: 4px solid #f59e0b;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.info-box-bonus-locked .warning-box-title {
    color: #fde68a;
    margin: 0 0 0.5rem 0;
}
.info-box-bonus-locked .warning-box-desc {
    color: #e2e8f0;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.score-points-sub {
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.5px;
    vertical-align: middle;
    -webkit-text-fill-color: #cbd5e1;
    color: #cbd5e1;
}

.headers-counter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.headers-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.55);
    color: #e2e8f0;
}

.headers-counter-pill.counter-main {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(52, 211, 153, 0.45);
    color: #a7f3d0;
}

.headers-counter-pill strong {
    color: #ffffff;
    font-weight: 700;
}

html.light .headers-counter-pill {
    background: rgba(241, 245, 249, 0.95);
    border-color: #cbd5e1;
    color: #334155;
}

html.light .headers-counter-pill.counter-main {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(5, 150, 105, 0.4);
    color: #065f46;
}

html.light .headers-counter-pill strong {
    color: #0f172a;
}

.hof-waf-subtle {
    font-size: 0.9em;
    vertical-align: middle;
    cursor: help;
    margin-left: 5px;
}

/* 404 & Action Buttons */
.btn-action-link {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    padding: 12px 28px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-top: 25px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-action-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
    color: #fff;
}


/* ==========================================================================
   COMPACT DESKTOP & WINDOWS 125%-150% SCALING (1280x600 - 1536x750)
   ========================================================================== */
.rawTable td:last-child,
.noBB td:last-child {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (min-width: 769px) and (max-width: 1440px), (min-width: 769px) and (max-height: 820px) {
    .main-container {
        padding: 32px 20px;
    }

    .hero-section {
        margin-bottom: 28px;
    }

    .logo-title {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-top: 8px;
        margin-bottom: 6px;
    }

    .hero-subheadline {
        font-size: 0.92rem;
        max-width: 620px;
        margin-top: 6px;
        margin-bottom: 18px;
        line-height: 1.45;
    }

    .rawTable td:first-child,
    .noBB td:first-child {
        min-width: 200px;
    }

    .modal-content {
        padding: 28px;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
    }

    .modal-hof {
        padding: 12px 18px !important;
        max-height: calc(100vh - 20px);
        overflow: hidden;
    }

    .modal-hof .modal-title-center {
        font-size: 1.55rem;
    }

    .modal-hof .hof-stats {
        padding: 6px 8px;
        gap: 5px;
        margin-bottom: 6px;
    }

    .wizard-header {
        font-size: 1.4rem;
        padding: 1rem 1.25rem;
    }

    .wizard-scroll-area {
        padding: 1.25rem 1.5rem;
        max-height: calc(100vh - 110px);
    }
}


/* Unified ComputerBas Top-Controls Style */
.top-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    z-index: 99999;
}

.control-btn {
    background: rgba(34, 51, 68, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.control-btn:active {
    transform: translateY(0);
}

html.light .control-btn {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1500px), (max-height: 820px) {
    .top-controls {
        top: 12px;
        right: 12px;
    }
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Roadmap to Maximum Score (A++)
   ========================================================================== */
.roadmapDiv {
    margin: 32px 0 20px 0;
    width: 100%;
}

.roadmap-card {
    padding: 26px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.roadmap-header {
    margin-bottom: 22px;
}

.roadmap-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.badge-action {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.roadmap-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.roadmap-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.roadmap-tier-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-tier-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.missing-headers-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.missing-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--warning);
    border-radius: 12px;
    padding: 18px 22px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.missing-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    border-left-color: var(--primary-color);
}

.missing-card-prio1 {
    border-left-color: var(--danger);
}

.missing-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.missing-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.missing-card-name a {
    color: inherit;
    text-decoration: none;
}

.missing-card-name a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.missing-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.missing-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.pill-pts {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pill-threat {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.pill-cat {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.missing-body {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.missing-body p {
    margin: 0 0 8px 0;
}

.missing-body strong {
    color: var(--text-primary);
}

.missing-risk-alert {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 10px 14px;
    border-radius: 8px;
    margin: 12px 0 10px 0;
    font-size: 0.88rem;
    color: #fef3c7;
    line-height: 1.5;
}

.missing-code-snippet {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.86rem;
    color: #38bdf8;
    overflow-x: auto;
    margin-top: 8px;
    white-space: pre-wrap;
    word-break: break-all;
}

.missing-guide-btn {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.missing-guide-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Light Theme Overrides */
html.light .missing-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
}

html.light .missing-card-name {
    color: #0f172a;
}

html.light .missing-body {
    color: #334155;
}

html.light .missing-body strong {
    color: #0f172a;
}

html.light .missing-code-snippet {
    background: #f1f5f9;
    color: #0369a1;
    border-color: #cbd5e1;
}

html.light .missing-risk-alert {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

/* Compact desktop & Windows 125%-150% scaling */
@media (min-width: 769px) and (max-width: 1500px), (min-width: 769px) and (max-height: 820px) {
    .roadmapDiv {
        margin: 20px 0 16px 0;
    }
    .roadmap-card {
        padding: 20px 22px;
    }
    .missing-card {
        padding: 14px 18px;
    }
    .missing-card-name {
        font-size: 1.05rem;
    }
    .missing-body {
        font-size: 0.88rem;
    }
}

/* Mobile (Portrait & Narrow Viewports) */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .top-controls {
        position: static;
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
        padding: 10px 10px 0;
    }

    .control-btn {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

    .main-container {
        padding: 10px 10px 32px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .hero-section {
        margin: 0 0 20px 0;
    }

    .logo-title {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
        line-height: 1.15;
        overflow-wrap: break-word;
    }

    .search-card {
        padding: 16px 12px;
        margin-bottom: 18px;
        border-radius: 16px;
    }

    .input-group {
        gap: 10px;
    }

    .urlInput {
        width: 100%;
        min-width: 0;
        font-size: 1rem;
        padding: 12px 14px;
    }

    .btnURLCheck {
        padding: 12px 18px;
        font-size: 1rem;
    }

    .urlHeadersDiv,
    .results-area,
    .headersDiv,
    .headersDivInfo,
    .headersDivRaw,
    .roadmapDiv {
        min-width: 0;
        max-width: 100%;
    }

    .controls {
        margin-bottom: 10px;
    }

    .results-area {
        padding: 16px 10px;
        border-radius: 16px;
    }

    .resultsHeaderDiv {
        font-size: 1.3rem;
        margin: 16px 0 12px;
    }

    .totalScoreDiv {
        padding: 18px 12px;
        margin-bottom: 18px;
    }

    .totalScoreDiv h4 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .score-points-sub {
        display: inline-block;
        font-size: 0.92rem;
    }

    .headers-counter-bar {
        gap: 6px;
        margin-top: 10px;
    }

    .headers-counter-pill {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .action-buttons {
        gap: 10px;
    }

    .action-buttons .primary-btn {
        width: 100%;
        padding: 12px 14px;
    }

    .info-box-waf,
    .warning-box-alert,
    .info-box-bonus-locked {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }

    .headersDivInfo table,
    .headersDivInfo tbody,
    .rawTable,
    .rawTable tbody {
        display: block;
        width: 100%;
    }

    .resultsTable tr:not(.noBB) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin: 18px 0 8px;
    }

    .resultsTable tr:not(.noBB) td {
        display: block;
        padding: 0;
        text-align: left;
    }

    .resultsTable tr:not(.noBB) td:nth-child(2):empty {
        display: none;
    }

    .resultsTable tr:not(.noBB) td h4 {
        margin: 0;
        font-size: 1.02rem;
    }

    .resultsTable tr.noBB {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 6px 10px;
        padding: 12px 10px;
        margin-bottom: 8px;
        border-radius: 10px;
    }

    .resultsTable tr.noBB td,
    .rawTable tr td,
    .rawTable tr.noBB td,
    .headersDivRaw .rawTable td:first-child {
        display: block;
        padding: 0;
        border-radius: 0;
        border-bottom: none;
        text-align: left;
        min-width: 0;
        width: auto;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .resultsTable tr.noBB td:first-child {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .resultsTable tr.noBB td:nth-child(2) {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
    }

    .resultsTable tr.noBB td:last-child {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .rawTable tr {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 10px 12px;
        margin-bottom: 8px;
        border-radius: 8px;
    }

    .headersDivRaw .rawTable td:first-child {
        font-weight: 700;
        color: var(--primary-color);
        font-size: 0.82rem;
    }

    .roadmap-card {
        padding: 16px 12px;
    }
    .missing-card {
        padding: 12px 10px;
    }
    .missing-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .policy-container {
        padding: 20px 14px;
        margin-top: 8px;
    }

    .policy-container h1 {
        font-size: 1.6rem;
    }

    .modal-content {
        padding: 24px 16px;
        width: 94%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-hof {
        display: block;
        padding: 14px 10px !important;
        max-height: 92vh;
        overflow-y: auto;
    }

    .hall-of-fame-list {
        display: block;
        overflow: visible;
    }

    .hof-table-wrapper {
        max-height: 55vh;
        overflow: auto;
    }

    .cp-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .site-footer {
        padding: 24px 12px;
    }
}
