body.rg {
  margin: 0;
  background: #fbf8f3;
  color: #17131f;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rg-main,
.rg-main *,
.rg-main *::before,
.rg-main *::after {
  box-sizing: border-box;
}

.rg-main {
  padding: 28px 16px 72px;
  font-size: 1rem;
  line-height: 1.5;
}
.rg-main a {
  color: inherit;
}

.rg-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.rg-wrap--wide {
  max-width: 980px;
}

.rg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rg-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.rg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #807a8f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rg-h1 {
  margin: 6px 0 4px;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.rg-h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.rg-lead {
  margin: 0 0 22px;
  color: #4a4458;
}

.rg-meta {
  margin: 0;
  color: #807a8f;
  font-size: 0.92rem;
}

.rg-hint {
  margin: 10px 4px 0;
  color: #807a8f;
  font-size: 0.84rem;
}

.rg-small {
  margin: 0;
  color: #807a8f;
  font-size: 0.8rem;
}

.rg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 999px;
  background: #fff;
  color: #17131f;
  font: 600 0.92rem "Inter", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, box-shadow 0.2s;
}
.rg-btn:hover {
  box-shadow: 0 4px 14px rgba(23, 19, 31, 0.08);
}
.rg-btn:active {
  transform: scale(0.97);
}
.rg-btn:focus-visible {
  outline: 3px solid rgba(23, 19, 31, 0.25);
  outline-offset: 2px;
}
.rg-btn--dark {
  border-color: #17131f;
  background: #17131f;
  color: #fff;
}
.rg-btn--dark:hover {
  background: #2b2536;
}
.rg-btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 0.84rem;
}
.rg-btn--block {
  width: 100%;
}

.rg-link {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: #4a4458;
  font: 600 0.84rem "Inter", "Helvetica Neue", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rg-link--danger {
  color: #b42318;
}

.rg-form {
  display: grid;
  gap: 14px;
}
.rg-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.rg-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rg-form--add {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
}
.rg-form--add .rg-field {
  grid-column: span 2;
}
.rg-form--add .rg-field--wide {
  grid-column: span 3;
}
.rg-form--add .rg-field--full,
.rg-form--add .rg-form__actions {
  grid-column: 1/-1;
}
.rg-form--add .rg-field--small {
  grid-column: span 2;
}
.rg-form--add .rg-form__go {
  grid-column: span 2;
}
@media (max-width: 600px) {
  .rg-form--add {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rg-form--add .rg-field--wide,
  .rg-form--add .rg-form__go {
    grid-column: 1/-1;
  }
  .rg-form--add .rg-field,
  .rg-form--add .rg-field--small {
    grid-column: span 1;
  }
  .rg-form--add .rg-field--wide,
  .rg-form--add .rg-field--full {
    grid-column: 1/-1;
  }
}

.rg-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.rg-field > span {
  color: #4a4458;
  font-size: 0.82rem;
  font-weight: 600;
}
.rg-field em {
  color: #807a8f;
  font-style: normal;
  font-weight: 400;
}
.rg-field input,
.rg-field select,
.rg-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 14px;
  background: #fff;
  color: #17131f;
  font: 400 1rem "Inter", "Helvetica Neue", Arial, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rg-field input:focus,
.rg-field select:focus,
.rg-field textarea:focus {
  border-color: #17131f;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 19, 31, 0.08);
}
.rg-field input::placeholder,
.rg-field select::placeholder,
.rg-field textarea::placeholder {
  color: #aaa4b4;
}
.rg-field textarea {
  resize: vertical;
}
.rg-field--small {
  min-width: 96px;
}

.rg-money {
  display: flex;
  align-items: center;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s;
}
.rg-money:focus-within {
  border-color: #17131f;
}
.rg-money b {
  padding-left: 14px;
  color: #807a8f;
  font-weight: 500;
}
.rg-money input {
  border: 0;
  padding-left: 6px;
  box-shadow: none !important;
}

.rg-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
}

.rg-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f3efe8;
  color: #4a4458;
  font-size: 0.92rem;
}
.rg-note .bi {
  margin-top: 1px;
}
.rg-note a {
  font-weight: 600;
}
.rg-note--ok {
  background: #e8f5ed;
  color: #155f36;
}
.rg-note--error {
  background: #fdecea;
  color: #b42318;
}

.rg-hero {
  max-width: 680px;
  margin: 24px auto 8px;
  text-align: center;
}
.rg-hero h1 {
  margin: 12px 0 14px;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.rg-hero > p {
  margin: 0 auto 26px;
  max-width: 540px;
  color: #4a4458;
  font-size: 1.06rem;
}

.rg-start {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 19, 31, 0.06);
}
.rg-start input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  background: none;
  color: #17131f;
  font: 400 1rem "Inter", "Helvetica Neue", Arial, sans-serif;
  outline: 0;
}
@media (max-width: 480px) {
  .rg-start {
    flex-direction: column;
    border-radius: 22px;
  }
  .rg-start input {
    min-height: 46px;
  }
  .rg-start .rg-btn {
    width: 100%;
  }
}

.rg-section {
  max-width: 760px;
  margin: 56px auto 0;
}
.rg-section--tight {
  margin-top: 32px;
}

.rg-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rg-steps li {
  padding: 20px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 20px;
  background: #fff;
}
.rg-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #17131f;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.rg-steps strong {
  display: block;
  margin-bottom: 4px;
}
.rg-steps p {
  margin: 0;
  color: #4a4458;
  font-size: 0.92rem;
}
@media (max-width: 680px) {
  .rg-steps {
    grid-template-columns: 1fr;
  }
}

.rg-faq details {
  border-top: 1px solid rgba(23, 19, 31, 0.09);
}
.rg-faq details:last-child {
  border-bottom: 1px solid rgba(23, 19, 31, 0.09);
}
.rg-faq summary {
  padding: 16px 2px;
  font-weight: 600;
  cursor: pointer;
}
.rg-faq p {
  margin: 0 2px 16px;
  color: #4a4458;
}

.rg-mine {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rg-mine a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.rg-mine a:hover {
  box-shadow: 0 6px 18px rgba(23, 19, 31, 0.07);
}
.rg-mine__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3efe8;
}
.rg-mine__text {
  display: grid;
  flex: 1;
  min-width: 0;
}
.rg-mine small {
  color: #807a8f;
}

.rg-panel {
  margin: 12px auto 0;
  padding: 28px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 24px;
  background: #fff;
}
.rg-panel--narrow {
  max-width: 520px;
}
@media (max-width: 480px) {
  .rg-panel {
    padding: 22px 18px;
  }
}

.rg-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: #807a8f !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
}

.rg-head {
  margin-bottom: 18px;
}

.rg-share {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 999px;
  background: #fff;
}
.rg-share input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: none;
  color: #4a4458;
  font: 400 0.92rem "Inter", "Helvetica Neue", Arial, sans-serif;
  outline: 0;
  text-overflow: ellipsis;
}
@media (max-width: 540px) {
  .rg-share {
    flex-wrap: wrap;
    border-radius: 20px;
  }
  .rg-share input {
    flex-basis: 100%;
    min-height: 40px;
  }
  .rg-share .rg-btn {
    flex: 1;
  }
}

.rg-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 22px;
  background: #fff;
}
@media (max-width: 480px) {
  .rg-card {
    padding: 18px 16px;
  }
}

.rg-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-item {
  padding: 14px 16px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 18px;
  background: #fff;
  scroll-margin-top: 90px;
}
.rg-item__main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rg-item__text {
  flex: 1;
  min-width: 0;
}
.rg-item__text strong {
  display: block;
  overflow-wrap: anywhere;
}
.rg-item__text small {
  color: #807a8f;
  font-size: 0.84rem;
}
.rg-item__note {
  margin: 4px 0 0;
  color: #4a4458;
  font-size: 0.88rem;
}

.rg-tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(150deg, #f6eee2, #efe4f3);
  color: #4a4458;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.rg-tile--lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 1.3rem;
}

.rg-status {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3efe8;
  color: #807a8f;
  font-size: 0.76rem;
  font-weight: 600;
}
.rg-status.is-part {
  background: #fff4dc;
  color: #8a5b00;
}
.rg-status.is-done {
  background: #e8f5ed;
  color: #1f8a4c;
}

.rg-claims {
  display: grid;
  gap: 6px;
  margin: 12px 0 0 56px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: #4a4458;
}
.rg-claims li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.rg-claims form {
  margin: 0;
}
@media (max-width: 480px) {
  .rg-claims {
    margin-left: 0;
  }
}

.rg-edit {
  margin-top: 10px;
}
.rg-edit summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #807a8f;
  font-size: 0.84rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.rg-edit summary::-webkit-details-marker {
  display: none;
}
.rg-edit[open] summary {
  margin-bottom: 14px;
  color: #17131f;
}

.rg-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
}
.rg-details summary::-webkit-details-marker {
  display: none;
}
.rg-details summary .rg-h2 {
  margin: 0;
}
.rg-details summary .bi {
  color: #807a8f;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.rg-details[open] summary {
  margin-bottom: 18px;
}
.rg-details[open] summary .bi {
  transform: rotate(180deg);
}

.rg-empty {
  padding: 36px 20px;
  border: 1px dashed rgba(23, 19, 31, 0.16);
  border-radius: 20px;
  color: #807a8f;
  text-align: center;
}
.rg-empty .bi {
  font-size: 1.6rem;
}
.rg-empty p {
  margin: 8px auto 0;
  max-width: 340px;
}

.rg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px 0;
}
.rg-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #17131f;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.rg-cover {
  margin: 10px 0 26px;
  text-align: center;
}
.rg-cover h1 {
  margin: 10px 0 6px;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.rg-cover__msg {
  max-width: 520px;
  margin: 14px auto 0;
  color: #4a4458;
}

.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rg-gift {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 22px;
  background: #fff;
  scroll-margin-top: 24px;
  transition: box-shadow 0.25s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.rg-gift:hover {
  box-shadow: 0 14px 34px -18px rgba(23, 19, 31, 0.28);
}
.rg-gift.is-mine {
  border-color: rgba(31, 138, 76, 0.4);
  box-shadow: 0 0 0 3px rgba(31, 138, 76, 0.08);
}
.rg-gift__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(150deg, #f6eee2, #efe4f3);
}
.rg-gift__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rg-gift__ph {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(74, 68, 88, 0.35);
  font-size: 2.6rem;
}
.rg-gift__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}
.rg-gift__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.rg-gift__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.rg-gift__price {
  flex: none;
  font-size: 1rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.rg-gift__store {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #807a8f;
  font-size: 0.84rem;
}
.rg-gift__note {
  margin: 2px 0 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f3efe8;
  color: #4a4458;
  font-size: 0.86rem;
}
.rg-gift__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.rg-gift__actions .rg-btn {
  flex: 1;
  height: 42px;
}
.rg-gift__actions form {
  display: inline;
  margin: 0;
}
.rg-gift__yours {
  flex-basis: 100%;
  margin: 0;
  color: #1f8a4c;
  font-size: 0.86rem;
  font-weight: 600;
}
.rg-gift__yours .rg-link {
  color: #1f8a4c;
  padding: 0;
}

.rg-claim {
  margin-top: 8px;
}

.rg-claim > summary {
  width: 100%;
  height: 40px;
  list-style: none;
}
.rg-claim > summary::-webkit-details-marker {
  display: none;
}
.rg-claim[open] > summary {
  display: none;
}
.rg-claim .rg-form {
  gap: 10px;
  padding-top: 4px;
}

.rg-done {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rg-done li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  color: #807a8f;
}
.rg-done span:nth-child(2) {
  flex: 1;
  text-decoration: line-through;
  text-decoration-color: rgba(128, 122, 143, 0.5);
}
.rg-done .rg-tile {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 0.85rem;
  opacity: 0.7;
}
.rg-done .bi {
  color: #1f8a4c;
}

.rg-foot {
  padding: 0 16px 40px;
  text-align: center;
  font-size: 0.86rem;
}
.rg-foot a {
  color: #807a8f;
}

.rg-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 50;
  padding: 10px 18px;
  border-radius: 999px;
  background: #17131f;
  color: #fff;
  font: 600 0.88rem "Inter", "Helvetica Neue", Arial, sans-serif;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.rg-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .rg-btn,
  .rg-toast,
  .rg-details summary .bi {
    transition: none;
  }
}
.rg-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.rg-stats li {
  padding: 6px 14px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 999px;
  background: #fff;
  color: #4a4458;
  font-size: 0.86rem;
}
.rg-stats b {
  color: #17131f;
  font-weight: 650;
}

.rg-how {
  max-width: 520px;
  margin: 14px auto 0;
  color: #807a8f;
  font-size: 0.86rem;
}
.rg-how .bi {
  margin-right: 4px;
}
.rg-how b {
  color: #4a4458;
  font-weight: 600;
}

.rg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff4dc;
  color: #8a5b00;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 650;
  vertical-align: 2px;
}
.rg-badge--float {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.rg-progress {
  display: grid;
  gap: 5px;
  margin-top: 4px;
}
.rg-progress__bar {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #f3efe8;
}
.rg-progress__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #d9a441;
}
.rg-progress small {
  color: #8a5b00;
  font-size: 0.78rem;
  font-weight: 600;
}

.rg-thumb {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  background: #f3efe8;
}
.rg-thumb--sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  opacity: 0.75;
}

.rg-form__photo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  grid-column: 1/-1;
}

.rg-photo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.rg-photo__frame {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px dashed rgba(23, 19, 31, 0.22);
  border-radius: 18px;
  background: #f3efe8;
  color: #807a8f;
  font-size: 1.3rem;
  transition: border-color 0.2s;
}
.rg-photo__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rg-photo:hover .rg-photo__frame {
  border-color: #17131f;
}
.rg-photo.has-photo .rg-photo__frame {
  border-style: solid;
}
.rg-photo.has-photo .rg-photo__frame .bi {
  display: none;
}
.rg-photo__text {
  display: grid;
  gap: 2px;
}
.rg-photo__text b {
  font-size: 0.9rem;
  font-weight: 600;
}
.rg-photo__text small {
  color: #807a8f;
  font-size: 0.78rem;
}
.rg-photo input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.rg-photo:focus-within .rg-photo__frame {
  border-color: #17131f;
  box-shadow: 0 0 0 3px rgba(23, 19, 31, 0.08);
}

.rg-check {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: span 4;
  margin: 0;
  color: #4a4458;
  font-size: 0.9rem;
  cursor: pointer;
}
.rg-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #17131f;
}
.rg-check b {
  color: #17131f;
  font-weight: 600;
}
.rg-check--small {
  font-size: 0.84rem;
}
@media (max-width: 600px) {
  .rg-check {
    grid-column: 1/-1;
  }
}

body.rg--solo .rg-main {
  padding-top: 12px;
}

.rg-bar__link {
  color: #4a4458;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.rg-bar__link:hover {
  color: #17131f;
}

.rg-bar__brand img {
  flex: none;
}

.rg-linked {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.rg-linked a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff4dc;
  color: #8a5b00 !important;
  font-size: 0.84rem;
  text-decoration: none;
}

.rg-hint a {
  font-weight: 600;
}

body.rg--landing .rg-main {
  padding-top: 12px;
}

.rgl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  max-width: 1080px;
  margin: 28px auto 0;
}
@media (max-width: 860px) {
  .rgl-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    text-align: center;
  }
}
.rgl-hero__copy h1 {
  margin: 14px 0 16px;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.rgl-hero__copy h1 em {
  color: #b07800;
  font-style: normal;
}
.rgl-hero__copy > p {
  margin: 0 0 26px;
  max-width: 500px;
  color: #4a4458;
  font-size: 1.08rem;
  line-height: 1.6;
}
.rgl-hero__copy .rg-start {
  margin: 0;
}
@media (max-width: 860px) {
  .rgl-hero__copy > p {
    margin-inline: auto;
  }
  .rgl-hero__copy .rg-start {
    margin: 0 auto;
  }
}

.rgl-mine {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 14px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 999px;
  background: #fff;
  color: #4a4458 !important;
  font-size: 0.86rem;
  text-decoration: none;
}
.rgl-mine span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #17131f;
  color: #fff;
  font-weight: 600;
}

.rgl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #807a8f;
  font-size: 0.86rem;
}
.rgl-trust i {
  color: #1f8a4c;
}
@media (max-width: 860px) {
  .rgl-trust {
    justify-content: center;
  }
}

.rgl-demo {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 420px;
  height: 400px;
}
@media (max-width: 480px) {
  .rgl-demo {
    height: 360px;
    transform: scale(0.9);
  }
}

.rgl-gift {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 210px;
  padding: 10px 10px 14px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(23, 19, 31, 0.35), 0 2px 6px rgba(23, 19, 31, 0.04);
  text-align: left;
}
.rgl-gift small {
  color: #807a8f;
  font-size: 0.74rem;
}
.rgl-gift--a {
  top: 40px;
  left: 0;
  z-index: 2;
  transform: rotate(-4deg);
}
.rgl-gift--b {
  top: 0;
  right: 0;
  transform: rotate(5deg);
}
.rgl-gift--c {
  bottom: 10px;
  right: 30px;
  width: 190px;
  transform: rotate(-1deg);
  opacity: 0.95;
}
.rgl-gift__pic {
  position: relative;
  display: grid;
  place-items: center;
  height: 110px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: linear-gradient(150deg, #f6e6cf, #e8c99b);
  color: rgba(90, 60, 30, 0.75);
  font-size: 2.4rem;
}
.rgl-gift__pic em {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #9a6a00;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
}
.rgl-gift--b .rgl-gift__pic {
  background: linear-gradient(150deg, #e9eef8, #cdd8ee);
  color: rgba(40, 60, 110, 0.6);
}
.rgl-gift--c .rgl-gift__pic {
  height: 80px;
  background: linear-gradient(150deg, #e4f4ec, #c4e6d3);
  color: rgba(30, 90, 60, 0.6);
}
.rgl-gift__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86rem;
}
.rgl-gift__btn {
  display: grid;
  place-items: center;
  height: 34px;
  margin-top: 8px;
  border-radius: 999px;
  background: #17131f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}
.rgl-gift__bar {
  display: block;
  height: 6px;
  margin: 6px 0 2px;
  overflow: hidden;
  border-radius: 99px;
  background: #f3efe8;
}
.rgl-gift__bar i {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: #d9a441;
}

.rgl-taken {
  color: #1f8a4c !important;
  font-weight: 600;
}

.rgl-toast {
  position: absolute;
  bottom: 36px;
  left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #17131f;
  box-shadow: 0 14px 30px -12px rgba(23, 19, 31, 0.5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  animation: rgl-toast 5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.rgl-toast i {
  color: #ffd36b;
}

@keyframes rgl-toast {
  0%, 8% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  16%, 84% {
    opacity: 1;
    transform: none;
  }
  92%, 100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rgl-toast {
    animation: none;
  }
}
.rgl-h2 {
  margin: 0 0 20px;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.rgl-features {
  max-width: 1080px;
  margin-top: 80px;
}

.rgl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 860px) {
  .rgl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .rgl-grid {
    grid-template-columns: 1fr;
  }
}
.rgl-grid li {
  padding: 20px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 20px;
  background: #fff;
}
.rgl-grid strong {
  display: block;
  margin: 12px 0 4px;
}
.rgl-grid p {
  margin: 0;
  color: #4a4458;
  font-size: 0.92rem;
  line-height: 1.55;
}

.rgl-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.1rem;
}
.rgl-ic--gold {
  background: #fff3d1;
  color: #b07800;
}
.rgl-ic--rose {
  background: #ffe6ee;
  color: #cc2f63;
}
.rgl-ic--violet {
  background: #efe8ff;
  color: #6a42d8;
}
.rgl-ic--green {
  background: #dff6ec;
  color: #23804b;
}
.rgl-ic--blue {
  background: #e3efff;
  color: #1c6ed6;
}
.rgl-ic--amber {
  background: #ffecd6;
  color: #c25b00;
}

.rgl-occasions {
  text-align: center;
}

.rgl-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.rgl-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(23, 19, 31, 0.09);
  border-radius: 999px;
  background: #fff;
  color: #17131f !important;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.rgl-chips a:hover {
  box-shadow: 0 8px 20px -10px rgba(23, 19, 31, 0.3);
  transform: translateY(-1px);
}
.rgl-chips a i {
  color: #b07800;
}

.rgl-cta {
  max-width: 1080px;
  margin: 72px auto 0;
  padding: clamp(32px, 5vw, 56px) 24px;
  border-radius: 32px;
  background: radial-gradient(60% 90% at 100% 0%, rgba(214, 160, 40, 0.35), transparent 70%), #17131f;
  color: #fff;
  text-align: center;
}
.rgl-cta h2 {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rgl-cta p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.75);
}
.rgl-cta .rg-btn {
  border-color: #fff;
  color: #17131f !important;
}
