@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Russo+One&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200);
/* Live App Styles - Comprehensive CSS extracted from original style.css */

body.livestream .live-event-status .status-indicator.status-live {
  animation: livestream-pulse 2s infinite;
}

@keyframes livestream-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Essential Swiper CSS Classes */
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

/* ===== MISSING NOTELOADER STYLES FROM LEGACY ===== */

/* Ensure body can scroll when noteLoader content exceeds viewport */
.live #noteLoaderContainer {
  pointer-events: auto;
}

/* Live noteLoaderContainer - match index.html branding */
.live #noteLoaderContainer {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100vh;
}

/* Live noteLoader - match index.html branding */
.live #noteLoader {
  width: 95%;
  max-width: 600px;
  background: #fff;
  color: #333;
  padding: 0;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: rgb(47 43 67 / 21%) -2px 3px 20px 0px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.live #noteLoader div {
  margin: 18px 0;
}

/* Mobile responsive adjustments for noteLoader */
@media (max-width: 768px) {
  .live #noteLoaderContainer {
    padding: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
  }

  .live #noteLoader {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh;
    padding: 0;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible;
    position: relative;
  }


  

  /* Ensure no horizontal overflow */
  .live #noteLoader * {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Force all content to fit within viewport */
  .live #noteLoader > * {
    width: 100%;
  }

  /* Fix input elements on mobile */
  .live #noteLoader input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .live #noteLoader button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Fix example items on mobile */
  .live #noteLoader .example-item {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow: hidden;
  }

  /* Fix all text elements */
  .live #noteLoader h1,
  .live #noteLoader h2,
  .live #noteLoader h3,
  .live #noteLoader p,
  .live #noteLoader span {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
  }

  .live #noteLoader div {
    margin: 18px 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
  }

  /* Make button-container stack vertically on mobile */
  .live #noteLoader .button-container {
    flex-direction: column;
    gap: 10px;
  }
}

/* Live noteLoader examples styling */
.live #noteLoader .example-item {
  background: #f5f8fd;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
}

.live #noteLoader .example-item:hover {
  background: #fff;
  border-color: #4a75ff;
  transform: scale(1.01);
}

.live #noteLoader .example-item a {
  display: block;
  font-style: normal;
  color: #4a75ff;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-decoration: none !important;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  overflow: hidden;
}

.live #noteLoader .example-item a:hover {
  color: #3a65ef;
}

.live #noteLoader .example-item .author-name {
  text-align: left;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-shadow: none;
  margin: 0;
}

.live #noteLoader .author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* Style Options Modal Toggle Button */
.live #noteLoader .styleOptionsModalToggle {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  background: #4a75ff;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.live #noteLoader .styleOptionsModalToggle:hover {
  background: #3a65ef;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.35);
}

/* Live noteLoader form elements */
.live #noteLoader label {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Live noteLoader button */
.live #noteLoader .button {
  background: #4a75ff;
  color: #fff;
  border: 2px solid transparent;
}

/* Outline button style */
.live #noteLoader .button.outline {
  background: transparent;
  color: #4a75ff;
  border: 2px solid #4a75ff;
  height: 48px;
}

.live #noteLoader .button:hover {
  background: #3a65ef;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.35);
}

.live #noteLoader .button.outline:hover {
  background: #4a75ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.35);
}

/* Live noteLoader headings and links */
.live #noteLoader h3 {
  margin: 20px 0 12px 0;
  color: #2c3e50;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live #noteLoader a {
  color: #3498db;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.live #noteLoader a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Live noteLoader specific example styling */
.live #noteLoader .example-comment {
  background: rgba(122, 139, 160, 0.1);
  border: 1px solid rgba(122, 139, 160, 0.3);
  color: #b8c5d1;
  position: relative;
}

.live #noteLoader .example-comment::after {
  content: '💬 Posted by Creator';
  display: block;
  font-family: sans-serif;
}

/* Custom scrollbar for live note loader - hidden on mobile */
.live #noteLoader {
  /* Hide scrollbar on mobile and small screens */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.live #noteLoader::-webkit-scrollbar {
  display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

/* Show custom scrollbar only on larger screens */
@media (min-width: 768px) {
  .live #noteLoader {
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: auto; /* Internet Explorer 10+ */
  }

  .live #noteLoader::-webkit-scrollbar {
    display: block;
    width: 6px;
  }

  .live #noteLoader::-webkit-scrollbar-track {
    background: rgba(74, 117, 255, 0.1);
    border-radius: 3px;
  }

  .live #noteLoader::-webkit-scrollbar-thumb {
    background: rgba(74, 117, 255, 0.3);
    border-radius: 3px;
  }

  .live #noteLoader::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 117, 255, 0.5);
  }
}

@media (max-width: 480px) {
  .live #noteLoader .note-loader-footer .footer-links {
    gap: 20px;
  }

  .live #noteLoader .note-loader-footer .footer-link {
    font-size: 13px;
  }

  .live #noteLoader .note-loader-footer .footer-text-link {
    font-size: 11px;
  }
}

/* App Header Styles */
.app-header {
  text-align: center;
  margin-bottom: 25px;
  margin-top: 0;
  padding: 0 20px 20px 20px;
  background: transparent;
  border-radius: 0;
  border: none;
  backdrop-filter: none;
}

.app-header h1 {
  font-size: 24px;
  margin: 0 0 8px 0;
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  letter-spacing: 0.5px;
}

.app-description {
  font-size: 1.1em;
  margin: 0;
  color: #34495e;
}

/* Live app-header - minimalist styling */
.live .app-header {
  text-align: center;
  margin-bottom: 32px;
  margin-top: 0;
  padding: 0 0 20px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* Live app-header description */
.live .app-header .app-description {
  font-size: 14px;
  color: #7a8ba0;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}

/* Live noteLoader content elements */
.live #noteLoader p {
  margin: 12px 0;
  line-height: 1.6;
  color: #555;
}

.live #noteLoader .button-container div {
  margin: 0;
}

/* Live noteLoader form elements */
.live #noteLoader label {
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live #noteLoader input {
  width: 100%;
  font-size: 16px;
  margin-bottom: 0px;
  box-sizing: border-box;
  color: rgb(44, 62, 80);
  padding: 16px;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(225, 232, 237);
  border-image: initial;
  border-radius: 6px;
  background: white;
  transition: 0.3s;
}

.live #noteLoader input:focus {
  outline: none;
  border-color: #4a75ff;
  box-shadow: 0 0 0 3px rgba(74, 117, 255, 0.1);
  transform: translateY(-1px);
}

.live #noteLoader input::placeholder {
  color: #95a5a6;
}

/* Button Styles */
.live #noteLoader .button {
  background: #4a75ff;
  color: #fff;
  border: 2px solid transparent;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live #noteLoader .button:hover {
  background: #3a65ef;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.35);
}

.live #noteLoader .button.outline {
  background: transparent;
  color: #4a75ff;
  border: 2px solid #4a75ff;
  box-shadow: none;
  box-sizing: border-box;
  height: 48px;
}

.live #noteLoader .button.outline:hover {
  background: #4a75ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.35);
}

/* Examples Section */
.live #noteLoader .examples-section {
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
}

/* Note Loader Footer */
.live #noteLoader .note-loader-footer {
  margin-top: 30px;
  padding: 20px 0;
  text-align: center;
}

.live #noteLoader .note-loader-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
}

.live #noteLoader .note-loader-footer .footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.live #noteLoader .note-loader-footer .footer-link:hover {
  color: #666;
  text-decoration: none;
}

.live #noteLoader .note-loader-footer .footer-icon {
  font-size: 16px;
}

.live #noteLoader .note-loader-footer .footer-text {
  margin-top: 10px;
}

.live #noteLoader .note-loader-footer .footer-text-link {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.live #noteLoader .note-loader-footer .footer-text-link:hover {
  color: #4a75ff;
  text-decoration: none;
}

/* Button container for side by side buttons */
.button-container {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.button-container .button {
  flex: 1;
}

.live #noteLoader .examples-section {
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
}

/* Examples Section */
.examples-section {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  font-family: 'Inter', sans-serif;
}

.examples-section h3 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #4ecdc4;
}

.examples-section p {
  text-align: center;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* CSS Variables */
:root {
  --text-color: #333;
  --text-color-rgb: 51, 51, 51;
  --bg-color: #fff;
  --border-color: rgba(0, 0, 0, 0.1);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.formField,
textarea,
input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Live container */
.live {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-size: 1vw;
}

/* Note Loader Container */
.live #noteLoaderContainer {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100vw;
  min-height: 100vh;
  background: #fafafa;
  z-index: 100;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 100vh;
}

/* Note Loader */
.live #noteLoader {
  width: 95%;
  max-width: 600px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  border-radius: 16px;
  box-shadow: rgb(47 43 67 / 21%) -2px 3px 20px 0px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

/* App Header */
.live .app-header {
  text-align: center;
  margin-bottom: 32px;
  margin-top: 0;
  padding: 0 0 20px 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* Removed duplicate .live .app-header h1 rule - inline styles in HTML handle colors */

.live .app-description {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Note Loader Content Wrapper */
.live #noteLoader .note-loader-content {
  margin-bottom: 0px;
  width: 100%;
  padding: 0px 30px 0 30px;
  box-sizing: border-box;
  flex: 1;
}

.live #noteLoader p {
  margin: 12px 0;
  line-height: 1.6;
  color: #555;
}

.live #noteLoader .styleOptionsModalToggle {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  background: #4a75ff;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 117, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.live #noteLoader .styleOptionsModalToggle:hover {
  background: #3a65ef;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.35);
}

/* Error Message */
.live #noteLoaderError {
  background: #fee;
  color: #c33;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #fcc;
}

/* Examples Section */
.live .examples-section {
  margin-top: 30px;
}

.live .examples-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #333;
}

.live #noteLoader .author-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.live .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.live .footer-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.live .footer-link:hover {
  color: #4a75ff;
}

/* Main Layout */

.main-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 1);
  color: black;
  overflow: hidden;
  position: relative;
  transition: width 0.3s ease-out;
  --text-color: #000000;
  --scrollbar-track: rgba(0, 0, 0, 0.05);
  --scrollbar-thumb: rgba(0, 0, 0, 0.2);
  --scrollbar-thumb-hover: rgba(0, 0, 0, 0.3);
  color: var(--text-color);
}

.main-layout * {
  color: inherit;
}

/* Live Zap Overlay */
.liveZapOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 1;
}

/* Live-specific main layout - must come after .main-layout to override */
.live .main-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  overflow: hidden;
  position: relative;
}

/* Left Side */
.main-layout .left-side,
.live .left-side {
  width: 30%;
  height: 100vh;
  border-right: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.post-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  box-sizing: border-box;
}

/* Section Labels */
.section-label {
  font-size: max(1vw, 10px);
  font-weight: 600;
  color: inherit;
  margin: 0 0 15px 0;
  padding: 8px 0;
  border-bottom: 1px solid
    color-mix(in srgb, var(--text-color) 20%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  display: block;
  width: 100%;
  text-align: justify;
  opacity: 0.5;
}

/* Author Section */
.main-layout .author-section,
.live .author-section {
  display: flex;
  align-items: flex-start;
}

.author-image {
  width: 4vw;
  height: 4vw;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 0.5vw 0 0;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: max(2vw, 16px);
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

#authorName {
  margin-bottom: 3px;
}

/* NIP-05 and Lightning Address in author section */
.author-section .noteNIP05.label,
.author-section .noteLNAddress.label {
  font-size: 10px;
  margin-top: 0;
  opacity: 0.6;
}

.author-section .noteNIP05.label a,
.author-section .noteLNAddress.label a {
  color: var(--text-color);
  opacity: 0.8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.author-section .noteNIP05.label a:hover,
.author-section .noteLNAddress.label a:hover {
  opacity: 1;
}

.author-section .noteNIP05.label .material-symbols-outlined,
.author-section .noteLNAddress.label .material-symbols-outlined {
  font-size: 10px;
}

.author-section .noteNIP05.label .unverified,
.author-section .noteLNAddress.label .unverified {
  font-size: 9px;
  font-weight: bold;
  color: #9d4d4d;
  display: flex;
  align-items: center;
  gap: 3px;
}

.author-section .noteNIP05.label .unverified .material-symbols-outlined,
.author-section .noteLNAddress.label .unverified .material-symbols-outlined {
  font-size: 9px;
}

/* Text truncation for long addresses */
.author-section .noteLNAddress.label.text-truncate {
  overflow: hidden;
  max-width: 100%;
}

.author-section .noteLNAddress.label.text-truncate a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  width: 60%;
}

.author-section .noteLNAddress.label.text-truncate a .material-symbols-outlined {
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
}

/* Note Section */
.main-layout .note-section,
.live .note-section {
  flex: 1;
  overflow: hidden;
  margin-bottom: 1.5vw;
  padding-bottom: 1.5vw;
  border-bottom: 1px solid
    color-mix(in srgb, var(--text-color) 20%, transparent);
  min-height: 0;
  max-height: 47vh;
}

.live .note-section {
  padding-top: 1.5vw;
}

.note-content {
  font-size: max(1.2vw, 14px);
  line-height: 1.6;
  color: var(--text-color);
  word-wrap: break-word;
  overflow-y: auto;
  max-height: 100%;
  height: auto;
}

.live .note-content a {
  text-decoration-color: inherit;
}

.live .note-content a:hover {
  text-decoration-color: inherit;
}

.note-content .nostrMention {
  color: var(--text-color);
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.note-content .nostrMention:hover {
  opacity: 1;
}

/* Live note content scrollbar - same as zaps-container */
.live .note-content::-webkit-scrollbar {
  width: 6px;
}

.live .note-content::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--text-color) 5%, transparent);
  border-radius: 3px;
}

.live .note-content::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-color) 50%, transparent);
  border-radius: 3px;
}

.live .note-content::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--text-color) 70%, transparent);
}

/* QR Section */
.main-layout .qr-section,
.live .qr-section {
  text-align: center;
  padding: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code {
  width: 100%;
  max-width: 50vw;
  max-height: 50vh;
  height: auto;
  
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}


body.qr-only-mode .qr-code{
  max-width: 100vw;
  max-height: 100vh;
}

.lightning-qr-slide .qr-code {
  width: 100%;
  max-width: 50vw;
  max-height: 50vh;
  height: auto;
  object-fit: contain;
}

.lightning-qr-slide .qr-slide-label {
  color: var(--text-color);
}

/* QR Swiper */
.qr-swiper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  min-height: 250px;
  position: relative;
  overflow: hidden; /* Prevent slides from showing outside container */
}

.qr-swiper .swiper-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: inherit;
  font-family: inherit;
  font-weight: inherit;
  width: 100%; /* Ensure slide takes full width */
  flex-shrink: 0; /* Prevent slides from shrinking */
}

.qr-swiper .swiper-pagination {
  position: relative;
  margin-top: 8px;
}

.qr-swiper .swiper-pagination-bullet {
  width: 2.5vw !important;
  min-width: 20px !important;
  max-width: 40px !important;
  height: 0.3vw !important;
  min-height: 3px !important;
  max-height: 5px !important;
  border-radius: 0 !important;
  background-color: rgba(var(--text-color-rgb), 0.2) !important;
  border: 1px solid var(--text-color) !important;
  opacity: 1 !important;
  margin: 0 0.2vw !important;
  position: relative;
  overflow: hidden;
}

.qr-swiper .swiper-pagination-bullet::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--text-color);
  transform: translateX(-100%);
  transition: transform 0.1s ease;
}

.qr-swiper .swiper-pagination-bullet-active {
  background-color: rgba(var(--text-color-rgb), 0.2) !important;
  opacity: 1 !important;
}

.qr-swiper .swiper-pagination-bullet-active::before {
  transform: translateX(calc(-100% + var(--progress, 0%)));
  transition: transform 0.05s ease-out;
}

.qr-swiper .swiper-wrapper,
.qr-swiper .swiper-slide {
  isolation: auto;
  transform-style: flat;
  position: relative;
}

.qr-swiper .swiper-wrapper {
  height: auto;
  min-height: 250px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* Align slides to start to prevent centering issues */
  width: 100%; /* Ensure wrapper takes full width */
}

/* QR slide visibility CSS */
.qr-swiper .swiper-slide.hidden {
  display: none !important;
}

/* Apply blend mode to swiper container - exactly like legacy */
body.qr-blend-active .qr-swiper {
  mix-blend-mode: screen;
}

body.qr-blend-active.qr-multiply-active .qr-swiper {
  mix-blend-mode: multiply;
}

/* Protect text elements from blend mode effects */
body.qr-blend-active .qr-swiper .qr-slide-title,
body.qr-blend-active .qr-swiper .qr-slide-label {
  mix-blend-mode: normal;
  isolation: isolate;
  color: var(--text-color) !important;
}

/* Fix blend mode issues - disable backdrop filter when QR blend is active */
body.qr-blend-active .left-side {
  backdrop-filter: none !important;
}

/* Responsive progress bar adjustments */
@media (max-width: 768px) {
  .qr-swiper .swiper-pagination-bullet {
    width: 3vw !important;
    min-width: 15px !important;
    max-width: 35px !important;
    height: 0.4vw !important;
    min-height: 2px !important;
    max-height: 4px !important;
    margin: 0 0.3vw !important;
  }
}

@media (max-width: 480px) {
  .qr-swiper .swiper-pagination-bullet {
    width: 4vw !important;
    min-width: 12px !important;
    max-width: 30px !important;
    height: 0.5vw !important;
    min-height: 2px !important;
    max-height: 3px !important;
    margin: 0 0.4vw !important;
  }
}

@media (min-width: 1200px) {
  .qr-swiper .swiper-pagination-bullet {
    width: 2vw !important;
    min-width: 25px !important;
    max-width: 45px !important;
    height: 0.25vw !important;
    min-height: 4px !important;
    max-height: 6px !important;
    margin: 0 0.15vw !important;
  }
}

.qr-slide-title {
  font-size: max(1vw, 10px);
  color: var(--text-color) !important;
  opacity: 0.9;
  margin-bottom: 4px;
  margin-top: 3px;
  font-weight: 600;
  text-align: center;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Ensure ellipsis in QR slide titles uses correct color */
.swiper-slide .qr-slide-title,
.qr-swiper .qr-slide-title {
  color: var(--text-color) !important;
}

.qr-slide-title .qr-data-preview {
  font-weight: 400;
  opacity: 0.6;
  margin-left: 4px;
  font-size: 0.85em;
  text-transform: uppercase;
  color: var(--text-color);
}

.qr-slide-label {
  font-size: max(0.8vw, 10px);
  color: var(--text-color) !important;
  opacity: 0.7;
  margin-top: 0px;
  font-weight: 500;
  text-align: center;
}

/* Ensure all QR slide labels use correct color, even when moved between containers */
.swiper-slide .qr-slide-label,
.qr-swiper .qr-slide-label {
  color: var(--text-color) !important;
}

.qr-data-preview {
  font-size: inherit;
  color: inherit;
  opacity: inherit;
  font-family: inherit;
  font-weight: inherit;
}

/* Right Side */
.main-layout .right-side,
.live .right-side {
  width: 70%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

/* Zaps Header */
.main-layout .zaps-header,
.live .zaps-header {
  padding: 30px 30px 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 5vw;
  border-bottom: 1px solid
    color-mix(in srgb, var(--text-color) 20%, transparent);
}

/* Section Labels Toggle States */
/* When section labels are visible (toggle OFF) */
.main-layout .zaps-header,
.live .zaps-header {
  align-items: flex-start;
}

/* When section labels are hidden (toggle ON) */
.main-layout.show-total-labels .zaps-header,
.live.show-total-labels .zaps-header {
  align-items: flex-end;
}

/* Fiat Amount Styling */
.fiat-amount {
  font-size: max(0.8vw, 10px);
  color: var(--text-color);
  opacity: 0.7;
  margin-top: 2px;
  font-weight: normal;
}

.currency-code {
  opacity: 0.5;
  display: inline-block;
  /* font-size: 1vw; */
}

.historical-price {
  opacity: 0.6;
  font-size: 0.9em;
  font-weight: normal;
}

.historical-change {
  opacity: 0.7;
  font-size: 0.85em;
  font-weight: bold;
  margin-left: 4px;
}

/* Loading animation for historical price toggle */
@keyframes pulse {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.toggle-switch.loading {
  position: relative;
  overflow: hidden;
}

.toggle-switch.loading .toggle-slider {
  opacity: 0.8;
}

/* Currency Selector Styling */
#currencySelectorGroup select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background-color: white;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  padding-right: 40px;
}

#currencySelectorGroup select:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

#currencySelectorGroup select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#currencySelectorGroup select option {
  padding: 8px;
  font-size: 14px;
}

.zaps-header-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-direction: column;
  width: 100%;
  font-size: max(1vw, 12px);
}

.zaps-header-left h2 {
  font-size: max(2.2vw, 16px);
  margin: 0 0 15px 0;
  color: var(--text-color);
  font-weight: 600;
}

.total-label {
  font-size: max(1.2vw, 14px);
  color: var(--text-color);
  display: none;
  padding-right: 0.5vw;
}

.total-amount {
  font-size: max(1.8vw, 18px);
  font-weight: bold;
  color: #00ff88;
}

.total-sats {
  font-size: max(1vw, 12px);
  color: var(--text-color);
  opacity: 0.6;
}

.zap-count-separator {
  font-size: 1.2rem;
  color: #999;
  margin: 0 5px;
}

.total-count {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}

.total-zaps {
  font-size: max(1vw, 12px);
  color: var(--text-color);
  padding: 0 0.5vw;
  opacity: 0.6;
}

.zaps-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.style-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(180, 180, 180, 0.3);
  padding: 0.5vw;
  width: 2.5vw;
  height: 2.5vw;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2vw;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.style-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

/* Adjust main layout when style panel is open */
body.style-panel-open .main-layout,
body.style-panel-open .live .main-layout {
  width: calc(100vw - 450px);
  transition: width 0.3s ease-out;
}

/* Style toggle button when panel is open */
body.style-panel-open .style-toggle-btn {
  background: #4a75ff2b;
  border-color: #4a75ffc4;
  color: #4a75ff;
}

.powered-by {
  display: flex;
  align-items: center;
}

.powered-by img {
  height: 3vw;
  opacity: 1;
}

/* Top Zappers Bar */
.top-zappers-bar {
  padding: 0 30px 0px 30px;
  margin-bottom: 10px;
}

.top-zappers-list {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 20px;
}

.top-zapper {
  display: flex;
  align-items: center;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgb(133 133 133 / 18%);
}

.top-zapper:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.zapper-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.zapper-info {
  flex: 1;
  min-width: 0;
}

.zapper-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Zaps Container */
.main-layout .zaps-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
  border-radius: 12px;
  margin: 0;
}

.live .zaps-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px 0px 30px;
  border-radius: 12px;
  margin: 0;
}

.livestream .zaps-container {
  overflow: hidden;
}

.zaps-container::-webkit-scrollbar {
  width: 6px;
}

.zaps-container::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--text-color) 5%, transparent);
  border-radius: 3px;
}

.zaps-container::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text-color) 50%, transparent);
  border-radius: 3px;
}

.zaps-container::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--text-color) 70%, transparent);
}

.zaps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Zap Items */
.zap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.zapperProfile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.zapperProfileImg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.zapperMessage {
  font-size: max(0.9vw, 12px);
  font-weight: 300;
  color: var(--text-color);
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 200px;
  margin-top: 2px;
}

.zapperName {
  font-size: max(1vw, 14px);
  font-weight: 600;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 200px;
}

.zapperInfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.zapperMessage {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 200px;
}

.zapperAmount {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  text-align: right;
  flex-shrink: 0;
  margin-left: 16px;
  min-width: 80px;
  gap: 4px;
  font-weight: bold;
  color: var(--text-color);
}

.zapperAmountSats {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
}

.zapperAmountLabel {
  font-size: 12px;
  opacity: 0.5;
}

.live .zap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: transparent;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
  transition: all 0.2s ease;
}

.live .zap:nth-child(1) {
  gap: 0vh;
}

.live .zap:nth-child(1) .zapperProfile {
  gap: 1.5vw;
}

.live .zap:nth-child(1) .zapperName {
  font-size: max(3.2vw, 24px);
}

.live .zap:nth-child(2) .zapperName {
  font-size: max(2.6vw, 20px);
}

.live .zap:nth-child(3) .zapperName {
  font-size: max(2vw, 18px);
}

.live .zap:nth-child(1) .zapperMessage {
  font-size: max(2.8vw, 20px);
}

.live .zap:nth-child(2) .zapperMessage {
  font-size: max(2.2vw, 18px);
}

.live .zap:nth-child(3) .zapperMessage {
  font-size: max(1.6vw, 16px);
}

.live .zap:nth-child(1) .zapperAmountSats {
  font-size: max(3vw, 22px);
}

.live .zap:nth-child(2) .zapperAmountSats {
  font-size: max(2.4vw, 18px);
}

.live .zap:nth-child(3) .zapperAmountSats {
  font-size: max(1.8vw, 16px);
}

.live .zapperName,
.live .zapperMessage {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.live .zapperProfile {
  display: flex;
  align-items: center;
  gap: 1vw;
  min-width: 0px;
}

.live .zapperProfileImg {
  width: 3vw;
  height: 3vw;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.live .zap .zapperName {
  font-weight: 800;
  line-height: 0.9em;
}

.live .zap:nth-child(1) .zapperProfileImg {
  width: 15vw;
  height: 15vw;
}

.live .zap:nth-child(1) .zapperAmount {
  font-size: 3vw;
}

.live .zapperAmountSats {
  opacity: 1;
}

.live .zap:nth-child(2) .zapperProfile {
  gap: 1vw;
}

.live .zap:nth-child(2) .zapperProfileImg {
  width: 10vw;
  height: 10vw;
}

.live .zap:nth-child(3) .zapperProfileImg {
  width: 5vw;
  height: 5vw;
}

/* Live-specific responsive zapperContent and zapperMessage font sizes */
@media (max-width: 768px) {
  .live .zapperContent {
    font-size: 1.4vw;
  }
  .live .zapperMessage {
    font-size: 1.3vw;
  }
}

@media (max-width: 480px) {
  .live .zapperContent {
    font-size: 1.6vw;
  }
  .live .zapperMessage {
    font-size: 1.5vw;
  }
}

@media (min-width: 1200px) {
  .live .zapperContent {
    font-size: 0.9vw;
  }
  .live .zapperMessage {
    font-size: 0.8vw;
  }
}

/* Live-specific zapperProfile styling */
.live .zapperProfile {
  display: flex;
  align-items: center;
  gap: 1vw;
  min-width: 0px;
}

.live .zapperProfileImg {
  width: 3vw;
  height: 3vw;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.live .zap .zapperName {
  font-weight: 800;
  line-height: 0.9em;
}

.live .zap:nth-child(1) {
  gap: 0vh;
}

.live .zap:nth-child(1) .zapperProfile {
  gap: 1.5vw;
}

.live .zap:nth-child(1) .zapperName {
  font-size: max(3.2vw, 24px);
}

.live .zap:nth-child(2) .zapperName {
  font-size: max(2.6vw, 20px);
}

.live .zap:nth-child(3) .zapperName {
  font-size: max(2vw, 18px);
}

.live .zap:nth-child(1) .zapperMessage {
  font-size: max(2.8vw, 20px);
}

.live .zap:nth-child(2) .zapperMessage {
  font-size: max(2.2vw, 18px);
}

.live .zap:nth-child(3) .zapperMessage {
  font-size: max(1.6vw, 16px);
}

.live .zap:nth-child(1) .zapperAmountSats {
  font-size: max(3vw, 22px);
}

.live .zap:nth-child(2) .zapperAmountSats {
  font-size: max(2.4vw, 18px);
}

.live .zap:nth-child(3) .zapperAmountSats {
  font-size: max(1.8vw, 16px);
}

/* Responsive max-width for zapperName and zapperMessage */
.live .zapperName,
.live .zapperMessage {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

@media (max-width: 768px) {
  .live .zapperName,
  .live .zapperMessage {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .live .zapperName,
  .live .zapperMessage {
    max-width: 120px;
  }
}

@media (min-width: 1200px) {
  .live .zapperName,
  .live .zapperMessage {
    max-width: 460px;
  }
}

.live .zap:nth-child(2) .zapperProfile {
  gap: 1vw;
}

.live .zap:nth-child(1) .zapperProfileImg {
  width: 15vw;
  height: 15vw;
}

.live .zap:nth-child(1) .zapperAmount {
  font-size: 3vw;
}

.live .zapperAmountSats {
  opacity: 1;
}

.live .zap:nth-child(2) .zapperProfileImg {
  width: 10vw;
  height: 10vw;
}

.live .zap:nth-child(3) .zapperProfileImg {
  width: 5vw;
  height: 5vw;
}

/* Style Options Modal */
#styleOptionsModal {
  display: none;
  position: fixed;
  z-index: 1000;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: transparent;
  transition: all 0.15s ease-out;
  overflow: hidden;
}

#styleOptionsModal.show {
  display: block;
  width: 450px;
  background-color: transparent;
}

.style-options-content {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  margin: 0;
  padding: 0;
  border: none;
  width: 450px;
  height: 100vh;
  border-radius: 0;
  box-shadow:
    -15px 0 40px rgba(74, 117, 255, 0.2),
    -5px 0 15px rgba(74, 117, 255, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.15s ease-out;
  border-left: 1px solid rgba(74, 117, 255, 0.2);
}

#styleOptionsModal.show .style-options-content {
  transform: translateX(0);
}

.style-options-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: none;
  color: #495057;
  border-radius: 0;
  flex-shrink: 0;
}

.style-options-header h2 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #495057;
}

.close-button {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  opacity: 1;
}

.style-options-body {
  padding: 0 25px 20px 25px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
}

.style-section {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(74, 117, 255, 0.1);
  border: 1px solid rgba(74, 117, 255, 0.1);
}

.section-title {
  margin: 0 0 15px 0;
  font-size: 12px;
  font-weight: 600;
  color: #909295;
  display: flex;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-items: center;
}

.presets-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  justify-content: flex-start;
}

.preset-btn {
  padding: 8px 16px;
  border: 2px solid rgba(74, 117, 255, 0.2);
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
}

.preset-btn:hover {
  border-color: #4a75ff;
  color: #4a75ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 117, 255, 0.3);
}

.preset-btn.active {
  background: linear-gradient(135deg, #4a75ff 0%, #3a65ef 100%);
  border-color: #4a75ff;
  color: white;
}

.style-actions {
  padding: 20px 25px;
  border-top: 1px solid rgba(74, 133, 255, 0.1);
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.apply-button {
  flex: 1;
  background: #4a75ff;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.apply-button:hover {
  background: #3a65ef;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .main-layout,
  .live {
    flex-direction: column;
  }

  .main-layout .left-side,
  .live .left-side {
    width: 100%;
    height: 40vh;
    border-right: none;
    border-bottom: 1px solid
      color-mix(in srgb, var(--text-color) 20%, transparent);
  }

  .main-layout .right-side,
  .live .right-side {
    width: 100%;
    height: 60vh;
  }

  .post-info {
    padding: 15px;
  }

  .zaps-header,
  .zaps-container,
  .top-zappers-bar {
    padding-left: 15px;
    padding-right: 15px;
  }

  .top-zappers-list {
    gap: 8px;
  }

  .top-zapper {
    padding: 8px;
  }

  .zapper-avatar {
    width: 30px;
    height: 30px;
  }

  .zapper-name {
    font-size: 0.85em;
  }

  .zapper-total {
    font-size: 0.75em;
  }

  /* Responsive medal sizing - Only apply when podium is enabled and NOT in grid layout */
  body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(1)::before {
    font-size: 3vw;
  }

  body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(2)::before {
    font-size: 2.7vw;
  }

  body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(3)::before {
    font-size: 2.5vw;
  }

  /* Responsive font sizes for global podium styling */
  body.podium-enabled .zaps-list.grid-layout .zap.podium-global-1::before,
  body.podium-enabled .zaps-list.grid-layout .zap.podium-global-2::before,
  body.podium-enabled .zaps-list.grid-layout .zap.podium-global-3::before {
    font-size: 3vw;
  }
}

@media (max-width: 1200px) {
  /* Responsive adjustments for grid layout */
  .zaps-list.grid-layout .zap.row-1 {
    min-height: 100px;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperProfileImg {
    width: 2.6vw;
    height: 2.6vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperName {
    font-size: 1.1vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperMessage {
    font-size: 0.9vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperAmountSats {
    font-size: 1.3vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperAmountLabel {
    font-size: 0.9vw;
  }

  .zaps-list.grid-layout .zap.row-2 {
    min-height: 80px;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperProfileImg {
    width: 2vw;
    height: 2vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperName {
    font-size: 0.9vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperMessage {
    font-size: 0.7vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperAmountSats {
    font-size: 1.1vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperAmountLabel {
    font-size: 0.7vw;
  }

  .zaps-list.grid-layout .zap.row-3 {
    min-height: 60px;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperProfileImg {
    width: 1.5vw;
    height: 1.5vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperName {
    font-size: 0.7vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperMessage {
    font-size: 0.5vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperAmountSats {
    font-size: 0.9vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperAmountLabel {
    font-size: 0.5vw;
  }

  .zaps-list.grid-layout .zap.row-4 {
    min-height: 50px;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperProfileImg {
    width: 1.1vw;
    height: 1.1vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperName {
    font-size: 0.5vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperMessage {
    font-size: 0.4vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperAmountSats {
    font-size: 0.7vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperAmountLabel {
    font-size: 0.4vw;
  }

  .zaps-list.grid-layout .zap.row-5 {
    min-height: 35px;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperProfileImg {
    width: 0.9vw;
    height: 0.9vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperName {
    font-size: 0.4vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperMessage {
    font-size: 0.3vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperAmountSats {
    font-size: 0.5vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperAmountLabel {
    font-size: 0.3vw;
  }
}

@media (max-width: 768px) {
  .zaps-list.grid-layout .zap.row-1 {
    min-height: 90px;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperProfileImg {
    width: 2.2vw;
    height: 2.2vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperName {
    font-size: 1vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperMessage {
    font-size: 0.8vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperAmountSats {
    font-size: 1.2vw;
  }
  .zaps-list.grid-layout .zap.row-1 .zapperAmountLabel {
    font-size: 0.8vw;
  }

  .zaps-list.grid-layout .zap-row.row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .zaps-list.grid-layout .zap.row-2 {
    min-height: 70px;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperProfileImg {
    width: 1.7vw;
    height: 1.7vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperName {
    font-size: 0.8vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperMessage {
    font-size: 0.6vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperAmountSats {
    font-size: 1vw;
  }
  .zaps-list.grid-layout .zap.row-2 .zapperAmountLabel {
    font-size: 0.6vw;
  }

  .zaps-list.grid-layout .zap-row.row-3 {
    grid-template-columns: repeat(4, 1fr);
  }
  .zaps-list.grid-layout .zap.row-3 {
    min-height: 55px;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperProfileImg {
    width: 1.2vw;
    height: 1.2vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperName {
    font-size: 0.6vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperMessage {
    font-size: 0.4vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperAmountSats {
    font-size: 0.8vw;
  }
  .zaps-list.grid-layout .zap.row-3 .zapperAmountLabel {
    font-size: 0.4vw;
  }

  .zaps-list.grid-layout .zap-row.row-4 {
    grid-template-columns: repeat(8, 1fr);
  }
  .zaps-list.grid-layout .zap.row-4 {
    min-height: 45px;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperProfileImg {
    width: 1vw;
    height: 1vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperName {
    font-size: 0.4vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperMessage {
    font-size: 0.3vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperAmountSats {
    font-size: 0.6vw;
  }
  .zaps-list.grid-layout .zap.row-4 .zapperAmountLabel {
    font-size: 0.3vw;
  }

  .zaps-list.grid-layout .zap-row.row-5 {
    grid-template-columns: repeat(16, 1fr);
  }
  .zaps-list.grid-layout .zap.row-5 {
    min-height: 35px;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperProfileImg {
    width: 0.8vw;
    height: 0.8vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperName {
    font-size: 0.3vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperMessage {
    font-size: 0.25vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperAmountSats {
    font-size: 0.4vw;
  }
  .zaps-list.grid-layout .zap.row-5 .zapperAmountLabel {
    font-size: 0.25vw;
  }
}

@media (max-width: 768px) {
  .main-layout,
  .live {
    flex-direction: column;
  }

  .main-layout .left-side,
  .live .left-side {
    width: 100%;
    height: 40vh;
    border-right: none;
    border-bottom: 1px solid
      color-mix(in srgb, var(--text-color) 20%, transparent);
  }

  .main-layout .right-side,
  .live .right-side {
    width: 100%;
    height: 60vh;
  }

  .post-info {
    padding: 15px;
  }

  .zaps-header,
  .zaps-container,
  .top-zappers-bar {
    padding-left: 15px;
    padding-right: 15px;
  }

  .top-zappers-list {
    gap: 8px;
  }

  .top-zapper {
    padding: 8px;
  }

  .zapper-avatar {
    width: 30px;
    height: 30px;
  }

  .zapper-name {
    font-size: 0.75em;
  }

  .zapper-total {
    font-size: 0.65em;
  }

  .qr-code,
  .lightning-qr-slide .qr-code {
    max-width: 100%;
    max-height: 36vh;
    height: auto;
    width: auto;
    object-fit: contain;
  }

  .qr-swiper {
    min-height: 50vw;
    padding-top: 20px;
  }

  .qr-swiper .swiper-wrapper {
    min-height: 40vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .qr-section {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .qr-code,
  .lightning-qr-slide .qr-code {
    max-width: 90%;
    max-height: 40vh;
    height: auto;
    width: auto;
    object-fit: contain;
  }

  .qr-swiper {
    min-height: 100vw;
    padding-top: 15px;
  }

  .qr-swiper .swiper-wrapper {
    min-height: 45vh;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .zapper-name {
    font-size: 0.7em;
  }

  .zapper-total {
    font-size: 0.6em;
  }

  .note-content {
    font-size: max(0.9vw, 11px);
    line-height: 1.3;
  }

  .note-section {
    max-height: 25vh;
  }

  .zaps-header {
    font-size: max(1.2vw, 14px);
  }

  .zap {
    padding: 8px;
  }

  .zapperProfileImg {
    width: 2vw;
    height: 2vw;
  }

  .zapperName {
    font-size: max(0.8vw, 12px);
  }

  .zapperMessage {
    font-size: max(0.7vw, 10px);
  }

  .zapperAmountSats {
    font-size: max(1vw, 14px);
  }

  .zapperAmountLabel {
    font-size: max(0.7vw, 10px);
  }
}

/* ===== LIVE EVENT TWO-COLUMN LAYOUT ===== */

/* Adjust zaps-container for live events to remove scrolling (columns will handle it) */
.livestream .zaps-container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.live-event-two-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

.live-event-columns {
  display: flex;
  flex: 1;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
}

.live-event-zaps-only {
  flex: 0 0 calc(70% - 7px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.live-event-activity {
  flex: 0 0 calc(30% - 3px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.zaps-only-list,
.activity-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  min-width: 0;
  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--text-color) transparent;
}

/* Webkit scrollbar styling for Chrome/Safari/Edge */
.zaps-only-list::-webkit-scrollbar,
.activity-list::-webkit-scrollbar {
  width: 8px;
}

.zaps-only-list::-webkit-scrollbar-track,
.activity-list::-webkit-scrollbar-track {
  background: transparent;
}

.zaps-only-list::-webkit-scrollbar-thumb,
.activity-list::-webkit-scrollbar-thumb {
  background-color: var(--text-color);
  border-radius: 4px;
}

.zaps-only-list::-webkit-scrollbar-thumb:hover,
.activity-list::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
}

/* Zap-only column styling */
.zap-only-item {
  margin-bottom: 10px;
}

/* Responsive adjustments for two-column layout */
@media (max-width: 768px) {
  .live-event-columns {
    flex-direction: column;
  }

  .live-event-zaps-only {
    flex: 0 0 60%;
  }

  .live-event-activity {
    flex: 0 0 40%;
  }
}

/* Grid toggle disabled state */
.grid-toggle-disabled {
  opacity: 0.8 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

.grid-toggle-disabled .toggle-slider {
  opacity: 0.4 !important;
}

.grid-toggle-disabled span {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

/* On mobile, revert to overlay behavior */
body.style-panel-open .main-layout {
  width: 100vw;
}

.top-zappers-list {
  gap: 8px;
}

.top-zapper {
  padding: 10px;
}

.zapper-avatar {
  width: 35px;
  height: 35px;
}

.note-content {
  font-size: max(1.1vw, 13px);
}

.style-options-content {
  width: 100%;
  height: 100vh;
}

.presets-container {
  justify-content: flex-start;
}

/* Portrait Swiper */
.portrait-swiper {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
}

.portrait-swiper .swiper {
  width: 100%;
  height: 100%;
}

.portrait-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

/* Portrait Swiper Styling - Complete from Legacy */
.live #noteLoader .portrait-swiper {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4;
  max-height: 1000px;
  margin: 0 0 20px 0 !important;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  text-decoration: none;
  touch-action: pan-y pinch-zoom;
}

.live #noteLoader .portrait-swiper .swiper {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 0;
  touch-action: pan-y pinch-zoom;
}

.live #noteLoader .portrait-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 0;
  touch-action: pan-y pinch-zoom;
}

.live #noteLoader .portrait-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 0;
  flex-shrink: 0;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-drag: none;
}

.live #noteLoader .portrait-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Gradient overlay for seamless blending */
.live #noteLoader .portrait-swiper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Mobile responsive adjustments for portrait swiper */
@media (max-width: 768px) {
  .live #noteLoader .portrait-swiper {
    height: auto;
    aspect-ratio: 4 / 4;
    max-height: none;
    margin-bottom: 0;
    border-radius: 0 !important;
    border: none !important;
    touch-action: pan-y pinch-zoom !important;
  }

  .live #noteLoader .portrait-swiper .swiper {
    touch-action: pan-y pinch-zoom !important;
    border-radius: 0 !important;
  }

  .live #noteLoader .portrait-swiper .swiper-wrapper {
    touch-action: pan-y pinch-zoom !important;
    border-radius: 0 !important;
  }

  .live #noteLoader .portrait-swiper .swiper-slide {
    touch-action: pan-y pinch-zoom !important;
    border-radius: 0 !important;
  }

  .live #noteLoader .portrait-swiper .swiper-slide img {
    pointer-events: none !important;
    touch-action: none !important;
  }
}

@media (max-width: 480px) {
  .live #noteLoader .portrait-swiper {
    height: auto;
    aspect-ratio: 4 / 4;
    max-height: none;
    margin-bottom: 0;
    border-radius: 0 !important;
    border: none !important;
    touch-action: pan-y pinch-zoom !important;
  }

  .live #noteLoader .portrait-swiper .swiper {
    touch-action: pan-y pinch-zoom !important;
    border-radius: 0 !important;
  }

  .live #noteLoader .portrait-swiper .swiper-wrapper {
    touch-action: pan-y pinch-zoom !important;
    border-radius: 0 !important;
  }

  .live #noteLoader .portrait-swiper .swiper-slide {
    touch-action: pan-y pinch-zoom !important;
    border-radius: 0 !important;
  }

  .live #noteLoader .portrait-swiper .swiper-slide img {
    pointer-events: none !important;
    touch-action: none !important;
  }
}

/* Swiper Pagination */
.swiper-pagination {
  position: relative;
  margin-top: 15px;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #4a75ff;
}

/* Utility Classes */
.hide {
  display: none !important;
}

.bold {
  font-weight: 600;
}

/* Animation for zaps */
@keyframes zapReaction {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.zapReaction {
  animation: zapReaction 0.6s ease-in-out;
}

/* ===== MISSING LIVE STYLES FROM LEGACY CSS ===== */

/* Live color variants */
.live.color {
  background: black;
}

.live.black {
  background: #000;
  color: #fff;
}

/* Seed note styles */
.live .seedNote {
  display: flex;
  flex-direction: column;
  padding: 3vw;
  width: 34vw;
}

.live .seedNoteData {
  padding-top: 1vw;
  width: 100%;
}

.live .seedNoteAuthor {
  display: flex;
  margin-bottom: 1vw;
}

.live .noteDisplayName {
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 3vw;
  letter-spacing: 0.01rem;
  display: block;
  margin: 1vw;
}

.live .seedNote .qrCode {
  display: flex;
  width: 34vw;
  height: 34vw;
  padding: 0vw;
}

.live .seedNoteAuthor .userImg {
  width: 5vw;
  height: 5vw;
  object-fit: cover;
}

.live #noteContent {
  font-size: max(1.8vw, 16px);
  font-weight: 400;

  min-height: 5vw;
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  line-height: 1.2em;
  letter-spacing: 0.06rem;
  padding: 0 1vw 1vw 0;
}

.live #intructions {
  font-size: 1.3vw;
  font-weight: 300;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.03rem;
}

.live #zapsContainer {
  padding: 3.5vw;
  width: 52vw;
}

.live #zaps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.live .zapperContent {
  font-weight: 300;
  font-size: 1vw;
}

/* Live noteLoader specific example styling */
.live #noteLoader .example-comment {
  background: rgba(122, 139, 160, 0.1);
  border: 1px solid rgba(122, 139, 160, 0.3);
  color: #b8c5d1;
  position: relative;
}

.live #noteLoader .example-comment::after {
  content: '💬 Posted by Creator';
  display: block;
  font-family: sans-serif;
}

.live #noteLoader a {
  color: #3498db;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.live #noteLoader a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Live display container */
.live-display {
  min-height: 100vh;
  min-width: 100vw;
}

/* ===== LIVE EVENT STYLES ===== */
.live-event-content {
  padding: 0px 0 10px 0;
}

.live-event-summary {
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 15px;
  opacity: 0.9;
}

.live-event-status {
  margin-bottom: 15px;
}

.live-event-time {
  margin-bottom: 8px;
  font-size: 0.9em;
  color: var(--text-color);
  opacity: 0.8;
}

.live-event-participants {
  margin-bottom: 15px;
}

.live-event-actions {
  margin-bottom: 10px;
}

/* ===== LIVE CHAT STYLES ===== */
.live-chat-message {
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  font-style: normal;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  opacity: 0.7;
}

.live-chat-message * {
  font-style: normal;
}

.chat-message-header {
  display: flex;
  align-items: center;
  margin-bottom: -4px;
}

.chat-author-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
}

.chat-message-info {
  flex: 1;
}

.chat-author-name {
  font-weight: bold;
  font-size: 0.8em;
  color: var(--text-color);
  margin-bottom: 2px;
}

.chat-message-time {
  font-size: 0.7em;
  color: var(--text-color);
  opacity: 0.6;
}

.chat-message-content {
  font-size: 0.9em;
  line-height: 1.4;
  color: var(--text-color);
  word-wrap: break-word;
  padding-left: 32px;
}

/* ===== LIVE EVENT ZAP STYLES ===== */
.live-event-zap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
  width: auto;
}

.live-event-zap * {
  font-style: normal;
}

.live-event-zap .zap-author-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
}

.live-event-zap .zap-author-name {
  font-size: 1.1em !important;
  font-weight: 600 !important;
}

.live-event-zap .zap-time,
.live-chat-message .chat-message-time {
  display: none !important;
}

.live-event-zap .zap-header {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.live-event-zap .zap-info {
  display: flex;
  align-items: center;
  flex: 1;
  margin-bottom: 0;
}

.live-event-zap .zap-author-name {
  margin-right: 12px !important;
}

.live-event-zap .zap-amount {
  margin-left: auto;
  margin-top: 0;
}

.live-event-zap .zap-content {
  margin-top: 0 !important;
  margin-left: 48px; /* Align with text after image */
}

/* Activity list specific styles */
.activity-list .live-chat-message,
.activity-list .live-event-zap {
  margin-bottom: 4px !important;
}

.activity-list .live-event-zap {
  background: rgba(204, 204, 204, 0.05) !important;
  border: 1px solid rgb(164 164 164 / 30%) !important;
  /* padding-left: 8px !important; */
}

.activity-list .live-chat-message {
  background: transparent !important;
  padding: 4px 8px !important;
}

/* ===== LIVE VIDEO PLAYER STYLES ===== */
.live-event-video {
  margin: 0 0 15px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-player-container {
  position: relative;
  width: 100%;
  background: #000;
}

.live-video {
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  background: #000;
}

.video-error {
  padding: 40px 20px;
  text-align: center;
  background: #f0f0f0;
  color: #666;
}

.video-error p {
  margin: 0 0 15px 0;
  font-size: 0.9em;
}

.streaming-link {
  display: inline-block;
  padding: 10px 15px;
  background: #4ecdc4;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.streaming-link:hover {
  background: #45b7b8;
  color: white;
}

/* ===== EXAMPLE ITEM STYLES ===== */
.live-event-example a {
  color: #ff4757 !important;
  border-left: 3px solid #ff4757;
  padding-left: 8px;
}

.live-event-example a:hover {
  color: #ff3838 !important;
}

/* ===== RESPONSIVE ADJUSTMENTS FOR LIVE STYLES ===== */
@media (max-width: 768px) {
  .main-layout .left-side,
  .live .left-side {
    min-height: 50vh;
  }
  .main-layout .note-section,
  .live .note-section {
    margin-bottom: 0px;
  }
  .main-layout .zaps-container,
  .live .zaps-container {
    padding-bottom: 30px;
  }
}

/* Aspect ratio adjustments for wide screens */
@media (min-aspect-ratio: 16/10) {
  .note-section {
    max-height: 35vh;
  }

  .note-content {
    font-size: max(1.1vw, 13px);
    line-height: 1.5;
  }
}

@media (min-aspect-ratio: 16/10) {
  .note-section {
    max-height: 30vh;
  }

  .note-content {
    font-size: max(1vw, 12px);
    line-height: 1.4;
  }
}

/* Responsive adjustments for total elements */
@media (max-width: 768px) {
  .total-label {
    font-size: max(1.8vw, 12px);
  }

  .total-amount {
    font-size: max(2.4vw, 16px);
  }

  .total-sats {
    font-size: max(1.4vw, 10px);
  }

  .total-zaps {
    font-size: max(1vw, 12px);
    color: var(--text-color);
  }

  .live #zappedTotalCount {
    font-size: max(1.2vw, 12px);
  }

  /* Reduce zapperName and zapperAmountSats on mobile */
  .live .zap:nth-child(1) .zapperName {
    font-size: max(2.4vw, 18px);
  }

  .live .zap:nth-child(2) .zapperName {
    font-size: max(2vw, 16px);
  }

  .live .zap:nth-child(3) .zapperName {
    font-size: max(1.6vw, 14px);
  }

  .live .zap:nth-child(1) .zapperAmountSats {
    font-size: max(2.2vw, 18px);
  }

  .live .zap:nth-child(2) .zapperAmountSats {
    font-size: max(1.8vw, 16px);
  }

  .live .zap:nth-child(3) .zapperAmountSats {
    font-size: max(1.4vw, 14px);
  }
}

@media (max-width: 480px) {
  .total-label {
    font-size: max(2.2vw, 10px);
  }

  .total-amount {
    font-size: max(2.8vw, 14px);
  }

  .total-sats {
    font-size: max(1.6vw, 9px);
  }

  .total-zaps {
    font-size: max(1.2vw, 10px);
    color: var(--text-color);
  }

  .live #zappedTotalCount {
    font-size: max(1vw, 10px);
  }

  /* Further reduce zapperName and zapperAmountSats on small mobile */
  .live .zap:nth-child(1) .zapperName {
    font-size: max(2vw, 16px);
  }

  .live .zap:nth-child(2) .zapperName {
    font-size: max(1.6vw, 14px);
  }

  .live .zap:nth-child(3) .zapperName {
    font-size: max(1.2vw, 12px);
  }

  .live .zap:nth-child(1) .zapperAmountSats {
    font-size: max(1.8vw, 16px);
  }

  .live .zap:nth-child(2) .zapperAmountSats {
    font-size: max(1.4vw, 14px);
  }

  .live .zap:nth-child(3) .zapperAmountSats {
    font-size: max(1vw, 12px);
  }
}

@media (min-width: 1200px) {
  .total-label {
    font-size: max(1vw, 12px);
  }

  .total-amount {
    font-size: max(1.6vw, 16px);
  }

  .total-sats {
    font-size: max(0.9vw, 10px);
  }

  .total-zaps {
    font-size: max(0.8vw, 12px);
    color: var(--text-color);
  }
}

/* Responsive adjustments for zaps-header-right elements */
@media (max-width: 768px) {
  .style-toggle-btn {
    font-size: 1.5vw;
    width: 3vw;
    height: 3vw;
    padding: 0.6vw;
  }

  .powered-by img {
    height: 3.5vw;
  }
}

@media (max-width: 480px) {
  .style-toggle-btn {
    font-size: 1.8vw;
    width: 3.5vw;
    height: 3.5vw;
    padding: 0.7vw;
  }

  .powered-by img {
    height: 4vw;
  }
}

@media (min-width: 1200px) {
  .style-toggle-btn {
    font-size: 1vw;
    width: 2.2vw;
    height: 2.2vw;
    padding: 0.4vw;
  }

  .powered-by img {
    height: 2.5vw;
  }
}

@media (max-width: 480px) {
  .live .zapperContent {
    font-size: 1.6vw;
  }
  .live .zapperMessage {
    font-size: 1.5vw;
  }
  .live-chat-message {
    padding: 8px;
    margin-bottom: 10px;
  }
  .live-event-zap {
    padding: 8px;
    margin-bottom: 10px;
  }
}

@media (min-width: 1200px) {
  .live .zapperContent {
    font-size: 0.9vw;
  }
  .live .zapperMessage {
    font-size: 0.8vw;
  }
}

@media (max-width: 768px) {
  .live-event-columns {
    flex-direction: column;
    gap: 10px;
  }
  .live-event-zaps-only,
  .live-event-activity {
    flex: none;
    height: 50%;
  }
  .live-video {
    max-height: 250px;
  }
  .live-event-video {
    margin: 10px 0;
  }
}

/* Flex direction invert support */
body.flex-direction-invert .main-layout {
  flex-direction: row-reverse;
}

body.flex-direction-invert .left-side {
  border-left: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
}

body.flex-direction-invert .right-side {
  border-left: none;
}

/* Override zapper profile inversion - keep profiles in normal orientation */
body.flex-direction-invert .live .zapperProfile {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  gap: 1vw;
  flex-direction: row !important;
  text-align: left !important;
}

body.flex-direction-invert .zap:nth-child(even) .zapperProfile {
  justify-content: flex-start !important;
  flex-direction: row !important;
  text-align: left !important;
}

/* Override flex-direction for grid layout - don't force row direction */
body.flex-direction-invert .zaps-list.grid-layout .zapperProfile {
  flex-direction: column !important;
}

body.flex-direction-invert
  .zaps-list.grid-layout
  .zap:nth-child(even)
  .zapperProfile {
  flex-direction: column !important;
}

body.flex-direction-invert .zapperTotalLabel {
  text-align: right !important;
}

/* Hide Zapper Content */
body.hide-zapper-content .zapperMessage {
  display: none;
}

/* Hide Zapper Content in Grid Layout */
body.hide-zapper-content .zaps-list.grid-layout .zapperMessage {
  display: none;
}

/* QR Only Mode - Hide everything except QR code and zap notification overlay */
body.qr-only-mode .left-side .post-info .author-section,
body.qr-only-mode .left-side .post-info .note-section,
body.qr-only-mode .left-side .post-info .section-label {
  display: none !important;
}

/* Hide most of the right side but keep settings button visible */
body.qr-only-mode .right-side .zaps-header-left,
body.qr-only-mode .right-side .top-zappers-bar,
body.qr-only-mode .right-side .zaps-container {
  display: none !important;
}

body.qr-only-mode .right-side {
  position: absolute;
  height: 45px;
  top: 0;
  left: 50%;
  min-width: auto;
  width: auto;
  padding: 1vw;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  overflow: visible;
  z-index: 1000;
}


body.qr-only-mode .right-side .zaps-header {
  justify-content: flex-end;
  padding: 0;
  border: none;
}

body.qr-only-mode .right-side #partnerLogo {
  margin-right: 3vw;
}

body.qr-only-mode .right-side #styleToggleBtn {
  margin-left:-5vw;
  opacity: 0.1;
}

body.qr-only-mode .right-side #styleToggleBtn:hover {
  opacity: 1;
}


body.qr-only-mode .right-side .zaps-header-right {
  margin: 0;
}

/* Keep powered-by logo in QR-only mode */
body.qr-only-mode .right-side .powered-by {
  display: flex;
}


body.qr-only-mode .right-side  img {
  height: 2vh;
}


body.qr-only-mode .left-side {
  width: 100%;
  max-width: 100%;
  border: none;
}

body.qr-only-mode .main-layout {
  justify-content: center;
  align-items: flex-start;
}

body.qr-only-mode .left-side .post-info {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 0vw;
  box-sizing: border-box;
}

body.qr-only-mode .qr-section {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.qr-only-mode .qr-code {
  width: 100vw;
  height: 100vh;
  /*padding: 5vw 3vw 3vw 3vw;*/
  padding: 3vw 3vw 3vw 3vw;
  max-width: 100%;
  object-fit: contain;
  box-sizing: border-box;
}

/* Show QR slide labels and titles in QR-only mode */
body.qr-only-mode .qr-slide-label,
body.qr-only-mode .qr-slide-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.qr-only-mode .qr-slide-label {
  font-size: max(1.2vw, 14px);
  margin-top: 1vh;
  font-weight: 600;
}

body.qr-only-mode .qr-slide-title {
  font-size: max(1vw, 12px);
  margin-bottom: 0.5vh;
}

/* Show swiper pagination in QR-only mode */
body.qr-only-mode .swiper-pagination {
  display: block !important;
  visibility: visible !important;
  position: relative;
  margin-top: 1.5vh;
}

/* QR Only Mode - Mobile Overrides */
@media (max-width: 768px) {
  body.qr-only-mode .left-side {
    height: 100vh;
    border: none;
  }

  body.qr-only-mode .right-side {
    position: absolute;
    height: 37px;
    top: 0;
    right: 0;
    z-index: 1000;
    overflow: visible;
  }

  body.qr-only-mode .powered-by img {
    height: 2vw;
  }

  body.qr-only-mode .qr-code {
    width: 100vw;
    height: 100vh;
    padding: 3vw;
    max-width: 100% !important;
    object-fit: contain;
  }

  body.qr-only-mode .qr-section {
    padding: 0;
  }

  body.qr-only-mode .qr-slide-label {
    font-size: max(2vw, 14px);
    margin-top: 2vh;
  }

  body.qr-only-mode .qr-slide-title {
    font-size: max(1.8vw, 12px);
  }
}

@media (max-width: 480px) {
  body.qr-only-mode .qr-code {
    width: 100vw;
    height: 100vh;
    padding: 3vw;
    max-width: 100% !important;
    object-fit: contain;
  }

  body.qr-only-mode .qr-slide-label {
    font-size: 16px;
    margin-top: 2vh;
  }

  body.qr-only-mode .qr-slide-title {
    font-size: 14px;
  }
}

/* Zap ranking system - Only apply when podium is enabled and NOT in grid layout */
body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(1) {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15),
    rgba(255, 215, 0, 0.05)
  );
  border-color: rgba(255, 215, 0, 0.3);
  position: relative;
}

body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(1)::before {
  content: '🥇';
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translateY(-20%);
  font-size: 2.5vw;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  z-index: 10;
}

body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(2) {
  background: linear-gradient(
    135deg,
    rgba(192, 192, 192, 0.15),
    rgba(192, 192, 192, 0.05)
  );
  border-color: rgba(192, 192, 192, 0.3);
  position: relative;
}

body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(2)::before {
  content: '🥈';
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translateY(-20%);
  font-size: 2.2vw;
  filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.5));
  z-index: 10;
}

body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(3) {
  background: linear-gradient(
    135deg,
    rgba(205, 127, 50, 0.15),
    rgba(205, 127, 50, 0.05)
  );
  border-color: rgba(205, 127, 50, 0.3);
  position: relative;
}

body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(3)::before {
  content: '🥉';
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translateY(-20%);
  font-size: 2vw;
  filter: drop-shadow(0 0 5px rgba(205, 127, 50, 0.5));
  z-index: 10;
}

/* Disable podium styling in grid layout for zaps that don't have podium-global classes */
body.podium-enabled
  .zaps-list.grid-layout
  .zap:not(.podium-global-1):not(.podium-global-2):not(.podium-global-3) {
  background: unset !important;
  position: unset !important;
}

body.podium-enabled
  .zaps-list.grid-layout
  .zap:not(.podium-global-1):not(.podium-global-2):not(
    .podium-global-3
  )::before {
  content: none !important;
}

/* Global podium styling for grid layout - applied via JavaScript classes */
body.podium-enabled .zaps-list.grid-layout .zap.podium-global-1 {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15),
    rgba(255, 215, 0, 0.05)
  ) !important;
  border-color: rgba(255, 215, 0, 0.3) !important;
  position: relative !important;
}

body.podium-enabled .zaps-list.grid-layout .zap.podium-global-1::before {
  content: '🥇' !important;
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translateY(-20%);
  font-size: 2vw;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  z-index: 10;
}

body.podium-enabled .zaps-list.grid-layout .zap.podium-global-2 {
  background: linear-gradient(
    135deg,
    rgba(192, 192, 192, 0.15),
    rgba(192, 192, 192, 0.05)
  ) !important;
  border-color: rgba(192, 192, 192, 0.3) !important;
  position: relative !important;
}

body.podium-enabled .zaps-list.grid-layout .zap.podium-global-2::before {
  content: '🥈' !important;
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translateY(-20%);
  font-size: 2vw;
  filter: drop-shadow(0 0 5px rgba(192, 192, 192, 0.5));
  z-index: 10;
}

body.podium-enabled .zaps-list.grid-layout .zap.podium-global-3 {
  background: linear-gradient(
    135deg,
    rgba(205, 127, 50, 0.15),
    rgba(205, 127, 50, 0.05)
  ) !important;
  border-color: rgba(205, 127, 50, 0.3) !important;
  position: relative !important;
}

body.podium-enabled .zaps-list.grid-layout .zap.podium-global-3::before {
  content: '🥉' !important;
  position: absolute;
  left: 0px;
  top: 0px;
  transform: translateY(-20%);
  font-size: 2vw;
  filter: drop-shadow(0 0 5px rgba(205, 127, 50, 0.5));
  z-index: 10;
}

/* Hierarchical grid layout for zaps */
.zaps-list.grid-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

.zaps-list.grid-layout .zapperProfile {
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
}

.zaps-list.grid-layout .zap .zapperProfile {
  gap: 0;
}

.zaps-list.grid-layout .zap .zapperAmount {
  margin-left: 0;
}

/* Override basic zap styles for grid layout */
.zaps-list.grid-layout .zap {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  overflow: hidden;
}

/* Base styles for grid layout elements */
.zaps-list.grid-layout .zapperProfileImg {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-list.grid-layout .zapperName {
  font-weight: 600;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.zaps-list.grid-layout .zap .zapperMessage {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

.zaps-list.grid-layout .zapperMessage {
  font-weight: 300;
  color: var(--text-color);
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Container for each row - use CSS Grid */
.zaps-list.grid-layout .zap-row {
  display: grid;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}

/* Row 1: 1 big zap */
.zaps-list.grid-layout .zap-row.row-1 {
  grid-template-columns: 1fr;
}

.zaps-list.grid-layout .zap.row-1 {
  padding: 24px;
  min-height: 160px;
}

.zaps-list.grid-layout .zap.row-1 .zapperProfileImg {
  width: 6vw;
  height: 6vw;
  margin-bottom: 12px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-list.grid-layout .zap.row-1 .zapperName {
  font-size: 1.5vw;
  margin-bottom: 6px;
  font-weight: bold;
}

/* Row 2: 2 medium zaps */
.zaps-list.grid-layout .zap-row.row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.zaps-list.grid-layout .zap.row-2 {
  padding: 18px;
  min-height: 130px;
}

.zaps-list.grid-layout .zap.row-2 .zapperProfileImg {
  width: 4vw;
  height: 4vw;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-list.grid-layout .zap.row-2 .zapperName {
  font-size: 1.3vw;
  margin-bottom: 4px;
  font-weight: bold;
}

.zaps-list.grid-layout .zap.row-2 .zapperMessage {
  font-size: 1vw;
  opacity: 0.8;
  margin-bottom: 8px;
}

.zaps-list.grid-layout .zap.row-1 .zapperMessage {
  font-size: 1.2vw;
  opacity: 0.8;
  margin-bottom: 12px;
}

.zaps-list.grid-layout .zap.row-1 .zapperAmountSats {
  font-size: 1.8vw;
  font-weight: bold;
}

.zaps-list.grid-layout .zap.row-2 .zapperAmountSats {
  font-size: 1.5vw;
  font-weight: bold;
}

.zaps-list.grid-layout .zap.row-3 .zapperAmountSats {
  font-size: 1.3vw;
  font-weight: bold;
}

.zaps-list.grid-layout .zap.row-4 .zapperAmountSats {
  font-size: 1.1vw;
  font-weight: bold;
}

.zaps-list.grid-layout .zap.row-5 .zapperAmountSats {
  font-size: 0.6vw;
  font-weight: bold;
}

.zaps-list.grid-layout .zapperAmount {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.zaps-list.grid-layout .zap.row-1 .zapperAmountLabel {
  font-size: 1.2vw;
  opacity: 0.8;
}

.zaps-list.grid-layout .zap.row-2 .zapperAmountLabel {
  font-size: 1vw;
  opacity: 0.8;
}

.zaps-list.grid-layout .zap.row-3 .zapperAmountLabel {
  font-size: 0.9vw;
  opacity: 0.8;
}

.zaps-list.grid-layout .zap.row-4 .zapperAmountLabel {
  font-size: 0.7vw;
  opacity: 0.8;
}

.zaps-list.grid-layout .zap.row-5 .zapperAmountLabel {
  font-size: 0.6vw;
  opacity: 0.8;
}

.zaps-list.grid-layout .zap.row-3 .zapperMessage {
  font-size: 0.9vw;
  opacity: 0.8;
  margin-bottom: 6px;
}

.zaps-list.grid-layout .zap.row-4 .zapperMessage {
  font-size: 0.7vw;
  opacity: 0.8;
  margin-bottom: 5px;
}

.zaps-list.grid-layout .zap.row-5 .zapperMessage {
  font-size: 0.6vw;
  opacity: 0.8;
  margin-bottom: 4px;
}

/* Row 3: 4 smaller zaps */
.zaps-list.grid-layout .zap-row.row-3 {
  grid-template-columns: repeat(4, 1fr);
}

.zaps-list.grid-layout .zap.row-3 {
  padding: 14px;
  min-height: 110px;
}

.zaps-list.grid-layout .zap.row-3 .zapperProfileImg {
  width: 3vw;
  height: 3vw;
  margin-bottom: 6px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-list.grid-layout .zap.row-3 .zapperName {
  font-size: 1.1vw;
  margin-bottom: 3px;
  font-weight: bold;
}

/* Row 4: 8 even smaller zaps */
.zaps-list.grid-layout .zap-row.row-4 {
  grid-template-columns: repeat(8, 1fr);
}

.zaps-list.grid-layout .zap.row-4 {
  padding: 10px;
  min-height: 90px;
}

.zaps-list.grid-layout .zap.row-4 .zapperProfileImg {
  width: 2vw;
  height: 2vw;
  margin-bottom: 4px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-list.grid-layout .zap.row-4 .zapperName {
  font-size: 0.9vw;
  margin-bottom: 3px;
  font-weight: bold;
}

/* Row 5+: 16+ tiny zaps */
.zaps-list.grid-layout .zap-row.row-5 {
  grid-template-columns: repeat(16, 1fr);
}

.zaps-list.grid-layout .zap.row-5 {
  padding: 8px;
  min-height: 70px;
}

.zaps-list.grid-layout .zap.row-5 .zapperProfileImg {
  width: 1vw;
  height: 1vw;
  margin-bottom: 3px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-list.grid-layout .zap.row-5 .zapperName {
  font-size: 0.8vw;
  margin-bottom: 2px;
  font-weight: bold;
}

.zaps-list.grid-layout .zap .zapperInfo {
  overflow: hidden;
  width: 100%;
}

.zaps-list.grid-layout .zapperInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 0;
  flex: 1;
}

/* ===== LIVE EVENT GRID LAYOUT (APPLY SAME GRID TO COLUMNS) ===== */

/* Apply grid layout to zaps-only-list and activity-list */
.zaps-only-list.grid-layout,
.activity-list.grid-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

.zaps-only-list.grid-layout .zapperProfile,
.activity-list.grid-layout .zapperProfile {
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
}

.zaps-only-list.grid-layout .zap .zapperProfile,
.activity-list.grid-layout .zap .zapperProfile,
.zaps-only-list.grid-layout .live-event-zap .zapperProfile,
.activity-list.grid-layout .live-event-zap .zapperProfile {
  gap: 0;
}

.zaps-only-list.grid-layout .zap .zapperAmount,
.activity-list.grid-layout .zap .zapperAmount,
.zaps-only-list.grid-layout .live-event-zap .zapperAmount,
.activity-list.grid-layout .live-event-zap .zapperAmount {
  margin-left: 0;
}

/* Center fiat-amount in grid layout */
.zaps-list.grid-layout .zap .fiat-amount,
.zaps-only-list.grid-layout .zap .fiat-amount,
.zaps-only-list.grid-layout .live-event-zap .fiat-amount,
.zaps-only-list.grid-layout .zap-only-item .fiat-amount {
  text-align: center;
  width: 100%;
}

/* Override basic zap styles for grid layout */
.zaps-only-list.grid-layout .zap,
.activity-list.grid-layout .zap,
.zaps-only-list.grid-layout .live-event-zap,
.activity-list.grid-layout .live-event-zap,
.zaps-only-list.grid-layout .zap-only-item,
.activity-list.grid-layout .zap-only-item {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0;
  overflow: hidden;
}

/* Keep chat messages in normal horizontal layout - don't apply grid styles */
.activity-list.grid-layout .live-chat-message {
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
  margin-bottom: 4px !important;
}

/* Base styles for grid layout elements */
.zaps-only-list.grid-layout .zapperProfileImg,
.activity-list.grid-layout .zapperProfileImg {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-only-list.grid-layout .zapperName,
.activity-list.grid-layout .zapperName {
  font-weight: 600;
  color: var(--text-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.zaps-only-list.grid-layout .zap .zapperMessage,
.activity-list.grid-layout .zap .zapperMessage,
.zaps-only-list.grid-layout .live-event-zap .zapperMessage,
.activity-list.grid-layout .live-event-zap .zapperMessage {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

.zaps-only-list.grid-layout .zapperMessage,
.activity-list.grid-layout .zapperMessage {
  font-weight: 300;
  color: var(--text-color);
  opacity: 0.8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Container for each row - use CSS Grid */
.zaps-only-list.grid-layout .zap-row,
.activity-list.grid-layout .zap-row {
  display: grid;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}

/* Row 1: 1 big zap */
.zaps-only-list.grid-layout .zap-row.row-1,
.activity-list.grid-layout .zap-row.row-1 {
  grid-template-columns: 1fr;
}

.zaps-only-list.grid-layout .zap.row-1,
.activity-list.grid-layout .zap.row-1,
.zaps-only-list.grid-layout .live-event-zap.row-1,
.activity-list.grid-layout .live-event-zap.row-1,
.zaps-only-list.grid-layout .zap-only-item.row-1,
.activity-list.grid-layout .zap-only-item.row-1 {
  padding: 24px;
  min-height: 160px;
}

.zaps-only-list.grid-layout .zap.row-1 .zapperProfileImg,
.activity-list.grid-layout .zap.row-1 .zapperProfileImg,
.zaps-only-list.grid-layout .live-event-zap.row-1 .zapperProfileImg,
.activity-list.grid-layout .live-event-zap.row-1 .zapperProfileImg,
.zaps-only-list.grid-layout .zap-only-item.row-1 .zapperProfileImg,
.activity-list.grid-layout .zap-only-item.row-1 .zapperProfileImg {
  width: 6vw;
  height: 6vw;
  margin-bottom: 12px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-only-list.grid-layout .zap.row-1 .zapperName,
.activity-list.grid-layout .zap.row-1 .zapperName,
.zaps-only-list.grid-layout .live-event-zap.row-1 .zapperName,
.activity-list.grid-layout .live-event-zap.row-1 .zapperName,
.zaps-only-list.grid-layout .zap-only-item.row-1 .zapperName,
.activity-list.grid-layout .zap-only-item.row-1 .zapperName {
  font-size: 1.5vw;
  margin-bottom: 6px;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-1 .zapperMessage,
.activity-list.grid-layout .zap.row-1 .zapperMessage,
.zaps-only-list.grid-layout .live-event-zap.row-1 .zapperMessage,
.activity-list.grid-layout .live-event-zap.row-1 .zapperMessage,
.zaps-only-list.grid-layout .zap-only-item.row-1 .zapperMessage,
.activity-list.grid-layout .zap-only-item.row-1 .zapperMessage {
  font-size: 1.2vw;
  opacity: 0.8;
  margin-bottom: 12px;
}

.zaps-only-list.grid-layout .zap.row-1 .zapperAmountSats,
.activity-list.grid-layout .zap.row-1 .zapperAmountSats,
.zaps-only-list.grid-layout .live-event-zap.row-1 .zapperAmountSats,
.activity-list.grid-layout .live-event-zap.row-1 .zapperAmountSats,
.zaps-only-list.grid-layout .zap-only-item.row-1 .zapperAmountSats,
.activity-list.grid-layout .zap-only-item.row-1 .zapperAmountSats {
  font-size: 1.8vw;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-1 .zapperAmountLabel,
.activity-list.grid-layout .zap.row-1 .zapperAmountLabel,
.zaps-only-list.grid-layout .live-event-zap.row-1 .zapperAmountLabel,
.activity-list.grid-layout .live-event-zap.row-1 .zapperAmountLabel,
.zaps-only-list.grid-layout .zap-only-item.row-1 .zapperAmountLabel,
.activity-list.grid-layout .zap-only-item.row-1 .zapperAmountLabel {
  font-size: 1.2vw;
  opacity: 0.8;
}

/* Row 2: 2 medium zaps */
.zaps-only-list.grid-layout .zap-row.row-2,
.activity-list.grid-layout .zap-row.row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.zaps-only-list.grid-layout .zap.row-2,
.activity-list.grid-layout .zap.row-2,
.zaps-only-list.grid-layout .live-event-zap.row-2,
.activity-list.grid-layout .live-event-zap.row-2,
.zaps-only-list.grid-layout .zap-only-item.row-2,
.activity-list.grid-layout .zap-only-item.row-2 {
  padding: 18px;
  min-height: 130px;
}

.zaps-only-list.grid-layout .zap.row-2 .zapperProfileImg,
.activity-list.grid-layout .zap.row-2 .zapperProfileImg,
.zaps-only-list.grid-layout .live-event-zap.row-2 .zapperProfileImg,
.activity-list.grid-layout .live-event-zap.row-2 .zapperProfileImg,
.zaps-only-list.grid-layout .zap-only-item.row-2 .zapperProfileImg,
.activity-list.grid-layout .zap-only-item.row-2 .zapperProfileImg {
  width: 4vw;
  height: 4vw;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-only-list.grid-layout .zap.row-2 .zapperName,
.activity-list.grid-layout .zap.row-2 .zapperName,
.zaps-only-list.grid-layout .live-event-zap.row-2 .zapperName,
.activity-list.grid-layout .live-event-zap.row-2 .zapperName,
.zaps-only-list.grid-layout .zap-only-item.row-2 .zapperName,
.activity-list.grid-layout .zap-only-item.row-2 .zapperName {
  font-size: 1.3vw;
  margin-bottom: 4px;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-2 .zapperMessage,
.activity-list.grid-layout .zap.row-2 .zapperMessage,
.zaps-only-list.grid-layout .live-event-zap.row-2 .zapperMessage,
.activity-list.grid-layout .live-event-zap.row-2 .zapperMessage,
.zaps-only-list.grid-layout .zap-only-item.row-2 .zapperMessage,
.activity-list.grid-layout .zap-only-item.row-2 .zapperMessage {
  font-size: 1vw;
  opacity: 0.8;
  margin-bottom: 8px;
}

.zaps-only-list.grid-layout .zap.row-2 .zapperAmountSats,
.activity-list.grid-layout .zap.row-2 .zapperAmountSats,
.zaps-only-list.grid-layout .live-event-zap.row-2 .zapperAmountSats,
.activity-list.grid-layout .live-event-zap.row-2 .zapperAmountSats,
.zaps-only-list.grid-layout .zap-only-item.row-2 .zapperAmountSats,
.activity-list.grid-layout .zap-only-item.row-2 .zapperAmountSats {
  font-size: 1.5vw;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-2 .zapperAmountLabel,
.activity-list.grid-layout .zap.row-2 .zapperAmountLabel,
.zaps-only-list.grid-layout .live-event-zap.row-2 .zapperAmountLabel,
.activity-list.grid-layout .live-event-zap.row-2 .zapperAmountLabel,
.zaps-only-list.grid-layout .zap-only-item.row-2 .zapperAmountLabel,
.activity-list.grid-layout .zap-only-item.row-2 .zapperAmountLabel {
  font-size: 1vw;
  opacity: 0.8;
}

/* Row 3: 4 smaller zaps */
.zaps-only-list.grid-layout .zap-row.row-3,
.activity-list.grid-layout .zap-row.row-3 {
  grid-template-columns: repeat(4, 1fr);
}

.zaps-only-list.grid-layout .zap.row-3,
.activity-list.grid-layout .zap.row-3,
.zaps-only-list.grid-layout .live-event-zap.row-3,
.activity-list.grid-layout .live-event-zap.row-3,
.zaps-only-list.grid-layout .zap-only-item.row-3,
.activity-list.grid-layout .zap-only-item.row-3 {
  padding: 14px;
  min-height: 110px;
}

.zaps-only-list.grid-layout .zap.row-3 .zapperProfileImg,
.activity-list.grid-layout .zap.row-3 .zapperProfileImg,
.zaps-only-list.grid-layout .live-event-zap.row-3 .zapperProfileImg,
.activity-list.grid-layout .live-event-zap.row-3 .zapperProfileImg,
.zaps-only-list.grid-layout .zap-only-item.row-3 .zapperProfileImg,
.activity-list.grid-layout .zap-only-item.row-3 .zapperProfileImg {
  width: 3vw;
  height: 3vw;
  margin-bottom: 6px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-only-list.grid-layout .zap.row-3 .zapperName,
.activity-list.grid-layout .zap.row-3 .zapperName,
.zaps-only-list.grid-layout .live-event-zap.row-3 .zapperName,
.activity-list.grid-layout .live-event-zap.row-3 .zapperName,
.zaps-only-list.grid-layout .zap-only-item.row-3 .zapperName,
.activity-list.grid-layout .zap-only-item.row-3 .zapperName {
  font-size: 1.1vw;
  margin-bottom: 3px;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-3 .zapperMessage,
.activity-list.grid-layout .zap.row-3 .zapperMessage,
.zaps-only-list.grid-layout .live-event-zap.row-3 .zapperMessage,
.activity-list.grid-layout .live-event-zap.row-3 .zapperMessage,
.zaps-only-list.grid-layout .zap-only-item.row-3 .zapperMessage,
.activity-list.grid-layout .zap-only-item.row-3 .zapperMessage {
  font-size: 0.9vw;
  opacity: 0.8;
  margin-bottom: 6px;
}

.zaps-only-list.grid-layout .zap.row-3 .zapperAmountSats,
.activity-list.grid-layout .zap.row-3 .zapperAmountSats,
.zaps-only-list.grid-layout .live-event-zap.row-3 .zapperAmountSats,
.activity-list.grid-layout .live-event-zap.row-3 .zapperAmountSats,
.zaps-only-list.grid-layout .zap-only-item.row-3 .zapperAmountSats,
.activity-list.grid-layout .zap-only-item.row-3 .zapperAmountSats {
  font-size: 1.3vw;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-3 .zapperAmountLabel,
.activity-list.grid-layout .zap.row-3 .zapperAmountLabel,
.zaps-only-list.grid-layout .live-event-zap.row-3 .zapperAmountLabel,
.activity-list.grid-layout .live-event-zap.row-3 .zapperAmountLabel,
.zaps-only-list.grid-layout .zap-only-item.row-3 .zapperAmountLabel,
.activity-list.grid-layout .zap-only-item.row-3 .zapperAmountLabel {
  font-size: 0.9vw;
  opacity: 0.8;
}

/* Row 4: 8 even smaller zaps */
.zaps-only-list.grid-layout .zap-row.row-4,
.activity-list.grid-layout .zap-row.row-4 {
  grid-template-columns: repeat(8, 1fr);
}

.zaps-only-list.grid-layout .zap.row-4,
.activity-list.grid-layout .zap.row-4,
.zaps-only-list.grid-layout .live-event-zap.row-4,
.activity-list.grid-layout .live-event-zap.row-4,
.zaps-only-list.grid-layout .zap-only-item.row-4,
.activity-list.grid-layout .zap-only-item.row-4 {
  padding: 10px;
  min-height: 90px;
}

.zaps-only-list.grid-layout .zap.row-4 .zapperProfileImg,
.activity-list.grid-layout .zap.row-4 .zapperProfileImg,
.zaps-only-list.grid-layout .live-event-zap.row-4 .zapperProfileImg,
.activity-list.grid-layout .live-event-zap.row-4 .zapperProfileImg,
.zaps-only-list.grid-layout .zap-only-item.row-4 .zapperProfileImg,
.activity-list.grid-layout .zap-only-item.row-4 .zapperProfileImg {
  width: 2vw;
  height: 2vw;
  margin-bottom: 4px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-only-list.grid-layout .zap.row-4 .zapperName,
.activity-list.grid-layout .zap.row-4 .zapperName,
.zaps-only-list.grid-layout .live-event-zap.row-4 .zapperName,
.activity-list.grid-layout .live-event-zap.row-4 .zapperName,
.zaps-only-list.grid-layout .zap-only-item.row-4 .zapperName,
.activity-list.grid-layout .zap-only-item.row-4 .zapperName {
  font-size: 0.9vw;
  margin-bottom: 3px;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-4 .zapperMessage,
.activity-list.grid-layout .zap.row-4 .zapperMessage,
.zaps-only-list.grid-layout .live-event-zap.row-4 .zapperMessage,
.activity-list.grid-layout .live-event-zap.row-4 .zapperMessage,
.zaps-only-list.grid-layout .zap-only-item.row-4 .zapperMessage,
.activity-list.grid-layout .zap-only-item.row-4 .zapperMessage {
  font-size: 0.7vw;
  opacity: 0.8;
  margin-bottom: 5px;
}

.zaps-only-list.grid-layout .zap.row-4 .zapperAmountSats,
.activity-list.grid-layout .zap.row-4 .zapperAmountSats,
.zaps-only-list.grid-layout .live-event-zap.row-4 .zapperAmountSats,
.activity-list.grid-layout .live-event-zap.row-4 .zapperAmountSats,
.zaps-only-list.grid-layout .zap-only-item.row-4 .zapperAmountSats,
.activity-list.grid-layout .zap-only-item.row-4 .zapperAmountSats {
  font-size: 1.1vw;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-4 .zapperAmountLabel,
.activity-list.grid-layout .zap.row-4 .zapperAmountLabel,
.zaps-only-list.grid-layout .live-event-zap.row-4 .zapperAmountLabel,
.activity-list.grid-layout .live-event-zap.row-4 .zapperAmountLabel,
.zaps-only-list.grid-layout .zap-only-item.row-4 .zapperAmountLabel,
.activity-list.grid-layout .zap-only-item.row-4 .zapperAmountLabel {
  font-size: 0.7vw;
  opacity: 0.8;
}

/* Row 5+: 16+ tiny zaps */
.zaps-only-list.grid-layout .zap-row.row-5,
.activity-list.grid-layout .zap-row.row-5 {
  grid-template-columns: repeat(16, 1fr);
}

.zaps-only-list.grid-layout .zap.row-5,
.activity-list.grid-layout .zap.row-5,
.zaps-only-list.grid-layout .live-event-zap.row-5,
.activity-list.grid-layout .live-event-zap.row-5,
.zaps-only-list.grid-layout .zap-only-item.row-5,
.activity-list.grid-layout .zap-only-item.row-5 {
  padding: 8px;
  min-height: 70px;
}

.zaps-only-list.grid-layout .zap.row-5 .zapperProfileImg,
.activity-list.grid-layout .zap.row-5 .zapperProfileImg,
.zaps-only-list.grid-layout .live-event-zap.row-5 .zapperProfileImg,
.activity-list.grid-layout .live-event-zap.row-5 .zapperProfileImg,
.zaps-only-list.grid-layout .zap-only-item.row-5 .zapperProfileImg,
.activity-list.grid-layout .zap-only-item.row-5 .zapperProfileImg {
  width: 1vw;
  height: 1vw;
  margin-bottom: 3px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.zaps-only-list.grid-layout .zap.row-5 .zapperName,
.activity-list.grid-layout .zap.row-5 .zapperName,
.zaps-only-list.grid-layout .live-event-zap.row-5 .zapperName,
.activity-list.grid-layout .live-event-zap.row-5 .zapperName,
.zaps-only-list.grid-layout .zap-only-item.row-5 .zapperName,
.activity-list.grid-layout .zap-only-item.row-5 .zapperName {
  font-size: 0.8vw;
  margin-bottom: 2px;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-5 .zapperMessage,
.activity-list.grid-layout .zap.row-5 .zapperMessage,
.zaps-only-list.grid-layout .live-event-zap.row-5 .zapperMessage,
.activity-list.grid-layout .live-event-zap.row-5 .zapperMessage,
.zaps-only-list.grid-layout .zap-only-item.row-5 .zapperMessage,
.activity-list.grid-layout .zap-only-item.row-5 .zapperMessage {
  font-size: 0.6vw;
  opacity: 0.8;
  margin-bottom: 4px;
}

.zaps-only-list.grid-layout .zap.row-5 .zapperAmountSats,
.activity-list.grid-layout .zap.row-5 .zapperAmountSats,
.zaps-only-list.grid-layout .live-event-zap.row-5 .zapperAmountSats,
.activity-list.grid-layout .live-event-zap.row-5 .zapperAmountSats,
.zaps-only-list.grid-layout .zap-only-item.row-5 .zapperAmountSats,
.activity-list.grid-layout .zap-only-item.row-5 .zapperAmountSats {
  font-size: 0.6vw;
  font-weight: bold;
}

.zaps-only-list.grid-layout .zap.row-5 .zapperAmountLabel,
.activity-list.grid-layout .zap.row-5 .zapperAmountLabel,
.zaps-only-list.grid-layout .live-event-zap.row-5 .zapperAmountLabel,
.activity-list.grid-layout .live-event-zap.row-5 .zapperAmountLabel,
.zaps-only-list.grid-layout .zap-only-item.row-5 .zapperAmountLabel,
.activity-list.grid-layout .zap-only-item.row-5 .zapperAmountLabel {
  font-size: 0.6vw;
  opacity: 0.8;
}

.zaps-only-list.grid-layout .zap .zapperInfo,
.activity-list.grid-layout .zap .zapperInfo,
.zaps-only-list.grid-layout .live-event-zap .zapperInfo,
.activity-list.grid-layout .live-event-zap .zapperInfo,
.zaps-only-list.grid-layout .zap-only-item .zapperInfo,
.activity-list.grid-layout .zap-only-item .zapperInfo {
  overflow: hidden;
  width: 100%;
}

.zaps-only-list.grid-layout .zapperInfo,
.activity-list.grid-layout .zapperInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.zaps-only-list.grid-layout .zapperAmount,
.activity-list.grid-layout .zapperAmount {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.flex-direction-invert .main-layout .right-side,
body.flex-direction-invert .live .right-side {
  height: auto;
  min-height: 50vh;
  overflow-y: auto;
}

/* ===== LIVE DASHBOARD CSS FROM LEGACY ===== */

/* Live Event Status Indicator */
.status-indicator {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.status-indicator.status-live {
  background-color: #ff4444;
  color: white;
}

.status-indicator.status-planned {
  background-color: #ffa500;
  color: white;
}

.status-indicator.status-ended {
  background-color: #28a745;
  color: white;
}

/* Participants Count */
.participants-count {
  font-size: 14px;
  color: #666;
  margin: 8px 0;
}

/* Video Player Container */
.video-player-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
}

/* Live Event Zap Totals */
#zappedTotalValue,
#zappedTotalCount {
  font-weight: bold;
  font-size: 18px;
  color: var(--text-color);
}

.live #zappedTotalValue {
  font-weight: 600;
  font-size: 3vw;
  line-height: 1.5vw;
  color: var(--text-color);
  padding: 0 0.5vw 0 0;
}

.live #zappedTotalCount {
  font-weight: 600;
  line-height: 1.2vw;
  color: var(--text-color);
}

/* Live-specific color overrides for zap header elements - match legacy black colors */
.live .total-amount,
.live .total-count {
  color: rgb(0, 0, 0);
}

/* Top Zappers Bar */
#top-zappers-bar {
  display: none !important;
}

body.show-top-zappers #top-zappers-bar {
  display: block !important;
}

.top-zappers-bar {
  padding: 0 30px 0px 30px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  margin-bottom: 10px;
}

.top-zappers-list {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.top-zapper {
  display: flex;
  align-items: center;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgb(133 133 133 / 18%);
}

.top-zapper:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.zapper-rank {
  font-size: 1.2em;
  font-weight: bold;
  margin-right: 12px;
  min-width: 20px;
  text-align: center;
}

.zapper-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#partnerLogo {
  margin-right: 10px;
}

.zapper-info {
  flex: 1;
  min-width: 0;
}

.zapper-name {
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zapper-total {
  font-size: 0.8em;
  font-weight: 500;
}

.zap-count-separator {
  margin: 0 8px;
  opacity: 0.6;
  color: var(--text-color) !important;
  font-size: max(1vw, 10px);
}

/* Live Event Zap Amounts */
.zap-amount-sats,
.zapperAmountSats {
  font-weight: bold;
  font-size: 16px;
}

.zap-amount-label,
.zapperAmountLabel {
  font-size: 12px;
  opacity: 0.5;
  margin-left: 4px;
}

/* Live Event Zap Content */
.zap-content,
.zapperMessage {
  font-size: 14px;
  margin-top: 4px;
  line-height: 1.4;
}

/* Live Event Zap Time */
.zap-time,
.zapperTime {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

/* Live Event Zap Header */
.zap-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zap-info {
  flex: 1;
  min-width: 0;
}

.zap-author-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.zap-author-name {
  font-weight: 500;
  font-size: 14px;
}

/* Live Event Activity List */
.activity-list {
  overflow-y: auto;
  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--text-color) transparent;
}

/* Webkit scrollbar styling for Chrome/Safari/Edge */
.activity-list::-webkit-scrollbar {
  width: 8px;
}

.activity-list::-webkit-scrollbar-track {
  background: transparent;
}

.activity-list::-webkit-scrollbar-thumb {
  background-color: var(--text-color);
  border-radius: 4px;
}

.activity-list::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
}

.activity-list .live-chat-message,
.activity-list .live-event-zap {
  margin-bottom: 8px;
  padding: 8px 8px 20px 8px;
  background: #f8f9fa;
  border-radius: 6px;
}

/* Live Event Zaps Only List */
.zaps-only-list {
  overflow-y: auto;
  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: var(--text-color) transparent;
}

/* Webkit scrollbar styling for Chrome/Safari/Edge */
.zaps-only-list::-webkit-scrollbar {
  width: 8px;
}

.zaps-only-list::-webkit-scrollbar-track {
  background: transparent;
}

.zaps-only-list::-webkit-scrollbar-thumb {
  background-color: var(--text-color);
  border-radius: 4px;
}

.zaps-only-list::-webkit-scrollbar-thumb:hover {
  opacity: 0.8;
}

.zap-only-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 10px;
  padding: 10px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: auto;
}

.zap-only-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Live Event Recording Link */
.recording-link {
  display: inline-block;
  padding: 8px 16px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.recording-link:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Live Event Example */
.live-event-example {
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.live-event-example a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.live-event-example a:hover {
  text-decoration: underline;
}

/* Mobile Responsive for Live Dashboard */
@media (max-width: 768px) {
  .top-zappers-bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .top-zappers-list {
    gap: 8px;
  }

  .top-zapper {
    padding: 10px;
  }

  .zapper-avatar {
    width: 35px;
    height: 35px;
  }

  .live-event-columns {
    flex-direction: column;
  }

  .live-event-zaps-only,
  .live-event-activity {
    flex: none;
    height: auto;
    max-height: 300px;
  }

  .zap-amount-sats,
  .zapperAmountSats {
    font-size: 14px;
  }

  /* Responsive medal sizing for smaller screens */
  body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(1)::before {
    font-size: 4vw;
  }

  body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(2)::before {
    font-size: 3.5vw;
  }

  body.podium-enabled .zaps-list:not(.grid-layout) .zap:nth-child(3)::before {
    font-size: 3vw;
  }

  /* Responsive font sizes for global podium styling on smaller screens */
  body.podium-enabled .zaps-list.grid-layout .zap.podium-global-1::before,
  body.podium-enabled .zaps-list.grid-layout .zap.podium-global-2::before,
  body.podium-enabled .zaps-list.grid-layout .zap.podium-global-3::before {
    font-size: 4vw;
  }

  .zap-content,
  .zapperMessage {
    font-size: 13px;
  }
}

/* ===== MAIN LAYOUT COLOR OVERRIDES ===== */

/* Override hardcoded colors to use CSS custom property */
.zaps-header-left h2,
.total-label,
.total-sats,
.total-amount,
.dashboard-title,
.zapperName,
.zapperAmountSats,
.author-name,
.note-content,
.note-content *,
.section-label,
.qr-instructions,
.zaps-header,
.zaps-container,
.zaps-list,
.zap,
.zapperProfile,
.zapperInfo {
  color: var(--text-color);
}

/* Override inherit for specific elements that need explicit colors */
.main-layout .zapperMessage,
.main-layout .post-info,
.main-layout .author-section,
.main-layout .note-section,
.main-layout .qr-section,
.main-layout .top-zappers-bar,
.main-layout .zapper-name,
.main-layout .zap-count-separator {
  color: var(--text-color) !important;
}

/* ===== MISSING STYLE OPTIONS CSS FROM LEGACY ===== */

/* Status Messages */
.payment-status {
  text-align: center;
  margin-top: 0;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-info {
  background: rgba(74, 117, 255, 0.1);
  color: #4a75ff;
  border: 1px solid rgba(74, 117, 255, 0.2);
}

.status-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-waiting {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-disabled {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

/* Color Picker Container */
.color-picker-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-container input[type='color'] {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.color-picker-container input[type='text'] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  font-family: monospace;
}

/* Toggle switches */
.toggle-group {
  grid-column: 1 / -1;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #2196f3;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.style-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  min-width: 0;
}

.style-option-group label {
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.style-option-group input[type='text'],
.style-option-group input[type='color'] {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.style-option-group input[type='text'] {
  width: 100%;
  box-sizing: border-box;
}

.style-option-group input[type='color'] {
  width: 60px;
  height: 40px;
  padding: 0;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

/* Sliders */
.slider-container {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-width: 0;
}

.slider-container input[type='range'] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(74, 117, 255, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider-container input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a75ff 0%, #3a65ef 100%);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(74, 117, 255, 0.3);
}

.slider-container input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a75ff 0%, #3a65ef 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(74, 117, 255, 0.3);
}

.slider-container span {
  min-width: 50px;
  max-width: 60px;
  text-align: center;
  font-weight: 600;
  color: #667eea;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Colors container for side-by-side layout */
.colors-container {
  display: flex;
  gap: 20px;
}

.colors-container .style-option-group {
  flex: 1;
  margin-bottom: 0;
}

/* Opacity container for side-by-side layout */
.opacity-container {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.opacity-container .style-option-group {
  flex: 1;
  margin-bottom: 0;
}

/* Toggles container for side-by-side layout */
.toggles-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.toggles-container .style-option-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 0;
}

/* URL Input Container */
.url-input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Background Preset Controls */
.bg-preset-controls {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* Partner Logo Controls */
.partner-logo-controls {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.preset-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bg-preset-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: white;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.bg-preset-select:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.bg-preset-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.bg-preset-select option {
  padding: 8px;
  font-size: 14px;
}

/* Partner Logo Select */
.partner-logo-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  background: white;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.partner-logo-select:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.partner-logo-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.partner-logo-select option {
  padding: 8px;
  font-size: 14px;
}

/* Preset Preview Container */
.preset-preview-container {
  width: 80px;
  height: 80px;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  justify-content: center;
  flex-shrink: 0;
  display: flex;
  align-content: center;
  align-items: center;
  padding: 5px;
}

.bg-preset-controls .preset-preview-container {
  padding: 0;
}

.preset-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Show white background when no image is loaded */
.preset-preview-container img:not([src]),
.preset-preview-container img[src=''] {
  display: none;
}

/* Action Buttons */
.action-btn {
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  height: 48px;
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn.primary {
  background: linear-gradient(135deg, #4a75ff 0%, #3a65ef 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 117, 255, 0.3);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.4);
}

.action-btn.secondary {
  background: white;
  color: #6c757d;
  border: 2px solid rgba(74, 117, 255, 0.2);
}

.action-btn.secondary:hover {
  border-color: #4a75ff;
  color: #4a75ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 117, 255, 0.2);
}

/* Clear Button */
.clear-button {
  background: #4a75ff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
}

.clear-button:hover {
  background: #3a65ef;
}

/* Error Message Styling */
.live #noteLoader .error-message {
  background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 8px 0 16px 0;
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
  transform: translateY(0);
}

.live #noteLoader .error-message::before {
  content: '⚠️ ';
  margin-right: 6px;
}

/* Responsive design for style options */
@media (max-width: 768px) {
  /* On mobile, revert to overlay behavior */
  body.style-panel-open .main-layout,
  body.style-panel-open .live .main-layout {
    width: 100vw;
  }

  /* Make modal full width on mobile */
  #styleOptionsModal.show {
    width: 100vw;
    left: 0;
    right: 0;
  }

  .style-options-content {
    width: 100vw;
    transform: translateX(100%);
  }

  #styleOptionsModal.show .style-options-content {
    transform: translateX(0);
  }

  .colors-container {
    flex-direction: column;
    gap: 15px;
  }

  .colors-container .style-option-group {
    margin-bottom: 15px;
  }

  .opacity-container {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .opacity-container .style-option-group {
    margin-bottom: 15px;
  }

  .toggles-container {
    flex-direction: column;
    gap: 10px;
  }

  .toggles-container .style-option-group {
    min-width: auto;
    margin-bottom: 10px;
  }

  .action-btn {
    width: auto;
    min-width: 80px;
    height: 36px;
    padding: 8px 16px;
    font-size: 12px;
    flex: 1;
  }
}

/* Lightning Status Container */
.lightning-status-container {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 215, 0, 0.1);
}

/* Style Actions */
.style-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 15px 25px;
  background: #f8f9fa;
  border-radius: 0;
  border-top: 1px solid #e9ecef;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .style-actions {
    flex-direction: row;
    padding: 10px 15px;
    gap: 8px;
  }
}

/* 16:9 ratio displays (phones turned sideways) - More specific, comes after */
@media (min-aspect-ratio: 16/14) {
  .main-layout .left-side,
  .live .left-side {
    height: 100vh;
  }

  .live #noteContent {
    /* height: 25vw; */
    min-height: 4vw;
  }

  .qr-section {
    padding: 10px;
  }

  .qr-instructions {
    font-size: 0.8vw;
  }
}

/* ===== ZAP NOTIFICATION OVERLAY ===== */

/* Keyframe animations for notification elements */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-360deg);
  }
  50% {
    transform: scale(1.4) rotate(15deg);
  }
  70% {
    transform: scale(0.85) rotate(-10deg);
  }
  85% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes popOut {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(360deg);
  }
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-100px) scale(0.5);
  }
  60% {
    transform: translateX(10px) scale(1.15);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeSlideOut {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(100px) scale(0.5);
  }
}

@keyframes charPopIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0);
  }
  50% {
    transform: translateY(-10px) scale(1.3);
  }
  70% {
    transform: translateY(5px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.zap-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  /* Background color applied dynamically via inline styles (matches style options at 80% opacity) */
}

.zap-notification-overlay.visible {
  opacity: 1;
  transform: scale(1);
}

.zap-notification-top-copy {
  font-size: min(4vw, 4vh);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
  margin-bottom: min(-2vw, -2vh);
  display: inline-block;
}

.zap-notification-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px) scale(0);
}

.zap-notification-overlay.visible .zap-notification-char {
  animation: charPopIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.zap-notification-overlay:not(.visible) .zap-notification-char {
  opacity: 0;
}

.zap-notification-content {
  padding: min(2vw, 2vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(2vw, 2vh);
  max-width: 90vw;
  max-height: 85vh;
  pointer-events: auto;
  transition: transform 0.3s ease;
  transform-origin: center center;
  overflow: hidden;
}

.zap-notification-avatar {
  width: min(30vw, 30vh);
  height: min(30vw, 30vh);
  max-width: 400px;
  max-height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid;
  /* Border color applied dynamically via inline styles (matches text color) */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  flex-shrink: 0;
}

.zap-notification-overlay.visible .zap-notification-avatar {
  animation: popIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.zap-notification-overlay:not(.visible) .zap-notification-avatar {
  animation: popOut 0.5s ease-in forwards;
}

.zap-notification-text-container {
  display: flex;
  flex-direction: column;
  gap: min(1vw, 1vh);
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
}

.zap-notification-amount {
  font-size: min(10vw, 12vh, 120px);
  font-weight: 800;
  margin: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.zap-notification-overlay.visible .zap-notification-amount {
  animation: fadeSlideIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s
    forwards;
}

.zap-notification-overlay:not(.visible) .zap-notification-amount {
  animation: fadeSlideOut 0.4s ease-in forwards;
}

.zap-notification-name {
  font-size: min(5vw, 6vh, 60px);
  font-weight: 700;
  margin: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  /* Inherits color from parent .zap-notification-content */
}

.zap-notification-overlay.visible .zap-notification-name {
  animation: fadeSlideIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s
    forwards;
}

.zap-notification-overlay:not(.visible) .zap-notification-name {
  animation: fadeSlideOut 0.4s ease-in 0.05s forwards;
}

.zap-notification-message {
  font-size: min(4vw, 5vh, 48px);
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  opacity: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  /* Inherits color from parent .zap-notification-content */
}

.zap-notification-overlay.visible .zap-notification-message {
  animation: fadeSlideIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.7s
    forwards;
}

.zap-notification-overlay:not(.visible) .zap-notification-message {
  animation: fadeSlideOut 0.4s ease-in 0.1s forwards;
}

/* Landscape orientation - side-by-side layout */
@media (orientation: landscape) and (min-aspect-ratio: 4/3) {
  .zap-notification-content {
    flex-direction: row;
    gap: min(3vw, 3vh);
    max-width: 85vw;
    max-height: 70vh;
  }

  .zap-notification-avatar {
    width: min(25vw, 35vh);
    height: min(25vw, 35vh);
  }

  .zap-notification-text-container {
    align-items: flex-start;
    text-align: left;
    flex: 1;
  }

  .zap-notification-amount {
    font-size: min(8vw, 10vh, 100px);
  }

  .zap-notification-name {
    font-size: min(4vw, 5vh, 50px);
  }

  .zap-notification-message {
    font-size: min(3vw, 4vh, 40px);
  }
}

/* Mobile responsive adjustments - Portrait orientation */
@media (max-width: 768px) and (orientation: portrait) {
  .zap-notification-content {
    flex-direction: column;
    padding: min(4vw, 30px);
    gap: min(3vw, 20px);
    max-height: 80vh;
  }

  .zap-notification-avatar {
    width: min(40vw, 200px);
    height: min(40vw, 200px);
  }

  .zap-notification-amount {
    font-size: min(12vw, 60px);
  }

  .zap-notification-name {
    font-size: min(6vw, 32px);
  }

  .zap-notification-message {
    font-size: min(5vw, 28px);
  }

  .zap-notification-text-container {
    align-items: center;
    text-align: center;
  }
}

/* Extra small screens - Portrait */
@media (max-width: 480px) and (orientation: portrait) {
  .zap-notification-top-copy {
    font-size: min(6vw, 24px);
  }

  .zap-notification-content {
    padding: min(5vw, 20px);
    gap: min(4vw, 16px);
    max-height: 75vh;
  }

  .zap-notification-avatar {
    width: min(45vw, 180px);
    height: min(45vw, 180px);
  }

  .zap-notification-amount {
    font-size: min(14vw, 56px);
  }

  .zap-notification-name {
    font-size: min(7vw, 28px);
  }

  .zap-notification-message {
    font-size: min(6vw, 24px);
  }
}

/* 404 Not Found Page - Brand Aligned */
.notFoundPage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 20px;
  box-sizing: border-box;
}

.notFoundContent {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.notFoundContent .brand {
  font-family: 'Russo One', sans-serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.notFoundContent .logoPub {
  color: #4a75ff;
}

.notFoundContent .logoPay {
  color: #000000;
}

.notFoundContent .logoMe {
  color: #000000;
  opacity: 0.12;
}

.notFoundContent .logoLive {
  color: #5f5f5f;
  font-size: 24px;
  font-weight: 300;
}

.notFoundContent .errorCode {
  font-size: 120px;
  font-weight: 700;
  background: linear-gradient(135deg, #4a75ff 0%, #3b5bdb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.notFoundContent h1 {
  font-size: 32px;
  font-weight: 600;
  color: #333333;
  margin: 0 0 16px 0;
  font-family: 'Inter', sans-serif;
}

.notFoundContent p {
  font-size: 16px;
  color: #666666;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.notFoundContent .cta {
  display: inline-block;
  background: linear-gradient(135deg, #4a75ff 0%, #3b5bdb 100%);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(74, 117, 255, 0.3);
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  min-width: 200px;
  max-width: 200px;
}

.notFoundContent .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 117, 255, 0.4);
  background: linear-gradient(135deg, #3b5bdb 0%, #2c4bc7 100%);
}

.notFoundContent .cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(74, 117, 255, 0.3);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .notFoundPage {
    background: #010101;
  }

  .notFoundContent .logoPay {
    color: #e5e5e5;
  }

  .notFoundContent .logoMe {
    color: #e5e5e5;
    opacity: 0.25;
  }

  .notFoundContent h1 {
    color: #e5e5e5;
  }

  .notFoundContent p {
    color: #b8b8b8;
  }
}
