* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f4ef;
  color: #1f2428;
  font-family: Arial, sans-serif;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 520px);
  background: #ffffff;
  border: 1px solid #d9d4ca;
  border-radius: 8px;
  padding: 28px;
}

h1 {
  margin: 0 0 24px;
  font-size: 28px;
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid #bbb4aa;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 400;
}

.checkbox input {
  width: 18px;
  height: 18px;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.consent-field label {
  display: block;
  font-weight: 400;
  line-height: 1.45;
}

.consent-field a,
.policy-content a {
  color: #245c50;
}

.required-note {
  display: block;
  margin-top: 4px;
  color: #8f2f24;
  font-size: 13px;
  font-weight: 700;
}

.policy-page {
  place-items: start center;
}

.policy-content {
  width: min(100%, 760px);
}

.policy-content h2 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.policy-content p {
  line-height: 1.55;
}

.policy-details {
  margin: 0;
}

.policy-details dt {
  margin-top: 12px;
  font-weight: 700;
}

.policy-details dd {
  margin: 4px 0 0;
  line-height: 1.5;
}

button {
  border: 0;
  border-radius: 6px;
  background: #2f584f;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 16px;
}

.hero-profile-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(191, 151, 73, 0.22), transparent 34%),
    linear-gradient(180deg, #090806 0%, #1a1711 52%, #f8f1df 100%);
}

.hero-profile-page {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 14px 14px 24px;
}

.hero-profile-card {
  background: #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.34);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(10, 8, 5, 0.18);
  padding: 18px;
}

.hero-profile-main-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(245, 229, 191, 0.88)),
    url("../img/brand/sobranie-logo-mark.png") right -58px top -62px / 176px 188px no-repeat,
    #fffaf0;
  color: #14110b;
  border-color: rgba(191, 151, 73, 0.5);
  min-height: 240px;
}

.hero-profile-main-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(191, 151, 73, 0.14);
  border-radius: 50%;
}

.sobranie-brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 210px);
  height: auto;
  margin-bottom: 16px;
  padding: 8px 10px;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(216, 177, 91, 0.42);
  border-radius: 8px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.hero-profile-main-card .sobranie-brand-logo {
  width: 124px;
  margin-bottom: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  opacity: 0.82;
  filter: none;
}

.hero-profile-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.hero-profile-header h1 {
  margin-bottom: 10px;
  color: #14110b;
  font-size: 42px;
  line-height: 1.05;
}

.hero-eyebrow {
  margin: 0 0 12px;
  color: #9b762e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-profile-main-card .hero-eyebrow {
  color: #9b762e;
}

.hero-title {
  margin: 0;
  color: #8f681f;
  font-size: 24px;
  font-weight: 700;
}

.hero-level {
  width: 88px;
  background: radial-gradient(circle at 50% 28%, #f8e4a8 0%, #c89a3d 52%, #8f681f 100%);
  border: 1px solid rgba(255, 236, 171, 0.82);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  aspect-ratio: 1;
  padding: 14px 10px;
  text-align: center;
}

.hero-level-badge {
  width: 88px;
  background: radial-gradient(circle at 50% 28%, #f8e4a8 0%, #c89a3d 52%, #8f681f 100%);
  border: 1px solid rgba(255, 236, 171, 0.82);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  aspect-ratio: 1;
  padding: 14px 10px;
  text-align: center;
}

.hero-level-badge span {
  display: block;
  color: #2a1d07;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-level-badge strong {
  display: block;
  color: #15100a;
  font-size: 38px;
  line-height: 1;
}

.hero-level span {
  display: block;
  color: #2a1d07;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-level strong {
  display: block;
  color: #15100a;
  font-size: 38px;
  line-height: 1;
}

.hero-progress {
  position: relative;
  z-index: 1;
  height: 16px;
  margin-top: 22px;
  overflow: hidden;
  background: rgba(20, 17, 11, 0.1);
  border: 1px solid rgba(155, 118, 46, 0.28);
  border-radius: 999px;
}

.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #9b762e, #d8b15b, #fff1ba);
  border-radius: inherit;
}

.hero-progress-copy {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 0;
  color: #2a2114;
  font-weight: 700;
}

.hero-progress-copy p {
  margin: 0;
}

.hero-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.hero-profile-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
  color: #14110b;
}

.hero-profile-card p:last-child {
  margin-bottom: 0;
}

.hero-story-card {
  background: #fffaf0;
}

.hero-goal-card {
  background: #14110b;
  border: 1px solid #d8b15b;
  color: #fffaf0;
  box-shadow: 0 20px 52px rgba(10, 8, 5, 0.28);
  padding: 20px 18px;
}

.hero-goal-card .hero-eyebrow,
.hero-goal-card h2 {
  color: #d8b15b;
}

.hero-reward-card {
  background: linear-gradient(180deg, #fffaf0, #f2dfb2);
  border-color: rgba(155, 118, 46, 0.46);
}

.hero-reward-card h2 {
  color: #8f681f;
  font-size: 23px;
  letter-spacing: 0.08em;
}

.hero-privilege-card {
  background: #fffaf0;
}

.hero-privilege-card p {
  color: #2a2114;
  line-height: 1.45;
}

.hero-path-details {
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
}

.hero-path-details summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: #14110b;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.hero-path-details summary::-webkit-details-marker {
  display: none;
}

.hero-path-details summary::after {
  content: "+";
  color: #9b762e;
  font-size: 22px;
  line-height: 1;
}

.hero-path-details[open] summary::after {
  content: "–";
}

.hero-compact-timeline {
  padding: 0 14px 16px;
}

.hero-next-adventure-card {
  margin-top: 12px;
  background: #fffaf0;
}

.hero-timeline {
  display: grid;
  gap: 10px;
}

.hero-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px;
  background: #f7eddb;
  border: 1px solid rgba(155, 118, 46, 0.24);
  border-radius: 8px;
}

.hero-timeline-step::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -11px;
  width: 1px;
  height: 10px;
  background: rgba(155, 118, 46, 0.38);
}

.hero-timeline-step:last-child::after {
  display: none;
}

.hero-timeline-step h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

.hero-timeline-step p {
  margin: 0;
}

.hero-step-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #17120a;
  background: #d8b15b;
  border-radius: 50%;
  font-weight: 700;
}

.hero-step-label {
  color: #9b762e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-timeline-step-current {
  background: #14110b;
  border-color: #d8b15b;
  color: #fffaf0;
}

.hero-timeline-step-current h2,
.hero-timeline-step-current .hero-step-label {
  color: #d8b15b;
}

.hero-timeline-step-locked {
  opacity: 0.72;
}

.hero-timeline-step-locked .hero-step-marker {
  background: #d8cdb9;
  color: #5d5037;
}

.hero-motivation-card {
  margin-top: 12px;
  background: #14110b;
  border-color: rgba(216, 177, 91, 0.48);
  color: #fffaf0;
  text-align: center;
}

.hero-motivation-card p {
  margin: 0;
  color: #f7e7b8;
  line-height: 1.55;
}

.stamp-card-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 177, 91, 0.2), transparent 30%),
    linear-gradient(180deg, #080705 0%, #17120a 48%, #f8f1df 100%);
  color: #1c160d;
}

.stamp-card-page {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 14px 14px 24px;
}

.stamp-card-hero {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  padding: 24px 18px;
  background:
    linear-gradient(145deg, rgba(8, 7, 5, 0.88), rgba(31, 24, 13, 0.96)),
    url("../img/brand/sobranie-logo-mark.png") right -76px top -82px / 230px 230px no-repeat,
    linear-gradient(145deg, rgba(8, 7, 5, 0.98), rgba(31, 24, 13, 0.98)),
    #090806;
  border: 1px solid rgba(216, 177, 91, 0.58);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(10, 8, 5, 0.24);
  color: #fffaf0;
}

.stamp-card-hero h1 {
  margin: 0 0 12px;
  color: #fffaf0;
  font-size: 36px;
  line-height: 1.05;
}

.stamp-card-hero p:last-child {
  width: min(100%, 320px);
  margin: 0;
  color: #f7e7b8;
  font-size: 16px;
  line-height: 1.45;
}

.stamp-eyebrow {
  margin: 0 0 10px;
  color: #d8b15b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp-card-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.stamp-card {
  background: #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.36);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(10, 8, 5, 0.16);
  padding: 18px;
}

.stamp-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.stamp-card h2 {
  margin: 0;
  color: #14110b;
  font-size: 28px;
  line-height: 1.1;
}

.stamp-count {
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 42px;
  padding: 8px 10px;
  background: #14110b;
  border: 1px solid rgba(216, 177, 91, 0.62);
  border-radius: 999px;
  color: #f8e4a8;
  font-size: 17px;
  font-weight: 700;
}

.stamp-dots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.stamp-dots-eight {
  grid-template-columns: repeat(8, 1fr);
}

.stamp-dot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid rgba(155, 118, 46, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 250, 240, 0.56);
}

.stamp-dot-filled {
  background: radial-gradient(circle at 35% 28%, #fff1ba 0%, #d8b15b 50%, #8f681f 100%);
  border-color: rgba(143, 104, 31, 0.7);
  box-shadow:
    inset 0 0 0 3px rgba(255, 250, 240, 0.42),
    0 8px 18px rgba(143, 104, 31, 0.2);
}

.stamp-card-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(155, 118, 46, 0.2);
}

.stamp-label {
  margin: 0 0 5px;
  color: #9b762e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp-card-footer strong {
  display: block;
  color: #14110b;
  font-size: 20px;
  line-height: 1.2;
}

.stamp-status {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 9px 12px;
  background: #14110b;
  border: 1px solid rgba(216, 177, 91, 0.5);
  border-radius: 999px;
  color: #f8e4a8;
  font-weight: 700;
}

.stamp-card-note {
  margin-top: 10px;
  padding: 18px;
  background: #14110b;
  border: 1px solid rgba(216, 177, 91, 0.44);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(10, 8, 5, 0.18);
  color: #f7e7b8;
}

.stamp-card-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.guest-home-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 177, 91, 0.2), transparent 31%),
    linear-gradient(180deg, #080705 0%, #17120a 46%, #f8f1df 100%);
  color: #17120a;
}

.guest-home-page {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 14px 14px 92px;
}

.guest-home-header {
  position: relative;
  overflow: hidden;
  min-height: 188px;
  padding: 22px 18px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.95), rgba(246, 229, 191, 0.9)),
    url("../img/brand/sobranie-logo-mark.png") right -64px top -76px / 210px 224px no-repeat,
    #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.5);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(10, 8, 5, 0.22);
}

.guest-home-logo {
  display: block;
  width: 126px;
  height: auto;
  margin-bottom: 22px;
  opacity: 0.82;
}

.guest-home-eyebrow {
  margin: 0 0 8px;
  color: #9b762e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-home-header h1 {
  margin: 0 0 8px;
  color: #14110b;
  font-size: 42px;
  line-height: 1.04;
}

.guest-home-title {
  margin: 0;
  color: #8f681f;
  font-size: 23px;
  font-weight: 700;
}

.guest-home-real-note {
  margin: 12px 0 0;
  color: #4f4027;
  font-size: 14px;
  font-weight: 700;
}

.guest-home-card {
  margin-top: 10px;
  padding: 18px;
  background: #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(10, 8, 5, 0.16);
}

.guest-home-card h2 {
  margin: 0;
  color: #14110b;
  font-size: 28px;
  line-height: 1.1;
}

.guest-balance-card,
.guest-friends-card,
.guest-home-card-header,
.guest-mission-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.guest-home-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #14110b;
  border: 1px solid rgba(216, 177, 91, 0.54);
  border-radius: 50%;
  font-size: 22px;
}

.guest-home-stamps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 18px 0 14px;
}

.guest-home-stamp {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid rgba(155, 118, 46, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 250, 240, 0.56);
}

.guest-home-stamp-filled {
  background: radial-gradient(circle at 35% 28%, #fff1ba 0%, #d8b15b 50%, #8f681f 100%);
  border-color: rgba(143, 104, 31, 0.7);
  box-shadow:
    inset 0 0 0 3px rgba(255, 250, 240, 0.42),
    0 8px 18px rgba(143, 104, 31, 0.18);
}

.guest-home-note {
  margin: 0;
  color: #2a2114;
  font-size: 18px;
  font-weight: 700;
}

.guest-mission-card {
  background: #14110b;
  border-color: #d8b15b;
  color: #fffaf0;
  box-shadow: 0 22px 54px rgba(10, 8, 5, 0.3);
}

.guest-mission-card .guest-home-eyebrow,
.guest-mission-card h2 {
  color: #d8b15b;
}

.guest-mission-card h2 {
  font-size: 29px;
}

.guest-mission-card p {
  margin: 16px 0 6px;
  color: #f7e7b8;
  font-weight: 700;
}

.guest-mission-card strong {
  display: block;
  color: #fff1ba;
  font-size: 23px;
  line-height: 1.18;
}

.guest-home-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: min(calc(100% - 28px), 392px);
  padding: 8px;
  background: rgba(20, 17, 11, 0.95);
  border: 1px solid rgba(216, 177, 91, 0.42);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(10, 8, 5, 0.32);
  transform: translateX(-50%);
}

.guest-home-nav a,
.guest-home-nav span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 6px;
  color: #fff1ba;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
}

.guest-home-page > section[id] {
  scroll-margin-top: 16px;
}

.guest-home-nav a:first-child {
  background: rgba(216, 177, 91, 0.16);
}

@media (min-width: 721px) {
  .hero-profile-page {
    padding-top: 32px;
  }

  .stamp-card-page {
    padding-top: 32px;
  }

  .guest-home-page {
    padding-top: 32px;
  }
}

@media (max-width: 360px) {
  .hero-profile-header h1 {
    font-size: 34px;
  }

  .hero-title {
    font-size: 21px;
  }

  .hero-profile-card h2 {
    font-size: 19px;
  }

  .hero-progress-copy {
    display: grid;
  }

  .stamp-card-hero h1 {
    font-size: 31px;
  }

  .stamp-card h2 {
    font-size: 24px;
  }

  .stamp-dots {
    gap: 6px;
  }

  .guest-home-header h1 {
    font-size: 34px;
  }

  .guest-home-card h2,
  .guest-mission-card h2 {
    font-size: 24px;
  }

  .guest-home-stamps {
    gap: 6px;
  }
}

.guest-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 172px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(242, 221, 176, 0.9)),
    url("../img/brand/sobranie-logo-mark.png") right -76px top -92px / 230px 244px no-repeat,
    #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.52);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(10, 8, 5, 0.24);
}

.guest-home-hero .guest-home-logo {
  width: 104px;
  margin-bottom: 20px;
  opacity: 0.76;
}

.guest-home-identity {
  position: relative;
  z-index: 1;
}

.guest-home-identity h1 {
  margin: 0 0 7px;
  color: #14110b;
  font-size: 43px;
  line-height: 1;
}

.guest-home-balance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
  padding: 16px 18px;
  background: #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.38);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(10, 8, 5, 0.16);
}

.guest-home-balance h2 {
  display: inline;
  margin: 0;
  color: #14110b;
  font-size: 44px;
  line-height: 0.95;
}

.guest-home-balance span {
  margin-left: 6px;
  color: #8f681f;
  font-size: 20px;
  font-weight: 700;
}

.guest-home-balance p:last-child {
  margin: 0;
  color: #4f4027;
  font-size: 14px;
  line-height: 1.35;
}

.guest-home-mission {
  margin-top: 10px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(20, 17, 11, 0.98), rgba(44, 34, 16, 0.98)),
    #14110b;
  border: 1px solid #d8b15b;
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(10, 8, 5, 0.32);
  color: #fffaf0;
}

.guest-home-mission h2 {
  margin: 0 0 10px;
  color: #fffaf0;
  font-size: 30px;
  line-height: 1.08;
}

.guest-home-mission p:not(.guest-home-eyebrow) {
  margin: 0 0 12px;
  color: #f7e7b8;
  line-height: 1.4;
}

.guest-home-mission strong {
  display: inline-flex;
  padding: 9px 12px;
  background: rgba(216, 177, 91, 0.13);
  border: 1px solid rgba(216, 177, 91, 0.48);
  border-radius: 999px;
  color: #fff1ba;
  font-size: 18px;
}

.guest-home-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  padding: 15px 16px;
  background: #fffaf0;
  border: 1px solid rgba(191, 151, 73, 0.34);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(10, 8, 5, 0.13);
}

.guest-home-row h2 {
  margin: 0 0 5px;
  color: #14110b;
  font-size: 22px;
  line-height: 1.08;
}

.guest-home-row span {
  color: #5a492d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.guest-home-mini-stamps {
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 5px;
}

.guest-home-mini-stamp {
  display: block;
  width: 18px;
  height: 18px;
  background: transparent;
  border: 1px solid rgba(155, 118, 46, 0.68);
  border-radius: 50%;
}

.guest-home-mini-stamp.is-filled {
  background: radial-gradient(circle at 35% 28%, #fff1ba 0%, #d8b15b 50%, #8f681f 100%);
  border-color: rgba(143, 104, 31, 0.7);
}

.guest-home-progress-row {
  grid-template-columns: 1fr;
}

.guest-home-progress {
  height: 12px;
  overflow: hidden;
  background: rgba(20, 17, 11, 0.12);
  border: 1px solid rgba(155, 118, 46, 0.26);
  border-radius: 999px;
}

.guest-home-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #9b762e, #d8b15b, #fff1ba);
  border-radius: inherit;
}

.guest-home-friends-count {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #17120a;
  background: radial-gradient(circle at 35% 28%, #fff1ba 0%, #d8b15b 55%, #9b762e 100%);
  border-radius: 50%;
  font-size: 24px;
}

.guest-shell-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 177, 91, 0.2), transparent 31%),
    linear-gradient(180deg, #080705 0%, #17120a 46%, #f8f1df 100%);
}

.guest-shell {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 14px 14px 92px;
}

.guest-topbar {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  margin-bottom: 10px;
}

.guest-brand-logo {
  display: block;
  width: 132px;
  height: auto;
  justify-self: end;
  padding: 6px 8px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(216, 177, 91, 0.28);
  border-radius: 8px;
  opacity: 0.98;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.34));
}

.guest-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 8px 12px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(216, 177, 91, 0.36);
  border-radius: 999px;
  color: #f8e4a8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.guest-back-link-muted {
  color: rgba(248, 228, 168, 0.76);
}

.guest-identity-card {
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(242, 221, 176, 0.9)),
    url("../img/brand/sobranie-logo-mark.png") right -76px top -92px / 230px 244px no-repeat,
    #fffaf0;
  color: #14110b;
  border: 1px solid rgba(191, 151, 73, 0.52);
  box-shadow: 0 22px 48px rgba(10, 8, 5, 0.24);
}

.guest-primary-card {
  background:
    linear-gradient(145deg, rgba(20, 17, 11, 0.98), rgba(44, 34, 16, 0.98)),
    #14110b;
  border-color: #d8b15b;
  color: #fffaf0;
  box-shadow: 0 24px 56px rgba(10, 8, 5, 0.32);
}

.guest-ivory-card {
  background: #fffaf0;
  border-color: rgba(191, 151, 73, 0.36);
  color: #14110b;
  box-shadow: 0 18px 40px rgba(10, 8, 5, 0.16);
}

.guest-bottom-nav a.is-active,
.guest-bottom-nav span.is-active {
  background: rgba(216, 177, 91, 0.18);
  color: #fff1ba;
}

.guest-bottom-nav .guest-nav-disabled {
  opacity: 0.72;
  border: 1px dashed rgba(248, 228, 168, 0.42);
}

.hero-profile-main-card .sobranie-brand-logo,
.stamp-card-hero .sobranie-brand-logo,
.guest-home-hero .guest-home-logo {
  display: none;
}

.hero-profile-page,
.stamp-card-page,
.guest-home-page {
  padding: 14px 14px 92px;
}

.hero-profile-main-card {
  min-height: 214px;
}

.stamp-card-hero {
  min-height: 154px;
  padding: 22px 18px;
  color: #14110b;
}

.stamp-card-hero h1 {
  color: #14110b;
}

.stamp-card-hero p:last-child {
  color: #4f4027;
}

.stamp-card-note {
  color: #f7e7b8;
}

.stamp-card-note p {
  color: #f7e7b8;
}

.guest-home-nav a:first-child,
.guest-home-nav span:first-child {
  background: transparent;
}

.admin-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  border-bottom: 1px solid #ded8cf;
  padding: 12px;
  text-align: left;
}

.details {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 16px;
  background: #ffffff;
  border: 1px solid #d9d4ca;
  border-radius: 8px;
  padding: 20px;
}

dt {
  font-weight: 700;
}
