/* Shared brand styles taken from the established homepage. Reuse these on every new Yacht Kingdom page. */
:root {
  --black: #090806;
  --surface: #13110c;
  --ivory: #f4eddd;
  --muted: #ada28b;
  --line: #3a3120;
  --gold: #cda349;
  --gold-hi: #f5e3a8;
  --gold-lo: #8f6c22;
  --on-gold: #1a1304;
  --glow: rgba(205, 163, 73, 0.16);
  --todo-bg: #1d180c;

  --display: "Cinzel", "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --body: "Figtree", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Noto Sans TC", ui-monospace, Menlo, monospace;

  --wrap: 68rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: dark;
}
body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.btn {
  display: inline-block; font: inherit; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; padding: 0.95rem 1.7rem; border: 1px solid var(--gold);
}
.btn-gold { color: var(--on-gold); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); }
.btn-line { color: var(--gold); background: transparent; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-line:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.lang {
  font: inherit; font-size: 0.82rem; letter-spacing: 0.08em; cursor: pointer;
  color: var(--gold); background: transparent; border: 1px solid var(--gold-lo); padding: 0.3rem 0.8rem;
}
.lang:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 4.6vw, 2.7rem); line-height: 1.15; letter-spacing: 0.06em; text-wrap: balance; }
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.85rem; }
.brand { font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--gold); }
.brand img { width: 2.1rem; height: 2.1rem; flex: none; }
.brand img.brand-logo { width: auto; height: clamp(2.6rem, 7vw, 3.4rem); }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.top nav a { text-decoration: none; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.top nav a:hover { color: var(--gold-hi); }
button,input,select,textarea { font-family:var(--body); }
input,select,textarea { font:inherit; color:var(--ivory); background:var(--surface); border:1px solid var(--line); border-radius:0; padding:.7rem .8rem; width:100%; min-width:0; }
input:focus,select:focus,textarea:focus { border-color:var(--gold); }
body:not([data-lang="zh"]) [data-l="zh"],body[data-lang="zh"] [data-l="en"] { display:none; }
@media(max-width:600px) { .top .wrap { justify-content:center; } }

/* Final homepage component treatments, including its later rounded-shape override. */
.lang, .btn, .tag { border-radius: 999px; }
.top { background: rgba(9, 8, 6, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 0; }
