<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* RPGMapShare Custom Lightbox Styles */

#rpg-lightbox-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.rpg-lightbox-content {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: #ededed;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.rpg-lightbox-main {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding-bottom: 90px; /* Make room for thumbs */
}
.rpg-lightbox-main img {
  max-width: 100%;
  max-height: calc(92vh - 90px); /* Subtract thumbs strip height */
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  border-radius: 6px;
  background: #fff;
  margin: 0;
  padding: 0;
  display: block;
}

/* Constrain the size of icon images in the lightbox controls */
#rpg-lightbox-close img,
#rpg-lightbox-prev img,
#rpg-lightbox-next img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* --- Icon-only button styles (no background, border, or circle) --- */
#rpg-lightbox-close,
#rpg-lightbox-prev,
#rpg-lightbox-next {
  position: absolute;
  background: none;
  color: inherit;
  border: none;
  font-size: 0; /* Hide any text inside the button */
  padding: 0;
  cursor: pointer;
  border-radius: 0;
  z-index: 10;
  box-shadow: none;
  transition: none;
  outline: none;
}

#rpg-lightbox-close { top: 18px; right: 18px; }
#rpg-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
#rpg-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

#rpg-lightbox-close:hover img,
#rpg-lightbox-prev:hover img,
#rpg-lightbox-next:hover img {
  filter: brightness(0.85) drop-shadow(0 0 5px #2271b1);
}

.rpg-lightbox-sidebar {
  width: 360px;
  max-width: 100vw;
  min-width: 260px;
  padding: 30px 24px 24px 24px;
  background: #fafbfc;
  border-left: 1.5px solid #ddd;
  overflow-y: auto;
  height: 100%;
  font-size: 1.03em;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rpg-lightbox-thumbs {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 0 8px 0;
  background: rgba(245,245,245,0.96);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
  overflow-x: auto;
  border-top: 1px solid #e0e0e0;
  z-index: 30;
  min-height: 72px; /* helps reserve space for the row */
}
.rpg-lightbox-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 3px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
}
.rpg-lightbox-thumb.active,
.rpg-lightbox-thumb:focus {
  border: 2px solid #2271b1;
  box-shadow: 0 0 0 2px #2271b1;
}
.rpg-loading, .rpg-error {
  padding: 24px;
  text-align: center;
  color: #666;
  font-size: 18px;
}
@media (max-width: 900px) {
  .rpg-lightbox-content {
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
  }
  .rpg-lightbox-main {
    min-height: 51vh;
    padding-bottom: 90px; /* Still reserve space for thumbs */
  }
  .rpg-lightbox-sidebar {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    min-height: 30vh;
    border-left: none;
    border-top: 1.5px solid #ddd;
  }
}/* RPGMapShare Custom Lightbox Styles */

#rpg-lightbox-overlay {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.rpg-lightbox-content {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: #ededed;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.rpg-lightbox-main {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding-bottom: 90px; /* Make room for thumbs */
}
.rpg-lightbox-main img {
  max-width: 100%;
  max-height: calc(92vh - 90px); /* Subtract thumbs strip height */
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  border-radius: 6px;
  background: #fff;
  margin: 0;
  padding: 0;
  display: block;
}

/* Constrain the size of icon images in the lightbox controls */
#rpg-lightbox-close img,
#rpg-lightbox-prev img,
#rpg-lightbox-next img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* --- Icon-only button styles (no background, border, or circle) --- */
#rpg-lightbox-close,
#rpg-lightbox-prev,
#rpg-lightbox-next {
  position: absolute;
  background: none !important;
  color: inherit !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  font-size: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  cursor: pointer;
  z-index: 10;
  transition: none;
}

/* Remove focus ring for mouse, but keep it for keyboard accessibility */
#rpg-lightbox-close:focus-visible,
#rpg-lightbox-prev:focus-visible,
#rpg-lightbox-next:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: 2px;
}
#rpg-lightbox-close:focus:not(:focus-visible),
#rpg-lightbox-prev:focus:not(:focus-visible),
#rpg-lightbox-next:focus:not(:focus-visible) {
  outline: none;
}

#rpg-lightbox-close { top: 18px; right: 18px; }
#rpg-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
#rpg-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

#rpg-lightbox-close:hover img,
#rpg-lightbox-prev:hover img,
#rpg-lightbox-next:hover img {
  filter: brightness(0.85) drop-shadow(0 0 5px #2271b1);
}

.rpg-lightbox-sidebar {
  width: 360px;
  max-width: 100vw;
  min-width: 260px;
  padding: 30px 24px 24px 24px;
  background: #fafbfc;
  border-left: 1.5px solid #ddd;
  overflow-y: auto;
  height: 100%;
  font-size: 1.03em;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rpg-lightbox-thumbs {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 0 8px 0;
  background: rgba(245,245,245,0.96);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
  overflow-x: auto;
  border-top: 1px solid #e0e0e0;
  z-index: 30;
  min-height: 72px; /* helps reserve space for the row */
}
.rpg-lightbox-thumb {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 3px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border 0.2s, box-shadow 0.2s;
}
.rpg-lightbox-thumb.active,
.rpg-lightbox-thumb:focus {
  border: 2px solid #2271b1;
  box-shadow: 0 0 0 2px #2271b1;
}
.rpg-loading, .rpg-error {
  padding: 24px;
  text-align: center;
  color: #666;
  font-size: 18px;
}
@media (max-width: 900px) {
  .rpg-lightbox-content {
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
  }
  .rpg-lightbox-main {
    min-height: 51vh;
    padding-bottom: 90px; /* Still reserve space for thumbs */
  }
  .rpg-lightbox-sidebar {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    min-height: 30vh;
    border-left: none;
    border-top: 1.5px solid #ddd;
  }
}

/* === RPGMapShare Gallery Lightbox Edit Modal === */
#rpg-lightbox-edit-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.65);
  z-index: 10001;
  display: none;
  align-items: flex-start;
  justify-content: center;
  /* NEW: offset for admin bar */
  padding-top: 48px;
  box-sizing: border-box;
}
.rpg-lightbox-edit-dialog {
  background: #fff;
  padding: 24px 28px;
  border-radius: 8px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
#rpg-lightbox-edit-form label {
  display: block;
  margin-bottom: 10px;
}
#rpg-lightbox-edit-form input[type="text"],
#rpg-lightbox-edit-form input[type="date"],
#rpg-lightbox-edit-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 5px 0 0 0;
}
#rpg-lightbox-edit-form button {
  margin-right: 8px;
}

/* --- Star Rating Styles (for Lightbox) --- */
.rpg-star-rating {
  font-size: 1.5em;
  color: #ffc700;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
}
.rpg-star {
  cursor: pointer;
  display: inline-block;
  transition: color 0.17s;
}
.rpg-star.filled {
  color: #ffc700;
}
.rpg-star.half {
  color: #ffc700;
  position: relative;
}
.rpg-star:not(.filled):not(.half) {
  color: #ccc;
}
.rpg-star-rating[data-readonly="1"] .rpg-star {
  cursor: default;
  opacity: 0.7;
}
.rpg-rating-label {
  font-size: 0.8em;
  color: #666;
  margin-left: 0.5em;
  font-weight: normal;
}
/* Optional: focus/keyboard accessibility */
.rpg-star:focus {
  outline: 2px solid #2271b1;
  outline-offset: 2px;
}
.rpg-star-rating {
  -webkit-tap-highlight-color: transparent;
}

/* Optional: spacing for extra content */
.rpg-lightbox-sidebar .rpg-lightbox-extra-content {
  margin-top: 1.1em;
  font-size: 0.97em;
  color: #444;
  border-top: 1px dashed #ddd;
  padding-top: 0.8em;
}

#rpg-upload-native {
  position: absolute;
  width: 1px;
  height: 1px;
  left: 50px;
  top: 150px;
  opacity: 0;
  border: 0;
  padding: 0;
  z-index: -1;
}</pre></body></html>