/*

Theme Name: VideoSphere

Theme URI: 

Description:

Version: 1.0

Author: Adam Kooyer

Author URI:

CHANGE LOG:

*/

/* LINKS */

a {color: #000000; text-decoration: none; border: none;}

a:visited {color: #00EE00;}

a:hover {text-decoration: underline; border: none;}

a img {border: none; }

a.name {text-decoration: none; color: #00EE00; font-size: 16px; }

a.postlink { text-decoration: none; color: #00EE00; font-size: 20px; letter-spacing:-1px}


/* CLASS IDS */
.style1 {
	color: #FFFFFF;
	font-size: 10px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	}
.td1 { text-align:center; letter-spacing:3px; background-color:#22ccff; }
.td2 { background-color:#FFEEFF; border:1px #000000 solid; text-align: left;}

.paddingtop { padding-top:36px; }

.title {
	text-align: center;
	padding: 20px 0 10px;
	font-size: 32px;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	line-height: 1.2;
	}

.title, .title a, .title a:visited {
	color: #FFFFFF;
	text-shadow: 0 1px 3px #000, 0 0 8px rgba(0,0,0,0.6);
	}

/* PAGE LAYOUT: nav pinned left, title + videosphere centered in the window */
#stage {
	width: 757px;
	margin: 0 auto;
	padding-top: 20px;     /* lines the sphere up with the nav */
	}

#nav {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 310px;         /* fits "Select a Title:" on one line */
	}

/* Not wide enough to center the sphere past the nav: sit it just right of the nav.
   Never stack: on very narrow windows the page scrolls sideways instead. */
@media (max-width: 1450px) {
	#stage { margin-left: 350px; }
	}

.sub { text-align:top; font-size:16px; font-family: Geneva, Arial, Helvetica, sans-serif; }


/* END CLASS IDS */

A:link {text-decoration: none}
A:visited {text-decoration: none}
A:active {text-decoration: none}
A:hover {text-decoration: none; color: #00ff00;}

blockquote {
border-left: 1px dashed #ccc;
margin-left: 1.5em;
padding-left: 5px;
}

body {
min-width: 1127px;
background-color: #1e1e1e;
background-image:url(images/test.jpg);
background-repeat: repeat-x;
color: #FFF;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
scrollbar-base-color:#404040;
}

/* THE SPHERE: video sits behind videosphere-frame-new (2x WebP, 1x PNG fallback), whose transparent CRT glass masks it.
   Glass opening in the artwork at display size (757 x 844): 420 x 339 at (171, 292). */
.sphere {
	position: relative;
	width: 757px;
	height: 844px;
	}

.screen {
	position: absolute;
	left: 171px;
	top: 292px;
	width: 420px;
	height: 339px;
	background: #404040;       /* the original glass gray, seen when nothing is playing */
	overflow: hidden;
	z-index: 1;
	}

.screen iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	}

.sphere-frame {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	pointer-events: none;      /* clicks pass through the artwork to the player */
	}

/* FLIP CLOCK: the sphere's base. Chrome rim, smoked window, split cards on hinge pins.
   Sits centered under the pedestal (pedestal foot spans x 179-586 of the 757 stage). */
.flipclock {
	position: relative;
	z-index: 5;            /* in front of the sphere art, overlapping the pedestal foot */
	width: 408px;
	margin: 0px 0 35px 178px;   /* cream rim (5px box-shadow) just touches the pedestal foot */
	padding: 4px;
	box-sizing: border-box;
	border-radius: 8px;   /* tight corners meet the pedestal flush; bottom matches top */
	background: linear-gradient(#f5f5f5, #a9a9a9 30%, #e6e6e6 55%, #7b7b7b 85%, #c9c9c9);
	box-shadow: 0 0 0 5px #f9f8d9, 0 14px 30px rgba(0, 0, 0, 0.5);   /* cream outer rim, same as the sphere body */
	}
.fc-window {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 124px;
	border-radius: 5px;
	background: radial-gradient(ellipse at 50% 30%, #262628, #0a0a0b 70%);
	box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
	}
.fc-card {
	position: relative;
	width: 118px;
	height: 92px;
	perspective: 320px;
	font: bold 72px/92px "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
	color: #f2f2ee;
	text-align: center;
	}
.fc-card::before, .fc-card::after {      /* hinge pins at the split */
	content: "";
	position: absolute;
	top: 41px;
	width: 5px;
	height: 10px;
	background: linear-gradient(#cfcfcf, #6a6a6a);
	border-radius: 1px;
	z-index: 3;
	}
.fc-card::before { left: -4px; }
.fc-card::after { right: -4px; }
.fc-card > div {
	position: absolute;
	left: 0;
	right: 0;
	height: 46px;
	overflow: hidden;
	backface-visibility: hidden;
	}
.fc-card span { display: block; height: 92px; }
.fc-top, .fc-flap-top {
	top: 0;
	border-radius: 7px 7px 0 0;
	background: linear-gradient(#333336, #232325);
	border-bottom: 1px solid #000;
	box-sizing: border-box;
	transform-origin: 50% 100%;
	}
.fc-bottom, .fc-flap-bottom {
	top: 46px;
	border-radius: 0 0 7px 7px;
	background: linear-gradient(#202022, #19191b);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 3px 4px rgba(0, 0, 0, 0.6);
	transform-origin: 50% 0;
	}
.fc-bottom span, .fc-flap-bottom span { margin-top: -46px; }
.fc-flap-top, .fc-flap-bottom { display: none; z-index: 2; }
.fc-card.flip .fc-flap-top { display: block; animation: fc-fold-top 0.3s ease-in forwards; }
.fc-card.flip .fc-flap-bottom { display: block; transform: rotateX(90deg); animation: fc-fold-bottom 0.3s 0.3s ease-out forwards; }
@keyframes fc-fold-top { to { transform: rotateX(-90deg); filter: brightness(0.6); } }
@keyframes fc-fold-bottom { from { transform: rotateX(90deg); filter: brightness(1.4); } to { transform: rotateX(0deg); filter: none; } }
@media (prefers-reduced-motion: reduce) { .fc-card.flip .fc-flap-top, .fc-card.flip .fc-flap-bottom { display: none; } }
.fc-ampm {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-left: 4px;
	font: bold 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
	color: #4a4a4c;
	}
.fc-ampm span::before {                  /* indicator lamp */
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 5px;
	border-radius: 50%;
	background: #2a1414;
	vertical-align: 1px;
	}
.flipclock:not(.is-pm) .am, .flipclock.is-pm .pm { color: #e8e8e4; }
.flipclock:not(.is-pm) .am::before, .flipclock.is-pm .pm::before { background: #ff4a3a; box-shadow: 0 0 6px #ff4a3a; }
.fc-glass {                              /* reflection on the smoked window */
	position: absolute;
	inset: 0;
	border-radius: 5px;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 38%, transparent 39%);
	pointer-events: none;
	z-index: 4;
	}

/* CRT SCAN LINES over the video (clicks pass through to the player).
   Strength is set by data-scan on .sphere, stepped by the top knob. */
.scanlines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	--scan: 0;
	background: repeating-linear-gradient(
		to bottom,
		rgba(0, 0, 0, var(--scan)) 0px,
		rgba(0, 0, 0, var(--scan)) 1px,
		transparent 1px,
		transparent 3px
		);
	}
.sphere[data-scan="0"] .scanlines { display: none; }
.sphere[data-scan="1"] .scanlines { --scan: 0.25; }
.sphere[data-scan="2"] .scanlines { --scan: 0.45; }
.sphere[data-scan="3"] .scanlines { --scan: 0.7; }

/* On-screen display when the knob is turned, like an old TV menu */
.osd {
	position: absolute;
	top: 18px;
	right: 30px;
	font: bold 18px/1 "Courier New", monospace;
	letter-spacing: 2px;
	color: #33FF66;
	text-shadow: 0 0 6px #33FF66;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
	}
.osd.show { opacity: 1; }

/* The channel dial on top: invisible button over the artwork */
.knob {
	position: absolute;
	left: 417px;
	top: 124px;
	width: 76px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	z-index: 3;
	}
.knob-vol {                /* the small left dome: volume */
	left: 298px;
	top: 134px;
	width: 56px;
	height: 32px;
	}
/* Knob instructions: shown on load, fade to nothing over 12 seconds */
.hint {
	position: absolute;
	z-index: 4;
	font: 28px/1 "VT323", Fixedsys, "Courier New", monospace;
	color: #33FF33;
	text-shadow: 0 1px 2px #000, 0 0 6px rgba(51, 255, 51, 0.5);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	animation: hint-fade 12s ease-in;
	}
.hint-vol { right: calc(757px - 340px); top: 100px; }   /* arrow ends over the left dome */
.hint-scan { right: calc(757px - 468px); top: 62px; }   /* arrow ends over the channel dial */
@keyframes hint-fade { from { opacity: 1; } to { opacity: 0; } }
.knob:hover { background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.25), transparent 70%); }
.knob:focus-visible { outline: 2px solid #33FF66; outline-offset: 2px; }

.no-signal {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 40px;
	text-align: center;
	font-size: 20px;
	color: #00EE00;
	}

/* LINER NOTES below the sphere */
#notes {
	margin: 20px 0 40px;
	padding: 20px 25px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 12px;
	color: #DDDDDD;
	font-size: 14px;
	line-height: 1.5;
	}

#notes h2 { margin: 0; font-weight: normal; }

#notes .postdata { font-size: 11px; color: #999999; margin-bottom: 14px; }

#notes .notes-label {
	font-size: 10px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #00EE00;
	margin-bottom: 4px;
	}

#notes a, #notes a:visited { color: #00EE00; }

#notes .pager { margin: 20px 0 0; text-align: center; }

#notes input[type=text], #notes input[type=email], #notes input[type=url], #notes textarea {
	width: 100%;
	box-sizing: border-box;
	background: #111111;
	color: #FFFFFF;
	border: 1px solid #555555;
	padding: 6px;
	font: inherit;
	}

/* VIDEOS list in the left nav */
.videolist { margin: 0 0 20px; padding: 0; }
.videolist li { margin: 0 0 6px; font: 28px/1 "VT323", Fixedsys, "Courier New", monospace; }
/* New titles bright green, ones you've watched a couple shades darker, the one on screen gets a prompt */
.videolist a, .videolist a:link { color: #33FF33; text-shadow: 0 1px 2px #000; }   /* shadow keeps titles readable on the light band */
.videolist a:visited { color: #1FAF1F; }
.videolist a:hover { color: #99FF99; text-decoration: none; }
.videolist li.current a { color: #33FF33; font-weight: bold; }
.videolist li.current a::before { content: "> "; }

#cats {
font-size: 10px;
padding-left: 5px;
}

.commentbox {
padding-left: 10px;
margin-left: 3px;
padding: 5px;
border: 1px solid #ffffff;
background-color: #FFF1F7;
width: 350px;
}

#content {
margin-left: 20px;
margin-right: 15px;
}

#desc {
font-size: 11px;
color: #555555;
}

#divider {
padding-top: 15px;
}

#foot {           /* F00TER */
font-size: 10px;
margin-bottom: 10px;
text-align: center;
color: #555555;
clear: both;
}

#head {                 /* HEADER */
font-size: 11px;
}

li {list-style: none;}

ul {list style: none;}

#menutitle {
font-size: 13px;
font-weight: bold;
color: #000000;
}

#menu {           /* SIDEBAR */
padding: 2px 0;
text-align: left;
}

/* "Select a Title:" in an old terminal face (VT323, a Fixedsys-style pixel font), 50px, one line */
#menu h2 {
	margin: 0 0 16px;
	font: normal 50px/0.9 "VT323", Fixedsys, "Courier New", monospace;
	white-space: nowrap;
	}

#postdata {
color: #FFFFFF;
font-size: 10px;
}

#search {
background-color: #000000;
font-size: 11px;
border: 1px solid #8D002B;
color: #ffffff;
font-family: Geneva, Arial, Helvetica, sans-serif;
}

#searchbutton {
font-size: 11px;
color: #ffffff;
border: 2px solid #8D002B;
background-color: #B71748;
}

#textbox {background-color: #FFFFFF; font-size: 11px; border: 1px solid #8D002B; color: #ffffff;}

#textbox:focus {background-color: #8D002B; font-size: 11px; color: #ffffff;}

textarea {font-family: Geneva, Arial, Helvetica, sans-serif, Times, Serif; font-size: 11px; color: #ffffff; border: 1px solid #8D002B}
