:root {
  color-scheme: dark;
  --paper: #f3ecde;
  --ink: #18150f;
  --line: #302e2b;
  --muted: #aaa69e;
  --lime: #d7e868;
  font-family:
    "Times New Roman", "Songti SC", "Noto Serif CJK SC", "Noto Serif SC",
    SimSun, serif;
  color: var(--paper);
  background: #000;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
    ellipse 36% 20% at 16% 86%,
    #100e0a 0,
    transparent 100%
  );
}
header,
main {
  width: 91.1%;
  max-width: 1540px;
  margin: auto;
}
main {
  padding-bottom: 46px;
  outline: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
select,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  text-align: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
button:hover,
a:hover {
  color: var(--lime);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h2 {
  font-size: 28px;
}
.topic {
  display: flex;
  align-items: center;
  height: 48px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 1.2px;
  color: #ccc8bf;
}
.mast {
  height: 90px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 3vw;
}
.logo {
  font-family: "Times New Roman", serif;
  font-size: 54px;
  font-style: italic;
  letter-spacing: -2.5px;
  line-height: 1;
}
.mast nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 5vw, 80px);
  padding-left: 3.6vw;
  position: relative;
}
.mast nav:before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 32px;
  background: var(--line);
}
nav a {
  position: relative;
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: 600;
}
nav a.current:after,
.rooms .active:after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--lime);
  bottom: -13px;
  left: 0;
  right: 0;
}
.mast-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.pill {
  border: 1px solid #57534e;
  border-radius: 40px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.25;
  font-weight: 600;
}
.ivory {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.ivory:hover {
  background: var(--lime);
  color: #000;
}
.mast .pill {
  font-size: 20px;
}
.bottom,
.mobile-only {
  display: none;
}
.muted,
small {
  color: var(--muted);
}
.small {
  font-size: 15px;
}
.skip {
  position: absolute;
  left: -200vw;
}
.skip:focus {
  left: 0;
  background: #000;
}
.icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.intro {
  display: grid;
  grid-template-columns: 31.4% 43.2% 25.4%;
  padding: 24px 0 21px;
  border-bottom: 1px solid var(--line);
}
.month-title {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 52px;
  line-height: 1.05;
}
.month-title i {
  font-size: 116px;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -6px;
}
.month h2 {
  margin: 16px 0;
  font-size: 26px;
}
.month p {
  margin-bottom: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.month .pill {
  font-size: 16px;
  padding: 8px 18px;
}
.notes,
.days {
  border-left: 1px solid var(--line);
  padding: 0 7%;
  align-self: start;
  min-height: 210px;
}
.intro h3 {
  font-size: 21px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.note {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  gap: 12px;
  border-bottom: 1px solid #211f1c;
  position: relative;
  font-weight: 600;
  font-size: 17px;
}
.note:last-child {
  border: 0;
}
.note img {
  margin-left: auto;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.note.active {
  color: var(--lime);
}
.note.active:before {
  content: "";
  position: absolute;
  left: -9px;
  height: 80%;
  width: 2px;
  background: var(--lime);
}
.daylist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.days {
  padding-left: 12%;
}
.active.pill,
.chosen {
  color: var(--lime);
  border-color: var(--lime);
}
.shelf {
  padding: 17px 0 20px;
  border-bottom: 1px solid var(--line);
}
.shelf h3 {
  font-size: 17px;
  letter-spacing: 2px;
}
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 12.5%;
  overflow-x: auto;
  scrollbar-width: thin;
  align-items: start;
}
.item {
  text-align: center;
  min-width: 0;
  font-weight: 600;
  font-size: 17px;
}
.object {
  height: auto;
  width: 100%;
  aspect-ratio: 1.07;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(
    ellipse 48% 10% at 50% 91%,
    #35282077,
    transparent
  );
}
.object img {
  width: 91%;
  height: 90%;
  object-fit: contain;
}
.item .object {
  border: 1px solid transparent;
  border-radius: 6px;
}
.item.selected .object,
.item.hint .object,
.item:hover .object {
  border-color: var(--lime);
}
.item.selected {
  color: var(--lime);
}
.item .name {
  display: block;
  max-width: 9em;
  margin: 6px auto 0;
  padding: 0 6px;
}
.price {
  white-space: nowrap;
  font-size: 1.17em;
  font-weight: 400;
}
.feature {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 1.8%;
  padding-top: 25px;
}
.heroart {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    ellipse 50% 14% at 50% 88%,
    #33271f99,
    transparent
  );
  height: clamp(360px, 46vw, 690px);
}
.heroart img {
  height: 94%;
  width: 96%;
  object-fit: contain;
}
.scan:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1%;
  bottom: 1%;
  width: 2px;
  background: linear-gradient(
    transparent,
    var(--lime) 12%,
    var(--lime) 88%,
    transparent
  );
  box-shadow: 0 0 10px #d8e646a0;
  pointer-events: none;
}
.receipt {
  --cut: 22px;
  position: relative;
  isolation: isolate;
  clip-path: polygon(
    var(--cut) 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut)),
    0 var(--cut)
  );
  background: linear-gradient(155deg, #f8f1e6, #eee5d3);
  color: var(--ink);
  padding: 30px clamp(22px, 2.8vw, 45px) 26px;
}
.receipt:before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid #cec4af;
  clip-path: inherit;
  z-index: -1;
}
.watermark {
  position: absolute;
  right: -16%;
  width: 42%;
  height: 90%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.055;
  z-index: -1;
}
.receipt-head,
.receipt h2,
.receipt .scores,
.energy,
.sources,
.message {
  position: relative;
}
.receipt-head {
  font-size: 14px;
  letter-spacing: 2.4px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.receipt-head small {
  letter-spacing: 0;
  color: #6c6459;
}
.receipt h2 {
  font-size: clamp(28px, 3vw, 50px);
  margin: 14px 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #39352e;
}
.scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  border-bottom: 1px solid #c5bbab;
  padding: 9px 0;
  font-weight: bold;
}
.scores span + span {
  border-left: 1px solid #c9c1b2;
}
.scores b {
  font-size: 1.6em;
}
.energy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 13px 0;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}
.legend i {
  display: inline-block;
  height: 9px;
  width: 9px;
  background: var(--shade);
  border-radius: 100%;
  margin-right: 3px;
}
.bar {
  width: 100%;
  display: flex;
  height: 9px;
  gap: 2px;
}
.bar i {
  background: var(--shade);
  flex: var(--share);
}
.source {
  display: grid;
  grid-template-columns: 1fr 19% auto;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid #d9d1c2;
}
.source em {
  font-style: normal;
  color: #635d51;
  border-left: 1px solid #d0c8ba;
  padding-left: 12px;
}
.faded {
  color: #c7c0b3;
}
.origin {
  margin: 8px 0;
  font-size: 14px;
}
.message {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid #514939;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.message div {
  text-align: center;
}
.message h3 {
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: 0.18em;
}
.message p {
  margin-top: 6px;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.actions button,
.actions a {
  font-size: 18px;
}
.actions .pill {
  padding: 13px 32px;
}
.bottom a svg {
  display: block;
  margin: 0 auto 6px;
}
.room-title {
  margin: 28px 0 22px;
}
.rooms,
.filters {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 60px);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.rooms button {
  position: relative;
  font-size: 23px;
  padding: 0 0 14px;
  color: var(--muted);
  font-weight: bold;
}
.rooms .active {
  color: var(--paper);
}
.rooms .active:after {
  bottom: 0;
}
.filters {
  gap: 24px;
  padding: 15px 0;
}
.filters select,
.field select {
  background: #000;
  border: 0;
  cursor: pointer;
}
.sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.sort input {
  accent-color: var(--lime);
}
.switch {
  appearance: none;
  width: 39px;
  height: 21px;
  border: 1px solid #777;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
}
.switch:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  background: #888;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}
.switch:checked {
  border-color: #9aa345;
}
.switch:checked:after {
  left: 21px;
  background: var(--lime);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px 3.3%;
  margin-top: 15px;
}
.card {
  min-width: 0;
}
.card .object {
  aspect-ratio: 1;
  cursor: pointer;
}
.card .object img {
  width: 89%;
  height: 86%;
}
.badge {
  position: absolute;
  top: 8%;
  left: 8%;
  border: 1px solid #737946;
  color: var(--lime);
  font-size: 14px;
  padding: 3px 10px;
  border-radius: 20px;
}
.cardline,
.cardmeta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}
.cardline {
  font-size: 18px;
  font-weight: 600;
  margin-top: 10px;
}
.cardmeta {
  margin-top: 6px;
  color: var(--muted);
}
.tools {
  white-space: nowrap;
  color: var(--paper);
}
.tools button {
  padding: 5px;
}
.liked {
  color: var(--lime);
}
.expand {
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 8px;
}
.expand p {
  margin: 6px 0;
}
.expand a {
  display: inline-block;
  color: var(--lime);
  margin-top: 10px;
}
.card.open .expand,
.card:focus-within .expand {
  display: block;
}
.card.open .object:after,
.card:focus-within .object:after {
  content: "";
  position: absolute;
  height: 90%;
  left: 50%;
  width: 1px;
  background: var(--lime);
  box-shadow: 0 0 9px var(--lime);
}
@media (hover: hover) and (min-width: 761px) {
  .card:hover .expand {
    display: block;
  }
  .card:hover .object:after {
    content: "";
    position: absolute;
    height: 90%;
    left: 50%;
    width: 1px;
    background: var(--lime);
    box-shadow: 0 0 9px var(--lime);
  }
}
.back {
  display: inline-block;
  margin: 22px 0 11px;
}
.detail {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  gap: 4.3%;
}
.detail h1 {
  font-size: clamp(28px, 3.1vw, 48px);
}
.detail .heroart {
  height: clamp(360px, 41vw, 620px);
  overflow: hidden;
}
.zoom img {
  transform: scale(1.85);
  transform-origin: 55% 76%;
}
.thumbs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 12px 0;
}
.thumbs button {
  width: 85px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.thumbs .chosen {
  border-color: var(--lime);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail .muted {
  margin: 8px 0 16px;
}
.detail-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0 22px;
}
.detail-actions .pill {
  min-width: 135px;
}
.buybar {
  display: flex;
  gap: 8px;
}
.buybar > .ivory {
  flex: 1;
}
.gift-layout {
  display: grid;
  grid-template-columns: 21% minmax(0, 1fr);
  gap: 6%;
  margin-top: 36px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 10px 0 18px;
  border-bottom: 1px solid #555;
}
.field span {
  font-size: 16px;
  color: var(--muted);
}
.field select {
  font-size: 29px;
  width: 100%;
}
.extras {
  margin-top: 36px;
}
.extras select,
.extras button {
  padding: 12px 0;
  background: black;
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.gift-title {
  font-size: clamp(36px, 4.6vw, 70px);
}
.gift-sub {
  color: var(--muted);
  margin: 8px 0 14px;
}
.gift-set {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  align-items: stretch;
}
.gift-option {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
}
.gift-option .object {
  height: clamp(190px, 28vw, 450px);
  align-items: end;
  aspect-ratio: auto;
}
.gift-option img {
  height: 53%;
  width: 94%;
  object-position: bottom;
}
.gift-option.selected {
  border-color: #747948;
  background: linear-gradient(#12130699, #070704);
}
.gift-option.selected img {
  height: 92%;
}
.gift-copy {
  border-top: 1px solid var(--line);
  padding: 18px 7px;
  width: 100%;
}
.selected .gift-copy {
  border-color: var(--lime);
}
.gift-copy small {
  font-size: 16px;
}
.gift-copy strong,
.gift-copy .price {
  display: block;
  font-size: 21px;
  margin: 7px 0;
}
.gift-copy p {
  color: #c2bdb2;
  max-width: 15em;
}
.checked {
  color: var(--lime);
  font-size: 12px;
  border: 1px solid;
  padding: 1px 7px;
  border-radius: 20px;
  margin-left: 6px;
}
.wallet-head {
  display: flex;
  justify-content: space-between;
  margin: 26px 0;
}
.wallet-head h1 {
  font-size: 52px;
}
.wallet-head p {
  margin-top: 8px;
}
.wallet-tools {
  display: grid;
  align-content: start;
  gap: 10px;
  text-align: right;
}
.tickets {
  display: flex;
  gap: 28px;
  overflow: auto;
  border-bottom: 1px solid var(--line);
  padding: 0 0 34px;
}
.ticket,
.future {
  flex: 0 0 min(24%, 320px);
  aspect-ratio: 0.77;
}
.ticket {
  clip-path: polygon(
    5% 0,
    95% 0,
    100% 4%,
    100% 96%,
    95% 100%,
    5% 100%,
    0 96%,
    0 4%
  );
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 84%, #254e39 0 6px, transparent 7px),
    repeating-radial-gradient(
      circle at 102% 103%,
      transparent 0 74px,
      #385e46 75px 76px,
      transparent 77px 80px
    ),
    var(--paper);
}
.ticket i {
  font-size: 78px;
}
.ticket strong {
  font-size: 34px;
}
.ticket span {
  margin: 6px 0;
}
.ticket b {
  margin-top: auto;
}
.future {
  flex-basis: min(22%, 300px);
  border: 1px dashed #555;
  display: grid;
  align-content: center;
  text-align: center;
  gap: 12px;
}
.wallet-bottom {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 4%;
  margin-top: 30px;
}
.cardbox {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.segments {
  margin: 15px 0 25px;
  display: inline-flex;
  border: 1px solid #57534e;
  border-radius: 20px;
}
.segments button {
  padding: 6px 16px;
  border: 1px solid transparent;
  border-radius: 20px;
}
.segments .chosen {
  border-color: var(--lime);
}
.postcard {
  border: 1px dashed #686150;
  padding: 24px 15px;
  letter-spacing: 4px;
  font-size: 12px;
  color: #bbada0;
}
.emptycard {
  display: flex;
  align-items: center;
  gap: 16px;
}
.emptycard .pill {
  margin-top: 10px;
}
.wishhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wishgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.wishgrid .object {
  aspect-ratio: 1.3;
}
.wishgrid h3 {
  font-size: 17px;
}
.wishgrid .cardline {
  align-items: center;
}
.empty {
  padding: 30px 0;
  color: var(--muted);
}
dialog {
  color: var(--paper);
  background: #151410;
  border: 1px solid #555145;
  width: min(90vw, 440px);
  border-radius: 6px;
  padding: 32px;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 26px;
  margin-right: 22px;
  margin-bottom: 16px;
}
dialog p {
  line-height: 1.7;
  margin: 12px 0;
}
dialog label {
  display: block;
  margin: 14px 0;
}
dialog input,
dialog textarea {
  display: block;
  margin-top: 6px;
  width: 100%;
  border: 1px solid #575347;
  background: #080807;
  padding: 10px;
  border-radius: 4px;
}
.close {
  position: absolute;
  right: 16px;
  top: 6px;
  font-size: 31px;
}
#status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink);
  padding: 9px 20px;
  border-radius: 20px;
  z-index: 9;
  display: none;
}
#status.on {
  display: block;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .intro {
    grid-template-columns: 30% 46% 24%;
  }
  .notes,
  .days {
    padding: 0 5%;
  }
  .note {
    font-size: 15px;
  }
  .month-title {
    font-size: 42px;
  }
  .month-title i {
    font-size: 90px;
  }
  .mast nav {
    gap: 3vw;
  }
  .mast nav a {
    font-size: 19px;
  }
  .item {
    font-size: 14px;
  }
  .receipt {
    padding: 24px;
  }
  .legend {
    gap: 5px;
  }
  .gift-layout {
    gap: 4%;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 15px;
  }
  header,
  main {
    width: calc(100% - 32px);
  }
  main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .topic {
    height: 40px;
    font-size: 14px;
  }
  .mast {
    height: 55px;
  }
  .logo {
    font-size: 34px;
    letter-spacing: -1.7px;
  }
  .mast nav {
    display: none;
  }
  .mast-tools .pill {
    padding: 7px 16px;
    font-size: 16px;
  }
  .bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: #030302fa;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    text-align: center;
  }
  .bottom a {
    font-size: 13px;
    letter-spacing: 0.5px;
  }
  .bottom .icon {
    height: 20px;
    width: 20px;
  }
  .bottom .current {
    color: var(--lime);
  }
  .bottom a.current:after {
    height: 2px;
    width: 4em;
    margin: auto;
    bottom: -4px;
  }
  .intro {
    display: block;
    padding: 15px 0 0;
  }
  .month-title {
    font-size: 33px;
    gap: 15px;
  }
  .month-title i {
    font-size: 65px;
    letter-spacing: -3px;
  }
  .month h2 {
    font-size: 19px;
    margin: 10px 0;
  }
  .month p {
    font-size: 14px;
    margin-bottom: 9px;
  }
  .month .pill {
    font-size: 14px;
    padding: 7px 14px;
  }
  .notes,
  .days {
    padding: 11px 0;
    border: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
  }
  .notes {
    margin-top: 14px;
  }
  .intro h3 {
    font-size: 17px;
    margin: 0 0 5px;
  }
  .note {
    min-height: 42px;
    font-size: 14px;
    gap: 3px;
  }
  .note img {
    width: 31px;
    height: 31px;
  }
  .note.active:before {
    left: -7px;
  }
  .days {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .days h3 {
    margin: 0;
  }
  .daylist {
    gap: 5px;
  }
  .days .pill {
    font-size: 14px;
    padding: 7px 11px;
  }
  .shelf {
    padding: 12px 0 14px;
  }
  .shelf h3 {
    font-size: 15px;
  }
  .strip {
    grid-auto-columns: 28%;
    margin-right: -16px;
    scrollbar-width: none;
  }
  .item {
    font-size: 13.5px;
  }
  .item .object {
    aspect-ratio: 1;
  }
  .item .name {
    margin-top: 4px;
  }
  .feature,
  .detail {
    display: block;
    padding: 0;
  }
  .heroart,
  .detail .heroart {
    height: clamp(260px, 85vw, 480px);
  }
  .receipt {
    --cut: 18px;
    padding: 19px 18px 16px;
  }
  .receipt-head {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
  .receipt h2 {
    font-size: clamp(21px, 5.7vw, 34px);
    margin: 9px 0 4px;
  }
  .scores {
    font-size: 13px;
    padding: 7px 0;
  }
  .energy {
    font-size: 14px;
    gap: 6px;
  }
  .legend {
    font-size: 12px;
    gap: 7px;
  }
  .source {
    font-size: 14px;
    grid-template-columns: 1fr 18% auto;
  }
  .origin {
    font-size: 13px;
  }
  .message {
    padding-top: 12px;
  }
  .message h3 {
    font-size: 27px;
  }
  .message p {
    font-size: 14px;
  }
  .actions {
    gap: 10px 12px;
    margin-top: 16px;
  }
  .actions a,
  .actions button {
    font-size: 15px;
  }
  .actions .pill {
    padding: 10px 19px;
  }
  .actions .home-like {
    border: 1px solid #514e48;
    padding: 9px 15px;
    border-radius: 30px;
  }
  .room-title {
    font-size: 22px;
    margin: 18px 0;
  }
  .rooms {
    justify-content: space-between;
  }
  .rooms button {
    font-size: 17px;
    padding-bottom: 10px;
  }
  .filters {
    gap: 9px;
    justify-content: space-between;
    padding: 10px 0;
  }
  .filters select {
    font-size: 14px;
    max-width: 24%;
  }
  .sort {
    width: 100%;
    justify-content: flex-end;
    font-size: 14px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    margin-top: 7px;
  }
  .cardline {
    display: block;
    font-size: 15px;
  }
  .cardline .price {
    display: block;
    margin-top: 4px;
  }
  .cardmeta {
    font-size: 13px;
    align-items: center;
    gap: 3px;
  }
  .tools button {
    padding: 3px;
  }
  .badge {
    font-size: 12px;
    padding: 2px 7px;
  }
  .expand {
    font-size: 14px;
  }
  .back {
    margin: 14px 0 0;
  }
  .thumbs {
    margin: 10px 0 18px;
  }
  .thumbs button {
    width: 58px;
  }
  .detail h1 {
    font-size: 25px;
  }
  .detail-actions .pill {
    min-width: 100px;
  }
  .detail-actions .gift-detail {
    display: none;
  }
  .buybar {
    position: fixed;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: calc(67px + env(safe-area-inset-bottom));
    background: #050504;
    border-top: 1px solid var(--line);
    padding: 9px 16px;
  }
  .mobile-only {
    display: inline-flex;
  }
  main:has(.detail) {
    padding-bottom: 155px;
  }
  .gift-layout {
    display: block;
    margin-top: 4px;
  }
  .field {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
  }
  .field span {
    width: 95px;
    flex: none;
    font-size: 14px;
  }
  .field select {
    font-size: 22px;
  }
  .extras {
    margin-top: 0;
  }
  .gift-title {
    font-size: 40px;
    margin-top: 20px;
  }
  .gift-set {
    grid-template-columns: 1fr 1.25fr 1fr;
  }
  .gift-option .object {
    height: clamp(150px, 55vw, 270px);
  }
  .gift-copy {
    padding: 12px 6px;
    text-align: center;
  }
  .gift-copy strong,
  .gift-copy .price {
    font-size: 16px;
  }
  .gift-copy small,
  .gift-copy p {
    font-size: 14px;
  }
  .gift-layout .actions {
    display: grid;
    justify-content: stretch;
    text-align: center;
  }
  .wallet-head {
    margin: 18px 0;
  }
  .wallet-head h1 {
    font-size: 33px;
  }
  .wallet-tools {
    font-size: 14px;
  }
  .tickets {
    gap: 12px;
    padding-bottom: 20px;
    margin-right: -16px;
    scrollbar-width: none;
  }
  .ticket {
    flex-basis: 52%;
    padding: 16px;
  }
  .ticket i {
    font-size: 52px;
  }
  .ticket strong {
    font-size: 24px;
  }
  .future {
    flex-basis: 36%;
  }
  .wallet-bottom {
    display: block;
    margin: 17px 0;
  }
  .wallet-bottom h2 {
    font-size: 22px;
  }
  .cardbox {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 20px;
    margin: 0 0 20px;
  }
  .segments {
    margin: 12px 0;
  }
  .wishgrid {
    gap: 8px;
  }
  .wishgrid h3 {
    font-size: 14px;
  }
  .wishgrid .cardline {
    display: flex;
  }
  .wishhead {
    font-size: 13px;
  }
  #status {
    bottom: 150px;
    width: max-content;
    max-width: 90vw;
    text-align: center;
  }
}
.catalogrow,
.savedgift {
  padding: 9px 0;
  border-bottom: 1px solid #bdb5a755;
}
.present {
  max-width: 440px;
  margin: 36px auto;
  text-align: center;
}
.present h1,
.present p,
.present button {
  margin: 14px 0;
}
.present .object {
  height: 250px;
}
.savedgift {
  line-height: 1.8;
}
.receipt {
  overflow: hidden;
}
.watermark {
  right: -12%;
  opacity: 0.038;
}
.logo {
  font-weight: 400;
}

/* ===== storefront additions (build) ===== */
.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.lang button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 6px 4px;
  min-width: 28px;
  min-height: 32px;
  cursor: pointer;
  transition: color 0.2s;
}
.lang button[aria-pressed="true"] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-underline-offset: 5px;
}
.lang button:hover { color: var(--paper); }
.lang span { opacity: 0.5; }
.pill.invite { border-style: dashed; border-color: #8a8577; }
button.sort.invite {
  font: inherit; color: var(--paper); background: none; cursor: pointer;
  border: 1px dashed #6b675f; border-radius: 40px; padding: 8px 16px; font-size: 15px;
}
.buy.soon, .buy[disabled] {
  background: transparent !important;
  color: var(--muted) !important;
  border: 1px dashed #6b675f !important;
  cursor: not-allowed;
}
.receipt .source i { font-style: normal; display: inline-block; width: 1.1em; text-align: center; }
.wallet-head .who { color: var(--muted); }
.shelf h3 .clear {
  font: inherit; color: var(--paper); background: none; cursor: pointer;
  border: 1px solid #57534e; border-radius: 50%; width: 26px; height: 26px; line-height: 22px;
  padding: 0; margin-left: 6px; font-size: 13px; vertical-align: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.shelf h3 .clear:hover { border-color: var(--lime); color: var(--lime); }

/* ---- motion ---- */
.strip {
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
.strip .item { scroll-snap-align: start; }
.item .object { transition: outline-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease; }
.item:hover .object { transform: translateY(-2px); }
.note { transition: color 0.25s ease, background-color 0.25s ease; }
.note.active:before { transform-origin: 50% 50%; }
.note.fresh:before { animation: bar-in 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.daylist .pill { transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
@keyframes bar-in { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.item.selected .object { animation: frame-in 0.4s ease both; }
@keyframes frame-in { from { box-shadow: 0 0 0 0 #d7e86800; } 50% { box-shadow: 0 0 18px 0 #d7e86855; } to { box-shadow: 0 0 0 0 #d7e86800; } }

/* hero scan: thin lime line sweeping across, soft glow, subtle loop */
.scan:after {
  left: 0;
  animation: scan-sweep 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  will-change: transform, opacity;
}
@keyframes scan-sweep {
  0% { left: 8%; opacity: 0; }
  8% { opacity: 0.95; }
  46% { left: 92%; opacity: 0.95; }
  54% { left: 92%; opacity: 0; }
  100% { left: 8%; opacity: 0; }
}
.heroart.enter img { animation: hero-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.receipt.enter { animation: ticket-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes ticket-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 精选好物: scan only on the hovered (desktop) / expanded (mobile) card */
.card .object:after { display: none; }
@media (hover: hover) and (min-width: 761px) {
  .card:hover .object:after {
    display: block; content: ""; position: absolute; top: 5%; height: 90%; left: 10%;
    width: 1px; background: var(--lime); box-shadow: 0 0 9px var(--lime);
    animation: card-sweep 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
}
@media (max-width: 760px) {
  .card.open .object:after {
    display: block; content: ""; position: absolute; top: 5%; height: 90%; left: 10%;
    width: 1px; background: var(--lime); box-shadow: 0 0 9px var(--lime);
    animation: card-sweep 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
  .card.open .expand { animation: ticket-in 0.4s ease both; }
  .mast-tools { gap: 10px; }
  .lang { font-size: 14px; }
}
@keyframes card-sweep {
  0% { left: 10%; opacity: 0; } 10% { opacity: 1; } 80% { left: 90%; opacity: 1; } 100% { left: 90%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scan:after { left: 50%; opacity: 1; }
  .card:hover .object:after, .card.open .object:after { left: 50%; opacity: 1; }
}

/* ---- type floor (desktop labels >=14px, mobile >=12px) ---- */
.receipt-head small { font-size: 14px; }
.sort small { font-size: 14px; }
.checked { font-size: 14px; }
.future small { font-size: 14px; }
.postcard { font-size: 14px; }
.shelf h3 .clear { font-size: 14px; }
@media (max-width: 760px) {
  .receipt-head small, .sort small, .checked, .future small, .postcard { font-size: 12px; }
}
/* ---- English: long marketplace names clamp in tight spots (full name on detail/receipt) ---- */
.gift-set > * { min-width: 0; }
.gift-copy { overflow-wrap: anywhere; }
html[lang="en"] .item .name,
html[lang="en"] .cardline button,
html[lang="en"] .gift-copy strong,
html[lang="en"] .wishgrid h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
html[lang="en"] .gift-copy strong { -webkit-line-clamp: 3; }
html[lang="en"] .item .name { max-width: 10.5em; }
html[lang="en"] .receipt h2 { font-size: clamp(24px, 2.3vw, 38px); line-height: 1.18; }
html[lang="en"] .month-title { white-space: nowrap; }
.checked { white-space: nowrap; }
.buy.soon, .buy[disabled] { background: #0d0d0c !important; }
@media (max-width: 760px) {
  html[lang="en"] .gift-copy small { display: flex; flex-direction: column; align-items: center; gap: 4px; }
}

/* ===== round 2: visible language switch + compact mobile first screen ===== */
.lang {
  border: 1px solid #6b675f;
  border-radius: 40px;
  padding: 0 4px;
  gap: 0;
  color: var(--muted);
}
.lang span { display: none; }
.lang button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.lang button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  min-height: 34px;
  margin: 5px 0;
}
.lang button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.notes-bar { display: contents; }
.note-chips, .notes-toggle, .topic-chip { display: none; }

@media (max-width: 760px) {
  /* header: promo strip folds into the key-dates row on the home page */
  .topic { display: none; }
  .mast { height: 56px; gap: 8px; }
  .logo { font-size: 30px; letter-spacing: -1.4px; }
  .mast-tools { gap: 8px; }
  .lang { padding: 0 2px; }
  .lang button { min-width: 44px; padding: 0 8px; font-size: 14px; }
  .lang button[aria-pressed="true"] { min-height: 32px; margin: 6px 0; }
  .mast-tools .pill { padding: 8px 14px; font-size: 15px; min-height: 44px; }

  /* 12 冬藏: one compact line + one small meta line */
  .intro { padding: 8px 0 0; }
  .month {
    display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 4px;
  }
  .month-title { font-size: 22px; gap: 6px; margin: 0; line-height: 1; }
  .month-title i { font-size: 34px; letter-spacing: -1.5px; }
  .month h2 { font-size: 15px; margin: 0; font-weight: 600; }
  .month p { flex: 1 1 auto; font-size: 12.5px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .month .pill { font-size: 13px; padding: 5px 12px; min-height: 32px; margin-left: auto; }
  html[lang="en"] .month h2 { font-size: 14px; }

  /* 本月留意: one chip row; tap ▾ to expand full sentences */
  .notes { margin-top: 8px; padding: 6px 0; }
  .notes-bar { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .notes-bar h3, .days h3 { font-size: 14px; margin: 0; white-space: nowrap; flex: none; }
  .note-chips {
    display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0;
    scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  }
  .note-chips::-webkit-scrollbar, .daylist::-webkit-scrollbar { display: none; }
  .note-chip {
    flex: none; display: inline-flex; align-items: center; gap: 5px; scroll-snap-align: start;
    font: inherit; font-size: 13px; color: var(--paper); background: none; cursor: pointer;
    border: 1px solid #3e3b36; border-radius: 40px; padding: 3px 11px 3px 4px; min-height: 36px;
    transition: border-color 0.25s ease, color 0.25s ease;
  }
  .note-chip img { width: 26px; height: 26px; object-fit: contain; }
  .note-chip.active { border-color: var(--lime); color: var(--lime); }
  .notes-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; margin: -4px -8px -4px 0; font: inherit; font-size: 16px;
    color: var(--muted); background: none; border: 0; cursor: pointer;
  }
  .notes:not(.open) .note { display: none; }
  .notes.open .note { animation: ticket-in 0.3s ease both; }
  .notes.open .note-chips { visibility: hidden; }

  /* 关键日: single scroll row, promo chip at the end */
  .days { padding: 6px 0; flex-wrap: nowrap; gap: 8px; }
  .daylist {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; gap: 6px;
    overscroll-behavior-x: contain;
  }
  .days .pill { font-size: 13px; padding: 5px 11px; white-space: nowrap; flex: none; min-height: 34px; }
  .topic-chip { display: inline-flex; align-items: center; border-style: dashed; color: var(--muted); }

  /* product row: compact, 4.5 visible */
  .shelf { padding: 6px 0 8px; }
  .shelf h3 { font-size: 14px; margin: 0 0 4px; }
  .strip { grid-auto-columns: 22%; }
  .item { font-size: 12.5px; line-height: 1.25; }
  .item .object { aspect-ratio: auto; height: 58px; }
  .item .object img { height: 100%; }
  .item .name {
    margin-top: 3px; padding: 0 2px; display: -webkit-box; -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; overflow: hidden;
  }
  .item .price { font-size: 12.5px; }
  html[lang="en"] .item .name { -webkit-line-clamp: 1; }

  /* hero + ticket headline above the fold */
  .feature .heroart { height: clamp(150px, calc(100svh - 485px), 340px); }
  .feature .receipt { padding-top: 14px; }
  .feature .receipt h2 { margin: 6px 0 2px; padding-bottom: 6px; font-size: clamp(19px, 5.4vw, 30px); }
  html[lang="en"] .feature .receipt h2 { font-size: 18px; }
  .feature .scores { padding: 5px 0; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .notes.open .note { animation: none; }
}

@media (max-width: 760px) {
  .month .month-title { order: 1; }
  .month .pill { order: 2; }
  .month h2 { order: 3; }
  .month p { order: 4; flex: 1 1 0; }
  html[lang="en"] .month .pill-label { display: none; }
  html[lang="en"] .month-title { font-size: 20px; }
  .notes { padding: 4px 0; }
  .days { padding: 4px 0; }
  .item .object { height: 52px; }
  .feature .heroart { height: clamp(128px, calc(100svh - 537px), 330px); }
  .feature .receipt { padding-top: 11px; }
  .lang button[aria-pressed="true"] { min-height: 44px; margin: 0; box-shadow: inset 0 0 0 5px #000; }
}

@media (max-width: 760px) {
  .notes-bar h3, .days h3 { letter-spacing: 0.5px; }
  .notes-bar h3 .long { display: none; }
  html[lang="en"] .month p { flex-basis: 100%; white-space: normal; }
  html[lang="en"] .month h2 { font-size: 13.5px; }
  html[lang="en"] .feature .heroart { height: clamp(100px, calc(100svh - 570px), 300px); }
}

/* ===== round 3: image-only thumbnails, availability, recipe reasons ===== */
.strip.thumbs-only .item { padding: 6px; border-radius: 4px; }
.strip.thumbs-only .item .object {
  outline: 1px solid transparent; outline-offset: 3px; border-radius: 3px;
  transition: outline-color 0.3s ease, transform 0.3s ease;
}
.strip.thumbs-only .item.selected .object { outline: 2px solid var(--lime); outline-offset: 3px; }
.strip.thumbs-only .item.selected { background: #12130699; }
.strip.thumbs-only .item:focus-visible .object { outline: 2px dashed var(--lime); }
.card .object { position: relative; }
.avail {
  position: absolute; right: 8%; top: 8%; font-size: 14px; line-height: 1; padding: 6px 9px;
  border-radius: 40px; letter-spacing: 0.02em;
}
.avail.ok { background: var(--lime); color: var(--ink); font-weight: 700; }
.avail.soon { border: 1px dashed #6b675f; color: var(--muted); background: #0d0d0ccc; }
.reason { margin: 4px 0 0; font-size: 14px; color: var(--lime); }
.month .explain { color: var(--muted); font-size: 15px; margin: 10px 0 0; max-width: 26em; }
.gift-note { color: var(--muted); font-size: 15px; margin: -6px 0 14px; }
.over { font-style: normal; font-size: 14px; color: var(--muted); border: 1px dashed #6b675f; border-radius: 40px; padding: 2px 8px; margin-left: 6px; white-space: nowrap; }
.daylist .pill .date { font-size: max(14px, 0.85em); color: var(--muted); margin-left: 3px; }
.daylist .pill.active .date { color: inherit; }
.present .actions { justify-content: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .strip.thumbs-only { grid-auto-columns: 19%; }
  .strip.thumbs-only .item { padding: 4px; }
  .strip.thumbs-only .item .object { height: 54px; }
  .avail { font-size: 12px; padding: 5px 7px; right: 6%; top: 6%; }
  .reason { font-size: 12.5px; }
  .month .explain { order: 5; flex-basis: 100%; font-size: 12.5px; margin: 2px 0 0; line-height: 1.35; }
  .daylist .pill .date { font-size: 12px; }
  .gift-note, .over { font-size: 12.5px; }
}
