/* Surfaces are shared by the three language editions. */
:root {
  --marine: #142c36;
  --deep: #0f232d;
  --stock: #f6f3eb;
  --copper: #f4a46f;
  --accent-ink: #973e22;
  --hairline: #c9cbc3;
  --flow: cubic-bezier(.2,.72,.22,1);
}
:root:has(.shore) { --ink: #192e35; --paper: var(--stock); }
.ds { --ds-ink: #192e35; --ds-lilac: #e8ebe4; --ds-paper: var(--stock); }
.deckhead { background: linear-gradient(180deg,#0c1e29b8,#0c1e2930); }
.deckhead .talk { border-color: #fff8; }
.shore .overtitle { color: #ffdec4; font-size: .8rem; letter-spacing: .105em; }
.overtitle i { background: var(--copper); height: 2px; width: 2rem; }
.shore .maincopy h1 { letter-spacing: -.072em; line-height: .92; }
.shore .maincopy em { color: #ffdfbe; }
.is-ready .sea::after {
  background: linear-gradient(90deg,#0c202cec 0%,#0d202caa 32%,#14273317 68%),linear-gradient(0deg,#0b1d28cf,transparent 28%,transparent 78%,#0b1d285c);
}
.maincopy > p { line-height: 1.52; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; }
.hero-actions .action { background: #ffc095; color: #152d36; }
.hero-actions .action:hover { background: #ffdbbb; }
.hero-services { display: inline-flex; align-items: center; min-height: 44px; color: #fffaf1; font-size: .94rem; font-weight: 600; text-decoration: underline; text-underline-offset: .36em; text-decoration-color: #ffffff8a; }
.sighttext small { display: none; }
.voyage.is-ready { min-height: 0; height: 169svh; }
.voy-controls button { min-height: 44px; }
.is-ready .harbor { --inkwater: #172d37; }
.shore .keel { border-color: #f6e5cc63; }
.ds .ev { --evInk: #172e36; --evBase: #f6f3eb; --evLine: #c7ccc5; --evHot: var(--accent-ink); padding-block: clamp(3.6rem,6.8vw,7rem); }
.ev .ev-head h2 { text-wrap: balance; }
.ev .ev-head p,.ds .ds-label { letter-spacing: .12em; }
.ev .ev-head > a { text-decoration-color: #ae826a; }
.ev .ev-entry > summary { padding-inline: .6rem; transition: background-color .2s, color .2s; }
.ev .ev-entry[open] > summary { background: #e8ebe2; box-shadow: inset 3px 0 #a55232; }
.ev .ev-panel { border-color: #d4d6cf; box-shadow: 0 15px 34px -25px #192e3566; }
.ev .ev-picture img,.exhibit img { transition: scale .65s var(--flow); }
.ds .ix-lab { --ix-night: var(--deep); background: radial-gradient(ellipse at 88% 12%,#304752,transparent 60%),var(--deep); }
.ds .ds-offer { color: var(--marine); background: #eeeae0; }
.ds .ds-price { color: #ffdcc0; background: radial-gradient(ellipse at 100% 0%,#354c51,transparent 78%),var(--marine); border-color: #b5b6ab; }
.ds .ds-price::after { opacity: .55; }
.ds .ds-dealtext { align-self: center; }
.ds .ds-company { background: #e8ece6; }
.ds-company dl { border-color: #bbc6c0; }
.ds .ds-tools { background: var(--deep); }
.ds .ds-faq { background: var(--stock); }
.ds .ds-faq summary { transition: color .18s; }
.ds .ds-faq details[open] summary { color: var(--accent-ink); }
.ds .mc { background: #e8ece6; }
.dockfoot { background: var(--deep); }
html:has(.cover) { --ink: #192e35; --plum: var(--marine); --lav: #e9ede6; --paper: var(--stock); --line: #cbd0c8; --fire: #ac4b2b; }
body:has(.cover) > header { background: var(--deep); }
.cover { background: linear-gradient(120deg,#f5f3e9,#e3e9e4); }
.cover .title h1 { line-height: 1.035; letter-spacing: -.055em; }
.cover .exhibit { clip-path: none; box-shadow: 0 16px 38px -24px #112832a0; border-radius: 2px; }
.cover .catch { color: #674329; }
.reader .toc { border-top: 2px solid #9e4d31; background: #ebece5; padding: .2rem 1rem .65rem; }
.reader .toc a { transition: background-color .18s; }
.reader .toc a:hover { background-color: #e1e6dc; }
.reader .leaf p { line-height: 1.65; }
html[lang^=zh] .title h1,html[lang^=zh] .shore .maincopy h1 { letter-spacing: -.025em; line-height: 1.12; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .ev-panel:hover .ev-picture img,.exhibit:hover img { scale: 1.035; }
  .hero-services:hover { text-decoration-color: white; }
}
@media (max-width: 640px) {
  .voyage.is-ready { height: auto; }
  .voyage.is-ready > .shore { position: relative; height: max(660px,95svh); }
  .is-ready .sea::after { background: linear-gradient(0deg,#102633 2%,#102633 31%,#102633ee 45%,#10263321 79%,#10263375); }
  .hero-actions { column-gap: 16px; }
  .maincopy .hero-services { font-size: .88rem; }
  .shore .overtitle { font-size: .75rem; }
  .is-ready .voy-controls { gap: 6px; }
  .voy-controls button { padding-inline: 5px; }
  .ds .ev-head { align-items: start; }
  .ds .ev-head h2 { font-size: clamp(2.3rem,9vw,3.5rem); }
  .ev .ev-entry > summary { grid-template-columns: 26px 1fr 18px; }
  .ds .ds-dealtext { padding-block: 1.8rem 2.3rem; }
  .cover .title h1 { line-height: 1.07; }
  .cover .exhibit { height: clamp(11rem,47vw,17rem); }
}
@media (max-width: 375px) { .hero-actions { gap: 1px 14px; } }
@media (max-height:550px),(prefers-reduced-motion: reduce) {
  .voyage.is-ready { height: auto; }
  .voyage.is-ready > .shore { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ev-panel,.ev-picture img,.exhibit img,.hero-actions a { animation: none; transition: none; }
}
