:root { color-scheme: light; --ink: #26372b; --muted: #566454; --paper: #f8f5eb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
button { color: inherit; font: inherit; }
button:focus-visible { outline: 3px solid #226947; outline-offset: 4px; }
.mast, main { width: min(100% - 44px, 1050px); margin: 0 auto; }
.mast { display: flex; gap: 11px; align-items: center; padding: 27px 0 21px; border-bottom: 1px solid #d4d7c9; font-size: 17px; font-weight: 650; letter-spacing: -.035em; }
.fruit { position: relative; width: 23px; height: 22px; border-radius: 48% 50% 45% 46%; background: #efb322; transform: rotate(-10deg); }
.fruit::after { content: ""; position: absolute; top: -3px; right: -3px; width: 12px; height: 6px; border-radius: 100% 0; background: #355b43; }
.intro { margin: clamp(39px, 7vw, 88px) 0 clamp(30px, 5vw, 57px); }
h1, h2, p { margin: 0; }
h1, h2 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif; }
h1 { font-size: clamp(48px, 8vw, 92px); line-height: 1.12; font-weight: 700; letter-spacing: -.065em; }
h1 span { color: #cb8516; margin-left: .04em; }
.intro p { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 2vw, 18px); }
.folio { border-top: 1px solid #87927f; padding: 22px 0; }
.folio-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
h2 { font-size: clamp(23px, 3.3vw, 36px); font-weight: 600; line-height: 1.35; }
#caption { color: var(--muted); margin-top: 6px; font-size: 14px; line-height: 1.6; }
.next { flex: none; background: var(--ink); border: 0; color: #fffdf5; border-radius: 999px; padding: 0 19px; min-height: 44px; font-size: 14px; cursor: pointer; }
.next span { padding-left: 3px; display: inline-block; font-size: 18px; }
.next:hover { background: #405740; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(7px, 1.45vw, 16px); }
.swatch { display: grid; align-content: start; min-width: 0; padding: 0 0 9px; border: 0; background: none; text-align: left; cursor: copy; border-radius: 3px; }
.sample { display: block; height: clamp(118px, 19vw, 218px); border: 1px solid rgb(31 42 23 / .08); border-radius: 4px; transition: transform .18s ease; }
.c0 { background: #355b43; } .c1 { background: #98ae73; } .c2 { background: #f5b826; } .c3 { background: #f5d98e; } .c4 { background: #eee5d2; }
@media (hover:hover) { .swatch:hover .sample { transform: translateY(-4px); } }
.label { margin-top: 11px; font-size: 16px; font-weight: 600; }
.hex { margin-top: 3px; color: var(--muted); font: 13px/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: .025em; user-select: text; }
.status { min-height: 24px; margin: 12px 0 0; color: #355b43; font-size: 14px; }
@media (max-width: 580px) {
  .mast, main { width: calc(100% - 36px); }
  .mast { padding: 21px 0 17px; }
  .folio-head { align-items: start; }
  .swatches { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px 10px; }
  .swatch { grid-column: span 2; }
  .swatch:nth-last-child(-n+2) { grid-column: span 3; }
  .sample { height: clamp(80px, 25vw, 130px); }
  .label { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .sample { transition: none; } }
