@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;800&display=swap");
:root {
  --brown: #562c15;
  --orange: #ffa04c;
  --green: #0fb489;
  --yellow: #ffcf51;
  --blue: #81d9ff;
  --paper: #fffaf2;
  --ink: #562c15;
  --line: #f1ddc4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", sans-serif;
}
.topbar {
  height: 82px;
  padding: 0 max(18px, calc((100vw - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffdf8e8;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f7e4cf;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--brown);
}
.brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(320px, calc(100vw - 36px));
  object-fit: contain;
}
.brand-copy b,
.brand-copy small {
  display: block;
}
.brand-copy b {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.brand-copy small {
  margin-top: 2px;
  color: #8b6751;
  font-size: 17px;
}
.brand b {
  display: block;
  font-size: 17px;
}
.brand small {
  display: block;
  font-size: 11px;
  color: #926e58;
}
.logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 45% 50% 42% 48%;
  font-weight: 800;
  color: var(--brown);
}
.sun {
  background: var(--orange);
}
.heart {
  background: var(--green);
  color: #fff;
  margin-left: -17px;
  transform: translateY(5px);
}
.top-link {
  font-size: 14px;
  color: var(--brown);
  text-decoration: none;
  font-weight: 700;
}
.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}
.hero {
  min-height: 380px;
  overflow: hidden;
  background: var(--brown);
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, #ffa04c55 0 10%, transparent 10.5%),
    radial-gradient(circle at 86% 23%, #0fb48944 0 15%, transparent 15.5%),
    radial-gradient(circle at 75% 88%, #81d9ff33 0 18%, transparent 18.5%);
}
.hero-inner {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.hero-copy {
  max-width: 600px;
  color: #fff;
  transform: translateY(-18px);
}
.eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green);
  margin: 0 0 11px;
}
.hero .eyebrow {
  color: var(--yellow);
}
.hero h1 {
  font-size: clamp(39px, 5vw, 65px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 0 0 17px;
}
.hero p:not(.eyebrow) {
  line-height: 1.85;
  max-width: 500px;
  color: #fff4e8;
  margin: 0 0 28px;
}
.button {
  border: 0;
  border-radius: 16px;
  background: var(--orange);
  color: var(--brown);
  font: 700 15px inherit;
  padding: 14px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 4px 0 #3c1d0c;
}
.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 #3c1d0c;
}
.hero-friends {
  width: 470px;
  height: 320px;
  position: relative;
  flex: none;
}
.hero-friends img {
  position: absolute;
  bottom: 0;
  object-fit: contain;
  object-position: bottom;
}
.hero-friends img:nth-child(1) {
  width: 170px;
  height: 270px;
  left: 0;
}
.hero-friends img:nth-child(2) {
  width: 170px;
  height: 285px;
  left: 120px;
}
.hero-friends img:nth-child(3) {
  width: 155px;
  height: 190px;
  left: 260px;
}
.hero-friends img:nth-child(4) {
  width: 95px;
  height: 150px;
  left: 370px;
}
@media (min-width: 761px) and (max-width: 1050px) {
  .hero-copy {
    min-width: 0;
  }
  .hero-friends {
    margin-left: -80px;
    transform: scale(0.8);
    transform-origin: right center;
  }
}
.stats {
  width: min(1050px, calc(100% - 36px));
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 2px solid var(--brown);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--brown);
}
.stat {
  text-align: center;
  padding: 24px;
  border-right: 2px solid var(--brown);
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-size: 35px;
  line-height: 1;
  color: var(--brown);
}
.stat:nth-child(2) strong {
  color: var(--yellow);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}
.children-section {
  padding: 60px 0;
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.list-head h2 {
  font-size: 36px;
  letter-spacing: -0.05em;
  margin: 0;
}
.list-head p:not(.section-kicker) {
  margin: 7px 0 0;
  color: #8b6751;
}
.count-pill {
  padding: 8px 12px;
  border-radius: 99px;
  background: var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.child-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.child-card {
  border: 2px solid var(--brown);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 5px 5px 0 var(--brown);
  cursor: pointer;
  transition: 0.2s;
}
.child-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--brown);
}
.photo {
  height: 220px;
  background: #ffe4c7;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  font-size: 55px;
  color: var(--brown);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tag {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 99px;
  padding: 6px 10px;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  color: var(--brown);
}
.child-card.supporting .tag,
.tag.supporting {
  background: var(--orange);
}
.child-card.grown .tag,
.tag.grown {
  background: var(--green);
  color: #fff;
}
.child-body {
  padding: 17px;
}
.child-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.child-row h3 {
  margin: 0;
  font-size: 21px;
}
.child-row span {
  padding: 3px 8px;
  border-radius: 8px;
  background: #eaf8ff;
  color: #167899;
  font-size: 12px;
}
.child-body p {
  color: #87614a;
  font-size: 13px;
  margin: 7px 0 14px;
}
.child-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 7px 0 14px;
}
.child-subrow p {
  margin: 0;
}
.status-inline {
  flex: none;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--yellow);
  color: var(--brown);
  font-size: 12px;
  font-weight: 800;
}
.status-inline.supporting {
  background: var(--orange);
}
.status-inline.grown {
  background: var(--green);
  color: #fff;
}
.card-link {
  flex: 1;
  border: 0;
  background: #fff4e6;
  color: var(--brown);
  font: 700 14px inherit;
  text-align: center;
  padding: 10px;
  border-radius: 11px;
  cursor: pointer;
}
.card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-footer > b {
  font-size: 18px;
  color: var(--orange);
}
.card-link b {
  float: right;
}
.pagination {
  flex-wrap: wrap;
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  margin-top: 42px;
}
.filters {
  display: flex;
  gap: 10px;
  margin: -8px 0 22px;
}
.filters input,
.filters select {
  height: 42px;
  padding: 0 12px;
  border: 2px solid var(--brown);
  border-radius: 12px;
  background: #fff;
  color: var(--brown);
  font: inherit;
}
.filters input {
  flex: 1;
}
.filters input:focus,
.filters select:focus {
  outline: 3px solid var(--blue);
}
.page {
  height: 38px;
  min-width: 38px;
  border: 2px solid var(--brown);
  border-radius: 11px;
  background: #fff;
  color: var(--brown);
  font: 700 13px inherit;
  cursor: pointer;
}
.page.text {
  padding: 0 10px;
}
.page.active {
  background: var(--green);
  color: #fff;
}
.page:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.ellipsis {
  font-weight: 800;
}
.page-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.page-jump input {
  width: 54px;
  height: 38px;
  border: 2px solid var(--brown);
  border-radius: 10px;
  text-align: center;
  color: var(--brown);
  font: inherit;
}
.page-jump input[type="text"] {
  appearance: textfield;
  -moz-appearance: textfield;
}
.loading-screen {
  padding: 140px 20px;
  text-align: center;
  color: var(--brown);
}
.loading-screen h2 {
  margin: 0 0 8px;
}
.detail {
  padding: 34px 0 70px;
}
.claim-page {
  padding: 34px 0 72px;
}
.claim-card {
  width: min(700px, 100%);
  margin: 24px auto 0;
  padding: clamp(24px, 5vw, 42px);
  border: 2px solid var(--brown);
  border-radius: 24px;
  background: #fffaf2;
  box-shadow: 7px 7px 0 var(--brown);
}
.claim-card h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
}
.claim-card > p:not(.section-kicker) {
  margin: 0;
  color: #87614a;
  line-height: 1.7;
}
.back {
  min-height: 42px;
  border: 2px solid var(--brown);
  border-radius: 12px;
  background: #fff;
  padding: 8px 14px;
  color: var(--brown);
  font: 700 14px inherit;
  cursor: pointer;
}
.back:hover {
  background: var(--yellow);
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(330px, 1fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 25px;
}
.detail-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3380 / 2288;
  border: 2px solid var(--brown);
  border-radius: 24px;
  box-shadow: 7px 7px 0 var(--brown);
}
.detail-photo img {
  object-fit: contain;
  background: #fff;
}
.detail-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.detail-title {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: flex-end;
  min-width: 0;
}
.detail-title h1 {
  font-size: 43px;
  letter-spacing: -0.06em;
  margin: 0;
  line-height: 1.08;
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-title > .tag {
  position: static;
  flex: none;
  margin-bottom: 2px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 24px 0;
}
.facts div {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.facts small,
.facts b {
  display: block;
}
.facts small {
  font-size: 12px;
  color: #8c6852;
  margin-bottom: 5px;
}
.facts b {
  font-size: 14px;
  word-break: break-word;
}
.wish-block {
  padding: 23px;
  border-radius: 20px;
  background: var(--yellow);
}
.wish-block h2 {
  margin: 0 0 8px;
  font-size: 24px;
}
.wish-block p:not(.section-kicker) {
  line-height: 1.8;
  margin: 0;
}
.wish-block small {
  display: block;
  margin-top: 10px;
  color: #7d542d;
  line-height: 1.7;
}
.action-card {
  margin-top: 31px;
  padding: 25px 28px;
  border: 2px solid var(--brown);
  border-radius: 20px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow: 5px 5px 0 var(--brown);
}
.action-card > div {
  flex: 1 1 auto;
  width: min(72%, 780px);
  max-width: 780px;
  min-width: 0;
}
.action-card .button {
  flex: none;
  white-space: nowrap;
  word-break: keep-all;
}
.action-card h2 {
  margin: 0;
  font-size: 22px;
}
.action-card p:not(.section-kicker) {
  margin: 6px 0 0;
  color: #8b6751;
}
.status-note {
  font-weight: 700;
  color: #8b6751;
}
.status-button {
  background: #f2ddcb;
  box-shadow: none;
  color: #815d47;
  cursor: not-allowed;
}
.status-button:hover {
  transform: none;
  box-shadow: none;
}
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #562c15cc;
  padding: 20px;
  display: grid;
  place-items: center;
}
.modal {
  position: relative;
  width: min(520px, 100%);
  padding: 31px;
  border-radius: 24px;
  border: 2px solid var(--brown);
  background: #fffaf2;
  box-shadow: 8px 8px 0 #2f170b;
}
.close {
  position: absolute;
  top: 11px;
  right: 15px;
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--brown);
  cursor: pointer;
}
.modal h2 {
  font-size: 25px;
  margin: 0 0 8px;
}
.modal > p {
  color: #87614a;
  line-height: 1.7;
}
.form {
  display: grid;
  gap: 15px;
  margin-top: 23px;
}
.form label {
  font-size: 14px;
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 2px solid #e8cda8;
  border-radius: 12px;
  background: #fff;
  font: inherit;
}
.form textarea {
  min-height: 78px;
  resize: vertical;
}
.form em {
  color: #d44a20;
  font-style: normal;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid #81d9ff;
  border-color: var(--brown);
}
.success-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}
.donation-card {
  text-align: center;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 19px;
}
.guide-card {
  padding: 15px 10px;
  border: 2px solid var(--brown);
  border-radius: 16px;
  background: #fff;
}
.guide-card b,
.guide-card small {
  display: block;
}
.guide-card b {
  margin-top: 7px;
}
.guide-card small {
  font-size: 11px;
  color: #87614a;
  margin-top: 4px;
}
.guide-image,
.ambassador-loading {
  width: 100%;
  height: 230px;
  margin: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #fffaf2;
}
.guide-image {
  -webkit-touch-callout: default;
  user-select: auto;
}
.ambassador-loading {
  display: grid;
  place-items: center;
  padding: 16px;
  color: #87614a;
  font-size: 13px;
}
.guide-card .button {
  font-size: 12px;
  padding: 9px;
  margin-top: 11px;
  box-shadow: 3px 3px 0 var(--brown);
}
.guide-card .save-qr {
  margin-top: 12px;
}
@media (max-width: 760px) {
  .topbar {
    height: 66px;
  }
  .brand-logo {
    height: 44px;
    max-width: 170px;
  }
  .brand-copy b {
    font-size: 18px;
  }
  .brand-copy small {
    font-size: 12px;
  }
  .brand b {
    font-size: 14px;
  }
  .brand small {
    display: none;
  }
  .top-link {
    display: none;
  }
  .wrap {
    width: min(100% - 28px, 600px);
  }
  .hero,
  .hero-inner {
    min-height: 420px;
  }
  .hero-inner {
    align-items: flex-start;
    padding-top: 28px;
  }
  .hero-copy {
    transform: none;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-friends {
    position: absolute;
    bottom: 42px;
    right: 0;
    transform: scale(0.62);
    transform-origin: bottom right;
  }
  .stats {
    margin: -42px auto 0;
    border-radius: 18px;
  }
  .stat {
    padding: 18px 6px;
  }
  .stat strong {
    font-size: 27px;
  }
  .stat span {
    font-size: 11px;
  }
  .children-section {
    padding: 45px 0;
  }
  .list-head {
    align-items: start;
    gap: 14px;
  }
  .list-head h2 {
    font-size: 30px;
  }
  .list-head p:not(.section-kicker) {
    font-size: 13px;
  }
  .count-pill {
    white-space: nowrap;
    font-size: 11px;
  }
  .child-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .photo {
    height: 138px;
  }
  .child-body {
    padding: 12px;
  }
  .child-row {
    align-items: flex-start;
  }
  .child-row h3 {
    font-size: 17px;
  }
  .child-row span,
  .status-inline {
    font-size: 10px;
  }
  .child-subrow {
    align-items: center;
    flex-direction: row;
    gap: 7px;
    margin: 6px 0 10px;
  }
  .child-subrow p {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .card-footer {
    gap: 7px;
    flex-direction: row;
    align-items: center;
  }
  .card-footer > b {
    flex: none;
    font-size: 16px;
  }
  .card-link {
    padding: 8px 4px;
    font-size: 12px;
  }
  .pagination {
    gap: 4px;
    margin-top: 29px;
  }
  .page-jump {
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }
  .filters {
    flex-wrap: wrap;
    gap: 9px;
  }
  .filters input {
    flex-basis: 100%;
  }
  .filters select {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }
  .page.text {
    padding: 0 7px;
    font-size: 12px;
  }
  .page {
    min-width: 38px;
    height: 40px;
  }
  .detail {
    padding: 16px 0 38px;
  }
  .claim-page {
    padding-top: 25px;
  }
  .claim-card {
    margin-top: 18px;
    border-radius: 19px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
  }
  .detail-photo {
    height: auto;
  }
  .detail-title h1 {
    font-size: 35px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 14px 0;
  }
  .facts div {
    padding: 10px 11px;
  }
  .wish-block {
    padding: 16px;
  }
  .action-card {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
  }
  .action-card > div {
    width: 100%;
    max-width: 100%;
  }
  .action-card .button {
    width: 100%;
    min-height: 48px;
    padding-inline: 10px;
    white-space: nowrap;
  }
  .action-card h2,
  .action-card .button,
  .claim-page .button {
    font-size: clamp(18px, 5.6vw, 22px);
    font-weight: 800;
    line-height: 1.25;
  }
  .modal {
    padding: 28px 20px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .modal-bg {
    align-items: start;
    padding-top: 34px;
  }
  .form input,
  .form select,
  .form textarea {
    font-size: 16px;
  }
  .form input,
  .form select {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .topbar {
    height: 60px;
    padding: 0 14px;
  }
  .brand-logo {
    height: 38px;
    max-width: 138px;
  }
  .brand-copy b {
    font-size: 15px;
  }
  .brand-copy small {
    font-size: 10px;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .hero,
  .hero-inner {
    min-height: 350px;
  }
  .hero-inner {
    padding-top: 25px;
  }
  .hero h1 {
    max-width: 320px;
    font-size: 37px;
  }
  .hero p:not(.eyebrow) {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-friends {
    right: 0;
    bottom: 42px;
    transform: scale(0.5);
  }
  .stats {
    width: calc(100% - 24px);
    margin-top: -42px;
    box-shadow: 4px 4px 0 var(--brown);
  }
  .stat {
    min-width: 0;
    padding: 15px 3px;
  }
  .stat strong {
    font-size: 23px;
  }
  .stat span {
    font-size: 10px;
    line-height: 1.35;
  }
  .children-section {
    padding: 35px 0;
  }
  .list-head {
    display: block;
    margin-bottom: 19px;
  }
  .list-head h2 {
    font-size: 28px;
  }
  .count-pill {
    display: inline-block;
    margin-top: 12px;
  }
  .filters input,
  .filters select {
    height: 46px;
  }
  .child-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .photo {
    height: 118px;
  }
  .child-body {
    padding: 10px;
  }
  .child-row h3 {
    font-size: 16px;
  }
  .child-row {
    align-items: flex-start;
  }
  .child-row span {
    white-space: nowrap;
  }
  .child-subrow {
    min-height: 0;
    gap: 5px;
    margin-bottom: 8px;
  }
  .card-footer {
    gap: 5px;
    flex-direction: row;
    align-items: center;
  }
  .card-link {
    min-width: 0;
    font-size: 11px;
  }
  .pagination {
    gap: 6px 4px;
  }
  .page.text {
    padding: 0 8px;
  }
  .page-jump {
    margin-top: 8px;
  }
  .detail {
    padding: 12px 0 28px;
  }
  .claim-page {
    padding-top: 20px;
  }
  .detail .back {
    min-height: 38px;
    padding: 6px 10px;
  }
  .detail-grid {
    gap: 12px;
    margin-top: 12px;
  }
  .detail-photo {
    height: auto;
  }
  .detail-title {
    align-items: flex-end;
    gap: 9px;
  }
  .detail-title h1 {
    font-size: 32px;
  }
  .detail-title > .tag {
    font-size: 10px;
    padding: 5px 8px;
    margin-bottom: 1px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 11px 0;
  }
  .facts div {
    min-width: 0;
    padding: 9px 8px;
  }
  .facts b {
    overflow-wrap: anywhere;
  }
  .wish-block,
  .action-card,
  .claim-card {
    border-radius: 16px;
  }
  .wish-block {
    padding: 13px;
  }
  .wish-block h2 {
    margin-bottom: 5px;
    font-size: 21px;
  }
  .action-card {
    gap: 11px;
    margin-top: 13px;
    padding: 14px;
  }
  .claim-card {
    padding: 24px 18px;
    box-shadow: 4px 4px 0 var(--brown);
  }
  .claim-card h1 {
    font-size: 28px;
  }
  .form {
    gap: 13px;
  }
  .form .button {
    width: 100%;
    min-height: 50px;
  }
}
