<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Apply box-sizing globally for consistent layout calculations */
html, body, * {
  box-sizing: border-box;
}

:root {
  --wait-times-bar-height: 30px; /* Define the height of the scrolling wait times bar */
  --right-panel-width: 40px; /* Define the width of the new right panel (desktop) */
  --right-panel-height-mobile: 40px; /* NEW: Define the height of the right panel on mobile */
  --right-panel-bottom-item-height: 35px; /* Height of the bottom item, including margin */
  --mobile-controls-width: 40px; /* NEW: Width for mobile controls */
}

body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: white;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
  overflow-y:auto; /* Changed from auto to hidden to prevent main window scrollbar on desktop */
}

/* Loading Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #121212; /* Match body background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of everything */
  transition: opacity 0.5s ease;
  opacity: 1; /* Initially visible */
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none; /* Allow clicks once hidden */
}

/* NEW: Message on loading screen */
.loading-message {
  color: #ffffff; /* White text */
  font-size: .75em; /* Increased font size for prominence */
  line-height: 1.5em;
  margin-top: 60px; /* Increased space between message and logos */
  text-align: center;
  /* text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); Subtle glow effect */
  /* Animation for the text - more prominent movement and fade */
  /* animation: fade-in-out-emphasize 4s ease-in-out infinite alternate; */
}

/* NEW: Message on loading screen */
.loading-message-top {
  color: #ffffff; /* White text */
  font-size: 1.2em; /* Increased font size for prominence */
  margin-top: 60px; /* Increased space between message and logos */
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); /* Subtle glow effect */
  /* Animation for the text - more prominent movement and fade */
  animation: fade-in-out-emphasize-top 4s ease-in-out infinite alternate;
}

@keyframes fade-in-out-emphasize {
  0% { opacity: 1; transform: translateY(-30) scale(1.1); } /* Start with lower opacity, no scale */
  25% { opacity: 0.7; transform: translateY(-15px) scale(1.05); } /* Slight pop up and scale */
  50% { opacity: 0.3; transform: translateY(-0px) scale(1); text-shadow: 0 0 15px rgba(255,255,255,0.8); } /* Peak prominence, higher scale, stronger glow */
  75% { opacity: 0.7; transform: translateY(-15px) scale(1.05); } /* Settle back down */
  100% { opacity: 1; transform: translateY(-30) scale(1); } /* End with lower opacity, no scale */
}

@keyframes fade-in-out-emphasize-top {
  0% { opacity: 0.2; transform: translateY(0) scale(1); } /* Start with lower opacity, no scale */
  25% { opacity: 0.7; transform: translateY(-15px) scale(1.05); } /* Slight pop up and scale */
  50% { opacity: 1; transform: translateY(-30px) scale(1.1); text-shadow: 0 0 15px rgba(255,255,255,0.8); } /* Peak prominence, higher scale, stronger glow */
  75% { opacity: 0.7; transform: translateY(-15px) scale(1.05); } /* Settle back down */
  100% { opacity: 0.2; transform: translateY(0) scale(1); } /* End with lower opacity, no scale */
}

/* NEW: Container for the two spinning logos */
.loading-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px; /* Adjust height as needed to contain logos */
  position: relative; /* For absolute positioning of logos */
  margin-bottom: 20px;
}

.loading-logo {
  position: absolute; /* Position logos within the container */
  max-width: 120px; /* Adjust size as needed */
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); /* Subtle glow effect */
}

.logo-one {
  animation: spin-and-move-logo1 4s ease-in-out infinite alternate;
  left: 35%; /* Initial position */
}

.logo-two {
  animation: spin-and-move-logo2 4s ease-in-out infinite alternate;
  right: 35%; /* Initial position */
}

.logo-three {
  animation: spin-and-move-logo3 4s ease-in-out infinite alternate;
  right: 48%; /* Initial position */
}

@keyframes spin-and-move-logo1 {
  0% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(50px) rotate(180deg); }
  100% { transform: translateX(0) rotate(360deg); }
}

@keyframes spin-and-move-logo2 {
  0% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(-50px) rotate(-180deg); }
  100% { transform: translateX(0) rotate(-360deg); }
}
@keyframes spin-and-move-logo3 {
  0% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(50px) rotate(180deg); }
  100% { transform: translateX(0) rotate(-360deg); }
}


.loading-spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffffff; /* White spinner */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.container {
  display: grid;
  width: 100vw;
  height: 100vh; /* Force it to fill viewport on desktop */
  gap: 0;
}

/* NEW: Adjust container height when the scrolling bar is active */
body.wait-times-active .container {
  height: calc(100vh - var(--wait-times-bar-height)); /* Subtract the height of the scrolling bar */
  transition: opacity 0.5s ease;
}

/* Adjust container width when the right panel is active (desktop only) */
@media (min-width: 769px) {
  body.right-panel-active .container {
    width: calc(100vw - var(--right-panel-width));
  }
}

/* NEW: Adjust container padding-top and height when mobile header is active */
@media (max-width: 768px) {
  html, body {
    overflow-y: auto; /* Allow vertical scrolling on mobile */
  }

  body.mobile-header-active .container {
    padding-top: var(--right-panel-height-mobile);
    height: auto; /* Allow container to grow with content on mobile */
  }
  .container {
    min-height: auto; /* Allow container to shrink on mobile if content is less than viewport */
  }

  /* Adjustments for loading screen on mobile */
  .loading-message {
    font-size: .5em; /* Smaller font size on mobile */
    margin-bottom: 20px; /* Reduced margin on mobile */

  }

  /* Adjustments for loading screen on mobile */
  .loading-message-top {
    font-size: 1.5em; /* Smaller font size on mobile */
    margin-bottom: 20px; /* Reduced margin on mobile */
  }

  .loading-logos-container {
    height: 150px; /* Reduced height for logos container */
    margin-bottom: 10px;
  }

  .loading-logo {
    max-width: 80px; /* Smaller logos on mobile */
  }

  @keyframes spin-and-move-logo1 {
    0% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(30px) rotate(180deg); } /* Reduced movement */
    100% { transform: translateX(0) rotate(360deg); }
  }

  @keyframes spin-and-move-logo2 {
    0% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-30px) rotate(-180deg); } /* Reduced movement */
    100% { transform: translateX(0) rotate(-360deg); }
  }
}


.stream-container {
  position: relative;
  background-color: #000;
  overflow: hidden;
  display: flex; /* Default to flex for non-chat mobile, and desktop */
  flex-direction: row; /* Default for desktop and general mobile */
  transition: all 0.3s ease;
}

/* NEW: Class to hide the stream container */
.stream-container.hidden-stream {
    display: none !important;
}

/* NEW: Class for applying the border */
.stream-container.with-border {
  border: 2px solid grey; /* Default border when displayVideoBorders is true */
}

/* NEW: Border colors based on stream status */
.stream-container.playing-muted {
  border: 2px solid grey; /* Playing and muted */
}

.stream-container.stopped {
  border: 2px solid red; /* Stopped, paused, ended, buffering, cued, unstarted */
}

.stream-container.playing-unmuted {
  border: 2px solid green; /* Playing and unmuted */
}

.stream-container.with-chat .player-container {
  width: calc(100% - 200px); /* Adjusted for 200px chat panel */
}

.player-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden; /* Ensure content scaled down doesn't overflow */
}

.yt-player {
  width: 133.33%; /* 100% / 0.75 to compensate for scale */
  height: 133.33%; /* 100% / 0.75 to compensate for scale */
  position: absolute; /* Position absolutely within player-container */
  top: 0; /* (100 - 75) / 2 = 12.5% of original size. (133.33 - 100) / 2 = 16.665% of new size */
  left: 0; /* (100 - 75) / 2 = 12.5% of original size. (133.33 - 100) / 2 = 16.665% of new size */
  transform: scale(0.75); /* Scale down to 75% */
  transform-origin: 0 0; /* Scale from top-left corner */
}


.channel-label {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  z-index: 10;
  margin: 0;
  display: flex;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
}

.channel-name-text {
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 8px;
  border-radius: 0 0 3px 0;
  transition: background-color 0.3s ease;
}

.channel-name-text:hover {
  background: rgba(0, 0, 0, 0.9);
}

.video-title {
  opacity: 0;
  background: rgba(0, 0, 0, 0);
  padding: 2px 8px;
  padding-left: 1px;
  border-radius: 0 0 3px 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 0px;
  max-width: none;
  display: inline-block;
  vertical-align: top;
}

/* Fullscreen overlay controls */
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 1000;
  display: none;
}

.fullscreen-player-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.fullscreen-yt-player {
  width: 100%;
  height: 100%;
}

.fullscreen-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-overlay:hover .fullscreen-controls {
  opacity: 1;
}

.fullscreen-nav-btn {
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-nav-btn:hover {
  background: rgba(70,70,70,0.7);
}

.fullscreen-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-overlay:hover .fullscreen-close-btn {
  opacity: 1;
}

.fullscreen-channel-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0,0,0,0.7);
  padding: 5px 15px;
  font-size: 16px;
  border-radius: 4px;
  z-index: 1001;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fullscreen-overlay:hover .fullscreen-channel-label {
  opacity: 1;
}

.chat-button {
  position: absolute;
  top: 50%;
  left: 8px; /* Changed from right */
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  opacity: 0;
}

.stream-container:hover .chat-button {
  opacity: 1;
}

.chat-button:hover {
  background: rgba(70, 70, 70, 0.7);
}

.chat-button::after {
  content: "ðŸ’¬";
  font-size: 14px;
}

/* NEW: DSN Icon styles */
.dsn-icon-container {
  position: absolute;
  top: calc(50% - 60px); /* Adjust position above hide/chat buttons */
  left: 8px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default; /* Not interactive */
  z-index: 20;
  transition: all 0.2s ease;
  opacity: 0; /* Hidden by default, will show on hover */
}

.stream-container:hover .dsn-icon-container {
  opacity: 1;
}

.dsn-icon {
  width: 18px; /* Adjust size as needed to fit the container */
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

/* NEW: View Count display styles */
.view-count-display {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 8px;
  border-radius: 0 0 0 3px;
  font-size: 12px;
  z-index: 10;
  /* Removed opacity and hover effect from here */
  transition: background-color 0.3s ease;
  white-space: nowrap;
  display: flex; /* Always visible by default */
}

/* New class for view count display on hover */
.view-count-display-on-hover {
  opacity: 0; /* Hidden by default */
}

.stream-container:hover .view-count-display-on-hover {
  opacity: 1; /* Show on hover */
}

.view-count-display:hover {
  background: rgba(0, 0, 0, 0.9);
}


/* Default state for desktop controls */
.chat-button, .hide-btn, .dsn-icon-container {
  display: flex; /* Always visible on desktop by default */
}

/* Default state for mobile controls (hidden on desktop) */
.mobile-controls {
  display: none;
}


@media (max-width: 768px) {
  /* Hide desktop controls on mobile */
  .chat-button, .hide-btn, .dsn-icon-container, .view-count-display {
    display: none !important;
  }

  /* General mobile stream container layout (no chat) */
  .stream-container {
    flex-direction: row; /* Video and controls side-by-side */
    height: 30vh; /* Fixed height for video in portrait */
    align-items: flex-start;
    width: 100%; /* Ensure full width */
  }

  .stream-container .player-container {
    width: calc(100% - var(--mobile-controls-width)); /* Video takes remaining width */
    height: 100%; /* Ensure player container fills its stream container height when no chat */
  }

  /* Ensure mobile controls are visible and positioned on the right */
  .mobile-controls {
    display: flex; /* Overrides default display: none */
    flex-direction: column; /* Stack buttons vertically */
    justify-content: flex-start; /* Align buttons to top */
    align-items: center;
    width: var(--mobile-controls-width); /* Fixed width for the controls bar */
    height: 100%; /* Take full height of its parent */
    padding-top: 10px; /* Small padding at the top */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20;
    position: static; /* Reset positioning for default vertical layout */
    border-left: 1px solid #333; /* Add a vertical border for separation */
  }

  .container {
    grid-template-columns: 1fr !important;
    height: auto; /* Allow container to grow with content on mobile */
  }

  /* NEW: Styles for mobile controls when chat is open */
  .stream-container.with-chat {
    /* Use flexbox for vertical stacking */
    display: flex; /* Changed from grid */
    flex-direction: column; /* Stack elements vertically */
    height: 90vh; /* Overall height for the stream container when chat is open */
    width: 100%; /* Full width */
    /* Remove grid-specific properties */
    /* grid-template-areas: initial; */ /* Not needed if display is flex */
    /* grid-template-columns: initial; */ /* Not needed if display is flex */
    /* grid-template-rows: initial; */ /* Not needed if display is flex */
  }

  .stream-container.with-chat .channel-label {
    /* Position channel label at the top, full width */
    position: static; /* Override absolute positioning */
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-shrink: 0; /* Prevent shrinking */
    order: 1; /* Set order for channel label */
  }

  .stream-container.with-chat .player-container {
    width: 100%; /* Take full width */
    height: 40vh; /* Fixed height for the video player */
    flex-shrink: 0; /* Prevent shrinking */
    order: 2; /* Set order for player container */
  }

  .stream-container.with-chat .mobile-controls {
    width: 100%; /* Take full width */
    height: var(--right-panel-height-mobile); /* Use the mobile header height variable for controls bar height */
    flex-direction: row; /* Arrange buttons horizontally */
    justify-content: space-around; /* Distribute buttons evenly */
    align-items: center;
    padding: 0; /* Remove padding-top, use justify-content for spacing */
    background-color: rgba(0, 0, 0, 0.7); /* Adjust background */
    z-index: 25;
    position: static; /* Ensure it's part of the flex flow */
    border-top: 1px solid #333; /* Add a horizontal border */
    border-left: none; /* Remove vertical border */
    flex-shrink: 0; /* Prevent shrinking */
    order: 3; /* Set order for mobile controls */
  }

  /* Adjustments for mobile control buttons when chat is open */
  .mobile-control-button {
    margin: 0 5px; /* Add horizontal margin between buttons */
    margin-bottom: 0; /* Remove previous vertical margin */
  }

  /* Adjustments for chat panel when chat is open */
  .stream-container.with-chat .chat-panel {
    width: 100% !important; /* Take full width */
    height: auto !important; /* Let flex-grow manage height */
    flex-grow: 1; /* Take remaining vertical space */
    margin-top: 0; /* Remove margin-top */
    border-left: none !important; /* Remove left border */
    border-top: 1px solid #333; /* Add top border for separation */
    order: 4; /* Set order for chat panel */
  }

  .chat-iframe {
    width: 100%; /* Changed from 133.33% to 100% for iframe */
    height: 100%; /* Changed from 133.33% to 100% for iframe */
    border: none;
    transform: scale(1); /* Remove scaling for iframe */
    transform-origin: initial; /* Reset transform origin */
    position: static; /* Reset to static for normal flow within flex container */
  }

  .mobile-control-button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 10px; // Moved to general .mobile-control-button */
    transition: background-color 0.2s ease;
  }

  .mobile-control-button:hover {
    background: rgba(70, 70, 70, 0.7);
  }

  .mobile-hide-button::after {
    content: "âœ•";
  }

  .mobile-chat-button::after {
    content: "ðŸ’¬";
  }

  .mobile-unmute-button::after {
    content: "ðŸ”‡"; /* Icon for muted state (click to unmute) */
  }

  .mobile-mute-button::after {
    content: "ðŸ”Š"; /* Icon for unmuted state (click to mute) */
  }

  /* NEW: Mobile DSN Icon styles */
  .mobile-dsn-icon-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: default;
  }

  .mobile-dsn-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .stream-container.with-chat .player-container {
    height: 60vh; /* Increase video height in landscape */
  }
  /* chat-panel height will automatically adjust with flex-grow: 1 */
}

.chat-panel {
  width: 220px; /* Changed from 300px to 200px */
  height: 100%;
  background: #1e1e1e;
  border-left: 2px solid #333;
  display: none;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.stream-container.with-chat .chat-panel {
  display: block;
}

.chat-iframe {
  width: 133.33%; /* 100% / 0.75 */
  height: 133.33%; /* 100% / 0.75 */
  border: none;
  transform: scale(0.75); /* Changed from 0.6 to 0.75 */
  transform-origin: 0 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Removed original .status-bubble styles as it's now a modal */


/* Added styles for the hide button */
.hide-btn {
  position: absolute;
  top: calc(50% - 30px);
  left: 8px; /* Changed from right */
  right: auto; /* Ensure right positioning is removed */
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stream-container:hover .hide-btn {
  opacity: 1;
}

.hide-btn:hover {
  background: rgba(70, 70, 70, 0.7);
}

/* Styles for the manual play button */
.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 15; /* Above player */
}

.play-button {
  font-size: 60px;
  color: white;
  pointer-events: none; /* Allows clicks to pass through to the overlay */
}

/* NEW: Styles for Placeholder Content */
.placeholder-content {
  display: none; /* Hidden by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a; /* Darker background for placeholders */
  text-align: center;
  padding: 20px;
  gap: 15px; /* Space between elements */
  color: #ccc;
  font-size: 16px;
}

.placeholder-logo1 {
  width: 100px; /* Set a fixed width */
  height: 100px; /* Set a fixed height to ensure same size */
  border-radius: 50%;
  z-index: 1;
  position: relative; /* Keep relative for z-index */
  /* Removed 'left' property */
}

.placeholder-logo2 {
  width: 100px; /* Set a fixed width */
  height: 100px; /* Set a fixed height to ensure same size */
  border-radius: 50%;
  z-index: 2; /* Ensure it overlaps logo1 */
  position: relative; /* Keep relative for z-index */
  margin-left: -50px; /* Overlap logo1 by 50% of its width */
}
.placeholder-logo1:hover {
 z-index: 5;
}
.placeholder-logo2:hover {
 z-index: 5;
}
.placeholder-logo3:hover {
 z-index: 5;
}
.placeholder-logo3 {
  width: 100px; /* Set a fixed width */
  height: 100px; /* Set a fixed height to ensure same size */
  border-radius: 50%;
  z-index: 2; /* Ensure it overlaps logo1 */
  position: relative; /* Keep relative for z-index */
  margin-left: -50px; /* Overlap logo1 by 50% of its width */
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* Styles for appealing info buttons */
.info-button {
  display: inline-block;
  background-color: #007bff; /* A nice blue background */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 5px; /* Add some space above the buttons */
  margin-bottom: 5px; /* Add some space below the buttons for better separation */
}

.info-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* NEW: Styles for Scrolling Wait Times Display */
.scrolling-wait-times {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--wait-times-bar-height); /* Use the CSS variable for height */
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark dark background */
  color: #fff;
  display: flex; /* Use flexbox for vertical alignment */
  align-items: center; /* Vertically align content in the middle */
  overflow: hidden; /* Hide content outside the container */
  white-space: nowrap; /* Keep content on a single line */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow at the top */
  z-index: 102; /* Ensure it's above the right panel (z-index 100) and expanded info bubble (z-index 101) */
  transition: opacity 0.5s ease;
}

.wait-times-content {
  display: inline-block; /* Essential for marquee effect */
  padding-left: 100%; /* Start the content off-screen to the right */
  animation: marquee 60s linear infinite; /* Adjust duration for speed */
  font-size: 14px; /* Ensure font size is set directly for consistent vertical centering */
}

.wait-times-item {
  padding: 0 15px; /* Spacing between each ride's info */
  display: inline-block; /* Keeps items in a line */
}

.wait-times-item.low-wait { color: #8bc34a; } /* Green */
.wait-times-item.medium-wait { color: #ffeb3b; } /* Yellow */
.wait-times-item.high-wait { color: #f44336; } /* Red */
.wait-times-item.closed,
.wait-times-item.down,
.wait-times-item.refurbishment { color: #9e9e9e; } /* Gray */
.wait-times-item.no-wait-info,
.wait-times-item.unknown-status { color: #ff9800; } /* Orange for N/A or no info */


@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); } /* Scrolls the entire content width */
}

/* Pause animation on hover */
.scrolling-wait-times:hover .wait-times-content {
  animation-play-state: paused;
}

/* Style for the hide button on the scrolling bar */
.hide-scroll-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 16px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute; /* Position relative to .scrolling-wait-times */
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100; /* Ensure it's above the text */
  transition: background-color 0.2s ease;
}

.hide-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Original settings-cog-btn styles (now for the one inside the panel) */
.settings-cog-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 16px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: auto;
  right: auto;
  z-index: 100;
  transition: background-color 0.2s ease;
  margin: 0 auto; /* Center it within its panel-item */
}

.settings-cog-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* NEW: Styles for the Info Modal (similar to Settings Modal) */
.info-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.info-modal.show {
  display: flex;
}

/* NEW: Styles for the Settings Modal */
.settings-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.settings-modal.show {
  display: flex;
}

.modal-content {
  background-color: #1e1e1e;
  margin: auto; /* Centers the modal horizontally and vertically within the flex container */
  padding: 15px; /* Reduced padding for more condensed display */
  border: 1px solid #888;
  width: 80%; /* Could be responsive */
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  position: relative;
  animation: slideIn 0.3s forwards;
  max-height: 80vh; /* Limit height and allow scroll */
  overflow-y: auto; /* Enable scrolling for content */
}

.modal-content h2 {
  margin-top: 0;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.modal-content .close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content .close-button:hover,
.modal-content .close-button:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

#park-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 5px; /* Reduced gap for more condensed display */
  margin-bottom: 15px; /* Reduced margin */
}

#park-checkboxes label,
#general-settings-checkboxes label,
#wait-times-settings-checkboxes label { /* Apply to all sections */
  cursor: pointer;
  color: #ddd;
}

#park-checkboxes input[type="checkbox"],
#general-settings-checkboxes input[type="checkbox"],
#wait-times-settings-checkboxes input[type="checkbox"] { /* Apply to all sections */
  width: 18px;
  height: 18px;
  accent-color: #007bff; /* Highlight color for checkbox */
  margin-right: 8px; /* Space between checkbox and label */
}

#general-settings-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px; /* Add some space above this section */
  border-top: 1px solid #333; /* Visual separator */
  padding-top: 15px;
}

#wait-times-settings-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 15px;
  border-top: 1px solid #333;
  padding-top: 15px;
}

/* NEW: Accordion styles */
.accordion-item {
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 15px;
}

.accordion-header {
  background: none;
  border: none;
  color: #fff;
  font-size: 1em; /* Matches h3 font size */
  font-weight: bold;
  width: 100%;
  text-align: left;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}

.accordion-header h3 {
  margin: 0; /* Remove default h3 margin inside button */
  color: inherit; /* Inherit color from button */
  border-bottom: none; /* Remove border from h3 */
  padding-bottom: 0; /* Remove padding from h3 */
}

.accordion-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease-out;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.active {
  max-height: 500px; /* Adjust as needed to fit content */
}


.save-settings-btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  width: 100%;
}

.save-settings-btn:hover {
  background-color: #0056b3;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hide on mobile displays */
@media (max-width: 768px) {
  .scrolling-wait-times {
    display: none !important; /* Use !important to ensure it overrides other display properties */
  }

  .settings-modal, .info-modal, .link-modal, .stream-order-modal, .max-videos-modal, .donate-modal, .like-subscribe-modal, .about-modal, .contact-report-modal { /* Apply to all modals, including new like/subscribe and about */
    padding: 0; /* Remove padding from the modal overlay for full screen */
  }

  .modal-content {
    width: 100%; /* Full width */
    height: 100%;
    max-width: 100%; /* Override max-width */
    max-height: 100vh; /* Override max-height */
    margin: 0; /* Remove margin for full screen */
    border-radius: 0; /* Remove border-radius for full screen */
    padding: 15px; /* Keep padding for content inside */
  }

  /* NEW: Right panel on mobile */
  .right-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--right-panel-height-mobile); /* Use CSS variable */
    flex-direction: row;
    justify-content: space-around; /* Distribute items evenly */
    align-items: center;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex !important;
  }

  .right-panel .panel-item {
    margin-bottom: 0;
    margin: 0 5px;
    flex-shrink: 1;
  }

  /* Remove specific bottom-item styling as it's no longer at the bottom */
  .right-panel .bottom-item {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* Hide max videos button on mobile */
  #max-videos-btn-panel {
    display: none !important;
  }

  /* NEW: Hide desktop-only settings on mobile */
  .desktop-only-setting {
    display: none !important;
  }
}

/* NEW: Styles for the Right Panel (Desktop Only) */
@media (min-width: 769px) { /* Apply these styles only on desktop */
  .right-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--right-panel-width);
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align items to the top */
    align-items: center;
    padding-top: 10px; /* Small padding at the top */
    z-index: 100; /* Ensure it's above the streams */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5); /* Subtle shadow on the left */
  }

  .right-panel .panel-item {
    margin-bottom: 15px; /* UPDATED: Increased space between items on desktop */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Take full width of the panel */
    flex-shrink: 0; /* Prevent items from shrinking */
    position: relative; /* Needed for tooltip positioning */
  }

  /* Ensure the bottom item is pushed to the bottom */
  .right-panel .bottom-item {
    margin-top: auto; /* Pushes this item and subsequent items to the bottom */
    margin-bottom: calc(10px + var(--wait-times-bar-height)); /* Add space for the wait times bar */
  }

  body.wait-times-active .right-panel .bottom-item {
      margin-bottom: calc(10px + var(--wait-times-bar-height)); /* Ensure spacing when bar is active */
  }

  body:not(.wait-times-active) .right-panel .bottom-item {
      margin-bottom: 10px; /* Default spacing when bar is not active */
  }
}


.right-panel .panel-logo {
  width: 25px; /* Small logo size */
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
}

/* Adjust the info and settings cog buttons within the panel */
.right-panel .settings-cog-btn,
.right-panel .panel-link-button { /* Apply to all circular buttons in the panel */
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 16px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
  margin: 0 auto; /* Center it within its panel-item */
  padding: 0; /* Remove default padding that might affect centering */
  line-height: 1; /* Helps with vertical centering of single characters/emojis */
}

.right-panel .settings-cog-btn:hover,
.right-panel .panel-link-button:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Tooltip styles */
.panel-item[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: -5px; /* Position to the left of the button */
  transform: translateX(-100%); /* Shift left by its own width */
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 101; /* Ensure tooltip is above other elements */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none; /* Allows clicks to pass through to elements behind tooltip */
}

.panel-item[data-tooltip]::after {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Adjust the container to make space for the right panel on desktop */
@media (min-width: 769px) {
  .container {
    width: calc(100vw - var(--right-panel-width)); /* Subtract panel width */
  }
}

/* NEW: Styles for the Link Modal */
.link-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.link-modal.show {
  display: flex;
}

.link-modal .modal-content {
  background-color: #1e1e1e;
  margin: auto;
  padding: 15px;
  border: 1px solid #888;
  width: 90%; /* Larger width for iframe content */
  max-width: 1000px; /* Max width for larger screens */
  height: 90%; /* Larger height for iframe content */
  max-height: 90vh; /* Max height for larger screens */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.3s forwards;
}

.link-modal .modal-content h2 {
  margin-top: 0;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

#link-modal-iframe {
  flex-grow: 1; /* Allow iframe to take up remaining space */
  width: 100%;
  border: none;
}

/* NEW: About Modal Styles (similar to link-modal but for content) */
.about-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.about-modal.show {
  display: flex;
}

.about-modal .modal-content {
  background-color: #1e1e1e;
  margin: auto;
  padding: 15px;
  border: 1px solid #888;
  width: 80%; /* Standard width for content */
  max-width: 900px; /* Max width for readability */
  max-height: 80vh; /* Limit height and allow scroll */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  position: relative;
  animation: slideIn 0.3s forwards;
  overflow-y: auto; /* Enable scrolling for content */
}

.about-modal .modal-content h2 {
  margin-top: 0;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

#about-content {
  /* Styles for the fetched content inside the modal */
  color: #ddd;
  line-height: 1.6;
}

#about-content h3 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 10px;
}

#about-content p {
  margin-bottom: 10px;
}

#about-content a {
  color: #ADD8E6; /* Light blue for links */
  text-decoration: underline;
}


/* NEW: Max Videos Modal Styles */
.max-videos-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.max-videos-modal.show {
  display: flex;
}

.max-videos-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.max-videos-options .radio-option {
  display: flex;
  align-items: center;
}

.max-videos-options input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #007bff;
  margin-right: 8px;
}

.max-videos-options label {
  cursor: pointer;
  color: #ddd;
}

/* NEW: Donate Modal Styles */
.donate-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.donate-modal.show {
  display: flex;
}

.donate-modal .modal-content {
  /* Inherits general modal-content styles, but override for wider display */
  max-width: 700px; /* Increased max-width for the donation modal */
}

.donate-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.donate-button {
  background-color: #333;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.donate-button:hover {
  background-color: #555;
  transform: translateY(-2px);
}

.donate-button img {
  height: 20px; /* Adjust as needed */
  margin-right: 10px;
}

/* NEW: Classes to show/hide text based on device */
.desktop-only-text {
  display: block;
}

.mobile-only-text {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only-text {
    display: none;
  }
  .mobile-only-text {
    display: block;
  }
}

/* NEW: Stream Order Modal Styles */
.stream-order-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.stream-order-modal.show {
  display: flex;
}

.stream-order-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  max-height: 400px; /* Limit height for scrollability */
  overflow-y: auto;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #2a2a2a;
}

.stream-order-list-item {
  padding: 10px 15px;
  border-bottom: 1px solid #3a3a3a;
  cursor: grab;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stream-order-list-item:last-child {
  border-bottom: none;
}

.stream-order-list-item:hover {
  background-color: #444;
}

.stream-order-list-item.sortable-chosen {
  background-color: #555;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.stream-order-list-item.sortable-ghost {
  opacity: 0.5;
  background-color: #666;
}

.stream-order-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.stream-order-buttons .save-settings-btn {
  flex-grow: 1;
}

.stream-order-buttons .reset-btn {
  background-color: #dc3545; /* Red for reset */
}

.stream-order-buttons .reset-btn:hover {
  background-color: #c82333;
}

/* NEW: Styles for Embedding Disabled Placeholder */
.embedding-disabled-placeholder {
  display: none; /* Hidden by default, shown by JS when embeddable=false */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #282828; /* Slightly darker than default background */
  text-align: center;
  padding: 20px;
  gap: 15px; /* Space between elements */
  color: #ccc;
  font-size: 16px;
}

.embedding-disabled-placeholder .disabled-thumbnail {
  max-width: 90%;
  max-height: 60%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.embedding-disabled-placeholder .disabled-text {
  margin: 0;
  padding: 0 10px;
  line-height: 1.4;
}

.embedding-disabled-placeholder .view-on-youtube-btn {
  background-color: #ff0000; /* YouTube red */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.embedding-disabled-placeholder .view-on-youtube-btn:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

/* NEW: Styles for No Streams Display */
.no-streams-display {
  display: none; /* Hidden by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: #121212; /* Match body background */
  color: white;
  text-align: center;
  padding-top: var(--right-panel-height-mobile); /* Space for mobile header */
  padding-bottom: var(--wait-times-bar-height); /* Space for wait times bar */
  box-sizing: border-box; /* Include padding in height calculation */
}

@media (min-width: 769px) {
  .no-streams-display {
    width: calc(100vw - var(--right-panel-width)); /* Adjust for right panel */
    padding-top: 0; /* No mobile header on desktop */
  }
}

.no-streams-message-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  max-width: 90%;
}

.no-streams-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 50%;
}

.no-streams-text {
  font-size: 1.2em;
  margin: 0;
  line-height: 1.5;
}

.no-streams-hub-section {
  width: 90%;
  max-width: 1200px; /* Limit max width of iframe for better readability */
  height: 60vh; /* Adjust height as needed for the iframe */
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex; /* To center the iframe if it doesn't fill the section */
  justify-content: center;
  align-items: center;
}

.no-streams-hub-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* NEW: Loading graphic styles */
.loading-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a; /* Dark background */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5; /* Below player, above container background */
  transition: opacity 0.3s ease;
}

.loading-graphic.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-graphic img.channel-img {
  max-width: 50%;
  max-height: 50%;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 15px;
}

.loading-graphic .loading-spinner {
  width: 30px;
  height: 30px;
  border-width: 3px;
}

/* Styles for the new Like/Subscribe Reminder Modal */
.like-subscribe-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.like-subscribe-modal.show {
  display: flex;
}

.like-subscribe-modal .modal-content {
  background-color: #1e1e1e;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  position: relative;
  animation: slideIn 0.3s forwards;
  text-align: center;
}

.like-subscribe-modal .modal-content h2 {
  margin-top: 0;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.like-subscribe-modal .modal-content p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.like-subscribe-modal .modal-content .small-print {
  font-size: 0.85em;
  color: #aaa;
  margin-top: 20px;
}

.like-subscribe-modal .close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.like-subscribe-modal .close-button:hover,
.like-subscribe-modal .close-button:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

/* NEW: Countdown display styles */
.countdown-display {
  font-size: 0.9em;
  color: #bbb;
  margin-top: 10px;
  font-weight: bold;
}

/* NEW: Contact/Report Modal Styles */
.contact-report-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Higher z-index than other modals */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.85); /* Slightly darker overlay */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.contact-report-modal.show {
  display: flex;
}

.contact-report-modal .modal-content {
  background-color: #1e1e1e;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.7);
  position: relative;
  animation: slideIn 0.3s forwards;
  text-align: center;
}

.contact-report-modal .modal-content h2 {
  margin-top: 0;
  color: #fff;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.contact-report-modal .modal-content p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.contact-report-modal .contact-link {
  color: #ADD8E6; /* Light blue for links */
  text-decoration: underline;
  font-weight: bold;
}

.contact-report-modal .close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.contact-report-modal .close-button:hover,
.contact-report-modal .close-button:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

/* Styles for the new "Contact Me/Report a Problem" button */
.contact-report-btn {
  background-color: #fc5050; /* Darker grey */
  color: rgb(255, 255, 255);
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
  width: calc(100% - 30px); /* Adjust width to account for padding of modal-content */
  margin-top: 5px; /* Space above the button */
  margin-left: 15px; /* Align with modal content padding */
  margin-right: 15px; /* Align with modal content padding */
}

.contact-report-btn:hover {
  background-color: #862727; /* Lighter grey on hover */
}

/* Styles for the bug/feature request buttons */
.bug-feature-buttons {
  display: flex;
  flex-direction: column; /* Stack buttons by default on small screens */
  gap: 10px; /* Space between buttons */
  margin-top: 15px;
}

@media (min-width: 480px) { /* Arrange side-by-side on wider screens */
  .bug-feature-buttons {
    flex-direction: row;
    justify-content: space-around; /* Distribute space evenly */
    align-items: center;
  }
}

.action-button {
  display: block; /* Make links behave like block-level elements for padding */
  flex-grow: 1; /* Allow buttons to grow and fill available space */
  background-color: #007bff; /* A nice blue background */
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center; /* Center the text within the button */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow if text is too long */
  text-overflow: ellipsis; /* Add ellipsis if text is truncated */
}

.action-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}
.no-link{
  text-decoration: none;
  color: white;
}</pre></body></html>