/* Table of Contents:
Fonts
Global
Utilities
Layout
Top Messages
Other Messages
Header
Footer
Titles
Forms
Tables
Carousel
UI Elements
Trivia Box
Pending Trivia Box
Voting Controls
Game Pages
All Display Pages
Browse Pages
Comments
Submission Page
User Profile
Edit Profile
Stats Page
Notifications
Login Page
Registration
User/Group List
Staff Pages
Ads
Small Layout (e.g. iPads)
Mobile Layout
Video Player Controls
Video Details Table
*/



/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0');
.material-symbols-outlined {
    line-height: 0px;
    vertical-align: middle;
    user-select: none;
    -webkit-user-select: none;
}


/* Global */
html {
    scroll-behavior: smooth;
}
body {
    margin: 0px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: var(--main-text);
    background-color: var(--main-bg);
    background-image: url('https://www.spriters-resource.com/images/light/bg/mushrooms.png')
}
a {
    text-decoration: none;
    color: var(--link-text);
}
h1 {
    font-family: 'Press Start 2P';
    font-size: 16px;
    line-height: 22px;
    color: var(--header-text);
    margin: 0px;   
}

/* Utilities */
.wide {
    padding: 0px;
}
.border {
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
}
.end-border {    
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset 0px -3px 0 rgba(var(--border-shadow), 0.6);
}
.text-shadow {
    text-shadow: 0px 1px 0 var(--black), 0px 2px 0 var(--black), 1px 0px 0 var(--black), 2px 0px 0 var(--black), 1px 1px 0 var(--black), 2px 2px 0 var(--black);    
}
.bold-text-shadow {    
    text-shadow: -1px 0px 0 var(--black), -2px 0px 0 var(--black), -3px 0px 0 var(--black), 0px -1px 0 var(--black), 0px -2px 0 var(--black), 0px -3px 0 var(--black), -1px -1px 0 var(--black), -2px -2px 0 var(--black), -3px -3px 0 var(--black), 1px -1px 0 var(--black), 2px -2px 0 var(--black), 3px -3px 0 var(--black), -1px 1px 0 var(--black), -2px 2px 0 var(--black), -3px 3px 0 var(--black), 0px 1px 0 var(--black), 0px 2px 0 var(--black), 0px 3px 0 var(--black), 1px 0px 0 var(--black), 2px 0px 0 var(--black), 3px 0px 0 var(--black), 1px 1px 0 var(--black), 2px 2px 0 var(--black), 3px 3px 0 var(--black)
}
.pixel-corners {
    clip-path: polygon(
      0px 6px,
      2px 6px,
      2px 2px,
      4px 2px,
      6px 2px,
      6px 0px,
      calc(100% - 6px) 0px,
      calc(100% - 6px) 2px,
      calc(100% - 2px) 2px,
      calc(100% - 2px) 4px,
      calc(100% - 2px) 6px,
      100% 6px,
      100% calc(100% - 6px),
      calc(100% - 2px) calc(100% - 6px),
      calc(100% - 2px) calc(100% - 2px),
      calc(100% - 4px) calc(100% - 2px),
      calc(100% - 6px) calc(100% - 2px),
      calc(100% - 6px) 100%,
      6px 100%,
      6px calc(100% - 2px),
      2px calc(100% - 2px),
      2px calc(100% - 4px),
      2px calc(100% - 6px),
      0px calc(100% - 6px)
    );
  }


/* Layout */
#wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: -webkit-fill-available;
    min-height: fill-availablle;
    min-height: 100vh;
}
.wrap {
    margin-left: auto;
    margin-right: auto;
}
#content-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    margin-bottom: 20px;
}
#leftnavigation {
    color: var(--link-text);
    display: block;
    min-width: 300px;
    background-color: var(--side-bar);
    box-shadow: inset -3px 0 0 rgba(var(--border-shadow), 0.5), inset 3px 0 0 rgba(var(--border-shadow), 0.5);
    user-select: none;
    -webkit-user-select: none;
}
.navlist {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--link-text);
    text-align: justify;
    background-color: var(--side-bar);
}
.navlist a {
    padding: 2px 6px 1px 6px;
    font-size: 12px;
    font-weight: bold;
    background-color: var(--side-bar);
    box-shadow:  inset 0px 3px 0 rgba(var(--border-shadow), 0.2), inset -3px 0px 0 rgba(var(--border-shadow), 0.5), inset 3px 0px 0 rgba(var(--border-shadow), 0.5);
    text-shadow: 1px 1px var(--icon-border-shadow);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
}
.navlist a:hover {
	filter: brightness(1.1);
}
.nav-header {
    font-family: 'Press Start 2P';
    color: var(--link-text);
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    padding: 5px;
    background-color: var(--header-bg);
}
#leftnavigation .nav-header, #rightnavigation .nav-header {    
    box-shadow: inset 3px 3px 0 rgba(var(--border-highlight), 0.5), inset -3px -3px 0 rgba(var(--border-shadow), 0.5);
}

#leftnavigation .nav-header {    
    box-shadow: inset 3px 3px 0 rgba(var(--border-highlight), 0.5), inset -3px -3px 0 rgba(var(--border-shadow), 0.5);
}
#content {
    display: block;
    width: 100%;
    background-color: var(--content-bg);
}
#content a {
    color: #4579BB; /* Light blue links in the content area */
    text-decoration: underline;
}
.content-child {
    padding: 10px;
}
.content-icons {
	text-align: center;
}
#rightnavigation {
    display: block;
    min-width: 300px;
    background-color: var(--side-bar);
    box-shadow: inset 3px 3px 0 rgba(var(--border-shadow), 0.5), inset -3px 0 0 rgba(var(--border-shadow), 0.5);
    user-select: none;
    -webkit-user-select: none;
}
#sidebar-profile {
    color: white;
    height: 144px;
    padding: 8px;
    font-size: 12px;
}

#letter-navigation {
    display: flex;
    width: 100%;
    font-family: 'Press Start 2P';
    color: var(--link-text);
    line-height: 32px;
    height: 32px;
    background-color: var(--header-bg);
    text-align: justify;    
    user-select: none;
    -webkit-user-select: none;
}

#letter-navigation a {
    display: flexbox;
    width: 100%;
    text-align: center;
    background-color: var(--header-bg);
    
}
#letter-navigation a:hover {
	filter: brightness(1.1);
}

/* Top Messages */
/* Other Messages */
/* Header */
#header {
    font-family: 'Press Start 2P';
    width: 100%;
    height: 50px;
    padding: 0px;
    font-size: 0px;
    font-weight: bold;
    position: fixed;
    z-index: 999;
    background-color: var(--header-bg);
}
#header .wrap {
    position: relative;
}
#navigation a {
    line-height: 50px;
    margin-right: 20px;
    text-decoration: none;
    vertical-align: top;
    color: var(--button-text);
}
#navigation a.logo {
    display: inline-block;
    width: 195px;
    height: 50px;
    font-size: 0px;
    background-image: url('/images/logo.png');
    background-size:cover; 
}
#nav-search {
    display: inline-block;
    width: 170px;
    height: 50px;
    margin-right: 15px;
    vertical-align: top;
}
#random-game {
    position: relative;
    display: inline-block;
    height: 26px;
    width: 26px;
    margin-top: 12px;
    margin-left: -2px;
    background-color: var(--side-bar);
}
#random-game a {
    border: none !important;
}
#random-game span {
    position: absolute;
    top: 50%;
    left: 2px;
    font-size: 22px;
}
#nav-search .match {
    float: none;
    vertical-align: top;
    margin-top: 12px;
    margin-left: -2px;
    width: 26px;
    height: 26px;
    background: var(--footer-bg);
    color: var(--button-text);
}
#nav-search .match span {
    line-height: 24px;
    margin-left: -2px;
    vertical-align: baseline;
    font-size: 18px;
}
#nav-search .browse-search {
    width: 120px;
    height: 26px;
    padding: 0px 10px;
    font-size: 12px;
    border-radius: 25px 0px 0px 25px;
}
.match {
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 0 25px 25px 0;
    font-size: 20px;
    border: none;
    outline: none;
    cursor: pointer;
}

#nav-links a {
    display: inline-block;
}
#nav-right {
    float: right;
    min-width: 100px;
    height: 50px;
    text-align: right;
    font-size: 0px;    
    user-select: none;
    -webkit-user-select: none;
}
#nav-right a {
    display: inline-block;
    height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0px;
}
#nav-user {
    display: inline-block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: var(--form-bg);
}
#nav-notifications {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: top;
    font-size: 14px;
    font-weight: normal;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--footer-bg);
}
#nav-notifications a {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px;
    padding: 0px;
    font-size: 14px;
    text-decoration: none;
    color: var(--dark);
}
#nav-notifications .material-symbols-outlined {
    font-size: 45px;
    line-height: 50px;
    color: var(--button-text);
    z-index: 0;
}
#nav-notifications div {
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}
#notification-count {
    z-index: 1;
}
#nav-notifications span {
    font-size: 10px;
}
#nav-add-trivia {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    vertical-align: top;
}
#nav-add-trivia a {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 0px;
    margin: 0px;
    font-size: 40px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    background-color: var(--add-trivia-bg);
}
.nav-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0px;
    z-index: 998;
    width: 250px;
    height: auto;
    max-height: calc(100vh - 50px);
    overflow: auto;
    font-size: 14px;
    background-color: var(--red);
}
.nav-menu > a {
    display: block;
    padding: 5px;
    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
    color: var(--button-text);
}
.nav-menu-header {
    display: block;
    padding: 0px 5px 0px 5px;
    font-size: 14px;
    padding: 5px;
    text-decoration: none;
    color: var(--button-text);
    background-color: var(--header-bg);
}
.nav-menu-header a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--button-text);
}
#vgr-name-search {
    width: 180px;
    vertical-align: top;
    margin-top: 12px;
}
#mobile-menu-button {
    display: none;
    float: left;
    width: 90px;
    margin-left: 10px;
    font-weight: normal;
    text-align: left;
    font-size: 30px;
    line-height: 50px;
    cursor: pointer;
    text-shadow: var(--shadow) 0px 3px;
    color: var(--button-text);
}



/* Footer */
#footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    min-height: 25px;
    padding: 0px;
    margin-top: 20px;
    font-size: 0px;
    background-color: var(--footer-bg);
}
#footer-content {
    display: flex;
    align-items: stretch;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 5px;
    font-size: 12px;
    color: var(--button-text);
}
#footer-content a {
    text-decoration: none;
    font-size: 12px;
    color: var(--button-text);
}
#footer-copyright {
    width: 34%;
    text-align: center;
    order: 2;
}
#footer-theme {
    width: 33%;
    text-align: left;
    order: 1;
}
#footer-links {
    width: 33%;
    text-align: right;
    order: 3;
}



/* Titles */
/* Forms */
.formElement {
    height: 26px;
    padding: 0px 10px;
    font-size: 12px;
    border: none;
    border-radius: 15px;
    outline: none;
    background-color: var(--form-bg);
    color: var(--form-text);
}
textarea.formElement {
    height: auto;
    padding: 10px;
}
::placeholder {
    opacity: 1;
    color: var(--placeholder-text);
}
.form.centered {
    margin-left: auto;
    margin-right: auto;
}
.form.centered .error {
    text-align: center;
}
#preview-display {
    display: none;
}



/* Tables */
/* Carousel */
/* UI Elements */

.browse-toggle {
    display: inline;
    font-size: 25px;
    margin: -5px -10px -5px 0px;
}
.add-button-wrap {    
  filter: drop-shadow(3px 3px 0px rgba(var(--border-shadow), 0.8));
  display: inline-block;
}
.add-button {
    font-family: 'Press Start 2P';
    width: 250px;
    font-size: 16px;
    line-height: 28px;
    padding: 6px;
    background-color: rgb(108, 199, 108);
    height: 25px;
    margin: 10px;
    color: var(--button-text);
    user-select: none;
    -webkit-user-select: none;
}
.add-button span {
    line-height: 28px;
    vertical-align: bottom;
    border-radius: 24px;
    background-color: white;
    color: green;
}


/* Icons */
.iconcontainer {
    position: relative;
    width: 157px;
    margin: 5px 2px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: inline-block;
    vertical-align: bottom;
    border-spacing: 0px;
    
}
.iconheader {
    width: 143px;
    height: 28px;
    padding: 0px 1px 2px 1px;
    margin: 3px;
    overflow: hidden;
    background-color: var(--icon-header);
    border-top: 3px solid rgba(var(--border-highlight), 0.5);
    border-left: 3px solid rgba(var(--border-highlight), 0.5);
    border-right: 3px solid rgba(var(--border-shadow), 0.5);
    border-bottom: 3px solid rgba(var(--border-shadow), 0.5);
}
.iconheadertext {
    width: 145px;
    height: 30px;
    font-size: 9px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    line-height: 10px;
}
.iconbody {
    width: 148px;
    height: 125px;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    vertical-align: middle;
    line-height: 120px;
    margin-left: 3px;
    margin-bottom: 3px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}
.iconbody img {
    vertical-align: middle;
}
.zip-icon {
    position: absolute;
    top: 38px;
    right: 3px;
}
.nsfw-icon {
    position: absolute;
    top: 38px;
    left: 3px;
}
.gameiconcontainer {
    width: 249px;
    margin: 5px 2px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: inline-block;
    vertical-align: bottom;
    border-spacing: 0px;
}
.gameiconheader {
    width: 235px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    margin: 3px;
    padding: 0px 3px 0px 3px;
    overflow: hidden;
}
.gameiconheadertext {
    width: 235px;
    height: 28px;
    font-size: 9px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    display: table-cell;
    vertical-align: middle;
    line-height: 10px;
}
.gameiconbody {
    width: 240px;
    height: 125px;
    background-position: center;
    background-repeat: repeat;
    text-align: center;
    vertical-align: middle;
    line-height: 150px;
    border-bottom-right-radius:10px;
    border-bottom-left-radius:10px;
    margin: 1px 3px 3px 3px;
    overflow: hidden;
}
.bigiconcontainer {
    width: 761px;
    margin: 5px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    display: inline-block;
    vertical-align: bottom;
    border-spacing: 0px;
}
.bigiconheader {
    width: 745px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    margin: 4px;
    padding: 0px 3px 0px 3px;
    overflow: hidden;
}
.bigiconheadertext {
    width: 750px;
    height: 28px;
    font-size: 20px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    display: table-cell;
    vertical-align: middle;
}
.bigiconbody {
    width: 750px;
    height: 650px;
    background-position: center;
    background-repeat: repeat;
    text-align: center;
    vertical-align: middle;
    line-height: 150px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    margin: 4px;
    overflow: hidden;
}
.iconcontainer {
    background-color: var(--icon-border);
    border: 3px solid var(--icon-border-shadow);
}
.iconheader {
    color: var(--icon-border);
    outline: 3px solid var(--icon-border);
}
.iconheadertext {
    text-shadow: 0px 1px var(--black);
}
.iconbody {
    background: linear-gradient(190deg, rgba(219,124,124,1) 0%, rgba(180,93,93,1) 100%);
    border-left: solid 3px var(--icon-frame);
    border-top: solid 3px var(--icon-frame);
    box-shadow: inset 2px 2px 0 rgba(var(--border-shadow), 0.4);
}
.gameiconcontainer {
    background-color: var(--icon-border);
    border: 1px solid var(--icon-border-shadow);
    box-shadow: 2px 2px 2px 0px var(--icon-border-shadow);
}
.gameiconheader {
    color: var(--icon-border);
    outline: 3px solid var(--icon-border);
}
.gameiconheadertext {
    text-shadow: 0px 1px var(--white);
}
.gameiconbody {
    background-color: var(--icon-frame);
    border-left: solid 2px var(--icon-frame);
    border-top: solid 2px var(--icon-frame);
    border-right: solid 1px var(--icon-frame);
    border-bottom: solid 1px var(--icon-frame);
}
.bigiconcontainer {
    background-color: var(--icon-border);
    border: 1px solid #5b5b5b;
    box-shadow: 2px 2px 2px 0px var(--icon-border-shadow);
}
.bigiconheader {
    color: var(--icon-border);
    outline: 3px solid var(--icon-border);
}
.bigiconheadertext {
    text-shadow: 0px 2px var(--black);
}
.bigiconbody {
    background-color: var(--icon-frame);
    border-left: solid 2px var(--icon-frame);
    border-top: solid 2px var(--icon-frame);
    border-right: solid 1px var(--icon-frame);
    border-bottom: solid 1px var(--icon-frame);
}

/* Updates */
.updatericon {
    max-width: 40%;
    float: left;
    text-align: center;
    padding-right: 10px;
}
.updatetitle {
    font-family: 'Press Start 2P';
    position: relative;
    height: 25px;
    padding: 5px 5px 5px 5px;
    line-height: 25px;
    text-align: left;
}
.updatetitle-text {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.updatetitle-text .commentcount {
    float: right;
}
.updatemeta {
    height: 18px;
    line-height: 18px;
    padding: 1px 5px;
    text-align: left;
    font-size: 10px;
}
.updateauthor {
    display: inline-block;
    width: calc(100% - 30px);
}
.updatetext {
    font-size: 12px;
    padding: 10px;
    text-align: justify;
    background-color: var(--white);
}
.updatetext img {
    max-width: 90%;
}
.updateconsolename {
    line-height: 25px;
    padding-left: 10px;
}
.updatesheets {
    text-align: left;
}
.updatesheeticons {
    width: calc(100% - 10px);
    padding: 10px 10px 10px 0px;
    text-align: center;
}
.updatesheeticons .iconcontainer {
    margin: 0px 0px 10px 10px;
}
div.updateconsolename {
    width: calc(100% - 10px);
    font-weight: bold;
    margin: 0px;
}
.formElement {
    outline: none;
}

/* Updates */
.updatetitle {
    background-color: var(--header-bg);
}
.updatemeta {
    background-color: var(--light);
}
div.updateconsolename {
    background-color: var(--light);
}
.update-section {
    font-size: 12px;
    height: 13px;
    padding: 3px;
    background-color: var(--light);
    color: var(--white);
    text-shadow: 1px 1px var(--icon-border-shadow);
}

/* Voting Controls */
/* Game Pages */
/* All Display Pages */
/* Browse Pages */

.section {
    font-family: 'Press Start 2P';
    text-align: left;
    padding: 10px;
    height: 16px;
    font-size: 16px;
    background: var(--header-bg);
    color: var(--white);
}


/* Comments */
/* Submission Page */
/* User Profile */
/* Edit Profile */
/* Stats Page */
/* Notifications */
/* Login Page */
/* Registration */
/* User/Group List */
/* Staff Pages */

/* Ads */
.skyscraper {
	width: 160px;
	height: 600px;
    background: pink;
	padding: 0px 20px;
	top: 0px;
    margin: 10px auto;	
}

.square {
    width: 300px;
    height: 250px;
    background: pink;
}
.banner {
	width: 970px;
    height: 90px;
    margin: 20px auto 20px auto;
    background: pink;
}


/* Small Layout (e.g. iPads) */



/* Mobile Layout */
@media only screen and (max-width: 767px) {
    #wrapper {
        display: block;
    }
    
    #header {
        display: none; /* Hide header on mobile */
    }
    
    #leftnavigation, 
    #rightnavigation {
        display: none; /* Hide sidebars on mobile */
    }
    
    #content-container {
        margin-top: 0; /* Remove top margin since header is hidden */
        display: block;
    }
    
    #content {
        width: 100%;
    }
    
    #footer {
        position: relative;
    }
        
    /* Center content on mobile */
    div[style*="text-align: center"] {
        margin: 20px 10px !important;
    }
    
    /* Adjust font sizes for readability */
    h1 {
        font-size: 14px;
        line-height: 18px;
    }
    
    /* Video container responsiveness */
    video, canvas {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .custom-video-controls {
        max-width: 100%;
    }
    
    .seek-container {
        width: calc(100% - 270px);
    }
    
    .volume-container {
        width: 60px;
    }
    
    .volume-slider {
        width: 30px;
    }
    
    .scale-controls {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .playback-controls {
        flex-wrap: wrap;
    }
        
    .volume-container {
        margin-top: 5px;
        width: 100%;
        text-align: center;
    }
}

/* Video Player Controls */
.video-container {
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
}

/* Hide the native video element */
.video-container video {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.canvas-container {
    position: relative;
    margin: 0 auto;
    display: inline-block;
    cursor: pointer; /* Show pointer cursor to indicate clickable */
}

/* Add a play indicator that shows when paused */
.canvas-container::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.canvas-container.paused::after {
    opacity: 1;
}

/* Fullscreen styles */
.canvas-container.fullscreen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: black;
}

.canvas-container.fullscreen canvas {
    max-height: 100vh;
    object-fit: contain;
    image-rendering: -moz-crisp-edges;         /* Firefox */
    image-rendering: -webkit-crisp-edges;      /* Safari */
    image-rendering: pixelated;                /* Chrome */
    image-rendering: crisp-edges;              /* General */
    max-width: 100% !important;
    max-height: 100% !important;
}

.custom-video-controls {
    width: 100%;
    max-width: 768px;
    margin: 10px auto;
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 10px;
    border-radius: 5px;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.playback-controls {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.scale-controls {
    display: flex;
    align-items: center;
}

.scale-controls button {
    background-color: var(--side-bar);
    border: none;
    color: var(--header-text);
    width: 25px;
    height: 25px;
    cursor: pointer;
    margin: 0 5px;
    font-size: 14px;
    line-height: 14px;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
}

.scale-controls span {
    font-family: 'Press Start 2P';
    font-size: 10px;
    padding: 0 5px;
}

.play-pause-btn {
    background-color: var(--side-bar);
    border: none;
    color: var(--header-text);
    padding: 5px 10px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    margin-right: 10px;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
}

.seek-container {
    display: inline-block;
    width: calc(100% - 260px);
    vertical-align: middle;
}

.seek-bar {
    width: 100%;
    height: 10px;
    background-color: var(--content-bg);
    cursor: pointer;
}

.seek-fill {
    height: 100%;
    background-color: var(--blue);
    width: 0%;
}

.volume-container {
    display: inline-block;
    width: 100px;
    vertical-align: middle;
    margin-left: 10px;
    text-align: right;
}

.volume-icon {
    display: inline-block;
    width: 20px;
    text-align: center;
    cursor: pointer;
}

.volume-slider {
    display: inline-block;
    width: 70px;
    vertical-align: middle;
}

.fullscreen-btn {
    background-color: var(--side-bar);
    border: none;
    color: var(--header-text);
    width: 40px;
    height: 30px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 16px;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
}

/* Hide default video controls when using custom controls */
.custom-player video {
    width: 100%;
}

.video-time {
    font-family: 'Press Start 2P';
    font-size: 10px;
    color: var(--header-text);
    margin-top: 5px;
    text-align: left;
    display: block;
}

/* Video Details Table */
.video-details-table {
    width: 100%;
    max-width: 768px;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    background-color: var(--content-bg);
    color: var(--main-text);
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
}

.video-details-table caption {
    font-family: 'Press Start 2P';
    padding: 8px;
    background-color: var(--header-bg);
    color: var(--header-text);
    font-size: 14px;
    text-align: center;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.6), inset -3px -3px 0 rgba(var(--border-shadow), 0.6);
    margin-bottom: 2px;
}

.video-details-table th {
    background-color: var(--side-bar);
    color: var(--header-text);
    text-align: left;
    padding: 8px;
    width: 30%;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.2), inset -3px 0 0 rgba(var(--border-shadow), 0.2);
}

.video-details-table td {
    padding: 8px;
    box-shadow: inset 0 3px 0 rgba(var(--border-highlight), 0.1), inset -3px 0 0 rgba(var(--border-shadow), 0.1);
}

.video-details-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile adjustments for the table */
@media only screen and (max-width: 767px) {
    .video-details-table caption {
        font-size: 12px;
    }
    
    .video-details-table th,
    .video-details-table td {
        padding: 5px;
        font-size: 10px;
    }
}







