
/*basic reset & body styling*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  overflow-y: hidden;
  width: 100%;
  height: 100%;
  transform: translateZ(0); 
}

@font-face {
  font-family: 'FT88';
  src: url('../../fonts/ft88.eot'); /* IE9 Compat Modes */
  src: url('../../fonts/ft88.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../../fonts/ft88.woff2') format('woff2'), /* Super Modern Browsers */
       url('../../fonts/ft88.woff') format('woff'), /* Modern Browsers */
       url('../../fonts/ft88.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../../fonts/ft88.svg#FT88') format('svg'); /* Legacy iOS */
  font-weight: normal;
  font-style: normal;
}
#warning-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.warning-content {
    background: black;
    border: 2px solid #ff4d4d;
    padding: 30px 50px;
    text-align: center;
    color: white;
    max-width: 600px;
}

#continue-btn {
    margin-top: 20px;
    padding: 10px 25px;
    background: #ff4d4d;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
}

body {
  font-family: "Pixelify Sans", sans-serif;
  color: #000000;
  background-color: #000000;
  background-image: url('/drafting/blinkies/patterns/purple sparkly stars.gif');
  background-attachment: fixed;
  background-repeat: repeat;
  cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur265.cur), auto;
}

/* Hover cursor for interactive elements - using PNG fallback first for better compatibility */
a:hover,
button:hover,
.topic-box:hover,
.picture:hover,
.connection-header pre:hover,
[onclick]:hover,
input:hover,
select:hover,
textarea:hover,
div[data-src]:hover,
.center-img:hover,
.center-img {
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto !important;
}

.main-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1fr) 180px;
  grid-template-rows: 0.33fr 1.2fr 0.2fr auto;
  gap: 5px;
  padding: 10px;
  padding-bottom: 44px; 
  align-items: start;
  max-width: 100vw;
  max-height: calc(100vh - 44px);
  overflow: hidden;
  box-sizing: border-box;
  width: 1920px;    /* ← YOUR computer browser width */
    height: 1080px;
}

.gallery-bar {
  background-image: url('/drafting/blinkies/patterns/purple=polkadot.jpg');
  background-attachment: fixed;
  background-repeat: repeat;
  background-size: 20%;
  border: 1px solid #ffffff;
  display: flex;
  flex-direction: column;
  padding: 10px;
  grid-column: 1;
  grid-row: 1 / 5;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  min-height: 0;
  box-sizing: border-box;
}

.quote-header {
  padding: 8px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.picture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(7, auto);
  gap: 2px;
  flex: 1 1 0;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

.picture {
  background-color: #ffffff;
  border: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #000000;
  border-radius: 0px;
  min-height: 40px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.picture.gallery-link {
  background-color: rgba(249, 193, 255, 0.3);
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/drafting/gallery-bar/gender death-cartoon craze-creep3rraver-4-12-24.jpg');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.picture.gallery-link:hover {
  background-color: rgba(249, 193, 255, 0.6);
}

.picture.gallery-link span {
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  padding: 5px;
}

/*connection header*/
.welcome-gif {
  height: 40px;
}

.connection-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  color: white;
  font-size: 1rem;
  font-family: 'Cheri', sans-serif;
  font-weight: 900;
  grid-column: 2 / 5;
  grid-row: 1;
}

.connection-header pre {
  cursor: pointer;
  margin: 0;
}

/* Topic bar*/
.topic-bar {
  border: 1px solid rgb(255, 255, 255);
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/drafting/blinkies/static-rainbow-checkered-sparkly.png');
  background-size: 10%;
  background-attachment: fixed;
  background-repeat: repeat;
  display: flex;
  flex-direction: column;
  padding: 10px;
  grid-column: 5;
  grid-row: 1 / 3;
  position: relative;
  height: 630px;
  top: 100px;
}

.topic-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border: 1px solid rgb(255, 255, 255);
  font-family: 'DotGothic16', sans-serif;
  background-color: #000;
  margin-top: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-decoration-thickness: 2px;
}

.topic-header img {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(8, 1fr);
  gap: 8px;
  flex: 1;
}

.topic-box {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: normal;
  font-family: 'DotGothic16', sans-serif;
  color: #ffffff;
  min-height: 30px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.furries {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/drafting/blinkies/patterns/paw-and-shapes.png');
  background-size: 300px;
  background-attachment: fixed;
  background-repeat: repeat;
  color: #ffffff;
}

.furries-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.furries .furries-tooltip-wrapper img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.furries-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.furries-tooltip-wrapper:hover .furries-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

.cringe-culture {
  background-image: url('/drafting/blinkies/gen z queers/s.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    -2px 0 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000;
}

.cringe-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.cringe-culture .cringe-tooltip-wrapper img {
  max-width: 159px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.cringe-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.cringe-tooltip-wrapper:hover .cringe-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

.nostalgia-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.internet-nostalgia .nostalgia-tooltip-wrapper img {
  max-width: 158px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.nostalgia-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.nostalgia-tooltip-wrapper:hover .nostalgia-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

.raves-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.underground-raves .raves-tooltip-wrapper img {
  max-width: 158px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.raves-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.raves-tooltip-wrapper:hover .raves-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}


.music-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.queer-music .music-tooltip-wrapper img {
  width: 158px;
  height: auto;
  object-fit: contain;
  display: block;
}

.music-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.music-tooltip-wrapper:hover .music-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

.interviews-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.artist-interviews .interviews-tooltip-wrapper img {
  max-width: 158px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.interviews-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.interviews-tooltip-wrapper:hover .interviews-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

.growingUp-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.growingUp .growingUp-tooltip-wrapper img {
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.growingUp-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.growingUp-tooltip-wrapper:hover .growingUp-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

.sources-graphics img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bibliography-tooltip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.sources-graphics .bibliography-tooltip-wrapper img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.bibliography-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
  border: 2px solid rgb(249, 193, 255);
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(249, 193, 255, 0.3);
  transition: opacity 0.1s ease-in-out 0.05s, transform 0.1s ease-in-out 0.05s, visibility 0s linear 0.1s;
  pointer-events: none;
}

.bibliography-tooltip-wrapper:hover .bibliography-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.15s ease-in-out 0.1s, transform 0.15s ease-in-out 0.1s, visibility 0s linear 0.1s;
}

/* Artist sections */
.artist-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  gap: 4px;
  align-self: center;
  grid-column: 2;
  grid-row: 2;
  background-color:  #000000df;
  min-width: 0; 
}

.ascii-name {
  font-weight: 900;
  letter-spacing: 0.5px;
}

.artist-right {
  background-color: #000000df;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  gap: 4px;
  align-self: center;
  grid-column: 4;
  grid-row: 2;
  min-width: 0; 
}

.artist-name {
  padding: 8px 12px;
  font-size: 8px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.artist-name:hover {
  background-color: rgb(249, 193, 255);
  transform: translateY(-1px);
}

/* Lauren Bousfield specific style */
.artist-name[data-src="iframe/artists/lauren.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('iframe/artists/graphics/paino.gif');
  background-size: cover;
  background-position: center;
}

/* Ian Starr specific style */
.artist-name[data-src="iframe/artists/ian.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/drafting/blinkies/patterns/rainbow stars.gif');
  background-size: 50%;
  background-repeat: repeat;
  background-position: center;
}

/* Purityleech specific style */
.artist-name[data-src="iframe/artists/purityleech.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('iframe/artists/purityleech-background.png');
  background-size: cover;
  background-position: center;
}

/* 99jakes specific style */
.artist-name[data-src="iframe/artists/jakes.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('iframe/artists/graphics/jakes-bg.jpg');
  background-size: 50%;
  background-repeat: repeat;
  background-position: center;
}

/* Maple specific style */
.artist-name[data-src="iframe/artists/maple.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/drafting/blinkies/patterns/maple-bg-4.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center;
}

/* Foodhouse specific style */
.artist-name[data-src="iframe/artists/foodhouse.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/drafting/blinkies/patterns/sky.gif');
  background-size: cover;
  background-position: center;
}

/* 100 gecs specific style */
.artist-name[data-src="iframe/artists/100gecs.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('iframe/artists/graphics/gecs-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Alice Gas specific style */
.artist-name[data-src="iframe/artists/alice.html"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/drafting/blinkies/patterns/spinning black and white stars.gif');
  background-size: 20%;
  background-repeat: repeat;
  background-position: center;
}

.ascii-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/*Center img*/
.center-image {
  background-color: #000;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/drafting/blinkies/patterns/black\ leopard\ print.jpg');
  background-size: 50%;
  background-position: center;
  background-repeat: repeat;
  border: 4px solid #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  grid-column: 3;
  grid-row: 2;
  padding: 10px;
  overflow: visible;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  z-index: 10;
}

.center-image .center-img {
  width: 550px;
  height: auto;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
}

/* time and date */
.time-date-box {
  background-color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  padding: 8px;
  grid-column: 2;
  grid-row: 3;
  max-width: 80%;
  justify-self: end;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

.time-display {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

.time-info,
.date-info,
.age-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.time-info,
.date-info {
  pointer-events: auto;
}

.time-info pre,
.date-info pre {
  font-family: monospace;
  font-size: 5px;
  color: rgb(255, 255, 255);
  margin: 0;
  line-height: 1.2;
  text-align: right;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

.time-info #event-time,
.date-info #event-date {
  width: 100%;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

/* Location and age */
.location-age-box {
  background-color: #000;
  display: flex;
  flex-direction: column;
  padding: 8px;
  grid-column: 4;
  grid-row: 3;
  max-width: 80%;
  justify-self: start;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
}

.location-age-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
}

.location-info,
.age-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.age-info {
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

.location-info pre,
.age-info pre {
  font-family: monospace;
  font-size: 5px;
  color: rgb(255, 255, 255);
  margin: 0;
  line-height: 1.2;
  text-align: left;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

.location-info {
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

.location-info #event-location,
.age-info #age-range {
  width: 100%;
  cursor: url('https://cur.cursors-4u.net/games/gam-10/gam987.ani') 16 16, url('https://cur.cursors-4u.net/games/gam-10/gam987.png') 16 16, auto;
  pointer-events: auto;
}

/* Music Notes GIF */
.music-notes-gif {
  grid-column: 3;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-notes-gif img {
  width: 180px;
  height: auto;
  background-color: #000000;
}

/*Music player */
.music-player {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-size: 20px;
  margin-top: 20px;
}

.uploader {
  margin: 16px 0;
  text-align: center;
}

.hidden-input {
  display: none;
}

.ascii-label-wrap {
  display: inline-block;
  text-align: left;
  font-family: monospace;
}

.ascii-choose-label {
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.controls {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-family: monospace;
}

.ascii-button {
  font-family: monospace;
  display: inline-flex;
  background-color: transparent;
  color: white;
  border: 3px solid rgb(0, 0, 0);
  text-align: center;
  font-size: 20px;
  padding: 0px;
  cursor: pointer;
}

.now-playing {
  margin-top: 8px;
  font-family: monospace;
  color: rgb(255, 255, 255);
  text-align: center;
}

/* Modal styles for iframe*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #c0c0c0;
  padding: 3px;
  border-radius: 0;
  width: 95%;
  max-width: 1300px;
  height: 90vh;
  max-height: calc(90vh - 60px);
  margin-bottom: 60px;
  border: 2px outset #c0c0c0;
  box-shadow: 
    inset -1px -1px 0 #000,
    inset 1px 1px 0 #fff,
    4px 4px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  font-family: 'DotGothic16', sans-serif;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, #0054e3 0%, #0054e3 100%);
  background-color: #0054e3;
  color: #fff;
  padding: 6px 8px;
  margin: 0;
  border-bottom: 2px solid #000;
  min-height: 28px;
  flex-shrink: 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  font-family: 'DotGothic16', sans-serif;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.close-btn {
  background: #c0c0c0;
  border: 1px outset #c0c0c0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  width: 24px;
  height: 24px;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DotGothic16', sans-serif;
  box-shadow: 
    inset -1px -1px 0 #000,
    inset 1px 1px 0 #fff;
}

.close-btn:hover {
  background: #ff0000;
  color: #fff;
}

.close-btn:active {
  border: 1px inset #c0c0c0;
  box-shadow: 
    inset 1px 1px 0 #000,
    inset -1px -1px 0 #fff;
}

.modal-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  background-color: #c0c0c0;
  border: 2px inset #c0c0c0;
  margin: 2px;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  flex: 1;
  background-color: #fff;
}

/* Footer Styles */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #000;
  border: 2px solid rgb(255, 255, 255);
  border-bottom: none;
  padding: 0;
  color: white;
  font-family: 'Pixelify Sans', sans-serif;
  display: flex;
  align-items: center;
  height: 44px;
  z-index: 1000;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  padding: 2px 0;
  box-sizing: border-box;
}

.marquee-text {
  font-family: 'FT88';
  display: inline-block;
  padding-left: 100%;
  animation: marquee-scroll 35s linear infinite;
  animation-play-state: running; 
  font-size: 1.2rem;
  white-space: nowrap; 
  margin: 0;
  line-height: 1;
  font-size: 0; 
}

.marquee-content, .marquee-content-duplicate {
  display: inline-block;
}

.marquee-text a {
  font-size: 1.2rem; 
  display: inline-block;
  margin: 0;
  margin-right: 1px;
  padding: 0;
  vertical-align: middle;
}

.marquee-text a.marquee-info-text {
  color: white;
  text-decoration: none;
}

.marquee-text img {
  vertical-align: middle; 
  height: 40px;
  width: auto;
  display: inline-block;
  padding: 2px 0;
  box-sizing: content-box;
  margin: 0;
}

.marquee-text .marquee-content > a:last-of-type,
.marquee-text .marquee-content-duplicate > a:last-of-type {
  margin-right: 20px; 
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
  background: none;
  border: none;
  padding: 10px;
  line-height: 1;
}

.gallery-lightbox-close:hover {
  color: rgb(249, 193, 255);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 2px solid #fff;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  z-index: 2001;
  transition: background-color 0.2s ease;
}

.gallery-lightbox-nav:hover {
  background-color: rgba(249, 193, 255, 0.7);
}

.gallery-lightbox-prev {
  left: 20px;
}

.gallery-lightbox-next {
  right: 20px;
}
