@font-face { font-family:SleepType; src:url("/shuibao/fonts/round-regular.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:SleepType; src:url("/shuibao/fonts/round-medium.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }



:root {
  --paper: #fcf7f4;
  --ink: #60534c;
  --muted: #7b6c64;
  --peach: #f5e0cf;
  --pink: #ecd0d3;
  --line: #dfd7d2;
  --utility: #f5eee6;
  --accent: #a84630;
  --note: #f4e7de;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.8 SleepType, "PingFang SC", sans-serif;
}

h1, h2, h3, p, figure, ul { margin: 0; }
h1, h2, h3 { font-family: SleepType, "PingFang SC", sans-serif; font-weight: 500; }

a {
  color: inherit;
  text-underline-offset: 5px;
  touch-action: manipulation;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  position: fixed;
  z-index: 10;
  background: white;
  padding: 12px;
}

.announcement {
  min-height: 37px;
  display: grid;
  place-items: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: .07em;
  line-height: 1.6;
  text-align: center;
  background: var(--utility);
}

header {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font: 500 26px/1.5 SleepType,sans-serif;
  text-decoration: none;
}
header nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}
header nav a { text-decoration: none; }

.hero { background: var(--peach); }
.hero-copy {
  text-align: center;
  padding: 36px 20px 30px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: .09em;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.5;
  letter-spacing: .09em;
  margin: 7px 0 8px;
}
.hero-copy p { line-height: 1.9; }
.hero-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  overflow: hidden;
  background: var(--utility);
}
.hero-photo img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hero-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 9px;
  font-size: 10px;
  background: #fff9;
  padding: 1px 7px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 11px 12px;
}
.category-strip a {
  background: var(--pink);
  text-align: center;
  text-decoration: none;
  padding: 13px 6px;
  font-size: 16px;
}
.category-strip a:hover { background: #dfbfc3; }

.section {
  max-width: 1150px;
  margin: auto;
  padding: 62px 28px 20px;
  text-align: center;
}
.section h2 {
  font-size: 35px;
  margin: 8px 0;
}
.lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 720px;
  margin: 0 auto;
}
.lead + .lead { margin-top: 8px; }

.pair,
.topic-grid,
.scenes,
.tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 32px;
  margin-top: 34px;
  text-align: left;
}

.photo {
  aspect-ratio: 4 / 4.5;
  background: var(--utility);
  overflow: hidden;
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .55s;
}
.card:hover img { transform: scale(1.025); }

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 6px;
}
.card-title h3 { font-size: 28px; }
.card p { color: var(--muted); font-size: 15px; }

.entry {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.entry.hold { text-decoration: underline; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 2px 8px;
  background: var(--pink);
  color: var(--ink);
}

.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--utility);
  color: var(--muted);
}
.placeholder.peach { background: var(--peach); }
.placeholder.pink { background: var(--pink); }
.placeholder.note { background: var(--note); }
.placeholder strong {
  font-family: SleepType, "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink);
  letter-spacing: .08em;
}
.placeholder span { font-size: 13px; letter-spacing: .08em; }

.tog-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 0;
  text-align: center;
}
.tog {
  padding: 16px 8px 14px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.tog b {
  font-family: SleepType, "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .04em;
}
.tog span {
  font-size: 13px;
  line-height: 1.5;
}
.tog-35 { background: #60534c; color: #fcf7f4; }
.tog-25 { background: #8d7166; color: #fcf7f4; }
.tog-10 { background: #c9a392; color: #3f342f; }
.tog-05 { background: #f5e0cf; color: var(--ink); }
.tog-02 { background: #ecd0d3; color: var(--ink); }
.tog-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.scenes { gap: 12px; margin-top: 22px; }
.scene {
  background: var(--utility);
  padding: 20px 18px 22px;
  text-align: left;
}
.scene:nth-child(1) { background: var(--note); }
.scene:nth-child(2) { background: var(--peach); }
.scene:nth-child(3) { background: var(--utility); }
.scene:nth-child(4) { background: var(--pink); }
.scene b {
  display: block;
  font-family: SleepType, "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
}
.scene p { color: var(--muted); font-size: 14px; line-height: 1.8; }

.tips { gap: 12px; }
.tip {
  background: var(--utility);
  padding: 22px 20px 24px;
  text-align: left;
}
.tip i {
  font-style: normal;
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 8px;
}
.tip b {
  display: block;
  font-family: SleepType, "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 6px;
}
.tip p { color: var(--muted); font-size: 14px; }

.group-block { padding-top: 48px; }
.group-block h3 {
  font-size: 24px;
  text-align: left;
  margin: 0 0 6px;
}
.group-block .sub {
  text-align: left;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.topic-grid { margin-top: 22px; }

.aside {
  max-width: 1150px;
  margin: 40px auto 0;
  padding: 28px 28px 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.aside h2 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.aside p + p { margin-top: 8px; }
.aside a {
  color: var(--accent);
  text-decoration: underline;
}

footer {
  margin-top: 48px;
  padding: 42px max(26px, calc((100vw - 1094px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  background: var(--utility);
}
footer h2 { font-size: 25px; margin-bottom: 12px; }
footer p { max-width: 390px; }
footer p, footer a { font-size: 14px; }
footer a {
  display: block;
  width: fit-content;
  margin-top: 9px;
}

@media (max-width: 580px) {
  .announcement { min-height: 32px; font-size: 11px; padding: 7px 12px; }
  header { height: 68px; padding: 0 15px; gap: 10px; }
  .brand { font-size: 22px; }
  header nav { gap: 16px; font-size: 12px; }
  .hero-copy { padding: 28px 16px 25px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 36px; margin: 8px 0; }
  .hero-copy p { font-size: 14px; }
  .hero-link { font-size: 13px; margin-top: 15px; }
  .hero-photo { height: auto; aspect-ratio: 1.5; }
  .hero-photo img { object-position: center 28%; }
  .hero-photo figcaption { font-size: 9px; }
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 7px;
  }
  .category-strip a { font-size: 16px; padding: 10px 4px; min-height: 48px; }
  .section { padding: 39px 15px 24px; }
  .section h2 { font-size: 28px; }
  .lead { font-size: 13px; }
  .pair,
  .topic-grid {
    gap: 33px 14px;
    margin-top: 25px;
  }
  .photo { aspect-ratio: 3 / 4; }
  .card-title { margin: 11px 0 7px; gap: 3px; }
  .card-title h3 { font-size: 20px; line-height: 1.5; }
  .card p { font-size: 13px; line-height: 1.85; }
  .entry { font-size: 13px; margin-top: 12px; }
  .tog-row { gap: 5px; }
  .tog { padding: 12px 4px 11px; min-height: 96px; }
  .tog b { font-size: 16px; }
  .tog span { font-size: 11px; }
  .tog-note { font-size: 13px; }
  .scenes, .tips { gap: 8px; margin-top: 18px; }
  .scene, .tip { padding: 16px 14px 18px; }
  .scene b, .tip b { font-size: 17px; }
  .scene p, .tip p { font-size: 13px; line-height: 1.8; }
  .group-block { padding-top: 32px; }
  .group-block h3 { font-size: 20px; }
  .aside { padding: 20px 15px 8px; font-size: 13px; }
  .aside h2 { font-size: 18px; }
  footer {
    padding: 30px 20px;
    gap: 30px;
    grid-template-columns: 1fr;
  }
  footer h2 { font-size: 22px; }
  footer p, footer a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 跟团码条 */
.code-band {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 12px 16px 12px 12px;
  background: var(--utility);
}
.code-band img {
  flex: none;
  width: 156px;
  height: 156px;
  display: block;
  background: #fff;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.card:hover .code-band img { transform: none; }
.code-band p { display: flex; flex-direction: column; gap: 4px; }
.code-band b {
  font-family: SleepType, "PingFang SC", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.code-band span { font-size: 13px; color: var(--muted); }

@media (max-width: 580px) {
  .code-band {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px 8px 12px;
    text-align: center;
  }
  .code-band img { width: 132px; height: 132px; }
  .code-band b { font-size: 15px; }
  .code-band span { font-size: 11px; }
}
.topic-grid .card { display: flex; flex-direction: column; }
.topic-grid .card .code-band { margin-top: auto; }
.topic-grid .card .code-band { position: relative; top: 16px; }
.topic-grid { row-gap: 68px; }
@media (max-width: 580px) {
  .topic-grid .card .code-band { top: 12px; }
  .topic-grid { row-gap: 44px; }
}

/* The approved introduction, typography and palette remain intact. */
[hidden] { display: none !important; }
.draft-banner { padding: 10px 18px; background: var(--ink); color: var(--paper); text-align: center; font-size: 12px; }
.temperature-picker { margin: 28px auto 24px; padding: 24px; background: var(--peach); max-width: 760px; }
.temperature-shortcuts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
button,input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:focus-visible,input:focus-visible,summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.temperature-shortcuts button { border: 1px solid #c5a793; min-height: 74px; background: var(--paper); font-family: SleepType,"PingFang SC",sans-serif; font-size: 29px; }
.temperature-shortcuts button span { font-size: 16px; }
.temperature-shortcuts button:hover { background: #f8eae2; }
.temperature-shortcuts button[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
#temperature-form { margin: 22px auto 0; max-width: 430px; }
#temperature-form label { display: block; text-align: left; font-size: 14px; margin-bottom: 8px; }
.temperature-input { display: flex; align-items: center; gap: 8px; }
.temperature-input input { width: 100%; min-width: 0; background: var(--paper); border: 1px solid #b99b89; border-radius: 0; padding: 9px 12px; height: 47px; font-size: 17px; }
.temperature-input button { flex-shrink: 0; border: 0; background: var(--ink); color: var(--paper); padding: 11px 15px; min-height: 47px; font-size: 14px; }
#temperature-help { margin-top: 12px; font-size: 12px; }
.temperature-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.temperature-results-heading p { font-size: 16px; }
#show-all-temperatures { flex-shrink: 0; border: 0; text-decoration: underline; text-underline-offset: 5px; background: none; min-height: 44px; padding: 0 5px; font-size: 14px; }
.preview-note { color: var(--muted); font-size: 13px; text-align: left; padding: 16px 0; max-width: 790px; }
.temperature-products { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; text-align: left; }
.temperature-card { background: #fffaf6; border: 1px solid var(--line); }
.temperature-heading { padding: 18px 22px; background: var(--utility); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.temperature-heading>span { font-size: 13px; }
.temperature-heading strong { font: 500 34px/1.3 SleepType,"PingFang SC",sans-serif; }
.temperature-heading small { font-size: 20px; padding-left: 3px; }
.temperature-body { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 22px; }
.temperature-photo { position: relative; align-self: start; }
.temperature-photo img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.temperature-photo span { display: block; font-size: 11px; color: var(--muted); padding-top: 5px; }
.temperature-copy { min-width: 0; }
.temperature-copy .product-brand { font-size: 13px; color: var(--muted); }
.temperature-copy h3 { font-size: 21px; line-height: 1.5; margin: 7px 0 10px; }
.temperature-copy p { font-size: 13px; line-height: 1.85; }
.temperature-copy .match-pending { color: var(--accent); margin-top: 15px; }
.spec-source { display: inline-block; font-size: 12px; margin-top: 6px; }
.temperature-empty { padding: 40px 20px; background: var(--utility); text-align: left; }
.temperature-empty h3 { font-size: 22px; margin-bottom: 12px; }
.temperature-empty p,.temperature-footnote { font-size: 13px; color: var(--muted); }
.temperature-footnote { text-align: left; margin-top: 22px; }
.material-words { text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.material-words summary { cursor: pointer; padding: 18px 0; font-size: 15px; }
.material-words div { padding: 0 0 20px; font-size: 14px; }
.material-words p+p { margin-top: 12px; }
.all-groups { max-width: 1150px; margin: 10px auto 0; padding: 0 28px; }
.all-groups>summary { padding: 22px 0; cursor: pointer; font: 500 24px/1.5 SleepType,"PingFang SC",sans-serif; }
.all-groups>.section { padding-left: 0; padding-right: 0; }
@media(max-width:800px) { .temperature-products { grid-template-columns: 1fr; } }
@media(max-width:580px) {
  .temperature-picker { padding: 18px 14px; }
  .temperature-shortcuts { gap: 5px; }
  .temperature-shortcuts button { min-height: 61px; font-size: 24px; padding: 0 3px; }
  .temperature-shortcuts button span { font-size: 12px; }
  .temperature-heading { padding: 14px 18px; }
  .temperature-heading strong { font-size: 31px; }
  .temperature-body { grid-template-columns: 100px 1fr; padding: 18px; gap: 16px; }
  .temperature-copy h3 { font-size: 20px; }
  .temperature-results-heading p { font-size: 14px; }
  .temperature-input button { padding: 10px; font-size: 13px; }
  .all-groups { padding: 0 15px; }
  .all-groups>summary { font-size: 20px; }
}
@media(max-width:350px) {
  .temperature-body { grid-template-columns: 78px 1fr; gap: 12px; padding: 14px; }
  .temperature-copy h3 { font-size: 18px; }
}
.temperature-photo img { aspect-ratio: 1; height: auto; object-fit: contain; background: white; }
.temperature-copy .product-brand span { white-space: normal; }
.temperature-copy .choose-label { margin: 12px 0 3px; color: var(--accent); font-size: 12px; }
.temperature-copy .choose-spec { font-size: 14px; }
.temperature-copy .variant-note { margin-top: 12px; color: var(--muted); font-size: 12px; }
.shape-picker { text-align: left; margin: 24px 0 8px; }
.shape-picker>p { font-size: 14px; margin-bottom: 10px; }
.shape-picker>div { display: flex; flex-wrap: wrap; gap: 8px; }
.shape-picker button { padding: 10px 16px; min-height: 44px; background: transparent; border: 1px solid var(--line); font-size: 14px; }
.shape-picker button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shape-picker .shape-help { font-size: 12px; color: var(--muted); margin-top: 12px; }
.temperature-start { text-align: left; padding: 30px 24px; background: var(--utility); margin-top: 20px; }
.temperature-start>span { font-size: 13px; color: var(--accent); }
.temperature-start h3 { font-size: 23px; margin: 10px 0; }
.temperature-start p { font-size: 14px; color: var(--muted); }
.temperature-products { align-items: start; }
.temperature-footnote { margin: 18px 0; font-size: 12px; }
.buy-details { border-top: 1px solid var(--line); }
.buy-details>summary { display: flex; justify-content: space-between; padding: 16px 22px; font-size: 14px; cursor: pointer; color: var(--accent); list-style: none; }
.buy-details>summary::-webkit-details-marker { display:none; }
.buy-details>summary:before { content:'＋'; margin-right:8px; }
.buy-details[open]>summary:before { content:'−'; }
.buy-details>summary span { margin-left:auto; }
.buy-content { padding: 0 22px 20px; }
.buy-content>p { font-size: 13px; line-height: 1.8; }
.buy-content .code-band { background: var(--paper); margin: 15px 0; padding: 12px; flex-wrap: wrap; }
.buy-content .code-band img { width: 180px; height: 180px; flex-shrink:0; }
.buy-content .code-band p { flex: 1 1 100px; }
.buy-content .source-line { color: var(--muted); font-size: 11px; }
.all-groups>summary span { display: block; color: var(--muted); font: 13px/1.8 SleepType,sans-serif; margin-top: 6px; }
.group-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; text-align: left; }
.group-entry { border-top: 1px solid var(--line); padding: 24px 0; min-width: 0; }
.group-entry h3 { font-size: 23px; margin: 8px 0 12px; }
.group-entry>p { font-size: 14px; }
.group-entry .group-state { font-size: 12px; color: var(--accent); }
.group-entry .code-band { padding: 14px 0 0; background: none; flex-wrap: wrap; }
.group-entry .code-band img { width:180px; height:180px; }
.group-entry .code-band p { flex:1 1 90px; }
@media(max-width:650px) { .group-directory { grid-template-columns: 1fr; } }
@media(max-width:580px) {
 .shape-picker>div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .shape-picker button { padding:10px 6px; }
 .temperature-heading strong { font-size:28px; }
 .temperature-copy .product-brand { font-size:12px; }
 .temperature-copy h3 { font-size:19px; }
 .buy-details>summary { padding:15px 18px; }
 .buy-content { padding:0 18px 18px; }
 .temperature-start { padding:24px 18px; }
 .temperature-start h3 { font-size:21px; }
}
.browse-modes { display:grid; grid-template-columns:1fr 1fr; gap:10px; max-width:760px; margin:28px auto 0; }
.browse-modes button { min-height:52px; border:1px solid var(--line); background:transparent; font-size:17px; }
.browse-modes button[aria-pressed=true] { background:var(--ink);color:var(--paper); }
.brand-picker { max-width:760px; margin:24px auto; text-align:left; }
.brand-picker>p { font-size:14px; margin-bottom:14px; }
.brand-picker>div { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px; }
.brand-picker button { min-height:66px; padding:10px 5px; border:1px solid var(--line);background:var(--utility);font-size:15px;overflow-wrap:anywhere; }
.brand-picker button small { display:block; margin-top:3px;font-size:11px; }
.brand-picker button[aria-pressed=true] { background:var(--ink);color:var(--paper); }
.unknown-products { margin:30px 0; border-top:1px solid var(--line);text-align:left; }
.unknown-products>summary { padding:22px 0;font:500 21px/1.6 SleepType,sans-serif;cursor:pointer; }
.unknown-products>p { font-size:13px; color:var(--muted);margin-bottom:20px; }
.unrated-card .temperature-heading strong { font-size:20px; }
.more-products { display:block; margin:25px auto; padding:14px 26px;min-height:48px; background:var(--paper);border:1px solid var(--ink);font-size:15px; }
.buy-content .group-product-title { font-size:12px;margin-top:18px; }
@media(max-width:350px) { .brand-picker button {font-size:13px;} .unrated-card .temperature-heading strong {font-size:17px;} }

html {font-synthesis:none;}
b,strong {font-weight:500;}
.temperature-shortcuts button {font-weight:500;}
