.gc-container {
  max-width: 440px;
  padding-bottom: 3rem; }

.gc-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 0 0.25rem; }

.gc-back {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6ecf2;
  display: grid;
  place-items: center;
  color: var(--bs-body-color); }

.gc-heading {
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0.5rem 0.5rem; }

.gc-subhead {
  text-align: center;
  font-size: 0.9rem;
  color: var(--bs-secondary-color, #5b6b7c);
  margin: 0 0.5rem 1.25rem; }

.gc-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem; }
  .gc-form > * {
    flex: none; }
  .gc-form .field {
    display: grid;
    gap: 0.4rem; }
  .gc-form .field > label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color, #5b6b7c); }
  .gc-form .hint {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--bs-secondary-color, #5b6b7c); }

.gc-wrap {
  position: relative;
  container-type: inline-size; }

.gc {
  container-type: inline-size;
  position: relative;
  text-align: left;
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 1rem;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 1rem 1.9rem -1rem rgba(18, 33, 47, 0.55); }

.gc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none; }

.gc-mark {
  position: absolute;
  top: 7cqw;
  left: 7cqw;
  font-weight: 800;
  font-size: 6cqw;
  letter-spacing: -0.03em;
  opacity: 0.92; }

.gc-amount {
  position: absolute;
  left: 7cqw;
  bottom: 22cqw;
  font-weight: 800;
  font-size: 17cqw;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; }

.gc-for {
  position: absolute;
  left: 7cqw;
  right: 38cqw;
  bottom: 7cqw;
  display: grid;
  font-size: 4.6cqw;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.9; }
  .gc-for b {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }

.gc-icon {
  font-size: 4.2cqw;
  margin-right: 0.8cqw; }

.gc--sky {
  background: radial-gradient(120% 90% at 100% 0%, #62b4ff 0%, rgba(98, 180, 255, 0) 55%), linear-gradient(135deg, #188aec 0%, #0f5fb0 100%); }

.gc--sunrise {
  background: radial-gradient(circle at 50% 120%, #ffd166 0 28%, transparent 29%), linear-gradient(180deg, #ff6f91 0%, #ff9f68 100%); }

.gc--garden {
  background: radial-gradient(circle at 15% 110%, #7fd39a 0 30%, transparent 31%), radial-gradient(circle at 100% -10%, #b8ecc5 0 26%, transparent 27%), linear-gradient(135deg, #1f8a4c, #14603a); }

.gc--dinner {
  background: radial-gradient(circle at 82% 60%, #ffd9b3 0 22%, transparent 23%), radial-gradient(circle at 82% 60%, #fff 0 30%, transparent 31%), linear-gradient(135deg, #e06a3c 0%, #c1461f 100%); }

.gc--night {
  background: radial-gradient(circle at 20% 30%, #fff 0 1.2%, transparent 1.6%), radial-gradient(circle at 70% 20%, #fff 0 0.9%, transparent 1.3%), radial-gradient(circle at 85% 70%, #fff 0 1%, transparent 1.4%), radial-gradient(circle at 40% 75%, #fff 0 0.8%, transparent 1.2%), linear-gradient(160deg, #1b2a44, #0b1220); }

.gc--ocean {
  background: radial-gradient(circle at 80% 110%, #5eead4 0 26%, transparent 27%), linear-gradient(135deg, #0e9aa7 0%, #0b6a8a 100%); }

.gc--plum {
  background: radial-gradient(circle at 15% 0%, #c4b5fd 0 22%, transparent 23%), linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%); }

.gc--berry {
  background: radial-gradient(circle at 90% 10%, #fda4af 0 20%, transparent 21%), linear-gradient(135deg, #db2777 0%, #9d174d 100%); }

.gc--legacy {
  background: linear-gradient(135deg, #46586b 0%, #2b3949 100%); }

.gc-customize {
  position: absolute;
  right: 7cqw;
  bottom: 7cqw;
  height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bs-body-color, #12212f);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 0.25rem 0.75rem rgba(18, 33, 47, 0.25); }
  .gc-customize.is-open {
    background: var(--bs-body-color, #12212f);
    color: #fff; }

.gc-panel {
  display: grid;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid #e6ecf2;
  border-radius: 1rem;
  padding: 0.9rem; }

.gc-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem; }

.gc-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bs-body-color, #12212f);
  padding: 0.2rem 0.65rem 0.2rem 0.2rem;
  border: 1px solid #cfd9e4;
  border-radius: 999px;
  cursor: pointer;
  margin: 0; }
  .gc-category.is-selected {
    background: var(--bs-primary-bg-subtle, #eaf4fe);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    box-shadow: inset 0 0 0 1px var(--color-primary); }

.gc-swatch {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.62rem; }
  .gc-swatch.gc--sky {
    background: #188aec; }
  .gc-swatch.gc--sunrise {
    background: #ff7f7c; }
  .gc-swatch.gc--garden {
    background: #1f8a4c; }
  .gc-swatch.gc--dinner {
    background: #e06a3c; }
  .gc-swatch.gc--night {
    background: #1b2a44; }
  .gc-swatch.gc--ocean {
    background: #0e9aa7; }
  .gc-swatch.gc--plum {
    background: #7c3aed; }
  .gc-swatch.gc--berry {
    background: #db2777; }

.gc-swatch--lg {
  width: 3rem;
  height: 3rem;
  font-size: 1.15rem; }

.gc-info-row {
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid #eef2f6;
  padding-top: 0.75rem; }

.gc-info-toggle {
  justify-self: start;
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bs-secondary-color, #5b6b7c);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem; }
  .gc-info-toggle[aria-expanded="true"] {
    color: var(--color-primary-dark); }

.gc-info {
  position: relative;
  background: var(--bs-primary-bg-subtle, #eaf4fe);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--bs-body-color, #12212f); }
  .gc-info b {
    display: block;
    margin-bottom: 0.25rem; }
  .gc-info::before {
    content: "";
    position: absolute;
    top: -0.4rem;
    left: 1.2rem;
    width: 0.8rem;
    height: 0.8rem;
    background: inherit;
    transform: rotate(45deg);
    border-radius: 0.15rem; }

.gc-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem; }

.gc-amount-option--custom {
  grid-column: 1 / -1;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-style: dashed; }

.gc-custom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px var(--color-primary);
  padding: 0 0.9rem; }
  .gc-custom[hidden] {
    display: none; }

.gc-custom-prefix {
  font-size: 1.1rem;
  font-weight: 700; }

.gc-custom-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0.85rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums; }
  .gc-custom-input:focus {
    box-shadow: none; }

.gc-amount-option {
  border: 1px solid #cfd9e4;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.9rem 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bs-body-color, #12212f);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  margin: 0; }
  .gc-amount-option.is-selected {
    border-color: var(--color-primary);
    background: var(--bs-primary-bg-subtle, #eaf4fe);
    box-shadow: inset 0 0 0 1px var(--color-primary); }

.gc-message {
  display: grid;
  gap: 0.4rem; }
  .gc-message .form-float-wrapper {
    padding-bottom: 0; }
  .gc-message .hint {
    display: block; }

.gc-actions .btn {
  display: flex; }

.gc-total {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  opacity: 0.9; }

.gc-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid #e6ecf2;
  border-radius: 0.9rem;
  padding: 0.7rem 0.8rem; }

.gc-strip-body {
  display: grid;
  gap: 0.15rem;
  font-size: 0.9rem;
  min-width: 0; }

.gc-strip-meta {
  font-size: 0.8rem;
  color: var(--bs-secondary-color, #5b6b7c); }

.gc-strip-edit {
  justify-self: start;
  font-size: 0.82rem; }

.gc-thanks {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  justify-items: center; }
  .gc-thanks textarea {
    text-align: left; }

.gc-received {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem 1.15rem 3rem; }

.gc-received-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--bs-primary-bg-subtle, #eaf4fe);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem; }
  .gc-received-bar span {
    flex: 1 1 auto;
    font-size: 0.88rem;
    color: var(--bs-secondary-color, #5b6b7c); }

.gc-received-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem; }

.gc-received-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid #e6ecf2;
  border-radius: 0.9rem;
  padding: 0.85rem 0.9rem; }
  .gc-received-item.is-sealed {
    background: #f7f9fb; }

.gc-received-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem; }

.gc-received-note {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45; }

.gc-received-thanked {
  font-size: 0.82rem;
  color: var(--color-primary-dark); }

.gc-received-thanks {
  font-size: 0.85rem; }
  .gc-received-thanks summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary-dark); }
  .gc-received-thanks form {
    margin-top: 0.5rem; }

.gc-unwrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.15rem 3rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center; }

.gc-pane {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  text-align: center; }
  .gc-pane[hidden] {
    display: none; }

.gc-unwrap-card {
  width: 100%; }

.gc-envelope {
  width: 100%;
  max-width: 17rem;
  aspect-ratio: 1.45;
  border-radius: 0.65rem;
  background: var(--color-primary-dark, #0f5fb0);
  color: #fff;
  padding: 1.25rem 1.4rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  box-shadow: 0 1.1rem 2rem -1.1rem rgba(15, 95, 176, 0.6); }

.gc-envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, transparent 49.5%, rgba(255, 255, 255, 0.14) 50%), linear-gradient(to bottom left, transparent 49.5%, rgba(255, 255, 255, 0.14) 50%);
  background-size: 50% 55%;
  background-repeat: no-repeat;
  background-position: top left, top right; }

.gc-stamp {
  position: absolute;
  right: 1rem;
  top: 0.9rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800; }

.gc-envelope-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7; }

.gc-envelope-value {
  font-weight: 700;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 0.35rem;
  margin-bottom: 0.7rem; }

.gc-note {
  font-size: 1.35rem;
  line-height: 1.35;
  max-width: 26ch;
  margin: 0; }
  .gc-note small {
    display: block;
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #5b6b7c);
    margin-top: 0.7rem;
    line-height: 1.45; }

.gc-landed {
  font-size: 0.9rem;
  color: var(--bs-secondary-color, #5b6b7c);
  max-width: 30ch;
  margin: 0; }

.gc-unwrap-foot {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem; }

.gc-dots {
  display: flex;
  gap: 0.35rem; }
  .gc-dots span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #cfd9e4; }
  .gc-dots .is-current {
    background: var(--color-primary); }
