/* assets/fontawesome-free-6.7.2-web/css/kiss.min.css */
.fa {
  font-family: var(--fa-style-family,"Font Awesome 6 Free");
  font-weight: var(--fa-style,900);
}
.fa,
.fa-brands,
.fa-regular,
.fa-solid,
.fab,
.far,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display,inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}
.fa-brands:before,
.fa-regular:before,
.fa-solid:before,
.fa:before,
.fab:before,
.far:before,
.fas:before {
  content: var(--fa);
}
.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas {
  font-family: "Font Awesome 6 Free";
}
.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands";
}
.fa-spin {
  animation-name: fa-spin;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(1turn);
  }
}
.fa-angle-double-right {
  --fa:"\f101";
}
.fa-arrow-down {
  --fa:"\f063";
}
.fa-arrow-left {
  --fa:"\f060";
}
.fa-arrow-right {
  --fa:"\f061";
}
.fa-arrow-up {
  --fa:"\f062";
}
.fa-ban {
  --fa:"\f05e";
}
.fa-bell {
  --fa:"\f0f3";
}
.fa-bolt {
  --fa:"\f0e7";
}
.fa-book {
  --fa:"\f02d";
}
.fa-brain {
  --fa:"\f5dc";
}
.fa-candy-cane {
  --fa:"\f786";
}
.fa-cat {
  --fa:"\f6be";
}
.fa-check {
  --fa:"\f00c";
}
.fa-check-square {
  --fa:"\f14a";
}
.fa-chevron-down {
  --fa:"\f078";
}
.fa-chevron-left {
  --fa:"\f053";
}
.fa-chevron-right {
  --fa:"\f054";
}
.fa-chevron-up {
  --fa:"\f077";
}
.fa-circle-check {
  --fa:"\f058";
}
.fa-circle-xmark {
  --fa:"\f057";
}
.fa-cloud-rain {
  --fa:"\f73d";
}
.fa-code-branch {
  --fa:"\f126";
}
.fa-cog {
  --fa:"\f013";
}
.fa-comment {
  --fa:"\f075";
}
.fa-comments {
  --fa:"\f086";
}
.fa-comment-dots {
  --fa:"\f4ad";
}
.fa-comment-slash {
  --fa:"\f4b3";
}
.fa-crown {
  --fa:"\f521";
}
.fa-dice {
  --fa:"\f522";
}
.fa-dog {
  --fa:"\f6d3";
}
.fa-dragon {
  --fa:"\f6d5";
}
.fa-download {
  --fa:"\f019";
}
.fa-dove {
  --fa:"\f4ba";
}
.fa-exclamation-triangle {
  --fa:"\f071";
}
.fa-film {
  --fa:"\f008";
}
.fa-flag {
  --fa:"\f024";
}
.fa-photo-film,
.fa-photo-video {
  --fa:"\f87c";
}
.fa-gamepad {
  --fa:"\f11b";
}
.fa-hand-paper {
  --fa:"\f256";
}
.fa-heart {
  --fa:"\f004";
}
.fa-history {
  --fa:"\f1da";
}
.fa-laptop {
  --fa:"\f109";
}
.fa-laugh {
  --fa:"\f599";
}
.fa-list-ul {
  --fa:"\f0ca";
}
.fa-lock {
  --fa:"\f023";
}
.fa-unlock {
  --fa:"\f09c";
}
.fa-magic {
  --fa:"\f0d0";
}
.fa-message {
  --fa:"\f27a";
}
.fa-microphone {
  --fa:"\f130";
}
.fa-moon {
  --fa:"\f186";
}
.fa-music {
  --fa:"\f001";
}
.fa-pause {
  --fa:"\f04c";
}
.fa-plane {
  --fa:"\f072";
}
.fa-play {
  --fa:"\f04b";
}
.fa-question {
  --fa:"\f128";
}
.fa-scroll {
  --fa:"\f70e";
}
.fa-seedling {
  --fa:"\f4d8";
}
.fa-shopping-bag {
  --fa:"\f290";
}
.fa-snowflake {
  --fa:"\f2dc";
}
.fa-spinner {
  --fa:"\f110";
}
.fa-square {
  --fa:"\f0c8";
}
.fa-sun {
  --fa:"\f185";
}
.fa-tag {
  --fa:"\f02b";
}
.fa-thermometer-full {
  --fa:"\f2c8";
}
.fa-thumbs-down {
  --fa:"\f165";
}
.fa-thumbs-up {
  --fa:"\f164";
}
.fa-times {
  --fa:"\f00d";
}
.fa-undo {
  --fa:"\f0e2";
}
.fa-arrows-rotate,
.fa-sync {
  --fa:"\f021";
}
.fa-user {
  --fa:"\f007";
}
.fa-user-circle {
  --fa:"\f2bd";
}
.fa-user-secret {
  --fa:"\f21b";
}
.fa-user-tie {
  --fa:"\f508";
}
.fa-utensils {
  --fa:"\f2e7";
}
.fa-volume-mute {
  --fa:"\f6a9";
}
.fa-volume-up {
  --fa:"\f028";
}
.fa-box {
  --fa:"\f466";
}
.fa-image {
  --fa:"\f03e";
}
.fa-images {
  --fa:"\f302";
}
.fa-at {
  --fa:"@";
}
.fa-bars {
  --fa:"\f0c9";
}
.fa-compress {
  --fa:"\f066";
}
.fa-copy {
  --fa:"\f0c5";
}
.fa-discord {
  --fa:"\f392";
}
.fa-edit {
  --fa:"\f044";
}
.fa-ellipsis-v,
.fa-ellipsis-vertical {
  --fa:"\f142";
}
.fa-envelope {
  --fa:"\f0e0";
}
.fa-expand {
  --fa:"\f065";
}
.fa-f {
  --fa:"F";
}
.fa-gift {
  --fa:"\f06b";
}
.fa-home {
  --fa:"\f015";
}
.fa-id-card {
  --fa:"\f2c2";
}
.fa-newspaper {
  --fa:"\f1ea";
}
.fa-palette {
  --fa:"\f53f";
}
.fa-pen {
  --fa:"\f304";
}
.fa-pen-fancy {
  --fa:"\f5ac";
}
.fa-pencil-alt {
  --fa:"\f303";
}
.fa-plus {
  --fa:"+";
}
.fa-shield-alt {
  --fa:"\f3ed";
}
.fa-spider {
  --fa:"\f717";
}
.fa-tags {
  --fa:"\f02c";
}
.fa-theater-masks {
  --fa:"\f630";
}
.fa-user-plus {
  --fa:"\f234";
}
.fa-users {
  --fa:"\f0c0";
}
.fa-video {
  --fa:"\f03d";
}
.fa-window-maximize {
  --fa:"\f2d0";
}
.fa-trash {
  --fa:"\f1f8";
}
.fa-eye-slash {
  --fa:"\f070";
}
:host,
:root {
  --fa-style-family-brands:"Font Awesome 6 Brands";
  --fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands";
}
@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./fa-brands-400-Q3XCMWHQ.woff2") format("woff2"), url("./fa-brands-400-R2XQZCET.ttf") format("truetype");
}
.fa-brands,
.fab {
  font-weight: 400;
}
:host,
:root {
  --fa-style-family-regular:"Font Awesome 6 Free";
  --fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free";
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./fa-regular-400-QSNYFYRT.woff2") format("woff2"), url("./fa-regular-400-XUOPSR7E.ttf") format("truetype");
}
.fa-regular,
.far {
  font-weight: 400;
}
:host,
:root {
  --fa-style-family-classic:"Font Awesome 6 Free";
  --fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free";
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("./fa-solid-900-5ZUYHGA7.woff2") format("woff2"), url("./fa-solid-900-PJNKLK6W.ttf") format("truetype");
}
.fa-solid,
.fas {
  font-weight: 900;
}

/* fonts/quicksand.css */
@font-face {
  font-family: "Quicksand";
  src: url("./Quicksand_Light-VRGQRP3U.otf") format("opentype"), url("./Quicksand_Light_Oblique-WJPL7IKE.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("./Quicksand_Book-LM6WVIKW.otf") format("opentype"), url("./Quicksand_Book_Oblique-WYGJ3I4H.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Quicksand";
  src: url("./Quicksand_Bold-OFQND5FU.otf") format("opentype"), url("./Quicksand_Bold_Oblique-C43K72FY.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

/* css/unified-notification.css */
.unified-notification {
  position: fixed;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--text-color);
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  border: 1px solid rgb(var(--accent-pink-rgb), 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  max-width: 300px;
  word-wrap: break-word;
  opacity: 0;
  transform: scale(0.8);
  transition:
    all 0.2s ease-out,
    top 0.3s ease-out,
    bottom 0.3s ease-out;
  pointer-events: auto;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 1024px) {
  .unified-notification {
    max-width: fit-content;
    margin: 0 20px;
    right: 0 !important;
  }
}
.unified-notification-clickable:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  border-color: rgb(var(--accent-pink-rgb), 0.5);
}
.unified-notification-clickable:active {
  transform: scale(0.98);
}
.unified-notification-show {
  opacity: 1;
  transform: scale(1);
  animation: unifiedNotificationFadeInScale 0.2s ease-out;
}
.unified-notification-hide {
  opacity: 0;
  transform: scale(0.8);
  animation: unifiedNotificationFadeOutScale 0.2s ease-in;
}
.unified-notification-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.unified-notification-content > i {
  font-size: 18px;
  color: rgb(var(--accent-pink-rgb), 0.8);
}
.unified-notification-message {
  font-weight: 500;
  line-height: 1.4;
}
.unified-notification-message a {
  color: var(--pink-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.unified-notification-message a:hover {
  color: var(--pink-glow);
}
.unified-notification-message a:focus-visible {
  outline: 2px solid var(--pink-glow);
  outline-offset: 2px;
}
.unified-notification-message a:visited {
  color: var(--pink-primary);
}
.unified-notification-message i {
  margin: 0 4px;
  font-size: 16px;
}
.unified-notification-message i.fa-heart {
  color: var(--color-error);
}
.unified-notification-message i.fa-bolt {
  color: var(--color-warning);
}
.unified-notification-message i.fa-user {
  color: var(--color-accent-purple);
}
.unified-notification-message i.fa-cog {
  color: var(--color-bg-dark-4);
}
.unified-notification-hint {
  font-size: 12px;
  opacity: 0.8;
  font-style: italic;
  margin-top: 4px;
}
.unified-notification-close {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--text-color);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  padding: 0;
}
.unified-notification-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.unified-notification-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.unified-notification-btn {
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}
.unified-notification-btn.yes {
  background-color: rgba(244, 67, 54, 0.9);
  color: var(--text-color);
}
.unified-notification-btn.no {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-color);
}
.unified-notification-btn:hover {
  filter: brightness(1.1);
}
.unified-notification-success {
  border-color: rgba(76, 175, 80, 0.4);
}
.unified-notification-success i {
  color: rgba(76, 175, 80, 0.8);
}
.unified-notification-error {
  border-color: rgba(244, 67, 54, 0.4);
}
.unified-notification-error i {
  color: rgba(244, 67, 54, 0.8);
}
.unified-notification-warning {
  border-color: rgba(255, 193, 7, 0.4);
}
.unified-notification-warning i {
  color: rgba(255, 193, 7, 0.8);
}
.unified-notification-info {
  border-color: rgba(33, 150, 243, 0.4);
}
.unified-notification-info i {
  color: rgba(33, 150, 243, 0.8);
}
.unified-notification-locked {
  border-color: rgb(var(--accent-pink-rgb), 0.3);
}
.unified-notification-locked i {
  color: rgb(var(--accent-pink-rgb), 0.8);
}
@keyframes unifiedNotificationFadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes unifiedNotificationFadeOutScale {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}
.unified-notification[style*="translate(-50%, -50%)"].unified-notification-show {
  animation: unifiedNotificationFadeInScaleCenter 0.2s ease-out;
}
.unified-notification[style*="translate(-50%, -50%)"].unified-notification-hide {
  animation: unifiedNotificationFadeOutScaleCenter 0.2s ease-in;
}
.unified-notification-clickable[style*="translate(-50%, -50%)"]:hover {
  transform: translate(-50%, -50%) scale(1.02) !important;
}
.unified-notification-clickable[style*="translate(-50%, -50%)"]:active {
  transform: translate(-50%, -50%) scale(0.98) !important;
}
@keyframes unifiedNotificationFadeInScaleCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes unifiedNotificationFadeOutScaleCenter {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* css/error-modal.css */
.error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  margin: 1rem;
}
.error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.error-details {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 1rem 0;
  font-family: monospace;
  background: var(--color-bg-light-1);
  padding: 0.5rem;
  border-radius: 4px;
}
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}
.btn-primary {
  background: var(--color-accent-purple);
  color: var(--text-color);
}
.btn-secondary {
  background: #6c757d;
  color: var(--text-color);
}
.btn:hover {
  opacity: 0.9;
}

/* css/main.css */
:root {
  --pink-primary: #e2477f;
  --pink-hover: #f779a4;
  --pink-glow: #ff80ab;
  --pink-subtle: #fce4ec;
  --text-color: #fff5f8;
  --border-color: #251016;
  --bg-dark: #180a0f;
  --text-grey: rgb(212, 163, 190);
  --text-grey-dark: #8a7a82;
  --black-01: rgb(24, 10, 15, 0.1);
  --black-02: rgb(24, 10, 15, 0.2);
  --black-03: rgb(24, 10, 15, 0.3);
  --black-04: rgb(24, 10, 15, 0.4);
  --black-05: rgb(24, 10, 15, 0.5);
  --black-07: rgb(24, 10, 15, 0.7);
  --black-08: rgb(24, 10, 15, 0.8);
  --black-09: rgb(24, 10, 15, 0.9);
  --black-10: rgb(24, 10, 15, 1.0);
  --white-01: rgb(255, 245, 248, 0.1);
  --white-02: rgb(255, 245, 248, 0.2);
  --white-03: rgb(255, 245, 248, 0.3);
  --white-05: rgb(255, 245, 248, 0.5);
  --white-06: rgb(255, 245, 248, 0.6);
  --white-07: rgb(255, 245, 248, 0.7);
  --white-08: rgb(255, 245, 248, 0.8);
  --white-09: rgb(255, 245, 248, 0.9);
  --white-10: rgb(255, 245, 248, 1.0);
  --color-error: #ff5252;
  --color-success: #4caf50;
  --color-warning: #ffeb3b;
  --color-warning-dark: #ffc107;
  --why-color: rgb(21, 170, 191);
  --technical-color: rgb(130, 201, 30);
  --warning-color: rgb(250, 82, 82);
  --title-color: rgb(250, 176, 5);
  --color-text-muted: #666;
  --color-text-light: #ccc;
  --color-text-medium: #999;
  --color-text-dark: #888;
  --color-border-light: #777;
  --color-bg-dark-1: #374151;
  --color-bg-dark-2: #6b7280;
  --color-bg-dark-3: #111827;
  --color-bg-dark-4: #95a5a6;
  --color-bg-dark-5: #3a3a3a;
  --color-bg-dark-6: #2a2a2a;
  --color-bg-dark-7: #333;
  --color-bg-light-1: #f5f5f5;
  --color-error-light: #E57373;
  --color-accent-pink: #ff6b9d;
  --color-accent-light: #ff69b4;
  --color-accent-lighter: #faf;
  --color-accent-purple: #9d4edd;
  --pink-blush: #f8a5c2;
  --pink-mist: #ffd1dc;
  --pink-pressed: #c2185b;
  --pink-deep: #e91e63;
  --pink-vivid: #ff4081;
  --pink-vivid-deep: #f50057;
  --pink-soft: #ff8da1;
  --pink-lift: #ff85b3;
  --pink-lift-hover: #ff7fb1;
  --pink-lift-end: #ff98c4;
  --pink-violet: #c45bff;
  --pink-heading: #a166d8;
  --pink-mauve: #d168c3;
  --pink-mauve-hover: #b058a3;
  --pink-hot: #ff005c;
  --surface-rose: #2d1820;
  --accent-pink-rgb:
    255,
    107,
    157;
  --accent-light-rgb:
    255,
    105,
    180;
  --pink-primary-rgb:
    226,
    71,
    127;
  --pink-ink-rgb:
    216,
    27,
    96;
  --pink-blush-rgb:
    248,
    165,
    194;
  --pink-vivid-rgb:
    255,
    64,
    129;
  --pink-vivid-deep-rgb:
    245,
    0,
    87;
  --pink-hot-rgb:
    255,
    0,
    92;
  --pink-mauve-rgb:
    209,
    104,
    195;
  --surface-rose-rgb:
    45,
    24,
    32;
  --pink-primary-01: rgb(216, 27, 96, 0.1);
  --pink-primary-02: rgb(216, 27, 96, 0.2);
  --pink-primary-03: rgb(216, 27, 96, 0.3);
  --pink-primary-04: rgb(216, 27, 96, 0.4);
  --pink-primary-05: rgb(216, 27, 96, 0.5);
  --pink-primary-06: rgb(216, 27, 96, 0.6);
  --pink-primary-07: rgb(216, 27, 96, 0.7);
  --pink-primary-08: rgb(216, 27, 96, 0.8);
  --heart-color-1: var(--pink-primary);
  --heart-color-2: #9d4edd;
}
html[data-site=sfw] {
  --pink-primary: #2f6feb;
  --pink-hover: #5b8def;
  --pink-glow: #8eb4ff;
  --pink-subtle: #dbe7ff;
  --text-color: #f3f6fb;
  --text-grey: #9aa8c3;
  --text-grey-dark: #7d8da8;
  --border-color: #1a2744;
  --bg-dark: #0c1222;
  --black-01: rgb(12, 18, 34, 0.1);
  --black-02: rgb(12, 18, 34, 0.2);
  --black-03: rgb(12, 18, 34, 0.3);
  --black-04: rgb(12, 18, 34, 0.4);
  --black-05: rgb(12, 18, 34, 0.5);
  --black-07: rgb(12, 18, 34, 0.7);
  --black-08: rgb(12, 18, 34, 0.8);
  --black-09: rgb(12, 18, 34, 0.9);
  --black-10: rgb(12, 18, 34, 1.0);
  --white-01: rgb(243, 246, 251, 0.1);
  --white-02: rgb(243, 246, 251, 0.2);
  --white-03: rgb(243, 246, 251, 0.3);
  --white-05: rgb(243, 246, 251, 0.5);
  --white-06: rgb(243, 246, 251, 0.6);
  --white-07: rgb(243, 246, 251, 0.7);
  --white-08: rgb(243, 246, 251, 0.8);
  --white-09: rgb(243, 246, 251, 0.9);
  --white-10: rgb(243, 246, 251, 1.0);
  --color-accent-pink: #2f6feb;
  --color-accent-light: #5b8def;
  --color-accent-lighter: #8eb4ff;
  --color-accent-purple: #2f6feb;
  --pink-blush: #a8c4f8;
  --pink-mist: #d6e4ff;
  --pink-pressed: #1e4fd0;
  --pink-deep: #2563eb;
  --pink-vivid: #3b82f6;
  --pink-vivid-deep: #1d4ed8;
  --pink-soft: #9eb6ff;
  --pink-lift: #85b6ff;
  --pink-lift-hover: #7fb6ff;
  --pink-lift-end: #98c4ff;
  --pink-violet: #5b8cff;
  --pink-heading: #6684e0;
  --pink-mauve: #6894d1;
  --pink-mauve-hover: #5878c4;
  --pink-hot: #3b82f6;
  --surface-rose: #121c30;
  --accent-pink-rgb:
    47,
    111,
    235;
  --accent-light-rgb:
    91,
    141,
    239;
  --pink-primary-rgb:
    47,
    111,
    235;
  --pink-ink-rgb:
    47,
    111,
    235;
  --pink-blush-rgb:
    168,
    196,
    248;
  --pink-vivid-rgb:
    59,
    130,
    246;
  --pink-vivid-deep-rgb:
    29,
    78,
    216;
  --pink-hot-rgb:
    59,
    130,
    246;
  --pink-mauve-rgb:
    104,
    148,
    209;
  --surface-rose-rgb:
    18,
    28,
    48;
  --pink-primary-01: rgb(47, 111, 235, 0.1);
  --pink-primary-02: rgb(47, 111, 235, 0.2);
  --pink-primary-03: rgb(47, 111, 235, 0.3);
  --pink-primary-04: rgb(47, 111, 235, 0.4);
  --pink-primary-05: rgb(47, 111, 235, 0.5);
  --pink-primary-06: rgb(47, 111, 235, 0.6);
  --pink-primary-07: rgb(47, 111, 235, 0.7);
  --pink-primary-08: rgb(47, 111, 235, 0.8);
  --heart-color-1: var(--pink-primary);
  --heart-color-2: #2f6feb;
}
html[data-site=sfw] body {
  background-color: var(--bg-dark);
  color: var(--text-color);
}
* {
  font-family: Quicksand, sans-serif;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #111;
  color: var(--text-color);
}
main {
  max-width: 1800px;
  margin: 0 auto;
}
h1 {
  text-align: center;
}
#chat-container {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  background: rgb(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 20px;
  gap: 10px;
}
.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.message {
  max-width: 80%;
  padding: 10px;
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
.message::before {
  content: attr(data-character-name);
  position: absolute;
  top: -20px;
  font-size: 0.8em;
  color: var(--text-color);
}
.user-message {
  background: #2c3e50;
  color: var(--text-color);
  align-self: flex-end;
  margin-left: 20%;
}
.character-message {
  background: #3498db;
  color: var(--text-color);
  align-self: flex-start;
  margin-right: 20%;
}
#chat-input-container {
  display: flex;
  gap: 10px;
}
#chat-input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgb(255, 255, 255, 0.9);
}
button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  color: var(--text-color);
  background-color: #1a1a1a;
  cursor: pointer;
  transition: background 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgb(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgb(255, 255, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(255, 255, 255, 0.5);
}

/* css/rankings.css */
body {
  font-family: Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overscroll-behavior: none;
}
.spot-button,
button,
[role=button] {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
header {
  background-color: #333;
  color: var(--text-color);
  padding: 0;
  text-align: center;
}
nav ul {
  list-style-type: none;
  padding: 0;
}
nav ul li {
  display: inline;
  margin: 0 10px;
}
nav ul li a {
  color: var(--text-color);
  text-decoration: none;
}
main,
#main {
  margin: 0 auto;
  max-width: 100%;
  overflow: visible;
}
h1 {
  text-align: center;
  color: var(--text-color);
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3rem 1rem;
  padding: 0;
  min-height: 60vh;
  margin-bottom: 3rem;
}
#rest {
  color: var(--pink-heading);
}
.character-card {
  perspective: 1000px;
  height: 450px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.card-front img,
.card-front video,
.card-front .card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  z-index: -1;
}
.character-card > * {
  position: relative;
  z-index: 2;
}
.character-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
}
.character-card button {
  margin-top: auto;
  padding: 1.25rem;
  background-color: #838485;
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.belongs-to-bar {
  position: absolute;
  background-color: rgb(var(--pink-mauve-rgb), 0.75);
  bottom: -11%;
  left: 0;
  right: 0;
  padding: 0.5rem;
  margin: 0.5rem;
  border-radius: 4px;
  text-align: center;
}
.belongs-to-bar > * {
  opacity: 1;
}
.character-card:nth-child(-n+3) .belongs-to-bar {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  bottom: -8.25%;
}
.character-card:nth-child(n+4) .belongs-to-bar {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
#side-buttons {
  top: 60px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 10px;
  border-radius: 8px;
  z-index: 1000;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 4px 6px rgb(0 0 0/ 10%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  justify-content: center;
  align-items: center;
}
#side-buttons::-webkit-scrollbar {
  display: none;
}
#side-buttons > * {
  height: 40px;
  min-width: 100px;
  padding: 0 10px;
  background-color: rgb(17 17 17/ 80%);
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  border: 2px solid var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-animation-toggle-container[hidden] {
  display: none !important;
}
#side-buttons > p {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  min-width: 75px;
  border: none;
  color: var(--text-color);
}
#side-buttons > *:hover:not(p) {
  background-color: #555;
  cursor: pointer;
}
#side-buttons > select,
#side-buttons > input {
  padding-left: 10px;
  padding-right: -10px;
}
#side-buttons > *:hover {
  background-color: transparent;
  cursor: default;
}
#side-buttons > #name-filter:hover {
  background-color: inherit;
  cursor: text;
}
#side-buttons > input {
  max-width: 150px;
  min-width: 100px;
}
#side-buttons > select {
  max-width: 120px;
  min-width: auto;
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-glow));
}
#side-buttons > select:hover {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-glow));
}
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes heartPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
img.loading {
  background-color: #ddd;
  background-image:
    linear-gradient(
      90deg,
      #ddd 0,
      #e8e8e8 40px,
      #ddd 80px);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}
.conversation-button {
  background: rgb(255, 255, 255, 0.05);
  border: 1px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin: 8px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  color: #f0f0f0;
}
.conversation-button:hover {
  background: rgb(255, 255, 255, 0.1);
  border-color: rgb(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.conversation-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.conversation-last-message {
  font-size: 12px;
  color: #ccc;
  margin: 0;
  line-height: 1.3;
  opacity: 0.8;
}
.conversation-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #999;
}
.conversation-timestamp {
  font-style: italic;
}
.conversation-message-count {
  background: var(--black-05);
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.banner-carousel-container {
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 0px 0px 20px 0px var(--pink-primary-03);
  position: relative;
  max-width: 100vw;
  contain: paint;
}
.banner-carousel-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  touch-action: pan-y;
}
.banner-carousel {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.banner-slide {
  position: relative;
  width: 25%;
  height: 100%;
  overflow: hidden;
  transition: opacity 0.6s ease;
}
.banner-slide img,
.banner-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  object-position: center;
  transition: transform 0.6s ease;
}
.banner-slide:hover img,
.banner-slide:hover video {
  transform: none;
}
.banner-slide-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 4% 4% 6% 4%;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: pan-y;
}
.banner-carousel-wrapper.is-dragging .banner-slide-hit {
  cursor: grabbing;
}
.banner-slide-hit:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: -4px;
}
.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgb(0, 0, 0, 0.8));
  padding: 1.5rem 2rem 3.25rem;
  color: var(--text-color);
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.banner-overlay h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.7);
  color: var(--text-color);
}
.banner-overlay p {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgb(0, 0, 0, 0.7);
  color: #f0f0f0;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  color: var(--text-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
}
.carousel-prev {
  left: 20px;
}
.carousel-next {
  right: 20px;
}
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgb(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.indicator.active {
  background: var(--pink-primary);
  border-color: var(--pink-primary);
  box-shadow: 0 0 10px var(--pink-primary-06);
}
.indicator:hover:not(.active) {
  border-color: var(--text-color);
  background: rgb(255, 255, 255, 0.2);
}
#load-more {
  margin-bottom: 2rem;
}
.plan-button {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-glow) 50%,
      var(--pink-primary) 100%);
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--pink-primary-03);
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  width: fit-content;
  align-self: center;
}
.card-counts {
  position: absolute;
  bottom: 2px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-self: center;
  z-index: 3;
}
.message-count,
.sprites-count {
  background: rgb(0, 0, 0, 0.6);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  text-shadow: none;
  cursor: pointer;
  pointer-events: auto;
}
.message-count:hover,
.sprites-count:hover {
  background: rgb(0, 0, 0, 0.8);
}
.message-count i,
.sprites-count i {
  margin-right: 0.5em;
}
.tags-popover {
  position: absolute;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 9999;
}
.tags-popover.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.modal-tag {
  background: rgb(0, 0, 0, 0.6);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  text-shadow: none;
  white-space: nowrap;
  border: none;
}
.character-card .favorite-btn {
  position: absolute;
  top: 1rem;
  right: 10px;
  background: rgb(0, 0, 0, 0.6) !important;
  color: var(--text-color);
  padding: 8px !important;
  border: none !important;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 3;
  text-shadow: none;
  transition: all 0.3s ease;
  margin-top: 0 !important;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-card .favorite-btn .heart-emoji {
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-block;
}
.character-card .favorite-btn:hover .heart-emoji {
  animation: heartPulse 1.5s ease-in-out infinite;
}
.favorite-btn.favorited {
  background: rgb(255, 107, 107, 0.2);
}
.favorite-btn.favorited .heart-emoji {
  animation: heartBeat 0.3s ease-in-out;
}
.favorite-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.favorite-btn:disabled:hover .heart-emoji {
  animation: none;
}
.spots-header-container {
  gap: 8px;
}
.spots-title {
  margin: 0 !important;
}
.spot-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.spot-container .spot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spots-header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
}
.scenario-tag {
  background: rgb(0, 0, 0, 0.6);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  text-shadow: none;
  white-space: nowrap;
  border: none;
  transition: all 0.3s ease;
}
.scenario-tag:hover {
  background: rgb(0, 0, 0, 0.8);
}
.spot-search-bar {
  width: 100%;
  padding: 10px 12px;
  background: rgb(255, 255, 255, 0.1);
  border: 1px solid rgb(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin: 10px 0;
}
.spot-search-bar:focus {
  border-color: var(--text-grey);
  background: rgb(255, 255, 255, 0.15);
}
.conversation-button {
  position: relative;
  overflow: hidden;
}
.conversation-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.conversation-preview {
  position: relative;
  z-index: 2;
  color: var(--text-color);
  text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.9);
}
.conversation-last-message {
  margin: 0 0 8px;
  font-size: 11px;
  opacity: 0.9;
  line-height: 1.3;
}
.conversation-meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;
  color: var(--text-color);
  text-shadow: 2px 2px 4px rgb(0, 0, 0, 0.9);
  gap: 8px;
  text-align: right;
}
.no-results-message,
.conversations-loading,
.conversations-error,
.no-conversations-placeholder,
.private-scenarios-loading,
.no-private-scenarios,
.private-scenarios-error,
.spots-status {
  text-align: center;
  color: #888;
  padding: 20px;
  font-style: italic;
}
.spots-status__title {
  font-size: 16px;
  margin-bottom: 10px;
}
.spots-status__sub {
  font-size: 14px;
  opacity: 0.8;
}
.conversations-error,
.private-scenarios-error {
  color: #ff6b6b;
}
.no-results-message {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  width: 100%;
}
.no-results-content {
  text-align: center;
  color: #f0f0f0;
  padding: 2rem;
  max-width: 500px;
  background: rgb(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgb(255, 255, 255, 0.1);
}
.no-results-content h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.no-results-content p {
  margin-bottom: 1rem;
  opacity: 0.8;
  line-height: 1.5;
}
.clear-filters-btn {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-glow));
  color: var(--text-color);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
}
.clear-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--pink-primary-05);
}
.traits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.trait-tag {
  background: rgb(255, 255, 255, 0.1);
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgb(255, 255, 255, 0.2);
}
.trait-tag:hover {
  background: rgb(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.trait-tag.active {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-glow));
  border-color: var(--pink-primary);
  box-shadow: 0 2px 8px var(--pink-primary-03);
}
@media (width <= 1024px) {
  main,
  #main {
    padding: 0;
  }
  #rankings-content {
    padding-top: 0;
  }
  .banner-carousel-wrapper {
    height: auto;
    aspect-ratio: 2 / 1;
  }
  .banner-overlay {
    padding: 1rem 1.25rem 2.75rem;
  }
  .banner-overlay h3 {
    font-size: 1.25rem;
  }
  .banner-overlay p {
    font-size: 0.95rem;
  }
  .banner-carousel-container .carousel-nav {
    display: none;
  }
  .no-results-content {
    padding: 1rem;
  }
  .no-results-content h3 {
    font-size: 1.2rem;
  }
  .no-results-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }
  .clear-filters-btn {
    font-size: 0.8rem;
    padding: 10px 20px;
    margin-top: 0.5rem;
  }
}
@media (width <= 600px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .character-card.rest,
  .character-card.top1,
  .character-card.top2,
  .character-card.top3 {
    grid-column: span 1;
    height: 280px;
  }
}
@media (width <= 480px) {
  #side-buttons {
    padding: 10px;
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: nowrap;
  }
  .banner-carousel-container {
    margin: 0 auto 0.5rem;
  }
  .banner-carousel-wrapper {
    height: auto;
    aspect-ratio: 2 / 1;
  }
  .carousel-indicators {
    bottom: 8px;
  }
  .banner-overlay {
    padding: 0.5rem 0.75rem 2rem;
  }
  .banner-overlay h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .banner-overlay p {
    font-size: 0.8rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* css/side-nav.css */
#side-navigation-container {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 280px;
  background: rgb(26, 26, 26, 0.98);
  border-right: 1px solid rgb(255, 255, 255, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  overflow: hidden;
  transform: translateX(-100%);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
#side-navigation-container.show {
  transform: translateX(0);
  box-shadow: 4px 0 16px rgb(0, 0, 0, 0.3);
}
#side-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.side-nav-logo {
  --side-nav-header-control-width: 96px;
  padding: 12px 16px 22px;
  border-bottom: 1px solid rgb(255, 255, 255, 0.1);
  margin-bottom: 10px;
  flex-shrink: 0;
}
.side-nav-header-controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin: 1.1rem 0 0 0;
}
.side-nav-header-controls-left:empty {
  display: none;
}
.side-nav-header-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgb(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgb(255, 255, 255, 0.06);
  color: rgb(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.side-nav-header-btn:hover {
  background: rgb(255, 255, 255, 0.12);
  border-color: rgb(255, 255, 255, 0.2);
}
.side-nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}
.side-nav-logo a:hover {
  opacity: 0.8;
}
.side-nav-logo .dropdown {
  padding: 0;
  position: relative;
  flex-shrink: 0;
}
.side-nav-logo .lang-dropbtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: var(--side-nav-header-control-width);
  padding: 6px 10px;
  background: rgb(255, 255, 255, 0.05);
  border: 1px solid rgb(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-color);
  font-size: 12px;
  font-weight: 600;
}
.side-nav-logo .lang-dropbtn:hover {
  background: rgb(255, 255, 255, 0.1);
}
.side-nav-logo .lang-code {
  color: var(--text-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.side-nav-logo .dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: rgb(26, 26, 26, 0.98);
  border: 1px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgb(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 9999;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}
.dropdown-content > button:hover {
  background: rgb(255, 255, 255, 1);
  color: var(--text-color);
  transform: translateX(2px);
}
.side-nav-logo .dropdown:hover .dropdown-content,
.side-nav-logo .dropdown-content.show {
  display: block;
}
.side-nav-logo .dropdown:hover .lang-dropbtn .fa-chevron-down,
.side-nav-logo .dropdown-content.show ~ .lang-dropbtn .fa-chevron-down {
  transform: rotate(180deg);
}
.side-nav-logo .lang-dropbtn .fa-chevron-down {
  transition: transform 0.2s ease;
}
.side-nav-logo .flag-icon {
  width: 20px;
  height: 15px;
}
.side-nav-logo .dropdown-content button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 15px;
  border: none;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: background 0.2s ease;
}
.side-nav-logo .dropdown-content button:hover {
  background: rgb(var(--accent-pink-rgb), 0.2);
}
.side-nav-logo .dropdown-content .flag-icon {
  width: 20px;
  height: 15px;
  flex-shrink: 0;
}
.side-nav-logo .dropdown-content .lang-text {
  font-size: 14px;
  white-space: nowrap;
}
.side-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  flex: 1;
  min-height: 0;
  overflow: hidden auto;
}
.side-nav-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  min-height: 44px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.side-nav-links a:hover {
  background: rgb(255, 255, 255, 0.08);
  color: var(--text-color);
  transform: translateX(2px);
}
.side-nav-links a.active,
.side-nav-links a[aria-current=page] {
  background:
    linear-gradient(
      135deg,
      rgb(var(--pink-hot-rgb), 0.18) 0%,
      rgb(var(--accent-pink-rgb), 0.22) 55%,
      rgb(255, 255, 255, 0.06) 100%);
  border-color: rgb(var(--pink-hot-rgb), 0.34);
  box-shadow: 0 6px 18px rgb(var(--pink-hot-rgb), 0.12);
  color: var(--text-color);
}
.side-nav-links a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.side-nav-links a i {
  width: 18px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
  color: rgb(255, 255, 255, 0.9);
}
.side-nav-links a:hover i {
  color: var(--text-color);
}
.side-nav-links a.active i {
  color: var(--pink-primary);
}
.side-nav-links a[data-page-id=season_pass] {
  background:
    linear-gradient(
      135deg,
      rgb(255, 214, 0, 0.10) 0%,
      rgb(255, 170, 0, 0.12) 55%,
      rgb(255, 255, 255, 0.04) 100%);
  border-color: rgb(255, 214, 0, 0.20);
  box-shadow: 0 6px 18px rgb(255, 193, 7, 0.07);
  color: rgb(255, 255, 255, 0.92);
}
.side-nav-links a[data-page-id=season_pass] i {
  color: rgb(255, 214, 0, 0.86);
}
.side-nav-links a[data-page-id=season_pass]:hover {
  background:
    linear-gradient(
      135deg,
      rgb(255, 214, 0, 0.14) 0%,
      rgb(255, 170, 0, 0.16) 55%,
      rgb(255, 255, 255, 0.06) 100%);
  border-color: rgb(255, 214, 0, 0.28);
  box-shadow: 0 10px 24px rgb(255, 193, 7, 0.11);
}
.side-nav-links a[data-page-id=season_pass].active,
.side-nav-links a[data-page-id=season_pass][aria-current=page] {
  background:
    linear-gradient(
      135deg,
      rgb(255, 214, 0, 0.16) 0%,
      rgb(255, 170, 0, 0.18) 55%,
      rgb(255, 255, 255, 0.08) 100%);
  border-color: rgb(255, 214, 0, 0.32);
  box-shadow: 0 10px 28px rgb(255, 193, 7, 0.13);
  color: var(--text-color);
}
.side-nav-links a[data-page-id=season_pass].active i,
.side-nav-links a[data-page-id=season_pass][aria-current=page] i {
  color: rgb(255, 226, 92, 0.92);
}
.side-nav-guest-callouts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1100;
}
.side-nav-guest-callouts.side-nav-guest-callouts--hidden {
  visibility: hidden;
}
.side-nav-guest-callout {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateY(-50%);
  animation: sideNavGuestCalloutNudge 1.35s ease-in-out infinite;
  filter: drop-shadow(0 10px 22px rgb(0, 0, 0, 0.45));
}
.side-nav-guest-callout.is-theatre {
  animation-delay: 0.35s;
}
.side-nav-guest-callout-arrow {
  position: relative;
  width: 12px;
  height: 14px;
}
.side-nav-guest-callout-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 10px solid rgb(var(--accent-pink-rgb), 0.98);
}
.side-nav-guest-callout-label {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-color);
  background: var(--pink-primary);
  border: 1px solid rgb(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgb(var(--accent-pink-rgb), 0.32);
}
@keyframes sideNavGuestCalloutNudge {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-50%) translateX(-6px);
    opacity: 1;
  }
}
.side-nav-links a .nav-sticker {
  margin-left: auto;
  margin-right: auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255, 255, 255, 0.14);
  background: rgb(255, 255, 255, 0.08);
  color: rgb(255, 255, 255, 0.95);
  flex-shrink: 0;
}
.side-nav-links a .nav-sticker--new {
  border-color: rgb(var(--accent-pink-rgb), 0.35);
  background: rgb(var(--accent-pink-rgb), 0.18);
  color: var(--text-color);
  box-shadow: 0 2px 10px rgb(var(--accent-pink-rgb), 0.18);
}
.side-nav-user {
  padding: 12px 16px 16px;
  border-top: 1px solid rgb(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.side-nav-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-color);
}
.side-nav-user-profile:hover {
  background: rgb(255, 255, 255, 0.05);
}
.side-nav-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--pink-primary);
}
.side-nav-user-info {
  flex: 1;
  min-width: 0;
}
.side-nav-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-nav-user-row > .side-nav-user-profile {
  flex: 1;
  min-width: 0;
}
.side-nav-username {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-nav-user-tier {
  font-size: 12px;
  color: var(--text-grey);
}
.side-nav-discord-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: var(--text-grey);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.side-nav-discord-link:hover {
  background: rgb(88, 101, 242, 0.2);
  color: rgb(88, 101, 242);
}
.side-nav-discord-link i {
  font-size: 15px;
}
.side-nav-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.side-nav-action-btn {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  background: rgb(255, 255, 255, 0.05);
  border: 1px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
#side-navigation-container .side-nav-action-btn.notification-button {
  width: auto;
  height: auto;
  border-radius: 8px;
  background: rgb(255, 255, 255, 0.05);
}
.side-nav-action-btn:hover {
  background: rgb(255, 255, 255, 0.1);
  color: var(--text-color);
}
.side-nav-action-btn i {
  font-size: 16px;
}
.side-nav-energy-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgb(0, 0, 0, 0.4);
  border: 1px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  width: auto;
  flex: none;
}
.side-nav-energy-icon {
  color: var(--color-warning);
  font-size: 16px;
  filter: drop-shadow(0 0 2px rgb(255, 235, 59, 0.5));
}
.energy-count {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 700;
  font-family: "Courier New", monospace;
}
.side-nav-energy-container .energy-count:first-child {
  margin-right: 0;
}
.side-nav-energy-timer {
  color: var(--color-text-light);
  font-size: 11px;
  font-family: "Courier New", monospace;
  min-width: 35px;
  text-align: right;
}
.mobile-menu-btn {
  display: flex;
  position: fixed !important;
  top: 10px;
  left: 10px;
  width: 42px;
  height: 42px;
  background: rgb(26, 26, 26, 0.95);
  border: 1px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-color);
  cursor: pointer;
  z-index: 999;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgb(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
  background: rgb(26, 26, 26, 1);
  transform: scale(1.05);
}
body.modal-open .mobile-menu-btn {
  display: none !important;
}
@media (width <= 1024px) {
  body.modal-open {
    padding-left: 0 !important;
  }
}
.mobile-menu-btn i {
  font-size: 20px;
}
.side-nav-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgb(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  will-change: opacity;
}
.side-nav-overlay.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
  touch-action: pan-y;
}
@media (width <= 1024px) {
  #side-navigation-container {
    width: 260px;
    height: 100% !important;
    top: 0 !important;
    bottom: 0 !important;
  }
  .side-nav-logo {
    padding: 12px 12px 20px;
  }
  .side-nav-logo a {
    font-size: 14px;
  }
  .side-nav-logo .lang-dropbtn {
    padding: 5px 8px;
    gap: 4px;
    width: 90px;
  }
  .side-nav-logo .lang-code {
    font-size: 11px;
  }
  .side-nav-logo .dropdown-content {
    right: -8px;
  }
}
@media (width <= 480px) {
  #side-navigation-container {
    width: 80%;
    max-width: 280px;
  }
  .side-nav-links a {
    padding: 3px 12px;
    font-size: 14px;
    gap: 12px;
  }
}
@media (width >= 1025px) {
  #side-navigation-container {
    transform: translateX(0) !important;
    box-shadow: 4px 0 16px rgb(0, 0, 0, 0.3);
  }
  body {
    padding-left: 280px;
  }
  body.no-side-nav-padding,
  body.no-side-nav-padding.side-nav-open {
    padding-left: 0;
  }
  body.no-side-nav-padding #side-navigation-container {
    transform: translateX(-100%) !important;
    box-shadow: none;
  }
  body.no-side-nav-padding.side-nav-open #side-navigation-container {
    transform: translateX(0) !important;
    box-shadow: 4px 0 16px rgb(0, 0, 0, 0.3);
  }
  .mobile-menu-btn {
    display: none !important;
  }
  .side-nav-overlay.show {
    display: none;
  }
  body.no-side-nav-padding .side-nav-overlay.show {
    display: block;
  }
  body:not(.no-side-nav-padding) .side-nav-header-controls-left {
    display: none;
  }
}
.side-nav-action-btn .notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--pink-primary);
  color: var(--text-color);
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid rgb(26, 26, 26, 0.95);
  box-shadow: 0 2px 4px rgb(0, 0, 0, 0.2);
}
.side-nav-action-btn .notification-badge:not(:empty) {
  display: flex;
}
.side-nav-auth {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-nav-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-size: 14px;
}
.side-nav-auth-btn.primary {
  background:
    linear-gradient(
      135deg,
      var(--pink-hover) 0%,
      var(--pink-primary) 100%);
  color: var(--text-color);
  box-shadow: 0 2px 8px var(--pink-primary-03);
}
.side-nav-auth-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--pink-primary-05);
}
.side-nav-auth-btn.secondary {
  background: rgb(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgb(255, 255, 255, 0.1);
}
.side-nav-auth-btn.secondary:hover {
  background: rgb(255, 255, 255, 0.1);
  color: var(--text-color);
}
#side-navigation-container::-webkit-scrollbar {
  width: 6px;
}
#side-navigation-container::-webkit-scrollbar-track {
  background: rgb(0, 0, 0, 0.2);
}
#side-navigation-container::-webkit-scrollbar-thumb {
  background: rgb(255, 255, 255, 0.2);
  border-radius: 3px;
}
#side-navigation-container::-webkit-scrollbar-thumb:hover {
  background: rgb(255, 255, 255, 0.3);
}
.side-nav-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.side-nav-logo-row .logo-link {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
}
.side-nav-logo-row .dropdown {
  flex-shrink: 0;
  margin-top: 1.1rem;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 8px;
  transition: opacity 0.2s ease;
}
.logo-link:hover {
  opacity: 0.8;
}
.text-logo {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  position: relative;
}
.text-logo-name {
  color: var(--text-color);
}
.text-logo-tld {
  color: var(--pink-primary);
  margin-left: 1px;
  font-weight: 700;
}
.text-logo-beta {
  position: absolute;
  margin-top: 2.2rem;
  margin-left: 10%;
  font-weight: normal;
  font-size: 0.75rem;
  color: var(--text-color);
}
.lang-dropdown-arrow {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.7;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  text-align: left;
  background: none;
  color: var(--text-color);
  transition: background-color 0.2s ease;
}
.lang-option:hover {
  background-color: rgb(var(--accent-pink-rgb), 0.2);
}
.notification-panel {
  position: fixed;
  display: flex;
  flex-direction: column;
  max-height: min(400px, calc(100vh - 24px));
  background: #1a1a1a;
  border: 1px solid var(--color-bg-dark-7);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
}
.notification-panel-header {
  padding: 16px;
  padding-right: 44px;
  border-bottom: 1px solid var(--color-bg-dark-7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.notification-panel-title {
  margin: 0;
  color: var(--text-color);
  font-size: 16px;
  flex: 1;
}
.notification-panel-close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--text-color);
  cursor: pointer;
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.notification-panel-close-btn--hover,
.notification-panel-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}
.notification-panel-content {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.notification-panel-empty {
  padding: 20px;
  text-align: center;
  color: var(--color-text-medium);
}
.notification-panel-sentinel {
  height: 1px;
  flex-shrink: 0;
  pointer-events: none;
}
.notification-panel-footer {
  flex-shrink: 0;
}
.notification-panel-loader {
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 0;
  overflow: hidden;
  padding: 0;
  color: var(--color-text-medium);
  font-size: 13px;
}
.notification-panel-loader.is-visible {
  visibility: visible;
  height: auto;
  padding: 12px 16px;
}
.notification-panel-loader-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--pink-primary);
  border-radius: 50%;
  animation: notification-panel-spin 0.7s linear infinite;
}
@keyframes notification-panel-spin {
  to {
    transform: rotate(360deg);
  }
}
.notification-item {
  padding: 16px;
  border-bottom: 1px solid var(--color-bg-dark-7);
  cursor: pointer;
  transition: background-color 0.2s;
}
.notification-item--read {
  opacity: 0.7;
}
.notification-item--hover,
.notification-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.notification-item-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.notification-priority-bar {
  width: 4px;
  height: 40px;
  border-radius: 2px;
  flex-shrink: 0;
}
.notification-item-body {
  flex: 1;
}
.notification-item-title {
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 4px;
}
.notification-item-message {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.4;
}
.notification-item-date {
  color: var(--color-text-dark);
  font-size: 12px;
  margin-top: 8px;
}
.notification-item--actionable {
  position: relative;
}
.notification-action-indicator {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink-primary);
  font-weight: bold;
  font-size: 18px;
}

/* css/custom-voice-dropdown.css */
.voice-flags {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.voice-flags-selected {
  margin-left: 8px;
}
.voice-flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.custom-voice-select {
  position: relative;
  width: 100%;
}
.form-group:has(.custom-voice-select.active) {
  position: relative;
  z-index: 10001;
}
select[id*=voice].replacing {
  opacity: 0;
  pointer-events: none;
}
.custom-voice-display {
  width: 100%;
  min-width: 140px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.95em;
  line-height: 1.3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-height: 36px;
}
.custom-voice-display:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.custom-voice-display.open {
  border-color: rgb(var(--accent-pink-rgb), 0.5);
  background: rgba(40, 40, 40, 0.95);
}
.voice-display-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  min-width: 0;
  overflow: hidden;
}
.voice-display-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  opacity: 0.7;
  margin-left: 8px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.custom-voice-display.open .voice-display-arrow {
  transform: rotate(180deg);
}
.custom-voice-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: rgb(20, 20, 20);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  z-index: 10000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}
.custom-voice-select.active .custom-voice-dropdown {
  display: flex;
  flex-direction: column;
}
.custom-voice-options {
  overflow-y: auto;
  max-height: 200px;
}
.custom-voice-option {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 36px;
  display: flex;
  align-items: center;
  background: rgb(30, 30, 30);
}
.custom-voice-option:last-child {
  border-bottom: none;
}
.custom-voice-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.custom-voice-option.selected {
  background: rgb(var(--accent-pink-rgb), 0.15);
}
.voice-option-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.voice-name {
  flex: 1;
  margin-right: 10px;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.2;
}
.credit-multiplier-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
}
.credit-multiplier-badge.is-cheaper {
  color: #81C784;
  border-color: rgba(129, 199, 132, 0.35);
}
.credit-multiplier-badge.is-premium {
  color: var(--pink-primary);
  border-color: rgb(var(--accent-pink-rgb), 0.35);
}
.voice-controls-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.voice-controls-group .custom-voice-select,
.voice-controls-group .character-voice-language-control,
.voice-controls-group .elevenlabs-voice-id-input {
  width: 100%;
  box-sizing: border-box;
}
.voice-controls-group .elevenlabs-voice-id-error {
  margin: 0;
  font-size: 12px;
  color: #ef4444;
}
.voice-controls-group .elevenlabs-voice-id-error[hidden] {
  display: none;
}
.voice-controls-group .elevenlabs-voice-id-note {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}
.voice-controls-group .elevenlabs-voice-id-note[hidden] {
  display: none;
}
.voice-controls-group .elevenlabs-voice-id-note a {
  color: var(--pink-primary);
}
.custom-voice-search {
  width: calc(100% - 16px);
  box-sizing: border-box;
  margin: 8px;
  flex-shrink: 0;
}
.voice-preview-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}
.voice-preview-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.custom-voice-dropdown::-webkit-scrollbar {
  width: 6px;
}
.custom-voice-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}
.custom-voice-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.custom-voice-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* css/modals.css */
.login-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.login-modal-content {
  position: relative;
  background-color: #111;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  color: var(--text-color);
  border: 2px solid var(--pink-primary);
  box-shadow: 0 0 20px var(--pink-primary-03);
  margin: 8px;
}
.close-login-modal {
  position: absolute;
  right: 6px;
  top: 6px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
  transition: color 0.3s ease;
  width: 32px;
  height: 32px;
}
.close-login-modal:hover {
  color: var(--pink-primary);
}
.login-modal h2 {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}
.login-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.email-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.login-input {
  padding: 12px;
  border: 2px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  background-color: #333;
  color: var(--text-color);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.login-input:focus {
  border-color: var(--pink-primary);
  outline: none;
}
.login-btn {
  padding: 12px;
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-hover) 50%,
      var(--pink-primary) 100%);
  background-size: 200% 100%;
  color: var(--text-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  animation: gradientMove 3s linear infinite;
  transition: transform 0.3s ease;
}
.login-btn:hover,
.login-btn:active,
.login-btn:focus {
  transform: translateY(-2px);
  animation: gradientMove 1s linear infinite;
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-hover) 50%,
      var(--pink-primary) 100%);
  background-size: 200% 100%;
  outline: none;
}
.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #666;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333;
}
.login-divider span {
  padding: 0 10px;
}
.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 12px;
  background-color: #333;
  color: var(--text-color);
  border: 2px solid rgb(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}
.social-login-btn:hover {
  background-color: #444;
  transform: translateY(-2px);
}
.social-login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.social-login-btn img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.login-modal-message {
  color: var(--pink-hover);
  margin-bottom: 15px;
  text-align: center;
  display: block;
}
.login-modal-message.success {
  color: #4CAF50;
}
.login-modal-message.error {
  color: var(--color-error);
}
@media (max-width: 480px) {
  .login-modal-content {
    width: 95%;
    margin: 10vh auto;
    padding: 1.5rem;
  }
  .login-modal h2 {
    font-size: 1.5rem;
  }
  .social-login-btn {
    font-size: 0.9rem;
  }
}
.modal-content.character-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  max-width: 1045px;
  height: 74vh;
  max-height: 695px;
  margin: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 0;
  background-color: rgb(15, 15, 25, 0.98);
  backdrop-filter: blur(8px);
  border: 2px solid var(--pink-primary);
  overflow: hidden;
  box-shadow: 0 10px 30px rgb(0, 0, 0, 0.5);
}
.close-btn {
  position: absolute;
  top: 60px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255, 0.1);
  border: none;
  color: var(--text-color);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 2px 10px rgb(0, 0, 0, 0.3);
}
.close-btn:hover {
  background-color: rgb(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.character-details {
  width: 100%;
  height: 100%;
  padding: 10px;
  overflow: hidden;
}
.character-content {
  max-width: 100%;
  margin: 0;
  height: 100%;
  overflow: hidden;
}
.character-modal-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  gap: 8px;
  position: relative;
  padding: 0;
  align-items: stretch;
}
.character-modal-left {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  height: auto;
  padding: 0 10px 0 0;
  justify-content: flex-start;
  gap: 12px;
  overflow: hidden;
  --party-header-h: 3.6rem;
  --party-image-h: 220px;
}
.character-party-stage {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-width: 0;
  height: 400px;
}
.character-party-shared-bg {
  position: absolute;
  top: var(--party-header-h);
  left: 0;
  right: 0;
  height: var(--party-image-h);
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  z-index: 0;
  pointer-events: none;
}
.character-party-columns {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.character-primary-column,
.character-party-column {
  flex: 0 0 auto;
  width: min(200px, 32vw);
  max-width: 220px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}
.character-primary-column .character-header,
.character-party-column .character-header {
  min-height: var(--party-header-h);
  box-sizing: border-box;
  padding: 0 28px 0 4px;
}
.character-primary-column .character-header h2,
.character-party-column .character-header h2,
.character-primary-column .character-name-header,
.character-party-column .character-name-header {
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.character-primary-column .character-creator,
.character-party-column .character-creator {
  font-size: 0.75rem;
  margin: 0;
  min-height: 1em;
}
.character-primary-column .character-modal-image,
.character-party-column .character-modal-image {
  width: 100%;
  height: var(--party-image-h);
  min-height: var(--party-image-h);
  max-height: var(--party-image-h);
  margin: 0;
}
.character-primary-column .character-modal-image .character-image,
.character-party-column .character-modal-image .character-image {
  width: auto;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.character-party-slots {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 0;
  margin-top: var(--party-header-h);
}
.character-modal-right {
  flex: 1 1 auto;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px 10px 10px 0;
  position: relative;
  min-height: 0;
  overflow-y: hidden;
  border-top: 1px solid rgb(255, 255, 255, 0.1);
}
.character-header {
  text-align: center;
  margin-top: 0;
}
.character-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.2;
  text-align: center;
}
.character-creator {
  font-size: 1rem;
  color: #888;
  margin-top: 0.1rem;
  margin-bottom: 0.3rem;
  text-align: center;
}
.character-modal-image {
  width: 100%;
  min-height: 180px;
  max-height: 260px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 0 0.5rem;
}
.character-modal-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
.character-footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 0;
  padding-bottom: 8px;
}
.character-traits {
  display: flex;
  margin: 0.5rem 0 0;
  text-align: center;
  width: 100%;
  justify-content: center;
}
.trait-tag {
  opacity: 0.7;
}
.trait-tag.initial {
  opacity: 1;
}
.trait-tag.active {
  border-color: var(--pink-primary);
  background-color: var(--pink-primary-01);
}
.traits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.trait-tag {
  background-color: rgb(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.trait-tag:hover {
  background-color: rgb(255, 255, 255, 0.2);
}
.spots-container-wrapper {
  margin-top: 1rem;
  overflow-y: auto;
  max-height: 520px;
  padding-right: 45px;
  flex: 1;
  min-height: 0;
}
.spots-container-wrapper::-webkit-scrollbar {
  width: 6px;
}
.spots-container-wrapper::-webkit-scrollbar-track {
  background: rgb(255, 255, 255, 0.1);
  border-radius: 10px;
}
.spots-container-wrapper::-webkit-scrollbar-thumb {
  background: rgb(255, 255, 255, 0.3);
  border-radius: 10px;
}
.spots-container-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgb(255, 255, 255, 0.5);
}
.section-title {
  position: relative;
  margin: 1rem 0 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  color: var(--text-color);
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--pink-primary);
  border-radius: 2px;
}
.spot-button {
  position: relative;
  padding: 0;
  background-color: rgb(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 140px;
  height: 175px;
  overflow: hidden;
  border: none;
}
.spot-button:hover {
  background-color: rgb(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(0, 0, 0, 0.3);
}
.spot-button.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.spot-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: 1;
  transition: all 0.3s ease;
}
.spot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1rem;
  padding-right: 15px;
  max-height: 676px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.spot-row::-webkit-scrollbar {
  display: none;
}
.confirmation-button {
  border-radius: 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}
.confirm-yes {
  background-color: var(--pink-primary);
  color: var(--text-color);
}
.confirm-yes:hover {
  background-color: var(--pink-deep);
  transform: translateY(-2px);
}
.confirm-no {
  background-color: rgb(255, 255, 255, 0.15);
  color: var(--text-color);
}
.confirm-no:hover {
  background-color: rgb(255, 255, 255, 0.25);
}
.spot-search-bar {
  width: 80%;
  margin: 10px auto;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgb(255, 255, 255, 0.2);
  background-color: rgb(255, 255, 255, 0.1);
  color: var(--text-color);
  font-size: 0.9rem;
  outline: none;
  display: block;
  transition: all 0.3s ease;
}
.spot-filters-panel {
  display: none;
  width: 100%;
  margin: 0 auto 8px;
  padding: 0 4px 8px;
}
.spot-filters-panel.active {
  display: block;
}
.spot-search-bar.active {
  display: block;
}
.spot-char-count-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.spot-char-count-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 4px;
}
.spot-char-count-btn {
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  cursor: pointer;
}
.spot-char-count-btn.is-selected,
.spot-char-count-btn[aria-pressed=true] {
  border-color: var(--pink-primary);
  background: rgba(236, 72, 153, 0.2);
  color: var(--text-color);
}
.spot-filters-panel .scenario-tags-picker {
  max-height: 120px;
  overflow-y: auto;
  margin-top: 4px;
}
.spot-search-bar:focus {
  border-color: rgb(255, 255, 255, 0.4);
  background-color: rgb(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgb(255, 255, 255, 0.2);
}
.spot-search-bar::placeholder {
  color: var(--text-grey);
}
body.modal-open {
  overflow: hidden;
}
.message-avatar {
  width: 180px;
  height: 650px;
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.message-avatar .persona-avatar-frame {
  position: relative;
  width: 180px;
  height: 450px;
  background:
    linear-gradient(
      135deg,
      #1a1a1a 0%,
      #2a2a2a 50%,
      #1a1a1a 100%);
  border: 3px solid #c00;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgb(192, 0, 0, 0.4), inset 0 0 15px rgb(0, 0, 0, 0.5);
  transform: skew(-2deg, 0deg);
  transition: all 0.3s ease;
}
.message-avatar[data-char-index="1"] .persona-avatar-frame {
  border-color: #07f;
  box-shadow: 0 0 20px rgb(0, 119, 255, 0.4), inset 0 0 15px rgb(0, 0, 0, 0.5);
}
.message-avatar[data-char-index="2"] .persona-avatar-frame {
  border-color: #ffbf00;
  box-shadow: 0 0 20px rgb(255, 191, 0, 0.4), inset 0 0 15px rgb(0, 0, 0, 0.5);
}
.message-avatar[data-char-index="1"] .persona-avatar-frame::before {
  background:
    linear-gradient(
      45deg,
      #07f,
      #3af,
      #07f,
      #04a);
}
.message-avatar[data-char-index="2"] .persona-avatar-frame::before {
  background:
    linear-gradient(
      45deg,
      #ffbf00,
      #ffd54f,
      #ffbf00,
      #ff9500);
}
.message-avatar .persona-avatar-frame:hover {
  transform: skew(-2deg, 0deg) scale(1.02);
  box-shadow: 0 0 30px rgb(192, 0, 0, 0.6), inset 0 0 20px rgb(0, 0, 0, 0.3);
  border-color: #f00;
}
.message-avatar .persona-avatar-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(
      45deg,
      #c00,
      #f44,
      #c00,
      #800);
  background-size: 400% 400%;
  animation: persona-border-glow 3s ease-in-out infinite;
  border-radius: 6px;
  z-index: -1;
}
.message-avatar .persona-avatar-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  background:
    linear-gradient(
      45deg,
      #c00,
      #f00);
  clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 70% 100%, 0% 100%);
  opacity: 0.8;
}
.message-avatar .persona-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: skew(2deg, 0deg);
  transition: transform 0.3s ease;
}
@keyframes persona-border-glow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.message.character-message {
  display: flex;
  align-items: flex-start;
  padding: 12px 15px;
  margin: 8px 0;
  background:
    linear-gradient(
      135deg,
      rgb(var(--pink-ink-rgb), 0.08),
      rgb(var(--pink-ink-rgb), 0.03));
  border-radius: 12px;
  border-left: 3px solid var(--pink-primary-03);
  position: relative;
  transition: all 0.2s ease;
}
.message.character-message:hover {
  background:
    linear-gradient(
      135deg,
      rgb(var(--pink-ink-rgb), 0.12),
      rgb(var(--pink-ink-rgb), 0.05));
  border-left-color: var(--pink-primary-05);
  transform: translateX(2px);
}
.message-content {
  flex: 1;
  line-height: 1.4;
  position: relative;
}
.message.user-message {
  padding: 12px 15px;
  margin: 8px 0;
  background:
    linear-gradient(
      135deg,
      rgb(100, 100, 100, 0.15),
      rgb(100, 100, 100, 0.05));
  border-radius: 12px;
  border-right: 3px solid rgb(100, 100, 100, 0.3);
  text-align: right;
  transition: all 0.2s ease;
}
.message.user-message:hover {
  background:
    linear-gradient(
      135deg,
      rgb(100, 100, 100, 0.2),
      rgb(100, 100, 100, 0.08));
  border-right-color: rgb(100, 100, 100, 0.5);
  transform: translateX(-2px);
}
.message.system-message {
  padding: 8px 15px;
  margin: 5px 0;
  font-style: italic;
  color: var(--text-grey);
  background: rgb(50, 50, 50, 0.3);
  border-radius: 8px;
  text-align: center;
  font-size: 0.9em;
  border: 1px solid rgb(255, 255, 255, 0.1);
}
@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.message {
  animation: messageSlideIn 0.3s ease-out;
}
.spots-header-container {
  gap: 8px;
}
.spots-title {
  margin: 0;
}
@media (width <= 1024px) and (orientation: portrait) {
  .modal-content.character-modal-content {
    width: 95%;
    height: 98vh;
    max-height: 98vh;
    max-width: none;
    margin: 0.25vh auto 0;
    padding: 15px;
  }
  .character-details {
    padding: 10px 4px;
    height: 100%;
  }
  .character-modal-body {
    flex-direction: column;
    height: 100%;
    gap: 5px;
  }
  .character-modal-left {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 8px;
    --party-header-h: 2.8rem;
    --party-image-h: 160px;
  }
  .character-primary-column,
  .character-party-column {
    width: min(140px, 30vw);
    max-width: 160px;
  }
  .character-party-stage {
    height: 350px;
  }
  .character-party-slots {
    gap: 8px;
    margin-top: var(--party-header-h);
  }
  .character-party-slot.add-character-slot {
    width: min(140px, 30vw);
    max-width: 160px;
    height: var(--party-image-h);
    min-height: var(--party-image-h);
    max-height: var(--party-image-h);
  }
  .character-modal-body .character-modal-right {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border-left: none;
    border-top: 1px solid rgb(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
  }
  .character-header {
    margin-right: 0;
    margin-bottom: 0;
    text-align: center;
  }
  .character-header h2 {
    font-size: 1.1rem;
    margin-bottom: 0;
  }
  .character-creator {
    visibility: hidden !important;
    display: block !important;
    height: 1em;
    margin: 0;
    overflow: hidden;
  }
  .character-primary-column .character-modal-image,
  .character-party-column .character-modal-image {
    width: 100%;
    height: var(--party-image-h);
    min-height: var(--party-image-h);
    max-height: var(--party-image-h);
    margin-right: 0;
    margin-bottom: 0.25rem;
  }
  .character-primary-column .character-modal-image img,
  .character-party-column .character-modal-image img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .character-traits {
    width: 100%;
    height: auto;
    margin: 0.25rem 0 0;
  }
  .traits-list {
    flex-wrap: wrap;
    flex-direction: row;
  }
  .trait-tag {
    font-size: 0.8rem;
    padding: 3px 8px;
  }
  .spots-container-wrapper {
    padding-right: 10px;
    margin-top: 0;
    max-height: 100%;
    overflow-y: auto;
  }
  .spot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: flex-start;
    overflow: hidden auto;
    max-height: 460px;
  }
  .spot-button {
    width: calc((100% - 2.4rem) / 3);
    height: 180px;
    min-width: auto;
  }
  .confirmation-button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .close-btn {
    top: 35px;
    left: 10px;
    width: 35px;
    height: 35px;
    font-size: 22px;
  }
  .character-footer-section {
    padding-bottom: 8px;
  }
  #scenario-character-create-modal .modal-content.character-modal-content {
    width: 95%;
    height: 98vh;
    max-height: 98vh;
    max-width: none;
    margin: 0.25vh auto 0;
    padding: 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #scenario-character-create-modal .character-details {
    overflow: visible;
    height: auto;
  }
  #scenario-character-create-modal .character-modal-body {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  #scenario-character-create-modal .character-modal-left {
    flex: 0 0 auto;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  #scenario-character-create-modal #scenario-character-create-preview {
    height: 260px;
  }
  #scenario-character-create-modal .character-modal-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border-left: none;
    border-top: 1px solid rgb(255, 255, 255, 0.1);
    padding-top: 10px;
    overflow: visible;
  }
  #scenario-character-create-modal .character-modal-right .form-row {
    margin-top: 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  #scenario-character-create-modal .character-modal-right .form-row .form-field {
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  #scenario-character-create-modal #scenario-character-create-name,
  #scenario-character-create-modal #scenario-character-create-gender {
    width: 100%;
    min-width: 0;
  }
  #scenario-character-create-modal #scenario-character-create-voice-root {
    width: auto;
    max-width: 100%;
  }
  #scenario-character-create-modal #scenario-character-create-voice {
    width: max-content;
    max-width: 100%;
    min-width: 0;
    display: inline-block;
  }
  #scenario-character-create-modal .close-btn {
    top: 35px;
    left: 10px;
    width: 35px;
    height: 35px;
    font-size: 22px;
  }
}
@media (width <= 1024px) and (orientation: landscape) {
  .modal-content.character-modal-content {
    width: 88%;
    height: 90%;
  }
  .character-details {
    padding: 0;
  }
  .character-creator {
    visibility: hidden !important;
    display: block !important;
    height: 1em;
    margin: 0;
    overflow: hidden;
  }
  .character-modal-left {
    padding-bottom: 0;
    flex-direction: row;
    --party-header-h: 2.6rem;
    --party-image-h: 140px;
  }
  .character-primary-column,
  .character-party-column {
    width: min(120px, 22vw);
    max-width: 140px;
  }
  .character-primary-column .character-modal-image,
  .character-party-column .character-modal-image {
    height: var(--party-image-h);
    min-height: var(--party-image-h);
    max-height: var(--party-image-h);
  }
  .character-party-slot.add-character-slot {
    width: min(120px, 22vw);
    max-width: 140px;
    height: var(--party-image-h);
    min-height: var(--party-image-h);
    max-height: var(--party-image-h);
  }
  .character-traits {
    margin-top: 0.15rem;
  }
  .character-footer-section {
    gap: 3px;
    padding-bottom: 10px;
  }
  .traits-list {
    gap: 0.35rem;
  }
  .trait-tag {
    font-size: 0.75rem;
    padding: 2px 7px;
  }
  .spots-container-wrapper {
    padding-right: 0;
  }
}
@media (width <= 1024px) and (height <= 480px) {
  .character-creator {
    visibility: hidden !important;
    display: block !important;
    height: 1em;
    margin: 0;
    overflow: hidden;
  }
}
@media (width <= 1024px) {
  .spots-title .title-word {
    display: block;
  }
}

/* css/site-footer.css */
footer {
  background-color: #111;
  color: var(--text-color);
  padding: 2rem 0;
}
.footer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 1.25rem;
}
.footer-row:first-child {
  margin-top: 0;
}
.footer-row-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgb(255 255 255 / 30%);
}
.footer-row a {
  color: rgb(255 255 255 / 55%);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-row a:hover,
.footer-row a:focus-visible {
  color: var(--pink-primary-08);
  text-decoration: underline;
}

/* js/rankings/components/RankingsComponent.css */
.spot-button,
button,
[role=button] {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.trait-tag.locked-outfit {
  opacity: 0.7;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  position: relative;
}
.trait-tag.locked-outfit:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: none;
  border-color: rgb(var(--accent-pink-rgb), 0.4);
}
.trait-tag.locked-outfit .fas.fa-lock {
  color: rgb(var(--accent-pink-rgb), 0.8);
  margin-right: 6px;
  font-size: 12px;
  opacity: 0.8;
}
.locked-outfit-tooltip .fas.fa-lock {
  font-size: 18px;
  color: rgb(var(--accent-pink-rgb), 0.8);
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes fadeOutScale {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}
header {
  background-color: #333;
  color: var(--text-color);
  padding: 0;
  text-align: center;
}
nav ul {
  list-style-type: none;
  padding: 0;
}
nav ul li {
  display: inline;
  margin: 0 10px;
}
nav ul li a {
  color: var(--text-color);
  text-decoration: none;
}
main,
#main {
  margin: 0 auto;
  max-width: 100%;
  overflow: visible;
}
#rankings-content {
  position: relative;
  width: 100%;
  top: 0;
}
h1 {
  text-align: center;
  color: var(--text-color);
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem 0.75rem;
  padding: 0;
  min-height: 60vh;
}
.rankings-sticky-chrome {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-dark);
  box-shadow: 0 4px 12px rgb(0 0 0 / 35%);
}
.rankings-view-tabs {
  width: 100%;
  max-width: 1200px;
  margin: 12px auto 8px;
  padding: 0 10px;
  box-sizing: border-box;
}
.rankings-view-tabs__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.rankings-view-tab {
  position: relative;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 8px;
  margin: 0;
  color: #888;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  text-transform: capitalize;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.rankings-view-tab.is-active {
  color: var(--text-color);
  border-bottom-color: var(--pink-primary);
}
.rankings-view-tab:hover,
.rankings-view-tab:focus-visible {
  color: var(--text-color);
}
#side-buttons[hidden],
#rankings-container[hidden],
#recent-chats-container[hidden],
#infinite-scroll-trigger[hidden],
.card-animation-toggle-container[hidden] {
  display: none !important;
}
.recent-chat-card {
  grid-column: span 2;
  position: relative;
  height: 350px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: inherit;
  font: inherit;
  color: inherit;
}
.recent-chat-card .conversation-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      transparent 28%,
      transparent 60%,
      rgba(0, 0, 0, 0.55) 100%);
}
.recent-chat-card .conversation-scenario-title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  width: calc(100% - 16px);
  max-width: calc(100% - 16px);
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-shadow:
    rgb(0, 0, 0) -1px -1px 0px,
    rgb(0, 0, 0) 1px -1px 0px,
    rgb(0, 0, 0) -1px 1px 0px,
    rgb(0, 0, 0) 1px 1px 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}
.recent-chat-sprites {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 80%;
  pointer-events: none;
  gap: 0;
}
.recent-chat-sprite {
  position: absolute;
  bottom: 0;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}
.recent-chat-card[data-sprite-count="1"] .recent-chat-sprite {
  left: 50%;
  transform: translateX(-50%);
}
.recent-chat-card[data-sprite-count="2"] .recent-chat-sprite:first-child,
.recent-chat-card[data-sprite-count="3"] .recent-chat-sprite:first-child {
  right: 33%;
  z-index: 1;
}
.recent-chat-card[data-sprite-count="2"] .recent-chat-sprite:last-child,
.recent-chat-card[data-sprite-count="3"] .recent-chat-sprite:last-child {
  left: 33%;
  z-index: 1;
}
.recent-chat-card[data-sprite-count="3"] .recent-chat-sprite:nth-child(2) {
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.recent-chat-card .conversation-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 8px 10px;
  font-size: 12px;
  opacity: 1;
}
.recent-chats-status {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  color: #888;
  text-align: center;
}
.recent-chats-status__message {
  margin: 0;
}
.recent-chats-login-btn {
  min-width: 140px;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-hover) 100%);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.character-card.top1,
.character-card.top2,
.character-card.top3 {
  grid-column: span 2;
  height: 350px;
}
.character-card.rest {
  grid-column: span 2;
  height: 350px;
}
#rest {
  color: var(--pink-heading);
}
.character-card {
  perspective: 1000px;
  height: 450px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0/ 10%);
}
.card-front {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  z-index: 2;
}
.card-front img,
.card-front video,
.card-front .card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  z-index: -1;
}
.character-card > * {
  position: relative;
  z-index: 2;
}
.character-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.4),
    0 20px 45px rgb(var(--pink-blush-rgb), 0.4),
    0 10px 25px rgb(var(--pink-blush-rgb), 0.3),
    0 5px 15px rgb(var(--pink-blush-rgb), 0.2);
  z-index: 11;
}
.character-card h3 {
  position: absolute;
  bottom: 36px;
  justify-self: anchor-center;
  margin: 0;
  font-size: 1.1rem;
  line-height: normal;
}
.character-card p {
  margin: 0.5rem 0;
  font-size: 1rem;
}
.character-card button {
  margin-top: auto;
  padding: 1.25rem;
  background-color: #838485;
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.belongs-to-bar {
  position: absolute;
  background-color: rgb(var(--pink-mauve-rgb), 0.75);
  bottom: -11%;
  left: 0;
  right: 0;
  padding: 0.5rem;
  margin: 0.5rem;
  border-radius: 4px;
  text-align: center;
}
.belongs-to-bar > * {
  opacity: 1;
}
.character-card:nth-child(-n+3) .belongs-to-bar {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  bottom: -8.25%;
}
.character-card:nth-child(n+4) .belongs-to-bar {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
#side-buttons {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 10px;
  border-radius: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 4px 6px rgb(0 0 0/ 10%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  justify-content: center;
  align-items: center;
}
#side-buttons::-webkit-scrollbar {
  display: none;
}
#side-buttons > * {
  height: 40px;
  min-width: 100px;
  padding: 0 10px;
  background-color: rgb(17 17 17/ 80%);
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  border: 2px solid var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
#side-buttons > p {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  min-width: 75px;
  border: none;
  color: var(--text-color);
}
#side-buttons > *:hover:not(p):not(.gender-toggle-container):not(.nsfw-toggle-container):not(.card-animation-toggle-container) {
  background-color: #555;
  cursor: pointer;
}
#side-buttons > select,
#side-buttons > input {
  padding-left: 10px;
  padding-right: -10px;
}
#side-buttons > p:hover,
#side-buttons > #sort-by:hover {
  background-color: transparent;
  cursor: default;
}
#side-buttons > input {
  max-width: 150px;
  min-width: 100px;
}
#side-buttons > select {
  max-width: 120px;
  min-width: auto;
  background-color:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
}
#side-buttons > select:hover {
  background-color:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0/ 70%);
  z-index: 1000;
}
.modal.open {
  display: block;
}
#characterModal.is-open {
  display: flex;
}
.is-hidden {
  display: none !important;
}
@keyframes highlight-pulse {
  from {
    outline-color: var(--color-accent-light);
  }
  to {
    outline-color: var(--color-accent-lighter);
  }
}
.infinite-scroll-trigger {
  height: 20px;
}
.close-modal {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
}
.close-modal:hover {
  color: var(--text-color);
}
.comparison-card.featured {
  transform: none;
  transition: opacity 0.3s ease;
}
.comparison-card.featured:hover {
  opacity: 1;
}
.comparison-card.featured:active {
  transform: none;
}
.feature-list li.checked::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M9 16.17L4.83 12l-1.42 1.41z"/></svg>');
  filter: drop-shadow(0 0 5px rgb(255 255 255/ 30%));
}
.comparison-card.featured .feature-list li:hover,
.comparison-card.featured .feature-list li:has(.feature-description) {
  background: #111;
  transform: none;
  cursor: default;
}
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.character-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      #333 0%,
      #555 50%,
      #333 100%);
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}
.character-modal-right {
  width: 100%;
  height: 100%;
  background-color: #111;
  border-radius: 0 12px 12px 0;
}
#heart-icon {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  z-index: 10;
  text-shadow: 1px 1px 2px rgb(0 0 0/ 50%);
}
#heart-icon:hover {
  transform: scale(1.1);
}
#heart-icon.active {
  color: #f00;
  animation: heartBeat 0.3s ease-in-out;
}
.character-modal #heart-icon.active {
  color: #f00;
  animation: heartBeat 0.3s ease-in-out;
}
.character-modal #heart-icon,
.character-modal #send-icon {
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  text-shadow: 1px 1px 2px rgb(0 0 0/ 50%);
}
.character-modal #heart-icon:hover,
.character-modal #send-icon:hover {
  transform: scale(1.1);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#name-filter {
  display: block;
}
.gender-toggle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#side-buttons .gender-toggle-container {
  height: auto;
  min-width: auto;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  cursor: default;
  margin-top: -16px;
  gap: 2px;
}
#side-buttons .gender-toggle-container:hover {
  background-color: transparent;
  transform: none;
  box-shadow: none;
}
.gender-toggle-header {
  display: flex;
  gap: 0;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-color);
  user-select: none;
  margin-top: -2px;
}
.gender-toggle-header .female-text {
  color: var(--pink-hover);
}
.gender-toggle-header .male-text {
  color: var(--text-color);
}
.gender-toggle-container.male .female-text,
.gender-toggle-container:not(.male) .male-text {
  display: none;
}
.gender-toggle {
  position: relative;
  width: 60px;
  height: 28px;
  background-color: rgb(17 17 17/ 80%);
  border: 2px solid var(--pink-primary);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}
.gender-toggle-slider {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 16px;
  height: 16px;
  background-color: var(--text-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.gender-toggle.male .gender-toggle-slider {
  left: unset;
  right: 6px;
}
.nsfw-toggle-container .filtered-text {
  color: var(--text-color);
  font-weight: normal;
}
.nsfw-toggle-container .unrestricted-text {
  color: var(--pink-hover);
}
.nsfw-toggle-container:not(.unrestricted) .unrestricted-text,
.nsfw-toggle-container.unrestricted .filtered-text {
  display: none;
}
.nsfw-toggle {
  position: relative;
  width: 60px;
  height: 28px;
  background-color: rgb(17 17 17/ 80%);
  border: 2px solid var(--pink-primary);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  justify-self: center;
}
.nsfw-toggle.unrestricted .gender-toggle-slider {
  left: unset;
  right: 6px;
}
.card-animation-toggle-container .still-text {
  color: var(--text-color);
  font-weight: normal;
}
.card-animation-toggle-container .animated-text {
  color: var(--pink-hover);
}
.card-animation-toggle-container:not(.animated) .animated-text,
.card-animation-toggle-container.animated .still-text {
  display: none;
}
.card-animation-toggle {
  position: relative;
  width: 60px;
  height: 28px;
  background-color: rgb(17 17 17/ 80%);
  border: 2px solid var(--pink-primary);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  justify-self: center;
}
.card-animation-toggle.animated .gender-toggle-slider {
  left: unset;
  right: 6px;
}
#side-buttons > select:hover {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
  cursor: pointer;
}
@keyframes slideIn {
  from {
    opacity: 0;
    width: 0;
    margin-left: -50px;
  }
  to {
    opacity: 1;
    width: auto;
    margin-left: -10px;
  }
}
#load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  margin-top: 5vw;
  background-color: var(--pink-primary);
  color: var(--text-color);
  border: none;
  border-radius: 25px;
  z-index: 1000;
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-hover) 50%,
      var(--pink-primary) 100%);
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
  transition: transform 0.3s ease;
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
#favorite-filter.active,
#private-filter.active {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
}
#favorite-filter.active:hover,
#private-filter.active:hover {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
}
#style-filter.realism {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
}
#style-filter.realism:hover {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary),
      var(--pink-hover));
}
#side-buttons > select {
  height: 40px;
  min-width: 100px;
  padding: 0 10px;
  background-color: #111;
  color: var(--text-color);
  border: 2px solid var(--pink-primary);
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  appearance: none;
  background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
}
#floating-arrow {
  position: fixed;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1002;
  animation: float 2s ease-in-out infinite;
}
#floating-arrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-135deg);
}
#floating-arrow:hover::before {
  border-color: var(--pink-primary);
}
.faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      135deg,
      rgb(var(--pink-ink-rgb), 0.05) 0%,
      rgba(15, 15, 25, 0) 60%);
  pointer-events: none;
}
.faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 100px;
  position: relative;
  z-index: 2;
}
#faq h2,
.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  position: relative;
  padding-bottom: 1rem;
  width: 100%;
}
.faq-item {
  background-color: rgba(30, 30, 40, 0.4);
  padding: 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(5px);
  overflow: hidden;
}
.faq-item::before {
  content: none;
}
.faq-item:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}
.faq-item:hover::before {
  background-color: transparent;
}
.faq-item:hover .faq-icon,
.faq-item:hover h5,
.faq-item:hover p {
  position: relative;
  z-index: 1;
}
.faq-item:hover h5 {
  color: rgba(255, 255, 255, 0.9);
}
.faq-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
}
.faq-item:hover .faq-icon {
  transform: none;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.5);
}
.faq-item h5 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
  text-align: center;
  letter-spacing: 0.5px;
}
.faq-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}
.faq-item:hover p {
  color: rgba(255, 255, 255, 0.6);
}
.spot-row {
  position: relative;
  margin-bottom: 15px;
}
.spot-button,
button,
[role=button],
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
p,
h1,
h2,
h3,
h4,
h5 {
  -webkit-user-select: text;
  user-select: text;
}
.spot-button {
  width: 100%;
  border: none;
  border-radius: 8px;
  color: var(--text-color);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.spot-button:active,
.spot-button:focus {
  background: var(--button-gradient, linear-gradient(90deg, var(--pink-primary), var(--pink-hover)));
  outline: none;
}
.spot-button {
  position: relative;
}
.spot-button:has(.lock-icon)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
}
.character-modal-body {
  display: flex;
  width: 100%;
  height: 100%;
}
.message {
  display: flex;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
}
.message-content {
  flex: 1;
}
.message-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.character-modal-content {
  position: relative;
}
.modal-close-button {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 2.5rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 4px;
  transition: transform 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-button:hover {
  transform: scale(1.1);
}
.character-party-slot.add-character-slot {
  position: relative;
  width: min(200px, 32vw);
  max-width: 220px;
  height: var(--party-image-h, 220px);
  min-height: var(--party-image-h, 220px);
  max-height: var(--party-image-h, 220px);
  aspect-ratio: auto;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  align-self: flex-start;
}
.character-party-slot.add-character-slot .card-inner,
.character-party-slot.add-character-slot .card-front {
  width: 100%;
  height: 100%;
}
.character-party-slot.add-character-slot .card-front {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.character-party-slot.add-character-slot:hover:not([aria-disabled=true]) .card-front {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 33, 134, 0.55);
}
.character-party-slot.add-character-slot[aria-disabled=true] {
  opacity: 0.45;
  cursor: pointer;
}
.character-party-slot.add-character-slot[aria-disabled=true] .card-front {
  cursor: pointer;
}
.character-party-slot.add-character-slot .create-character-plus {
  font-size: 48px;
}
.character-party-slot.add-character-slot .create-character-title {
  font-size: 0.95rem;
  bottom: 8px;
}
.character-party-column.filled-party-slot .character-footer-section {
  padding-bottom: 4px;
  width: 100%;
}
.character-party-slot-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.character-party-slot-close:hover {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.75);
}
.character-primary-column .character-party-slot-close,
.character-party-column .character-party-slot-close {
  top: 0;
  right: 0;
}
.pick-additional-character-hint {
  width: 100%;
  text-align: center;
  margin: 10px 0 0;
  padding: 0 12px;
  color: var(--text-color, #fff);
  font-size: 1rem;
  font-weight: 500;
}
.character-card.party-pick-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}
.character-card.party-pick-disabled .card-front {
  filter: grayscale(0.35);
}
.character-loading,
.character-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  width: 100%;
}
.character-content {
  display: block;
}
#characterModal .character-details {
  overflow: hidden;
  min-height: 0;
}
#characterModal .character-content {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  height: 100%;
  padding-bottom: 88px;
  -webkit-overflow-scrolling: touch;
}
#characterModal .character-modal-body {
  height: auto;
  min-height: 100%;
  overflow: visible;
}
#characterModal .character-modal-left {
  overflow: visible;
}
#characterModal .character-modal-right {
  overflow: visible;
  flex: 0 0 auto;
}
#characterModal .spots-container-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  max-height: none;
  flex: none;
}
#characterModal .spot-row,
#characterModal #public-spot-row {
  overflow-x: hidden;
  overflow-y: visible;
  max-height: none;
}
.character-creator.is-visually-hidden {
  visibility: hidden;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--pink-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.retry-btn {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--pink-primary);
  color: var(--text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}
.retry-btn:hover {
  background-color: var(--pink-pressed);
}
#pricing-container h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--pink-primary);
  position: relative;
  padding-bottom: 1rem;
  width: 100%;
}
#pricing h1::after,
#pricing-container h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--pink-primary);
  border-radius: 2px;
}
.spot-button {
  position: relative;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: calc((100% - 2.4rem) / 3);
  height: 180px;
  overflow: hidden;
  border: none;
}
.spot-button.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.spot-button.is-membership-locked {
  opacity: 0.4;
  cursor: not-allowed;
}
.spot-button.is-membership-locked:hover,
.spot-button.is-membership-locked:active,
.spot-button.is-membership-locked:focus {
  transform: none;
  background: none;
}
.spot-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
  transition: all 0.3s ease;
}
.spot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: flex-start;
  margin-top: 1rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 10px;
  max-height: 460px;
}
#public-spot-row {
  overflow-x: hidden;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}
#public-spot-row::-webkit-scrollbar:horizontal {
  height: 0;
}
#public-spot-row::-webkit-scrollbar-track:horizontal,
#public-spot-row::-webkit-scrollbar-thumb:horizontal {
  background: transparent;
}
.character-modal-right .spots-container-wrapper {
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
}
.character-modal-right .spots-container-wrapper::-webkit-scrollbar:horizontal {
  height: 0;
}
.spot-row::-webkit-scrollbar {
  height: 6px;
}
.spot-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.spot-row::-webkit-scrollbar-thumb {
  background: var(--pink-primary-06);
  border-radius: 3px;
}
.spot-row::-webkit-scrollbar-thumb:hover {
  background: var(--pink-primary-08);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
.premium-membership-note {
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}
.premium-membership-note[hidden] {
  display: none;
}
.premium-membership-note__summary {
  margin: 0;
}
.premium-membership-note__learn-more {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.premium-membership-note__learn-more:hover,
.premium-membership-note__learn-more:focus-visible {
  color: #fff;
}
.premium-membership-note__details {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.premium-membership-note__details[hidden] {
  display: none;
}
.faq-item {
  background: rgba(30, 30, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}
.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.faq-question-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 1rem;
  flex: 1;
}
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.faq-icon path {
  stroke: currentColor;
  transition: all 0.3s ease;
}
.faq-question.is-active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-answer[hidden] {
  display: none;
}
.faq-answer-content {
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}
.faq-question:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
.faq-question:focus:not(:focus-visible) {
  box-shadow: none;
}
.spot-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.spot-container .spot-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.create-scenario-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
}
.create-scenario-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 33, 134, 0.55);
  transform: translateY(-2px);
}
.create-scenario-card:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 2px;
}
.create-scenario-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  color: var(--text-color);
  opacity: 0.9;
  z-index: 2;
  text-shadow:
    rgb(0, 0, 0) -1px -1px 0px,
    rgb(0, 0, 0) 1px -1px 0px,
    rgb(0, 0, 0) -1px 1px 0px,
    rgb(0, 0, 0) 1px 1px 0px;
  pointer-events: none;
}
.create-character-card .card-front {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.create-character-card:hover .card-front {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 33, 134, 0.55);
}
.create-character-card:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 2px;
}
.create-character-plus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  color: var(--text-color);
  opacity: 0.9;
  z-index: 2;
  text-shadow:
    rgb(0, 0, 0) -1px -1px 0px,
    rgb(0, 0, 0) 1px -1px 0px,
    rgb(0, 0, 0) -1px 1px 0px,
    rgb(0, 0, 0) 1px 1px 0px;
  pointer-events: none;
}
.create-character-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow:
    rgb(0, 0, 0) -1px -1px 0px,
    rgb(0, 0, 0) 1px -1px 0px,
    rgb(0, 0, 0) -1px 1px 0px,
    rgb(0, 0, 0) 1px 1px 0px;
  z-index: 3;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  pointer-events: none;
}
.spot-title {
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow:
    rgb(0, 0, 0) -1px -1px 0px,
    rgb(0, 0, 0) 1px -1px 0px,
    rgb(0, 0, 0) -1px 1px 0px,
    rgb(0, 0, 0) 1px 1px 0px;
  z-index: 3;
  margin: 0;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}
.scenario-tag {
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-color);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-shadow: none;
  white-space: nowrap;
  border: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.scenario-tag:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.spots-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.spots-title {
  text-align: left;
  margin: 0 10px;
  padding: 4px 8px;
  padding-right: 10px;
  transform: skew(-3deg);
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
  display: inline-block;
}
.spots-view-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  margin: 8px 0 6px;
}
.spots-view-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-color);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.spots-view-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.spots-view-tab.active,
.spots-view-tab[aria-selected=true] {
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-hover) 100%);
  border-color: var(--pink-primary);
  box-shadow: 0 4px 14px rgba(255, 33, 134, 0.25);
}
.spots-view-tab:focus-visible {
  outline: 2px solid var(--pink-primary);
  outline-offset: 2px;
}
.header-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.gear-button,
.search-button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.gear-button:hover,
.search-button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.spot-filters-panel {
  display: none;
  width: 100%;
  margin: 0 0 8px;
}
.spot-filters-panel.active {
  display: block;
}
.spot-search-bar {
  width: 100%;
  height: 40px;
  min-width: 100px;
  max-width: 100%;
  padding: 0 10px;
  margin: 10px 0;
  background-color: #111;
  border: 2px solid var(--pink-primary);
  border-radius: 25px;
  color: var(--text-color);
  font-size: 0.9rem;
  display: block;
}
.spot-search-bar:focus {
  outline: none;
  border-color: var(--pink-primary);
}
.spot-search-bar::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.spot-char-count-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0 8px;
}
.spot-char-count-btn {
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  cursor: pointer;
}
.spot-char-count-btn.is-selected {
  border-color: var(--pink-primary);
  background: rgba(236, 72, 153, 0.2);
  color: var(--text-color);
}
.spot-filters-panel .scenario-tags-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 110px;
  overflow-y: auto;
}
.spot-filters-panel .scenario-tag-pill {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  font-size: 0.75rem;
  cursor: pointer;
}
.spot-filters-panel .scenario-tag-pill.is-selected {
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--pink-primary);
  color: var(--text-color);
}
.conversation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
}
.conversation-preview {
  position: relative;
  z-index: 2;
  color: var(--text-color);
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 1),
    -1px -1px 2px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.8);
  padding: 8px;
  margin-top: auto;
  margin-left: auto;
}
.conversation-last-message {
  margin: 0 0 8px 0;
  font-size: 11px;
  opacity: 0.9;
  line-height: 1.3;
}
.conversation-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  opacity: 0.8;
}
.no-results-message {
  text-align: center;
  color: #888;
  padding: 20px;
  font-style: italic;
}
.spots-header-container {
  margin-bottom: 15px;
}
.main-spots-container {
  padding: 0 1.2rem;
}
.spots-header-container h3 {
  margin: 0;
}
.spots-title::after {
  display: none;
}
.no-conversations-placeholder {
  text-align: center;
  color: #888;
  padding: 20px;
}
.conversation-button {
  position: relative;
  overflow: hidden;
}
.spot-button.selected {
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}
.confirm-go {
  display: block;
  margin: 30px auto 0;
  min-width: 200px;
  max-width: 300px;
  width: fit-content;
  font-size: 1.1rem;
  padding: 12px 30px;
  box-shadow: 0 4px 15px rgba(255, 33, 134, 0.3);
  background:
    linear-gradient(
      90deg,
      var(--pink-primary) 0%,
      var(--pink-hover) 100%);
  color: white;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  flex-shrink: 0;
}
#characterModal .confirm-go {
  text-wrap: nowrap;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  margin: 0;
}
#characterModal .confirm-go:hover {
  transform: translate(-50%, -2px);
}
#characterModal .confirm-go:active {
  transform: translateX(-50%);
}
#characterModal .character-modal-scroll-top {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
#characterModal .character-modal-scroll-top.is-visible {
  display: flex;
  animation: character-modal-scroll-top-pulse 1.4s ease-in-out infinite;
}
#characterModal .character-modal-scroll-top::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-right: 2.5px solid var(--pink-glow);
  border-bottom: 2.5px solid var(--pink-glow);
  transform: rotate(-135deg);
}
@keyframes character-modal-scroll-top-pulse {
  0%, 100% {
    opacity: 0.65;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.12);
  }
}
.confirm-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 33, 134, 0.4);
  filter: brightness(1.1);
}
.confirm-go:active {
  transform: translateY(0);
}
.description-expand-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
  padding: 4px 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  font: inherit;
  color: inherit;
}
.description-expand-icon:hover {
  opacity: 1;
  transform: scale(1.15);
  background: rgba(0, 0, 0, 0.8);
}
.description-tooltip {
  position: fixed;
  z-index: 10000;
  opacity: 0;
  background: rgba(0, 0, 0, 0.95);
  color: var(--text-color);
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 400px;
  max-height: 70vh;
  overflow-y: auto;
  word-wrap: break-word;
  cursor: default;
  transition: opacity 0.2s ease-out;
}
.description-tooltip.is-visible {
  opacity: 1;
}
.description-tooltip:hover {
  background: rgba(0, 0, 0, 0.98);
}
.description-tooltip-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px 0;
}
.description-tooltip-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
  flex: 1;
}
.description-tooltip-menu-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.description-tooltip-menu-btn:hover,
.description-tooltip-menu-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}
.description-tooltip-info {
  margin: 0 0 12px;
}
.description-tooltip-info dt {
  margin: 8px 0 2px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.72;
}
.description-tooltip-info dd {
  margin: 0;
  font-size: 0.95rem;
}
.description-tooltip-outfits {
  margin: 12px 0 0;
  font-size: 0.95rem;
}
.description-tooltip-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-color);
}
.description-tooltip-cast {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
}
.description-tooltip-cast-line,
.description-tooltip-location {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}
.description-tooltip-location {
  margin-top: 12px;
}
.description-tooltip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.description-tooltip .scenario-tag-pill {
  padding: 4px 10px;
  border: 1px solid var(--pink-primary);
  background: rgba(236, 72, 153, 0.2);
  color: var(--text-color);
  border-radius: 16px;
  font-size: 0.75rem;
  pointer-events: none;
}
.character-card {
  position: relative;
}
.favorite-btn.overlay {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 5;
}
.character-card .card-front {
  background-color: var(--border-color);
}
.card-front img.background-image {
  z-index: -2;
  filter: none;
}
@media (width <= 1200px) {
  .character-card.top1,
  .character-card.top2,
  .character-card.top3 {
    grid-column: span 2;
  }
  .character-card.rest {
    grid-column: span 2;
  }
  .recent-chat-card {
    grid-column: span 2;
  }
  #side-buttons {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    justify-content: flex-start;
  }
  #side-buttons > * {
    min-width: auto;
    padding: 0 15px;
    border-radius: 25px;
    display: inline-block;
    vertical-align: middle;
  }
}
@media (max-width: 1024px) {
  main,
  #main {
    padding: 0;
  }
  #rankings-content {
    padding-top: 0;
    position: relative;
    width: 100%;
  }
  .faq-item {
    padding: 1rem;
  }
  .rankings-sticky-chrome {
    padding-top: 2px;
  }
  #side-buttons {
    padding: 8px 6px 0 6px;
  }
  #side-buttons > * {
    font-size: 0.85rem;
    padding: 0 12px;
  }
  #side-buttons > input {
    max-width: 120px;
  }
  #side-buttons > select {
    min-width: 80px;
    max-width: 100px;
    font-size: 0.85rem;
    padding-right: 25px;
  }
  .character-card h3 {
    font-size: 1rem;
    margin: 0;
  }
  @media (width <= 600px) {
    .rankings-view-tabs__list {
      gap: 1.5rem;
    }
    .rankings-view-tab {
      font-size: 1rem;
      padding-bottom: 6px;
    }
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.5rem;
    }
    .character-card.top1,
    .character-card.top2,
    .character-card.top3,
    .character-card.rest {
      grid-column: span 1;
      height: 240px;
    }
    .recent-chat-card {
      grid-column: span 1;
      height: 240px;
    }
    #side-buttons > * {
      padding: 0 10px;
      font-size: 0.8rem;
      border-radius: 25px;
    }
  }
  .spot-title {
    max-width: calc(100% - 20px);
    font-size: 1rem;
  }
  .scenario-tag {
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 10px;
  }
}
@media (max-width: 480px) {
  .spot-button {
    width: 100%;
  }
  .spot-title {
    max-width: calc(100% - 20px);
    font-size: 0.9rem;
  }
  .scenario-tag {
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 8px;
  }
}
@media (max-width: 1024px) and (orientation: portrait) {
  .character-modal .character-creator {
    visibility: hidden !important;
    display: block !important;
    height: 1em;
    margin: 0;
    overflow: hidden;
  }
  .character-modal-body {
    flex-direction: column;
  }
  .spots-container-wrapper {
    padding: 0;
  }
  .character-modal-right .spots-title {
    font-size: 1rem;
    padding: 2px 5px;
  }
  .spot-button {
    width: calc((100% - 2.4rem) / 3);
    height: 180px;
  }
  .spot-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: visible;
    max-height: none;
  }
  #characterModal .spots-container-wrapper,
  #characterModal .spot-row,
  #characterModal #public-spot-row {
    overflow-x: hidden;
    overflow-y: visible;
    max-height: none;
  }
  .character-modal-right .spots-content-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 8px;
  }
  .character-modal-right .main-spots-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .character-modal-right .spots-header-container {
    margin-bottom: 5px;
  }
  .confirm-go {
    margin: 10px auto 0;
    padding: 10px 25px;
    font-size: 1rem;
  }
  .description-tooltip {
    max-width: calc(100vw - 80px);
    width: max-content;
    padding: 12px 16px;
    font-size: 0.9rem;
    max-height: 60vh;
  }
  .description-tooltip-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .description-tooltip-text {
    font-size: 0.875rem;
    line-height: 1.4;
  }
  .description-tooltip-tags {
    margin-top: 8px;
    gap: 4px;
  }
}
@media (max-width: 1024px) and (orientation: landscape) {
  .character-modal .character-creator {
    visibility: hidden !important;
    display: block !important;
    height: 1em;
    margin: 0;
    overflow: hidden;
  }
  .character-modal-body {
    gap: 4px;
    flex-direction: column;
  }
  .character-modal-left {
    padding: 4px 5px 0 5px;
    flex-direction: row;
  }
  .character-modal-right {
    padding: 4px 10px 8px 5px;
  }
  .character-modal #heart-icon,
  .character-modal #send-icon {
    font-size: 20px;
    transform: scale(0.8);
  }
  .character-header h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
  }
  .character-creator {
    font-size: 0.7rem;
    margin-top: 0;
    margin-bottom: 0.2rem;
  }
  .spots-title {
    font-size: 1rem;
  }
  .spots-view-tabs {
    gap: 6px;
    margin: 6px 0 4px;
  }
  .spots-view-tab {
    padding: 4px 10px;
    font-size: 11px;
  }
  .spots-header-container {
    margin-bottom: 4px;
    gap: 0;
  }
  .character-modal .character-modal-right .spot-row .spot-button {
    height: 120px;
    min-height: 100px;
  }
  .spot-row {
    max-height: none;
  }
  #characterModal .spots-container-wrapper,
  #characterModal .spot-row,
  #characterModal #public-spot-row {
    overflow-x: hidden;
    overflow-y: visible;
    max-height: none;
  }
  .header-controls-right {
    gap: 0;
  }
  .gear-button {
    font-size: 0.8rem;
    padding: 3px 6px;
    min-width: 32px;
    height: 24px;
  }
  .character-modal-right .spot-row {
    gap: 0.6rem;
    margin-top: 0.5rem;
  }
  .trait-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
  .traits-list {
    margin-top: 0;
  }
  .modal-content.character-modal-content {
    padding: 8px;
  }
  .description-tooltip {
    max-width: calc(100vw - 100px);
    padding: 10px 14px;
    font-size: 0.85rem;
    max-height: 50vh;
  }
  .description-tooltip-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .description-tooltip-text {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .description-tooltip-tags {
    margin-top: 6px;
    gap: 4px;
  }
}
@media (max-width: 1024px) and (max-height: 480px) {
  .character-creator {
    visibility: hidden !important;
    display: block !important;
    height: 1em;
    margin: 0;
    overflow: hidden;
  }
}
@media (max-width: 768px) {
  .spot-button {
    width: calc((100% - 1.2rem) / 2);
  }
}

/* css/modals/content-moderation-menu.css */
.content-moderation-menu {
  position: fixed;
  z-index: 10002;
  background:
    linear-gradient(
      145deg,
      rgba(40, 40, 50, 0.98),
      rgba(25, 25, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px;
  min-width: 180px;
  max-width: min(280px, calc(100vw - 16px));
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(0.95) translateY(-5px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.content-moderation-menu.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
.content-moderation-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  text-align: left;
}
.content-moderation-menu-item:hover,
.content-moderation-menu-item:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}
.content-moderation-menu-item:focus-visible {
  box-shadow: 0 0 0 2px rgb(var(--accent-pink-rgb), 0.5);
}
.content-moderation-menu-item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}
.content-moderation-menu-item:hover i,
.content-moderation-menu-item:focus i {
  opacity: 1;
}
.content-moderation-menu-item[data-action=report] i,
.content-moderation-menu-item[data-action^="reason:"] i {
  color: #ffb74d;
}
.content-moderation-menu-item[data-action=block] i {
  color: #ff5252;
}
.content-moderation-menu-item + .content-moderation-menu-item {
  margin-top: 2px;
}
.content-moderation-menu-reason-label {
  padding: 8px 14px 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.content-moderation-other-input {
  display: block;
  width: 82%;
  margin: 0 8px 8px;
  min-height: 72px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
}
.content-moderation-other-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(var(--accent-pink-rgb), 0.5);
}
/*# sourceMappingURL=rankings-styles.bundle.css.map */
