/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 */

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */

/*
 *  Owl Carousel - Core
 */

.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1; }

.owl-carousel .owl-stage {
    position: relative;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
    /* fix firefox animation glitch */ }

.owl-carousel .owl-stage:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0; }

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px); }

.owl-carousel .owl-wrapper,
  .owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0); }

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none; }

.owl-carousel .owl-item img {
    display: block;
    width: 100%; }

.owl-carousel .owl-nav.disabled,
  .owl-carousel .owl-dots.disabled {
    display: none; }

.owl-carousel .owl-nav .owl-prev,
  .owl-carousel .owl-nav .owl-next,
  .owl-carousel .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }

.owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next,
  .owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit; }

.owl-carousel.owl-loaded {
    display: block; }

.owl-carousel.owl-loading {
    opacity: 0;
    display: block; }

.owl-carousel.owl-hidden {
    opacity: 0; }

.owl-carousel.owl-refresh .owl-item {
    visibility: hidden; }

.owl-carousel.owl-drag .owl-item {
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }

.owl-carousel.owl-grab {
    cursor: move;
    cursor: grab; }

.owl-carousel.owl-rtl {
    direction: rtl; }

.owl-carousel.owl-rtl .owl-item {
    float: right; }

/* No Js */

.no-js .owl-carousel {
  display: block; }

/*
 *  Owl Carousel - Animate Plugin
 */

.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both; }

.owl-carousel .owl-animated-in {
  z-index: 0; }

.owl-carousel .owl-animated-out {
  z-index: 1; }

.owl-carousel .fadeOut {
  animation-name: fadeOut; }

@keyframes fadeOut {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

/*
 * 	Owl Carousel - Auto Height Plugin
 */

.owl-height {
  transition: height 500ms ease-in-out; }

/*
 * 	Owl Carousel - Lazy Load Plugin
 */

.owl-carousel .owl-item {
  /**
			This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
			calculation of the height of the owl-item that breaks page layouts
		 */ }

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity 400ms ease; }

.owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) {
    max-height: 0; }

.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d; }

/*
 * 	Owl Carousel - Video Plugin
 */

.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000; }

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease; }

.owl-carousel .owl-video-play-icon:hover {
  transform: scale(1.3, 1.3); }

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none; }

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease; }

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%; }

@media only screen and (min-width: 310px) and (max-width: 767px) {
  #access_card_delivery_zone .delivery_zone .title_line {
    margin: -8px auto;
  }
}

img.image_gallery {
  width: 160px;
}

#guidance_zone .panel .back {
  width: 330px;
}

/* // .delivery_zone{
//   padding-top: 40px;
//   width: 50%; // width overrides the media querywhen in this position
//   margin-bottom: 40px;
//   margin-right: 10px;
// } */

@media only screen and (min-width: 1050px) {
  .prompt_zone{
    width: 26%;
  }
}

.prompt_zone{
  padding-top: 40px;
  text-align: center;
  height: 100%;
}

.image-slider{
  align: justify;
  display: block;
  width: 100%;
  height: auto;
}

.owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: rgb(230, 144, 15) !important;
  display: block;
}

.spade_logo {
  width: 33px;
}

/* // Braintree interface - not in use 2024 */

.buy-button {
  text-align: center;
  margin-top: 4%;
  margin-bottom: 2%;
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .buy-button {
    text-align: center;
    margin-top: 9%;
  }
}

.subheader-carousel .owl-item p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.body {
  background-image: url("/assets/images/StarField-a6f000f7.jpg");
  background-size: cover;
}

.wheel {
  width: 100vw;
  overflow-x: visible;
  overflow-y: hidden;
  position: relative;
  perspective: 1000px;
  padding: 40px 0;
}

.wheel .wheel-controls {
    text-align: center;
    margin-bottom: 20px;
  }

.wheel .show-current-btn {
    padding: 8px 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
  }

.wheel .show-current-btn:hover {
    background: #218838;
  }

.wheel .show-curved-btn {
    padding: 8px 15px;
    background: #6f42c1;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
  }

.wheel .show-curved-btn:hover {
    background: #5a32a3;
  }

.wheel .weekly-cards-link,
  .wheel .wheel-link {
    display: inline-block;
    margin-left: 15px;
    padding: 8px 15px;
    background: #17a2b8;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
  }

.wheel .weekly-cards-link:hover,
  .wheel .wheel-link:hover {
    background: #138496;
  }

.wheel.show-current-only .wheel-rim {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 20px;
      transform: none;
      padding: 40px 20px;
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      transition: all 0.3s ease;
    }

.wheel.show-current-only .wheel-rim-card {
      transform: none !important;
      margin: 0;
    }

.wheel.show-current-only .wheel-rim-card:nth-child(n) {
        transform: none !important;
      }

.wheel.show-current-only .wheel-rim-card .wheel-card-backing {
        transform: none;
      }

.wheel.show-current-only .wheel-rim-card .wheel-card-reading-type,
      .wheel.show-current-only .wheel-rim-card .wheel-card-date,
      .wheel.show-current-only .wheel-rim-card .wheel-rim-card-planet,
      .wheel.show-current-only .wheel-rim-card .wheel-card-spread-link,
      .wheel.show-current-only .wheel-rim-card .wheel-card-spread-mini {
        transform: none;
      }

.wheel.show-current-only .wheel-rim-card:not([data-transiting]) {
      display: none;
    }

/* Fix header width and positioning for perfect centering */

.wheel.show-current-only .wheel-rim-header {
      position: absolute;
      left: 0;
      top: 0;
      width: 80px;
      /* Fixed width */
      transform: none;
      /* Remove rotation and positioning */
      text-align: center;
      font-size: 14px;
      z-index: 10;
    }

/* Special handling for birth rim - always center */

.wheel.show-current-only.birth {
      justify-content: center;
      flex-wrap: nowrap;
    }

/* Ensure good spacing for different numbers of cards */

.wheel.show-current-only .wheel-rim-card {
      flex: 0 0 auto;
    }

.wheel .wheel-rim {
    display: flex;
    flex-wrap: nowrap;
    width: -moz-max-content;
    width: max-content;
    min-width: 100%;
    /* // justify-content: center; */
    transform: rotateX(10deg);
    padding: 20px 0;
    transition: all 0.5s ease;
  }

.wheel .wheel-rim.birth {
      justify-content: center;
    }

.wheel .wheel-rim.curved-mode {
      justify-content: center;
      padding: 200px 0;
    }

.wheel .wheel-rim.curved-mode .wheel-rim-card:nth-child(n) {
          transform: translate(var(--curve-x, 0), var(--curve-y, 0)) rotateZ(var(--curve-rotate, 0deg)) translateZ(calc((var(--offset-from-center, 0) * -1px))) rotateY(calc(var(--offset-from-center, 0) * 1deg));
        }

.wheel .wheel-rim.curved-mode .wheel-rim-card .wheel-card-backing,
        .wheel .wheel-rim.curved-mode .wheel-rim-card .wheel-card-reading-type,
        .wheel .wheel-rim.curved-mode .wheel-rim-card .wheel-card-date,
        .wheel .wheel-rim.curved-mode .wheel-rim-card .wheel-rim-card-planet,
        .wheel .wheel-rim.curved-mode .wheel-rim-card .wheel-card-spread-link,
        .wheel .wheel-rim.curved-mode .wheel-rim-card .wheel-card-spread-mini,
        .wheel .wheel-rim.curved-mode .wheel-rim-card .birth-card-label {
          transform: rotateZ(calc(var(--curve-rotate, 0deg) * -1));
        }

.wheel .wheel-rim.curved-mode .wheel-rim-card img {
          transform: translate(-50%, -50%) translateZ(25px) rotateZ(calc(var(--curve-rotate, 0deg) * -1));
        }

.wheel .wheel-rim .wheel-rim-card {
      position: relative;
      width: 120px;
      height: 160px;
      transform-style: preserve-3d;
      transition: transform 0.5s ease;
    }

.wheel .wheel-rim .wheel-rim-card .wheel-card-spread-mini {
        transform: translateZ(30px);
      }

.wheel .wheel-rim .wheel-rim-card .wheel-card-backing {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: translateZ(5px);
        transition: transform 0.5s ease;
      }

.wheel .wheel-rim .wheel-rim-card .wheel-card-reading-type {
        position: absolute;
        top: 8px;
        left: 8px;
        font-size: 9px;
        font-weight: bold;
        color: #333;
        transform: translateZ(20px);
        transition: transform 0.5s ease;
        z-index: 3;
      }

.wheel .wheel-rim .wheel-rim-card .wheel-card-date {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 8px;
        font-weight: bold;
        color: #333;
        text-align: right;
        transform: translateZ(20px);
        transition: transform 0.5s ease;
        z-index: 3;
        max-width: 50px;
        line-height: 1.2;
      }

.wheel .wheel-rim .wheel-rim-card img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 70px;
        transform: translate(-50%, -50%) translateZ(25px);
        transition: transform 0.5s ease;
        z-index: 2;
      }

.wheel .wheel-rim .wheel-rim-card .wheel-rim-card-planet {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%) translateZ(20px);
        transition: transform 0.5s ease;
        font-size: 9px;
        font-weight: bold;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        background: rgba(0, 0, 0, 0.8);
        padding: 2px 6px;
        border-radius: 3px;
        white-space: nowrap;
        z-index: 4;
      }

/* Cycle indicators */

.wheel .wheel-rim .wheel-rim-card.cycle-7 .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-13 .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-year .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-planetary .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-week .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-daily .wheel-card-backing {
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(255, 215, 0, 0.6);
        }

.wheel .wheel-rim .wheel-rim-card.cycle-7-start .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-13-start .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-year-start .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-planetary-start .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-week-start .wheel-card-backing, .wheel .wheel-rim .wheel-rim-card.cycle-7-daily-start .wheel-card-backing {
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(0, 255, 0, 0.4);
        }

/* Planet-specific styling */

.wheel .wheel-rim .wheel-rim-card[data-planet="mercury"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(192, 192, 192, 0.3));
      }

.wheel .wheel-rim .wheel-rim-card[data-planet="venus"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 182, 193, 0.3));
      }

.wheel .wheel-rim .wheel-rim-card[data-planet="mars"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 99, 71, 0.3));
      }

.wheel .wheel-rim .wheel-rim-card[data-planet="jupiter"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 215, 0, 0.3));
      }

.wheel .wheel-rim .wheel-rim-card[data-planet="saturn"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(210, 180, 140, 0.3));
      }

.wheel .wheel-rim .wheel-rim-card[data-planet="uranus"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(173, 216, 230, 0.3));
      }

.wheel .wheel-rim .wheel-rim-card[data-planet="neptune"] .wheel-card-backing {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(0, 0, 139, 0.3));
      }

.wheel-rim-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 10px 0;

  transform-style: preserve-3d;

  /* // Optional: Hide scrollbar but keep functionality */
}

.wheel-rim-container::-webkit-scrollbar {
    height: 8px;
  }

.wheel-rim-container::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

.wheel-rim-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

.wheel-rim-container::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

/* Scrollbar is now visible so users know they can scroll */

.wheel-rim-container .wheel-spoke-container {
    position: relative;
    margin: 10px 0;
  }

.wheel-rim-container .wheel-rim-header {
    position: sticky;
    transform: rotate(-51deg);
    left: 63px;
    top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #ff4500;
    text-shadow:
      2px 2px 4px rgba(0, 0, 0, 0.8),
      0 10px 20px rgba(0, 0, 0, 0.5),
      0 20px 40px rgba(0, 0, 0, 0.4),
      0 30px 60px rgba(0, 0, 0, 0.3),
      0 40px 80px rgba(0, 0, 0, 0.2);
    z-index: 100;
    white-space: nowrap;
  }

.wheel-rim-container .wheel-rim-card.birth-card .wheel-card-backing {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 215, 0, 0.4));
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(255, 215, 0, 0.8);
    }

.wheel-rim-container .wheel-rim-card.birth-card .birth-card-label {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%) translateZ(20px);
      transition: transform 0.5s ease;
      font-size: 9px;
      font-weight: bold;
      color: #fff;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
      background: rgba(0, 0, 0, 0.8);
      padding: 2px 6px;
      border-radius: 3px;
      white-space: nowrap;
      z-index: 4;
    }

.delivery_zone {
  display: flex;
  justify-content: center;
}

.panel {
  display: flex;
  justify-content: center;
  vertical-align: top;
  margin-left: 8px;
}

.reading_display_container>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.reading_display_container .panel.birth,
.reading_display_container .panel.personality {
  grid-column: span 1;
  margin-left: 0;
}

.reading_display_container .panel.yearly,
.reading_display_container .panel.planetary {
  grid-column: span 1;
  margin-left: 0;
}

.reading_display_container .card_group_heading,
.reading_display_container hr,
.reading_display_container .clearboth,
.reading_display_container .salon,
.reading_display_container>div>div[id$="_subscription_management_for"],
.reading_display_container #cancellation_policy,
.reading_display_container #exit_interview {
  grid-column: span 2;
}

.reading_display_container .clearboth {
  clear: none;
  height: 0;
}

#access_card_delivery_zone {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

#access_card_delivery_zone .delivery_zone {
    display: inline-block;
  }

#guidance_zone {
  display: flex;
  justify-content: center;
}

@media only screen and (min-width: 310px) and (max-width: 767px) {
  #access_card_delivery_zone {
    flex-direction: column;
    align-items: center;
  }

  .panel .back {
    margin-left: auto;
    margin-right: auto;
  }
}

.panel .front {
  float: none;
  position: absolute;
  top: 0;
}

.panel .back {
  float: none;
  position: relative;
  top: 0;
  left: 0;
}

.panel.flip .back .pane_guidance {
      display: inline-block !important;
    }

#zodiac_center_holder {
  display: flex;
  justify-content: center;
}

div#right_now_zodiac a.zodiac_selection {
    display: flex;
    justify-content: space-evenly;
  }

@media (max-width: 991px) {
  .desktop-only {
    display: none;
  }
}

@media (min-width: 992px) {
  .mobile-tablet-only {
    display: none;
  }
}

.desktop-only.button_daily_card {
  margin-top: 10px;
}

.birthday .panel .front {
  position: relative;
}

/* Weekly Cards Page */

.weekly-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.weekly-cards-header {
  text-align: center;
  margin-bottom: 30px;
}

.weekly-cards-header h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
}

.weekly-cards-header p {
  color: #666;
  font-size: 16px;
}

.weekly-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.weekly-cards-grid .weekly-card-item {
    height: 220px;
  }

.weekly-cards-grid .weekly-card-item .wheel-rim-card-planet {
      font-size: 13px;
    }

.weekly-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.weekly-card-number {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  margin-bottom: 6px;
  text-align: center;
}

.weekly-card-container {
  position: relative;
  width: 100px;
  height: 140px;
}

.weekly-card-image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 4px;
}

.weekly-card-item.transiting .wheel-card-backing {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    transform: scale(1.05);
  }

/* Weekly card specific styling */

.weekly-card-item .wheel-card-reading-type {
  font-size: 8px;
  top: 6px;
  left: 6px;
}

.weekly-card-item .wheel-card-date {
  font-size: 8px;
  top: 6px;
  right: 6px;
}

.weekly-card-item .wheel-rim-card-planet {
  font-size: 8px;
  bottom: 6px;
}

.weekly-card-item .wheel-card-spread-link {
  top: 6px;
  right: 6px;
  font-size: 10px;
}

.weekly-navigation {
  text-align: center;
  margin-top: 30px;
}

.weekly-navigation .nav-link {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.weekly-navigation .nav-link:hover {
  background: #0056b3;
}

.mobile-tablet-only.button_daily_card, .desktop-only.button_daily_card {
  font-size: 18px;
}

.call_to_subscription {
  font-size: 20px;
  text-align: center;
  margin: 1px;
}

.copyright-txt {
  text-align: center;
  font-size: 16px;
  color: grey;
  margin-bottom: -6px;
  margin-top: 3px;
  text-shadow: 1px 2px 3px rgb(156, 156, 169);
}

:root {
  --interface-panel-muted: #f5f5f5;
}

.subheader-carousel {
  color: #555;
}

a.lunar_navigation {
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 20px;
  text-decoration: none;
  color: white;
  background-color: #e8830c;
  transition: all 0.6s;
}

a.lunar_navigation:hover {
    background-color: #F7C610;
    cursor: pointer;
  }

a.lunar_navigation.axis {
    font-size: 0.75em;
    background-color: #e64d22;
  }

a.lunar_navigation.axis:hover {
      background-color: #96000E;
    }

a.lunar_navigation.subscribe {
    font-size: 24px;
    padding: 10px 20px;
  }

.button_daily_card {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 7px;
}

.button_daily_card a.lunar_navigation {
    margin-bottom: 16px;
    padding: 5px 14px;
  }

.button_daily_card a.lunar_navigation:has(.spade_logo) {
    line-height: 0;
    padding: 2px;
  }

.lower_navigation {
  margin-top: 9px;
  text-align: center;
  font-family: 'Abel';
  font-size: 19px;
  color: bisque;
}

.lower_navigation a {
    text-decoration: none;
    color: bisque;

    border: 2px solid #b76228;
    border-radius: 11px;
    padding: 9px;
    background-color: #b76228;
    opacity: 0.9;

    margin-left: -17px;
  }

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.wobble {
  animation: shake 0.5s;
  animation-iteration-count: 1;
}

.test .delivery_zone {
  animation: shake 0.5s;
  animation-iteration-count: 1;
}

form#new_birthday {
  text-align: center;
}

form#new_birthday #look_up_cta {
    font-size: 1.5em;
    padding-bottom: 12px;
  }

form#new_birthday select {
    -webkit-appearance: none;
    height: 40px;
    font-size: 18px;
    padding: 5px;
    color: #0e45c4;
  }

form#new_birthday #reading_type {
    width: 200px;
  }

form#new_birthday #reading_picker_arrow {
    position: absolute;
    margin-left: -40px;
    margin-top: 3px;
    pointer-events: none;
  }

#birthday_selection_tool {
  padding: 18px;
}

#birthday_selection_tool #new_birthday input[type="submit"] {
    margin-top: 12px;
    width: 146px;
    font-size: 1em;
    background-color: #0e45c4;
    color: white;
    border-radius: 20px;
    border-color: white;
  }

#birthday_selection_tool #birthday_date_1i {
    display: none;
  }

@media screen and (min-width: 320px) and (max-width: 768px){
  #birthday_selection_tool {
    padding: 18px;
    margin-left: -4px;
  }
}

.panel {
  perspective: 600px;
}

.panel .front {
  z-index: 900;

  transform: rotateX(0) rotateY(0);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all .8s ease-in-out;
}

.panel.flip .front {
  z-index: 900;
  transform: translate3d(0, 0, -1px) rotateY(179deg);
}

.panel .back {
  z-index: 800;

  transform: translate3d(0, 0, -1px) rotateY(-179deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all .8s ease-in-out;
}

.panel.flip .back {
  z-index: 1000;
  height: auto;

  transform: translate3d(0, 0, 0) rotateY(0);
}

.owl-carousel .owl-item img {
  backface-visibility: hidden !important;
  will-change: transform;
}

.panel .back img.reveal {
  opacity: 0;
  transition: opacity 1.8s ease-in;
}

.panel.flip .back img.reveal {
  opacity: 1;
  transition-delay: 0.8s;
}

@media only screen and (max-width: 1050px) {
  #guidance_zone {
    flex-direction: column;
  }
  
  .delivery_zone {
    width: 100%;
  }
  
  .back .flipback, .boxpanel .flipback {
    top: 14px;
  }
  
  #guidance_zone .panel .back, #guidance_zone .boxpanel .surface {
    width: 88vw;
  }

  .panel {
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: center
  }
  
  .panel .front {
    display: flex;
    flex-direction: column;
    align-items: center;
    left: 0;
  }
  
  .panel .back, .panel .front {
    width: 100%;
  }
  
  .pane_guidance {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -box-sizing: border-box;
    max-width: 460px;
    width: 100%;
    position: relative;
  }
  
  .add_height {
    height: 750px;
  }
  
  .prompt_zone {
    max-width: 320px;
    text-align: center;
    width: 100%;
  }
  
  .widget_heading {
    margin: 14px 2% 14px 2%;
  }
  
  #widget_title_gui {
    font-size: 1.6em;
  }
  
  .guidance_prompt_media {
    align-items: center;
  }
  
  .lookup_link {
    text-align: center;
    margin-bottom: 10%;
    margin-left: 0;
  }
    :is(.lookup_link,#personality_lookup_link) a {
      font-size: 0.8em;
      padding: 8px;
    }

  #new_birthday {
    margin-top: 1px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1049px) {
  /* iPad and tablet-specific styles */
  .source_cards_card_design {
    width: 88vw;
    max-width: 88vw;
    height: auto;
  }

  .four_sided_box .surface {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .pane_guidance {
    max-width: 88vw;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .source_cards_card_design {
    width: 88vw;
    max-width: 88vw;
    height: auto;
  }

  #widget_title {
    font-size: 28px;
  }

  #widget_instructions {
    font-size: 25px;
  }

  #birth_card_lookup_title {
    font-size: 36px;
  }

  #birth_card_lookup_instructions {
    font-size: 23px;
  }

  .welcome {
    margin: 10px 0;
    font-size: 20px;
    margin-bottom: 22px;
  }

  #welcome_instructions {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
  #widget_instructions br {
    display: block;
  }

  #birth_card_lookup_instructions br {
    display: block;
  }
}

@media (min-width: 1050px) {
  :root {
    --card-box-width: 330px;
    --half-card-box-width: calc(var(--card-box-width) / 2);
    --octagon-z-index: calc(var(--card-box-width) * 0.62388);
    --octagon-z-index-front: calc(var(--card-box-width) * 0.91421);
  }
}

@media(max-width: 1049px) {
  :root {
    --card-box-width: 88vw;
    /* cannot change without deforming box geometry */
    --half-card-box-width: calc(var(--card-box-width) / 2);
    --octagon-z-index: calc(var(--card-box-width) * 0.62388);
    --octagon-z-index-front: calc(var(--card-box-width) * 0.91421);
  }
}

@media(max-width: 768px) {
  :root {
    --card-box-width: 88vw;
    --half-card-box-width: calc(var(--card-box-width) / 2);
  }
}

.four_sided_box .boxpanel {
    width: var(--card-box-width);
    height: 750px;
    perspective: 1200px;
    transform-style: preserve-3d;
  }

.four_sided_box .boxpanel .source_cards_card_design {
      width: var(--card-box-width);
      border-radius: 29px;
    }

.four_sided_box .surface-wrapper {
    width: var(--card-box-width);
    height: 750px;
    position: relative;
    transform-style: preserve-3d;
    pointer-events: none;
    transform: translateZ(calc(var(--half-card-box-width) * -1)) rotateY(180deg);
    transition: all 2.1s ease-in-out;
  }

.four_sided_box .surface {
    will-change: transform;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 670px;
    backface-visibility: hidden;
  }

.four_sided_box .surface .pane_guidance,
  .four_sided_box .surface img,
  .four_sided_box .surface .prompt_heading {
    pointer-events: none !important;
  }

.four_sided_box .surface.active-surface {
    z-index: 100;
  }

.four_sided_box .surface.active-surface .pane_guidance,
  .four_sided_box .surface.active-surface img,
  .four_sided_box .surface.active-surface .prompt_heading {
    pointer-events: auto !important;
  }

.four_sided_box .alpha {
    transform: rotateY(180deg) translateZ(var(--half-card-box-width));
  }

.four_sided_box .alpha.active-surface {
    transform: rotateY(180deg) translateZ(calc(var(--half-card-box-width) + 2px));
  }

.four_sided_box .beta {
    transform: rotateY(-90deg) translateZ(var(--half-card-box-width));
  }

.four_sided_box .beta.active-surface {
    transform: rotateY(-90deg) translateZ(calc(var(--half-card-box-width) + 2px));
  }

.four_sided_box .gamma {
    transform: rotateY(0deg) translateZ(var(--half-card-box-width));
  }

.four_sided_box .gamma.active-surface {
    transform: rotateY(0deg) translateZ(calc(var(--half-card-box-width) + 2px));
  }

.four_sided_box .delta {
    transform: rotateY(90deg) translateZ(var(--half-card-box-width));
  }

.four_sided_box .delta.active-surface {
    transform: rotateY(90deg) translateZ(calc(var(--half-card-box-width) + 2px));
  }

.card-box-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

.card-box-single .pane_guidance {
  max-width: 460px;
}

.card-box-single__actions {
  margin-top: 1.5rem;
}

.card-box-single__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--card-accent, #2e2e2e);
  color: var(--card-accent, #2e2e2e);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.card-box-single__back:hover {
  background-color: var(--card-accent, #2e2e2e);
  color: #fff;
}

.eight_sided_box .boxpanel {
    width: var(--card-box-width);
    height: 750px;
    perspective: 4200px;
    transform-style: preserve-3d;
  }

.eight_sided_box .boxpanel .source_cards_card_design {
      width: var(--card-box-width);
      border-radius: 29px;
    }

.eight_sided_box .surface-wrapper {
    width: var(--card-box-width);
    height: 750px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(calc(var(--half-card-box-width) * -0.92388)) rotateY(0deg);
    transition: all 2.1s ease-in-out;
  }

.eight_sided_box .surface {
    position: absolute;
    width: 100%;
    height: 670px;
    backface-visibility: hidden;
    transition: all 2.1s ease-in-out;
  }

.eight_sided_box .alpha {
    transform: rotateY(0deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .beta {
    transform: rotateY(45deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .gamma {
    transform: rotateY(90deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .delta {
    transform: rotateY(135deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .epsilon {
    transform: rotateY(180deg) translateZ(var(--octagon-z-index-front));
  }

.eight_sided_box .zeta {
    transform: rotateY(225deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .eta {
    transform: rotateY(270deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .theta {
    transform: rotateY(315deg) translateZ(var(--octagon-z-index));
  }

.eight_sided_box .angle_indicator {
    width: 170px;
    height: 20px;
    background-color: #fff;
    border-radius: 6px;
    font-weight: bold;
    display: none;
  }

/* Column View with Concentric Rings */

.column-rings-view {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
  overflow-x: hidden;
  max-width: 100vw;

  /* Layout Variables */
  --card-height: 12vh;
  --card-gap: 1vh;
  --padding-top: 5px;
  --ring-border-width: 16px;
  --container-width: 800px;

  /* Card Position Calculations - each card's vertical center */
  --card-1-top: var(--padding-top); /* Birth card (top) */
  --card-1-center: calc(var(--card-1-top) + (var(--card-height) / 2));

  --card-2-top: calc(var(--card-1-top) + var(--card-height) + var(--card-gap));
  --card-2-center: calc(var(--card-2-top) + (var(--card-height) / 2));

  --card-3-top: calc(var(--card-2-top) + var(--card-height) + var(--card-gap));
  --card-3-center: calc(var(--card-3-top) + (var(--card-height) / 2));

  --card-4-top: calc(var(--card-3-top) + var(--card-height) + var(--card-gap));
  --card-4-center: calc(var(--card-4-top) + (var(--card-height) / 2));

  --card-5-top: calc(var(--card-4-top) + var(--card-height) + var(--card-gap));
  --card-5-center: calc(var(--card-5-top) + (var(--card-height) / 2));

  --card-6-top: calc(var(--card-5-top) + var(--card-height) + var(--card-gap));
  --card-6-center: calc(var(--card-6-top) + (var(--card-height) / 2));

  --card-7-top: calc(var(--card-6-top) + var(--card-height) + var(--card-gap));
  --card-7-center: calc(var(--card-7-top) + (var(--card-height) / 2));

  /* Ring-to-Card Mapping - Reversed: largest ring at top */
  --ring-thirteen-target: var(--card-1-center);  /* 13-year → 1st card (birth/top) */
  --ring-seven-target: var(--card-2-center);      /* 7-year → 2nd card */
  --ring-yearly-target: var(--card-3-center);     /* Yearly → 3rd card */
  --ring-52day-target: var(--card-4-center);      /* 52-day/Planetary → 4th card */
  --ring-weekly-target: var(--card-5-center);     /* Weekly → 5th card */
  --ring-daily-target: var(--card-6-center);      /* Daily → 6th card */
}

.column-rings-container {
  position: relative;
  width: var(--container-width);
  max-width: 100%;
  min-height: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Concentric Rings */

.cycle-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cycle-ring {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  border-width: var(--ring-border-width);
  border-style: solid;
  opacity: 0.7;
  transform: translateX(-50%);
}

/* Ring sizes - 6 rings total
   Each ring is positioned to intersect with its corresponding card
   Ring diameter scales based on distance from daily ring
   All rings are centered horizontally, positioned vertically at their target card

   Card Mapping (REVERSED - largest at top):
   - 13-year ring (largest) → 1st card (birth/top)
   - 7-year ring → 2nd card
   - Yearly ring → 3rd card
   - 52-day ring → 4th card (planetary)
   - Weekly ring → 5th card
   - Daily ring (smallest) → 6th card
   - 7th card has no cycle ring
*/

.cycle-ring--thirteen {
  --diameter: calc(var(--card-height) * 6);
  width: var(--diameter);
  height: var(--diameter);
  top: var(--ring-thirteen-target);
  border-color: #3498db; /* Blue */
  z-index: 1;
}

.cycle-ring--seven {
  --diameter: calc(var(--card-height) * 5);
  width: var(--diameter);
  height: var(--diameter);
  top: var(--ring-seven-target);
  border-color: #2ecc71; /* Green */
  z-index: 2;
}

.cycle-ring--yearly {
  --diameter: calc(var(--card-height) * 4);
  width: var(--diameter);
  height: var(--diameter);
  top: var(--ring-yearly-target);
  border-color: #f1c40f; /* Yellow */
  z-index: 3;
}

.cycle-ring--52day {
  --diameter: calc(var(--card-height) * 3);
  width: var(--diameter);
  height: var(--diameter);
  top: var(--ring-52day-target);
  border-color: #e67e22; /* Orange */
  z-index: 4;
}

.cycle-ring--weekly {
  --diameter: calc(var(--card-height) * 2);
  width: var(--diameter);
  height: var(--diameter);
  top: var(--ring-weekly-target);
  border-color: #e74c3c; /* Red */
  z-index: 5;
}

.cycle-ring--daily {
  --diameter: var(--card-height);
  width: var(--diameter);
  height: var(--diameter);
  top: var(--ring-daily-target);
  border-color: #c0392b; /* Dark Red */
  z-index: 6;
}

/* Cards Column - centered vertically */

.column-rings-view .current-cards-column {
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  align-items: center;
}

.column-rings-view .current-card {
  position: relative;
  z-index: 100;
  width: 100%;
  height: auto;
  overflow: visible;
  display: flex;
  justify-content: center;
  background: transparent;
}

.column-rings-view .current-card__body {
  background: transparent;
  width: auto;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 100;
}

.column-rings-view .current-card__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 100;
  background: transparent;
}

.column-rings-view .current-card__image {
  height: var(--card-height);
  width: auto;
  max-height: var(--card-height);
  max-width: none;
  display: block;
  position: relative;
  z-index: 100;
  background: none;
  background-color: transparent;
}

.column-rings-view .current-card__reading {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0;
  width: 10em;
  display: flex;
  align-items: center;
}

.column-rings-view .current-card__reading--left {
  justify-content: flex-end;
  text-align: right;
  gap: 0.5rem;
  background: none;
}

.column-rings-view .current-card__reading--right {
  justify-content: flex-start;
  text-align: left;
  background: none;
}

.column-rings-view .current-card__planet {
  font-size: 2.1rem;
  line-height: 1;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
}

.column-rings-view .current-card__planet--personality {
  font-size: 1.6rem;
}

.column-rings-view .cycles-watermark {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: -0.25rem;
}

.column-rings-view .current-card__planet--empty {
  visibility: hidden;
}

.column-rings-view .current-card__reading-text {
  opacity: 0;
  pointer-events: none;
}

/* Responsive adjustments */

@media (max-width: 1100px) {
  .column-rings-view {
    --card-height: 10vh;
  }

  .column-rings-container {
    width: min(800px, 100%);
    height: 800px;
  }

  .column-rings-view .current-card__image {
    width: 80px;
  }
}

@media (max-width: 900px) {
  .column-rings-view {
    --card-height: 10vh;
    --card-gap: 0.45rem;
  }

  .column-rings-container {
    width: min(600px, 100%);
    height: 600px;
  }

  .cycle-ring {
    border-width: 12px;
  }

  .column-rings-view .current-card__image {
    /* width: clamp(70px, calc(var(--card-height) * 1.1), 120px); */
  }

  .column-rings-view .current-cards-column {
    gap: var(--card-gap);
  }
}

.card-pane-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.card-pane-modal.is-open {
  display: block;
}

.card-pane-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.35);
}

.card-pane-modal__content {
  position: relative;
  margin: 3vh auto;
  width: 100%;
  max-width: 100%;
  max-height: 94vh;
  overflow: visible;
  background: transparent;
  border-radius: 18px;
  padding: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.card-pane-modal__frame {
  display: block;
  padding: 36px;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.card-pane-modal .delivery_zone {
  width: auto;
  margin-right: 0;
}

.card-pane-modal__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.card-pane-modal__loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

@media (max-width: 700px) {
  .card-pane-modal__content {
    margin: 4vh auto;
    max-height: 92vh;
    overflow: auto;
  }

  .card-pane-modal__frame {
    padding: 18px 18px 24px;
    overflow: auto;
  }

  .card-pane-modal__close {
    display: none;
  }
}

@media (max-width: 650px) {
  .column-rings-view {
    --card-height: 12vh;
    --card-gap: 0.35rem;
  }

  .column-rings-container {
    width: min(450px, calc(100vw - 40px));
    height: 520px;
  }

  .cycle-ring {
    border-width: 8px;
  }

  .column-rings-view .current-card__image {
    /* width: clamp(85px, calc(var(--card-height) * 1.15), 150px); */
  }

  .column-rings-view .current-cards-column {
    gap: var(--card-gap);
  }
}

.widget_heading {
  border: 2px solid black;
  border-radius: 11px;
  background-color: black;
  opacity: 0.8;
  margin: 14px 30% 14px 30%;
  padding-top: 7px;
  padding-bottom: 7px;
}

.widget_heading #widget_title {
    text-align: center;
    color: bisque;
    text-shadow: 0px 5px 4px #448;
  }

.widget_heading #widget_instructions {
    text-align: center;
    color: bisque;
    text-shadow: 0px 3px 4px #448;
  }

#widget_instructions br {
  display: none;
}

@media only screen and (min-width: 768px) and (max-width: 1900px) {
  #widget_title {
    font-size: 35px;
  }

  #widget_instructions {
    font-size: 22px;
  }
}

.welcome {
  border: 2px solid black;
  border-radius: 11px;
  background-color: black;
  opacity: 0.8;
  margin: 10px 30% 11px 30%;
  margin-top: 1px;
  margin-bottom: 30px;
}

.welcome #welcome_title {
    font-size: 52px;
    text-align: center;
    color: bisque;
    text-shadow: 0px 5px 4px #448;
    margin-top: -4px;
  }

.welcome #welcome_instructions {
    text-align: center;
    color: bisque;
    text-shadow: 0px 3px 4px #448;
  }

#access_card_delivery_zone .delivery_zone {
    text-align: center;
  }

#access_card_delivery_zone .delivery_zone img {
      width: 240px;
      border-radius: 24px;
    }

#access_card_delivery_zone .delivery_zone .back img {
      border-radius: 11px;
    }

#access_card_delivery_zone .delivery_zone .title_line {
      text-align: center;
      width: 200px;
      border: 2px solid black;
      border-radius: 11px;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      padding: 4px;
      font-family: 'Abel';
      font-size: 19px;
      color: bisque;
      background-color: black;
      opacity: 0.8;
      margin-top: -8px;
      margin-left: auto;
      margin-right: auto;
    }

#access_card_delivery_zone .delivery_zone a.nodeco {
      text-decoration: none;
    }

#zodiac, #right_now_zodiac {
  color: bisque;
  border: 2px solid black;
  border-radius: 22px;
  width: 200px;
  height: 340px;
  background-color: black;
  opacity: 0.8;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
}

#zodiac .zodiac_selection, #right_now_zodiac .zodiac_selection {
    display: block;
    margin-top: 17px;
    text-decoration: none;
    background-color: bisque;
    padding: 18px;
    border: 2px solid bisque;
    border-radius: 11px;
    color: #0D1452;
  }

#zodiac .zodiac_selection img.sign_icon, #right_now_zodiac .zodiac_selection img.sign_icon {
      width: 35px;
      border-radius: 0px;
      float: left;
    }

#zodiac .zodiac_selection:first-of-type img, #right_now_zodiac .zodiac_selection:first-of-type img {
      float: right;
    }

div#right_now_zodiac a.zodiac_selection {
    padding: 10px;
  }

div#right_now_zodiac a.zodiac_selection img.card_icon {
      width: 35px;
      margin-top: -5px;
      opacity: 1;
    }

.birth_card_lookup_header {
  border: 2px solid black;
  border-radius: 11px;
  background-color: black;
  opacity: 0.8;
}

.birth_card_lookup_header #birth_card_lookup_title {
    text-align: center;
    color: bisque;
    text-shadow: 0px 5px 4px #448;
  }

.birth_card_lookup_header #birth_card_lookup_instructions {
    text-align: center;
    color: bisque;
    text-shadow: 0px 3px 4px #448;
  }

#birth_card_lookup_instructions br {
  display: none;
}

@media only screen and (min-width: 768px) and (max-width: 1900px) {
  .birth_card_lookup_header {
    margin: 14px 24% 14px 24%;
  }

    .birth_card_lookup_header #birth_card_lookup_title {
      font-size: 35px;
    }
    
    .birth_card_lookup_header #birth_card_lookup_instructions {
      font-size: 22px;
    }
}

.claim-button {
  background-color: #0e45c4;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.claim-button:hover {
  background-color: #537ddc;
}

.lookup_link {
  margin-left: 5vw;
  display: inline-block;
}

.guidance-wheel-navigation {
  display: flex;
  justify-content: center;
  margin: clamp(1rem, 3vw, 1.75rem) auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  max-width: 1100px;
}

.guidance-wheel-navigation .wheel-navigation {
  width: 100%;
  margin-bottom: 0;
  display: inline-block;
}

.delivery_zone {
  padding-top: 40px;
  /* width: 50%; */
  margin-bottom: 40px;
  margin-right: 10px;
}

.flipback {
  position: absolute;
  right: 20px;
  top: 29px;
  text-decoration: none;
  color: black;
  font-size: 1.4em;
  filter: drop-shadow(2px 2px 1px #aaa);
}

.flipback:after {
  content: "\21BA";
  background-color: white;
  padding: 0px 8px;
  border-radius: 5px;
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
  .delivery_zone {
    padding-top: 40px;
    width: 50%;
    margin-bottom: 40px;
  }
}

.pad {
  padding-top: 7px;
  text-align: center;
  margin: auto;
}

h2 {
  text-align: center;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: rgb(32, 10, 226) !important;
  border: 1px solid black;
}

.owl-item {
  text-align: justify;
}

.wrapper .owl-nav {
  color: rgba(13, 2, 117, 0.993);
}

.wrapper .owl-prev,
.wrapper .owl-next {
  top: 25px;
}

.carousel_style {
  padding-left: 0px;
}

.owl-nav,
button.owl.owl-next,
button.owl.prev {
  font-size: 30px;
}

.carousel_size {
  font-size: 40px;
}

.constant {
  align-items: center;
  padding-left: 0px;
}

.constant div.card_name {
    text-align: center;
  }

.constant div.card_name b {
      font-size: x-large;
    }

.highlight {
  box-shadow: 0px 0px 10px 3px white;
}

.pane_guidance {
  display: inline-block;
  width: 300px;
  /* //  height: 1070px; */
  padding: 15px;
  border: 2px solid black;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.93);
}

.pane_guidance .owl-carousel .owl-nav {
    margin-top: -25px;
  }

@media (max-width: 767px) {
  .pane_guidance {
    width: 100%;
  }
}

.reading_context {
  position: relative;
}

.reading_context img.reminder {
    float: left;
    height: 100px;
    margin-right: 5px;
    display: none;
    /* border-radius: 3px; */
  }

.reading_context .birthday_dates {
    text-align: center;
  }

.reading_context .daily-card-spread {
    position: absolute;
    top: 0;
    right: 0;
  }

.reading_context .daily-card-spread .spread-mini-container {
    right: 40px;
  }

@media (max-width: 767px) {
  .pane_guidance {
    height: auto;
  }
}

#widget_title_gui {
  font-size: 2em;
  text-align: center;
  color: bisque;
  text-shadow: 0px 5px 4px #448;
}

.prompt_heading {
  color: antiquewhite;
  border: 2px solid black;
  border-radius: 11px;
  background-color: black;
  opacity: 0.8;
  margin: -20px 13% 6px 13%;
  text-align: center;
}

.prompt_heading #prompt_title {
    font-size: 2em;
    text-align: center;
    color: bisque;
    text-shadow: 0px 5px 4px #448;
  }

.prompt_heading #prompt_instructions {
    text-align: center;
    color: bisque;
    text-shadow: 0px 3px 4px #448;
  }

.source_cards_card_design {
  width: 250px;
  border-radius: 26px;
  margin-top: 16px;
}

.wrapper {
  width: 100%;
  display: flex;
  align-items: center;
}

#new_url_source_card {
  margin-top: 30px;
  width: 224px;
}

.new_source_card {
  background-color: #335276;
  color: white;
  border: 2px solid #fff;
  transition: all 0.3s;
}

.new_source_card:hover {
  cursor: pointer;
  background-color: #fff;
  color: #335276;
  border: 2px solid #335276;
}

#personality_lookup_link {
  float: right;
  margin-right: 3vw;
  display: inline-block;
}

.cusp_pick {
  width: 45%;
}

#cusp_prompt {
  background-color: white;
  padding: 2px;
  border-radius: 7px;
  font-size: 0.8em;
  margin-bottom: 16px;
}

.planet_description {
  position: absolute;
  z-index: 1000;
  background: white;
  opacity: 0.95;
  width: 79%;
  border-radius: 20px;
  font-size: 1.11em;
  padding: 20px;
}

.planet_description .planet_description_dismiss {
    float: right;
    text-decoration: none;
    color: black;
    font-size: 0.5em;
  }

.card_image_paragraph {
  text-align: center;
}

.owl-carousel .owl-item img.pad {
  width: 200px;
  /* border-radius: 8.5px; */
}

.tech-support-link {
  color: #333;
  text-decoration: none;
}

.tech-support-link:hover {
  color: green;
}

.interpretation-paragraph .action-step-label,
.interpretation-paragraph .mantra-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.interpretation-paragraph .action-step-label {
  background: rgba(34, 75, 135, 0.12);
  color: #224b87;
}

.interpretation-paragraph .action-step-body {
  background: rgba(34, 75, 135, 0.06);
  border: 1px solid rgba(34, 75, 135, 0.18);
  border-left: 4px solid rgba(34, 75, 135, 0.55);
  border-radius: 12px;
  padding: 14px 16px 16px;
  font-size: 1.05rem;
}

.interpretation-paragraph .mantra-label {
  background: rgba(141, 96, 34, 0.16);
  color: #8d6022;
}

.interpretation-paragraph .mantra-body {
  background: rgba(255, 246, 224, 0.85);
  border: 1px solid rgba(141, 96, 34, 0.25);
  border-radius: 12px;
  padding: 16px 18px;
  font-style: italic;
  text-align: center;
  font-size: 1.1rem;
}

.interpretation-paragraph .action-step-body p,
.interpretation-paragraph .mantra-body p {
  margin: 0;
}

.interpretation-paragraph .action-step-body p+p,
.interpretation-paragraph .mantra-body p+p {
  margin-top: 0.75rem;
}

.shimmer-active p {
  background: linear-gradient(90deg, #2d3a4b 0%, #d1b27a 20%, #2d3a4b 40%, #2d3a4b 100%);
  background-size: 220% 100%;
  background-position: 200% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-sweep 2.2s linear;
}

@keyframes shimmer-sweep {
  from {
    background-position: 200% 50%;
  }

  to {
    background-position: -200% 50%;
  }
}

.interpretation-paragraph[data-content-type="action_item"],
.interpretation-paragraph[data-content-type="mantra"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 55vh;
}

.interpretation-paragraph[data-content-type="action_item"] .action-step-label,
.interpretation-paragraph[data-content-type="mantra"] .mantra-label {
  align-self: center;
}

@media (max-width: 700px) {

  .interpretation-paragraph[data-content-type="action_item"],
  .interpretation-paragraph[data-content-type="mantra"] {
    min-height: 45vh;
  }
}

/* Invites List */

.invites-list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.invites-list__item {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: rgba(0, 123, 255, 0.03);
  border: 1px solid rgba(0, 123, 255, 0.15);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.invites-list__item:hover {
  background: rgba(0, 123, 255, 0.05);
  border-color: rgba(0, 123, 255, 0.25);
}

.invites-list__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.invites-list__email {
  font-weight: 600;
  color: #333;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  flex: 1;
  word-break: break-word;
}

.invites-list__birthday {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #666;
  white-space: nowrap;
}

.invites-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1rem);
  align-items: center;
}

.invites-list__footer {
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.invites-list__action-status {
  font-weight: 600;
  color: #1f7a1f;
  background: rgba(40, 167, 69, 0.1);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.invites-list__status {
  display: inline-flex;
  align-items: center;
  padding: clamp(0.25rem, 1vw, 0.4rem) clamp(0.5rem, 1.5vw, 0.75rem);
  border-radius: 4px;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
}

.invites-list__status--pending {
  background: rgba(255, 193, 7, 0.15);
  color: #856404;
}

.invites-list__status--accepted {
  background: rgba(40, 167, 69, 0.15);
  color: #155724;
}

.invites-list__date {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #666;
}

/* Success Message */

.invites-success {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  background: rgba(40, 167, 69, 0.1);
  border: 2px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
}

.invites-success__icon {
  width: clamp(40px, 10vw, 60px);
  height: clamp(40px, 10vw, 60px);
  flex-shrink: 0;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: white;
  font-weight: 700;
}

.invites-success__content {
  flex: 1;
}

.invites-success__title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #155724;
  margin: 0 0 clamp(0.5rem, 1.5vw, 0.75rem) 0;
}

.invites-success__message {
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  color: #155724;
  margin: 0 0 clamp(0.5rem, 1.5vw, 0.75rem) 0;
}

.invites-success__note {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #856404;
  margin: 0 0 clamp(1rem, 2.5vw, 1.25rem) 0;
}

.invites-success__link {
  display: inline-block;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.5rem);
  background: white;
  border: 2px solid #28a745;
  border-radius: 6px;
  color: #28a745;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  text-decoration: none;
  transition: all 0.2s ease;
}

.invites-success__link:hover {
  background: #28a745;
  color: white;
  transform: scale(1.02);
}

/* Add Celestial Modal */

.invite-celestial {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

.invite-celestial__button {
  padding: 0.5rem 1rem;
}

.invite-celestial__modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
}

.invite-celestial__modal:not(.is-open) {
  display: none;
}

.invite-celestial__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.invite-celestial__panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  width: min(520px, calc(100% - 2rem));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.invite-celestial__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.invite-celestial__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #6c757d;
  margin: 0 0 0.25rem;
}

.invite-celestial__title {
  margin: 0;
  font-size: 1.25rem;
  font-family: 'Cinzel', 'Georgia', serif;
}

.invite-celestial__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
}

.invite-celestial__subtitle {
  margin: 0.75rem 0 1.25rem;
  color: #495057;
  line-height: 1.4;
}

.invite-celestial__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.invite-celestial__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.invite-celestial__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c3e50;
}

.invite-celestial__input {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.invite-celestial__note {
  margin: 0;
  font-size: 0.8rem;
  color: #6c757d;
}

.invite-celestial__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .invites-list__main {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .invites-list__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .invites-list__birthday {
    white-space: normal;
  }

  .invites-list__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .invite-celestial__panel {
    padding: 1.25rem;
  }

  .invites-success {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.showcase-stack-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 5 / 7;
  height: auto;
  margin: 2rem auto;
  perspective: 1000px;
}

.showcase-stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background: white;
  padding: 8px;
  box-sizing: border-box;
  transform-origin: center center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.showcase-stack-card img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 8px;
    pointer-events: none;
  }

.showcase-stack-card::before,
  .showcase-stack-card::after {
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
  }

.showcase-stack-card::before {
    top: 20px;
    left: 18px;
  }

.showcase-stack-card::after {
    bottom: 20px;
    right: 18px;
    transform: rotate(180deg);
  }

/* Suit Variations - using flat selectors for compatibility with postcss-nesting (W3C spec) */

.showcase-stack-card--spade::before,
  .showcase-stack-card--spade::after {
    background-image: url("/assets/images/suits/spade-eaf1d8a8.svg");
  }

.showcase-stack-card--heart::before,
  .showcase-stack-card--heart::after {
    background-image: url("/assets/images/suits/heart-6346818c.svg");
  }

.showcase-stack-card--diamond::before,
  .showcase-stack-card--diamond::after {
    background-image: url("/assets/images/suits/diamond-5d3e547e.svg");
  }

.showcase-stack-card--club::before,
  .showcase-stack-card--club::after {
    background-image: url("/assets/images/suits/club-35e106ee.svg");
  }

/* Spreads Index Grid */

.spreads-index-intro {
  text-align: center;
  color: #666;
  margin: 10px 0 30px;
  font-size: 16px;
}

.spreads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 3fr));
  gap: 15px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.spread-grid-item {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--interface-panel-muted, #f5f5f5);
  border: 2px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  gap: 6px;
  position: relative;
  will-change: transform;
}

.spread-grid-item:hover {
  background-color: #007bff;
  border-color: #007bff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.spread-age {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  transition: color 0.3s ease;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.spread-grid-item:hover .spread-age {
  color: white;
}

.mini-spread {
  --mini-card-gap: clamp(1px, 0.4vw, 3px);
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mini-card-gap);
  padding: 4px;
  box-sizing: border-box;
}

.mini-spread__crown {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--mini-card-gap);
  width: 100%;
}

.mini-spread__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--mini-card-gap);
  width: 100%;
}

.mini-spread__card {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 7;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.mini-spread__card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 3px;
}

.mini-spread__card--highlighted {
  box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.9);
  transform: scale(1.15);
  z-index: 10;
  border: 2px solid gold;
}

@media (max-width: 1024px) {
  .spreads-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
  }

  .spread-container {
    max-width: 98vw;
  }
}

@media (max-width: 768px) {
  .spreads-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .spreads-grid {
    grid-template-columns: repeat(2, minmax(80px, 1fr));
    gap: 4px;
    padding: 8px;
  }
}

.spread-navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 16px;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-size: 0.95rem;
}

.spread-navigation__pickers,
.spread-control__section--pickers {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  width: 100%;
}

.spread-navigation__pickers label,
.spread-control__section--pickers label {
  flex: 1 1 140px;
  min-width: 120px;
}

.spread-navigation__controls,
.spread-control__navigation {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  width: 100%;
}

.spread-navigation__links,
.spread-control__tablet-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: nowrap;
  margin-top: 4px;
  width: 100%;
}

.spread-control__section--links {
  margin-bottom: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.nav-link:hover {
  background-color: #0056b3;
}

.nav-link--anchor {
  background-color: #6c757d;
}

.nav-link--anchor:hover {
  background-color: #545b62;
}

.nav-link--icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
  font-size: 1.1rem;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link--icon:hover {
  background-color: #007bff;
  color: #fff;
}

.nav-link--icon-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.nav-link--icon-secondary:hover {
  background-color: #6c757d;
  color: #fff;
}

.spread-age-select-wrapper,
.spread-card-select-wrapper {
  font-size: 0.82rem;
  justify-content: center;
}

.spread-age-select,
.spread-card-select {
  width: 100%;
  font-size: 0.8rem;
  padding: 4px 6px;
}

.spread-control__navigation .nav-link,
.spread-navigation__controls .nav-link {
  min-width: 70px;
  justify-content: center;
  font-size: 0.8rem;
  padding: 6px 12px;
}

.spread-control__navigation .current-spread,
.spread-navigation__controls .current-spread {
  flex: 1 1 auto;
  text-align: center;
}

.spread-control__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 95px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.spread-control__nav-link--mundane {
  line-height: 1.2;
}

.spread-control__tablet-links .spread-control__nav-link,
.spread-navigation__links .nav-link--anchor {
  background: linear-gradient(135deg, rgba(123, 31, 162, 0.95), rgba(32, 201, 151, 0.95));
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px rgba(123, 31, 162, 0.35);
}

.spread-control__tablet-links .spread-control__nav-link:hover,
.spread-navigation__links .nav-link--anchor:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(123, 31, 162, 0.45);
  color: #fff;
}

@media (max-width: 720px) {

  .spread-navigation__pickers,
  .spread-control__section--pickers,
  .spread-navigation__controls,
  .spread-control__navigation,
  .spread-navigation__links,
  .spread-control__tablet-links {
    flex-wrap: wrap;
  }
}

.current-spread {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.planet-toggle-btn {
  font-size: 1.1rem;
  line-height: 1;
}

.spread-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
}

.crown-cards-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.crown-cards {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.crown-label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
  padding: 5px 10px;
  background-color: #f0f0f0;
  border-radius: 4px;
}

.spread-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr) auto;
  gap: 10px;
}

.spread-row {
  display: contents;
}

.spread-left-spacer {
  display: none;
}

.spread-row:hover .row-planet .planet-symbol {
  color: #007bff;
  transform: scale(1.15);
}

.spread-row:hover .row-planet .planet-name {
  color: #007bff;
  font-weight: bold;
}

.planet-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.planet-symbol {
  font-size: 24px;
  color: #555;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.planet-name {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  text-align: center;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.row-planet {
  width: 60px;
  height: 120px;
}

.column-planets {
  display: grid;
  grid-template-columns: repeat(7, 80px) 60px;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.column-planet {
  width: 80px;
  height: 50px;
}

.column-planet.highlight .planet-symbol {
  color: #007bff;
  transform: scale(1.15);
}

.column-planet.highlight .planet-name {
  color: #007bff;
  font-weight: bold;
}

.planets-hidden .planet-label {
  opacity: 0;
  pointer-events: none;
}

.card-container {
  width: 80px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card-container:hover {
  transform: scale(1.05);
}

.card-container.selected {
  outline: 3px solid #007bff;
  outline-offset: 2px;
  border-radius: 4px;
}

.card-image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.empty-card {
  width: 100%;
  height: 100%;
  border: 1px dashed #ccc;
  background-color: #f9f9f9;
}

.card-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.card-container:hover .card-tooltip {
  opacity: 1;
}

.card-container.highlighted {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  transform: scale(1.1);
  z-index: 5;
}

.spread-overlay {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  background: white;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.spread-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Spread Modal Styles */

.spread-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spread-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.spread-modal-content {
  position: relative;
  background: white;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spread-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
}

.spread-modal-header h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

.spread-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spread-modal-close:hover {
  color: #333;
}

.spread-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Wheel card spread link */

.wheel-card-spread-link {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 14px;
  z-index: 10;
  transform: translateZ(30px);
}

.wheel-card-spread-link a {
  color: #007bff;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  display: inline-block;
  padding: 2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
}

.wheel-card-spread-link a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 1);
  text-decoration: none;
}

/* Wheel card spread mini */

.wheel-card-spread-mini {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

.spread-mini-toggle {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spread-mini-toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.spread-mini-container {
  min-width: 200px;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.spread-mini-container.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.spread-mini-container--floating {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  transform-origin: top right;
}

.spread-mini-container--floating.spread-mini-container--right {
  transform-origin: top left;
}

/* Responsive Styles - Tablet and Mobile */

@media (max-width: 768px) {
  .spread-container {
    max-width: 98vw;
  }

  .crown-cards-row {
    gap: 6px;
    margin-bottom: 15px;
  }

  .crown-cards {
    gap: 6px;
  }

  .crown-label {
    font-size: 12px;
    padding: 4px 8px;
  }

  .planet-symbol {
    font-size: 18px;
  }

  .planet-name {
    font-size: 9px;
    margin-top: 2px;
  }

  .row-planet {
    width: 45px;
    height: 90px;
  }

  .column-planets {
    grid-template-columns: repeat(7, 60px) 45px;
    gap: 6px;
  }

  .column-planet {
    width: 60px;
    height: 38px;
  }

  .card-container {
    width: 60px;
    height: 90px;
  }
}

@media (max-width: 480px) {
  .spread-container {
    max-width: 98vw;
    margin: 10px 6px;
    padding-top: 80px;
    --card-width: 38px;
    --card-height: 53px;
    --planet-width: 28px;
    --spread-gap: 3px;
  }

  .crown-cards-row {
    display: grid;
    grid-template-columns: var(--planet-width) 1fr var(--planet-width);
    gap: var(--spread-gap);
    margin-bottom: 12px;
    align-items: center;
  }

  .crown-cards {
    gap: var(--spread-gap);
    justify-content: center;
    grid-column: 2;
  }

  .crown-label {
    font-size: 10px;
    padding: 3px 6px;
    justify-self: end;
    grid-column: 3;
  }

  .spread-left-spacer {
    display: block;
    width: var(--planet-width);
    grid-column: 1;
  }

  .spread-grid {
    grid-template-columns: var(--planet-width) repeat(7, var(--card-width)) var(--planet-width);
    gap: var(--spread-gap);
  }

  .planet-symbol {
    font-size: 14px;
  }

  .planet-name {
    font-size: 7px;
    margin-top: 1px;
  }

  .row-planet {
    width: var(--planet-width);
    height: var(--card-height);
  }

  .column-planets {
    grid-template-columns: repeat(7, var(--card-width)) var(--planet-width);
    gap: var(--spread-gap);
    padding-left: var(--planet-width);
  }

  .column-planet {
    width: var(--card-width);
    height: 26px;
  }

  .card-container {
    width: var(--card-width);
    height: var(--card-height);
  }
}

/* Detail Card - Contemporary Admin Detail Display */

.detail-card {
  background: white;
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.detail-card__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  margin: 0;
}

.detail-card__term {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #007bff;
  letter-spacing: 0.03em;
  margin: 0;
  padding: clamp(0.25rem, 0.8vw, 0.35rem) 0;
  align-self: start;
}

.detail-card__definition {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: #333;
  margin: 0;
  padding: clamp(0.25rem, 0.8vw, 0.35rem) 0;
  line-height: 1.5;
  word-break: break-word;
}

.detail-card__link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.detail-card__link:hover {
  color: #0056b3;
  border-bottom-color: #0056b3;
}

.detail-card__value {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 123, 255, 0.08);
  border-radius: 4px;
  font-weight: 600;
}

.detail-card__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.detail-card__badge--success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.25));
  color: #1e7e34;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.detail-card__badge--muted {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.2);
}

.detail-card__empty {
  color: #6c757d;
  font-style: italic;
  font-size: clamp(0.8rem, 1.9vw, 0.9rem);
}

/* Responsive */

@media (max-width: 768px) {
  .detail-card__list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .detail-card__term {
    padding-bottom: 0.1rem;
  }

  .detail-card__definition {
    padding-top: 0;
    padding-left: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .detail-card__definition:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.features-page {
  max-width: 1400px;
  /* Increased to fit 3 stacks if possible */
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.features-page__header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-page__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #7c7c7c;
  margin-bottom: 0.35rem;
}

.features-page__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.features-page__description {
  font-size: 1.25rem;
  color: #4f4f4f;
  margin: 0 auto;
  max-width: 720px;
}

.features-groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

.features-group {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-group__title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
  display: inline-block;
  text-align: center;
}

/* Feature Card Content Styles within the Stack */

.feature-card-content {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  text-align: center;
  overflow-y: auto;
  /* In case text is too long */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.feature-card__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.feature-card__tagline {
  font-size: 1rem;
  color: #6a6a6a;
  font-style: italic;
  margin-bottom: 1rem;
}

.feature-card__description {
  font-size: 1.05rem;
  color: #3d3d3d;
  line-height: 1.6;
}

/* Group-specific accents */

.features-group--open .features-group__title {
  border-color: #4CAF50;
  color: #4CAF50;
}

.features-group--planetary .features-group__title {
  border-color: #2196F3;
  color: #2196F3;
}

.features-group--universal .features-group__title {
  border-color: #9C27B0;
  color: #9C27B0;
}

@media (max-width: 600px) {
  .features-page {
    padding: 2rem 1rem 4rem;
  }
}

/* Deal Button */

.deal-btn {
  margin-top: 1.5rem;
  background-color: #2a3448;
  color: #ffffff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.deal-btn:hover {
  background-color: #3b4860;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.deal-btn:active {
  transform: translateY(0);
}

.deal-btn.active {
  background-color: #e44145;
  /* Red for Shuffle/Stop */
}

.deal-btn.active:hover {
  background-color: #f55;
}

.sessions-page {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 420px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
}

@media (max-width: 880px) {
  .sessions-page {
    grid-template-columns: 1fr;
    padding: clamp(2rem, 8vw, 3rem) clamp(1.25rem, 6vw, 2rem);
  }
}

.sessions-intro {
  perspective: 1000px;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 4vw, 1.8rem);
}

.sessions-intro__text {
  margin: 0;
  letter-spacing: 0.01em;
  position: relative;
  transform-style: preserve-3d;
}

.sessions-intro__lead {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 700;
  color: #17233a;
}

.sessions-intro__highlight {
  display: inline-block;
  color: #174b7a;
  text-shadow: 0 0 0 rgba(44, 136, 255, 0.25);
  transition: transform 0.6s ease, color 0.6s ease, text-shadow 0.6s ease;
  will-change: transform;
}

.sessions-intro__text:hover .sessions-intro__highlight {
  transform: translateZ(48px) scale(1.05);
  color: #2a8fff;
  text-shadow: 0 0 18px rgba(42, 143, 255, 0.55);
  animation: sessions-highlight-shimmer 1.8s ease-in-out infinite alternate;
}

@keyframes sessions-highlight-shimmer {
  0% {
    text-shadow: 0 0 12px rgba(42, 143, 255, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(80, 170, 255, 0.75);
  }
  100% {
    text-shadow: 0 0 12px rgba(42, 143, 255, 0.4);
  }
}

.sessions-intro__middle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  color: #243046;
  margin: 0;
}

.sessions-intro__closing {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #36435a;
  margin: 0;
  font-weight: 600;
}

.sessions-auth {
  position: relative;
  background: linear-gradient(155deg, rgba(236, 239, 244, 0.95), rgba(222, 227, 235, 0.98));
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 2.4rem);
  box-shadow: 0 24px 50px rgba(15, 33, 50, 0.12);
  overflow: hidden;
}

.sessions-auth--single {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sessions-auth__toggle {
  display: none;
}

.sessions-auth__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sessions-auth__tab {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e2a3d;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(30, 42, 61, 0.08);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

#sessions-auth-tab-login:checked ~ .sessions-auth__tabs .sessions-auth__tab--login,
#sessions-auth-tab-signup:checked ~ .sessions-auth__tabs .sessions-auth__tab--signup,
#sessions-auth-tab-forgot:checked ~ .sessions-auth__tabs .sessions-auth__tab--forgot {
  background: #2a3448;
  color: #f7fbff;
  box-shadow: 0 12px 28px rgba(30, 42, 61, 0.22);
}

.sessions-auth__panes {
  position: relative;
}

.sessions-auth__pane {
  display: none;
}

#sessions-auth-tab-login:checked ~ .sessions-auth__panes .sessions-auth__pane--login {
  display: block;
}

#sessions-auth-tab-signup:checked ~ .sessions-auth__panes .sessions-auth__pane--signup {
  display: block;
}

#sessions-auth-tab-forgot:checked ~ .sessions-auth__panes .sessions-auth__pane--forgot {
  display: block;
}

.sessions-auth__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #17233a;
  text-align: center;
}

.sessions-forgot__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sessions-form {
  display: grid;
  gap: 1.15rem;
}

.sessions-form__field {
  display: grid;
  gap: 0.45rem;
}

.sessions-form__field--birthdate {
  gap: 0.55rem;
}

.sessions-form__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2e3a4c;
}

.sessions-form__birthdate-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.sessions-form__birthdate-select {
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(30, 42, 61, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  color: #2e3a4c;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.sessions-form__birthdate-select:focus {
  outline: none;
  border-color: #2a8fff;
  box-shadow: 0 0 0 3px rgba(42, 143, 255, 0.18);
}

.sessions-form__input {
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(30, 42, 61, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sessions-form__input:focus {
  outline: none;
  border-color: #2a8fff;
  box-shadow: 0 0 0 3px rgba(42, 143, 255, 0.18);
}

.sessions-form__hint {
  color: #526079;
  font-size: 0.78rem;
}

.sessions-form__field--compact {
  margin-top: -0.5rem;
}

.sessions-form__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #36435a;
}

.sessions-form__checkbox-input {
  width: 1rem;
  height: 1rem;
}

.sessions-form__submit {
  background: #2a3448;
  color: #f7fbff;
  border: none;
  border-radius: 16px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sessions-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px rgba(30, 42, 61, 0.18);
}

.sessions-destinations {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.sessions-destinations__legend {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d273a;
}

.sessions-destinations__choices {
  display: grid;
  gap: 0.6rem;
}

.sessions-destinations__choice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(30, 42, 61, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sessions-destinations__choice:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(42, 143, 255, 0.45);
}

.sessions-destinations__radio {
  margin-top: 0.35rem;
  width: 1rem;
  height: 1rem;
}

.sessions-destinations__label {
  font-weight: 700;
  color: #1f2b3c;
  font-size: 1.15rem;
  grid-column: 2;
  text-align: center;
  justify-self: stretch;
  width: 100%;
  display: block;
}

.sessions-destinations__caption {
  font-size: 0.82rem;
  color: #4a5668;
  grid-column: 2;
  text-align: center;
  justify-self: stretch;
  width: 100%;
  display: block;
}

.sessions-signup {
  display: grid;
  gap: 1.2rem;
}

.sessions-signup__intro {
  margin: 0;
  font-size: 0.95rem;
  color: #243046;
}

.sessions-signup__footer {
  margin: 0;
  font-size: 0.9rem;
  color: #4a5668;
}

.sessions-signup__switch {
  color: #2a8fff;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 600px) {
  .sessions-auth {
    padding: clamp(1.5rem, 6vw, 2rem);
  }

  .sessions-destinations__choice {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .sessions-destinations__radio {
    margin: 0;
  }

  .sessions-destinations__label,
  .sessions-destinations__caption {
    grid-column: 1;
  }

  .sessions-form__birthdate-inputs {
    gap: 0.45rem;
  }
}

/* Google signin methods horizontal layout */

.sessions-signup-methods {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.sessions-signup-methods__divider {
  color: #666;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sessions-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #1f2b3c;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.sessions-google-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sessions-google-btn.enabled {
  border-color: #4285f4;
}

.sessions-google-btn:not(:disabled):hover {
  background: #f8f9fa;
  border-color: #4285f4;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sessions-login-methods {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.sessions-login-methods__intro {
  color: #666;
  font-size: 0.9rem;
}

.sessions-google-btn-form {
  width: 100%;
  margin: 0;
}

.sessions-google-btn-form .sessions-google-btn--login {
  width: 100%;
}

.sessions-google-btn--login {
  width: 100%;
  justify-content: center;
}

.sessions-google-btn__icon {
  font-size: 1.2rem;
}

.sessions-google-btn__text {
  font-weight: 500;
}

.sessions-errors {
  background: rgba(219, 68, 55, 0.1);
  border: 1px solid rgba(219, 68, 55, 0.4);
  color: #8b1c13;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

.sessions-form__field--forgot {
  text-align: right;
  margin-top: -0.25rem;
}

.sessions-form__link {
  color: #4285f4;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.sessions-form__link--toggle {
  display: inline-block;
}

.sessions-form__link:hover {
  text-decoration: underline;
}

.sessions-forgot__intro {
  margin: 0 0 1rem;
  color: #36435a;
  font-size: 0.95rem;
  text-align: center;
}

.sessions-form--forgot {
  gap: 1rem;
}

.sessions-forgot__footer {
  text-align: center;
  margin-top: 0.5rem;
}

.sessions-destinations__spacer {
  width: 1rem;
  height: 1rem;
}

.register-btn-container {
  text-align: center;
  margin-bottom: 2rem;
}

.register-btn {
  display: inline-block;
  background: #2a3448;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.register-btn:hover {
  transform: scale(1.05);
}

.card-box-interface {
  background-image: url("/assets/images/StarField-a6f000f7.jpg");
  background-size: cover;
  min-height: 100vh;
  padding: 20px;
}

.card-box-header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.card-box-header h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
  }

.card-box-selectors {
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.card-box-selectors .selector-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: center;
  }

.card-box-selectors .selector-group {
    display: flex;
    flex-direction: column;
  }

.card-box-selectors .selector-group label {
      color: white;
      font-weight: bold;
      margin-bottom: 5px;
      font-size: 12px;
      text-transform: uppercase;
    }

.card-box-selectors .selector-group select {
      padding: 8px 12px;
      border-radius: 5px;
      border: 2px solid #17a2b8;
      background: white;
      font-size: 14px;
      min-width: 140px;
    }

.card-box-selectors .load-cards-btn {
    padding: 10px 25px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.3s;
  }

.card-box-selectors .load-cards-btn:hover {
      background: #218838;
    }

.card-box-stage {
  width: 100%;
  height: 600px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.card-box-3d {
  position: relative;
  width: 300px;
  height: 450px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-box-card {
  position: absolute;
  width: 300px;
  height: 450px;
  transform-style: preserve-3d;
  transition: all 0.5s ease;
  backface-visibility: hidden;
}

.card-box-card.expanded {
    transform: none !important;
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 600px;
    position: relative;
  }

.card-box-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-box-backing {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-box-card-back-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 15px;
}

.card-box-card-content {
  display: none;
  width: 100%;
  transform: rotateY(0deg);
}

.card-box-card-content .pane_guidance {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    height: auto;
  }

.card-box-empty {
  text-align: center;
  color: white;
  font-size: 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  padding: 50px;
}

.card-box-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.card-box-nav-btn {
  padding: 12px 30px;
  background: #17a2b8;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-box-nav-btn:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  }

.card-box-nav-btn:active {
    transform: translateY(0);
  }

.card-box-indicator {
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  min-width: 100px;
  text-align: center;
}

.card-box-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.card-box-expand-btn {
  padding: 12px 35px;
  background: #6f42c1;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.card-box-expand-btn:hover {
    background: #5a32a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  }

@media (max-width: 768px) {
  .card-box-stage {
    height: 500px;
  }

  .card-box-3d {
    width: 250px;
    height: 375px;
  }

  .card-box-card {
    width: 250px;
    height: 375px;
  }

  .card-box-selectors .selector-row {
    flex-direction: column;
    align-items: stretch;
  }

    .card-box-selectors .selector-row .selector-group select {
      width: 100%;
    }
}

.constellation-page,
.constellations-index,
.constellations-mine,
.constellation-show,
.observations-page {
  padding: clamp(2rem, 6vw, 3rem);
  display: grid;
  gap: 2rem;
}

.constellation-page__header,
.constellations-index__header,
.constellations-mine__header,
.constellation-show__header,
.observations-page__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.constellation-page__header h1,
.constellations-index__header h1,
.constellations-mine__header h1,
.constellation-show__header h1,
.observations-page__header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.constellations-index__actions,
.constellations-mine__actions,
.constellation-show__actions,
.observations-page__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.constellations-index__actions form,
.constellations-mine__actions form,
.constellation-show__actions form,
.observations-page__actions form {
  display: inline;
}

.constellations-index__action {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 42, 61, 0.2);
  text-decoration: none;
  background: #fff;
  color: #1e2a3d;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.constellations-index__action:hover {
  background: #2a8fff;
  border-color: #2a8fff;
  color: #fff;
}

.constellations-index__action--primary {
  background: #2a8fff;
  color: #fff;
  border-color: #2a8fff;
}

.constellations-index__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.constellation-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(238,243,255,0.9));
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 15px 35px rgba(23, 35, 58, 0.1);
  display: grid;
  gap: 1rem;
}

.constellation-card__header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.constellation-card__author {
  font-size: 0.85rem;
  color: #546179;
}

.constellation-card__scores {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.constellation-card__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.constellation-card__actions form {
  display: inline;
}

.constellations-index__empty {
  text-align: center;
  color: #556175;
}

.constellation-form {
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(155deg, rgba(236, 239, 244, 0.95), rgba(222, 227, 235, 0.98));
  padding: clamp(1.8rem, 4vw, 2.4rem);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(15, 33, 50, 0.12);
}

.constellation-form__fieldset {
  display: grid;
  gap: 0.5rem;
}

.constellation-form__label {
  font-weight: 600;
  color: #243149;
}

.constellation-form__input,
.constellation-form__textarea {
  border-radius: 12px;
  border: 1px solid rgba(30, 42, 61, 0.18);
  padding: 0.65rem 0.8rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.constellation-form__textarea {
  resize: vertical;
}

.constellation-form__visibility {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.constellation-form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.constellation-form__scores {
  display: grid;
  gap: 1rem;
}

.constellation-form__scores-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.constellation-form__scores-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.constellation-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.constellation-form__submit {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #2a8fff;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.constellation-form__cancel {
  color: #2a8fff;
  text-decoration: none;
}

.constellation-form__errors {
  background: rgba(219, 68, 55, 0.1);
  border: 1px solid rgba(219, 68, 55, 0.4);
  color: #8b1c13;
  border-radius: 12px;
  padding: 1rem;
}

.constellation-glowings__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.constellation-glowings__hint {
  font-size: 0.85rem;
  color: #546179;
  margin: 0;
}

.constellation-glowings__item {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 22px rgba(23, 35, 58, 0.08);
}

.constellation-glowings__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.constellation-glowings__handle {
  font-size: 1.2rem;
  color: #546179;
}

.constellation-glowings__actions {
  display: flex;
  gap: 0.5rem;
}

.constellation-glowings__move,
.constellation-glowings__remove,
.constellation-show__remove {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.constellation-glowings__move {
  background: rgba(42, 143, 255, 0.1);
  color: #2a8fff;
}

.constellation-glowings__remove,
.constellation-show__remove {
  background: rgba(219, 68, 55, 0.1);
  color: #c2361c;
}

.constellation-show__scores-list,
.constellation-show__scores ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.constellation-show__action {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 42, 61, 0.2);
  text-decoration: none;
  background: #fff;
  color: #1e2a3d;
  font-size: 0.9rem;
  display: inline-block;
}

.constellation-show__action--follow {
  background: #2a8fff;
  color: #fff;
  border-color: #2a8fff;
}

.constellation-show__action--unfollow {
  background: rgba(219, 68, 55, 0.1);
  color: #c2361c;
  border-color: rgba(219, 68, 55, 0.4);
}

.constellation-show__glowings-list,
.constellation-show__glowings ol {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.constellation-show__glowings-list li,
.constellation-show__glowings li {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 24px rgba(23, 35, 58, 0.08);
}

.constellation-show__visibility {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.constellation-show__visibility--public {
  background: rgba(42, 143, 255, 0.1);
  color: #2a8fff;
}

.constellation-show__visibility--private {
  background: rgba(128, 128, 128, 0.12);
  color: #555;
}

.constellations-mine__workbench {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.constellations-mine__celestials {
  background: rgba(236, 239, 244, 0.85);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.constellations-mine__celestials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.constellations-mine__celestial {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 12px 24px rgba(23, 35, 58, 0.08);
  cursor: grab;
  display: grid;
  gap: 0.2rem;
}

.constellations-mine__celestial strong {
  font-size: 0.95rem;
}

.constellations-mine__hint {
  font-size: 0.85rem;
  color: #546179;
}

.constellations-mine__board {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.constellations-mine__constellation {
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 18px 35px rgba(23, 35, 58, 0.1);
  display: grid;
  gap: 0.75rem;
  min-height: 200px;
}

.constellations-mine__constellation header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.constellations-mine__badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.constellations-mine__badge.is-public {
  background: rgba(42, 143, 255, 0.12);
  color: #2a8fff;
}

.constellations-mine__badge.is-private {
  background: rgba(128, 128, 128, 0.15);
  color: #555;
}

.constellations-mine__glowings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  min-height: 80px;
}

.constellations-mine__glowings li {
  background: rgba(236, 239, 244, 0.8);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
}

.constellations-mine__empty {
  color: #546179;
}

.observations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.observations-list__item {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(23, 35, 58, 0.1);
}

.observations-list--inline {
  max-width: 720px;
}

.observations-list__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.observations-list__info h3 {
  margin: 0;
}

.observations-list__info h2,
.observations-list__info h3 {
  margin: 0;
}

.observations-list__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.observations-list__position {
  font-size: 0.85rem;
  color: #546179;
}

.observations-page__empty {
  color: #546179;
}

.observations-page__hint {
  color: #546179;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.observations-list__empty {
  color: #546179;
}

.sortable-item.is-drag-over {
  outline: 2px dashed #2a8fff;
}

.sortable-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sortable-handle {
  cursor: grab;
  margin-right: 0.75rem;
  font-size: 1.1rem;
  color: #546179;
  display: inline-flex;
  align-items: center;
}

.sortable-handle:active {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.6;
}

@media (max-width: 900px) {
  .constellations-mine__workbench {
    grid-template-columns: 1fr;
  }
}

.celestials-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.celestial-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background: white;
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: default;
}

.celestial-item:hover {
  border-color: rgba(0, 123, 255, 0.4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.celestial-item.dragging {
  opacity: 0.5;
  transform: scale(1.02);
}

.celestial-item-placeholder {
  background: rgba(0, 123, 255, 0.1);
  border: 2px dashed rgba(0, 123, 255, 0.4);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.celestial-item__drag-handle {
  color: #999;
  cursor: grab;
  padding: 0.5rem;
  margin: -0.5rem 0;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.celestial-item__drag-handle:hover {
  color: #007bff;
}

.celestial-item__drag-handle:active {
  cursor: grabbing;
}

.celestial-item__cards {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.celestial-item__card-image {
  width: 60px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.celestial-item__info {
  flex: 1;
  min-width: 0;
}

.celestial-item__name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.celestial-item__zodiac {
  font-size: 1rem;
  font-family: 'Cinzel', 'Georgia', serif;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  color: #444;
  cursor: default;
}

.celestial-item__calendar-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.celestial-item__name-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.celestial-item__calendar-toggle svg {
  width: 18px;
  height: 18px;
  stroke: #555;
  fill: none;
  stroke-width: 1.5;
}

.celestial-item__calendar-toggle.is-active {
  border-color: #1f54b5;
  background: rgba(31, 84, 181, 0.15);
}

.celestial-item__calendar-toggle.is-active svg {
  stroke: #1f54b5;
}

.celestial-item__calendar-toggle.is-pending {
  opacity: 0.6;
  cursor: wait;
}

.celestial-item__link {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.celestial-item__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.celestial-item__color-badge {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.celestial-item__zodiac-image {
  width: 26px;
  height: 26px;
  border-radius: 8%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
}

.celestial-cusp__trigger {
  border: 1px solid rgba(255, 165, 0, 0.6);
  background: rgba(255, 165, 0, 0.15);
  color: #b05b00;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.celestial-cusp-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.celestial-cusp-modal:not(.is-open) {
  display: none;
}

.celestial-cusp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.celestial-cusp-modal__panel {
  position: relative;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: calc(100% - 2rem);
  z-index: 1;
}

.celestial-cusp-modal__panel h3 {
  margin-top: 0;
}

.celestial-cusp-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.celestial-item__details {
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.celestial-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.celestial-overview__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 160px;
}

.celestial-overview__card {
  margin: 0;
  text-align: center;
}

.celestial-overview__card-image {
  width: 110px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.celestial-overview__card-label {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #555;
}

.celestial-overview__details {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.celestial-overview__identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.celestial-overview__color-label {
  font-weight: 600;
  color: #444;
}

.celestial-overview__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.12);
  color: #0056b3;
  font-size: 0.8rem;
  font-weight: 600;
}

.celestial-overview__pill--accent {
  background: rgba(255, 165, 0, 0.2);
  color: #b05b00;
}

.celestial-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.celestial-metrics__card {
  border: 1px solid rgba(0, 123, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(248, 251, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.celestial-metrics__label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #1f54b5;
  margin: 0 0 0.35rem 0;
}

.celestial-metrics__value {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: #333;
}

.celestial-metrics__hint {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #666;
}

.celestial-metrics__empty {
  margin-top: 1rem;
  color: #666;
  font-style: italic;
}

.celestial-item__meta {
  font-weight: 600;
  color: #2c3e50;
}

.celestial-item__meta--countdown {
  color: #1f54b5;
}

.celestial-item__separator {
  color: #ccc;
}

.celestial-item__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.celestial-invite__button {
  padding: 0.5rem 1rem;
}

.celestial-invite__modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
}

.celestial-invite__modal:not(.is-open) {
  display: none;
}

.celestial-invite__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.celestial-invite__panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  max-width: 520px;
  width: min(520px, calc(100% - 2rem));
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.celestial-invite__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.celestial-invite__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #6c757d;
  margin: 0 0 0.25rem;
}

.celestial-invite__title {
  margin: 0;
}

.celestial-invite__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  color: #6c757d;
}

.celestial-invite__subtitle {
  margin: 0.75rem 0 1.25rem;
  color: #495057;
}

.celestial-invite__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.celestial-invite__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.celestial-invite__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c3e50;
}

.celestial-invite__input,
.celestial-invite__textarea,
.celestial-invite__select {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.celestial-invite__textarea {
  resize: vertical;
  min-height: 90px;
}

.celestial-invite__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .celestial-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .celestial-item__drag-handle {
    align-self: center;
  }

  .celestial-item__cards {
    align-self: center;
  }

  .celestial-item__actions {
    width: 100%;
    justify-content: stretch;
  }

  .celestial-item__actions .btn {
    flex: 1;
  }

  .celestial-invite__panel {
    padding: 1.25rem;
  }
}

.wheel-navigation {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 1.4vw, 1rem);
  padding: clamp(0.6rem, 1.4vw, 1rem);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin-bottom: clamp(0.9rem, 2.5vw, 1.5rem);
  max-width: 100%;
}

.wheel-nav-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: clamp(0.45rem, 1.1vw, 0.7rem) clamp(0.9rem, 2vw, 1.3rem);
  background: linear-gradient(to bottom, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 1));
  color: white;
  text-decoration: none;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(0.72rem, 1.1vw, 0.92rem);
  letter-spacing: 0.05em;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  transition: color 0.6s ease, transform 0.2s ease;
  position: relative;
  text-align: center;
}

.wheel-nav-link:active {
  transform: translateY(1px);
}

.wheel-nav-link:hover {
  color: #ffd700;
  animation: colorShift 0.6s ease forwards;
}

@keyframes colorShift {
  0% {
    color: white;
  }
  50% {
    color: #ff6b6b;
  }
  100% {
    color: #ffd700;
  }
}

@media (max-width: 900px) {
  .wheel-nav-link {
    flex: 1 1 clamp(180px, 32vw, 220px);
  }
}

@media (max-width: 640px) {
  .wheel-navigation {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
  }

  .wheel-navigation::-webkit-scrollbar {
    display: none;
  }

  .wheel-nav-link {
    flex: 0 0 auto;
    min-width: 160px;
  }
}

/* wheel-control extends .control base class - inherits all base styles */

/* Map wheel-control specific classes to base control classes for Stimulus compatibility */

.wheel-control__toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease;
}

.wheel-control.collapsed .wheel-control__toggle {
  transform: rotate(-90deg);
}

.wheel-control__collapsible {
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
}

.wheel-control.collapsed .wheel-control__collapsible {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.wheel-control__name {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-family: 'Cinzel', 'Georgia', serif;
  color: #333;
  text-align: center;
}

.wheel-control__date-form {
  margin-bottom: 15px;
}

.wheel-control__date-row {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.wheel-control__date-row select {
  flex: 1;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  min-width: 0;
}

.wheel-control__submit {
  width: 100%;
  padding: 8px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  transition: background 0.2s ease;
}

.wheel-control__submit:hover {
  background: #0056b3;
}

.celestial-adder__call-to-subscribe {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
}

.celestial-adder__call-to-subscribe__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f2e7ff;
  background: linear-gradient(135deg, rgba(119, 0, 255, 0.9), rgba(255, 0, 221, 0.9));
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 20px rgba(153, 0, 255, 0.45),
    inset 0 0 12px rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.celestial-adder__call-to-subscribe__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4), transparent 60%),
              radial-gradient(circle at 80% 0%, rgba(119, 0, 255, 0.3), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.celestial-adder__call-to-subscribe__link:hover {
  transform: translateY(-1px) scale(1.02);
  background: linear-gradient(135deg, rgba(160, 20, 255, 0.95), rgba(255, 60, 221, 0.95));
  box-shadow:
    0 0 26px rgba(170, 50, 255, 0.6),
    inset 0 0 16px rgba(255, 255, 255, 0.24);
  color: #fff8ff;
}

.celestial-adder__call-to-subscribe__link:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 0 18px rgba(120, 0, 190, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.celestial-adder__call-to-subscribe__icon {
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}

.celestial-adder__call-to-subscribe__text {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.celestial-adder__call-to-subscribe__text-line {
  display: block;
  text-align: center;
}

.celestial-adder__call-to-subscribe__text-subline {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: -0.2rem;
  margin-bottom: -0.2rem;
}

/* Reading Type Buttons */

.wheel-control__reading-type-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.wheel-control__reading-type-button {
  padding: 10px;
  text-align: center;
  background: #f5f5f5;
  color: #333;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.wheel-control__reading-type-button:hover {
  background: #e8e8e8;
  border-color: #bbb;
}

.wheel-control__reading-type-button.active {
  background: #007bff;
  color: white;
  border-color: #0056b3;
}

/* Date Range Selector */

.wheel-control__date-range {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.wheel-control__date-range-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wheel-control__date-range-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wheel-control__date-range-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  min-width: 40px;
}

.wheel-control__date-range-input {
  flex: 1;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
}

.wheel-control__celestial-name {
  width: 93%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 8px;
}

.wheel-control__reading-type {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.wheel-control__reading-type-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.wheel-control__reading-type-select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.wheel-control__celestials {
  margin-bottom: 15px;
}

.wheel-control__celestials-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.wheel-control__celestials-select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.wheel-control__invite {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}

.wheel-control__invite-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.wheel-control__invite-icon {
  font-size: 20px;
}

.wheel-control__invite-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #503ceb;
  font-weight: 600;
  text-decoration: none;
}

.wheel-control__invite-link:hover {
  text-decoration: underline;
}

.wheel-control__invite-text {
  font-size: 14px;
  font-weight: 600;
  font-family: 'Cinzel', 'Georgia', serif;
}

.wheel-control__invite-label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  display: block;
}

.wheel-control__invite-description {
  margin: 0;
  margin-top: 8px;
  color: #555;
  font-size: 14px;
}

.wheel-control__invite-title {
  margin: 0;
  font-size: 16px;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
}

.wheel-control__invite-form {
  display: grid;
  gap: 16px;
}

.wheel-control__invite-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wheel-control__invite-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.wheel-control__invite-hint {
  font-size: 12px;
  color: #777;
  margin: 0;
}

.wheel-control__invite-error {
  color: #b2151b;
  font-size: 13px;
  margin: 0;
}

.wheel-control__invite-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wheel-control__invite-submit {
  padding: 10px 18px;
  background-color: #503ceb;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  transition: background 0.2s ease;
}

.wheel-control__invite-submit:hover {
  background-color: #3826b8;
}

.wheel-control__invite-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.wheel-control__invite-note {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.wheel-control__invite-link--inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #503ceb;
  text-decoration: underline;
}

.transiting {
  box-shadow: 0 0 15px 5px #fff, 0 0 25px 10px #f0f, 0 0 35px 15px #0ff;
  border: 2px solid #fff;
  border-radius: 10px;
}

.current-cards-view {
  margin: 0 auto 16px;
  padding: 0.75rem;
  padding-top: 1.5rem;
  background: var(--interface-panel-muted, #f5f5f5);
  border-radius: 18px;
}

.current-cards-column {
  display: flex;
  flex-direction: column;
  gap: clamp(0.125rem, 0.15vh, 0.5rem);
  margin: 0;
  height: 95vh;
  overflow: hidden;
}

.current-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(0.1rem, 0.15vh, 0.4rem);
}

.current-card__header {
  width: 100%;
  text-align: left;
  margin-bottom: 4px;
}

.current-card__title {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.current-card__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.current-card__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.current-card__image {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  background: none;
  background-color: transparent;
  -o-object-fit: contain;
     object-fit: contain;
  transform-origin: center center;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.current-card__image--fly {
  will-change: transform, opacity;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

/* Override for column rings view */

.column-rings-view .current-card {
  background: transparent;
  padding: 0;
}

.column-rings-view .current-card__body {
  background: transparent;
}

.current-card__reading {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2e2e2e;
  line-height: 1;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.current-card-empty {
  text-align: center;
  margin: 40px 0;
  color: #666;
  font-size: 1.05rem;
}

/* Compendium Container */

.compendium-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.compendium-header {
  text-align: center;
  margin-bottom: 40px;
}

.compendium-header h2 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.compendium-date-range-display {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .compendium-header h2 {
    margin-top: 33px;
    margin-bottom: 3px;
  }
  
  .compendium-date-range-display {
    margin-top: -8px;
  }
}

.compendium-header p {
  font-size: 16px;
  color: #666;
}

.compendium-date-range-label {
  font-weight: 600;
  margin-right: 8px;
}

.compendium-date-range-dates {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.compendium-date-range-date {
  font-weight: 500;
  color: #333;
}

.compendium-date-range-separator {
  color: #999;
}

.compendium-date-range-clear {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  background: #f0f0f0;
  color: #666;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.compendium-date-range-clear:hover {
  background: #e74c3c;
  color: white;
}

/* Pagination Controls */

.compendium-pagination-controls {
  position: fixed;
  top: 120px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 100;
}

.compendium-extend-button {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #007bff;
  border-radius: 8px;
  color: #007bff;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  white-space: nowrap;
}

.compendium-extend-button:hover {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.compendium-extend-button:active {
  transform: translateY(0);
}

/* Smooth scroll animation for new cards */

.compendium-cards-grid turbo-frame {
  display: contents;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compendium-card-item {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

/* Stagger animation for cards */

.compendium-card-item:nth-child(1) { animation-delay: 0.05s; }

.compendium-card-item:nth-child(2) { animation-delay: 0.1s; }

.compendium-card-item:nth-child(3) { animation-delay: 0.15s; }

.compendium-card-item:nth-child(4) { animation-delay: 0.2s; }

.compendium-card-item:nth-child(5) { animation-delay: 0.25s; }

.compendium-card-item:nth-child(6) { animation-delay: 0.3s; }

.compendium-card-item:nth-child(7) { animation-delay: 0.35s; }

/* Compendium Grid */

.compendium-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

/* Card Items */

.compendium-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.compendium-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Reading Type Specific Sizes */

.compendium-card--yearly {
  grid-column: span 2;
}

.compendium-card--yearly .compendium-card-image {
  width: 200px;
}

.compendium-card--weekly .compendium-card-image,
.compendium-card--planetary .compendium-card-image,
.compendium-card--daily .compendium-card-image {
  width: 120px;
}

/* Season Color Backgrounds */

.season-winter {
  background: linear-gradient(135deg, rgba(176, 224, 230, 0.15), rgba(135, 206, 235, 0.15));
}

.season-spring {
  background: linear-gradient(135deg, rgba(152, 251, 152, 0.15), rgba(144, 238, 144, 0.15));
}

.season-summer {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.15));
}

.season-autumn {
  background: linear-gradient(135deg, rgba(210, 105, 30, 0.15), rgba(255, 140, 0, 0.15));
}

/* Card Number Label */

.compendium-card-number {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-align: center;
  font-family: 'Cinzel', 'Georgia', serif;
}

/* Card Container */

.compendium-card-container {
  position: relative;
}

.compendium-card-image {
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  background: #f5f5f5;
  border-radius: 4px;
}

/* Wheel Card Backing (reuse from wheel styles) */

.compendium-card-item .wheel-card-backing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}

.compendium-card-item .wheel-card-reading-type {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compendium-card-item .wheel-card-date {
  font-size: 12px;
  color: #888;
}

.compendium-card-item .wheel-rim-card-planet {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

.compendium-card-item .wheel-card-spread-link {
  font-size: 16px;
  margin-top: 4px;
}

/* Transiting (Current) Card Highlight */

.compendium-card-item[data-transiting="true"] {
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8),
              0 0 25px 10px rgba(255, 0, 255, 0.3),
              0 0 35px 15px rgba(0, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .compendium-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
  }

  .compendium-card--yearly {
    grid-column: span 1;
  }

  .compendium-card--yearly .compendium-card-image {
    width: 140px;
  }

  .compendium-card--weekly .compendium-card-image,
  .compendium-card--planetary .compendium-card-image,
  .compendium-card--daily .compendium-card-image {
    width: 100px;
  }
}

/* Menu Navigation - Mobile Optimized */

.menu-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: transparent;
  z-index: 1000;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}

.menu-navigation__left,
.menu-navigation__right {
  position: relative;
  flex: 0 0 auto;
}

.menu-navigation__left-cluster {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}

/* Hamburger and Dots Buttons */

.menu-navigation__logo-icon {
  width: 58px;
  height: 58px;
  -o-object-fit: contain;
     object-fit: contain;
}

.menu-navigation__brand-icon {
  width: 166px;
  -o-object-fit: contain;
     object-fit: contain;
}

.menu-navigation__hamburger,
.menu-navigation__dots {
  background: white;
  border: 2px solid rgba(0, 123, 255, 0.8);
  border-radius: 6px;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #007bff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
}

.menu-navigation__hamburger:hover,
.menu-navigation__dots:hover {
  background: rgba(0, 123, 255, 0.1);
  border-color: #007bff;
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.menu-navigation__hamburger:active,
.menu-navigation__dots:active {
  transform: scale(0.95);
}

/* Menu Panels */

.menu-navigation__left-menu,
.menu-navigation__right-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  background: white;
  border: 2px solid #007bff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 250px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.menu-navigation__left-menu {
  left: 0;
}

.menu-navigation__right-menu {
  right: 0;
}

.menu-navigation__left-menu.open,
.menu-navigation__right-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Member Info */

.menu-navigation__member-info {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.1));
}

.menu-navigation__member-name {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #333;
  margin-bottom: 0.25rem;
}

.menu-navigation__member-birthday {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #666;
  font-weight: 500;
}

.menu-navigation__member-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.menu-navigation__member-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(119, 0, 255, 0.18), rgba(255, 0, 221, 0.18));
  border: 1px solid rgba(119, 0, 255, 0.28);
  color: #5a1caa;
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, transform 0.2s ease;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
}

.menu-navigation__member-pill:hover {
  background: linear-gradient(135deg, rgba(160, 20, 255, 0.35), rgba(255, 60, 221, 0.35));
  border-color: rgba(160, 20, 255, 0.45);
  color: #3b0c72;
  transform: translateY(-1px);
}

/* Center Content */

.menu-navigation__center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}

.menu-navigation__center::-webkit-scrollbar {
  height: 6px;
}

.menu-navigation__center::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Controls - positioned to the right of hamburger button */

.menu-navigation__controls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: wrap;
}

.menu-navigation__activity-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 123, 255, 0.35);
  border-top-color: rgba(0, 123, 255, 0.85);
  position: fixed;
  top: 12px;
  right: 52px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 1100;
}

.menu-navigation__activity-indicator.is-active {
  opacity: 1;
  animation: menu-navigation-spin 0.85s linear infinite;
}

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

/* Base Control Class - Unified styling for all controls */

.control {
  background: white;
  border: 2px solid rgba(0, 123, 255, 0.8);
  border-radius: 6px;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 44px;
  min-height: 44px;
}

/* Collapsed state: same height as menu buttons */

.control.collapsed {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: clamp(0.25rem, 0.65vw, 0.4rem) clamp(0.75rem, 1.5vw, 0.95rem);
  max-width: clamp(0rem, 90vw, 24rem);
  text-align: center;
  line-height: 1.1;
  transform-origin: left center;
  gap: clamp(0.2rem, 0.8vw, 0.45rem);
}

.control.collapsed:hover {
  background: rgba(0, 123, 255, 0.1);
  border-color: #007bff;
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Expanded state: moves below nav bar to left side */

.control:not(.collapsed) {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 280px;
  max-width: 90vw;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: default;
}

.control__toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 27px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease;
}

.control.collapsed .control__toggle {
  position: static;
  transform: rotate(-90deg);
  order: 2;
  margin-left: 0;
  padding: 0;
}

.control__title {
  margin: 0 0 15px 0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-family: 'Cinzel', 'Georgia', serif;
  color: #333;
  text-align: center;
  padding-right: 24px;
}

.control.collapsed .control__title {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  padding-right: 0;
  line-height: 1.2;
  color: #007bff;
  white-space: nowrap;
  overflow: visible;
}

.control.collapsed .control__title--long {
  font-size: 1rem;
}

.control.collapsed .control__toggle--long {
  display: none;
}

.control__collapsible {
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
  width: 100%;
}

.control.collapsed .control__collapsible {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  width: 0;
  min-width: 0;
  flex: 0 0 auto;
  transition: none;
}

/* Navigation Links */

.menu-navigation__links {
  display: flex;
  flex-direction: column;
}

.menu-navigation__link {
  display: block;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.25rem);
  color: #333;
  text-decoration: none;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  text-align: left;
}

.menu-navigation__link:last-child {
  border-bottom: none;
}

.menu-navigation__link:hover {
  background: linear-gradient(to right, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
  color: #007bff;
  padding-left: clamp(1.25rem, 3vw, 1.5rem);
}

.menu-navigation__link:active {
  background: rgba(0, 123, 255, 0.15);
}

.menu-navigation__link--cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-navigation__link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(29, 201, 95, 0.2), rgba(29, 201, 95, 0.35));
  border: 1px solid rgba(29, 201, 95, 0.5);
  color: #117a43;
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  white-space: nowrap;
}

.menu-navigation__link--cta:hover .menu-navigation__link-pill {
  background: linear-gradient(135deg, rgba(29, 201, 95, 0.35), rgba(29, 201, 95, 0.5));
  border-color: rgba(29, 201, 95, 0.65);
  color: #0b4928;
}

.menu-navigation__link--personality {
  background: linear-gradient(to bottom, rgba(79, 60, 235, 0.1), rgba(79, 60, 235, 0.05));
  font-weight: 700;
}

.menu-navigation__link--personality:hover {
  background: linear-gradient(to right, rgba(79, 60, 235, 0.2), rgba(79, 60, 235, 0.1));
  color: #503ceb;
}

/* Right Menu Specific Styles */

.menu-navigation__right-menu .menu-navigation__link {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-navigation__right-menu .menu-navigation__link:last-child {
  border-bottom: none;
}

/* Mobile Optimizations */

@media (max-width: 640px) {
  .menu-navigation {
    padding: 0.75rem 0.5rem;
  }

  .menu-navigation__left-menu,
  .menu-navigation__right-menu {
    min-width: 220px;
    max-width: calc(100vw - 1rem);
  }

  .menu-navigation__logo-icon {
    width: 48px;
    height: 48px;
  }

  .menu-navigation__brand-icon {
    width: 106px;
    height: 48px;
  }

  .menu-navigation__hamburger,
  .menu-navigation__dots {
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
  }
}

/* Close menu when clicking outside */

.menu-navigation__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-navigation__overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Smooth scrolling for overflow menus */

.menu-navigation__left-menu,
.menu-navigation__right-menu {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 123, 255, 0.5) transparent;
}

/* Spread navigation within menu */

.menu-navigation__center .spread-navigation {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 960px;
  gap: clamp(0.5rem, 1.5vw, 0.9rem);
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.menu-navigation__center .spread-navigation__pickers,
.menu-navigation__center .spread-navigation__controls,
.menu-navigation__center .spread-navigation__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.menu-navigation__center .spread-age-select-wrapper,
.menu-navigation__center .spread-card-select-wrapper {
  flex-direction: row;
  gap: 6px;
}

.menu-navigation__center .spread-age-select,
.menu-navigation__center .spread-card-select {
  width: 70px;
}

.menu-navigation__center .current-spread {
  font-size: 1.8rem;
}

.menu-navigation__center .nav-link {
  padding: 6px 12px;
}

.menu-navigation__left-menu::-webkit-scrollbar,
.menu-navigation__right-menu::-webkit-scrollbar {
  width: 6px;
}

.menu-navigation__left-menu::-webkit-scrollbar-track,
.menu-navigation__right-menu::-webkit-scrollbar-track {
  background: transparent;
}

.menu-navigation__left-menu::-webkit-scrollbar-thumb,
.menu-navigation__right-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 123, 255, 0.5);
  border-radius: 3px;
}

.menu-navigation__left-menu::-webkit-scrollbar-thumb:hover,
.menu-navigation__right-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 123, 255, 0.7);
}

/* Celestial highlight pill */

.menu-navigation__link--celestial-highlight {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-navigation__celestial-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(119, 0, 255, 0.2), rgba(255, 0, 221, 0.2));
  border: 1px solid rgba(119, 0, 255, 0.3);
  color: #5a1caa;
  font-size: clamp(0.6rem, 1.6vw, 0.7rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: 1.1;
  text-align: right;
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.8), 0 0 6px rgba(255, 255, 255, 0.6);
}

.menu-navigation__celestial-pill--two-line {
  gap: 0.05rem;
}

.menu-navigation__celestial-pill--long {
  padding: 0.2rem 0.5rem;
  font-size: clamp(0.5rem, 1.2vw, 0.62rem);
}

.menu-navigation__celestial-pill__first-name {
  font-size: clamp(0.5rem, 1.3vw, 0.58rem);
  margin-right: 0.3rem;
}

.menu-navigation__celestial-pill--long .menu-navigation__celestial-pill__first-name {
  font-size: clamp(0.45rem, 1.1vw, 0.52rem);
}

.menu-navigation__celestial-pill--long .menu-navigation__celestial-pill__last-name {
  font-size: clamp(0.6rem, 1.5vw, 0.68rem);
}

.menu-navigation__celestial-pill__last-name {
  font-size: clamp(0.65rem, 1.7vw, 0.75rem);
  font-weight: 600;
}

.menu-navigation__link--celestial-highlight:hover .menu-navigation__celestial-pill {
  filter: brightness(0.85);
}

/* Personality Mode Indicator - Diamond icon on left edge */

.menu-navigation__dots-personality-icon {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  color: #e74c3c;
  text-shadow: 0 0 4px rgba(231, 76, 60, 0.6), 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
  pointer-events: none;
  line-height: 1;
}

/* Underlying Mode Indicator - Blur on bottom edge */

.menu-navigation__dots--underlying::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 12px;
  background: linear-gradient(to bottom,
    rgba(0, 123, 255, 0) 0%,
    rgba(0, 123, 255, 0.3) 50%,
    rgba(0, 123, 255, 0.6) 100%);
  filter: blur(3px);
  border-radius: 0 0 6px 6px;
  pointer-events: none;
  z-index: 5;
}

/* Admin Navigation */

.admin-nav {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  flex-wrap: wrap;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.admin-nav__group {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.5vw, 0.5rem);
  flex-wrap: wrap;
  padding: clamp(0.5rem, 1vw, 0.75rem);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-width: 2px 2px 0 2px;
  /* Top, Right, Bottom, Left */
  border-style: solid;
  transition: all 0.3s ease;
}

/* Colors */

.admin-nav__group--green {
  border-color: rgba(40, 167, 69, 0.5);
  background: linear-gradient(to bottom, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.1));
}

.admin-nav__group--blue {
  border-color: rgba(0, 123, 255, 0.5);
  background: linear-gradient(to bottom, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.1));
}

.admin-nav__group--purple {
  border-color: rgba(111, 66, 193, 0.5);
  background: linear-gradient(to bottom, rgba(111, 66, 193, 0.05), rgba(111, 66, 193, 0.1));
}

.admin-nav__group--black {
  border-color: rgba(0, 0, 0, 0.6);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25));
}

/* Active/Inactive States */

.admin-nav__group--active {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.admin-nav__group--inactive {
  transform: scale(0.9);
  opacity: 0.8;
  transform-origin: top center;
  filter: grayscale(0.3);
}

.admin-nav__group--inactive:hover {
  transform: scale(0.95);
  opacity: 0.95;
  filter: grayscale(0);
  cursor: pointer;
}

.admin-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.3rem, 1vw, 0.4rem) clamp(0.6rem, 1.5vw, 0.8rem);
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  letter-spacing: 0.03em;
  text-decoration: none;
  color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  min-height: 30px;
}

/* Link Colors based on Group Context */

.admin-nav__group--green .admin-nav__link {
  background: linear-gradient(to bottom, rgba(40, 167, 69, 0.85), rgba(40, 167, 69, 1));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-nav__group--blue .admin-nav__link {
  background: linear-gradient(to bottom, rgba(0, 123, 255, 0.85), rgba(0, 123, 255, 1));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-nav__group--purple .admin-nav__link {
  background: linear-gradient(to bottom, rgba(111, 66, 193, 0.85), rgba(111, 66, 193, 1));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-nav__group--black .admin-nav__link {
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 1));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  color: #ffd700;
}

.admin-nav__link:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive */

@media (max-width: 768px) {
  .admin-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .admin-nav__group {
    width: 100%;
    justify-content: center;
    transform: none !important;
    /* Disable scaling on mobile for better usability */
    opacity: 1 !important;
  }
}

.member-profile {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.member-profile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.5rem);
  border-bottom: 2px solid rgba(0, 123, 255, 0.2);
}

.member-profile__header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.member-profile__title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #333;
  margin: 0;
}

.member-profile__edit-button,
.member-profile__back-button {
  display: inline-block;
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2.5vw, 1.5rem);
  background: white;
  border: 2px solid rgba(0, 123, 255, 0.8);
  border-radius: 6px;
  color: #007bff;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.member-profile__edit-button:hover,
.member-profile__back-button:hover {
  background: rgba(0, 123, 255, 0.1);
  border-color: #007bff;
  transform: scale(1.05);
}

.member-profile__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.member-profile__section {
  background: white;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.member-profile__section-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: #007bff;
  margin: 0 0 clamp(1rem, 2.5vw, 1.25rem) 0;
  padding-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
  border-bottom: 1px solid rgba(0, 123, 255, 0.2);
}

.member-profile__field {
  display: flex;
  padding: clamp(0.75rem, 2vw, 1rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.member-profile__field:last-child {
  border-bottom: none;
}

.member-profile__label {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  color: #666;
  min-width: 120px;
  flex-shrink: 0;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.member-profile__value {
  color: #333;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  flex: 1;
}

.member-profile__link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  transition: color 0.2s ease;
}

.member-profile__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.member-profile__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.member-profile__list-item {
  padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.member-profile__list-item:last-child {
  border-bottom: none;
}

.member-profile__list-date {
  color: #666;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin-left: clamp(0.5rem, 1.5vw, 0.75rem);
}

.member-profile__form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.member-profile__form-field {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.member-profile__form-label {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  color: #333;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
}

.member-profile__form-input,
.member-profile__form-select {
  padding: clamp(0.75rem, 2vw, 1rem);
  border: 2px solid rgba(0, 123, 255, 0.3);
  border-radius: 6px;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.member-profile__form-input:focus,
.member-profile__form-select:focus {
  outline: none;
  border-color: #007bff;
}

.member-profile__form-static {
  padding: clamp(0.75rem, 2vw, 1rem);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  color: #666;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
}

.member-profile__form-note {
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: #666;
  margin: 0;
  font-style: italic;
}

.member-profile__form-actions {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.member-profile__form-submit {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3.5vw, 2rem);
  background: #007bff;
  border: 2px solid #007bff;
  border-radius: 6px;
  color: white;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  cursor: pointer;
  transition: all 0.2s ease;
}

.member-profile__form-submit:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: scale(1.02);
}

.member-profile__form-cancel {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3.5vw, 2rem);
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  color: #666;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.member-profile__form-cancel:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
}

.member-profile__errors {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: rgba(220, 53, 69, 0.1);
  border: 2px solid rgba(220, 53, 69, 0.5);
  border-radius: 8px;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.member-profile__errors h2 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: #dc3545;
  margin: 0 0 clamp(0.75rem, 2vw, 1rem) 0;
}

.member-profile__errors ul {
  margin: 0;
  padding-left: clamp(1.25rem, 3vw, 1.5rem);
}

.member-profile__errors li {
  color: #dc3545;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
}

@media (max-width: 640px) {
  .member-profile {
    padding: 1rem;
  }

  .member-profile__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .member-profile__title {
    padding-left: 2.5rem;
  }

  .member-profile__field {
    flex-direction: column;
    gap: 0.5rem;
  }

  .member-profile__label {
    min-width: auto;
  }

  .member-profile__form-actions {
    flex-direction: column;
  }

  .member-profile__form-submit,
  .member-profile__form-cancel {
    width: 100%;
    text-align: center;
  }
}

/* Invite Code Display */

.member-profile__section--highlight {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(108, 92, 231, 0.05) 100%);
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.invite-code-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.invite-code-display__code {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #007bff;
  text-align: center;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: white;
  border-radius: 8px;
  border: 2px dashed rgba(0, 123, 255, 0.3);
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.invite-code-display__url {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.invite-code-display__url-field {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: monospace;
  font-size: 0.9rem;
  border: 2px solid rgba(0, 123, 255, 0.3);
  border-radius: 6px;
  background: white;
}

.invite-code-display__url button {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
}

.invite-code-display__help {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  font-style: italic;
}

@media (max-width: 640px) {
  .invite-code-display__url {
    flex-direction: column;
  }

  .invite-code-display__url button {
    width: 100%;
  }
}

.subscriptions {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.subscriptions__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.subscriptions__title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #333;
  margin: 0 0 clamp(0.75rem, 2vw, 1rem) 0;
}

.subscriptions__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #666;
  margin: 0;
}

.subscriptions__tester-note {
  display: inline-block;
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 10px;
  color: #7a5a00;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.5;
}

.subscriptions__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 900px;
  margin: 0 auto;
}

.subscription-plan {
  position: relative;
  background: white;
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.subscription-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 123, 255, 0.4);
}

.subscription-plan--featured {
  border-color: #007bff;
  border-width: 3px;
}

.subscription-plan__badge {
  position: absolute;
  top: 20px;
  right: -35px;
  background: #007bff;
  color: white;
  padding: 6px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  z-index: 1;
}

.subscription-plan__header {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.15));
  padding: clamp(1.5rem, 3.5vw, 2rem);
  text-align: center;
}

.subscription-plan--featured .subscription-plan__header {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.2));
}

.subscription-plan__name {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #007bff;
  margin: 0;
}

.subscription-plan__content {
  padding: clamp(1.5rem, 3.5vw, 2rem);
}

.subscription-plan__price {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
  padding-bottom: clamp(1.5rem, 3.5vw, 2rem);
  border-bottom: 2px solid rgba(0, 123, 255, 0.1);
}

.subscription-plan__amount {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #333;
}

.subscription-plan__period {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #666;
  margin-left: 0.5rem;
}

.subscription-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(1.5rem, 3.5vw, 2rem) 0;
}

.subscription-plan__feature {
  padding: clamp(0.75rem, 2vw, 1rem) 0;
  padding-left: clamp(1.5rem, 3.5vw, 2rem);
  color: #333;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subscription-plan__feature:last-child {
  border-bottom: none;
}

.subscription-plan__feature::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: 700;
  font-size: 1.2em;
}

.subscription-plan__button {
  width: 100%;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: white;
  border: 2px solid #007bff;
  border-radius: 8px;
  color: #007bff;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscription-plan__button:hover {
  background: #007bff;
  color: white;
  transform: scale(1.02);
}

.subscription-plan__button--featured {
  background: #007bff;
  color: white;
}

.subscription-plan__button--featured:hover {
  background: #0056b3;
  border-color: #0056b3;
}

/* Success Page */

.subscriptions__success,
.subscriptions__cancel {
  text-align: center;
  max-width: 600px;
  margin: clamp(3rem, 8vw, 5rem) auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.subscriptions__success-icon {
  width: clamp(80px, 20vw, 120px);
  height: clamp(80px, 20vw, 120px);
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 8vw, 5rem);
  color: white;
  font-weight: 700;
}

.subscriptions__cancel-icon {
  width: clamp(80px, 20vw, 120px);
  height: clamp(80px, 20vw, 120px);
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
  background: linear-gradient(135deg, #dc3545, #c82333);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(4rem, 10vw, 6rem);
  color: white;
  font-weight: 300;
  line-height: 1;
}

.subscriptions__cancel-icon:has(+.subscriptions__cancel-title:contains("Failed")) {
  background: linear-gradient(135deg, #ffc107, #ff9800);
  font-weight: 700;
}

.subscriptions__success-title,
.subscriptions__cancel-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: #333;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem) 0;
}

.subscriptions__success-message,
.subscriptions__cancel-message {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #666;
  line-height: 1.6;
  margin: 0 0 clamp(2rem, 5vw, 2.5rem) 0;
}

.subscriptions__success-actions,
.subscriptions__cancel-actions {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.25rem);
}

.subscriptions__success-button,
.subscriptions__cancel-button {
  display: inline-block;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(2rem, 5vw, 2.5rem);
  background: #007bff;
  border: 2px solid #007bff;
  border-radius: 8px;
  color: white;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-decoration: none;
  transition: all 0.2s ease;
}

.subscriptions__success-button:hover,
.subscriptions__cancel-button:hover {
  background: #0056b3;
  border-color: #0056b3;
  transform: scale(1.02);
}

.subscriptions__success-link,
.subscriptions__cancel-link {
  display: inline-block;
  padding: clamp(0.75rem, 2vw, 1rem);
  color: #007bff;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  text-decoration: none;
  transition: color 0.2s ease;
}

.subscriptions__success-link:hover,
.subscriptions__cancel-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Manage Page */

.subscriptions__manage {
  max-width: 700px;
  margin: clamp(3rem, 8vw, 5rem) auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.subscriptions__manage-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #333;
  margin: 0 0 clamp(2rem, 5vw, 2.5rem) 0;
  text-align: center;
}

.subscriptions__manage-details {
  background: rgba(0, 123, 255, 0.05);
  border-radius: 8px;
  padding: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 2.5rem);
}

.subscriptions__manage-notice {
  margin-top: clamp(1.5rem, 3.5vw, 2rem);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  line-height: 1.5;
}

.subscriptions__manage-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.subscriptions__manage-field:last-child {
  border-bottom: none;
}

.subscriptions__manage-label {
  font-weight: 600;
  color: #333;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.subscriptions__manage-value {
  color: #007bff;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.subscriptions__manage-actions {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.25rem);
}

.subscriptions__manage-cancel {
  width: 100%;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: white;
  border: 2px solid #dc3545;
  border-radius: 8px;
  color: #dc3545;
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  cursor: pointer;
  transition: all 0.2s ease;
}

.subscriptions__manage-cancel:hover {
  background: #dc3545;
  color: white;
  transform: scale(1.02);
}

.subscriptions__manage-link {
  display: inline-block;
  padding: clamp(0.75rem, 2vw, 1rem);
  color: #007bff;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.3vw, 1.05rem);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.subscriptions__manage-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.subscriptions__manage-link--primary {
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: #007bff;
  border: 2px solid #007bff;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

.subscriptions__manage-link--primary:hover {
  background: #0056b3;
  border-color: #0056b3;
  text-decoration: none;
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .subscriptions__plans {
    grid-template-columns: 1fr;
  }

  .subscription-plan__badge {
    font-size: 0.75rem;
    padding: 4px 35px;
  }

  .subscriptions__manage-field {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.faq-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.faq-page__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-page__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #7c7c7c;
  margin-bottom: 0.35rem;
}

.faq-page__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.faq-page__description {
  font-size: 1.1rem;
  color: #4f4f4f;
  margin: 0 auto;
  max-width: 720px;
}

.faq-page__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-card {
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 25px 45px rgba(15, 15, 15, 0.08);
}

.faq-card__question {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-card__answer p {
  margin-bottom: 0.75rem;
  color: #2e2e2e;
  line-height: 1.6;
}

.faq-card__answer p:last-child {
  margin-bottom: 0;
}

.faq-page__empty {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-top: 3rem;
}

@media (max-width: 600px) {
  .faq-page {
    padding: 2rem 1rem 4rem;
  }

  .faq-card {
    padding: 1.25rem;
  }
}

.marketing-navigation {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.marketing-navigation__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.marketing-navigation__brand {
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.marketing-navigation__brand:hover {
    opacity: 0.8;
}

.marketing-navigation__brand .menu-navigation__brand-icon {
    height: 40px;
    width: auto;
}

.marketing-navigation__links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.marketing-navigation__link {
    text-decoration: none;
    color: #333;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.marketing-navigation__link:hover {
    color: #007bff;
}

/* Register link as a CTA */

.marketing-navigation__link.call-to-registration {
    background: #007bff;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.marketing-navigation__link[href*="sign_up"]:hover {
    background: #0056b3;
    color: white;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .marketing-navigation__links {
        gap: 1rem;
    }

    .marketing-navigation__link {
        font-size: 0.85rem;
    }

    .marketing-navigation__brand .menu-navigation__brand-icon {
        height: 32px;
    }
}

@media (max-width: 600px) {
    .marketing-navigation__container {
        flex-direction: column;
        gap: 1rem;
    }

    .marketing-navigation__links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.braintree_container {
  display: none;
}

#cancellation_policy {
  padding: 25px;
  font-size: 0.85em;
}

.subscription_management_for_member {
  text-align: right;
  font-size: 0.7em;
}

.subscription_management_for_member a {
    text-decoration: none;
    color: #96004F;
    margin-left: 30px;
  }

#subscribe_button {
  font-size: 1em;
  color: white;
  background-color: #E8830C;
  border-radius: 10px;
  height: 42px;
  width: 100%;
  border: none;
  margin-bottom: 15px;
}

/* Flash message container */

.flash-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
  }

/* Flash message */

.flash {
    padding: 18px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

/* Flash message - success */

.flash.success {
    background-color: #ffffff;
    color: #3c763d;
    border: 1px solid #3c763d;
  }

/* Flash message - error */

.flash.error {
    background-color: #ffffff;
    color: #a94442;
    border: 1px solid #a94442;
  }

/* Flash message - show animation */

.flash.show {
    opacity: 1;
  }

body {
  font-family: 'Abel';
  font-size: 19px;
}

body .explication_of_card {
    /* //font-family: 'Open Sans Condensed'; */
  }

header {
  font-family: 'Open Sans Condensed';
}

.clearboth {
  clear: both;
}

.clearleft {
  height: 8px;
  clear: left;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .modal-content {
      width: 80%;
  }
}

@media (min-width: 768px) {
  .modal-content {
      width: 30%;
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close-button {
  border: none;
  background: none;
  color: #646464;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  border: 1px solid #9e9e9e;
  padding: 5px 10px;
  border-radius: 4px;
}

.close-button:hover {
  color: #666;
  border-color: #666;
}

.payment-button {
  background-color: #49c5ff;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-left:27%;
  padding-right: 35px;
  padding-left: 35px;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) and (max-width: 950px) {
  .payment-button {
    margin-left: 12px;
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media screen and (min-width: 280px) and (max-width: 356px) {
  .payment-button {
    margin-left: 10px;
    padding-right: 25px;
    padding-left: 25px;
  }
}

@media screen and (min-width: 200px) and (max-width: 280px) {
  .payment-button {
    margin-left: 8px;
    padding-right: 20px;
    padding-left: 20px;
  }
}

.payment-button:hover {
  background-color: #38bdfa;
}

#pay-button-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hidden {
  display: none;
}

#spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* dull background color */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

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

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */

/*
 * 	Default theme - Owl Carousel CSS File
 */

.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*='owl-'] {
  color: #FFF;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #D6D6D6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: #869791;
  color: #FFF;
  text-decoration: none;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 10px;
}

.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  display: inline;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #D6D6D6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: #869791;
}

.interpretation-container {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
}

.interpretation-container a {
    display: inline-block;
    margin-bottom: 5px;
    padding: 8px 12px;
    background-color: #e8830c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
  }

.interpretation-container a.selected {
      background-color: #af1c30;
    }

.interpretation-container .interpretation_sort {
    display: inline-block;
    vertical-align: top;
    margin-top: 20px;
  }

.interpretation-container .interpretation_sort.card_in_interpretation {
      width: 10%;
    }

.interpretation-container .interpretation_sort.reading_type_of_interpretation {
      width: 10%;
    }

.interpretation-container .interpretation_sort.explanation_of_interpretation {
      width: 30%;
    }

/* Interpretation cards */

.interpretation-container .card-in-interpretation {
    font-weight: bold;
    margin-bottom: 10px;
  }

/* Explanation section */

.interpretation-container .explanation-of {
    margin-bottom: 10px;
  }

/* Control section */

.interpretation-container .control-of {
    margin-bottom: 20px;
  }

.interpretation-container .control-of a {
    margin-right: 10px;
    color: #ffffff; /* Change the color to white or any desired color */
  }

#interpretation_explanation {
  font-size: 19px;
  font-family: 'Open Sans Condensed';
}

#new_interpretation_button {
  padding: 3px;
  border: 1px solid #419C47;
  border-radius: 3px;
  color: #419C47;
}

.administrative_details div {
    display: inline-block;
    width: 20%;
  }

.administrative_details .campaigns_of_member {
    font-size: 0.75em;
  }

.reading_display_container {
  text-align: center;
}

.member_form_container {
  text-align: center;
}

.member_form_container .reading_display_container {
    width: 450px;
  }

.member_form_container #players_club_logo {
    float: right;
    padding: 8px;
    width: 140px;
  }

.birthday {
  /* width: 900px; */
  display: inline-block;
  text-align: left;
}

.birthday .birthdate {
    padding-bottom: 16px;
  }

.birthday .card_reading_pane {
    vertical-align: top;
    /* width: 330px; */
  }

.birthday .card_preview {
    width: 330px;
  }

.birthday div header {
      font-weight: bold;
      font-size: 2em;
      padding: 10px 0px;
    }

.birthday div header.subtitle {
      font-size: 1.1em;
      padding-bottom: 16px;
    }

.birthday div .preview_of_card {
      float: right;
      padding-left: 12px;
    }

.birthday div .preview_of_card .card_face_image {
        width: 120px;
      }

.birthday div .identification_of_card {
      float: right;
      padding-left: 12px;
      font-weight: bold;
    }

.birthday div .identification_of_card .name_of_card {
        font-family: 'Open Sans Condensed';
        text-align: center;
        margin-bottom: 5px;
      }

.birthday div .identification_of_card .card_face_image {
        width: 120px;
        border-radius: 5px;
      }

.birthday div .identification_of_card .opportunities_on_card {
        margin-top: -6px;
        margin-left: 10px;
        padding: 10px;
        width: 80px;
        background-color: #86D1DC;
      }

.birthday div .explication_of_card {
      line-height: 1.45em;
    }

.birthday div .explication_of_card p {
        margin-top: 0;
      }

.birthday div a.zodiac_selection, .birthday div a.zodiac_email {
        color: #e8830c;
        text-decoration: none;
      }

.birthday div a.trailing.call_to_action {
        display: block;
        margin-bottom: 16px;
      }

#logout_link {
  position: absolute;
  top: 8px;
  right: 8px;
}

#upgrade_button {
  position: absolute;
  top: 58px;
  right: 8px;
}

.monthly_price_of_card {
  padding: 10px;
  color: white;
  background-color: #2F98D9;
}

.sales_pitch .instructions {
    display: inline-block;
    width: 60%;
  }

.sales_pitch .access {
    display: inline-block;
  }

.simple-calendar .calendar-heading {
    display: none;
  }

.simple-calendar table {
    -webkit-border-horizontal-spacing: 0px;
    -webkit-border-vertical-spacing: 0px;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid rgb(221, 221, 221);
    border-collapse: collapse;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }

.simple-calendar tr {
    border-collapse: collapse;
  }

.simple-calendar th {
    padding: 6px;
    border-bottom: 2px solid rgb(221, 221, 221);
    border-collapse: collapse;
    border-left: 1px solid rgb(221, 221, 221);
    border-right: 1px solid rgb(221, 221, 221);
    border-top: 0px none rgb(51, 51, 51);
    box-sizing: border-box;
    text-align: left;
  }

.simple-calendar td {
    padding: 6px;
    vertical-align: top;
    width: 14%;
    border: 1px solid #ddd;
    border-top-color: rgb(221, 221, 221);
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: rgb(221, 221, 221);
    border-right-style: solid;
    border-right-width: 1px;
    border-bottom-color: rgb(221, 221, 221);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: rgb(221, 221, 221);
    border-left-style: solid;
    border-left-width: 1px;
  }

.simple-calendar .calendar-heading nav {
    display: inline-block;
  }

.simple-calendar .day {
    height: 80px;
  }

.simple-calendar .wday-0 {}

.simple-calendar .wday-1 {}

.simple-calendar .wday-2 {}

.simple-calendar .wday-3 {}

.simple-calendar .wday-4 {}

.simple-calendar .wday-5 {}

.simple-calendar .wday-6 {}

.simple-calendar .today {
    background: #FFFFC0
  }

.simple-calendar .past {}

.simple-calendar .future {}

.simple-calendar .start-date {}

.simple-calendar .prev-month {
    background: #DDD;
  }

.simple-calendar .next-month {
    background: #DDD;
  }

.simple-calendar .current-month {}

.simple-calendar .has-events {}

/* celestial-controls extends .control base class */

.celestial-controls {
  /* Inherits from .control */
  /* Width is constrained by .control base class (240px max-width) */
}

.celestial-controls h3 {
  margin: 0 0 15px 0;
  font-family: 'Cinzel', 'Georgia', serif;
  color: #333;
}

.celestial-controls-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.celestial-control-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border: 2px solid #ddd;
}

.celestial-control-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
}

.celestial-toggle {
  cursor: pointer;
}

.celestial-color-picker {
  width: 40px;
  height: 30px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.celestial-card-small {
  width: 30px;
  height: auto;
  border-radius: 2px;
  border: 2px solid;
  margin: 2px;
  display: inline-block;
}

.member-card {
  border: none !important;
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 4px;
}

.celestial-card-container {
  display: inline-block;
  position: relative;
}

.calendar-card__planet-badge {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  z-index: 4;
  pointer-events: none;
}

.calendar-card__planet-badge[data-reading="yearly"] {
  top: 2px;
  left: 2px;
}

.calendar-card__planet-badge[data-reading="planetary"] {
  top: 2px;
  right: 2px;
}

.calendar-card__planet-badge[data-reading="weekly"],
.calendar-card__planet-badge[data-reading="week"] {
  bottom: 2px;
  left: 2px;
}

.calendar-card__planet-badge[data-reading="daily"] {
  bottom: 2px;
  right: 2px;
}

.calendar-card-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 5;
}

.celestial-card-container:hover .calendar-card-tooltip,
.celestial-card-container:focus-within .calendar-card-tooltip {
  opacity: 1;
}

.calendar-ours-page {
  position: relative;
}

.calendar-ours-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 6rem 0 1.5rem;
  font-size: 0.95rem;
}

.calendar-ours-nav__link {
  color: #1f54b5;
  font-weight: 600;
  text-decoration: none;
}

.calendar-ours-nav__link:hover {
  text-decoration: underline;
}

.calendar-ours-nav__range {
  font-weight: 600;
  color: #333;
}

.calendar-ours-grid {
    margin-top: 20px;
  }

.calendar-day-name-mobile {
    display: none;
  }

/* Mobile: Single column layout for calendar */

@media (max-width: 480px) {
    .calendar-day-name-mobile {
      display: inline;
    }

    .calendar-ours-grid .simple-calendar table {
      display: block;
    }

    .calendar-ours-grid .simple-calendar thead {
      display: none; /* Hide day names row */
    }

    .calendar-ours-grid .simple-calendar tbody {
      display: block;
    }

    .calendar-ours-grid .simple-calendar tr {
      display: block;
    }

    .calendar-ours-grid .simple-calendar td {
      display: block;
      width: 100%;
      border-left: none;
      border-right: none;
      border-top: 1px solid #ddd;
      border-bottom: none;
      height: auto;
      min-height: 80px;
    }
  }

.calendar-ours-control {
  width: 100%;
  max-height: none;
  overflow: visible;
}

.celestial-control-section {
  margin-bottom: 16px;
}

.celestial-control-section--colors {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
  transition: max-height 0.3s ease;
}

.celestial-control-section--collapsed {
  max-height: 0;
  overflow: hidden;
  padding-right: 0;
}

.celestial-control-section__title {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.celestial-control-section__toggle {
  font-size: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #1f54b5;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.celestial-control-section__title.is-collapsed .celestial-control-section__toggle {
  transform: rotate(-90deg);
}

.celestial-picker {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.celestial-picker__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-weight: 600;
  border: 1px solid #2c3e50;
  border-radius: 999px;
  background: #fdfdfa;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.celestial-picker__trigger:hover {
  background: #eef2ff;
  border-color: #1f54b5;
}

.celestial-picker__panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(90vw, 900px);
  max-height: 80vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.98));
  border: 2px solid rgba(31, 84, 181, 0.15);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 9999px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.celestial-picker.is-open .celestial-picker__panel {
  display: block;
}

.celestial-picker__section {
  margin-bottom: 24px;
}

.celestial-picker__section-title {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f54b5;
  font-weight: 700;
}

.celestial-picker__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 60px;
  align-items: center;
  justify-content: center;
}

.celestial-picker__empty {
  font-size: 12px;
  color: #6c7a89;
  margin: 0;
}

.celestial-picker__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 32px 6px 12px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.celestial-picker__pill--active {
  border-color: rgba(31, 84, 181, 0.4);
  background: rgba(238, 242, 255, 0.95);
}

.celestial-picker__pill.sortable-chosen {
  opacity: 0.9;
  transform: scale(1.03);
}

.celestial-picker__pill.sortable-ghost {
  opacity: 0.4;
}

.celestial-picker__pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.celestial-picker__swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #999;
  display: inline-block;
  flex-shrink: 0;
}

.celestial-picker__label {
  white-space: nowrap;
}

.celestial-picker__toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(31, 84, 181, 0.35);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.15s ease;
}

.celestial-picker__toggle:hover {
  background: rgba(31, 84, 181, 0.12);
}

.celestial-picker__pill:hover .celestial-picker__toggle,
.celestial-picker__pill:focus-within .celestial-picker__toggle {
  opacity: 1;
  pointer-events: auto;
}

.celestial-picker__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 84, 181, 0.15);
}

.celestial-picker__hint {
  display: none;
}

.celestial-picker__close {
  border: none;
  border-radius: 999px;
  padding: 12px 32px;
  background: #1f54b5;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31, 84, 181, 0.3);
  transition: background 0.2s ease, transform 0.1s ease;
}

.celestial-picker__close:hover {
  background: #163b80;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 84, 181, 0.4);
}

.celestial-picker__close:active {
  transform: translateY(0);
}

.celestial-control-section--observed .celestial-observations-list {
  display: grid;
  gap: 12px;
}

.celestial-observation-group {
  background: rgba(236, 239, 244, 0.8);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 10px;
}

.celestial-observation-group__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}

.celestial-observation-group__checkbox {
  width: 16px;
  height: 16px;
}

.celestial-controls-list--observed {
  display: grid;
  gap: 8px;
}

.celestial-control-section__title {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.celestial-reading-type-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.celestial-reading-type-option {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.celestial-reading-type-option__checkbox {
  width: 16px;
  height: 16px;
}

.celestial-control-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  gap: 8px;
}

.sortable-handle {
  cursor: grab;
  font-size: 16px;
  color: #566573;
}

.sortable-handle:active {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.6;
}

.celestial-control-item__label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

.celestial-control-item__birth-card-image {
  width: 28px;
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.celestial-control-item__name {
  white-space: nowrap;
}

.celestial-color-picker {
  width: 40px;
  height: 28px;
}

/* Monthly calendar backgrounds - unique color per month */

.calendar-day-content {
  padding: 4px;
  border-radius: 4px;
  min-height: 100%;
}

/* Winter */

.calendar-day-content[data-month="12"] {
  background: linear-gradient(135deg, rgba(176, 224, 230, 0.3), rgba(135, 206, 235, 0.3)); /* Light blue */
}

.calendar-day-content[data-month="1"] {
  background: linear-gradient(135deg, rgba(155, 200, 235, 0.3), rgba(120, 180, 220, 0.3)); /* Icy blue */
}

.calendar-day-content[data-month="2"] {
  background: linear-gradient(135deg, rgba(165, 105, 189, 0.3), rgba(142, 68, 173, 0.3)); /* Lavender/purple */
}

/* Spring */

.calendar-day-content[data-month="3"] {
  background: linear-gradient(135deg, rgba(152, 251, 152, 0.3), rgba(144, 238, 144, 0.3)); /* Light green */
}

.calendar-day-content[data-month="4"] {
  background: linear-gradient(135deg, rgba(82, 190, 128, 0.3), rgba(88, 214, 141, 0.3)); /* Emerald */
}

.calendar-day-content[data-month="5"] {
  background: linear-gradient(135deg, rgba(241, 148, 138, 0.3), rgba(236, 112, 99, 0.3)); /* Rose/coral */
}

/* Summer */

.calendar-day-content[data-month="6"] {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(244, 208, 63, 0.3)); /* Golden yellow */
}

.calendar-day-content[data-month="7"] {
  background: linear-gradient(135deg, rgba(248, 196, 113, 0.3), rgba(235, 152, 78, 0.3)); /* Apricot */
}

.calendar-day-content[data-month="8"] {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.3), rgba(211, 84, 0, 0.3)); /* Orange */
}

/* Autumn */

.calendar-day-content[data-month="9"] {
  background: linear-gradient(135deg, rgba(205, 97, 85, 0.3), rgba(192, 57, 43, 0.3)); /* Terracotta/red */
}

.calendar-day-content[data-month="10"] {
  background: linear-gradient(135deg, rgba(160, 64, 0, 0.3), rgba(186, 74, 0, 0.3)); /* Chestnut brown */
}

.calendar-day-content[data-month="11"] {
  background: linear-gradient(135deg, rgba(125, 102, 8, 0.3), rgba(154, 125, 10, 0.3)); /* Ochre/gold */
}

.celestial-observation-group__name {
  font-size: 13px;
  font-weight: 600;
}

.celestial-observation-group__members {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.celestial-picker__pill:hover .celestial-picker__toggle,
.celestial-picker__pill:focus-within .celestial-picker__toggle {
  opacity: 1;
  pointer-events: auto;
}

#celestial_renaming {
  padding: 8px;
  display: none;
}

@media (max-width : 667px) {
  .birthday {
    width: 350px;
  }
    
    .birthday .card_reading_pane {
      width: 295px;
    }
    
    #landing #new_players {
      width: 240px;
    }
      
      #landing #new_players header.call_to_action b {
        font-size: 1.3em;
      }
      
      #landing #new_players input[type="submit"] {
        margin-top: 30px;
        width: 80%;
      }
    
    #landing #returning_players {
      margin: 20px;
      width: 240px;
      height: auto;
    }
        #landing #returning_players form#new_member input {
          width: 90%;
        }
        
        #landing #returning_players form#new_member input[type="checkbox"] {
          width: 10%;
          margin-bottom: 15px;
        }
        
        #landing #returning_players form#new_member input[type="submit"] {
          font-size: 0.7em;
          margin-left: 0px;
        }
    
    .member_form_container .reading_display_container {
      width: 350px;
    }
      
      .member_form_container .reading_display_container .card_preview {
        width: 295px;
        margin: 10px 0px 20px 0px;
        padding: 20px;
      }
  
    .member_form_container div#players_club_membership_form {
      width: 240px;
    }
  
  .card_reading_pane {
    border-radius: 50px;
    padding: 20px;
    margin: 10px 0px 20px 0px;
  }
  
  .subscription_management_for_member {
    text-align: left;
    padding: 22px;
  }
    
    .subscription_management_for_member span {
      display: inline-block;
      width: 146px;
    }
      
      .subscription_management_for_member span a {
        margin: 0;
      }
  
  #exit_interview {
    width: 295px;
  }
    
    #exit_interview h1 {
      text-align: center;
    }
    
    #exit_interview .pane {
      height: 1120px;
      margin: 0;
      padding: 10px 15px;
    }
      
      #exit_interview .pane form.interview {
        padding: 0;
      }
        
        #exit_interview .pane form.interview #interview_thoughts {
          margin-left: 8px;
          margin-top: 3px;
          width: 225px;
          height: 100px;
        }
}

#offer_of_life_spread, #offer_of_year_spread {
  width: 500px;
  border: 1px solid #C07E30;
}

#offer_of_life_spread .intro, #offer_of_year_spread .intro {
    margin-bottom: 20px;
  }

#offer_of_life_spread .call_to_action > div, #offer_of_year_spread .call_to_action > div {
    width: 40%;
    display: inline-block;
  }

#offer_of_life_spread .call_to_action, #offer_of_year_spread .call_to_action {
    padding: 10px;
  }

#offer_of_life_spread .call_to_action .button, #offer_of_year_spread .call_to_action .button {
      padding: 20px;
      text-align: center;
      font-size: 1.3em;
      color: white;
      background-color: #3972E6;
    }

.scroller {
  width: 500px;
  height: 345px;
  overflow-x: scroll;
}

.scroller .card_holder {
    width: 1750px;
    height: 345px;
  }

.scroller .card_holder .card_reading {
      height: 295px;
      display: inline-block;
      vertical-align: top;
    }

.scroller .card_holder .card_reading .card_display .card_image img.preview_card {
            width: 125px;
          }

.scroller .card_holder .card_reading .card_display .card_name {
          padding: 10px 0px;
        }

.scroller .card_holder .card_reading .card_display .interpretation_description {
          width: 110px;
          height: 123px;
          overflow-y: scroll;
          font-size: 0.8em;
        }

.card_group_heading {
  text-align: center;
  text-transform: uppercase;
  font-size: 1.5em;
  
  
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid black;
  border-radius: 50px;
  padding: 20px 35px 20px 35px;
  margin: 10px 25px -27px 25px;
}

.card_group_heading div {
    display: inline-block;
  }

.reddened {
  color: #DE0032;
}

#zodiac_options {
  font-size: 2em;
}

#zodiac_options a.zodiac_selection {
    display: inline-block;
    margin: 14px 11%;
  }

.quote_single {
  color: #999;
}

.quote_single .poignant_quote {
    font-style: italic;
    font-size: 1.2em;
  }

.quote_single .poignant_person {
    padding: 9px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.86em;
  }

.panel .fore {
  float: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 800;

  transform: translate3d(0, 0, -1px) rotateY(179deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: all .8s ease-in-out;
}

.panel.skip .fore {
  z-index: 1000;
  height: auto;

  transform: translate3d(0, 0, 0) rotateY(0);
}

.panel.skip .front {
  z-index: 900;
  transform: translate3d(0, 0, -1px) rotateY(-179deg);
}

.pane {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid black;
  border-radius: 50px;
  padding: 20px 35px;
  margin: 10px 20px 20px 20px;
}

.birthday .pane header.preview_header {
  font-size: 1.5em;
}

.birthday .pane header#personality_preview_header.preview_header {
    font-size: 1.3em;
  }

.member_form_container {
  text-align: center;
}

.member_form_container >div {
    vertical-align: top;
    display: inline-block;
  }

.member_form_container #players_club_membership_form {
    text-align: left;
    width: 368px;
  }

.joining_players_club {
  cursor: pointer;
}

#signup {
  text-align: center;
}

#signup form.member_signup_credential_entry input {
      font-size: 1.0em;
      line-height: 1.5em;
      width: 90%;
      margin-bottom: 15px;
    }

#signup form.member_signup_credential_entry input#submit {
      cursor: pointer;
    }

#signup form.member_signup_credential_entry label.error {
      display: block;
      padding-left: 10px;
    }

span.terms {
  font-size: 0.8em;
}

#landing,
#password_control {
  min-height: 600px;
}

#password_control {
  text-align: center;
}

header {
  font-size: 1.5em;
  font-weight: bold;
}

header.call_to_action {
  font-size: 1.1em;
  font-weight: normal;
}

#landing {
  text-align: center;
}

#new_players {
  vertical-align: top;
  display: inline-block;
  height: 400px;
  width: 270px;
  margin: 20px;
  padding-top: 16px;
}

#new_players #new_players_header {
    font-size: 2em;
    margin-bottom: 20px;
  }

#new_players header {
    margin-bottom: 25px;
  }

.submission {
  display: inline-block;
}

#returning_players {
  text-align: center;
  margin: 20px;
  height: 390px;
  width: 270px;
}

#returning_players form#new_member {
    text-align: left;
  }

#returning_players form#new_member input {
      margin: 22px 0px 8px 0px;
    }

#returning_players form#new_member label {
      font-size: 16px;
    }

#returning_players form#new_member .actions {
      text-align: center;
    }

#returning_players form#new_member .actions #login_submit_button {
        margin-top: 0px;
      }

input.spacious {
  padding: 2px;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-size: 20px;
  color: #4e4e4e;
  background-color: #fff;
}

form.interview {
  padding: 40px;
  margin-bottom: 30px;
}

form.interview .discussion {
    font-style: italic;
    padding: 10px;
  }

form.interview .field {
    padding: 7px;
  }

form.interview .actions {
    text-align: center;
    margin-top: 30px;
  }

form.interview .actions a {
      padding: 8px 40px;
    }

form.interview #interview_thoughts {
    margin-left: 20px;
    margin-top: 3px;
    width: 540px;
    height: 100px;
  }

#exit_interview {
  width: 86%;
}

#exit_interview .pane {
    width: 100%;
    height: 750px;
  }

#exit_interview .pane.back div {
        padding-top: 45px;
      }

#exit_thanks {
  text-align: center;
}

#exit_options {
  margin-top: 25px;
  text-align: center;
}

#exit_options #exit_remain {
    color: #E7791F;
    font-size: 1.3em;
  }

#exit_options #exit_leave {
    color: #973909;
    font-size: 1.3em;
  }

.submission form input{
  font-size: 20px;
  border-radius: 5px;
  padding: 10px;
}

.submission form input[type="submit"]{
  background-color: #335276;
  color: white;
  border: 2px solid #fff;
  transition: all 0.3s;
}

.submission form input[type="submit"]:hover{
  cursor: pointer;
  background-color: #fff;
  color: #335276;
  border: 2px solid #335276;
}

#new_birthday input[type="submit"] {
  margin-top: 20px;
  width: 200px;
  background-color: #0e45c4;
  color: white;
  border-radius: 20px;
  border-color: white;
  height: 29px;
  font-size: large;
}

@media only screen and (max-width: 242px) {
  #new_birthday input[type="submit"] {
    margin-top: 30px;
    width: 165px;
  }
}

.admin-page {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.admin-page .admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.admin-page .admin-header--sub {
  margin-top: 2.5rem;
}

.admin-page .admin-header h1,
.admin-page .admin-header h2 {
  margin: 0;
}

.admin-page .admin-header h1 {
  font-size: 2rem;
  font-weight: 600;
}

.admin-page .admin-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
}

.admin-page .admin-header .admin-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-page .admin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #5f5f6b;
}

.admin-page .admin-meta .pagination,
.admin-page .admin-meta .page-link {
  margin: 0;
}

.admin-page .admin-meta__count {
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-page .admin-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.admin-page .admin-card--filters {
  background: #fafbff;
}

.admin-page .admin-card--compare {
  background: #fff8f3;
  border-color: #f9d8b4;
}

.admin-page .admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.admin-page .admin-filter {
  display: flex;
  flex-direction: column;
  min-width: 160px;
}

.admin-page .admin-filter__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  color: #6b7280;
}

.admin-page .admin-filter--reset {
  align-self: flex-end;
}

.admin-page .admin-filters .btn-link,
.admin-page .admin-filters a.btn-link,
.admin-page .admin-filters a {
  color: #ff7a18;
  font-weight: 600;
}

.admin-page .admin-filters .btn-link:hover,
.admin-page .admin-filters a.btn-link:hover,
.admin-page .admin-filters a:hover {
  color: #ff9930;
}

.admin-page .admin-form {
  display: grid;
  gap: 1rem;
}

.admin-page .admin-form .form-group,
.admin-page .admin-form .form-check {
  margin-bottom: 0;
}

.admin-page .admin-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-page .admin-form .form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

.admin-page .admin-form .form-control {
  width: 100%;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.55rem;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-page .admin-form .form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: #ffffff;
  outline: none;
}

.admin-page .admin-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.admin-page .admin-form .form-check-input {
  margin-right: 0.5rem;
}

.admin-page .admin-form .actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-page .admin-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.admin-page .admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  font-size: 0.95rem;
}

.admin-page .admin-table thead th {
  background: #f4f5fb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a4a55;
  border-bottom: 1px solid #e5e7eb;
}

.admin-page .admin-table th,
.admin-page .admin-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #ececf2;
  vertical-align: middle;
}

.admin-page .admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-page .admin-table a {
  color: #1f54b5;
  font-weight: 500;
}

.admin-page .admin-table a:hover {
  color: #2b6adf;
}

.admin-filter-link {
  color: #ff7a18;
  font-weight: 600;
}

.admin-filter-link:hover {
  color: #ff9930;
}

.admin-filter-link.is-active {
  text-decoration: underline;
}

.admin-page .admin-table__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-table__detail-row .admin-table__detail-cell {
  padding: 0;
  border: none;
}

/* Hide detail rows by default - shown via JS when content loads */

.admin-table__detail-row {
  display: none;
}

.admin-table__detail-row.is-loaded {
  display: table-row;
}

.admin-table__viewable-frame {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
}

.admin-table__viewable-frame:empty {
  display: none;
}

/* Viewable preview: horizontal, right-aligned, no labels */

.viewable-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-left: 0;
}

.viewable-preview__item {
  font-size: 0.9rem;
  color: #4b5563;
  white-space: nowrap;
}

.viewable-preview__item--muted {
  color: #9ca3af;
}

.viewable-preview__card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.viewable-toggle {
  display: inline-block;
  color: #000;
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.viewable-toggle:hover {
  color: #000;
  text-decoration: none;
}

.viewable-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.viewable-header__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ff7a18 !important;
}

.viewable-header__link:hover {
  color: #ff9930 !important;
}

.viewable-toggle.is-open {
  transform: rotate(90deg);
}

.admin-page .admin-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-page .admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.admin-page .admin-muted {
  color: #6c757d;
}

.admin-page .admin-body-preview {
  line-height: 1.6;
  white-space: pre-line;
}

.admin-page .admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.admin-page .admin-compare-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.admin-page .admin-inline-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.imprint-replace {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.imprint-replace.is-open {
  display: block;
}

.imprint-replace__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(4px);
}

.imprint-replace__dialog {
  position: relative;
  max-width: 720px;
  margin: 4vh auto;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.35);
  max-height: 92vh;
  overflow-y: auto;
}

.imprint-replace__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.imprint-replace__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin: 0;
  color: #6b7280;
}

.imprint-replace__title {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
}

.imprint-replace__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
}

.imprint-replace__section {
  margin-bottom: 1.5rem;
}

.imprint-replace__original {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  font-family: 'Cinzel', 'Georgia', serif;
  line-height: 1.7;
  color: #1f2937;
  max-height: 240px;
  overflow: auto;
}

.imprint-replace__placeholder {
  color: #9ca3af;
  font-style: italic;
}

.imprint-replace__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.imprint-replace__textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  padding: 1rem;
  resize: vertical;
  font-size: 1rem;
  font-family: 'Source Serif Pro', 'Georgia', serif;
  line-height: 1.7;
}

.imprint-replace__relationships {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.imprint-replace__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 0.9rem;
}

.imprint-replace__label--disabled {
  color: #9ca3af;
}

.imprint-replace__grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.imprint-replace__input {
  width: 160px;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
}

.imprint-replace__input--xs {
  width: 80px;
  text-align: center;
}

.imprint-replace__error {
  color: #b91c1c;
  min-height: 1rem;
  margin-bottom: 0.75rem;
}

.imprint-replace__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.imprint-replace-open {
  overflow: hidden;
}

/* Statistics Collapsible Section */

.admin-stats-collapsible {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.admin-stats-collapsible__header {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.15s ease;
}

.admin-stats-collapsible__header:hover {
  background-color: #f9fafb;
}

.admin-stats-collapsible summary::-webkit-details-marker {
  display: none;
}

.admin-stats-collapsible__header::before {
  content: '▶';
  display: inline-block;
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.admin-stats-collapsible[open] .admin-stats-collapsible__header::before {
  transform: rotate(90deg);
}

.admin-stats-collapsible[open] .admin-stats-collapsible__header {
  border-bottom: 1px solid #e5e7eb;
}

/* Statistics Cards */

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.admin-stat-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 1rem;
}

.admin-stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Horizontal layout for source stats */

.admin-stat-card__content--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-stat-item--horizontal {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  gap: 0.75rem;
}

.admin-stat-item__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
}

.admin-stat-item__value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f54b5;
  background: #eef2ff;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  min-width: 2rem;
  text-align: center;
}

.admin-stat {
  font-size: 0.9rem;
  color: #4b5563;
}
