.goal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.goal-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.goal-trophy {
  width: 46px;
  height: 51px;
  object-fit: contain;
  cursor: pointer;
  transform-origin: 50% 85%;
  animation: trofeuMexida 8s ease-in-out infinite;
  flex: 0 0 auto;
}

.goal-trophy.dance {
  animation: trofeuToque .55s ease-in-out;
}

@keyframes trofeuMexida {
  0%, 88%, 100% {
    transform: rotate(0) scale(1);
  }
  91% {
    transform: rotate(-7deg) scale(1.04);
  }
  94% {
    transform: rotate(7deg) scale(1.04);
  }
  97% {
    transform: rotate(-4deg) scale(1.02);
  }
}

@keyframes trofeuToque {
  0%, 100% {
    transform: rotate(0) scale(1);
  }
  25% {
    transform: rotate(-10deg) scale(1.08);
  }
  55% {
    transform: rotate(10deg) scale(1.1);
  }
  78% {
    transform: rotate(-5deg) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .goal-trophy {
    animation: none;
  }
}

.piggu-stage {
  position: relative;
  width: 100px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cofrinho-pig {
  width: 100px;
  max-height: 62px;
  object-fit: contain;
  cursor: pointer;
  transform-origin: 50% 75%;
}

.cofrinho-pig.pig-touch {
  animation: porcoToque .7s ease-in-out;
}

.piggu-love {
  position: absolute;
  inset: 0;
  width: 100px;
  height: 62px;
  object-fit: contain;
  opacity: 0;
  transform: scale(.6);
  pointer-events: none;
}

.piggu-stage.love-pop .cofrinho-pig {
  opacity: 0;
}

.piggu-stage.love-pop .piggu-love {
  animation: pigguLovePop 1.25s ease-in-out;
}

@keyframes porcoToque {
  0%, 100% {
    transform: rotate(0) scale(1);
  }
  35% {
    transform: rotate(-3deg) scale(1.035);
  }
  68% {
    transform: rotate(3deg) scale(1.025);
  }
}

@keyframes pigguLovePop {
  0% {
    opacity: 0;
    transform: scale(.55) translateY(6px);
  }
  22% {
    opacity: 1;
    transform: scale(1.12) translateY(0);
  }
  68% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(.82) translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cofrinho-pig.pig-touch {
    animation: none;
  }
}

.goal-value {
  margin: 3px 0 0;
  color: var(--rose-deep);
  font-size: 29px;
  line-height: 1.05;
  font-variation-settings: 'wght' 500;
  font-weight: 500;
}

.goal-track {
  height: 10px;
  background: #F3D9E2;
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0 7px;
}

.goal-fill {
  height: 100%;
  width: 0;
  background: var(--ok);
  border-radius: 10px;
  transition: width .4s ease;
}

.goal-fill.over {
  background: var(--over);
}

.goal-status {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  font-variation-settings: 'wght' 350;
  font-weight: 350;
}

.goal-edit {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--rose-deep);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
}

.coins-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 108px;
}

.coins-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.coins-icon {
  display: block;
  width: 50px;
  height: 50px;
  padding: 2px;
  object-fit: contain;
  flex: 0 0 50px;
  cursor: pointer;
  transform-origin: center;
  animation: coinIdle 10s ease-in-out infinite;
}

.coins-icon.coin-spin {
  animation: coinTap .7s ease-in-out;
}

@keyframes coinIdle {
  0%, 91%, 100% {
    transform: rotate(0) scale(1);
  }
  94% {
    transform: rotate(-3deg) scale(1.025);
  }
  97% {
    transform: rotate(3deg) scale(1.015);
  }
}

@keyframes coinTap {
  0%, 100% {
    transform: rotate(0) scale(1);
  }
  28% {
    transform: rotate(-7deg) scale(1.035);
  }
  58% {
    transform: rotate(7deg) scale(1.04);
  }
  80% {
    transform: rotate(-3deg) scale(1.015);
  }
}

.coins-value {
  margin: 4px 0 0;
  color: var(--rose-deep);
  font-size: 29px;
  line-height: 1;
  font-variation-settings: 'wght' 500;
  font-weight: 500;
}

.coins-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.coins-actions button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--rose-deep);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  font-family: var(--font-body);
}

.top-coins {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(109,21,65,.12);
  border-radius: 0;
  padding: 7px 2px 10px;
  margin: 0 0 4px;
}

.top-coins-main {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-deep);
  font-size: 12px;
}

.top-coins-main img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.top-coins-main strong {
  font-size: 16px;
  margin-left: 2px;
}

.top-coins-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-coins button {
  border: none;
  background: var(--rose-deep);
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-body);
  font-size: 11px;
  cursor: pointer;
}

.top-coins .privacy-toggle {
  width: 30px;
  height: 28px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F6D8E2;
}

.privacy-toggle img {
  display: block;
  width: 19px;
  height: 16px;
  object-fit: contain;
}

.prize-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.prize-head p {
  margin: 0;
}

.prize-admin {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--rose-deep);
  border-radius: 9px;
  padding: 7px 10px;
  cursor: pointer;
}

.prize-grid {
  display: grid;
  gap: 10px;
}

.prize-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.prize-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.prize-name {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--ink);
}

.prize-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.prize-price {
  color: var(--rose-deep);
  font-weight: 700;
  white-space: nowrap;
}

.prize-buttons {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}

.prize-buttons button {
  flex: 1;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--rose-deep);
  border-radius: 9px;
  padding: 8px;
  cursor: pointer;
}

.prize-buttons .redeem {
  background: var(--rose-deep);
  color: #fff;
  border-color: var(--rose-deep);
}

.prize-buttons .redeem:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.prize-inactive {
  opacity: .55;
}

.budget-card {
  animation-delay: 0.1s;
}

.budget-row {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.budget-row:last-child {
  border-bottom: none;
}

.budget-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  gap: 8px;
}

.budget-cat {
  font-size: 13px;
  color: var(--ink);
}

.budget-values {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.budget-of {
  color: var(--muted);
}

.budget-bar-track {
  height: 6px;
  background: #F3D9E2;
  border-radius: 4px;
  overflow: hidden;
}

.budget-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.budget-over {
  font-size: 11px;
  color: var(--over);
  margin: 4px 0 0;
}

.add-card {
  animation-delay: 0.15s;
}

.list-card {
  padding: 0.4rem;
  animation-delay: 0.2s;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.row:last-child {
  border-bottom: none;
}

.row-left p {
  margin: 0;
}

.row-item {
  font-size: 14px;
  color: var(--ink);
}

.row-date {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px !important;
}

.row-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.row-value {
  font-size: 14px;
  min-width: 58px;
  text-align: right;
}

.edit-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
}

.edit-form-row {
  display: flex;
  gap: 6px;
}

.edit-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 2px;
}

.edit-actions button {
  font-family: var(--font-body);
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 5px 10px;
  cursor: pointer;
}

.edit-actions button.save {
  background: var(--rose-deep);
  color: #fff;
  border: none;
}

.cal-card {
  animation-delay: 0.05s;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  background: #FEFAFB;
}

.cal-cell.empty-cell {
  visibility: hidden;
  cursor: default;
}

.cal-cell:hover {
  background: #F6DCE3;
}

.cal-cell.today .cal-daynum {
  color: #fff;
  background: var(--rose-deep);
  border-radius: 50%;
}

.cal-daynum {
  font-size: 12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.cal-dots {
  display: flex;
  gap: 2px;
  margin-top: 1px;
  height: 6px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot.conta {
  background: transparent;
  border: 1.3px solid var(--rose-deep);
}

.dot.conta.paid {
  background: var(--rose-deep);
}

.dot.evento {
  background: transparent;
  border: 1.3px solid var(--rose);
}

.dot.evento.paid {
  background: var(--rose);
}

.cal-legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cal-legend .dot {
  width: 7px;
  height: 7px;
}

.feed-card {
  animation-delay: 0.05s;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.feed-item {
  position: relative;
  aspect-ratio: 1080 / 1440;
  border-radius: 8px;
  overflow: hidden;
  background: #F3D9E2;
  cursor: pointer;
  border: none;
  padding: 0;
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-add {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--rose);
  color: var(--rose-deep);
  font-size: 26px;
  font-weight: 400;
  background: #FEFAFB;
}

.feed-legenda {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 6px;
  font-size: 10px;
  color: #fff;
  background: linear-gradient(transparent, rgba(43,30,50,0.7));
}

.cofrinho-cta {
  display: block;
  width: 100%;
  background: #FFA6CE;
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #6E1F45;
  cursor: pointer;
  margin-bottom: 10px;
}

.cofrinho-cta strong {
  font-weight: 700;
  font-style: italic;
}

.cofrinho-valor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cofrinho-euro {
  font-family: 'deuterium-variable', var(--font-body);
  font-variation-settings: "wght" 550;
  font-weight: 550;
  font-size: 26px;
  color: var(--rose-deep);
  margin-right: 2px;
}

.cofrinho-num {
  font-family: 'deuterium-variable', var(--font-body);
  font-variation-settings: "wght" 550;
  font-weight: 550;
  font-size: 38px;
  color: var(--rose-deep);
}

.cofrinho-add-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 6px;
  margin-bottom: 4px;
}

.cofrinho-add-row button {
  background: var(--rose-deep);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

.dashboard-cta {
  display: block;
  width: 100%;
  background: var(--yellow-soft);
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--rose-deep);
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
}

.dashboard-cta em {
  font-weight: 700;
  font-style: italic;
}

.movie-search-card {
  padding: 1.35rem 1.25rem;
}

.movie-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.movie-section-head .section-label {
  margin: 0;
  color: var(--rose-deep);
  font-weight: 700;
}

.movie-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
}

.movie-poster {
  width: 92px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 10px;
  background: #F3D9E2;
}

.movie-title {
  margin: 0 0 4px;
  color: var(--rose-deep);
  font-size: 17px;
}

.movie-meta {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 11px;
}

.movie-overview {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-actions {
  display: flex;
  gap: 6px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.movie-actions button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--rose-deep);
  border-radius: 9px;
  padding: 7px 9px;
  cursor: pointer;
}

.movie-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
}

.movie-rating button {
  border: 0;
  background: none;
  line-height: 1;
  padding: 1px;
  cursor: pointer;
  opacity: .26;
  filter: grayscale(.25);
}

.movie-rating button.on {
  opacity: 1;
  filter: none;
}

.movie-rating button img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.movie-rating span {
  margin-left: 5px;
  font-size: 10px;
  color: var(--muted);
}

.watched-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}

.watched-title {
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 750;
}

.watched-group summary {
  padding: 13px 14px;
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.watched-group summary::-webkit-details-marker {
  display: none;
}

.watched-group[open] summary {
  border-bottom: 1px solid var(--border);
}

.watched-group .movie-card {
  margin: 10px;
}

.surprise-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.surprise-choice {
  border: 1px solid var(--border);
  background: #FEFAFB;
  color: var(--ink-soft);
  border-radius: 11px;
  padding: 10px 6px;
  font-family: var(--font-body);
  cursor: pointer;
}

.surprise-choice.active {
  background: var(--rose-deep);
  color: #fff;
  border-color: var(--rose-deep);
}

.surprise-result {
  text-align: center;
  overflow: hidden;
  opacity: 1;
  animation: none;
}

.surprise-result.pop {
  opacity: 1;
  animation: surprisePop .55s cubic-bezier(.2,.8,.3,1);
}

@keyframes surprisePop {
  0% {
    opacity: 0;
    transform: scale(.88) translateY(8px);
  }
  65% {
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 1.5rem 0 .6rem;
}

.recent-head .section-label {
  margin: 0;
}

.recent-toggle {
  border: 0;
  background: transparent;
  color: var(--rose-deep);
  font-family: var(--font-body);
  font-size: 12px;
  cursor: pointer;
  padding: 5px;
}

.surprise-kind {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.surprise-title {
  margin: 0;
  color: var(--rose-deep);
  font-size: 22px;
}

.surprise-detail {
  margin: 7px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
  max-width: 330px;
}

.surprise-poster {
  width: 130px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;
}