/* Seahome Hotel — brand navy + beach sand + sunny orange; the sea gets deeper as you scroll. */
:root {
  --navy: #104c93;       /* brand primary (old site) */
  --navy-2: #0b3466;
  --deep: #082a52;
  --abyss: #061c38;
  --sky: #e6f0fa;
  --sand: #f5efe3;       /* beach sand (old site texture) */
  --sand-2: #ebe2d0;
  --white: #fffdf9;
  --sun: #ffb000;        /* brand orange (old site) */
  --sun-2: #e89a00;
  --lagoon: #127f8a;
  --lagoon-lt: #7fd6dc;
  --line: #06c755;       /* LINE brand green, LINE buttons only */
  --ink: #15304d;
  --mist: #52667c;
  --foam: #e8f1f8;
  --foam-2: #a9c0d6;
  --rule: rgba(21, 48, 77, .14);
  --rule-d: rgba(232, 241, 248, .18);
  --display: "LXGW WenKai TC", "Kaiti TC", "DFKai-SB", serif;
  --body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --gap: clamp(56px, 8vw, 104px);
  --r: 10px;
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V88C82 97 66 82 48 88S16 99 0 90Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--abyss); }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.85; color: var(--ink); background: var(--sand); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .55em; line-height: 1.35; font-weight: 700; }
h1, h2 { font-family: var(--display); letter-spacing: .03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); color: var(--navy); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-size: .98rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { min-height: 40px; padding: 0 1.05em; font-size: .9rem; }
.btn.full { width: 100%; }
.btn-sun { background: var(--sun); color: var(--abyss); }
.btn-sun:hover { background: var(--sun-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-line { background: var(--line); color: #fff; }
.btn-line:hover { background: #05b04b; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--navy); color: #fff; box-shadow: 0 2px 0 rgba(6,28,56,.25); }
.is-home .hdr { position: fixed; inset: 0 0 auto; background: transparent; box-shadow: none; transition: background-color .3s, box-shadow .3s; }
.is-home .hdr.solid { background: var(--navy); box-shadow: 0 2px 0 rgba(6,28,56,.25); }
.hdr-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font-family: var(--display); font-size: 1.45rem; letter-spacing: .12em; }
.brand-txt small { font-size: .72rem; letter-spacing: .06em; opacity: .8; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: .88rem; white-space: nowrap; transition: background-color .2s; }
.nav-ic { width: 26px; height: 26px; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.14); box-shadow: inset 0 -3px 0 var(--sun); }
.hdr-line { min-height: 40px; padding: 0 1em; font-size: .9rem; }
.nav-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: inherit; cursor: pointer; padding: 10px; }
.nav-btn .ic { width: 26px; height: 26px; }

/* ---------- page banner (inner pages) ---------- */
.pb { position: relative; min-height: 300px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--deep); }
.pb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,28,56,.82), rgba(6,28,56,.25) 70%); }
.pb-in { position: relative; padding: 48px 0 64px; }
.pb h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: .15em; color: #fff; }
.pb-lead { margin: 0; font-size: 1.1rem; opacity: .92; }
.wave { display: block; width: 100%; height: 44px; position: absolute; left: 0; bottom: -1px; fill: var(--sand); }
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 10px; padding: 0; font-size: .85rem; }
.crumb li + li::before { content: "/"; margin-right: 4px; opacity: .55; }
.crumb a { text-decoration: none; opacity: .85; }
.crumb a:hover { text-decoration: underline; opacity: 1; }
.crumb-bar { padding: 18px 0 0; color: var(--mist); }
.crumb-bar + .sec { padding-top: 24px; }
.pb + .sec { padding-top: clamp(36px, 5vw, 56px); }
.split:has(.gal) { align-items: start; }

/* ---------- sections ---------- */
.sec { padding: var(--gap) 0; position: relative; }
.sec-sand { background: var(--sand); }
.sec-white { background: var(--white); }
.sec-deep { background: var(--deep); color: var(--foam); }
.sec-abyss { background: var(--abyss); color: var(--foam); }
.sec-deep h2, .sec-abyss h2 { color: #fff; }
.sec-deep p, .sec-abyss p { color: var(--foam-2); }
.sec-h { max-width: 640px; margin-bottom: 40px; }
.sec-h p { color: var(--mist); margin: 0; }
.sec-deep .sec-h p, .sec-abyss .sec-h p { color: var(--foam-2); }
.sec-title { font-size: 1.6rem; margin-bottom: 28px; }
.h-ic { display: flex; align-items: center; gap: 12px; }
.h-icon { width: 1.15em; height: 1.15em; color: var(--lagoon); }
.sec-deep .h-icon, .sec-abyss .h-icon { color: var(--sun); }
.note { color: var(--mist); font-size: .92rem; margin-top: 28px; }
.small-list { padding-left: 1.2em; margin: 0 0 1em; }
.small-list li { margin-bottom: .4em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--lagoon); margin-top: .3em; }
.more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--navy); text-underline-offset: 4px; }

/* wave-bottom photo (brand motif) */
.wimg { display: block; overflow: hidden; -webkit-mask: var(--wave-mask) 0 0 / 100% 100% no-repeat; mask: var(--wave-mask) 0 0 / 100% 100% no-repeat; background: var(--sand-2); }
.wimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover > .wimg img, a.wimg:hover img { transform: scale(1.04); }

/* split layouts */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.rev .split-t { order: 2; }
.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.split-t p { max-width: 36em; }
.split-m { position: relative; margin: 0 0 44px; }
.split-m > img:first-child { border-radius: var(--r); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.split-inset { position: absolute; left: -28px; bottom: -44px; width: 42%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 6px solid var(--sand); }
.quote { font-family: var(--display); font-size: 1.4rem; line-height: 1.6; color: var(--lagoon); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; color: #fff; overflow: hidden; background: var(--deep); }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides img.on { opacity: 1; }
.rays { position: absolute; inset: -20% -10% 0; background: repeating-linear-gradient(105deg, rgba(255,255,255,0) 0 60px, rgba(255,255,255,.07) 80px, rgba(255,255,255,0) 120px); mix-blend-mode: screen; animation: sway 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes sway { from { transform: translateX(-3%) skewX(-2deg); } to { transform: translateX(3%) skewX(2deg); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,28,56,.9) 0%, rgba(6,28,56,.2) 50%, rgba(6,28,56,.45) 100%); }
.hero-g { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding: 130px 0 100px; }
.hero-t { grid-column: 2; grid-row: 1; align-self: start; writing-mode: vertical-rl; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.3; letter-spacing: .12em; margin: 0; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-t span { display: block; white-space: nowrap; animation: ink 1.3s cubic-bezier(.2,.7,.2,1) both; }
.hero-t span + span { padding-block-start: 1.4em; margin-inline-start: .15em; animation-delay: .45s; }
@keyframes ink { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.hero-f { grid-column: 1; grid-row: 1; max-width: 32em; }
.hero-s { font-size: 1.15rem; }
.hero-a { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-dots { position: absolute; right: 20px; bottom: 22px; display: flex; }
.hero-dots button { width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.45); }
.hero-dots button[aria-selected="true"]::before { background: var(--sun); }

.facts { background: var(--navy); color: #fff; }
.facts-in { list-style: none; margin: 0 auto; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; font-size: .95rem; }
.facts-in li { display: flex; align-items: center; gap: 10px; }
.facts-in .ic { color: var(--sun); width: 1.4em; height: 1.4em; }

/* building cards (home) */
.bcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bcard { background: var(--sand); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.bcard .wimg { aspect-ratio: 3/2; }
.bcard-b { padding: 8px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bcard h3 { font-family: var(--display); font-size: 1.5rem; color: var(--navy); margin-bottom: .3em; }
.bcard-b > p { color: var(--mist); font-size: .95rem; }
.bcard-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.bcard-list a { display: inline-block; padding: 2px 10px; border: 1px solid var(--rule); border-radius: 999px; font-size: .85rem; text-decoration: none; background: var(--white); }
.bcard-list a:hover { border-color: var(--navy); color: var(--navy); }
.bcard-p { margin: auto 0 0; color: var(--mist); font-size: .95rem; }
.bcard-p strong { font-size: 1.5rem; color: var(--navy); font-variant-numeric: tabular-nums; }

/* experience (home) */
.exp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.exp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.exp-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-d); }
.exp-list .ic { width: 34px; height: 34px; color: var(--sun); }
.exp-list h3 { color: #fff; margin-bottom: .15em; }
.exp-list p { margin: 0; font-size: .95rem; }

.video { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--abyss); color: #fff; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .3s; }
.video:hover img { opacity: .9; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--sun); color: var(--abyss); display: grid; place-items: center; }
.video-play .ic { width: 32px; height: 32px; margin-left: 4px; }
.video-cap { position: absolute; left: 16px; bottom: 14px; font-size: .9rem; background: rgba(6,28,56,.7); padding: 2px 10px; border-radius: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* news list (home) */
.nlist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.nlist a { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.nlist a:hover .nt { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.nlist time, .ncard-m time { font-variant-numeric: tabular-nums; color: var(--mist); font-size: .9rem; }
.tag { display: inline-block; font-size: .78rem; padding: 1px 10px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 500; white-space: nowrap; }
.promo { display: flex; flex-direction: column; gap: 6px; padding: 36px; border-radius: var(--r); text-decoration: none; color: #fff; background: radial-gradient(120% 140% at 100% 0%, var(--lagoon) 0%, var(--navy) 55%, var(--deep) 100%); position: relative; overflow: hidden; }
.promo-k { color: var(--sun); font-weight: 700; }
.promo strong { font-family: var(--display); font-size: 2rem; line-height: 1.35; }
.promo-p { margin-top: 12px; font-size: 1.05rem; }
.promo-p b { font-size: 2.2rem; color: var(--sun); font-variant-numeric: tabular-nums; }
.promo:hover { box-shadow: 0 12px 28px rgba(6,28,56,.25); }

/* spots (home) */
.sp3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp3 a { display: flex; flex-direction: column; text-decoration: none; }
.sp3 img { aspect-ratio: 3/2; object-fit: cover; width: 100%; border-radius: var(--r); margin-bottom: 14px; }
.sp-n { font-family: var(--display); font-size: 1.4rem; color: #fff; }
.sp-d { color: var(--foam-2); font-size: .95rem; }
.sp3 a:hover .sp-n { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- galleries ---------- */
.gal { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gal-3 { grid-template-columns: repeat(3, 1fr); }
.gal-2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 28px; }
.gal-mosaic { grid-template-columns: repeat(3, 1fr); }
.gal-mosaic li:first-child { grid-column: span 3; }
.gal li { display: flex; flex-direction: column; gap: 6px; }
.gal li > span { font-size: .92rem; color: var(--mist); }
.zoom { border: 0; padding: 0; background: var(--sand-2); border-radius: 8px; overflow: hidden; cursor: zoom-in; display: block; width: 100%; }
.zoom img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.zoom:hover img { transform: scale(1.04); }

/* ---------- rooms ---------- */
.rtools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.rtools .tabs { margin-bottom: 0; }
.tab { min-height: 44px; padding: 0 1.2em; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--white); color: var(--ink); font: inherit; font-size: .95rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tab:hover { border-color: var(--navy); }
.tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.rgroup { padding-top: 44px; }
.rgroup[hidden] { display: none; }
.rgroup-h { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 24px; }
.rgroup-h h2 { margin: 0; font-size: 1.8rem; }
.rgroup-h p { margin: 0; color: var(--mist); font-size: .95rem; }
.rooms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "img img" "b b" "n p" "m p"; column-gap: 12px; text-decoration: none; background: var(--white); border-radius: var(--r); overflow: hidden; padding-bottom: 18px; height: 100%; transition: box-shadow .25s; }
.sec-white .room a { background: var(--sand); }
.room a:hover { box-shadow: 0 10px 24px rgba(6,28,56,.12); }
.room .wimg { grid-area: img; aspect-ratio: 3/2; margin-bottom: 6px; }
.room-b { grid-area: b; padding: 0 18px; font-size: .8rem; color: var(--lagoon); font-weight: 700; }
.room-n { grid-area: n; padding-left: 18px; margin: 0; font-size: 1.15rem; color: var(--ink); }
.room-m { grid-area: m; padding-left: 18px; color: var(--mist); font-size: .9rem; }
.room-p { grid-area: p; padding-right: 18px; text-align: right; align-self: end; font-size: .82rem; color: var(--mist); line-height: 1.3; }
.room-p strong { display: block; font-size: 1.35rem; color: var(--navy); font-variant-numeric: tabular-nums; }

.tscroll { overflow-x: auto; background: var(--white); border-radius: var(--r); margin-bottom: 20px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ptable th, .ptable td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule); }
.ptable thead th { background: var(--navy); color: #fff; font-weight: 500; font-size: .9rem; }
.ptable tbody th { vertical-align: top; color: var(--navy); background: var(--sky); width: 32%; }
.ptable .num { text-align: right; font-variant-numeric: tabular-nums; }
.ptable tr.hl td { background: #fff3d6; font-weight: 700; }

/* room detail */
.rd-g { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.rd-main .room-b { padding: 0; margin: 0; }
.rd-h { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); }
.rd-gal { display: grid; gap: 10px; margin-bottom: 32px; }
.rd-big { border-radius: var(--r); }
.rd-big img { aspect-ratio: 3/2; }
.rd-thumbs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.thumb { border: 2px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; display: block; width: 100%; }
.thumb img { aspect-ratio: 1; object-fit: cover; width: 100%; opacity: .7; transition: opacity .2s; }
.thumb:hover img, .thumb.on img { opacity: 1; }
.thumb.on { border-color: var(--sun); }
.rd-facts { margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r); }
.rd-facts div { padding: 16px 18px; border-right: 1px solid var(--rule); }
.rd-facts div:last-child { border-right: 0; }
.rd-facts dt { font-size: .82rem; color: var(--mist); }
.rd-facts dd { margin: 0; font-weight: 700; }
.rd-facts strong { font-size: 1.3rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.rd-sub { font-size: 1.4rem; margin-top: 1.6em; }
.amen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.amen li { display: flex; gap: 8px; align-items: center; }
.amen .ic { color: var(--lagoon); }
.rd-side { position: sticky; top: 100px; }

.card-contact { background: var(--navy); color: #fff; border-radius: var(--r); padding: 0 24px 24px; overflow: hidden; }
.cc-top { position: relative; height: 40px; margin: 0 -24px 8px; background: var(--deep); }
.cc-top .wave { fill: var(--navy); height: 40px; }
.card-contact h2 { color: #fff; font-size: 1.4rem; }
.card-contact p { color: var(--foam-2); font-size: .95rem; }
.card-contact .btn { margin-bottom: 10px; }
.cc-list { list-style: none; padding: 12px 0 0; margin: 8px 0 0; border-top: 1px solid var(--rule-d); font-size: .9rem; display: grid; gap: 8px; }
.cc-list li { display: flex; gap: 8px; align-items: flex-start; word-break: break-word; }
.cc-list .ic { color: var(--sun); margin-top: .25em; }

/* notice */
.notice { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.times { margin: 0; display: grid; gap: 12px; position: sticky; top: 100px; }
.times div { background: var(--navy); color: #fff; border-radius: var(--r); padding: 18px 22px; }
.times dt { font-size: .88rem; color: var(--foam-2); }
.times dd { margin: 0; font-family: var(--display); font-size: 2.1rem; font-variant-numeric: tabular-nums; line-height: 1.3; }
.times small { font-family: var(--body); font-size: .9rem; margin-left: 6px; color: var(--foam-2); }
.notice-b section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.notice-b h2 { font-size: 1.6rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 50px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; line-height: 1; }
.warn { display: flex; gap: 10px; background: #fff3d6; border-radius: var(--r); padding: 16px 18px; font-size: .95rem; }
.warn .ic { color: var(--sun-2); margin-top: .3em; }

/* dining */
.kv { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kv div { background: var(--white); border-radius: 8px; padding: 12px 16px; }
.kv dt { font-size: .82rem; color: var(--mist); }
.kv dd { margin: 0; font-weight: 700; }
.sec-white .kv div { background: var(--sand); }

/* activities */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.act .wimg { aspect-ratio: 3/2; margin-bottom: 14px; }
.act h3 { font-family: var(--display); font-size: 1.5rem; color: var(--navy); }
.act p { color: var(--mist); }
.svc { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--rule-d); border-radius: 8px; padding: 12px 14px; }
.svc .ic { width: 28px; height: 28px; color: var(--sun); }

/* news */
.ncards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ncard a { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--r); overflow: hidden; height: 100%; padding-bottom: 22px; }
.ncard[hidden], .spot[hidden] { display: none; }
.ncard .wimg { aspect-ratio: 3/2; margin-bottom: 8px; }
.ncard-m { display: flex; gap: 10px; align-items: center; padding: 0 20px; margin: 0 0 6px; }
.ncard-t { font-family: var(--body); font-size: 1.15rem; color: var(--ink); padding: 0 20px; margin-bottom: .3em; }
.ncard-x { padding: 0 20px; color: var(--mist); font-size: .95rem; }
.ncard a:hover .ncard-t { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.art { background: var(--white); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); min-width: 0; }
.art .ncard-m { padding: 0; }
.art h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--navy); }
.art h2 { font-size: 1.5rem; margin-top: 1.4em; }
.art-img { border-radius: var(--r); margin-bottom: 28px; width: 100%; max-width: 560px; aspect-ratio: 3/2; object-fit: cover; }
.art p { max-width: 40em; }
.pkg { border: 1.5px solid var(--rule); border-radius: var(--r); padding: 24px 26px 8px; margin-top: 24px; }
.pkg h2 { margin-top: 0; }
.pkg-r { color: var(--mist); }
.pkg-p { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.pkg-p div { background: var(--sky); border-radius: 8px; padding: 12px 16px; }
.pkg-p dt { font-size: .88rem; color: var(--mist); }
.pkg-p dd { margin: 0; }
.pkg-p strong { font-family: var(--display); font-size: 2rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.share > span { color: var(--mist); font-size: .9rem; }
.olist { list-style: none; padding: 0; margin: 0; }
.olist a { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.olist a:hover { color: var(--navy); }
.olist time { color: var(--mist); font-variant-numeric: tabular-nums; }

/* spots */
.spots { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.spot { display: grid; grid-template-columns: 380px 1fr; gap: 32px; background: var(--white); border-radius: var(--r); overflow: hidden; }
.spot-img { min-height: 100%; }
.spot-b { padding: 26px 28px 28px 0; }
.spot-b h2 { margin: 8px 0 .3em; font-size: 1.8rem; }
.spot-b h2 a { text-decoration: none; }
.spot-b h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.spot-b > p { color: var(--mist); }
.spot-d { color: var(--ink) !important; }
.spot-d strong { font-family: var(--display); font-size: 1.8rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.spot-d.big strong { font-size: 2.2rem; }
.spot-a { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.src { font-size: .85rem; color: var(--mist); }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/9; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* contact */
.contact-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.line-card { background: var(--white); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); border-top: 6px solid var(--line); }
.line-card h2 { display: flex; align-items: center; gap: 10px; }
.line-card h2 .ic { color: var(--line); width: 1.2em; height: 1.2em; }
.qr-todo { display: grid; place-items: center; text-align: center; width: 200px; aspect-ratio: 1; border: 2px dashed var(--rule); border-radius: var(--r); color: var(--mist); font-size: .92rem; }
.clist { margin: 0 0 24px; }
.clist div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.clist dt { display: flex; gap: 8px; align-items: center; color: var(--mist); font-size: .95rem; }
.clist dt .ic { color: var(--lagoon); }
.clist dd { margin: 0; word-break: break-word; }
.clist small { display: block; color: var(--mist); }

/* ---------- footer ---------- */
.ftr { position: relative; background: var(--abyss); color: var(--foam-2); padding: 40px 0 24px; font-size: .92rem; }
.ftr > .wave { top: -43px; bottom: auto; fill: var(--abyss); }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr 1fr; gap: 32px; }
.ftr .brand { color: #fff; margin-bottom: 12px; }
.ftr-h { font-family: var(--body); font-size: .95rem; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr-contact li { display: flex; gap: 8px; align-items: flex-start; }
.ftr-contact .ic { color: var(--sun); margin-top: .3em; }
.ftr-links { grid-template-columns: 1fr 1fr; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copy { margin: 32px auto 0; padding-top: 18px; border-top: 1px solid var(--rule-d); font-size: .82rem; }
.dock { display: none; }

/* ---------- depth gauge (home) ---------- */
.gauge { position: fixed; left: 20px; top: 50%; transform: translateY(-50%); height: 52vh; width: 64px; z-index: 50; color: var(--ink); transition: color .4s; display: none; }
.gauge.dark { color: var(--foam); }
.gauge::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: currentColor; opacity: .35; }
.gauge ol { list-style: none; margin: 0; padding: 0; }
.gauge li { position: absolute; left: 0; transform: translateY(-50%); }
.gauge li a { display: flex; align-items: center; gap: 8px; padding: 6px 0; text-decoration: none; font-size: .78rem; white-space: nowrap; opacity: .55; }
.gauge li a::before { content: ""; width: 13px; height: 1px; background: currentColor; }
.gauge li a span { opacity: 0; background: var(--white); color: var(--ink); padding: 2px 8px; border-radius: 4px; transition: opacity .2s; }
.gauge li a:hover, .gauge li a:focus-visible { opacity: 1; }
.gauge li a:hover span, .gauge li a:focus-visible span { opacity: 1; }
.gauge-m { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255,176,0,.3); transform: translateY(-50%); }
.gauge-m b { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-size: .8rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 1340px) { .is-home .gauge { display: block; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(6,28,56,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px 8px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; text-align: center; color: var(--foam); }
.lb img { max-height: 82vh; margin: 0 auto 10px; border-radius: 6px; }
.lb-x { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; padding: 10px; }
.lb-x .ic { width: 28px; height: 28px; }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; justify-self: center; }
.lb-nav:hover { background: rgba(255,255,255,.25); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rays, .hero-t span { animation: none; }
  .hero-slides img, .wimg img, .zoom img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 8px 6px; font-size: .82rem; }
  .nav-ic { width: 22px; height: 22px; }
  .hdr-line span { display: none; }
}
@media (max-width: 980px) {
  .nav-btn { display: block; }
  .hdr-line { display: none; }
  .nav { position: fixed; inset: 76px 0 auto; background: var(--navy); padding: 8px 20px 20px; transform: translateY(calc(-100% - 90px)); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; box-shadow: 0 12px 24px rgba(6,28,56,.3); z-index: -1; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .nav a { padding: 12px 4px; font-size: .9rem; }
  .nav-ic { width: 28px; height: 28px; }
  .hdr.open .nav { transform: none; visibility: visible; transition: transform .3s ease; }
  .is-home .hdr.open { background: var(--navy); }
  .split, .split-even, .exp, .contact-g, .notice, .rd-g { grid-template-columns: 1fr; }
  .split.rev .split-t { order: 0; }
  .split-inset { left: auto; right: 12px; }
  .bcards, .rooms, .ncards, .acts, .sp3 { grid-template-columns: repeat(2, 1fr); }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .spot { grid-template-columns: 260px 1fr; }
  .times { position: static; grid-template-columns: repeat(3, 1fr); }
  .rd-side { position: static; }
  .gal-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .wrap { width: calc(100% - 32px); }
  .brand-txt strong { font-size: 1.25rem; }
  .logo-mark { width: 40px; height: 40px; }
  .nav ul { grid-template-columns: repeat(2, 1fr); }
  .nav a { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 12px 10px; }
  .hero-g { grid-template-columns: 1fr; padding: 112px 0 90px; }
  .hero-t { grid-column: 1; justify-self: end; font-size: clamp(2rem, 9vw, 2.6rem); letter-spacing: .06em; }
  .hero-f { grid-row: 2; }
  .hero-a .btn { flex: 1 1 100%; }
  .bcards, .rooms, .ncards, .acts, .sp3, .gal-3, .gal-2 { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr; gap: 8px; }
  .rd-facts { grid-template-columns: 1fr 1fr; }
  .rd-facts div:nth-child(2) { border-right: 0; }
  .rd-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .rd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .amen, .svc, .kv, .pkg-p { grid-template-columns: 1fr 1fr; }
  .times { grid-template-columns: 1fr; }
  .spot { grid-template-columns: 1fr; gap: 0; }
  .spot-img { aspect-ratio: 3/2; }
  .spot-b { padding: 16px 20px 22px; }
  .clist div { grid-template-columns: 1fr; gap: 2px; }
  .nlist a { grid-template-columns: auto 1fr; }
  .nlist .nt { grid-column: 1 / -1; }
  .ftr-grid { grid-template-columns: 1fr; }
  .pb { min-height: 220px; }
  .dock { display: grid; grid-template-columns: 1fr 1.2fr 1fr; position: fixed; inset: auto 0 0; z-index: 150; background: var(--white); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--navy); }
  .dock .dock-line { background: var(--line); color: #fff; }
  .lb { grid-template-columns: 44px 1fr 44px; padding: 16px 0; }
  .lb-nav { width: 40px; height: 40px; }
}

/* ===== theme: night ===== */
/* v4 Night Ocean — the deep sea at night, lit only by bioluminescence. Layered on top of the classic base. */
:root {
  --navy: #0c2348;
  --navy-2: #081a38;
  --deep: #040b1a;
  --abyss: #02060f;
  --sky: rgba(125, 249, 255, .1);
  --sand: #050d1f;
  --sand-2: #0b1832;
  --white: #0a1630;
  --sun: #7df9ff;
  --sun-2: #4fe6f2;
  --lagoon: #7df9ff;
  --violet: #b69cff;
  --bio: #8dffc4;
  --ink: #e4f1ff;
  --mist: #9fb5d3;
  --foam: #e4f1ff;
  --foam-2: #9fb5d3;
  --rule: rgba(160, 200, 255, .14);
  --rule-d: rgba(160, 200, 255, .14);
  --display: "Noto Serif TC", serif;
  --glow: 0 0 18px rgba(125, 249, 255, .45);
}
html { background: var(--abyss); }
body { background: var(--sand); color: var(--ink); }
h1, h2 { font-weight: 900; }
h2, .rd-h, .art h1, .bcard h3, .act h3, .rgroup-h h2, .sec-title, .notice-b h2 { color: var(--ink); text-shadow: 0 0 22px rgba(125,249,255,.25); }
.h-icon, .ticks .ic, .amen .ic, .clist dt .ic, .cc-list .ic, .ftr-contact .ic, .facts-in .ic { color: var(--sun); filter: drop-shadow(0 0 6px rgba(125,249,255,.6)); }
a { color: inherit; }
.more, .link { color: var(--sun); }

/* header: deep glass */
.hdr, .is-home .hdr.solid { background: rgba(4, 11, 26, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(125,249,255,.15); }
.nav a[aria-current="page"] { background: rgba(125,249,255,.1); box-shadow: inset 0 -2px 0 var(--sun); }
.logo-mark { color: var(--sun); filter: drop-shadow(0 0 6px rgba(125,249,255,.7)); }

/* glowing buttons */
.btn-sun { background: var(--sun); color: #021022; box-shadow: 0 0 22px rgba(125,249,255,.45); }
.btn-sun:hover { background: #b3fcff; box-shadow: 0 0 32px rgba(125,249,255,.7); }
.btn-navy { background: transparent; border-color: var(--sun); color: var(--sun); box-shadow: inset 0 0 12px rgba(125,249,255,.2); }
.btn-navy:hover { background: rgba(125,249,255,.12); }
.btn-outline { border-color: rgba(228,241,255,.5); color: var(--ink); }
.btn-outline:hover { background: rgba(228,241,255,.1); color: var(--ink); }

/* surfaces */
.sec-sand { background: var(--sand); }
.sec-white { background: #071228; }
.sec-deep { background: var(--deep); }
.sec-abyss { background: var(--abyss); }
.facts { background: #071228; border-block: 1px solid rgba(125,249,255,.12); }
.room a, .ncard a, .bcard, .spot, .art, .tscroll, .line-card, .kv div, .rd-facts, .pkg, .act { background: var(--white); border: 1px solid rgba(125,249,255,.12); }
.sec-white .room a, .sec-white .bcard, .sec-white .kv div { background: #0b1a38; }
.room a:hover, .ncard a:hover, .spot:hover { box-shadow: 0 0 0 1px rgba(125,249,255,.35), 0 0 30px rgba(125,249,255,.15); }
.bcard-list a { background: transparent; border-color: rgba(125,249,255,.25); }
.wimg { background: var(--sand-2); }
.tag { background: rgba(182,156,255,.16); color: #d9ccff; }
.tab { background: transparent; color: var(--mist); border-color: rgba(160,200,255,.25); }
.tab.on { background: var(--sun); border-color: var(--sun); color: #021022; box-shadow: 0 0 18px rgba(125,249,255,.45); }
.room-b { color: var(--bio); }
.room-p strong, .bcard-p strong, .rd-facts strong, .pkg-p strong, .spot-d strong, .times dd { color: var(--sun); text-shadow: var(--glow); }
.quote { color: var(--bio); text-shadow: 0 0 14px rgba(141,255,196,.35); }
.ptable thead th { background: #0c2348; }
.ptable tbody th { background: rgba(125,249,255,.06); color: var(--sun); }
.ptable tr.hl td { background: rgba(125,249,255,.14); color: #fff; }
.times div { background: #0a1630; border: 1px solid rgba(125,249,255,.15); }
.steps li::before { background: transparent; border: 1.5px solid var(--sun); color: var(--sun); box-shadow: var(--glow); }
.warn { background: rgba(182,156,255,.1); color: #e2d8ff; }
.promo { background: radial-gradient(120% 140% at 100% 0%, rgba(182,156,255,.35) 0%, #0c2348 55%, #040b1a 100%); border: 1px solid rgba(182,156,255,.25); }
.promo-k { color: var(--violet); }
.promo-p b { color: var(--sun); text-shadow: var(--glow); }
.card-contact { background: #0a1630; border: 1px solid rgba(125,249,255,.18); }
.cc-top { background: #040b1a; }
.cc-top .wave { fill: #0a1630; }
.pb-shade { background: linear-gradient(to top, rgba(2,6,15,.95), rgba(2,6,15,.55) 70%); }
.pb-img { filter: brightness(.55) saturate(.8) hue-rotate(10deg); }
.wave { fill: var(--sand); }
.ftr { background: var(--abyss); }
.ftr > .wave { fill: var(--abyss); }
.split-inset { border-color: var(--sand); }
.qr-todo { border-color: rgba(160,200,255,.3); }
.map iframe { filter: invert(.9) hue-rotate(180deg) brightness(.9); }
.dock { background: #071228; border-top-color: rgba(125,249,255,.15); }
.dock a { color: var(--ink); }
.lb { background: rgba(2,6,15,.96); }
.gauge, .gauge.dark { color: var(--sun); }
.gauge-m { background: var(--sun); box-shadow: 0 0 14px var(--sun); }

/* hero: dark water you light up with a dive torch */
.hero-slides img { filter: saturate(.9); }
.hero-shade { background: linear-gradient(to top, rgba(2,6,15,.9), rgba(2,6,15,.2) 60%); }
.rays { display: none; }
.torch { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 230px at var(--tx, 60%) var(--ty, 45%), rgba(2,6,15,0) 0%, rgba(2,6,15,.55) 45%, rgba(2,6,15,.95) 75%); transition: background .05s; }
.hero-g, .hero-dots { z-index: 3; }
.hero-t { color: #f2fbff; text-shadow: none; filter: drop-shadow(0 0 14px rgba(125,249,255,.45)); font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
.hero-t span + span { color: var(--sun); }
.torch-hint { position: absolute; left: 50%; top: 96px; transform: translateX(-50%); z-index: 3; font-size: .85rem; color: var(--mist); letter-spacing: .05em; }

/* ---------- plankton + creatures (created by fx.js) ---------- */
#plankton { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; mix-blend-mode: screen; }
.creatures { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.critter { position: absolute; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.critter svg { display: block; width: 100%; height: auto; overflow: visible; }
.eye-g { transform-box: fill-box; transform-origin: center; transition: transform .08s; }
.eye-g.blink { transform: scaleY(.08); }
.pupil { transition: transform .12s ease-out; }

.angler { width: clamp(180px, 22vw, 300px); left: 6%; top: 18%; animation: hover 6s ease-in-out infinite; }
.angler .lure { transform-origin: 122px 64px; animation: lure 2.6s ease-in-out infinite; }
.angler .bulb { filter: drop-shadow(0 0 10px #8dffc4) drop-shadow(0 0 24px #8dffc4); animation: glow 2.2s ease-in-out infinite; }
.angler.flash .bulb { animation: flash .6s ease-out; }
.angler.flash .eye-g { transform: scale(1.35); }
@keyframes hover { 50% { transform: translate(14px, -10px) rotate(-2deg); } }
@keyframes lure { 50% { transform: rotate(8deg); } }
@keyframes glow { 50% { opacity: .55; } }
@keyframes flash { 0% { filter: drop-shadow(0 0 30px #fff) drop-shadow(0 0 60px #8dffc4); } }

.jelly { width: clamp(70px, 8vw, 120px); animation: drift-j var(--t, 14s) ease-in-out var(--d, 0s) infinite alternate; }
.jelly .bell { transform-origin: 50px 40px; animation: pulse 2.4s ease-in-out infinite; }
.jelly .tent { animation: tent 2.4s ease-in-out infinite; transform-origin: 50px 52px; }
.jelly svg { filter: drop-shadow(0 0 12px rgba(182,156,255,.8)); }
.jelly.flash svg { animation: jflash .8s ease-out; }
@keyframes pulse { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(.86, 1.1); } }
@keyframes tent { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(.85) translateY(-4px); } }
@keyframes drift-j { from { transform: translateY(20px); } to { transform: translateY(-60px) translateX(20px); } }
@keyframes jflash { 0% { filter: drop-shadow(0 0 30px #fff) drop-shadow(0 0 50px #b69cff); } }

.glowfish { width: var(--w, 60px); left: -120px; animation: gswim var(--t, 22s) linear var(--d, 0s) infinite; }
.glowfish svg { filter: drop-shadow(0 0 8px rgba(125,249,255,.8)); }
.glowfish.rev { left: auto; right: -120px; animation-name: gswim-rev; }
.glowfish.rev svg { transform: scaleX(-1); }
@keyframes gswim { to { transform: translateX(calc(100vw + 240px)) translateY(-20px); } }
@keyframes gswim-rev { to { transform: translateX(calc(-100vw - 240px)) translateY(16px); } }

/* eyes lurking in the dark (deep sections + footer) */
.lurkers { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.lurk { position: absolute; pointer-events: auto; opacity: .9; }
.lurk svg { filter: drop-shadow(0 0 8px rgba(216,255,122,.75)); }
@media (max-width: 1299px) { .lurkers { display: none; } }
.sec-abyss > .wrap, .ftr > .wrap, .ftr .copy { position: relative; z-index: 1; }

@media (max-width: 640px) {
  .angler { left: 2%; top: 14%; }
  .torch-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .angler, .angler .lure, .angler .bulb, .jelly, .jelly .bell, .jelly .tent, .glowfish { animation: none; }
  .glowfish { display: none; }
  .torch { background: radial-gradient(circle 420px at 60% 45%, rgba(2,6,15,0), rgba(2,6,15,.85) 80%); }
}

/* ===== shared: multi-site (tenant) additions, appended to every theme ===== */
.bcards-2 { grid-template-columns: repeat(2, 1fr); }
.sister-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.sister-img { display: block; aspect-ratio: 16/10; border-radius: var(--r, 22px); overflow: hidden; }
.sister-img img { width: 100%; height: 100%; object-fit: cover; }
.sister p { max-width: 34em; }
.ftr-sister { font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; }
@media (max-width: 980px) {
  .bcards-2 { grid-template-columns: 1fr 1fr; }
  .sister-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bcards-2 { grid-template-columns: 1fr; }
}

/* vertical (直排) heroes: a Latin line sits under the Chinese column as small horizontal text */
.theme-classic .hero-t.has-lat, .theme-night .hero-t.has-lat { display: flex; align-items: center; gap: .35em; }
.theme-classic .hero-t.has-lat span + span, .theme-night .hero-t.has-lat span + span { padding: 0; margin: 0; }
.theme-classic .hero-t .lat, .theme-night .hero-t .lat { writing-mode: horizontal-tb; white-space: nowrap; font-size: .34em; letter-spacing: .12em; line-height: 1.2; }

/* official logo (from the old site) */
.brand-logo { height: 70px; width: auto; display: block; }
.brand-fish { height: 44px; width: auto; filter: brightness(0) invert(1); flex-shrink: 0; }
.logo-round { display: inline-grid; place-items: center; width: 150px; height: 150px; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; }
.logo-round img { width: 112px; height: auto; }
.ftr-logo { margin-bottom: 14px; }
.theme-glass .brand-logo { height: 58px; margin-block: -4px; }
.theme-night .brand-logo, .theme-night .brand-fish, .theme-night .logo-round { filter: drop-shadow(0 0 6px rgba(125,249,255,.55)); }
.theme-night .brand-fish { filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(125,249,255,.55)); }
.theme-undersea .brand-logo, .theme-undersea .brand-fish { animation: bob 4s ease-in-out infinite; }
@media (max-width: 640px) {
  .brand-logo { height: 56px; }
  .brand-fish { height: 38px; }
  .logo-round { width: 124px; height: 124px; }
  .logo-round img { width: 92px; }
}
@media (prefers-reduced-motion: reduce) { .brand-logo, .brand-fish { animation: none !important; } }

.line-id { margin: 14px 0 0; font-size: .95rem; }
.line-id strong { font-size: 1.1rem; letter-spacing: .04em; user-select: all; }

/* LINE inquiry form (works on light and dark cards in every theme) */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; margin: 6px 0 14px; }
.ask > * { min-width: 0; }
.ask-f { display: block; font-size: .85rem; font-weight: 500; }
.ask-wide, .ask-room, .ask-err, .ask-btn, .ask-hint { grid-column: 1 / -1; }
.ask input, .ask select { display: block; box-sizing: border-box; margin-top: 4px; max-width: 100%; width: 100%; min-height: 44px; padding: 8px 10px; border: 1.5px solid rgba(21,48,77,.22); border-radius: 10px; background: #fff; color: #15304d; font: inherit; font-size: 1rem; }
.ask input:focus, .ask select:focus { outline: 3px solid rgba(6,199,85,.45); outline-offset: 1px; border-color: #06c755; }
.ask input[aria-invalid="true"] { border-color: #d64545; }
.ask-room { margin: 0; font-weight: 700; font-size: 1rem; }
.ask-opt { font-weight: 400; opacity: .7; margin-left: 6px; font-size: .8rem; }
.ask-err { margin: 0; min-height: 0; color: #ff8a80; font-size: .88rem; font-weight: 700; }
.ask-err:empty { display: none; }
.line-card .ask-err, .sec-sand .line-card .ask-err { color: #c0392b; }
.ask-hint { margin: -2px 0 0; font-size: .8rem; opacity: .75; }
.cc-or { margin: 4px 0 8px; font-size: .88rem; opacity: .8; }
.line-alt { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(127,127,127,.25); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.line-alt > span { font-size: .9rem; opacity: .8; }
.line-alt .line-id { margin: 0; }
@media (max-width: 360px) { .ask { grid-template-columns: 1fr; } }

/* desktop fallback dialog for the LINE inquiry (neutral colors so it reads the same in every theme) */
.ask-dlg { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 28px 28px 24px; border: 0; border-radius: 18px; background: #fff; color: #15304d; box-shadow: 0 24px 60px rgba(0,0,0,.35); font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
.ask-dlg::backdrop { background: rgba(4, 20, 36, .6); backdrop-filter: blur(3px); }
.ask-dlg h2 { margin: 0 0 6px; font-size: 1.35rem; color: #104c93; text-shadow: none; }
.ask-dlg-lead { margin: 0 0 14px; color: #52667c; }
.ask-dlg-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: #52667c; cursor: pointer; border-radius: 50%; }
.ask-dlg-x:hover { background: #eef3f7; }
.ask-dlg-l { font-size: .82rem; color: #52667c; }
.ask-dlg textarea { display: block; width: 100%; box-sizing: border-box; margin: 4px 0 18px; padding: 10px 12px; border: 1.5px solid #d4dee6; border-radius: 10px; background: #f6f9fb; color: #15304d; font: inherit; font-size: .95rem; line-height: 1.6; resize: none; }
.ask-dlg-ways { list-style: none; counter-reset: w; margin: 0; padding: 0; display: grid; gap: 14px; }
.ask-dlg-ways li { counter-increment: w; position: relative; padding: 0 0 14px 40px; border-bottom: 1px solid #e6edf2; display: flex; flex-direction: column; gap: 4px; }
.ask-dlg-ways li:last-child { border-bottom: 0; padding-bottom: 0; }
.ask-dlg-ways li::before { content: counter(w); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #104c93; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.ask-dlg-ways strong { font-size: 1.02rem; }
.ask-dlg-ways span { color: #52667c; font-size: .92rem; }
.ask-dlg-ways a { color: #104c93; }
.ask-dlg-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ask-dlg .btn { min-height: 40px; box-shadow: none; text-shadow: none; }
.ask-dlg .btn-outline { border: 2px solid #104c93; color: #104c93; background: #fff; }
.ask-dlg .btn-sun { background: #ffb000; color: #0b2340; }
.ask-dlg .btn-line { background: #06c755; color: #fff; }
.ask-dlg-ok { color: #0a8a3e !important; font-weight: 700; }
.ask-dlg-ok:empty { display: none; }
.ask-dlg-ok.is-fail { color: #b3261e !important; }

/* ---------- date fields (buttons that open the range picker) ---------- */
.ask-dates { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.ask-d { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 58px; padding: 8px 12px; border: 1.5px solid rgba(21,48,77,.22); border-radius: 12px; background: #fff; color: #15304d; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ask-d small { font-size: .76rem; color: #52667c; font-weight: 500; }
.ask-d b { font-size: 1.02rem; white-space: nowrap; }
.ask-d:hover { border-color: var(--dp-accent, #104c93); }
.ask-d:focus-visible { outline: 3px solid rgba(6,199,85,.45); outline-offset: 1px; }
.ask-d[aria-invalid="true"] { border-color: #d64545; }
.ask-n { align-self: center; font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.9); color: #15304d; white-space: nowrap; }
.ask-n:empty { display: none; }

/* ---------- range picker ---------- */
:root { --dp-accent: #104c93; --dp-soft: #e3eefa; --dp-bg: #fff; --dp-ink: #15304d; --dp-mute: #8a9aab; --dp-we: #c2410c; }
.theme-glass { --dp-accent: #0b6ea0; --dp-soft: #dcf1fa; }
.theme-undersea { --dp-accent: #0a7fb0; --dp-soft: #d7f4fb; }
.theme-night { --dp-accent: #7df9ff; --dp-soft: rgba(125,249,255,.14); --dp-bg: #0c1a33; --dp-ink: #e4f1ff; --dp-mute: #5f7391; --dp-we: #ffb4a2; }
.dp { position: fixed; z-index: 500; width: max-content; max-width: calc(100vw - 16px); padding: 16px 16px 12px; border-radius: 18px; background: var(--dp-bg); color: var(--dp-ink); box-shadow: 0 20px 50px rgba(4,20,36,.28), 0 0 0 1px rgba(21,48,77,.06); font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; opacity: 0; transform: translateY(-6px); transition: opacity .18s, transform .18s; }
.dp.on { opacity: 1; transform: none; }
.dp[hidden] { display: none; }
.dp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.dp-step { margin: 0; font-weight: 700; font-size: 1rem; }
.dp-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .7; }
.dp-x:hover { opacity: 1; background: var(--dp-soft); }
.dp-body { position: relative; }
.dp-months { display: flex; gap: 28px; }
.dp-m { width: 266px; }
.dp-mt { margin: 6px 0 8px; text-align: center; font-weight: 700; font-size: .98rem; }
.dp-nav { position: absolute; top: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.dp-nav:hover:not(:disabled) { background: var(--dp-soft); }
.dp-nav:disabled { opacity: .25; cursor: default; }
.dp-prev { left: -4px; } .dp-next { right: -4px; }
.dp-wk, .dp-g { display: grid; grid-template-columns: repeat(7, 38px); }
.dp-wk span { text-align: center; font-size: .76rem; color: var(--dp-mute); padding-bottom: 4px; }
.dp-wk .we { color: var(--dp-we); }
.dp-g { row-gap: 2px; }
.dp-day { position: relative; height: 38px; border: 0; background: none; color: inherit; font: inherit; font-size: .95rem; cursor: pointer; border-radius: 10px; font-variant-numeric: tabular-nums; }
.dp-day.we { color: var(--dp-we); }
.dp-day:hover:not(:disabled) { background: var(--dp-soft); }
.dp-day:disabled { color: var(--dp-mute); opacity: .45; cursor: default; text-decoration: line-through; text-decoration-color: transparent; }
.dp-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.dp-day.in-range { background: var(--dp-soft); border-radius: 0; color: var(--dp-ink); }
.dp-day.is-start, .dp-day.is-end { background: var(--dp-accent); color: #fff; font-weight: 700; }
.theme-night .dp-day.is-start, .theme-night .dp-day.is-end { color: #021022; }
.dp-day.is-start { border-radius: 10px 0 0 10px; }
.dp-day.is-end { border-radius: 0 10px 10px 0; }
.dp-day.is-start:not(.in-range) { border-radius: 10px; }
.dp-day.is-start:has(+ .in-range), .dp-day.is-start:has(+ .is-end) { border-radius: 10px 0 0 10px; }
.dp-day:focus-visible { outline: 2px solid var(--dp-accent); outline-offset: 1px; z-index: 1; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(127,127,127,.2); }
.dp-sum { font-size: .9rem; font-weight: 500; }
.dp-done { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--dp-accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.theme-night .dp-done { color: #021022; }
.dp-scrim { position: fixed; inset: 0; z-index: 499; background: rgba(4,20,36,.5); }
.dp-scrim[hidden] { display: none; }
/* phones: bottom sheet, one month */
.dp.dp-sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: 20px 20px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(24px); }
.dp.dp-sheet.on { transform: none; }
.dp-sheet .dp-months { justify-content: center; }
.dp-sheet .dp-m { width: min(100%, 360px); }
.dp-sheet .dp-wk, .dp-sheet .dp-g { grid-template-columns: repeat(7, 1fr); }
.dp-sheet .dp-day { height: 44px; }
@media (prefers-reduced-motion: reduce) { .dp, .dp.dp-sheet { transition: none; transform: none; } }
