@import url("https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles:wght@400;700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
:root {
  --cream: #fff7df;
  --paper: #fffaf0;
  --ink: #31443e;
  --teal: #2d7367;
  --mint: #a8d6cc;
  --pink: #f7a9bd;
  --hot-pink: #ed4f7a;
  --coral: #d8493f;
  --blue: #8cc7d9;
  --yellow: #f7cc68;
  --olive: #718236;
  --line: rgba(49, 68, 62, 0.18);
  --shadow: 0 22px 60px rgba(61, 42, 35, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Nunito",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(247, 169, 189, 0.5),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 4%,
      rgba(140, 199, 217, 0.45),
      transparent 30%
    ),
    linear-gradient(90deg, #f8c1cb 0 6%, var(--cream) 6% 94%, #f8c1cb 94% 100%);
  overflow-x: hidden;
}

.container,
.row > * {
  min-width: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(216, 73, 63, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 73, 63, 0.32) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 18%,
    #000 82%,
    transparent
  );
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
.navbar-brand {
  font-family: "DM Serif Display", Georgia, serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 9vw, 8.6rem);
  line-height: 0.84;
  color: var(--coral);
  overflow-wrap: normal;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 0.96;
  color: var(--teal);
}

h3 {
  font-size: 1.5rem;
}

p {
  line-height: 1.7;
}

.top-ribbon {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 0.5rem 1rem;
  color: #fff9e9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  background: var(--coral);
  white-space: nowrap;
  overflow: hidden;
}

.top-ribbon span {
  animation: ribbonSlide 14s linear infinite;
}

.club-navbar {
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(16px);
}

.club-navbar .container {
  align-items: center;
}

.navbar-brand {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--coral);
  font-size: 1.55rem;
  line-height: 1;
}

.brand-mark {
  width: 100px;
  height: auto;
  flex: 0 0 auto;
}

.nav-link {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--coral);
}

.login-box {
  display: grid;
  grid-template-columns: minmax(7.5rem, 1fr) minmax(6.5rem, 0.8fr) auto;
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
}

.form-control {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fffdf5;
}

.form-control[type="file"],
.upload-control {
  padding: 0.45rem 0.9rem;
  border-radius: 1rem;
}

.form-control[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  border: 0;
  border-radius: 999px;
  color: #fffaf0;
  font-weight: 900;
  background: var(--coral);
}

.form-control:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(216, 73, 63, 0.18);
}

.btn {
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.01rem;
}

.btn-coral {
  border-color: var(--coral);
  color: #fffaf0;
  background: var(--coral);
}

.btn-coral:hover,
.btn-coral:focus {
  color: #fffaf0;
  border-color: #c73d35;
  background: #c73d35;
  transform: translateY(2px);
}

.btn-cream {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: #fff8dc;
}

.btn-olive {
  color: #fffaf0;
  background: var(--olive);
}

.btn-outline-coral {
  border: 2px solid var(--coral);
  color: var(--coral);
  background: rgba(255, 250, 240, 0.75);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 98px);
  padding: clamp(4rem, 8vw, 7rem) 0 6rem;
  overflow: hidden;
}

.hero-section::after,
.why-section::before,
.agenda-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 76px;
  left: 0;
  bottom: -1px;
  background: var(--mint);
  clip-path: polygon(
    0 45%,
    14% 62%,
    33% 42%,
    52% 66%,
    70% 44%,
    87% 62%,
    100% 46%,
    100% 100%,
    0 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 7rem);
}
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.lead {
  max-width: 34rem;
  margin: 1.4rem 0 2rem;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.home-book-highlight {
  display: grid;
  margin: 0 0 1.4rem;
  padding: 1rem;
  border: 2px dashed rgba(216, 73, 63, 0.34);
  border-radius: 1rem;
  background: #fff1c9;
}

.home-book-highlight span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.home-book-highlight strong {
  color: var(--teal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.home-book-highlight p,
.home-book-highlight small {
  margin: 0;
}

.hero-collage {
  position: relative;
  min-height: 35rem;
}

.photo-frame {
  position: relative;
  padding: 0.8rem;
  border: 1.5px solid rgba(49, 68, 62, 0.35);
  border-radius: 2rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 1.2rem;
  border: 12px solid var(--pink);
  border-radius: 1.35rem;
  opacity: 0.55;
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 31rem;
  object-fit: cover;
  border-radius: 1.4rem;
}

.main-photo {
  animation: floatSoft 6s ease-in-out infinite;
}

.chapter-card {
  position: absolute;
  right: -0.5rem;
  bottom: 4rem;
  width: min(18rem, 72vw);
  padding: 1.2rem;
  border: 2px solid var(--coral);
  border-radius: 1.5rem;
  color: var(--ink);
  background: #fff1c9;
  box-shadow: 0 14px 0 rgba(216, 73, 63, 0.18);
  animation: popIn 0.8s ease both 0.5s;
}

.chapter-card span,
.agenda-card span {
  display: block;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.chapter-card strong {
  display: block;
  margin: 0.3rem 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.55rem;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 4.6rem;
  min-height: 4.6rem;
  padding: 0.5rem;
  border: 2px solid rgba(49, 68, 62, 0.2);
  color: var(--teal);
  font-weight: 900;
  text-transform: lowercase;
  background: var(--mint);
  box-shadow: 0 12px 24px rgba(49, 68, 62, 0.16);
  animation: wiggle 5s ease-in-out infinite;
}

.city-strip {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: #f6c4d5;
  overflow: hidden;
}

.city-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.75rem 1rem;
  color: var(--teal);
  font-weight: 900;
  animation: marquee 28s linear infinite;
}

.city-track span::after {
  content: "•";
  margin-left: 2.5rem;
  color: var(--coral);
}

.section-pad {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.about-section {
  background: var(--mint);
}

.torn-paper {
  position: relative;
  border: 0.8rem solid #fff8dc;
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  rotate: -2deg;
}

.torn-paper::after {
  content: "";
  position: absolute;
  inset: auto -1rem -1.1rem -1rem;
  height: 2.5rem;
  background: #fff8dc;
  clip-path: polygon(
    0 10%,
    7% 72%,
    18% 32%,
    28% 82%,
    42% 24%,
    55% 77%,
    68% 35%,
    83% 85%,
    94% 28%,
    100% 66%,
    100% 100%,
    0 100%
  );
}

.torn-paper img {
  aspect-ratio: 1 / 1.12;
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.section-copy {
  max-width: 44rem;
}

.mini-stat {
  min-height: 9.5rem;
  padding: 1.2rem;
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 1.4rem;
  background: #fff8dc;
}

.mini-stat strong {
  display: block;
  color: var(--coral);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.mini-stat.blue {
  background: var(--blue);
}

.mini-stat.pink {
  background: var(--pink);
}

.why-section {
  overflow: hidden;
  background: var(--paper);
}

.why-section::before {
  top: -1px;
  bottom: auto;
  background: var(--mint);
  transform: rotate(180deg);
}

.section-heading {
  max-width: 48rem;
  margin-inline: auto;
}

.feature-card,
.agenda-card,
.quote-card {
  height: 100%;
  padding: 1.4rem;
  border: 2px solid rgba(49, 68, 62, 0.17);
  border-radius: 1.25rem;
  background: #fff8dc;
  box-shadow: 0 12px 0 rgba(216, 73, 63, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover,
.agenda-card:hover,
.quote-card:hover,
.book-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
}

.feature-card i {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--coral);
}

.feature-card.blue {
  background: #d9f0f4;
}

.feature-card.yellow {
  background: #ffe19a;
}

.feature-card.green {
  background: #dceab0;
}

.agenda-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 73, 63, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(216, 73, 63, 0.12) 1px, transparent 1px), #f4b6c8;
  background-size: 76px 76px;
}

.agenda-intro {
  height: 100%;
  padding: 2rem;
  border-radius: 1.8rem;
  color: #fffaf0;
  background: var(--teal);
  box-shadow: var(--shadow);
}

.agenda-intro h2 {
  color: #fff7df;
}

.agenda-card {
  background: #fff7df;
}

.agenda-card.coral {
  background: #f7d1c6;
}

.agenda-card.pink {
  background: #ffd7e4;
}

.agenda-card.blue {
  background: #d9f0f4;
}

.home-calendar-section {
  background: var(--paper);
}

.home-calendar-lead {
  max-width: 42rem;
  margin: 0.5rem 0 0;
  color: rgba(49, 68, 62, 0.78);
}

.home-calendar-wrap {
  margin-top: 1.5rem;
}

.home-calendar-wrap .club-calendar-board {
  box-shadow: var(--shadow);
}

.shelf-section {
  background: var(--paper);
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.book-card {
  overflow: hidden;
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 1.4rem;
  background: #fff8dc;
  box-shadow: 0 12px 0 rgba(45, 115, 103, 0.1);
  transition: transform 0.25s ease;
}

.book-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.book-card div {
  padding: 1.25rem;
}

.testimonials {
  background: var(--blue);
}

.quote-card {
  position: relative;
  background: #fffaf0;
}

.quote-card::before {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--coral) 0 20%, transparent 21%),
    conic-gradient(
      from 0deg,
      var(--yellow),
      var(--pink),
      var(--blue),
      var(--yellow)
    );
  opacity: 0.85;
}

.quote-card blockquote {
  margin: 0 0 1.25rem;
  padding-right: 2.5rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.quote-card figcaption {
  font-weight: 900;
  color: var(--coral);
}

.cta-section {
  padding: 6rem 0;
  background:
    linear-gradient(rgba(49, 68, 62, 0.22), rgba(49, 68, 62, 0.22)),
    var(
        --cta-bg-image,
        url("https://images.unsplash.com/photo-1455885666463-9b442da4fba5?auto=format&fit=crop&w=1600&q=80")
      )
      center/cover fixed;
}

.cta-card {
  position: relative;
  max-width: 48rem;
  margin: auto;
  padding: clamp(2rem, 6vw, 4rem);
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 2rem;
  text-align: center;
  background: #ffd7e4;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  color: var(--teal);
}

.sticker-note {
  top: -2.2rem;
  right: 2rem;
  min-width: 6.5rem;
  min-height: 3.4rem;
  border-radius: 1rem 1rem 1rem 0;
  color: #fffaf0;
  background: var(--olive);
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  max-width: 34rem;
  margin: 2rem auto 0;
}

.site-footer {
  padding: 2rem 0;
  color: #fffaf0;
  background: var(--teal);
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.footer-credit {
  font-size: 0.86rem;
  opacity: 0.86;
}

.footer-credit a {
  color: #fff8dc;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.social-links a {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  background: #fff8dc;
}

.toast {
  border-radius: 1rem;
  background: #fffaf0;
}

.scroll-top-btn {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 2px solid var(--coral);
  border-radius: 50%;
  color: #fffaf0;
  background: var(--coral);
  box-shadow: 0 8px 0 #9f302b;
}

.scroll-top-btn:focus-visible {
  outline: 3px solid rgba(216, 73, 63, 0.28);
  outline-offset: 3px;
}

.scroll-top-btn i {
  font-size: 1.35rem;
  line-height: 1;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

@keyframes ribbonSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-180px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-8px);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.92) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(-1deg);
  }
}
@media (max-width: 1368px) {
  .brand-mark {
    width: 60px;
  }

  h1 {
    font-size: clamp(3.8rem, 7.2vw, 6.6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
  }

  .navbar-brand {
    font-size: 1.32rem;
  }

  .login-box {
    grid-template-columns: minmax(6.8rem, 1fr) minmax(6rem, 0.85fr) auto;
    max-width: 26rem;
  }

  .nav-link {
    font-size: 0.78rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3.2rem 0 5.5rem;
  }

  .hero-collage {
    min-height: 29rem;
  }

  .photo-frame img {
    height: 25.5rem;
  }

  .lead {
    margin: 1.1rem 0 1.6rem;
    font-size: 1.12rem;
  }

  .section-pad {
    padding: clamp(3.2rem, 6vw, 5rem) 0;
  }

  .feature-card,
  .agenda-card,
  .quote-card {
    padding: 1.15rem;
  }

  .agenda-intro {
    padding: 1.5rem;
  }

  .book-card img {
    height: 13.5rem;
  }
}

@media (max-width: 1368px) and (max-height: 760px) {
  .hero-section {
    padding: 2.4rem 0 4.6rem;
  }

  .hero-section .row {
    --bs-gutter-x: 2rem;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
  }

  .hero-collage {
    min-height: 25.5rem;
  }

  .photo-frame {
    padding: 0.65rem;
  }

  .photo-frame::before {
    inset: 1rem;
    border-width: 9px;
  }

  .photo-frame img {
    height: 22.5rem;
  }

  .chapter-card {
    bottom: 2.1rem;
    width: min(16rem, 72vw);
    padding: 0.95rem;
  }

  .sticker {
    min-width: 3.8rem;
    min-height: 3.8rem;
    font-size: 0.86rem;
  }
}
@media (max-width: 1199.98px) {
  .club-navbar {
    position: sticky;
  }

  .navbar-brand {
    font-size: 1.22rem;
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar-nav {
    align-items: flex-start;
  }

  .login-box {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }
}

@media (max-width: 991.98px) {
  h1 {
    max-width: 100%;
    font-size: clamp(3.6rem, 13vw, 6.4rem);
  }

  h2 {
    font-size: clamp(2rem, 7vw, 3.15rem);
  }

  .hero-section {
    min-height: auto;
    padding: 3.2rem 0 5rem;
  }

  .hero-collage {
    max-width: 38rem;
    min-height: 30rem;
    margin-inline: auto;
  }

  .photo-frame img {
    height: 26rem;
  }

  .chapter-card {
    right: 1rem;
  }

  .shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shelf-grid .book-card:last-child {
    grid-column: 1 / -1;
  }

  .agenda-intro {
    height: auto;
  }

  .torn-paper {
    max-width: 34rem;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  body {
    background: var(--cream);
  }

  body::before {
    background-size: 38px 38px;
  }

  .top-ribbon {
    justify-content: flex-start;
  }

  .club-navbar .container {
    position: relative;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .navbar-brand {
    max-width: calc(100% - 4.25rem);
    font-size: 1.02rem;
    line-height: 1;
    white-space: normal;
  }

  .brand-mark {
    width: 46px;
    flex: 0 0 auto;
  }

  .navbar-toggler {
    border: 2px solid var(--coral);
    border-radius: 999px;
    box-shadow: none;
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(216, 73, 63, 0.18);
  }

  .navbar-toggler-icon {
    width: 1.15em;
    height: 1.15em;
    background-image: var(--bs-navbar-toggler-icon-bg);
  }

  .navbar-toggler {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: block !important;
    visibility: visible;
    z-index: 5;
    width: 2.75rem;
    height: 2.45rem;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 0.35rem 0.55rem;
    background: #fffaf0;
    opacity: 1;
    transform: translateY(-50%);
  }

  .login-box {
    max-width: none;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  h1 {
    font-size: clamp(2.85rem, 14.5vw, 4rem);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 2.75rem);
  }

  h3 {
    font-size: 1.28rem;
  }

  .lead {
    font-size: 1.02rem;
    max-width: 100%;
  }

  .hero-section {
    padding: 2.5rem 0 4.5rem;
  }

  .hero-section .container {
    padding-inline: 1.25rem;
  }

  .hero-section .row {
    margin-inline: 0;
  }

  .hero-section .row > * {
    padding-inline: 0;
  }

  .hero-copy,
  .hero-copy .lead,
  .hero-copy .d-flex {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy .d-flex {
    flex-direction: column;
    gap: 0.75rem !important;
    align-items: stretch;
  }

  .hero-copy .btn {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    padding-inline: 0.8rem;
  }

  .hero-collage {
    min-height: 24rem;
  }

  .photo-frame img {
    height: min(21rem, 78vw);
    min-height: 17.5rem;
  }

  .photo-frame::before {
    inset: 0.9rem;
    border-width: 7px;
  }

  .chapter-card {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.6rem;
    width: auto;
    padding: 0.9rem;
  }

  .chapter-card strong {
    font-size: 1.28rem;
  }

  .sticker {
    min-width: 3.5rem;
    min-height: 3.5rem;
    font-size: 0.82rem;
  }

  .section-pad {
    padding: 3.2rem 0;
  }

  .mini-stat {
    min-height: auto;
    padding: 1rem;
  }

  .feature-card,
  .agenda-card,
  .quote-card {
    padding: 1rem;
  }

  .agenda-intro {
    padding: 1.25rem;
    border-radius: 1.35rem;
  }

  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .shelf-grid .book-card:last-child {
    grid-column: auto;
  }

  .book-card img {
    height: 12.5rem;
  }

  .quote-card blockquote {
    padding-right: 1.7rem;
    font-size: 1.22rem;
  }

  .quote-card::before {
    width: 1.9rem;
    height: 1.9rem;
  }

  .cta-section {
    padding: 4.5rem 0;
    background-attachment: scroll;
  }

  .cta-card {
    border-radius: 1.35rem;
    padding: 2rem 1rem;
  }

  .sticker-note {
    right: 1rem;
    min-width: 5.6rem;
    min-height: 3rem;
    font-size: 0.78rem;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: flex-start;
  }

  .scroll-top-btn {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.dashboard-page {
  min-height: 100vh;
}

.dashboard-page .club-navbar {
  background: rgba(255, 250, 240, 0.96);
}

.dashboard-login,
.dashboard-shell {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.dashboard-login {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
}

.dashboard-login-card {
  max-width: 34rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 2.4rem);
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 1.6rem;
  background: #fffaf0;
  box-shadow: var(--shadow);
}

.dashboard-page h1 {
  max-width: none;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.92;
}

.dashboard-login-card h1 {
  color: var(--teal);
}

.dashboard-form {
  display: grid;
  gap: 0.65rem;
}

.dashboard-form label {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09rem;
  text-transform: uppercase;
}

.dashboard-form.compact {
  gap: 0.55rem;
}

.demo-access {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 2px dashed rgba(216, 73, 63, 0.38);
  border-radius: 1rem;
  background: #fff1c9;
}

.demo-access strong {
  color: var(--coral);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.dashboard-hero .lead {
  margin-bottom: 0;
}

.dashboard-book {
  display: grid;
  align-content: center;
  min-height: 12rem;
  padding: 1.25rem;
  border: 2px solid var(--coral);
  border-radius: 1.25rem;
  background: #fff1c9;
  box-shadow: 0 12px 0 rgba(216, 73, 63, 0.14);
}

.dashboard-book span,
.dashboard-pill {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.dashboard-book strong {
  margin: 0.25rem 0;
  color: var(--teal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-alert {
  border: 2px solid rgba(45, 115, 103, 0.22);
  border-radius: 1rem;
  color: var(--ink);
  background: #dceab0;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-stat {
  min-height: 9.5rem;
  padding: 1.15rem;
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 1.2rem;
  background: #fff8dc;
  box-shadow: 0 10px 0 rgba(45, 115, 103, 0.08);
}

.dashboard-stat i {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--coral);
}

.dashboard-stat span {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.dashboard-stat strong {
  display: block;
  color: var(--teal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.dashboard-stat.blue {
  background: #d9f0f4;
}

.dashboard-stat.pink {
  background: #ffd7e4;
}

.dashboard-stat.yellow {
  background: #ffe19a;
}

.dashboard-panel {
  height: 100%;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 1.25rem;
  background: rgba(255, 250, 240, 0.95);
  box-shadow: var(--shadow);
}

.dashboard-side-panel {
  background: #fff8dc;
}

.dashboard-panel-head {
  position: relative;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 3rem;
  margin-bottom: 1rem;
}

.dashboard-panel h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.dashboard-pill {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #ffd7e4;
}

.dashboard-table {
  margin-bottom: 0;
}

.dashboard-table th {
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.dashboard-table td,
.dashboard-table th {
  border-color: rgba(49, 68, 62, 0.13);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-width: 4.8rem;
  justify-content: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #fffaf0;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--olive);
}

.status-badge.pendente {
  color: var(--ink);
  background: var(--yellow);
}

.status-badge.pending {
  color: var(--ink);
  background: var(--yellow);
}

.status-badge.active {
  background: var(--olive);
}

.status-badge.approved {
  background: var(--olive);
}

.status-badge.inactive,
.status-badge.rejected {
  background: #6c757d;
}

.status-badge.overdue {
  background: var(--coral);
}

.status-badge.canceled {
  background: #6c757d;
}

.status-badge.nova {
  background: var(--coral);
}

.access-status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0;
}

.access-status-message {
  margin: 0.65rem 0 0;
  color: var(--ink);
  font-weight: 800;
}

.status-form-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(6.5rem, 0.8fr) minmax(8rem, 1fr) minmax(6rem, 0.8fr);
  gap: 0.45rem;
  width: 100%;
}

.dashboard-progress {
  min-width: 8rem;
  height: 1.35rem;
  border: 1px solid rgba(49, 68, 62, 0.14);
  border-radius: 999px;
  background: #fff1c9;
}

.dashboard-progress .progress-bar {
  border-radius: 999px;
  color: #fffaf0;
  font-size: 0.72rem;
  font-weight: 900;
  background: var(--teal);
}

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

.dashboard-agenda li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  border: 2px solid rgba(49, 68, 62, 0.14);
  border-radius: 1rem;
  background: #fffaf0;
}

.dashboard-agenda span {
  color: var(--coral);
  font-weight: 900;
}

@media (max-width: 991.98px) {
  .dashboard-hero,
  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-hero > div:first-child {
    grid-column: 1 / -1;
  }

  .admin-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .dashboard-login,
  .dashboard-shell {
    padding: 1.5rem 0 3rem;
  }

  .dashboard-page .navbar-brand {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .dashboard-page .club-navbar .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dashboard-page .ms-auto {
    width: 100%;
    justify-content: center;
    margin-left: 0 !important;
  }

  .dashboard-page .brand-mark {
    width: 46px;
  }

  .dashboard-page h1 {
    font-size: clamp(2.35rem, 13vw, 3.4rem);
  }

  .dashboard-hero,
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-panel-head {
    display: block;
  }

  .dashboard-pill {
    display: inline-flex;
    margin-top: 0.8rem;
  }

  .dashboard-table {
    min-width: 42rem;
  }
}

.flash-wrap {
  position: fixed;
  top: 6rem;
  left: 50%;
  z-index: 1100;
  transform: translateX(-50%);
}

.logged-nav {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  max-width: none;
}

.logged-nav .btn {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .logged-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.dashboard-tabs a {
  padding: 0.55rem 0.9rem;
  border: 2px solid rgba(49, 68, 62, 0.14);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06rem;
  text-decoration: none;
  text-transform: uppercase;
  background: #fffaf0;
}

.dashboard-tabs a:hover,
.dashboard-tabs a:focus {
  color: #fffaf0;
  background: var(--teal);
}

.dashboard-page-head {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.dashboard-page-head h1 {
  margin-bottom: 0.7rem;
}

.dashboard-page-head .lead {
  margin: 0;
}

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.admin-shortcut-card {
  display: grid;
  gap: 0.35rem;
  min-height: 13rem;
  padding: 1.2rem;
  border: 2px solid rgba(49, 68, 62, 0.18);
  border-radius: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  background: #fff8dc;
  box-shadow: 0 10px 0 rgba(45, 115, 103, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-shortcut-card:hover,
.admin-shortcut-card:focus {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 14px 0 rgba(216, 73, 63, 0.12);
}

.admin-shortcut-card i {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.3rem;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--coral);
}

.admin-shortcut-card span,
.overview-item span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.admin-shortcut-card strong,
.overview-item strong {
  color: var(--teal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.admin-shortcut-card small,
.overview-item small {
  line-height: 1.5;
}

.admin-shortcut-card.blue {
  background: #d9f0f4;
}

.admin-shortcut-card.pink {
  background: #ffd7e4;
}

.admin-shortcut-card.yellow {
  background: #ffe19a;
}

.admin-shortcut-card.green {
  background: #dceab0;
}

.overview-item {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  border: 2px solid rgba(49, 68, 62, 0.14);
  border-radius: 1rem;
  background: #fff8dc;
}

.overview-item.compact {
  background: #fffaf0;
}

.dashboard-grid-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.dashboard-grid-form .span-2 {
  grid-column: 1 / -1;
}

.dashboard-form textarea.form-control {
  border-radius: 1.1rem;
}

.contents-fieldset {
  display: contents;
}

.content-group-title {
  padding-top: 1rem;
  border-top: 1px solid rgba(49, 68, 62, 0.13);
}

.content-group-title:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.content-group-title h3 {
  margin: 0;
  color: var(--teal);
  font-size: 1.35rem;
}

.content-image-preview {
  max-width: 13rem;
  margin-top: 0.75rem;
}

.manager-permission-box,
.access-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.45rem;
  padding: 0.85rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: #fffaf0;
}

.manager-permission-box > span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  grid-column: span 3 / span 3;
}

.manager-permission-box label,
.access-checkboxes label {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.access-form {
  display: grid;
  gap: 0.5rem;
  min-width: 14rem;
}

.profile-update-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.75rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: #fffaf0;
}

.collapsible-panel {
  display: grid;
  gap: 1rem;
}

.collapsible-panel.is-collapsed {
  display: none;
}

.collapse-toggle,
.icon-action {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 2px solid rgba(216, 73, 63, 0.42);
  border-radius: 999px;
  color: var(--coral);
  background: #fffaf0;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.dashboard-panel-head .collapse-toggle {
  position: absolute;
  top: 0;
  right: 0;
}

.collapse-toggle:hover,
.icon-action:hover {
  background: #fff1c9;
  transform: translateY(-1px);
}

.collapse-toggle i,
.icon-action i {
  line-height: 1;
}

.icon-action {
  width: 2rem;
  height: 2rem;
}

.profile-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1rem;
}

.profile-detail-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: #fffaf0;
}

.profile-detail-card span,
.profile-update-card > span,
.profile-detail-card dt,
.profile-detail-form label {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.profile-detail-card h3,
.profile-detail-card p,
.profile-detail-card dl {
  margin: 0;
}

.profile-detail-card dl,
.profile-detail-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.profile-detail-form .span-2 {
  grid-column: 1 / -1;
}

.first-login-profile {
  margin-top: 0.4rem;
}

.profile-detail-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.public-meeting-grid {
  display: grid;
  gap: 1.2rem;
}

.public-meeting-card {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: rgba(255, 250, 240, 0.96);
  box-shadow: var(--shadow-soft);
}

.public-meeting-cover {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.image-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-lightbox-trigger img {
  display: block;
  width: 100%;
}

.public-meeting-cover > .image-lightbox-trigger img {
  width: 100%;
  border-radius: 0.8rem;
  object-fit: cover;
}

.public-meeting-cover .star-readout {
  justify-content: center;
  padding: 0.55rem;
  border-radius: 999px;
  background: #fffaf0;
}

.public-meeting-card span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.public-meeting-card h2 {
  margin: 0.2rem 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.form-select-role {
  width: 50%;
}
.form-select {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background-color: #fffdf5;
}

.form-select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 0.2rem rgba(216, 73, 63, 0.18);
}

.admin-agenda li {
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
}

.admin-agenda small {
  display: block;
  margin-top: 0.15rem;
}

.admin-agenda form {
  margin: 0;
}

.user-agenda li {
  grid-template-columns: 5.5rem minmax(0, 1fr);
}

.user-agenda p {
  margin: 0.35rem 0 0;
}

.dashboard-inline-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-inline-form .btn {
  justify-self: start;
}

.calendar-filter {
  display: grid;
  grid-template-columns: auto minmax(9rem, 1fr) minmax(7rem, 0.7fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.checkbox-line {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
}

.checkbox-line input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--coral);
}

.meeting-admin-list,
.completed-meeting-list {
  display: grid;
  gap: 1rem;
}

.meeting-admin-card,
.completed-meeting-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid rgba(49, 68, 62, 0.14);
  border-radius: 1.1rem;
  background: #fff8dc;
}

.meeting-admin-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.meeting-admin-head span,
.completed-meeting-card > span,
.meeting-mini-list span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.meeting-admin-head h3,
.completed-meeting-card h3 {
  margin: 0.2rem 0;
  color: var(--teal);
}

.meeting-admin-head p,
.completed-meeting-card p {
  margin: 0;
}

.meeting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.meeting-actions form {
  margin: 0;
}

.meeting-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.75rem;
}

.meeting-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 0.9rem;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 1.2rem;
  background: rgba(49, 68, 62, 0.82);
}

.image-lightbox.is-open {
  display: grid;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox img {
  max-width: min(92vw, 72rem);
  max-height: 86vh;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  color: var(--coral);
  background: #fffaf0;
  box-shadow: var(--shadow-soft);
}

.meeting-mini-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.meeting-mini-list article {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: #fff8dc;
}

.meeting-mini-list strong {
  color: var(--teal);
}

.discussion-box {
  padding: 0.9rem;
  border-radius: 1rem;
  background: #fffaf0;
}

.star-readout,
.star-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  align-items: center;
}

.star-readout img,
.star-picker img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.star-readout strong {
  margin-left: 0.35rem;
  color: var(--teal);
}

.rating-form {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.rating-form > label {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.star-picker label {
  cursor: pointer;
}

.star-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.poll-card {
  padding: 1rem;
  border: 2px solid rgba(49, 68, 62, 0.14);
  border-radius: 1.2rem;
  background: #fff8dc;
}

.poll-deadline {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  background: #fff1c9;
}

.selected-book-box {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 2px solid rgba(216, 73, 63, 0.22);
  border-radius: 1rem;
  background: #fffaf0;
}

.selected-book-box span,
.draw-history > strong,
.indication-admin-card > span,
.indication-card span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.indication-admin-card > span.person-name,
.indication-card span.person-name {
  letter-spacing: 0;
  text-transform: none;
}

.selected-book-box strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.roulette-form {
  display: grid;
  gap: 0.65rem;
}

.roulette-wheel {
  position: relative;
  display: grid;
  width: min(100%, 17rem);
  aspect-ratio: 1;
  margin: 1rem auto 0;
  place-items: center;
  overflow: hidden;
  border: 8px solid #fff1c9;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #efabc6 0 12.5%,
    #c9df82 12.5% 25%,
    #a8d8cf 25% 37.5%,
    #fff1c9 37.5% 50%,
    #efabc6 50% 62.5%,
    #c9df82 62.5% 75%,
    #a8d8cf 75% 87.5%,
    #fff1c9 87.5% 100%
  );
  box-shadow:
    inset 0 0 0 2px rgba(49, 68, 62, 0.12),
    0 14px 30px rgba(49, 68, 62, 0.14);
}

.roulette-wheel::before {
  content: "";
  position: absolute;
  top: -0.1rem;
  width: 0;
  height: 0;
  border-right: 0.8rem solid transparent;
  border-left: 0.8rem solid transparent;
  border-top: 1.25rem solid var(--coral);
  z-index: 2;
}

.roulette-wheel::after {
  content: "";
  position: absolute;
  width: 3.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffaf0;
  box-shadow: 0 0 0 2px rgba(49, 68, 62, 0.12);
}

.roulette-wheel span {
  position: absolute;
  width: 44%;
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  overflow-wrap: anywhere;
  transform: rotate(calc((360deg / var(--total, 1)) * var(--turn, 0)))
    translateY(-5.4rem);
  transform-origin: center;
}

.draw-history,
.indication-list,
.indication-admin-list,
.indication-history-list {
  display: grid;
  gap: 0.85rem;
}

.draw-history {
  margin-top: 1rem;
}

.draw-history article,
.indication-card,
.indication-admin-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: #fffaf0;
}

.indication-card.mine {
  border-color: rgba(216, 73, 63, 0.35);
  background: #fff1c9;
}

.indication-card strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.indication-card p,
.draw-history p {
  margin: 0;
}

.indication-admin-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.indication-list.compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.indication-history-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 1rem;
  background: #fff8dc;
}

.indication-history-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.indication-history-head span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.indication-history-head h3,
.indication-history-head p {
  margin: 0;
}

.indication-history-head strong {
  flex: 0 0 auto;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.78rem;
  background: #fff1c9;
}

.poll-result {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.poll-result > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.poll-result span {
  color: var(--coral);
  font-weight: 900;
}

.poll-option {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem;
  border: 2px solid rgba(49, 68, 62, 0.14);
  border-radius: 1rem;
  background: #fffaf0;
  cursor: pointer;
}

.poll-option input {
  accent-color: var(--coral);
}

.status-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  align-items: center;
}
.form-select-status {
  grid-column: span 2 / span 2;
}
.form-select-payment {
  grid-column: span 2 / span 2;
  grid-column-start: 3;
}
.btn-salvar {
  grid-row-start: 2;
}

.signup-request-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.signup-request-chip {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 2px solid rgba(216, 73, 63, 0.25);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 900;
  background: #fff1c9;
}

.signup-request-chip:hover,
.signup-request-chip:focus {
  color: #fffaf0;
  background: var(--coral);
}

.signup-card h1 {
  color: var(--teal);
}

.payment-panel {
  display: grid;
  align-content: center;
}

.pix-box,
.subscription-summary {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border: 2px dashed rgba(216, 73, 63, 0.38);
  border-radius: 1rem;
  background: #fff1c9;
}

.pix-box span,
.subscription-summary span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.pix-box strong {
  color: var(--teal);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.subscription-summary {
  margin-top: 1rem;
}

.subscription-summary strong {
  margin-bottom: 0.5rem;
  color: var(--teal);
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.subscription-actions form,
.inline-form {
  display: inline-flex;
  margin: 0;
}

.financial-stats .dashboard-stat strong {
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  overflow-wrap: anywhere;
}

.club-calendar-board {
  width: 100%;
  padding: 0.65rem;
  border: 2px solid rgba(49, 68, 62, 0.12);
  border-radius: 0.85rem;
  background: #fff4e8;
  overflow: hidden;
}

.club-calendar-title {
  display: block;
}

.club-calendar-title .club-calendar-sidebar {
  display: none;
}

.club-calendar-title > h2 {
  margin: 0 0 0.8rem;
  text-align: center;
  color: var(--ink);
  font-size: clamp(2.05rem, 14vw, 3.3rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.club-calendar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.club-calendar-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.calendar-note {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 8.5rem;
  padding: 1.45rem 0.65rem 0.7rem;
  text-align: center;
}

.calendar-note span {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 1rem);
  min-width: 7rem;
  padding: 0.38rem 0.7rem;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  font-family: "Nunito", sans-serif;
  letter-spacing: 0.04rem;
  text-transform: uppercase;
  background: #fff1c9;
  box-shadow: 0 8px 0 rgba(247, 204, 104, 0.25);
  transform: translateX(-50%) rotate(-1deg);
}

.calendar-theme-note {
  background: var(--mint);
}

.calendar-theme-note p {
  width: min(100%, 12.5rem);
  margin: 0 auto;
  color: rgba(49, 68, 62, 0.96);
  font-family: "Fuzzy Bubbles", "Nunito", sans-serif;
  font-size: clamp(0.9rem, 3.2vw, 1.02rem);
  font-weight: 700;
  line-height: 1.42;
  text-align: left;
  text-wrap: pretty;
}

.calendar-book-note {
  background: #efabc6;
}

.calendar-book-note strong {
  color: var(--coral);
  font-family: "Fuzzy Bubbles", "Nunito", sans-serif;
  font-size: clamp(0.92rem, 4vw, 1.08rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.calendar-book-note small {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.calendar-book-note img {
  width: min(6.5rem, 56%);
  margin-top: 0.75rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(49, 68, 62, 0.18));
}

.book-cover-preview {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  padding: 0.85rem;
  border: 2px dashed rgba(216, 73, 63, 0.28);
  border-radius: 1rem;
  background: #fff1c9;
}

.book-cover-preview span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.book-cover-preview img {
  width: 6rem;
  max-height: 8rem;
  object-fit: contain;
}

.club-calendar-main {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.35rem;
  min-width: 0;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.22rem;
}

.calendar-weekdays div {
  display: grid;
  min-width: 0;
  min-height: 2rem;
  place-items: center;
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 800;
  background: #fff1c9;
}

.weekday-full {
  display: none;
}

.weekday-short {
  display: block;
}

.calendar-day {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 3.8rem;
  padding: 1rem 0.18rem 0.28rem;
  background: #c9df82;
  overflow: hidden;
}

.calendar-day.muted {
  opacity: 0.72;
}

.calendar-day-number {
  position: absolute;
  top: 0.12rem;
  right: 0.12rem;
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 900;
  background: #fffaf0;
}

.calendar-event {
  width: 100%;
  display: grid;
  gap: 0;
  justify-items: center;
  color: var(--ink);
  text-align: center;
  justify-self: center;
  min-width: 0;
}

.calendar-event.leitura {
  padding: 0.12rem;
  border-radius: 0.25rem;
}

.calendar-event.encontro {
  padding: 0.12rem;
  border-radius: 0.25rem;
  color: #fffaf0;
}

.calendar-event.outros {
  padding: 0.12rem;
  border-radius: 0.25rem;
}

.calendar-event.aniversario {
  padding: 0.12rem;
  border-radius: 0.25rem;
  color: var(--ink);
  background: #ffd7e4;
}

.calendar-event strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(0.48rem, 2.3vw, 0.68rem);
  font-family: "Fuzzy Bubbles", sans-serif;
  line-height: 1.08;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.calendar-event small {
  font-family: "Fuzzy Bubbles", sans-serif;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

@media (min-width: 480px) {
  .club-calendar-board {
    padding: 0.85rem;
  }

  .club-calendar-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 0.35rem;
  }

  .calendar-weekdays div {
    min-height: 2.35rem;
    font-size: 0.74rem;
  }

  .calendar-day {
    min-height: 4.8rem;
    padding: 1.12rem 0.32rem 0.4rem;
  }

  .calendar-day-number {
    width: 1.18rem;
    height: 1.18rem;
    font-size: 0.66rem;
  }

  .calendar-event strong {
    font-size: clamp(0.62rem, 1.9vw, 0.78rem);
  }

  .calendar-event small {
    font-size: 0.62rem;
  }
}

@media (min-width: 768px) {
  .club-calendar-board {
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 1.2rem;
  }

  .club-calendar-title {
    display: grid;
    grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
    align-items: stretch;
  }

  .club-calendar-title .club-calendar-sidebar {
    display: grid;
  }

  .club-calendar-title > h2 {
    margin: 0 0 1.4rem;
    font-size: clamp(3rem, 6vw, 4rem);
    line-height: 0.86;
  }

  .club-calendar-layout {
    grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
  }

  .club-calendar-sidebar {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
  }

  .calendar-note {
    min-height: 13.5rem;
    padding: 1.45rem 0.85rem 0.85rem;
  }

  .calendar-note span {
    min-width: 8.5rem;
    padding: 0.34rem 0.75rem;
    font-size: 0.68rem;
    letter-spacing: 0.04rem;
  }

  .calendar-theme-note p {
    width: min(100%, 11.25rem);
    font-size: clamp(0.9rem, 1.25vw, 1.04rem);
    line-height: 1.46;
  }

  .calendar-book-note strong {
    font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  }

  .calendar-book-note img {
    width: min(8.5rem, 70%);
    margin-top: 1rem;
  }

  .club-calendar-main {
    gap: 0.75rem;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 0.55rem;
  }

  .calendar-weekdays div {
    min-height: 3.2rem;
    font-size: 0.98rem;
  }

  .weekday-full {
    display: block;
  }

  .weekday-short {
    display: none;
  }

  .calendar-day {
    min-height: 6.7rem;
    padding: 1.45rem 0.75rem 0.65rem;
  }

  .calendar-day-number {
    top: 0.18rem;
    right: 0.18rem;
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.78rem;
  }

  .calendar-event {
    width: min(100%, 7.5rem);
    gap: 0.1rem;
  }

  .calendar-event strong {
    font-size: clamp(0.78rem, 0.95vw, 0.98rem);
  }

  .calendar-event small {
    font-size: 0.74rem;
  }
}

@media (max-width: 767.98px) {
  .flash-wrap {
    top: 7rem;
    width: min(100% - 1rem, 34rem);
  }

  .dashboard-page-head {
    display: grid;
  }

  .admin-shortcuts {
    grid-template-columns: 1fr;
  }

  .dashboard-grid-form,
  .dashboard-inline-form,
  .status-form,
  .calendar-filter {
    grid-template-columns: 1fr;
  }

  .public-meeting-card {
    grid-template-columns: 1fr;
  }

  .meeting-admin-head {
    display: grid;
  }

  .admin-agenda li,
  .user-agenda li {
    grid-template-columns: 1fr;
  }
}
