@charset "UTF-8";
@import url("tokens.css");

:root {
  --paper: #f7f5e9;
  --white: #fffef8;
  --ink: #294a3c;
  --muted: #798477;
  --moss: #6e8c69;
  --sage: #e5eadc;
  --line: #e3e6d7;
  --ochre: #b79859;
  --terra: #b66e50;
  --shadow: 0 8px 30px #354b3910;
}
* {
  box-sizing: border-box;
}
html {
  background: #e8ecdf;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
button,input {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
button,a,input {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: default;
  opacity: .55;
}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
  outline: 3px solid #ad7957;
  outline-offset: 4px;
}
svg {
  display: block;
}
h1,h2,h3,p {
  margin: 0;
}
h1,h2,h3 {
  line-height: inherit;
}
img {
  max-width: 100%;
}
.app-shell {
  max-width: 480px;
  min-height: 100dvh;
  margin: auto;
  background: var(--paper);
  overflow: clip;
  box-shadow: 0 0 80px #294a3c12;
}
.topbar {
  height: 76px;
  padding: var(--space-4) var(--space-6) var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--paper);
  position: relative;
  z-index: 4;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-align: left;
  padding: 0;
}
.brand-leaf {
  width: 34px;
  height: 39px;
  color: #698569;
}
.brand strong {
  display: block;
  letter-spacing: -.015em;
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.brand small {
  display: block;
  letter-spacing: 0;
  margin-top: var(--space-1);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.round-button {
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fbfaf1;
  flex-shrink: 0;
}
.round-button .icon {
  width: 18px;
  height: 18px;
}
.inner-top {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
.top-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.top-back {
  width: 36px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-left: calc(-1 * var(--space-2));
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
#app {
  padding-bottom: var(--space-28);
  min-height: calc(100dvh - 76px);
  outline: none;
}
.pad {
  padding: 0 var(--space-6);
}
.eyebrow {
  letter-spacing: .08em;
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.page-intro {
  padding: var(--space-4) var(--space-6) var(--space-6);
}
.page-intro h1 {
  letter-spacing: -.015em;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-page);
  line-height: var(--line-page);
  font-weight: var(--weight-black);
}
.page-intro p {
  color: var(--muted);
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.hero {
  position: relative;
  height: 411px;
  overflow: hidden;
}
.hero-text {
  position: relative;
  z-index: 2;
  padding: var(--space-4) var(--space-6) 0;
}
.hero h1 {
  letter-spacing: -.015em;
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--line-display);
  font-weight: var(--weight-black);
}
.hero-text>p {
  color: #6d7c6a;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.hero-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 292px;
  pointer-events: none;
}
.hero-art svg {
  width: 100%;
  height: 100%;
}
.hero-note {
  position: absolute;
  right: 24px;
  top: 62px;
  color: #78916f;
  writing-mode: vertical-rl;
  letter-spacing: 0;
  z-index: 2;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.hero-bottom-label {
  position: absolute;
  bottom: 18px;
  left: 27px;
  color: #f6f2df;
  letter-spacing: 0;
  z-index: 2;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.home-action {
  position: relative;
  z-index: 3;
  margin: calc(-1 * var(--space-1)) var(--space-6) 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px 7px 24px 7px;
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.primary {
  background: var(--ink);
  color: #fffdf2;
  border-radius: 12px;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 51px;
  width: 100%;
  transition: background .2s,transform .2s;
  font-family: var(--font-body);
  font-size: var(--text-button);
  line-height: var(--line-button);
  font-weight: var(--weight-bold);
}
.primary:active {
  transform: scale(.985);
}
.primary .icon {
  width: 19px;
  height: 19px;
}
.primary small {
  opacity: .75;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.primary>span {
  flex: 1;
  text-align: left;
}
.primary.terra {
  background: var(--terra);
}
.secondary {
  border: 1px solid #cad4c1;
  background: #f1f3e8;
  border-radius: 12px;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 47px;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.text-button {
  color: #6f8267;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) 0;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.text-button .icon {
  height: 14px;
  width: 14px;
}
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  color: #7c8574;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.progress-meta strong {
  color: var(--ink);
  margin-right: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.progress-track {
  height: 4px;
  border-radius: 5px;
  background: #e7ebdd;
  overflow: hidden;
  margin-top: var(--space-2);
}
.progress-track i {
  display: block;
  background: #8caa79;
  height: 100%;
  transition: width .4s;
  border-radius: 4px;
}
.section {
  padding: var(--space-7) var(--space-6) 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.section-head h2 {
  letter-spacing: 0;
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: var(--line-section);
  font-weight: var(--weight-black);
}
.section-head p {
  color: var(--muted);
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.core-scroll {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--space-6) var(--space-1);
  margin: 0 calc(-1 * var(--space-6));
  scrollbar-width: none;
}
.core-scroll::-webkit-scrollbar {
  display: none;
}
.core-card {
  width: 222px;
  flex-shrink: 0;
  scroll-snap-align: center;
  text-align: left;
  background: #edf0e2;
  border-radius: 16px 16px 42px 16px;
  overflow: hidden;
  border: 1px solid #dee4d3;
  padding: 0;
}
.core-card:nth-child(2) {
  background: #e7ece3;
}
.core-card:nth-child(3) {
  background: #efe6d6;
}
.core-art {
  height: 139px;
  position: relative;
  overflow: hidden;
}
.core-art svg {
  width: 100%;
  height: 100%;
}
.core-number {
  position: absolute;
  top: 12px;
  left: 13px;
  letter-spacing: 0;
  background: #f7f5e9df;
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.core-copy {
  padding: var(--space-3) var(--space-4) var(--space-4);
}
.core-copy small {
  color: #7a866d;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.core-copy h3 {
  margin: var(--space-1) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.core-copy p {
  color: #7b8473;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.core-copy .icon {
  width: 16px;
  height: 16px;
}
.field-note {
  background: #e9eddf;
  border-radius: 4px 30px 4px 25px;
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.field-note .note-plant {
  width: 75px;
  height: 100px;
  flex-shrink: 0;
  color: #7e966c;
}
.field-note h3 {
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.field-note p {
  color: #7a8472;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.method-row {
  display: flex;
  justify-content: space-between;
  margin: var(--space-5) var(--space-1) 0;
}
.method {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: #7d8875;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.method .icon {
  width: 19px;
  height: 19px;
}
.small-footnote {
  color: #8c9484;
  text-align: center;
  margin: var(--space-6) var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.bottom-nav {
  position: fixed;
  z-index: 20;
  bottom: 0;
  width: min(100%,480px);
  height: calc(73px + env(safe-area-inset-bottom));
  padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: #fcfbf3f5;
  border-top: 1px solid #e4e7d7;
  display: flex;
  justify-content: space-around;
  backdrop-filter: blur(14px);
}
.nav-item {
  width: 25%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-1);
  color: #929b88;
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-nav);
  line-height: var(--line-nav);
  font-weight: var(--weight-medium);
}
.nav-item .icon {
  height: 22px;
  width: 22px;
}
.nav-item.active {
  color: #355b43;
}
.nav-item.active:before {
  content: "";
  height: 34px;
  width: 45px;
  border-radius: 14px;
  background: #e8eddc;
  position: absolute;
  top: -3px;
  z-index: -1;
}
.nav-item.active span {
  font-weight: var(--weight-semibold);
}
.search {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: #eeeee2;
  border: 1px solid #e5e6d7;
  border-radius: 12px;
  margin: 0 var(--space-6);
  padding: var(--space-2) var(--space-3);
}
.search .icon {
  width: 19px;
  height: 19px;
  color: #8b967f;
}
.search input {
  background: none;
  border: none;
  outline: none;
  min-width: 0;
  flex: 1;
  color: var(--ink);
  height: 24px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.search input::placeholder {
  color: #939c89;
}
.filter-row {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-4) var(--space-6) var(--space-2);
  scrollbar-width: none;
}
.chip {
  border-radius: 8px;
  padding: var(--space-2) var(--space-3);
  white-space: nowrap;
  border: 1px solid #e1e5d6;
  color: #7c8872;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.chip.selected {
  background: #355b43;
  color: #fffcee;
  border-color: #355b43;
}
.list-caption {
  padding: var(--space-1) var(--space-6) var(--space-2);
  display: flex;
  justify-content: space-between;
  color: #929985;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.point-list {
  padding: 0 var(--space-6);
}
.point-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  width: 100%;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
}
.point-thumb {
  width: 72px;
  height: 79px;
  border-radius: 12px 12px 22px 12px;
  background: #e4eadc;
  overflow: hidden;
  flex-shrink: 0;
}
.point-thumb svg {
  width: 100%;
  height: 100%;
}
.point-row-text {
  flex: 1;
  min-width: 0;
}
.point-row-text small {
  color: #929982;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.point-row-text h3 {
  margin: var(--space-1) 0 var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-lead);
  line-height: var(--line-lead);
  font-weight: var(--weight-semibold);
}
.tag-line {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: #8c9580;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.tag {
  display: inline-block;
  padding: var(--space-1) var(--space-1);
  background: #e7eadb;
  color: #667d59;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.tag.ar {
  background: #eee3cf;
  color: #9b7743;
}
.point-status {
  color: #91a17e;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.point-status .icon {
  width: 15px;
  height: 15px;
}
.point-row>.icon {
  width: 15px;
  height: 15px;
  color: #a1ac94;
}
.empty {
  padding: var(--space-14) var(--space-5);
  text-align: center;
  color: #829077;
}
.empty .icon {
  width: 39px;
  height: 39px;
  margin: 0 auto var(--space-4);
  stroke-width: 1;
}
.empty h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.empty p {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.detail-art {
  height: 247px;
  position: relative;
  overflow: hidden;
  margin: 0 var(--space-4);
  border-radius: 15px 15px 48px 15px;
  background: #e6ebdb;
}
.detail-art svg {
  height: 100%;
  width: 100%;
}
.art-label {
  position: absolute;
  right: 14px;
  bottom: 13px;
  background: #fcfae8cf;
  color: #62735b;
  padding: var(--space-1) var(--space-2);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.detail-copy {
  padding: var(--space-5) var(--space-6) 0;
}
.location-label {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: #8a956e;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.location-label .icon {
  width: 15px;
  height: 15px;
}
.detail-copy h1 {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-page);
  line-height: var(--line-page);
  font-weight: var(--weight-black);
}
.detail-copy .hook {
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-lead);
  line-height: var(--line-lead);
  font-weight: var(--weight-semibold);
}
.intro-text {
  color: #79816e;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.observe-box {
  padding: var(--space-4) var(--space-4);
  background: #eeeddb;
  border-radius: 3px 20px 3px 20px;
  margin-top: var(--space-5);
  border-left: 2px solid #b2bb90;
}
.observe-box h3 {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  color: #7c8b62;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.observe-box h3 .icon {
  width: 17px;
  height: 17px;
}
.observe-box p {
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.expand-note {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
}
.expand-note summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.expand-note summary::-webkit-details-marker {
  display: none;
}
.expand-note summary .icon {
  width: 15px;
  height: 15px;
}
.expand-note[open] summary .icon {
  transform: rotate(180deg);
}
.expand-note p {
  color: #6d7b66;
  white-space: pre-line;
  padding-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.source-note {
  color: #959c8a;
  margin: var(--space-3) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.detail-task {
  padding: var(--space-5) 0 var(--space-1);
}
.detail-task-meta {
  display: flex;
  justify-content: space-between;
  color: #8a967b;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.completed-note {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  color: #7e916d;
  margin: var(--space-2) 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.completed-note .icon {
  height: 15px;
  width: 15px;
}
.task-wrap {
  padding: var(--space-4) var(--space-6) 0;
}
.task-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8f9a81;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.task-wrap h1 {
  margin: var(--space-4) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-page);
  line-height: var(--line-page);
  font-weight: var(--weight-black);
}
.task-desc {
  color: #8a947e;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.task-art {
  height: 163px;
  overflow: hidden;
  border-radius: 14px 14px 36px 14px;
  background: #e9edde;
  margin-top: var(--space-4);
}
.task-art svg {
  width: 100%;
  height: 100%;
}
.question {
  margin: var(--space-6) 0 var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-lead);
  line-height: var(--line-lead);
  font-weight: var(--weight-semibold);
}
.choice-list {
  display: grid;
  gap: var(--space-2);
}
.choice {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  border: 1px solid #dfe4d1;
  background: #fcfbf2;
  border-radius: 11px;
  padding: var(--space-3) var(--space-3);
  min-height: 54px;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.choice .letter {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #9ca68e;
  border: 1px solid #dce2d0;
  border-radius: 50%;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.choice.chosen {
  border-color: #7e9b70;
  background: #e9eddd;
}
.choice.chosen .letter {
  background: #69865e;
  color: white;
  border-color: #69865e;
}
.task-submit {
  margin-top: var(--space-6);
}
.task-hint {
  color: #8f9a81;
  text-align: center;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.sort-list {
  display: grid;
  gap: var(--space-2);
}
.sort-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border: 1px solid #dce3ce;
  background: #fdfbf2;
  padding: var(--space-3);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.sort-number {
  background: #e5ead7;
  color: #70845e;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.sort-text {
  flex: 1;
}
.sort-controls {
  display: flex;
  gap: var(--space-1);
}
.sort-controls button {
  height: 33px;
  width: 31px;
  background: #edf0e3;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.sort-controls .icon {
  height: 15px;
  width: 15px;
}
.match-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.match-col {
  display: grid;
  gap: var(--space-3);
}
.match-button {
  padding: var(--space-3) var(--space-2);
  border: 1px solid #dce3ce;
  background: #fffdf4;
  border-radius: 10px;
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.match-button.chosen {
  background: #e7eddc;
  border-color: #779565;
}
.match-button.matched {
  background: #dae6d0;
  border-color: #92a979;
  color: #557147;
}
.match-button .icon {
  width: 14px;
  height: 14px;
}
.match-instruction {
  color: #8c987c;
  text-align: center;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.scene-wrap {
  margin: var(--space-3) var(--space-4) 0;
  position: relative;
  border-radius: 20px 20px 42px 20px;
  overflow: hidden;
  background: #dfe9db;
  border: 1px solid #d8e0cd;
}
.scene-visual {
  height: 322px;
  position: relative;
  overflow: hidden;
}
.scene-visual>svg {
  width: 100%;
  height: 100%;
  transition: filter .5s;
}
.scene-title {
  position: absolute;
  top: 15px;
  left: 16px;
  background: #f8f5e7d9;
  color: #516d4d;
  padding: var(--space-1) var(--space-2);
  border-radius: 6px;
  display: flex;
  gap: var(--space-1);
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.scene-title .icon {
  width: 13px;
  height: 13px;
}
.scene-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fdf9e9;
  text-shadow: 0 1px 7px #193d27;
  letter-spacing: 0;
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-bold);
}
.scene-controls {
  padding: var(--space-4) var(--space-4) var(--space-5);
  background: #edf0e0;
}
.stage-dots {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.stage-dot {
  height: 4px;
  flex: 1;
  background: #d3dcc5;
  border-radius: 3px;
}
.stage-dot.done {
  background: #7b9666;
}
.stage-tag {
  color: #a2824f;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.scene-controls h2 {
  margin: var(--space-1) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: var(--line-section);
  font-weight: var(--weight-black);
}
.scene-controls p {
  color: #75856b;
  min-height: 46px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.scene-action {
  margin-top: var(--space-4);
}
.segmented {
  display: flex;
  padding: var(--space-1);
  background: #dfe6d2;
  border-radius: 10px;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}
.segmented button {
  flex: 1;
  padding: var(--space-2) var(--space-1);
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.segmented button.selected {
  background: #fffdf1;
  box-shadow: 0 2px 5px #45573510;
}
.segmented button .check {
  color: #728d5c;
  margin-left: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  color: #81916e;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.scene-slider {
  width: 100%;
  accent-color: #6c895e;
  margin: var(--space-3) 0;
  height: 22px;
}
.scene-footnote {
  color: #8e9880;
  margin: var(--space-3) var(--space-6) 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.hotspot {
  position: absolute;
  border: 1px solid #fffae9;
  background: #55784eaa;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #fff9e9;
  box-shadow: 0 0 0 7px #faf4d932;
  animation: breathe 2.5s infinite;
}
.hotspot.found {
  background: #fbf3cf;
  color: #4e7150;
  animation: none;
}
.hotspot .icon {
  height: 18px;
  width: 18px;
}
.crystal-tools {
  position: absolute;
  bottom: 15px;
  right: 14px;
  display: flex;
  gap: var(--space-2);
}
.crystal-tools button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f5f1dfdb;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.light-counter {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #f5f1dfde;
  padding: var(--space-1) var(--space-2);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.result-wrap {
  padding: var(--space-6);
  text-align: center;
}
.result-flower {
  height: 170px;
  width: 170px;
  margin: var(--space-2) auto var(--space-5);
  position: relative;
  display: grid;
  place-items: center;
}
.result-flower:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #e4ebd8;
  border-radius: 42% 58% 62% 38%/45% 41% 59% 55%;
  transform: rotate(15deg);
}
.result-flower>.icon {
  width: 70px;
  height: 70px;
  stroke-width: 1.1;
  position: relative;
  color: #6b8c60;
}
.result-wrap h1 {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-page);
  line-height: var(--line-page);
  font-weight: var(--weight-black);
}
.result-wrap>p {
  color: #829174;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.reward-number {
  color: #75915d;
  margin: var(--space-5) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-score);
  line-height: var(--line-score);
  font-weight: var(--weight-heavy);
}
.reward-number small {
  margin-left: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.reward-note {
  color: #91a27d;
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.result-explain {
  text-align: left;
  padding: var(--space-4);
  background: #ecefdf;
  border-radius: 5px 20px 5px 20px;
  margin: var(--space-5) 0;
}
.result-explain h3 {
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.result-explain p {
  color: #738166;
  white-space: pre-line;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.result-buttons {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.vote-row {
  text-align: left;
  margin-top: var(--space-4);
}
.vote-row>div {
  display: flex;
  justify-content: space-between;
  color: #728264;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.vote-bar {
  height: 7px;
  background: #e1e6d3;
  border-radius: 5px;
  margin-top: var(--space-1);
}
.vote-bar i {
  display: block;
  background: #94aa7c;
  border-radius: 5px;
  height: 100%;
}
.badge {
  width: 90px;
  height: 90px;
  border: 2px solid #bbc6a2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2efdb;
  position: relative;
  color: #698859;
  box-shadow: inset 0 0 0 5px #f2efdb,inset 0 0 0 6px #c7cfb3;
}
.badge .icon {
  height: 36px;
  width: 36px;
  stroke-width: 1.2;
}
.badge.locked {
  filter: grayscale(.65);
  opacity: .45;
}
.badge .badge-lock {
  position: absolute;
  right: -2px;
  bottom: 2px;
  background: #e5e8d7;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  display: grid;
  place-items: center;
}
.badge .badge-lock .icon {
  width: 13px;
  height: 13px;
}
.badge-card {
  text-align: center;
  padding: var(--space-2) 0;
  width: 100%;
}
.badge-card .badge {
  margin: 0 auto var(--space-3);
}
.badge-card h3 {
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.badge-card small {
  color: #97a18b;
  display: block;
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-3);
}
.result-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  background: #f1ead7;
  padding: var(--space-4);
  border-radius: 12px;
  margin: var(--space-6) 0;
}
.result-badge .badge {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.result-badge .badge .icon {
  width: 25px;
  height: 25px;
}
.result-badge h3 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.result-badge small {
  display: block;
  color: #9c906a;
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.notebook-profile {
  margin: var(--space-2) var(--space-6) 0;
  padding: var(--space-5) var(--space-5);
  border: 1px solid #dce4cd;
  background: #e9eddb;
  border-radius: 4px 30px 4px 30px;
  position: relative;
  overflow: hidden;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #d3ddbe;
  display: grid;
  place-items: center;
  color: #648052;
}
.avatar .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.3;
}
.profile-row h2 {
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.profile-row p {
  color: #8a9678;
  margin-top: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.profile-row .edit-name {
  margin-left: auto;
  padding: var(--space-2);
  color: #8c9c79;
}
.profile-row .edit-name .icon {
  width: 16px;
  height: 16px;
}
.stats {
  display: flex;
  margin-top: var(--space-6);
  justify-content: space-around;
}
.stat {
  text-align: center;
  flex: 1;
  border-right: 1px solid #d5dec4;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-stat);
  line-height: var(--line-stat);
  font-weight: var(--weight-heavy);
}
.stat small {
  display: block;
  color: #8c977c;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.identity-progress {
  margin-top: var(--space-5);
  border-top: 1px dashed #cad5bb;
  padding-top: var(--space-3);
  color: #82916f;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.identity-progress>div {
  display: flex;
  justify-content: space-between;
}
.menu-list {
  margin: 0 var(--space-6);
  border-top: 1px solid var(--line);
}
.menu-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.menu-row>.icon {
  width: 20px;
  height: 20px;
  color: #82936c;
}
.menu-row span {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.menu-row small {
  color: #9ba38c;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.menu-row>.icon:last-child {
  width: 15px;
  height: 15px;
  color: #a2ad92;
}
.menu-gap {
  margin-top: var(--space-6);
}
.shop-balance {
  margin: 0 var(--space-6) var(--space-6);
  background: #e7ecdc;
  padding: var(--space-4) var(--space-5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-balance small {
  color: #889578;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.shop-balance strong {
  font-family: var(--font-body);
  font-size: var(--text-stat);
  line-height: var(--line-stat);
  font-weight: var(--weight-heavy);
}
.shop-section {
  padding: 0 var(--space-6) var(--space-6);
}
.shop-section h2 {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: var(--line-section);
  font-weight: var(--weight-black);
}
.shop-section h2 small {
  color: #9c947d;
  margin-left: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: var(--line-section);
  font-weight: var(--weight-black);
}
.prize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.prize {
  background: #fdfbf2;
  border: 1px solid #e2e5d3;
  border-radius: 12px;
  padding: var(--space-3);
  text-align: center;
}
.prize-icon {
  background: #efecda;
  border-radius: 50% 45% 50% 40%;
  height: 83px;
  width: 83px;
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-3);
  color: #a2956d;
}
.prize-icon .icon {
  width: 37px;
  height: 37px;
  stroke-width: 1.1;
}
.prize h3 {
  min-height: 36px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.prize button {
  margin-top: var(--space-2);
  min-height: 37px;
  width: 100%;
  background: #e9eddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.prize button:disabled {
  background: #eeeee3;
  color: #8e987d;
  opacity: 1;
}
.notice {
  margin: 0 var(--space-6) var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: #eee9d7;
  color: #8c805c;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.route-intro {
  padding-bottom: var(--space-3);
}
.route-key {
  margin: 0 var(--space-6);
  display: flex;
  gap: var(--space-4);
  color: #879579;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.route-key span {
  display: flex;
  gap: var(--space-1);
  align-items: center;
}
.route-key i {
  width: 8px;
  height: 8px;
  background: #789365;
  border-radius: 50%;
}
.route-key i.core {
  background: #ba8b59;
}
.route-map {
  height: 775px;
  position: relative;
  overflow: hidden;
  margin: var(--space-3) var(--space-3) 0;
  background: #e9eddf;
  border-radius: 45% 7% 5% 9%/8% 3% 3% 3%;
}
.route-map .route-landscape {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: .75;
}
.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.route-stop {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  text-align: left;
  transform: translate(-50%,-50%);
  min-height: 55px;
  max-width: 238px;
  z-index: 2;
}
.route-stop .pin {
  height: 36px;
  width: 36px;
  border: 4px solid #f5f2df;
  border-radius: 50%;
  background: #7c9668;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 2px 8px #4f694b25;
  flex-shrink: 0;
}
.route-stop .pin.core {
  background: #b98d5d;
}
.route-stop .pin .icon {
  height: 16px;
  width: 16px;
  stroke-width: 1.7;
}
.route-stop .stop-label {
  background: #f9f7eada;
  padding: var(--space-2) var(--space-3);
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 3px 9px #55714d08;
}
.route-stop small {
  color: #879779;
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.route-stop strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.route-caption {
  position: absolute;
  right: 23px;
  top: 25px;
  writing-mode: vertical-rl;
  letter-spacing: 0;
  color: #889975;
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-bold);
}
.route-bottom {
  padding: var(--space-6) var(--space-6) 0;
}
.certificate {
  margin: var(--space-6) var(--space-6);
  padding: var(--space-7) var(--space-6);
  background: #fdfbf0;
  border: 1px solid #ced8bb;
  outline: 5px double #dae0c9;
  outline-offset: -11px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.certificate:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #e2e6d4;
  border-radius: 50%;
  right: -75px;
  bottom: -60px;
}
.certificate .icon {
  width: 49px;
  height: 49px;
  margin: 0 auto var(--space-4);
  color: #8ba174;
  stroke-width: 1.2;
}
.certificate small {
  letter-spacing: 0;
  color: #8b997a;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.certificate h1 {
  margin: var(--space-3) 0 var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-page);
  line-height: var(--line-page);
  font-weight: var(--weight-black);
}
.certificate h2 {
  margin: var(--space-3) 0;
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.certificate p {
  color: #889679;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.certificate .cert-rule {
  color: #a3ab92;
  margin: var(--space-6) 0 var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.certificate-stamp {
  border: 1px solid #a3b18b;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  margin: var(--space-6) auto var(--space-1);
  color: #869d6d;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.order-list {
  margin: var(--space-5) var(--space-6);
}
.order {
  border: 1px solid #e0e5d2;
  border-radius: 12px;
  background: #fcfbf1;
  padding: var(--space-4);
  margin-bottom: var(--space-3);
}
.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: var(--line-small);
  font-weight: var(--weight-regular);
}
.order p {
  color: #8a977d;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.order small {
  color: #a0a88f;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.order-state {
  padding: var(--space-1) var(--space-2);
  background: #e6ebd9;
  border-radius: 4px;
  color: #7c9166;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.receipt-code {
  letter-spacing: 0;
  text-align: center;
  padding: var(--space-4) 0;
  color: #71875c;
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-bold);
}
.badge-detail {
  text-align: center;
  padding: var(--space-4) var(--space-6);
}
.badge-detail .badge {
  width: 132px;
  height: 132px;
  margin: var(--space-5) auto;
}
.badge-detail .badge>.icon {
  width: 54px;
  height: 54px;
}
.badge-detail h1 {
  margin: var(--space-5) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-page);
  line-height: var(--line-page);
  font-weight: var(--weight-black);
}
.badge-detail p {
  color: #89977c;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.badge-detail .secondary,.badge-detail .primary {
  margin-top: var(--space-5);
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 110px;
  left: 50%;
  transform: translate(-50%,20px);
  background: #2f513fea;
  color: #fffdf2;
  padding: var(--space-2) var(--space-4);
  border-radius: 10px;
  max-width: calc(100vw - 48px);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s,transform .2s;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
dialog {
  border: 1px solid #dde3ce;
  background: var(--paper);
  border-radius: 22px;
  padding: 0;
  color: var(--ink);
  width: calc(100% - 42px);
  max-width: 398px;
  max-height: 85dvh;
  box-shadow: 0 20px 90px #142a2630;
}
dialog::backdrop {
  background: #1f372a66;
  backdrop-filter: blur(4px);
}
.dialog-body {
  padding: var(--space-6);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.dialog-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-section);
  line-height: var(--line-section);
  font-weight: var(--weight-black);
}
.dialog-head button {
  width: 28px;
  height: 32px;
  display: grid;
  place-items: center;
}
.dialog-body p {
  color: #7d8b70;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--line-body);
  font-weight: var(--weight-regular);
}
.dialog-body .primary,.dialog-body .secondary {
  margin-top: var(--space-3);
}
.dialog-body input {
  display: block;
  width: 100%;
  border: 1px solid #d0dbc1;
  border-radius: 9px;
  background: #fffdf3;
  padding: var(--space-3);
  color: var(--ink);
  outline: none;
  margin: var(--space-4) 0;
}
.about-list {
  margin: var(--space-4) 0;
  padding: var(--space-3) 0;
  border-block: 1px solid #dce3cf;
  color: #88977a;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.postcard {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e6ecdb;
  margin-bottom: var(--space-4);
}
.postcard svg {
  width: 100%;
  height: 190px;
}
.postcard-copy {
  padding: var(--space-4);
  background: #f8f5e6;
  text-align: center;
}
.postcard-copy h3 {
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.postcard-copy p {
  margin: var(--space-2) 0 0;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
.no-nav #app {
  padding-bottom: var(--space-7);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: calc(-1 * var(--space-1));
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@keyframes breathe{50% {
  box-shadow: 0 0 0 11px #faf4d910;
}
}@media(min-width:700px){body {
  padding: var(--space-5) 0;
  background: radial-gradient(ellipse at 10% 10%,#d3deca 0,transparent 40%),radial-gradient(ellipse at 90% 80%,#d9dfca 0,transparent 40%),#e9edde;
}
.app-shell {
  border: 1px solid #d5ddc9;
  border-radius: 23px 23px 0 0;
  min-height: calc(100dvh - 22px);
}
.topbar {
  border-radius: 23px 23px 0 0;
}
.bottom-nav {
  width: 478px;
}
.hero {
  height: 432px;
}
.hero-art {
  height: 325px;
}
}@media(max-width:360px){.topbar {
  padding-inline: var(--space-5);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--line-display);
  font-weight: var(--weight-black);
}
.hero-text {
  padding-inline: var(--space-5);
}
.pad,.task-wrap,.detail-copy {
  padding-inline: var(--space-5);
}
.section {
  padding-inline: var(--space-5);
}
.point-list {
  padding-inline: var(--space-5);
}
.filter-row {
  padding-inline: var(--space-5);
}
.scene-visual {
  height: 293px;
}
.brand strong {
  font-family: var(--font-display);
  font-size: var(--text-component);
  line-height: var(--line-component);
  font-weight: var(--weight-heavy);
}
.point-row {
  gap: var(--space-3);
}
.point-thumb {
  width: 61px;
  height: 72px;
}
.prize h3 {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
  font-weight: var(--weight-regular);
}
}@media(prefers-reduced-motion:reduce){* {
  animation: none!important;
  transition: none!important;
  scroll-behavior: auto!important;
}
}

/* Component contracts. Art geometry is independent of layout spacing. */
body { font-family: var(--font-body); font-size: var(--text-body); line-height: var(--line-body); font-weight: var(--weight-regular); font-synthesis: none; font-optical-sizing: auto; }
button, input, select, textarea { font-family: var(--font-body); font-synthesis: none; }
h1, h2, h3 { letter-spacing: -.015em; }
strong, b { font-weight: var(--weight-bold); }
.topbar { height: 80px; padding: var(--space-4) var(--page-gutter); }
.brand small { font-size: var(--text-caption); line-height: var(--line-caption); letter-spacing: .08em; margin-top: var(--space-1); }
.round-button, .top-back { width: var(--touch-target); height: var(--touch-target); }
.pad, .point-list { padding-inline: var(--page-gutter); }
.hero-text { padding: var(--space-5) var(--page-gutter) 0; }
.hero h1 { font-family: var(--font-display); font-size: var(--text-display); line-height: var(--line-display); font-weight: var(--weight-black); letter-spacing: -.015em; margin-top: var(--space-3); }
.hero-text > p { font-size: var(--text-small); line-height: var(--line-small); margin-top: var(--space-3); }
.hero-note { font-family: var(--font-body); font-weight: var(--weight-medium); font-size: var(--text-caption); line-height: var(--line-caption); letter-spacing: .16em; }
.home-action { margin: 0 var(--page-gutter); padding: var(--card-padding); }
.progress-meta { margin-top: var(--space-4); font-size: var(--text-caption); line-height: var(--line-caption); }
.progress-meta strong { font-weight: var(--weight-bold); }
.section { padding: var(--section-gap) var(--page-gutter) 0; }
.section-head { gap: var(--control-gap); margin-bottom: var(--space-4); align-items: baseline; }
.section-head h2 { font-family: var(--font-display); font-size: var(--text-section); line-height: var(--line-section); font-weight: var(--weight-black); }
.section-head p { margin-top: var(--text-gap); font-size: var(--text-small); line-height: var(--line-small); }
.core-scroll { gap: var(--card-gap); padding: 0 var(--page-gutter) var(--space-2); margin: 0 calc(-1 * var(--page-gutter)); }
.core-card { width: 240px; }
.core-copy { padding: var(--space-4); }
.core-copy h3 { margin: var(--text-gap) 0; }
.core-copy p { font-size: var(--text-caption); line-height: var(--line-caption); }
.field-note { padding: var(--card-padding); gap: var(--control-gap); }
.field-note p { margin-top: var(--text-gap); }
.method-row { margin: var(--space-5) 0 0; gap: var(--space-2); }
.method { gap: var(--space-1); }
.page-intro { padding: var(--page-start) var(--page-gutter) var(--space-6); }
.page-intro h1 { margin-top: var(--space-3); }
.page-intro p { margin-top: var(--space-3); font-size: var(--text-small); line-height: var(--line-small); }
.primary { min-height: var(--control-height); padding: var(--space-3) var(--space-5); gap: var(--space-3); font-size: var(--text-button); line-height: var(--line-button); font-weight: var(--weight-bold); }
.secondary { min-height: var(--control-height-secondary); padding: var(--space-3) var(--space-4); font-size: var(--text-small); line-height: var(--line-small); font-weight: var(--weight-semibold); }
.primary small { font-size: var(--text-caption); line-height: var(--line-caption); }
.text-button { min-height: var(--touch-target); font-size: var(--text-caption); line-height: var(--line-caption); padding-block: var(--space-2); }
.bottom-nav { height: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding: var(--space-3) var(--space-3) calc(var(--space-3) + env(safe-area-inset-bottom)); }
.nav-item { gap: var(--space-1); font-size: var(--text-nav); line-height: var(--line-nav); }
.nav-item .icon { width: 24px; height: 24px; }
#app { padding-bottom: calc(var(--nav-height) + var(--space-8) + env(safe-area-inset-bottom)); }
.search { margin-inline: var(--page-gutter); padding: var(--space-3); gap: var(--space-2); }
.search input { font-size: var(--text-small); line-height: var(--line-small); }
.filter-row { padding: var(--space-4) var(--page-gutter) var(--space-3); gap: var(--space-2); }
.chip { min-height: var(--touch-target); padding: var(--space-3); font-size: var(--text-caption); line-height: var(--line-caption); }
.list-caption { padding: var(--space-2) var(--page-gutter); }
.point-row { gap: var(--space-3); padding: var(--space-4) 0; }
.point-row-text h3 { font-size: var(--text-body); line-height: var(--line-body); font-weight: var(--weight-bold); margin: var(--space-1) 0; }
.tag-line { flex-wrap: wrap; gap: var(--space-1); }
.point-row-text small, .point-status, .tag-line, .tag { font-size: var(--text-caption); line-height: var(--line-caption); }
.tag { padding: 0 var(--space-2); }
.detail-copy { padding: var(--space-6) var(--page-gutter) 0; }
.location-label { flex-wrap: wrap; }
.detail-copy h1 { margin-top: var(--space-3); }
.detail-copy .hook { margin-top: var(--space-4); }
.intro-text { margin-top: var(--space-3); }
.observe-box { padding: var(--card-padding); margin-top: var(--group-gap); }
.observe-box p { margin-top: var(--text-gap); }
.expand-note { margin-top: var(--group-gap); padding: var(--space-4) 0; }
.expand-note p { font-size: var(--text-body); line-height: var(--line-body); padding-top: var(--space-4); }
.source-note { font-size: var(--text-caption); line-height: var(--line-caption); margin-top: var(--space-3); }
.detail-task { padding: var(--space-6) 0 var(--space-2); }
.detail-task-meta { flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.task-wrap { padding: var(--page-start) var(--page-gutter) 0; }
.task-wrap h1 { margin: var(--space-4) 0 var(--space-2); }
.task-art { margin-top: var(--space-5); }
.question { margin: var(--space-6) 0 var(--space-4); }
.choice-list, .sort-list { gap: var(--space-3); }
.choice { padding: var(--space-3) var(--space-4); font-size: var(--text-body); line-height: var(--line-body); gap: var(--space-3); min-height: 56px; }
.choice .letter { width: 28px; height: 28px; font-size: var(--text-caption); line-height: var(--line-caption); }
.sort-row { padding: var(--space-3); gap: var(--space-3); font-size: var(--text-small); line-height: var(--line-small); }
.sort-controls button { min-width: var(--touch-target); min-height: var(--touch-target); }
.match-grid { gap: var(--space-4); }
.match-col { gap: var(--space-3); }
.match-button { padding: var(--space-3) var(--space-2); font-size: var(--text-small); line-height: var(--line-small); min-height: 72px; }
.scene-wrap { margin: var(--space-4) var(--space-4) 0; }
.scene-controls { padding: var(--card-padding); }
.scene-controls h2 { margin: var(--space-2) 0 var(--space-3); }
.scene-controls p { font-size: var(--text-body); line-height: var(--line-body); min-height: 56px; }
.scene-controls .task-hint { font-size: var(--text-caption); line-height: var(--line-caption); min-height: 0; }
.scene-caption { font-family: var(--font-body); font-size: var(--text-component); line-height: var(--line-component); font-weight: var(--weight-bold); }
.scene-action { margin-top: var(--group-gap); }
.segmented { padding: var(--space-1); gap: var(--space-1); margin-bottom: var(--space-4); }
.segmented button { min-height: var(--touch-target); padding: var(--space-2); font-size: var(--text-small); line-height: var(--line-small); font-weight: var(--weight-semibold); }
.crystal-tools button, .hotspot { width: var(--touch-target); height: var(--touch-target); }
.result-wrap { padding: var(--page-start) var(--page-gutter); }
.result-explain { padding: var(--card-padding); margin: var(--group-gap) 0; }
.result-explain h3 { margin-bottom: var(--space-3); }
.result-buttons { gap: var(--space-3); margin-top: var(--group-gap); }
.notebook-profile { margin: var(--space-3) var(--page-gutter) 0; padding: var(--card-padding); }
.profile-row { gap: var(--space-3); }
.profile-row .edit-name { min-width: var(--touch-target); min-height: var(--touch-target); }
.stats { margin-top: var(--group-gap); }
.stat strong, .shop-balance strong, .reward-number { font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.identity-progress { margin-top: var(--space-5); padding-top: var(--space-4); }
.badges-grid { gap: var(--space-4); }
.badge-card { padding: var(--space-3) 0; }
.badge-card .badge { margin-bottom: var(--space-3); }
.badge-card h3 { font-size: var(--text-small); line-height: var(--line-small); font-weight: var(--weight-semibold); }
.menu-list { margin-inline: var(--page-gutter); }
.menu-gap { margin-top: var(--section-gap); }
.menu-row { padding: var(--space-4) 0; gap: var(--space-3); }
.menu-row span { font-size: var(--text-body); line-height: var(--line-body); }
.menu-row small { max-width: 42%; text-align: right; }
.shop-balance { margin: 0 var(--page-gutter) var(--space-6); padding: var(--card-padding); }
.shop-section { padding: 0 var(--page-gutter) var(--section-gap); }
.shop-section h2 { margin-bottom: var(--space-4); }
.prize-grid { gap: var(--space-4); }
.prize { padding: var(--space-4); }
.prize h3 { font-size: var(--text-small); line-height: var(--line-small); min-height: 48px; }
.prize button { margin-top: var(--space-3); min-height: var(--touch-target); font-size: var(--text-caption); line-height: var(--line-caption); }
.notice { margin: 0 var(--page-gutter) var(--space-6); padding: var(--space-3) var(--space-4); font-size: var(--text-caption); line-height: var(--line-caption); }
.route-key { margin-inline: var(--page-gutter); gap: var(--space-4); }
.route-stop .stop-label { padding: var(--space-2) var(--space-3); }
.route-caption { font-family: var(--font-display); font-weight: var(--weight-heavy); }
.route-bottom { padding: var(--space-6) var(--page-gutter) 0; }
.certificate { margin: var(--space-6) var(--page-gutter); padding: var(--space-8) var(--space-6); }
.certificate-stamp { font-family: var(--font-body); }
.order-list { margin: var(--space-5) var(--page-gutter); }
.order { padding: var(--card-padding); margin-bottom: var(--space-3); }
.receipt-code { font-family: var(--font-body); font-size: var(--text-component); line-height: var(--line-component); font-weight: var(--weight-bold); font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.dialog-body { padding: var(--space-6); }
.dialog-head { margin-bottom: var(--space-4); gap: var(--space-4); }
.dialog-head button { width: var(--touch-target); height: var(--touch-target); }
.dialog-body p { font-size: var(--text-body); line-height: var(--line-body); margin-bottom: var(--space-4); }
.dialog-body input { font-size: var(--text-body); line-height: var(--line-body); padding: var(--space-3); margin: var(--space-4) 0; }
.postcard-copy { padding: var(--card-padding); }
.small-footnote { margin: var(--space-8) var(--page-gutter) 0; font-size: var(--text-caption); line-height: var(--line-caption); }
.task-hint, .scene-footnote { font-size: var(--text-caption); line-height: var(--line-caption); }
.shop-section h2 small { font-family: var(--font-body); font-size: var(--text-small); line-height: var(--line-small); font-weight: var(--weight-medium); margin-left: var(--space-2); }
.route-stop strong { font-size: var(--text-small); line-height: var(--line-small); font-weight: var(--weight-bold); }
