﻿:root {
  --ink: #f4f0ea;
  --muted: #b9afa4;
  --line: #302b27;
  --paper: #0f0e0d;
  --surface: #191715;
  --smoke: #141719;
  --charcoal: #090909;
  --red: #a93024;
  --gold: #d69c39;
  --gold-soft: #2a2112;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #0f0e0d;
}

a {
  color: inherit;
  text-decoration: none;
}

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

@keyframes brand-logo-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(214, 156, 57, 0);
  }

  25% {
    transform: translateY(-4px) rotate(-4deg) scale(1.04);
    filter: brightness(1.08);
  }

  50% {
    transform: translateY(-2px) rotate(3deg) scale(1.02);
    filter: brightness(1.14);
    box-shadow: 0 10px 26px rgba(214, 156, 57, 0.24);
  }

  75% {
    transform: translateY(-4px) rotate(-2deg) scale(1.04);
    filter: brightness(1.08);
  }
}

@keyframes site-intro-logo {
  0% {
    opacity: 0;
    transform: scale(0.68);
    filter: brightness(0.45) drop-shadow(0 0 0 rgba(255, 99, 32, 0));
  }

  58% {
    opacity: 1;
    transform: scale(1.06);
    filter: brightness(1.18) drop-shadow(0 0 30px rgba(255, 99, 32, 0.72));
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 14px 34px rgba(255, 99, 32, 0.38));
  }
}

@keyframes site-intro-name {
  0%,
  38% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes site-intro-name-mobile {
  0%,
  38% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes site-intro-logo-mobile {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.68);
    filter: brightness(0.45) drop-shadow(0 0 0 rgba(255, 99, 32, 0));
  }

  58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
    filter: brightness(1.18) drop-shadow(0 0 30px rgba(255, 99, 32, 0.72));
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1) drop-shadow(0 14px 34px rgba(255, 99, 32, 0.38));
  }
}

@keyframes site-intro-light {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }

  55% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.34;
    transform: scale(1.16);
  }
}

@keyframes site-intro-light-mobile {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }

  55% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.34;
    transform: translate(-50%, -50%) scale(1.16);
  }
}

@keyframes site-intro-leave {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px;
  overflow: hidden;
  color: #fff5d6;
  background: #050505;
}

.site-intro img {
  position: relative;
  width: min(460px, 76vw);
  max-height: 70vh;
  object-fit: contain;
  animation: site-intro-logo 1.75s ease-out both;
}

.site-intro strong {
  position: relative;
  width: min(92vw, 760px);
  color: #fff5d6;
  font-family: "Amor", "Rye", "Copperplate Gothic Bold", Impact, serif;
  font-size: clamp(22px, 4.6vw, 48px);
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  animation: site-intro-name 1.8s ease-out both;
}

.site-intro-light {
  position: absolute;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 99, 32, 0.38), rgba(255, 99, 32, 0.12) 46%, transparent 72%);
  animation: site-intro-light 2.2s ease-in-out both;
}

.site-intro.is-leaving {
  animation: site-intro-leave 0.55s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .site-intro img,
  .site-intro strong,
  .site-intro-light {
    animation: none;
  }
}

@media (max-width: 640px) {
  .site-intro {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .site-intro img {
    position: absolute;
    top: 45%;
    left: 50%;
    width: min(80vw, 350px);
    max-height: 52vh;
    animation-name: site-intro-logo-mobile;
  }

  .site-intro strong {
    position: absolute;
    top: calc(45% + min(42vw, 176px));
    right: 18px;
    left: 18px;
    width: auto;
    max-width: none;
    font-size: clamp(18px, 6.2vw, 28px);
    white-space: normal;
    overflow-wrap: normal;
    animation-name: site-intro-name-mobile;
  }

  .site-intro-light {
    top: 45%;
    left: 50%;
    width: min(96vw, 430px);
    animation-name: site-intro-light-mobile;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(12, 11, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 64px;
  height: 64px;
  display: block;
  object-fit: cover;
  background: transparent;
  border: none;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  animation: brand-logo-float 2.4s ease-in-out infinite;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #a99f94;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--red);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.call-button,
.instagram-button,
.primary-action,
.secondary-action,
.location-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.call-button,
.primary-action,
.location-actions a:first-child {
  color: #fff;
  background: linear-gradient(135deg, #ffd15a 0%, #ff7a18 34%, #d62f1f 68%, #7b130d 100%);
  box-shadow: 0 10px 24px rgba(214, 47, 31, 0.28);
}

.instagram-button {
  color: #fff;
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 48%, #6228d7 100%);
  box-shadow: 0 10px 24px rgba(238, 42, 123, 0.24);
}

.secondary-action,
.location-actions a:last-child {
  color: #f4ead7;
  background: var(--gold-soft);
  border: 1px solid #6c4c19;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 77px);
  align-items: end;
  overflow: hidden;
  padding: clamp(92px, 16vh, 160px) clamp(18px, 4vw, 58px) clamp(54px, 8vh, 92px);
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.86), rgba(10, 11, 12, 0.45) 52%, rgba(10, 11, 12, 0.16)),
    linear-gradient(0deg, rgba(10, 11, 12, 0.74), rgba(10, 11, 12, 0.08) 56%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 108px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: #edf2f4;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #090909;
  color: #fff;
}

.values div {
  min-height: 112px;
  padding: 26px clamp(18px, 4vw, 58px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.values span {
  display: block;
  margin-top: 6px;
  color: #cbd3d8;
}

.section,
.split-section,
.members-area,
.gallery-section,
.agenda-band,
.footer {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 58px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading span,
.compact span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-card h3,
.story-card p {
  margin-right: 20px;
  margin-left: 20px;
}

.story-card h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 21px;
}

.story-card p {
  margin-top: 0;
  margin-bottom: 22px;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--smoke);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  padding: 22px;
  background: #1b1f21;
  border: 1px solid #30383c;
  border-radius: 8px;
}

.feature-list span {
  grid-row: span 2;
  color: var(--red);
  font-weight: 900;
  font-size: 22px;
}

.feature-list strong {
  font-size: 20px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
}

.agenda-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(23, 21, 19, 0.9), rgba(23, 21, 19, 0.9)),
    url("agenda.png") center / cover;
}

.agenda-band p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: #d9e2e5;
  font-size: 18px;
}

.gallery-section {
  background:
    radial-gradient(circle at top, rgba(214, 67, 28, 0.2), transparent 34%),
    #111315;
}

.gallery-heading {
  display: grid;
  justify-items: center;
  justify-content: center;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.gallery-logo-frame {
  display: block;
  width: clamp(118px, 18vw, 210px);
  aspect-ratio: 1;
  margin-bottom: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 245, 214, 0.72);
  border-radius: 50%;
  background: #050505;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.52));
}

.gallery-logo-frame img {
  display: block;
  width: 112%;
  height: 100%;
  object-fit: cover;
  transform: translateX(4px);
}

.gallery-title {
  font-family: "Copperplate Gothic Bold", "Engravers MT", Impact, "Arial Black", sans-serif;
  font-size: clamp(44px, 7.6vw, 92px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  color: #fff5d6;
  text-shadow:
    0 3px 0 #0b0b0b,
    0 0 22px rgba(255, 92, 31, 0.45);
}

.instagram-gallery {
  display: grid;
  grid-template-columns: repeat(5, 345px);
  gap: 14px;
  justify-content: center;
}

.instagram-card {
  position: relative;
  display: grid;
  width: 345px;
  height: 405px;
  background: #000;
  border: 1px solid #30383c;
  border-radius: 8px;
  overflow: hidden;
}

.instagram-card iframe {
  width: 112%;
  height: 900px;
  margin-left: -6%;
  background: #000;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  scrollbar-width: none;
  pointer-events: none;
  transform: translateY(-86px);
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-card iframe::-webkit-scrollbar {
  display: none;
}

.instagram-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 8px;
  cursor: pointer;
}

.instagram-card:focus-within {
  outline: 3px solid rgba(214, 156, 57, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1840px) {
  .instagram-gallery {
    grid-template-columns: repeat(4, 345px);
  }
}

@media (max-width: 1480px) {
  .instagram-gallery {
    grid-template-columns: repeat(3, 345px);
  }
}

@media (max-width: 1120px) {
  .instagram-gallery {
    grid-template-columns: repeat(2, 345px);
  }
}

.meeting-box {
  width: 100%;
  min-width: 0;
  padding: 24px;
  background: #171513;
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.meeting-box span {
  color: var(--muted);
}

.meeting-box strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  overflow-wrap: anywhere;
}

.meeting-box p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.members-area {
  background:
    linear-gradient(rgba(15, 14, 13, 0.94), rgba(15, 14, 13, 0.96)),
    url("logo-issi.png") right 8% center / min(420px, 72vw) no-repeat;
}

.member-access {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.member-login,
.member-panel {
  background: rgba(25, 23, 21, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.member-login {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.member-login label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-login input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #0f0e0d;
  border: 1px solid #3b332d;
  border-radius: 8px;
  outline: none;
}

.member-login input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 156, 57, 0.16);
}

.member-login button,
.member-panel-header button {
  min-height: 44px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd15a 0%, #ff7a18 34%, #d62f1f 68%, #7b130d 100%);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.login-message {
  min-height: 20px;
  margin: 0;
  color: #ffb4a9;
  font-size: 14px;
}

.member-panel {
  display: none;
  gap: 18px;
  padding: 22px;
}

.member-access[data-logged="true"] .member-login {
  display: none;
}

.member-access[data-logged="true"] .member-panel {
  display: grid;
}

.member-access .public-member-call {
  display: grid;
}

.member-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.member-panel-header h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.member-panel-header button {
  padding: 0 16px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.member-grid article {
  padding: 18px;
  background: #111315;
  border: 1px solid #30383c;
  border-radius: 8px;
}

.member-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.member-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.member-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.members-page {
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    linear-gradient(rgba(10, 13, 15, 0.94), rgba(8, 11, 13, 0.98)),
    url("hero-colete-issi.png") center / cover fixed;
}

.member-logout-button {
  border: 0;
}

.member-dashboard {
  display: grid;
  gap: 22px;
  width: 100%;
  max-width: 1540px;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
  padding: clamp(24px, 4vw, 52px);
}

.member-welcome {
  order: 1;
}

.notification-prompt {
  order: 2;
}

.member-shortcuts {
  order: 3;
}

#resumo {
  order: 4;
}

#encounter-manager {
  order: 5;
}

#financeiro {
  order: 6;
}

#atas {
  order: 7;
}

#documentos {
  order: 8;
}

#meeting-manager {
  order: 9;
}

#monthly-manager {
  order: 10;
}

#gallery-manager {
  order: 11;
}

#admin-area {
  order: 12;
}

.members-page .topbar {
  background: rgba(8, 11, 13, 0.97);
  border-bottom-color: #26333a;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.members-page .secondary-action {
  border-color: #3b4b52;
}

.member-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 190px);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  min-height: 250px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(110deg, rgba(9, 14, 17, 0.98), rgba(18, 29, 34, 0.9)),
    url("hero-colete-issi.png") center / cover;
  border: 1px solid #2c4149;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.member-welcome h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
}

.member-welcome p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.member-welcome img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.38);
}

.member-profile-card {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.profile-edit-link {
  width: min(220px, 100%);
}

.notification-action {
  width: min(220px, 100%);
  border: 1px solid rgba(214, 156, 57, 0.34);
  cursor: pointer;
}

.notification-action.is-active {
  color: #061510;
  background: #39c982;
  border-color: #39c982;
}

.notification-help {
  width: min(260px, 100%);
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.notification-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(15, 34, 28, 0.97), rgba(10, 16, 18, 0.98)),
    radial-gradient(circle at 12% 0%, rgba(57, 201, 130, 0.22), transparent 34%);
  border: 1px solid rgba(57, 201, 130, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.notification-prompt[hidden] {
  display: none;
}

.notification-prompt strong {
  display: block;
  color: #fff8df;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.notification-prompt p {
  max-width: 760px;
  margin: 7px 0 0;
  color: #cfd8d3;
  font-size: 16px;
}

.notification-prompt-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.notification-prompt-actions button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  color: #061510;
  background: #39c982;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.notification-prompt-actions button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(57, 201, 130, 0.18);
}

.notification-prompt-actions button:active {
  transform: translateY(1px) scale(0.98);
}

.notification-prompt-actions button:last-child {
  color: #f5e8d0;
  background: #202629;
  border-color: #37454a;
}

.app-install-prompt {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: min(560px, calc(100vw - 28px));
  padding: 16px;
  color: #f9f1df;
  background:
    linear-gradient(135deg, rgba(12, 16, 18, 0.97), rgba(31, 19, 12, 0.97)),
    radial-gradient(circle at 0 0, rgba(255, 178, 60, 0.24), transparent 38%);
  border: 1px solid rgba(214, 156, 57, 0.42);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: app-install-enter 0.28s ease both;
}

.app-install-prompt.is-leaving {
  animation: app-install-leave 0.22s ease both;
}

.app-install-prompt strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.app-install-prompt p {
  margin: 6px 0 0;
  color: #d8cec0;
  font-size: 14px;
  line-height: 1.35;
}

.app-install-prompt small {
  display: block;
  margin-top: 8px;
  color: #ffce72;
  font-size: 12px;
  line-height: 1.3;
}

.app-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-install-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(214, 156, 57, 0.35);
  border-radius: 7px;
  color: #120d08;
  background: linear-gradient(135deg, #ffd16b, #d69c39);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.app-install-actions button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(214, 156, 57, 0.2);
}

.app-install-actions button:active {
  transform: translateY(1px) scale(0.98);
}

.app-install-actions button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.app-install-actions button:last-child {
  color: #f9f1df;
  background: #202629;
  border-color: #3a464b;
}

@keyframes app-install-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes app-install-leave {
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.member-shortcuts {
  position: sticky;
  top: 96px;
  z-index: 18;
  display: flex;
  gap: 10px;
  padding: 10px;
  overflow-x: auto;
  background: rgba(13, 15, 16, 0.96);
  border: 1px solid #30383c;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  scrollbar-width: thin;
}

.member-shortcuts a {
  min-width: 148px;
  min-height: 64px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  gap: 4px;
  padding: 10px 14px;
  color: #f5e8d0;
  background: #202629;
  border: 1px solid #343e42;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.member-shortcuts a strong {
  color: inherit;
  font-size: 15px;
  line-height: 1;
}

.member-shortcuts a span {
  color: #aeb8bc;
  font-size: 12px;
  line-height: 1.2;
}

.member-shortcuts a:first-child {
  color: #061510;
  background: #39c982;
  border-color: #39c982;
}

.member-shortcuts a:first-child span {
  color: rgba(6, 21, 16, 0.76);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.meeting-spotlight {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10, 31, 40, 0.98), rgba(15, 22, 26, 0.96)) !important;
  border-left: 4px solid #37b4d4 !important;
}

.meeting-spotlight::after {
  position: absolute;
  right: -50px;
  bottom: -76px;
  width: 190px;
  height: 190px;
  content: "";
  border: 24px solid rgba(55, 180, 212, 0.1);
  border-radius: 50%;
}

.dashboard-grid article,
.member-notes,
.monthly-manager,
.meeting-manager,
.encounter-manager,
.documents-panel,
.gallery-manager,
.admin-area {
  padding: 22px;
  background: rgba(17, 22, 25, 0.96);
  border: 1px solid #2d393e;
  border-radius: 8px;
}

.dashboard-grid span {
  color: #73d8ee;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.meeting-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meeting-label svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

.dashboard-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pix-payment-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  color: #f5e8d0;
  background: rgba(9, 35, 27, 0.72);
  border: 1px solid rgba(57, 201, 130, 0.42);
  border-radius: 8px;
}

.pix-payment-box img {
  width: clamp(116px, 18vw, 170px);
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  border: 4px solid #fff;
  border-radius: 8px;
}

.pix-payment-box div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.pix-payment-box p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(520px, 100%);
  margin: 0;
  text-align: justify;
}

.pix-payment-box span {
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

.pix-payment-box strong {
  color: #70e0a7;
  font-size: clamp(20px, 2.6vw, 30px);
  text-align: right;
}

.pix-payment-box button {
  min-height: 42px;
  padding: 0 16px;
  color: #061510;
  background: #39c982;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

@media (min-width: 861px) {
  .member-notes {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
    gap: clamp(28px, 4vw, 64px);
    padding: clamp(30px, 4vw, 54px);
  }

  .member-notes .section-heading {
    max-width: none;
    margin-bottom: 0;
  }

  .member-notes .announcements-grid {
    align-self: stretch;
    margin-top: 6px;
  }

  .meeting-manager {
    padding: clamp(30px, 4vw, 54px);
  }

  .meeting-manager .section-heading {
    display: grid;
    grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 60px);
    align-items: end;
    max-width: none;
  }

  .meeting-manager .section-heading .eyebrow,
  .meeting-manager .section-heading h2 {
    grid-column: 1;
  }

  .meeting-manager .section-heading span {
    grid-column: 2;
    margin-top: 0;
    font-size: 22px;
  }

  .meeting-manager .admin-layout {
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 3vw, 48px);
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
}

.operational-panel {
  scroll-margin-top: 92px;
  border-top: 3px solid #3d5660;
}

.meeting-manager {
  border-top-color: #37b4d4;
}

.encounter-manager {
  border-top-color: #d69c39;
}

.monthly-manager {
  border-top-color: #ffcf4a;
}

.gallery-manager {
  border-top-color: #39c982;
}

.admin-area {
  border-top-color: #a9bcc3;
}

.management-page {
  gap: 28px;
}

.management-page .member-topbar {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 12px 16px;
  background: rgba(7, 10, 12, 0.92);
  border: 1px solid rgba(214, 156, 57, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.management-page .member-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.management-page .member-brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
  border-radius: 50%;
}

.management-page .member-brand strong,
.management-page .member-brand span {
  display: block;
}

.management-page .member-brand strong {
  color: #fff7df;
  font-size: 18px;
  line-height: 1.1;
}

.management-page .member-brand span {
  color: var(--muted);
  font-size: 13px;
}

.management-page .member-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.management-hero {
  order: 3;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(8, 13, 16, 0.92), rgba(18, 26, 30, 0.74)),
    radial-gradient(circle at 78% 18%, rgba(214, 156, 57, 0.16), transparent 32%);
  border: 1px solid rgba(214, 156, 57, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.management-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff7df;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.95;
}

.management-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.management-menu {
  order: 2;
  position: sticky;
  top: 12px;
  z-index: 8;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.management-menu a.is-current {
  color: #08100d;
  background: linear-gradient(135deg, #49d28e, #21b66d);
  border-color: rgba(73, 210, 142, 0.8);
}

.management-page #management-content {
  order: 4;
}

.management-single-form {
  max-width: 760px;
}

.management-users {
  margin-top: 18px;
}

.users-management-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.users-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.users-panel-header h3 {
  margin: 0;
}

.user-editor-panel {
  min-width: 0;
}

.user-editor-panel .edit-user-form {
  padding: 18px;
  background: rgba(11, 16, 19, 0.84);
  border: 1px solid #2e3d43;
  border-radius: 8px;
}

.user-editor-panel .edit-user-form h3 {
  margin-bottom: 2px;
}

.user-photo-editor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid #26363c;
  border-radius: 10px;
}

.user-photo-editor img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 1px solid rgba(226, 168, 50, 0.5);
  border-radius: 999px;
  background: #040607;
}

.photo-upload-button {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  cursor: pointer;
}

.photo-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  gap: 10px;
}

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

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.user-editor-panel .admin-form input[type="text"],
.user-editor-panel .admin-form input[type="password"],
.user-editor-panel .admin-form input[type="url"],
.user-editor-panel .admin-form input[type="email"],
.user-editor-panel .admin-form input[type="tel"],
.user-editor-panel .admin-form input[type="number"],
.user-editor-panel .admin-form input[type="month"],
.user-editor-panel .admin-form input[type="date"],
.user-editor-panel .admin-form input[type="time"],
.user-editor-panel .admin-form select {
  min-height: 38px;
}

.user-editor-panel .admin-form textarea {
  min-height: 70px;
}

.user-editor-panel .admin-form fieldset {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 12px;
}

.user-editor-panel .admin-form fieldset legend {
  grid-column: 1 / -1;
}

.user-filter-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #0a1013;
  border: 1px solid #31434a;
  border-radius: 8px;
}

.gallery-admin-row {
  grid-template-columns: 76px minmax(0, 1fr) auto;
}

.gallery-admin-thumb {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #31434a;
  background: #030506;
}

.gallery-admin-thumb-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 6px;
  background:
    linear-gradient(145deg, rgba(12, 17, 19, 0.96), rgba(37, 22, 13, 0.9)),
    radial-gradient(circle at 50% 20%, rgba(255, 184, 64, 0.18), transparent 58%);
}

.gallery-admin-thumb-placeholder img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.gallery-admin-thumb-placeholder span {
  color: #ffcf4a;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-admin-thumb-placeholder small {
  max-width: 64px;
  overflow: hidden;
  color: rgba(255, 245, 214, 0.78);
  font-size: 8px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operational-panel > .section-heading {
  max-width: 900px;
}

.operational-panel .admin-form,
.operational-panel .users-list {
  padding: 18px;
  background: rgba(11, 16, 19, 0.84);
  border: 1px solid #2e3d43;
  border-radius: 8px;
}

.operational-panel .admin-form h3,
.operational-panel .users-list h3 {
  margin: 0 0 4px;
  color: #fff5d6;
  font-size: 20px;
}

@media (min-width: 861px) {
  .monthly-manager .admin-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monthly-manager .users-list {
    grid-column: 1 / -1;
  }

  .admin-area .admin-layout {
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  }

  .admin-area > .admin-layout > .admin-form {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .admin-area .edit-user-form {
    padding: 18px;
    background: rgba(11, 16, 19, 0.84);
    border: 1px solid #2e3d43;
  }
}

.groups-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.gallery-admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-form,
.users-list {
  display: grid;
  align-content: start;
  gap: 10px;
}

.admin-form label,
.admin-form legend {
  color: #8fc7d4;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="url"],
.admin-form input[type="email"],
.admin-form input[type="tel"],
.admin-form input[type="number"],
.admin-form input[type="month"],
.admin-form input[type="date"],
.admin-form input[type="time"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #0a1013;
  border: 1px solid #31434a;
  border-radius: 8px;
}

.admin-form textarea {
  min-height: 94px;
  padding-top: 12px;
  resize: vertical;
}

.monthly-fields {
  display: grid;
  gap: 8px;
}

.admin-form fieldset {
  display: grid;
  gap: 8px;
  margin: 6px 0;
  padding: 14px;
  border: 1px solid #31434a;
  border-radius: 8px;
}

.admin-form fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.admin-form .inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
}

.group-user-options {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

.group-user-options small {
  color: var(--muted);
}

.admin-form button,
.user-row button,
.user-filter-input {
  min-height: 40px;
}

.admin-form button,
.user-row button {
  color: #fff;
  font-weight: 900;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.inline-user-form .form-actions button[type="submit"] {
  color: #06130d;
  background: #25c26e;
}

.inline-user-form .form-actions button[type="submit"]:hover {
  background: #31d87f;
}

.inline-user-form .form-actions .danger-action {
  color: #fff;
  background: var(--red);
}

.inline-user-form .form-actions .danger-action:hover {
  background: #c0392f;
}

.call-button,
.instagram-button,
.primary-action,
.secondary-action,
.location-actions a,
.footer-links a,
.member-shortcuts a,
.admin-form button,
.user-row button,
.gallery-link-button,
.gallery-upload-button,
.gallery-more-button,
.player-float-button {
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    filter 0.16s ease;
}

.call-button:hover,
.instagram-button:hover,
.primary-action:hover,
.secondary-action:hover,
.location-actions a:hover,
.footer-links a:hover,
.member-shortcuts a:hover,
.admin-form button:hover,
.user-row button:hover,
.gallery-link-button:hover,
.gallery-upload-button:hover,
.gallery-more-button:hover,
.player-float-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.call-button:active,
.instagram-button:active,
.primary-action:active,
.secondary-action:active,
.location-actions a:active,
.footer-links a:active,
.member-shortcuts a:active,
.admin-form button:active,
.user-row button:active,
.gallery-link-button:active,
.gallery-upload-button:active,
.gallery-more-button:active,
.player-float-button:active {
  transform: translateY(1px) scale(0.98);
  filter: brightness(0.96);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-link-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 8px;
}

.gallery-row {
  align-items: stretch;
}

.gallery-post-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gallery-thumb {
  position: relative;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  background: #050505;
  border: 1px solid #30383c;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 345px;
  height: 405px;
  overflow: hidden;
  background: #000;
  transform: scale(0.215);
  transform-origin: top left;
}

.gallery-thumb-preview iframe {
  width: 112%;
  height: 900px;
  margin-left: -6%;
  border: 0;
  background: #000;
  pointer-events: none;
  transform: translateY(-86px);
}

.gallery-upload-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #fff;
  background: #30383c;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.gallery-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.secondary-admin-button {
  background: #30383c !important;
}

#show-create-user {
  width: fit-content;
  min-width: 140px;
  min-height: 40px;
  justify-self: start;
  align-self: start;
  padding: 0 16px;
}

.form-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions {
  justify-content: flex-end;
}

.edit-user-form[hidden] {
  display: none;
}

.users-list h3 {
  margin: 0;
  font-size: 24px;
}

#users-list {
  display: grid;
  gap: 10px;
}

.user-filter-input {
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  background: #0a1013;
  border: 1px solid #31434a;
  border-radius: 8px;
}

.gallery-list {
  display: grid;
  gap: 10px;
}

.documents-admin-area {
  margin-bottom: 18px;
}

.documents-grid {
  display: grid;
  gap: 12px;
}

.document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #101417;
  border: 1px solid #2b353a;
  border-radius: 8px;
}

.document-card strong,
.document-card p,
.document-card small {
  display: block;
}

.document-card strong {
  color: var(--ink);
  font-size: 22px;
}

.document-card p {
  margin-top: 6px;
  color: #d8d0c7;
}

.document-card small {
  margin-top: 8px;
  color: var(--muted);
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.document-actions button {
  min-height: 40px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.minutes-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(150px, 0.8fr) minmax(130px, 0.7fr) minmax(110px, 0.6fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  background: rgba(10, 16, 19, 0.86);
  border: 1px solid #2b353a;
  border-radius: 10px;
}

.minutes-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.minutes-filter-form input,
.minutes-filter-form select {
  min-height: 46px;
  width: 100%;
  color: var(--ink);
  background: #090d10;
  border: 1px solid #33454c;
  border-radius: 8px;
}

.minutes-filter-form button {
  min-height: 46px;
  padding: 0 22px;
  color: #0b0d0f;
  font-weight: 950;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.minute-card {
  border-color: rgba(226, 166, 45, 0.36);
}

.minute-preview {
  max-width: 70ch;
  padding: 12px;
  background: rgba(226, 166, 45, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
}

.minute-viewer-page {
  min-height: 100vh;
}

.minute-viewer-panel {
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 190px);
}

.minute-viewer-frame {
  width: 100%;
  min-height: 72vh;
  background: #f5f2ec;
  border: 1px solid #31434a;
  border-radius: 8px;
}

.monthly-list {
  display: grid;
  gap: 10px;
}

.financial-summary-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.financial-summary-grid article {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(16, 31, 28, 0.96), rgba(10, 14, 17, 0.96));
  border: 1px solid rgba(57, 201, 130, 0.42);
  border-radius: 10px;
}

.financial-summary-grid span,
.financial-summary-grid strong,
.financial-summary-grid small {
  display: block;
}

.financial-summary-grid span {
  color: #73d8ee;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.financial-summary-grid strong {
  margin-top: 6px;
  color: #6df0aa;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.financial-summary-grid small {
  margin-top: 8px;
  color: #d5cdc4;
  font-size: 15px;
}

#dues-list {
  display: grid;
  gap: 10px;
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.financial-member-group {
  grid-column: 1 / -1;
  overflow: hidden;
  background: rgba(10, 14, 17, 0.96);
  border: 1px solid #334047;
  border-radius: 10px;
}

.financial-member-group summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
}

.financial-member-group summary::-webkit-details-marker {
  display: none;
}

.financial-member-group summary strong,
.financial-member-group summary small {
  display: block;
}

.financial-member-group summary strong {
  color: #fff5d6;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.financial-member-group summary small {
  margin-top: 4px;
  color: #cfc6bb;
  font-size: 15px;
}

.financial-member-group summary em {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #0b100d;
  font-style: normal;
  font-weight: 900;
  background: #e2a832;
  border-radius: 999px;
}

.financial-member-group[open] summary {
  border-bottom: 1px solid #334047;
}

.financial-member-group[open] summary em {
  color: #fff;
  background: #a93024;
}

.financial-member-group[open] summary em::before {
  content: "Fechar";
  font-size: 0;
}

.financial-member-group[open] summary em {
  font-size: 0;
}

.financial-member-group[open] summary em::after {
  content: "Fechar";
  font-size: 14px;
}

.financial-member-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.compact-pendency-card {
  min-height: 0;
}

.announcement-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.dues-two-columns {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dues-two-columns h3 {
  grid-column: 1 / -1;
}

.announcement-column h3 {
  margin: 0;
  color: #ffcf4a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.fine-column h3 {
  color: #ff6a4d;
}

.meeting-list {
  display: grid;
  gap: 10px;
}

.gallery-more-button {
  justify-self: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: #30383c;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #0d1417;
  border: 1px solid #2d3d43;
  border-radius: 8px;
}

.user-directory-row {
  padding: 10px;
}

.user-directory-row.is-active {
  border-color: rgba(255, 207, 74, 0.75);
  background: linear-gradient(135deg, rgba(42, 31, 12, 0.94), rgba(13, 20, 23, 0.96));
}

.user-directory-row.is-inactive {
  border-color: rgba(184, 68, 55, 0.65);
  background: linear-gradient(135deg, rgba(40, 15, 13, 0.9), rgba(13, 20, 23, 0.94));
  opacity: 0.86;
}

.user-directory-row.is-inactive .user-list-avatar {
  filter: grayscale(1);
  border-color: rgba(184, 68, 55, 0.72);
}

.user-details-row {
  display: grid;
  align-items: stretch;
}

.user-summary-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-items: start;
  padding: 0;
  color: inherit !important;
  text-align: left;
  background: transparent !important;
}

.user-list-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(255, 207, 74, 0.58);
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.inline-user-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #30383c;
}

.user-row strong,
.user-row small {
  display: block;
}

.announcement-card {
  align-items: flex-start;
  border-color: rgba(255, 207, 74, 0.7);
  background: linear-gradient(135deg, rgba(43, 34, 13, 0.98), rgba(14, 19, 21, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 207, 74, 0.08);
}

.card-type-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  color: #1b1408;
  background: #ffcf4a;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.announcement-card strong {
  color: #fff5d6;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.05;
}

.announcement-card small {
  color: #ffcf4a;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 900;
}

.announcement-card .row-note {
  color: #ffef9b;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 800;
}

.fine-card {
  border-color: rgba(255, 96, 72, 0.8);
  background: linear-gradient(135deg, rgba(58, 17, 17, 0.98), rgba(15, 18, 20, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 96, 72, 0.12);
}

.fine-card .card-type-label {
  color: #fff;
  background: #c83b2b;
}

.fine-card small,
.fine-card .row-note {
  color: #ff6a4d;
}

.user-row small {
  margin-top: 2px;
  color: var(--muted);
}

.row-note {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.permission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.permission-tags span {
  padding: 4px 8px;
  color: #0f0e0d;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.permission-tags .status-active {
  color: #061510;
  background: #39c982;
}

.permission-tags .status-inactive {
  color: #fff;
  background: #b8322a;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.password-page {
  min-height: calc(100vh - 97px);
  place-items: center;
}

.password-card {
  width: min(560px, 100%);
  padding: clamp(22px, 5vw, 42px);
  background: rgba(25, 23, 21, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.password-card h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
}

.profile-page-card {
  padding: clamp(22px, 5vw, 42px);
  background: rgba(25, 23, 21, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-page-card h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
}

.profile-form {
  gap: 18px;
}

.profile-photo-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
}

.profile-photo-editor img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid rgba(214, 156, 57, 0.38);
  border-radius: 50%;
  background: #050505;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-form-grid label {
  display: grid;
  gap: 8px;
}

.profile-wide-field {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: #070707;
  color: #fff;
}

.footer p {
  margin: 6px 0 0;
  color: #b9c3c9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.footer-links a {
  color: #dce7eb;
}

.floating-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: auto;
  display: grid;
  gap: 10px;
  color: #fff;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.42));
}

.player-float-button {
  justify-self: end;
  position: relative;
  width: 64px;
  min-width: 64px;
  min-height: 64px;
  padding: 0;
  color: #06130a;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(135deg, #39e58c, #1db954 52%, #0d7f38);
  border: 0;
  border-radius: 999px;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.38),
    inset 0 -5px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-weight: 900;
  touch-action: none;
  user-select: none;
}

.player-float-button::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(57, 229, 140, 0.48);
  border-radius: inherit;
  opacity: 0;
}

.floating-player.is-playing .player-float-button::after {
  animation: player-pulse 1.6s ease-out infinite;
}

@keyframes player-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.92);
  }

  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

.player-float-button svg,
.player-panel button svg,
.player-panel a svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.player-float-button svg {
  width: 26px;
  height: 26px;
}

.player-panel polygon,
.player-panel rect {
  fill: currentColor;
  stroke: none;
}

#player-spotify svg circle,
#player-spotify svg path {
  fill: none;
  stroke: currentColor;
}

#player-toggle .icon-pause {
  display: none;
}

#player-toggle.is-paused .icon-play {
  display: none;
}

#player-toggle.is-paused .icon-pause {
  display: block;
}

.player-panel {
  width: min(430px, calc(100vw - 28px));
  display: grid;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(57, 229, 140, 0.18), transparent 42%),
    linear-gradient(145deg, rgba(11, 18, 20, 0.98), rgba(4, 6, 7, 0.98));
  border: 1px solid rgba(57, 229, 140, 0.36);
  border-radius: 14px;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.player-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.player-main::before {
  width: 58px;
  aspect-ratio: 1;
  content: "";
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22)),
    url("logo-issi.png") center / cover;
  border: 1px solid rgba(57, 229, 140, 0.34);
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.28);
}

.player-info {
  min-width: 0;
  grid-column: 2;
}

.player-info strong,
.player-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-info strong {
  color: #f2fff7;
  font-size: 15px;
  line-height: 1.2;
}

.player-info span {
  margin-top: 3px;
  color: #8fd9ae;
  font-size: 12px;
}

.player-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
}

.player-panel button,
.player-panel a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #dff7e8;
  background: #162024;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.player-panel button:hover,
.player-panel a:hover {
  transform: translateY(-1px);
  background: #223039;
}

#player-toggle,
#player-shuffle.is-active,
#player-spotify {
  color: #06130a;
  background: linear-gradient(135deg, #47e891, #1db954);
}

#player-toggle {
  min-height: 54px;
  border-radius: 999px;
}

.player-close {
  grid-column: 3;
  width: 42px;
  min-height: 42px !important;
  padding: 0 !important;
  color: #ffc8c0 !important;
  background: rgba(98, 34, 28, 0.72) !important;
}

.player-playlist {
  max-height: 300px;
  display: grid;
  gap: 6px;
  overflow: auto;
  padding: 8px 6px 8px 0;
  scrollbar-color: #1db954 #11191d;
}

.playlist-track {
  width: 100%;
  justify-content: flex-start !important;
  min-height: 44px !important;
  padding: 0 12px !important;
  text-align: left !important;
  color: #d9e8df !important;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.055) !important;
  border-radius: 10px !important;
}

.playlist-track span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-track.is-current {
  color: #06130a;
  background: linear-gradient(135deg, #47e891, #1db954) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 22px rgba(29, 185, 84, 0.18);
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .members-page .topbar {
    position: static;
    gap: 12px;
  }

  .members-page .brand {
    min-width: 0;
  }

  .members-page .brand span {
    min-width: 0;
  }

  .members-page .top-actions {
    margin-left: 76px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 640px;
  }

  .values,
  .story-grid,
  .split-section,
  .member-access,
  .agenda-band {
    grid-template-columns: 1fr;
  }

  .instagram-gallery {
    grid-template-columns: repeat(2, 345px);
  }

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

  .member-welcome,
  .dashboard-grid,
  .admin-layout,
  .announcements-grid,
  .dues-two-columns,
  .financial-summary-grid,
  .financial-member-items,
  .profile-form-grid,
  .groups-panel,
  .gallery-admin-layout {
    grid-template-columns: 1fr;
  }

  .member-welcome img {
    width: min(220px, 70vw);
  }

  .member-welcome {
    min-height: auto;
    text-align: left;
  }

  .member-profile-card {
    justify-items: start;
  }

  .values div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer {
    display: grid;
  }

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

  .floating-player {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 10px;
    padding: 10px 14px;
  }

  body:not(.members-page) .topbar {
    align-items: center;
  }

  body:not(.members-page) .brand-logo {
    width: 48px;
    height: 48px;
  }

  body:not(.members-page) .brand strong {
    font-size: 15px;
  }

  body:not(.members-page) .nav {
    gap: 14px;
    font-size: 13px;
  }

  body:not(.members-page) .top-actions {
    width: auto;
    margin-left: auto;
  }

  body:not(.members-page) .instagram-button {
    width: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .members-page {
    background-attachment: scroll;
  }

  .members-page *,
  .members-page *::before,
  .members-page *::after {
    box-sizing: border-box;
  }

  .members-page .topbar {
    display: grid;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .members-page .brand-logo {
    width: 54px;
    height: 54px;
  }

  .members-page .top-actions {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .members-page .top-actions a,
  .members-page .top-actions button {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    font-size: 14px;
  }

  .call-button {
    width: 100%;
  }

  .top-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .instagram-button {
    width: 100%;
  }

  .hero,
  .section,
  .split-section,
  .members-area,
  .gallery-section,
  .agenda-band,
  .footer,
  .member-dashboard {
    padding-right: 14px;
    padding-left: 14px;
  }

  .agenda-band {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    overflow-x: hidden;
  }

  .agenda-band > *,
  .agenda-band .location-actions,
  .agenda-band .meeting-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .agenda-band h2,
  .agenda-band p,
  .meeting-box strong,
  .meeting-box p {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .agenda-band .location-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .agenda-band .location-actions a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
  }

  .agenda-band .meeting-box {
    padding: 18px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .member-dashboard {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 20px;
    overflow-x: hidden;
  }

  .management-page .member-topbar {
    align-items: flex-start;
    min-height: 0;
    padding: 10px;
  }

  .management-page .member-brand img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .management-page .member-brand strong {
    font-size: 16px;
  }

  .management-page .member-actions {
    width: 100%;
    justify-content: stretch;
  }

  .management-page .member-actions a {
    flex: 1 1 130px;
    min-height: 42px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .users-management-layout,
  .form-grid.two,
  .form-grid.three,
  .user-editor-panel .admin-form fieldset {
    grid-template-columns: 1fr;
  }

  .users-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .member-shortcuts {
    position: static;
    top: auto;
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .member-shortcuts a {
    min-width: 132px;
    min-height: 58px;
    padding: 9px 12px;
  }

  .member-shortcuts a strong {
    font-size: 14px;
  }

  .member-shortcuts a span {
    font-size: 11px;
  }

  .notification-prompt {
    align-items: stretch;
    flex-direction: column;
    margin-right: -2px;
    margin-left: -2px;
    padding: 14px;
  }

  .notification-prompt p {
    font-size: 14px;
  }

  .notification-prompt-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .notification-prompt-actions button {
    width: 100%;
  }

  .app-install-prompt {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    width: auto;
    padding: 14px;
  }

  .app-install-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .app-install-actions button {
    width: 100%;
    padding: 0 10px;
    font-size: 13px;
  }

  .member-welcome,
  .dashboard-grid article,
  .member-notes,
  .monthly-manager,
  .meeting-manager,
  .encounter-manager,
  .documents-panel,
  .minutes-panel,
  .gallery-manager,
  .admin-area {
    padding: 16px;
  }

  .member-welcome {
    gap: 18px;
    min-height: auto;
  }

  .member-welcome h1 {
    font-size: 46px;
    overflow-wrap: anywhere;
  }

  .member-welcome p:not(.eyebrow) {
    margin-top: 12px;
    font-size: 16px;
  }

  .member-profile-card {
    justify-items: center;
  }

  .member-profile-card img {
    width: 148px;
  }

  .profile-edit-link {
    width: 100%;
  }

  .operational-panel .admin-form,
  .operational-panel .users-list {
    padding: 14px;
  }

  .management-menu {
    top: 76px;
  }

  .gallery-admin-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .gallery-admin-row .row-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .gallery-admin-row .row-actions > * {
    flex: 1 1 auto;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading span,
  .compact span {
    font-size: 16px;
  }

  .dashboard-grid {
    gap: 10px;
  }

  .admin-layout,
  .gallery-admin-layout,
  .announcements-grid,
  .dues-two-columns,
  .financial-summary-grid,
  .financial-member-items,
  .profile-form-grid {
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .member-welcome,
  .dashboard-grid,
  .dashboard-grid article,
  .member-notes,
  .monthly-manager,
  .meeting-manager,
  .encounter-manager,
  .documents-panel,
  .gallery-manager,
  .admin-area,
  .admin-form,
  .users-list,
  #users-list,
  .user-row,
  .gallery-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .user-row,
  .gallery-row {
    display: grid;
    align-items: start;
  }

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

  .document-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .document-actions a,
  .document-actions button {
    width: 100%;
  }

  .minutes-filter-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .minutes-filter-form button {
    width: 100%;
  }

  .gallery-post-info {
    align-items: flex-start;
  }

  .row-actions,
  .form-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .row-actions button,
  .row-actions a,
  .row-actions label,
  .form-actions button,
  .form-actions a,
  .admin-form button,
  #show-create-user {
    width: 100%;
  }

  .permission-tags {
    gap: 5px;
  }

  .permission-tags span {
    font-size: 11px;
  }

  .pix-payment-box {
    grid-template-columns: 1fr;
  }

  .pix-payment-box img {
    width: min(190px, 100%);
  }

  .pix-payment-box p {
    display: grid;
    gap: 4px;
  }

  .pix-payment-box strong {
    text-align: left;
  }

  .announcement-card strong {
    font-size: 26px;
  }

  .announcement-card small {
    font-size: 20px;
  }

  .user-filter-input {
    min-height: 44px;
  }

  .hero-actions a,
  .location-actions a {
    width: 100%;
  }

  .feature-list div {
    grid-template-columns: 1fr;
  }

  .instagram-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 10px;
  }

  .instagram-card {
    width: 100%;
    height: auto;
    aspect-ratio: 345 / 405;
  }

  .floating-player {
    left: 14px;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 58px;
    max-width: calc(100vw - 28px);
    justify-items: start;
    gap: 8px;
  }

  .floating-player.is-open {
    left: 10px !important;
    right: 10px !important;
    top: auto !important;
    bottom: 12px !important;
    width: auto;
    transform: none;
  }

  .player-float-button {
    width: 54px;
    min-width: 54px;
    min-height: 54px;
  }

  .floating-player.is-open .player-float-button {
    justify-self: start;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .player-panel {
    order: -1;
    width: calc(100vw - 20px);
    max-height: min(72vh, 520px);
    padding: 12px;
    overflow: hidden;
    border-radius: 12px;
  }

  .player-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .player-main {
    grid-template-columns: 44px minmax(0, 1fr) 38px;
    gap: 9px;
  }

  .player-main::before {
    width: 44px;
    border-radius: 10px;
  }

  .player-main button {
    width: auto;
    min-height: 40px !important;
  }

  .player-info strong {
    font-size: 13px;
  }

  .player-info span {
    font-size: 11px;
  }

  .player-playlist {
    max-height: min(34vh, 210px);
    padding-right: 2px;
  }

  .playlist-track {
    min-height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}
