/* Ring user manual */
.manual-page {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 28px) 0 72px;
}

.sheet {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  color: #1c1c1c;
  border-radius: 18px;
  padding: 48px 52px 56px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.pdf-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
}

.pdf-btn span {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.72;
}

.sheet a.pdf-btn { color: #fff; }

.sheet-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 10px;
}

.sheet h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.sheet h1 span {
  display: block;
  margin-top: 6px;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #374151;
}

.sheet-lead {
  margin: 16px 0 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

.sheet-lead.en {
  margin-top: 0;
  color: #4b5563;
  font-size: 14px;
}

.sheet img {
  max-width: 100%;
  height: auto;
}

.hero-art {
  display: block;
  width: 300px;
  margin: 4px auto 0;
}

.block { margin-top: 36px; }

.block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  border-bottom: 1.5px solid #111;
  display: inline-block;
  padding-bottom: 2px;
  margin-bottom: 14px;
}

.block h2 span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  letter-spacing: 0.02em;
}

.zh { color: #1f2937; font-size: 16px; line-height: 1.75; margin-bottom: 4px; }
.en { color: #6b7280; font-size: 14px; line-height: 1.65; margin-bottom: 12px; }

.parts {
  display: grid;
  grid-template-columns: 1fr 200px 1fr;
  gap: 12px 18px;
  align-items: center;
  margin-top: 8px;
}

.parts img { width: 200px; height: auto; }

.callout {
  font-size: 15px;
  line-height: 1.35;
  color: #111;
  padding: 10px 0;
  border-bottom: 1px solid #d1d5db;
}

.callout + .callout { margin-top: 28px; }

.callout b { display: block; font-weight: 650; }
.callout span { color: #6b7280; font-weight: 500; font-size: 13px; }

.calls-left .callout { text-align: right; }
.calls-right .callout { text-align: left; }

.figure-frame {
  display: block;
  width: min(520px, 100%);
  margin: 8px auto 4px;
}

.charge-art { width: min(460px, 100%); }
.wear-art { width: min(640px, 100%); }

.pair {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 8px;
  align-items: center;
  margin: 16px 0 8px;
}

.pair-arrow {
  text-align: center;
  color: #e11d74;
  font-size: 42px;
  line-height: 1;
}

.phone {
  border: 2px solid #e879b6;
  border-radius: 16px;
  padding: 16px 16px 14px;
  background: #fff;
  min-height: 250px;
}

.phone h3 {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 4px;
  color: #111;
}

.phone .sub {
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 12px;
}

.phone-btn {
  display: inline-block;
  margin-left: auto;
  background: #4f46e5;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  float: right;
}

.phone-btn span { display: block; font-size: 10px; opacity: 0.85; }

.phone-list {
  clear: both;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #eee;
}

.phone-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f1f1f1;
  font-size: 13px;
  color: #374151;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #818cf8;
  flex: none;
}

.found {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eee;
}

.found img { width: 42px; height: auto; }

.found b { display: block; font-size: 14px; }
.found span { color: #6b7280; font-size: 12px; }

.connect-btn {
  margin-left: auto;
  background: #4f46e5;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  text-align: center;
}

.connect-btn span { display: block; font-size: 10px; opacity: 0.85; }

.warn {
  margin-top: 10px;
  color: #9a3412;
  font-size: 12.5px;
  line-height: 1.5;
}

.lights {
  display: block;
  width: min(680px, 100%);
  height: auto;
  margin: 8px auto 0;
}

.light-caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
  margin-top: 4px;
}

.light-caps b { display: block; font-size: 14px; color: #111; font-weight: 650; }
.light-caps span { display: block; font-size: 12px; color: #6b7280; }

.swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 4px;
  vertical-align: 1px;
}
.swatch.red { background: #ef4444; }
.swatch.off { background: #fff; border: 1px solid #9ca3af; }
.swatch.green { background: #22c55e; }

.wear-row {
  display: grid;
  grid-template-columns: 1.1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.wear-row img.hand { width: 100%; height: auto; }
.wear-ring { position: relative; }
.wear-ring img { width: 100%; height: auto; }

.bubble {
  position: absolute;
  left: 18%;
  top: 28%;
  width: 70%;
  background: #f97316;
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -8px;
  border-width: 8px 8px 0 0;
  border-style: solid;
  border-color: #f97316 transparent transparent transparent;
}

.bubble span { display: block; font-size: 11px; opacity: 0.95; }

.point {
  color: #f97316;
  font-size: 28px;
  line-height: 1;
}

.note {
  margin-top: 18px;
  color: #ea580c;
  font-size: 14px;
  line-height: 1.7;
}

.note .en { color: #c2410c; }

.sheet a { color: #4f46e5; }

.sheet-foot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 13px;
}

@media (max-width: 800px) {
  .sheet { padding: 28px 18px 36px; }
  .sheet-head { flex-direction: column; }
  .parts, .pair, .wear-row, .light-caps { grid-template-columns: 1fr; }
  .parts img, .hero-art { width: min(220px, 70%); }
  .pair-arrow, .point { transform: rotate(90deg); }
  .calls-left .callout, .calls-right .callout { text-align: left; }
  .phone { min-height: 0; }
}

html.for-print body { background: #fff !important; }
html.for-print .ambient,
html.for-print .header,
html.for-print .footer,
html.for-print .pdf-btn { display: none !important; }
html.for-print .manual-page { padding: 0; }
html.for-print .sheet {
  max-width: 800px;
  box-shadow: none;
  border-radius: 0;
}

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff !important; }
  .ambient, .header, .footer, .pdf-btn { display: none !important; }
  .manual-page { padding: 0; }
  .container { width: auto; }
  .sheet {
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .block, .phone, .figure-frame, .hero-art, .lights, .parts { break-inside: avoid; }
}
