:root {
  color-scheme: dark;
  --bg: #171a18;
  --panel: #202420;
  --panel2: #282d26;
  --line: #373d32;
  --text: #f4f4e9;
  --muted: #a3aa9c;
  --lime: #d2f76b;
  --lilac: #c9b9fa;
  --peach: #fac6ab;
  --radius: 24px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--lilac);
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  border-right: 1px solid var(--line);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -1.2px;
  line-height: 1.1;
}
.brand-mark {
  color: var(--lime);
  font-size: 46px;
  line-height: 1;
}
.brand-sub {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--muted);
}
.sidebar-caption {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #7f8777;
  margin: 57px 12px 15px;
}
.main-nav {
  display: grid;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  background: transparent;
  border-radius: 13px;
  text-align: left;
  color: var(--muted);
  font-weight: 650;
}
.nav-link:hover {
  background: #252a23;
  color: var(--text);
}
.nav-link.active {
  color: var(--lime);
  background: #2d3524;
}
.nav-icon {
  font-size: 22px;
  width: 24px;
  line-height: 1;
}
.nav-arrow,
.nav-counter {
  margin-left: auto;
}
.nav-counter {
  font-size: 11px;
  background: #333a2d;
  padding: 1px 7px;
  border-radius: 6px;
}
.sidebar-note {
  margin-top: auto;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 16px;
  background: linear-gradient(145deg, #272b24, #1c201c);
}
.note-illustration {
  color: var(--lilac);
  font-size: 38px;
  display: block;
  margin-bottom: 12px;
}
.sidebar-note strong {
  font-size: 17px;
  line-height: 1.4;
  display: block;
  letter-spacing: -0.3px;
}
.sidebar-note p {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.text-link {
  background: none;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
}
.sidebar-bottom {
  color: var(--muted);
  font-size: 10px;
}
.little-dot {
  display: inline-block;
  background: var(--lime);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 5px;
}
.reset-button {
  display: block;
  background: none;
  padding: 12px 0 0;
  font-size: 10px;
  color: var(--muted);
}
.workspace {
  margin-left: 236px;
  padding: 0 42px;
  max-width: 1720px;
}
.topbar {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.breadcrumb {
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb span {
  margin: 0 14px;
  color: #58604e;
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--text);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.demo-pill {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-pill span {
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
}
.invite-button {
  background: none;
  border: 1px solid #48513d;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 650;
  font-size: 12px;
}
.invite-button span {
  margin-right: 6px;
  font-size: 17px;
}
.profile-avatar {
  background: var(--lilac);
  color: #302844;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border-radius: 14px;
  transform: rotate(-5deg);
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 20px;
}
.demo-notice > span {
  color: var(--lime);
  font-size: 18px;
}
.demo-notice p {
  margin: 0;
}
.hero {
  border-radius: 28px;
  background: #272e22;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  border: 1px solid #39412e;
}
.hero-copy {
  padding: 36px 0 30px 38px;
  z-index: 2;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tiny-star {
  color: var(--lime);
  font-size: 16px;
}
.hero h1 {
  font-size: clamp(45px, 4.5vw, 72px);
  font-weight: 900;
  letter-spacing: -3.7px;
  line-height: 1.01;
  margin: 20px 0 18px;
  position: relative;
}
.hero h1 > span:first-of-type,
.page-intro h1 span {
  color: var(--lime);
}
.headline-star {
  color: var(--lilac);
  font-size: 54px;
  display: inline-block;
  margin-left: 12px;
  transform: rotate(14deg);
  vertical-align: middle;
}
.hero-copy > p {
  color: #c6cdbd;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 23px;
}
.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: var(--lime);
  color: #263015;
  padding: 13px 22px;
  border-radius: 13px;
  font-weight: 800;
  font-size: 13px;
  min-height: 46px;
}
.primary-button:hover {
  background: #e0ff8e;
  transform: translateY(-1px);
}
.primary-button > span {
  font-size: 20px;
  line-height: 1;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: #a8b39b;
  margin-top: 22px;
}
.stack-avatars {
  display: flex;
  padding-left: 0;
}
.stack-avatars i {
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--peach);
  color: #463627;
  border: 2px solid #272e22;
  margin-left: -5px;
}
.stack-avatars i:first-child {
  margin-left: 0;
}
.stack-avatars i:nth-child(2) {
  background: var(--lilac);
}
.stack-avatars i:nth-child(3) {
  background: var(--lime);
}
.hero-art {
  position: relative;
  min-width: 0;
}
.orbit {
  position: absolute;
  border: 1px solid #536039;
  border-radius: 50%;
  width: 350px;
  height: 350px;
  right: 16px;
  top: 65px;
  transform: rotate(-28deg);
}
.orbit-two {
  width: 480px;
  height: 200px;
  right: -43px;
  top: 146px;
  transform: rotate(-35deg);
}
.hero-character {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 24px 18px #0006);
}
.hero-character-one {
  width: 65%;
  height: 78%;
  left: 0;
  top: 12%;
  transform: rotate(-15deg);
  z-index: 3;
}
.hero-character-two {
  width: 53%;
  height: 60%;
  right: 0;
  top: -1%;
  transform: rotate(16deg);
  z-index: 2;
}
.hero-character-three {
  width: 49%;
  height: 59%;
  right: 0;
  bottom: 3%;
  transform: rotate(15deg);
  z-index: 4;
}
.floating-label {
  position: absolute;
  border-radius: 8px;
  background: var(--lilac);
  color: #352b46;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 9px 13px;
  z-index: 6;
  box-shadow: 0 6px 15px #0003;
}
.label-one {
  top: 16%;
  left: 10%;
  transform: rotate(-10deg);
}
.label-two {
  bottom: 15%;
  left: 6%;
  transform: rotate(7deg);
  background: var(--peach);
}
.art-spark {
  position: absolute;
  font-size: 46px;
  z-index: 5;
  color: var(--lime);
}
.spark-one {
  right: 18px;
  top: 45%;
}
.spark-two {
  left: 23%;
  bottom: 2%;
  color: var(--lilac);
  font-size: 31px;
}
.art-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  background: var(--peach);
}
.dot-one {
  left: 0;
  top: 50%;
}
.dot-two {
  right: 15%;
  bottom: 11%;
  background: var(--lime);
}
.art-caption {
  position: absolute;
  bottom: 14px;
  right: 24px;
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #9da98d;
}
.collection-summary {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 28px;
  margin: 20px 0 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.summary-title {
  display: flex;
  gap: 15px;
  align-items: center;
}
.summary-symbol {
  font-size: 28px;
  background: #323a28;
  color: var(--lime);
  padding: 9px 13px;
  border-radius: 13px;
}
.micro-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.summary-title strong {
  font-size: 23px;
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.summary-title .muted {
  font-size: 14px;
  font-weight: 450;
}
.muted {
  color: var(--muted);
}
.summary-progress {
  flex: 1;
}
.progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 10px;
  gap: 12px;
}
.progress-top span:last-child {
  color: var(--lime);
  font-weight: 750;
}
.progress-track {
  height: 6px;
  background: #373f2e;
  border-radius: 20px;
  overflow: hidden;
}
.progress-track > div {
  background: var(--lime);
  height: 100%;
  border-radius: inherit;
  transition: width 0.3s;
}
.summary-extra {
  display: flex;
  gap: 27px;
  border-left: 1px solid var(--line);
  padding-left: 27px;
}
.summary-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.summary-mini strong {
  font-size: 24px;
  line-height: 1.2;
  color: var(--lilac);
}
.summary-mini:last-child strong {
  color: var(--peach);
}
.summary-mini > span {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 4px 0 0;
  line-height: 1.2;
}
.small-star {
  color: var(--lilac);
  font-size: 24px;
  margin-left: 8px;
}
.section-hint {
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 4px;
}
.album-toolbar {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-button {
  border: 1px solid transparent;
  padding: 9px 12px;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  min-height: 38px;
}
.filter-button.active {
  background: var(--lime);
  color: #263015;
}
.filter-button:not(.active):hover {
  border-color: var(--line);
  color: var(--text);
}
.filter-button span {
  margin-left: 5px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 12px;
  background: #1d211c;
  width: 184px;
  flex-shrink: 0;
  color: var(--muted);
}
.search-box > span {
  font-size: 23px;
  line-height: 1;
}
.search-box input {
  background: none;
  border: 0;
  width: 100%;
  min-width: 0;
  color: var(--text);
  font-size: 11px;
  padding: 3px 0;
}
.search-box input::placeholder {
  color: #919b87;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.character-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
  padding: 16px;
  transition:
    transform 0.2s,
    border-color 0.2s;
  min-width: 0;
}
.character-card:hover {
  transform: translateY(-4px);
  border-color: #78845f;
}
.character-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 12px 9px #0003);
  display: block;
}
.card-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 9px 0 3px;
}
.card-meta {
  color: var(--muted);
  font-size: 10px;
}
.card-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  color: #b8c5a4;
  font-size: 10px;
  border-radius: 8px;
  padding: 4px 7px;
  background: #333c2b;
}
.character-card.missing .character-image {
  filter: grayscale(1);
  opacity: 0.25;
}
.character-card.missing {
  background: #1c201c;
  border-style: dashed;
}
.quantity-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.quantity-control button {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #353e2c;
  color: var(--lime);
  font-size: 20px;
}
.album-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #89937e;
  font-size: 9px;
  letter-spacing: 0.2px;
  margin-top: 22px;
}
.page-intro {
  padding: 36px 0 45px;
}
.page-intro .eyebrow {
  color: var(--lilac);
}
.page-intro h1 {
  font-size: clamp(37px, 5vw, 65px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2.7px;
  margin: 20px 0;
}
.page-intro p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.friend-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 24px;
}
.friend-avatar {
  font-size: 34px;
  background: var(--lilac);
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #392d48;
}
.friend-card h3 {
  font-size: 23px;
  margin: 15px 0 5px;
  letter-spacing: -0.8px;
}
.friend-card p {
  font-size: 12px;
  color: var(--muted);
}
.match-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  background: #2b3226;
  border-radius: 14px;
}
.match-preview img {
  width: 75px;
  height: 80px;
  object-fit: contain;
}
.safety-note {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 28px 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #222820;
  color: var(--muted);
  font-size: 12px;
}
.safety-note > span {
  font-size: 28px;
  color: var(--lime);
}
.safety-note p {
  margin: 0;
}
.exchanges-list {
  display: grid;
  gap: 16px;
}
.exchange-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: var(--panel);
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 45px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #87917d;
  font-size: 9px;
}
.footer-brand {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.7px;
  color: #c1c9b5;
  white-space: nowrap;
}
.footer-brand > span {
  color: var(--lime);
  margin-left: 5px;
}
.site-footer p {
  flex: 1;
  margin: 0;
}
.site-footer a {
  white-space: nowrap;
}
.mobile-nav {
  display: none;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #0b100bce;
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.modal {
  background: #242a21;
  border: 1px solid #48543b;
  border-radius: 26px;
  padding: 28px;
  width: min(680px, 100%);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 30px 100px #0007;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.modal-header h2 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.close-button {
  font-size: 25px;
  background: #36402e;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}
.modal-body {
  margin-top: 12px;
}
.modal p {
  color: #b9c3ad;
  font-size: 13px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.secondary-button {
  background: #353f2c;
  border: 1px solid #51613e;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 18px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 650;
}
.secondary-button:hover {
  background: #414d35;
}
.modal input,
.modal select {
  background: #1b2118;
  color: var(--text);
  border: 1px solid #4b583e;
  border-radius: 10px;
  padding: 11px;
  max-width: 100%;
  font: inherit;
}
.modal label {
  color: #c9d2bf;
  font-size: 12px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  z-index: 150;
  background: var(--lime);
  color: #283319;
  font-weight: 700;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: 0 8px 30px #0006;
  max-width: calc(100vw - 40px);
  font-size: 12px;
  text-align: center;
}
.empty-state {
  padding: 50px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 20px;
  grid-column: 1/-1;
}
.empty-state h3 {
  color: var(--text);
}
@media (min-width: 1500px) {
  .album-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .hero {
    min-height: 465px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-art {
    max-width: 610px;
  }
  .hero-character-one {
    left: 8%;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding: 30px 18px;
  }
  .brand {
    font-size: 22px;
  }
  .workspace {
    margin-left: 210px;
    padding: 0 26px;
  }
  .hero-copy {
    padding-left: 26px;
  }
  .hero h1 {
    letter-spacing: -2.5px;
  }
  .hero {
    min-height: 425px;
  }
  .headline-star {
    font-size: 36px;
    margin-left: 7px;
  }
  .collection-summary {
    gap: 20px;
    padding: 20px;
  }
  .summary-progress {
    display: none;
  }
  .summary-extra {
    margin-left: auto;
  }
  .album-grid {
    gap: 12px;
  }
  .character-image {
    height: 130px;
  }
  .character-card {
    padding: 13px;
  }
  .album-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .search-box {
    width: 100%;
  }
  .friends-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-footnote {
    font-size: 8px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
    padding: 0 20px;
  }
  .topbar {
    height: 78px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb span {
    margin: 0 7px;
  }
  .topbar-actions {
    gap: 10px;
  }
  .invite-button {
    padding: 8px 11px;
    font-size: 10px;
  }
  .demo-pill {
    display: none;
  }
  .profile-avatar {
    width: 32px;
    height: 32px;
    font-size: 22px;
    border-radius: 11px;
  }
  .demo-notice {
    font-size: 9px;
    margin-bottom: 15px;
    padding: 9px 11px;
  }
  .hero {
    min-height: 550px;
    grid-template-columns: 1fr;
    border-radius: 23px;
  }
  .hero-copy {
    padding: 27px 24px 25px;
  }
  .hero h1 {
    font-size: 53px;
    letter-spacing: -2.7px;
    margin: 17px 0;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 210px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .headline-star {
    font-size: 38px;
  }
  .hero-art {
    position: absolute;
    bottom: 0;
    right: -5px;
    width: 64%;
    height: 275px;
  }
  .hero-character-one {
    width: 75%;
    height: 88%;
    left: -13%;
    top: 0;
  }
  .hero-character-two {
    width: 58%;
    height: 67%;
    top: 0;
    right: 0;
  }
  .hero-character-three {
    height: 65%;
    width: 56%;
    bottom: -2%;
    right: 1%;
  }
  .orbit-one {
    width: 250px;
    height: 250px;
    right: -20px;
    top: 0;
  }
  .orbit-two {
    width: 340px;
    height: 140px;
    right: -60px;
    top: 70px;
  }
  .floating-label {
    font-size: 7px;
    padding: 7px 8px;
  }
  .label-one {
    top: 12%;
    left: 2%;
  }
  .label-two {
    bottom: 10%;
    left: -12%;
  }
  .art-caption {
    display: none;
  }
  .hero-footnote {
    position: relative;
    max-width: 130px;
    align-items: start;
    margin-top: 30px;
    line-height: 1.5;
    z-index: 7;
  }
  .stack-avatars {
    flex-shrink: 0;
  }
  .hero-copy .primary-button {
    position: relative;
    z-index: 8;
    gap: 20px;
  }
  .spark-two {
    bottom: 0;
    left: 10%;
  }
  .spark-one {
    font-size: 30px;
  }
  .collection-summary {
    border-radius: 17px;
    margin: 15px 0 28px;
    padding: 16px;
    gap: 10px;
  }
  .summary-symbol {
    font-size: 23px;
    padding: 7px 9px;
  }
  .summary-title {
    gap: 10px;
  }
  .summary-title strong {
    font-size: 21px;
  }
  .summary-title .muted {
    font-size: 11px;
  }
  .micro-label {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .summary-extra {
    gap: 15px;
    padding-left: 15px;
  }
  .summary-mini strong {
    font-size: 21px;
  }
  .summary-mini > span {
    font-size: 8px;
  }
  .section-heading {
    align-items: start;
    gap: 12px;
    margin-bottom: 16px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .section-hint {
    font-size: 9px;
    max-width: 130px;
    text-align: right;
    line-height: 1.5;
    padding-top: 12px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .album-toolbar {
    gap: 13px;
    margin-bottom: 17px;
  }
  .filters {
    gap: 4px;
    width: 100%;
  }
  .filter-button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 36px;
  }
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .character-image {
    height: 150px;
  }
  .character-card {
    border-radius: 17px;
    padding: 12px;
  }
  .card-name {
    font-size: 14px;
  }
  .card-badge {
    top: 10px;
    right: 10px;
  }
  .album-footer {
    font-size: 8px;
    line-height: 1.5;
  }
  .page-intro {
    padding: 23px 0 32px;
  }
  .page-intro h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .page-intro p {
    font-size: 12px;
  }
  .page-intro .eyebrow {
    font-size: 8px;
  }
  .friends-grid {
    grid-template-columns: 1fr;
  }
  .friend-card {
    padding: 20px;
  }
  .safety-note {
    padding: 17px;
    font-size: 11px;
    gap: 12px;
  }
  .site-footer {
    margin: 30px 0 98px;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.5;
  }
  .site-footer p {
    min-width: 60%;
    font-size: 8px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 50;
    background: #1d231def;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    padding: 7px 20px max(7px, env(safe-area-inset-bottom));
    justify-content: space-around;
    gap: 12px;
  }
  .mobile-nav .nav-link {
    flex-direction: column;
    gap: 2px;
    font-size: 9px;
    padding: 5px 20px;
    min-height: 51px;
    flex: 1;
    align-items: center;
  }
  .mobile-nav .nav-link > span {
    font-size: 23px;
    line-height: 1.2;
  }
  .modal-backdrop {
    padding: 12px;
    align-items: center;
  }
  .modal {
    padding: 22px 18px;
    border-radius: 22px;
    max-height: 87dvh;
  }
  .modal-header h2 {
    font-size: 24px;
  }
  .modal-actions {
    justify-content: stretch;
  }
  .modal-actions > * {
    flex: 1;
  }
  .toast {
    bottom: 85px;
    left: 50%;
    width: max-content;
    max-width: calc(100vw - 32px);
  }
}
@media (max-width: 360px) {
  .workspace {
    padding: 0 14px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .profile-avatar {
    display: none;
  }
  .hero-copy {
    padding-left: 20px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero {
    min-height: 530px;
  }
  .hero-art {
    width: 68%;
    height: 245px;
  }
  .summary-title .muted {
    font-size: 10px;
  }
  .summary-extra {
    gap: 10px;
    padding-left: 10px;
  }
  .summary-symbol {
    display: none;
  }
  .filter-button {
    padding: 7px 8px;
    font-size: 9px;
  }
  .character-image {
    height: 130px;
  }
  .section-hint {
    max-width: 105px;
  }
  .headline-star {
    font-size: 31px;
  }
  .mobile-nav {
    padding-left: 10px;
    padding-right: 10px;
  }
  .mobile-nav .nav-link {
    padding: 5px 12px;
  }
  .album-footer {
    gap: 10px;
  }
  .hero-footnote {
    max-width: 116px;
    font-size: 8px;
  }
  .summary-mini strong {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .character-card:hover,
  .primary-button:hover {
    transform: none;
  }
}
/* Interactive component vocabulary shared with app.js. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 17px;
  border-radius: 12px;
  font-weight: 750;
  font-size: 12px;
}
.button-primary {
  background: var(--lime);
  color: #263015;
}
.button-primary:hover {
  background: #e0ff8e;
}
.button-secondary {
  background: #36412d;
  border: 1px solid #50623c;
  color: var(--text);
}
.text-button {
  background: none;
  color: var(--lime);
  font-size: 11px;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.character-card {
  text-align: left;
  cursor: pointer;
  display: block;
  width: 100%;
  color: var(--text);
}
.card-number {
  position: absolute;
  left: 13px;
  top: 12px;
  color: #909b83;
  font-size: 9px;
  font-weight: 650;
}
.quantity-badge {
  position: absolute;
  right: 12px;
  top: 11px;
  background: #3b482e;
  color: var(--lime);
  font-size: 10px;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 8px;
  z-index: 2;
}
.character-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 9px 0 7px;
}
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #aab79d;
}
.card-status.exchange {
  color: var(--lime);
}
.card-status.gift {
  color: var(--peach);
}
.card-status.keep {
  color: var(--muted);
}
.character-card.duplicate {
  background: linear-gradient(135deg, #293022, #20251e);
}
.friend-top,
.exchange-top {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}
.friend-top h3,
.exchange-top h3 {
  margin: 0;
  font-size: 20px;
}
.friend-top > div:nth-child(2) {
  flex: 1;
}
.demo-tag {
  font-size: 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 3px 6px;
}
.match-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 5px;
  margin: 17px 0;
  background: #2a3324;
  border-radius: 16px;
}
.match-pair img {
  width: 85px;
  height: 92px;
  object-fit: contain;
}
.match-pair > span {
  font-size: 26px;
  color: var(--lime);
}
.match-empty {
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
}
.friend-card > .button {
  width: 100%;
}
.exchange-top {
  justify-content: space-between;
}
.exchange-sides {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 15px;
  margin: 22px 0;
  align-items: center;
}
.exchange-sides > div:not(.trade-arrow) {
  background: #1b2118;
  border-radius: 14px;
  padding: 15px;
  min-width: 0;
}
.exchange-sides h4 {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.trade-arrow {
  color: var(--lime);
  font-size: 28px;
  text-align: center;
}
.trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #303b27;
  border-radius: 10px;
  font-size: 11px;
  padding: 7px 10px;
  margin: 3px;
  max-width: 100%;
}
.trade-chip img {
  width: 34px;
  height: 40px;
  object-fit: contain;
}
.exchange-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.small-note {
  color: var(--muted);
  font-size: 10px !important;
  line-height: 1.6;
}
.success-note {
  color: var(--lime) !important;
}
.achievement-strip {
  border-radius: 12px;
  background: #333b28;
  color: var(--lime);
  padding: 12px 16px;
  font-size: 12px;
  margin: 12px 0;
}
.modal {
  margin: auto;
  position: fixed;
  color: var(--text);
}
.modal::backdrop {
  background: #0b100bd9;
  backdrop-filter: blur(8px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #36412d;
  border-radius: 50%;
  font-size: 22px;
}
.modal-body h2 {
  font-size: 26px;
  letter-spacing: -1px;
  margin: 0 35px 15px 0;
  line-height: 1.15;
}
.dialog-subtitle {
  font-size: 12px !important;
  color: var(--muted) !important;
}
.edit-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  background: #1b2118;
  border-radius: 17px;
  margin-bottom: 15px;
}
.edit-hero img {
  width: 125px;
  height: 140px;
  object-fit: contain;
}
.edit-hero h2 {
  margin: 0;
  font-size: 30px;
}
.quantity-control {
  justify-content: center;
  gap: 22px;
  background: #1b2118;
  border-radius: 13px;
  padding: 12px;
  font-size: 28px;
  font-weight: 800;
}
.quantity-control button {
  width: 42px;
  height: 42px;
  font-size: 24px;
}
.availability-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #2e3827;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px !important;
}
.check-row input[type="checkbox"] {
  accent-color: var(--lime);
  width: 18px;
  height: 18px;
}
.check-row input[type="number"] {
  width: 65px;
  padding: 7px;
}
.full-width {
  width: 100%;
  margin-top: 12px;
}
.trade-builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.trade-builder section {
  min-width: 0;
}
.trade-builder h3 {
  font-size: 13px;
  margin: 0 0 10px;
  color: var(--lilac);
}
.trade-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1c2319;
  border: 1px solid #3c4832;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 7px;
  min-width: 0;
}
.trade-option img {
  width: 40px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.trade-option > div {
  min-width: 0;
  flex: 1;
  font-size: 10px;
}
.trade-option strong {
  display: block;
  font-size: 11px;
}
.trade-option .mini-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.mini-counter button {
  width: 26px;
  height: 30px;
  background: #35422b;
  color: var(--lime);
  border-radius: 7px;
  font-size: 17px;
}
.trade-summary {
  background: #313c28;
  border-radius: 12px;
  padding: 12px;
  font-size: 12px;
  color: var(--lime);
  margin: 12px 0;
}
.invite-card {
  background: linear-gradient(135deg, #37442b, #292e25);
  border: 1px solid #5c6c43;
  border-radius: 20px;
  padding: 24px;
  margin: 18px 0;
  text-align: center;
}
.invite-card h3 {
  font-size: 27px;
  letter-spacing: -1px;
  margin: 0 0 10px;
  color: var(--lime);
}
.invite-link {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #1b2118;
  border-radius: 12px;
  font-size: 11px;
  color: var(--lilac);
  margin: 15px 0;
}
.safety-rules {
  background: #1c2419;
  border-radius: 13px;
  padding: 14px 14px 14px 30px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.modal .button {
  margin-top: 8px;
}
.modal-body > img {
  max-width: 100%;
}
.modal hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.exchange-top .status {
  font-size: 10px;
  color: var(--lime);
  background: #333d2a;
  padding: 5px 10px;
  border-radius: 9px;
}
.exchange-top > span {
  font-size: 10px;
  color: var(--lime);
}
@media (max-width: 760px) {
  .character-name {
    font-size: 14px;
  }
  .trade-builder {
    gap: 8px;
  }
  .trade-option {
    padding: 6px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .trade-option img {
    width: 32px;
    height: 36px;
  }
  .trade-option .mini-counter {
    flex: 1 0 100%;
    justify-content: flex-end;
  }
  .exchange-sides {
    gap: 7px;
    grid-template-columns: 1fr 24px 1fr;
  }
  .exchange-sides > div:not(.trade-arrow) {
    padding: 10px;
  }
  .trade-chip {
    padding: 5px;
    font-size: 9px;
    gap: 4px;
    margin: 2px 0;
  }
  .trade-chip img {
    width: 25px;
    height: 32px;
  }
  .trade-arrow {
    font-size: 22px;
  }
  .exchange-card {
    padding: 18px;
  }
  .edit-hero {
    padding: 12px;
    gap: 10px;
  }
  .edit-hero img {
    width: 95px;
    height: 110px;
  }
  .edit-hero h2 {
    font-size: 24px;
  }
  .modal-body h2 {
    font-size: 24px;
  }
  .friend-top h3 {
    font-size: 19px;
  }
  .character-card {
    min-height: 214px;
  }
  .modal .button {
    font-size: 11px;
  }
  .trade-builder h3 {
    font-size: 12px;
  }
  .exchange-actions .button {
    flex: 1;
  }
}
.character-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.availability-options {
  border: 0;
  padding: 0;
}
.availability-options legend {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 10px;
}
.availability-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #303b27;
  padding: 11px 13px;
  border-radius: 11px;
}
.availability-options input[type="radio"] {
  accent-color: var(--lime);
}
.edit-hero {
  flex-wrap: wrap;
}
.edit-hero .eyebrow {
  flex: 1;
}
.edit-hero h2 {
  flex: 1 0 100%;
  margin-top: -3px;
}
.invite-card > strong {
  display: block;
  color: var(--lime);
  font-size: 46px;
  letter-spacing: 6px;
}
.invite-link input {
  width: 100%;
  margin-top: 8px;
  display: block;
  font-size: 11px;
}
.trade-summary small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}
.achievement-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.achievement-strip small {
  width: 100%;
  color: var(--muted);
  font-size: 10px;
}
.count-pill {
  display: inline-block;
  font-size: 10px;
  background: #3d4a30;
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 3px;
}
.button:disabled,
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.empty-icon {
  display: block;
  font-size: 48px;
  color: var(--lilac);
}
@media (max-width: 760px) {
  .hero {
    min-height: 650px;
  }
  .hero-art {
    width: 90%;
    height: 270px;
    right: -8px;
    bottom: 0;
  }
  .hero-character-one {
    left: 0;
    width: 57%;
    height: 97%;
  }
  .hero-character-two {
    width: 46%;
    height: 70%;
    right: 0;
    top: -5%;
  }
  .hero-character-three {
    width: 44%;
    height: 70%;
    right: 3%;
    bottom: -2%;
  }
  .hero-footnote {
    max-width: none;
    align-items: center;
    margin-top: 18px;
    font-size: 9px;
  }
  .label-one {
    left: 8%;
    top: 6%;
  }
  .label-two {
    left: 0;
    bottom: 9%;
  }
  .orbit-one {
    right: 7px;
    top: -15px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .spark-two {
    left: 27%;
    bottom: 1%;
  }
}
@media (max-width: 360px) {
  .hero {
    min-height: 650px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-art {
    height: 255px;
  }
  .hero-footnote {
    font-size: 8px;
    max-width: none;
  }
  .hero-copy {
    padding-right: 18px;
  }
}
/* Keep the smallest-screen copy clear of the decorative sticker scene. */
@media (max-width: 360px) {
  .hero {
    min-height: 710px;
  }
  .hero-art {
    height: 245px;
  }
  .label-one {
    top: 13%;
  }
}
/* Let mobile copy determine its own height; artwork occupies a separate row. */
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 24px;
  }
  .hero-copy {
    flex: 0 0 auto;
    padding-bottom: 0;
  }
  .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    flex: 0 0 280px;
    height: 280px;
    width: 92%;
    margin-right: -5px;
  }
  .hero-footnote {
    position: relative;
    max-width: none;
    align-items: center;
  }
  .hero-character-one {
    top: 0;
  }
  .hero-character-two {
    top: 0;
  }
  .label-one {
    top: 13%;
  }
}
@media (max-width: 360px) {
  .hero-art {
    flex-basis: 250px;
    height: 250px;
  }
}
/* Server-backed family pilot: discovery, account access and real appointments. */
.inbox-badge {
  background: var(--lilac);
  color: #302640;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: auto;
}
.form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  margin: 15px 0;
}
.form-label input,
.form-label select {
  width: 100%;
  min-height: 45px;
  border: 1px solid #48553b;
  border-radius: 11px;
  background: #1b2118;
  padding: 11px 13px;
  font: inherit;
  color: var(--text);
  min-width: 0;
}
.form-label select {
  white-space: nowrap;
  text-overflow: ellipsis;
}
.form-label input:focus-visible,
.form-label select:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 2px;
}
.locality-search {
  font-size: 11px !important;
}
.inline-link {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--lime);
  display: inline;
}
.check-row {
  justify-content: flex-start;
  align-items: flex-start;
  line-height: 1.65;
  margin: 12px 0;
}
.check-row input {
  flex-shrink: 0;
  margin-top: 3px;
  padding: 0;
}
.check-row > span {
  min-width: 0;
}
.form-error {
  padding: 12px 14px;
  background: #49302d;
  border: 1px solid #98664e;
  border-radius: 11px;
  color: #ffd8bb !important;
  font-size: 12px !important;
}
.privacy-copy {
  font-size: 12px;
  line-height: 1.7;
}
.code-actions,
.account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.code-actions > * {
  flex: 1;
}
.account-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}
.account-title h2 {
  margin: 0;
  font-size: 26px;
}
.danger {
  color: #ffbc9c !important;
}
.invitation-code {
  font-size: 19px !important;
  letter-spacing: 1px !important;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.discovery-card {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
  padding: 25px 28px;
  border: 1px solid #51643a;
  border-radius: 23px;
  background: linear-gradient(140deg, #313d27, #242b21);
  margin-bottom: 24px;
}
.discovery-card h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 8px 0 10px;
}
.discovery-card p {
  color: #b1bda4;
  font-size: 12px;
  margin: 0;
  max-width: 580px;
}
.discovery-card > .button {
  flex-shrink: 0;
}
.locality-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #20271e;
}
.locality-toolbar .form-label {
  margin: 0;
  max-width: 470px;
  flex: 1;
}
.locality-toolbar > .button {
  margin-bottom: 0;
}
.friends-heading {
  margin-top: 40px;
}
.friend-top > div {
  min-width: 0;
}
.friend-top h3 {
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.friend-card h4 {
  font-size: 15px;
  margin: 12px 0;
}
.friend-card .text-button {
  display: block;
  text-align: left;
}
.friend-card .text-button.muted {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
  text-decoration: none;
}
.trade-secondary-actions {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.trade-secondary-actions .text-button {
  font-size: 10px;
  color: var(--muted);
}
.meeting-card {
  padding: 22px;
  background: #283421;
  border: 1px solid #4c6137;
  border-radius: 17px;
  margin: 20px 0;
}
.meeting-card h4 {
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}
.meeting-card p {
  font-size: 12px;
  color: #b7c6a8;
  line-height: 1.65;
  margin: 6px 0 14px;
}
.meeting-title {
  display: flex;
  gap: 13px;
  align-items: start;
}
.meeting-title > span {
  color: var(--lime);
  font-size: 28px;
}
.meeting-title h4 {
  margin: 0;
}
.meeting-datetime {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0;
}
.meeting-datetime strong {
  font-size: 12px;
}
.status-pill {
  font-size: 9px;
  padding: 5px 8px;
  border: 1px solid #5c7143;
  color: var(--lime);
  border-radius: 8px;
}
.recognizer {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 20px 0;
  padding: 18px;
  background: #1b2615;
  border: 1px dashed #7c925c;
  border-radius: 15px;
}
.recognizer > span {
  font-size: 45px;
  line-height: 1;
  color: var(--lilac);
  flex-shrink: 0;
}
.recognizer strong {
  display: block;
  font-size: 35px;
  color: var(--lime);
  letter-spacing: 5px;
  line-height: 1.2;
}
.recognizer p {
  font-size: 9px;
  margin: 8px 0 0;
}
.meeting-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 10px;
  color: #c3d1b4;
  margin: 16px 0;
}
.meeting-flags > span {
  background: #34462a;
  padding: 7px 10px;
  border-radius: 8px;
}
.meeting-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.meeting-buttons .text-button {
  font-size: 10px;
}
.date-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.date-time-row .form-label {
  min-width: 0;
}
.transfer-preview {
  padding: 14px;
  background: #1b2118;
  border-radius: 14px;
  margin: 18px 0;
}
.public-map {
  height: 330px;
  background: #283124;
  border: 1px solid #44543a;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(#42503733 1px, transparent 1px),
    linear-gradient(90deg, #42503733 1px, transparent 1px);
  background-size: 35px 35px;
  margin-bottom: 24px;
}
.map-road {
  position: absolute;
  background: #3d4835;
  border: 1px solid #647057;
  transform: rotate(-18deg);
  height: 30px;
  width: 130%;
  left: -15%;
  top: 44%;
  box-shadow: 0 0 0 5px #242e1f;
}
.road-two {
  transform: rotate(58deg);
  width: 110%;
  left: -3%;
  top: 48%;
}
.map-river {
  position: absolute;
  right: 5%;
  top: -70px;
  width: 80px;
  height: 550px;
  border-radius: 50%;
  background: #313e45;
  transform: rotate(-25deg);
  border-left: 2px solid #556651;
  border-right: 2px solid #556651;
}
.map-caption {
  position: absolute;
  left: 20px;
  top: 18px;
  color: #a7b799;
  font-size: 8px;
  letter-spacing: 1.2px;
  z-index: 2;
}
.map-key {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #192315de;
  border: 1px solid #4b6038;
  color: #c6d7b4;
  border-radius: 10px;
  padding: 10px 13px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  z-index: 2;
}
.map-key > span {
  font-size: 20px;
  color: var(--lime);
}
.map-marker {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--lime);
  color: #293617;
  border-radius: 12px;
  padding: 9px 12px;
  box-shadow: 0 8px 22px #0005;
}
.map-marker > span {
  font-size: 25px;
  line-height: 1;
}
.map-marker strong {
  font-size: 15px;
}
.marker-0 {
  left: 23%;
  top: 28%;
}
.marker-1 {
  left: 56%;
  top: 48%;
}
.marker-2 {
  left: 40%;
  top: 65%;
}
.marker-3 {
  left: 70%;
  top: 22%;
}
.marker-4 {
  left: 12%;
  top: 58%;
}
.marker-5 {
  left: 75%;
  top: 66%;
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.place-card {
  display: flex;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.place-number {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  color: var(--lime);
  background: #38462c;
  font-size: 15px;
  font-weight: 750;
}
.place-card h3 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
.place-card p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 8px;
}
.place-card .text-button {
  font-size: 10px;
}
.is-busy button:not(.dialog-close) {
  cursor: progress;
}
.profile-avatar {
  padding: 0;
  flex-shrink: 0;
}
.site-footer p {
  line-height: 1.7;
}
.site-footer p a {
  white-space: normal;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.exchange-top .friend-avatar {
  font-size: 28px;
  width: 45px;
  height: 45px;
  border-radius: 15px;
}
.modal-body p {
  overflow-wrap: anywhere;
}
.exchange-card.complete {
  border-color: #728846;
}
.exchange-card.disputed {
  border-color: #9c7458;
}
.exchange-card.cancelled {
  opacity: 0.8;
}
@media (max-width: 1150px) {
  .discovery-card {
    align-items: start;
    flex-direction: column;
  }
  .places-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .mobile-nav {
    gap: 4px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .mobile-nav .nav-link {
    padding: 5px 8px;
    min-width: 0;
    position: relative;
  }
  .mobile-nav .inbox-badge {
    position: absolute;
    top: 1px;
    right: 15px;
    margin: 0;
  }
  .profile-avatar {
    display: grid !important;
    width: 32px;
    height: 32px;
    font-size: 21px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb strong {
    max-width: 105px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
  .topbar-actions {
    gap: 7px;
  }
  .invite-button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .invite-button span {
    font-size: 15px;
    margin-right: 2px;
  }
  .discovery-card {
    padding: 20px;
    gap: 18px;
  }
  .discovery-card h2 {
    font-size: 23px;
  }
  .discovery-card .button {
    width: 100%;
  }
  .locality-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 14px;
  }
  .locality-toolbar .form-label {
    max-width: none;
  }
  .friends-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .friends-heading > .button {
    font-size: 10px;
    padding: 10px 13px;
  }
  .meeting-card {
    padding: 16px;
  }
  .meeting-title {
    gap: 9px;
  }
  .meeting-title h4 {
    font-size: 16px;
  }
  .meeting-datetime {
    gap: 9px;
  }
  .meeting-datetime strong {
    font-size: 11px;
  }
  .recognizer {
    padding: 14px;
    gap: 12px;
  }
  .recognizer strong {
    font-size: 28px;
    letter-spacing: 3px;
  }
  .recognizer > span {
    font-size: 32px;
  }
  .meeting-buttons {
    gap: 8px;
  }
  .meeting-buttons > .button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .date-time-row {
    gap: 9px;
  }
  .date-time-row input {
    padding: 8px;
    font-size: 11px;
  }
  .account-title {
    align-items: start;
  }
  .account-title h2 {
    font-size: 24px;
    margin-right: 25px;
  }
  .account-actions {
    flex-direction: column;
  }
  .code-actions {
    gap: 8px;
  }
  .code-actions > .button {
    font-size: 10px;
    padding: 10px;
  }
  .public-map {
    height: 280px;
    border-radius: 20px;
  }
  .map-caption {
    font-size: 7px;
    left: 13px;
    right: 12px;
    letter-spacing: 0.8px;
  }
  .map-key {
    left: 13px;
    bottom: 13px;
    padding: 9px 10px;
    font-size: 9px;
  }
  .map-marker {
    padding: 7px 9px;
    gap: 4px;
  }
  .map-marker > span {
    font-size: 23px;
  }
  .places-grid {
    gap: 12px;
  }
  .place-card {
    padding: 18px;
    gap: 12px;
  }
  .place-card h3 {
    font-size: 17px;
  }
  .place-number {
    width: 29px;
    height: 29px;
  }
  .site-footer p {
    min-width: 70%;
    font-size: 8px;
  }
  .form-label {
    font-size: 11px;
  }
  .form-label input,
  .form-label select {
    font-size: 12px;
  }
  .modal {
    max-width: calc(100vw - 24px);
  }
  .invitation-code {
    font-size: 16px !important;
    letter-spacing: 0 !important;
  }
  .trade-summary {
    font-size: 11px;
  }
  .meeting-flags {
    font-size: 9px;
  }
  .check-row {
    font-size: 11px !important;
  }
}
.inline-link {
  text-align: left;
}
.venue-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.venue-toolbar .search-box {
  width: 230px;
}
.venue-category {
  font-size: 8px;
  color: var(--lilac);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.venue-count {
  margin: 12px 0 20px;
}
#more-places {
  margin-top: 20px;
}
.locality-toolbar > div .text-button {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.map-marker.marker-1 {
  left: 55%;
  top: 34%;
}
.map-marker.marker-2 {
  left: 37%;
  top: 61%;
}
.map-marker.marker-4 {
  left: 10%;
  top: 54%;
}
.map-marker.marker-5 {
  left: 74%;
  top: 67%;
}
@media (max-width: 760px) {
  .venue-toolbar {
    gap: 12px;
  }
  .venue-toolbar .search-box {
    width: 100%;
  }
  .venue-toolbar .filter-button {
    font-size: 9px;
    padding: 8px 9px;
  }
  .venue-category {
    font-size: 7px;
  }
}
.inbox-refresh {
  margin-bottom: 20px;
}
.invite-arrival {
  padding: 12px 14px;
  border: 1px solid #5c7041;
  border-radius: 12px;
  background: #344329;
  color: var(--lime) !important;
  font-size: 12px !important;
  margin-bottom: 18px;
}
.is-busy [data-action="finish-signup"],
.is-busy [data-action="copy-code"],
.is-busy [data-action="download-code"] {
  cursor: pointer;
}
/* Long Russian headings must fit narrow screens without clipping content. */
.page-intro h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 360px) {
  .page-intro h1 {
    font-size: 36px;
    letter-spacing: -1.6px;
  }
}
