:root {
  color-scheme: light;
  --paper: #f5f4ec;
  --ink: #254b46;
  --muted: #60716b;
  --line: #d9ddd0;
  --accent: #edb647;
  --sky: #dcedea;
  --sun: #efbd5c;
  --sea: #9bcac9;
  --sea-line: #82b6b8;
  --horizon: #bdddd6;
  --island-shadow: #74b0ad;
  --foam: #d2e6dd;
  --cloud: #fffdf0;
  --bird: #69948a;
  --scene-ink: #365d57;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #9b5f24; outline-offset: 5px; }
button svg { flex: none; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 10; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.page-shell { max-width: 1440px; padding: 0 6.2%; margin: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: 20px; font-weight: 650; letter-spacing: 2px; }
.brand > svg { width: 39px; height: 39px; }
.brand-sub { display: block; font-size: 10px; font-weight: 500; letter-spacing: .6px; margin-top: 3px; color: var(--muted); }
.header-note { display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 1px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #5b8265; flex: none; }
.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 42px; padding: 61px 0 40px; min-height: 660px; }
.hero-copy { padding: 4px 0 28px; }
.arrival { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 2px; margin: 0 0 24px; }
.short-line { width: 26px; height: 1px; background: var(--ink); }
h1 { font-size: clamp(46px, 4.9vw, 69px); font-weight: 700; line-height: 1.42; letter-spacing: -3px; margin: 0; }
.slow-word { position: relative; z-index: 0; white-space: nowrap; }
.slow-word svg { position: absolute; left: -3%; bottom: -4px; width: 105%; height: 17px; fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; z-index: -1; }
.intro { font-size: 15px; line-height: 2; letter-spacing: .6px; margin: 24px 0 31px; color: var(--muted); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 31px; background: var(--ink); color: #fffbee; border: 1px solid var(--ink); border-radius: 8px; padding: 17px 24px; font-size: 15px; letter-spacing: 1px; min-height: 56px; transition: background .18s, transform .18s; }
.primary-button:hover { background: #37635a; transform: translateY(-2px); }
.primary-button:active { transform: translateY(0); }
.primary-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button-note { font-size: 11px; color: var(--muted); margin: 12px 0 0; letter-spacing: .5px; }
.tiny-note { display: flex; align-items: center; gap: 12px; margin-top: 49px; font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.tiny-note strong { font-weight: 500; color: var(--ink); }
.note-star { color: #9b743a; font-size: 24px; line-height: 1; }
.island-area { min-width: 0; }
.scene { position: relative; isolation: isolate; border-radius: 48% 48% 15px 15px / 38% 38% 15px 15px; background: var(--sky); overflow: hidden; aspect-ratio: 680 / 580; }
.landscape { display: block; width: 100%; height: auto; }
.landscape rect, .landscape path, .landscape ellipse { transition: fill .7s ease, stroke .7s ease; }
.scene-label { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 11px; letter-spacing: 1px; color: var(--scene-ink); z-index: 2; }
.scene-label .status-dot { background: var(--scene-ink); }
.moon, .stars { opacity: 0; transition: opacity .7s; }
.sun { transition: opacity .7s, transform .7s; transform-origin: 533px 123px; }
.cloud { position: absolute; z-index: 2; background: transparent; border: 0; padding: 5px; width: 23%; min-height: 44px; color: var(--scene-ink); transition: transform .2s; }
.cloud svg { display: block; width: 100%; height: auto; fill: var(--cloud); transition: fill .7s; }
.cloud-one { left: 9%; top: 21%; transform: rotate(-6deg); }
.cloud-two { right: 9%; top: 37%; width: 18%; transform: rotate(5deg); }
.cloud:hover { transform: translateY(-5px) rotate(0); }
.cloud-hint { display: inline-block; margin-top: 3px; padding: 3px 7px; border-radius: 12px; background: #fffdf0; color: #365d57; font-size: 10px; letter-spacing: 1px; }
.cloud.is-popped { animation: cloud-pop .65s ease both; pointer-events: none; }
@keyframes cloud-pop { 0% { scale: 1; } 35% { scale: 1.2; opacity: .4; } 60% { scale: .7; opacity: 0; } 100% { scale: 1; opacity: 1; } }
.scene-sign { position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); color: var(--scene-ink); font-size: 11px; letter-spacing: 2px; white-space: nowrap; }
.scene-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.weather-switch { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.weather-switch button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; border: 0; border-radius: 999px; padding: 0 13px; background: transparent; color: var(--muted); font-size: 12px; transition: background .2s, color .2s; }
.weather-switch button:hover { background: #e8eadd; }
.weather-switch button[aria-pressed="true"] { background: var(--ink); color: #fffbee; }
.weather-switch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cloud-count { color: var(--muted); font-size: 11px; white-space: nowrap; margin: 0; }
.cloud-count strong { color: var(--ink); font-size: 15px; margin: 0 3px; font-weight: 600; }
.island-message { color: var(--muted); text-align: center; margin: 15px 0 0; font-size: 11px; min-height: 18px; line-height: 1.6; letter-spacing: .5px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.site-footer > span:last-child { display: inline-flex; align-items: center; gap: 14px; }
.site-footer svg { width: 28px; height: 24px; fill: none; stroke: #789989; stroke-width: 1.5; stroke-linecap: round; }
body[data-weather="sunset"] { --sky: #f4d4be; --sun: #e99461; --sea: #bbbbb4; --sea-line: #a8a9a0; --horizon: #dfc9b3; --island-shadow: #9fa99c; --foam: #e0d9c3; --bird: #9c7361; --cloud: #fff0dc; --scene-ink: #6e4e3d; }
body[data-weather="sunset"] .sun { transform: translateY(105px); }
body[data-weather="night"] { --sky: #2b4058; --sea: #3e6577; --sea-line: #537d8b; --horizon: #4a6075; --island-shadow: #2e5364; --foam: #769496; --cloud: #91a5b5; --bird: #a6bbc5; --scene-ink: #fff1d1; }
body[data-weather="night"] .sun { opacity: 0; }
body[data-weather="night"] .moon, body[data-weather="night"] .stars { opacity: 1; }
dialog { width: min(440px, calc(100% - 40px)); padding: 0; border: 0; border-radius: 12px; background: #fffbee; color: var(--ink); box-shadow: 0 24px 90px #173e3c40; }
dialog::backdrop { background: #183f405c; backdrop-filter: blur(5px); }
.paper-card { position: relative; padding: 38px 34px 26px; }
.close-button { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: 50%; }
.close-button:hover { background: #efecda; }
.close-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.card-sun { width: 72px; height: 72px; fill: none; stroke: #a06d27; stroke-width: 1.5; stroke-linecap: round; }
.card-kicker { font-size: 12px; color: var(--muted); letter-spacing: 2px; margin: 17px 0 24px; }
.paper-card h2 { font-size: 28px; line-height: 1.65; letter-spacing: -.8px; margin: 0 0 15px; font-weight: 600; }
#card-description { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 0; min-height: 80px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed #d0d3bf; margin-top: 24px; padding-top: 14px; gap: 10px; }
#card-number { color: var(--muted); font-size: 11px; letter-spacing: 1px; }
#another-card { min-height: 44px; background: transparent; color: var(--ink); border: 0; padding: 0 6px; font-size: 13px; }
#another-card span { margin-left: 9px; }
.no-script { position: absolute; bottom: 0; background: var(--paper); padding: 8px; font-size: 12px; }
@media (min-width: 1440px) { .hero { min-height: 720px; } }
@media (max-width: 1050px) {
  .page-shell { padding: 0 5%; }
  .hero { gap: 28px; min-height: 610px; }
  h1 { font-size: 50px; }
  .weather-switch button { padding: 0 10px; }
  .cloud-count { font-size: 10px; }
}
@media (max-width: 760px) {
  .page-shell { max-width: 600px; padding: 0 24px; }
  .site-header { padding: 23px 0; }
  .brand { font-size: 18px; }
  .brand-sub { font-size: 8px; }
  .brand > svg { width: 32px; height: 32px; }
  .header-note { font-size: 10px; letter-spacing: 0; gap: 6px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 36px 0 30px; }
  .hero-copy { padding: 0; }
  .arrival { margin-bottom: 17px; font-size: 11px; }
  h1 { font-size: clamp(43px, 10vw, 58px); line-height: 1.35; letter-spacing: -2px; }
  h1 br { display: none; }
  .intro { margin: 21px 0 24px; font-size: 14px; }
  .primary-button { min-height: 52px; padding: 14px 20px; gap: 33px; font-size: 14px; }
  .tiny-note { margin-top: 24px; }
  .scene { border-radius: 46% 46% 12px 12px / 35% 35% 12px 12px; }
  .scene-tools { margin-top: 13px; }
  .weather-switch button { padding: 0 11px; }
  .site-footer { font-size: 10px; letter-spacing: .3px; padding-top: 20px; }
  .site-footer > span:last-child { gap: 6px; }
  .site-footer svg { width: 22px; }
}
@media (max-width: 380px) {
  .page-shell { padding: 0 18px; }
  .header-note { display: none; }
  h1 { font-size: 41px; }
  .weather-switch { gap: 0; padding: 3px; }
  .weather-switch button { padding: 0 8px; gap: 4px; }
  .cloud-count { font-size: 10px; }
  .scene-label { top: 19px; font-size: 10px; }
  .scene-sign { font-size: 9px; letter-spacing: 1px; }
  .paper-card { padding: 38px 25px 20px; }
  .paper-card h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
