.overlay-open {
	overflow: hidden;
}
.content.is-blurred {
	filter: blur(6px);
	pointer-events: none;
	user-select: none;
}

.theme-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(10, 16, 28, 0.72);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 3000;
}

.theme-overlay .theme-intro {
	width: 100%;
	max-width: 520px;
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}
/*
By Herreman David
http://www.free-css-templates.com
StyleSheet for BinaryNews Template
*/

body {
 background-color: #e7e7e7;
 color: #FFF;
 padding: 0; margin: 0; font: 0.7em Arial, sans-serif; line-height: 1.5em;
}

a { color: #46574D; background: inherit; }
a:hover { color: #647B6D; background: inherit;}

/* Ensure plugin discovery/finding links are consistent across legacy pages */
.finding-link, a.finding-link { color: #2563eb !important; text-decoration: none !important; font-weight: 600; transition: color .18s ease, opacity .12s ease; }
.finding-link:hover, a.finding-link:hover { text-decoration: underline !important; }

/* Utility helper to hide elements (used by discovery snippet rows) */
.hidden{display:none}

.ln{white-space:pre;display:block}
.ln.highlight{border-left:4px solid #f59e0b;padding-left:.5rem;font-weight:600}

h1 { font: bold 2em Arial, Sans-Serif; letter-spacing: -1px; padding: 16px 0 0 8px; margin: 0; }
h2 { margin: 0; padding: 0; font: normal 1.6em Arial, Sans-Serif; letter-spacing: -1px; }
h1 a { color: #46574D; background: inherit; }
h1 a, h2 a { text-decoration: none; }
h1 a:hover, h2 a:hover { color: #BFE1ED; background: inherit; }
h3 { font: 90% Arial, Sans-Serif; margin: 0 0 10px 0; padding: 0; color: #46574D; background: #FFF; }
p {	margin: 0 0 0px 0; line-height: 1.5em; }
form { margin: 0; }

input.search { width: 122px; height: 15px; border: 1px dashed #46574D; background: #FFF; padding: 3px; color: #616161; }
input.submit { width: 28px; height: 20px; font-weight: bold; border: none; background: #FFF; padding: 3px; color: #616161; }

.search-loading {
	display: none;
	align-items: center;
	gap: 6px;
	font-size: 0.85em;
	color: #555;
	margin: 6px 0 0 0;
}
.search-loading.active {
	display: flex;
}
.search-loading .spinner {
	width: 14px;
	height: 14px;
	border: 2px solid #cfd5dd;
	border-top-color: #2a5db0;
	border-radius: 50%;
	animation: searchSpin 0.9s linear infinite;
}

@keyframes searchSpin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}



.content { 
    background: #FFF; 
	margin: 0 auto;
	padding: 0px;
	width: 886px;
	color: #000;
}

.preheader {
	background: #000 url(preheader.jpg) no-repeat center bottom;
	color: #FFF;
	width: 886px;
	height: 71px;
	margin: 0;
	padding: 0;
}

	.preheader a { color: #FFF; background: inherit; text-decoration:none; }
	.preheader a:hover { color: #FFF; background: inherit;}

.preheader .padding {
	
	float: right;
	padding: 52px 70px 0 0;
	color: #FFF;
}

.header {
	background: #000 url(header.jpg) no-repeat center bottom;
	color: #FFF;
	width: 886px;
	height: 78px;
	margin: 0;
	padding: 0;
}

.header .title {
	float: left;
	padding: 12px 0 0 84px;
	color: #FFF;
	font: bold 1.8em Arial, sans-serif;
}

.header .slogan {
	float: left;
	clear: both;
	padding: 2px 0 0 84px;
	color: #FFF;
	font: bold 0.8em Arial, sans-serif;
}

#nav {
	background: #000 url(menu.jpg) no-repeat center bottom;
	background-color: #000;
	width: 886px;
	height: 28px;
	margin: 0;
	padding: 0;
}

#nav ul { margin:0; list-style:none; padding: 0px 0 0 76px; }
#nav a, #nav strong, #nav span { float:left; display:block; color:#fff; padding: 5px 10px 5px 10px; background: #9e9e9e; text-decoration:none; font-weight: bold; }
#nav a { float:none; }
#nav li { float:left; color: #FFF; background: #9e9e9e; margin:0; padding:0 0 0 0px; }
#nav #current { float:left; background: #aeaeae; color: #FFF; }
#nav #current a { float:left; background: #aeaeae; padding:5px 10px 5px 10px; color:#FFF; }
#nav a:hover { float:left; color:#FFF; background: #aeaeae; }  
#nav .padding { padding: 5px 0 0 10px; font-weight: bold; }


.main_content {
	background: #FFF url(bg.jpg) repeat-y center bottom;
	background-color: #FFF;
	margin: 0 auto;
	padding: 0px;
	width: 886px;
}


.sd_left {

    background-color: #FFF;
	color: #000;
	margin: 0 0 0px 80px;
	padding: 0px 20px 0px 5px;
	width: 500px;
	
}	

.sd_right {
    clear:both;
    background-color: #FFF;
	float: right;
	color: #000;
	margin: 0 90px 0 0;
	padding: 0px 0px 0 15px;
	width: 170px;
	border-left: 1px dashed #ccc;
}	

/* For IE... */
* html .sd_right {
    clear:both;
    background-color: #FFF;
	float: right;
	color: #000;
	margin: 0 40px 0 0;
	padding: 0px 0px 0 15px;
	width: 170px;
	border-left: 1px dashed #ccc;
}	


.text_padding {
	padding: 15px 0 0 0;
}

.main_content h2 {
	background-color: #FFF;
	padding: 5px 0 5px 0;
	color: #46574D;
	font: bold 1.6em Arial, sans-serif;
}


.date { 
	color: #46574D; 
	background: #FFFFFF;
	text-align: right; 
	margin: 10px 0 5px 0; 
	padding: 0.4em 0 0 0; 
	border-top: 1px solid #eee;
}

input.button { 
	background: #FFFFF4; 
	color: #808080;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.comments { 
	padding: 10px 10px 8px 10px; 
	margin: 0 0 7px 0; 
	background: #f8f8f8; 
	color: #000;
}

.commentsbox { 
	padding: 8px 0 10px 10px; 
	margin: 0 0 10px 0; 
	background: #f4f4f4; 
	color: #000;
}

.error {
	color: #990000;
	background-color: #FFF0F0;
	padding: 7px;
	margin-top: 5px;
	margin-bottom: 10px;
	border: 1px dashed #990000;
}
.error h2 {
	color: #990000;
	background: inherit;
}

.success {
	color: #000000;
	background: #F5FBE1;
	padding: 7px;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px dashed #7BA813;
}
.success h2 {
	color: #7BA813;
	background: inherit;
}

.footer { 
	background: #000 url(footer.jpg) center no-repeat;
	width: 886px;
	height: 78px;
	color:#555;  
	font-size:90%;
	text-align:center; 
	clear:both;
}

		.footer .padding {
			padding: 40px 0 0 0;
				
		}

/* Show vote icons only on hover for theory blocks */
.vote-icons { display: none; }
.theory:hover .vote-icons { display: inline !important; }

.theory p {
  font-size: 1.2em;
}

.theory-score {
	color: #555;
	margin-left: 0.35em;
	font-size: 0.95em;
}

.movie-score {
	color: #555;
	margin-left: 0.35em;
	font-size: 0.9em;
}

/* Modal overlay for theory details */
/* Modal overlay for theory details */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px) saturate(90%);
  -webkit-backdrop-filter: blur(6px) saturate(90%);
  z-index: 2147483647;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 220ms ease-out forwards;
}
.modal-content {
	background: #f5f6f7; /* slightly gray background */
	max-width: 920px;
	width: min(920px, 92vw);
	max-height: 86vh;
	overflow-y: auto;
	padding: 22px 24px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 20px 40px rgba(0,0,0,0.35);
	position: relative;
	color: #111;
	margin: auto;
}

.modal-content, .modal-content p, .modal-content form, .modal-content .theory p {
  color: #111 !important; /* ensure modal text is black */
}
.modal-content { border-radius: 12px; }
.modal-content .vote-icons button { color: #111 !important; }

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  font-size: 1.1em;
  cursor: pointer;
  color: #333;
}
.modal-close:hover { background: #f0f0f0; }
.modal-close:focus { outline: 2px solid #9ec5ff; outline-offset: 2px; }
.theory-snippet { cursor: pointer; }
.theory-snippet:hover { text-decoration: underline; }

.ai-news-list {
	list-style: disc;
	margin: 0 0 0 16px;
	padding: 0;
	font-size: 0.9em;
	color: #333;
}
.ai-news-list li {
	margin-bottom: 8px;
}
.ai-news-label {
	font-weight: bold;
	color: #222;
	margin-right: 4px;
}
.ai-news-list a {
	color: #2a5db0;
	text-decoration: none;
}
.ai-news-list a:hover {
	text-decoration: underline;
}
.ai-news-summary {
	color: #555;
	margin-left: 4px;
}

.resource-links {
	list-style: disc;
	margin: 0 0 0 16px;
	padding: 0;
}
.resource-links li {
	margin-bottom: 6px;
}

.latest-articles {
	list-style: disc;
	margin: 0 0 0 16px;
	padding: 0;
}
.latest-articles li {
	margin-bottom: 6px;
}

.admin-movie-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	font-size: 0.95em;
}
.admin-movie-table th,
.admin-movie-table td {
	border: 1px solid #ddd;
	padding: 8px 10px;
}
.admin-movie-table thead {
	background-color: #f0f0f0;
}
.admin-movie-table .regenerate-form {
	display: inline-block;
	margin: 0;
}


.admin-movie-table .action-form {
	display: inline-block;
	margin: 0;
}

.action-form .action-spinner {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid #cfd5dd;
	border-top-color: #2a5db0;
	border-radius: 50%;
	animation: searchSpin 0.9s linear infinite;
	margin-left: 8px;
}

.action-form.loading .action-spinner {
	display: inline-block;
}

.action-form.loading button[type="submit"] {
	cursor: wait;
	opacity: 0.6;
}

.purge-cell {
	text-align: center;
}

.purge-form {
	position: relative;
	width: 26px;
	height: 26px;
}

.purge-form button.purge-button {
	width: 100%;
	height: 100%;
	border: 1px solid #d3d3d3;
	border-radius: 50%;
	background-color: #ffffff;
	color: #b02727;
	font-size: 16px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}

.purge-form button.purge-button:hover,
.purge-form button.purge-button:focus {
	background-color: #f1dada;
	outline: none;
}

.purge-form .action-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: 0;
	transform: translate(-50%, -50%);
}

.purge-form.loading button.purge-button {
	visibility: hidden;
}

.regenerate-form .action-spinner {
	margin-left: 8px;
}

.admin-movie-table .regenerated-label {
	color: #2a5db0;
	font-size: 0.85em;
	margin-left: 6px;
}


.theme-intro {
	background-color: #f0f0f0;
	border: 1px solid #c8c8c8;
	color: #000;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 4px;
}
.theme-intro h2 {
	margin: 0 0 8px 0;
}
.theme-intro p {
	margin: 0 0 12px 0;
}
.theme-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}
.theme-form input[type="text"] {
	width: 100%;
	max-width: 420px;
	padding: 6px 8px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
}
.theme-form button {
	margin-top: 10px;
	background-color: #2a5db0;
	border: none;
	color: #fff;
	padding: 6px 14px;
	border-radius: 3px;
	cursor: pointer;
}
.theme-form button:hover,
.theme-form button:focus {
	background-color: #224b8d;
}

.theme-form .theme-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(42, 93, 176, 0.25);
	border-top-color: #2a5db0;
	border-radius: 50%;
	margin-left: 8px;
	vertical-align: middle;
	animation: searchSpin 0.9s linear infinite;
}

.theme-form.loading button {
	opacity: 0.7;
	cursor: default;
}

.theme-form.loading .theme-spinner {
	display: inline-block;
}

.admin-movie-table .regenerated-label {
	color: #2a5db0;
	font-size: 0.85em;
	margin-left: 6px;
}

