:root {
  color-scheme: dark;
  --ink: #e8f1ee;
  --soft: #a9bdc0;
  --sea: #081a24;
  --deck: #122834;
  --line: #34525d;
  --aqua: #a1e2d6;
  --copper: #edc88e;
  font: 16px/1.5 system-ui, "Noto Sans TC", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 50% 0, #18343f, var(--sea) 540px); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.top, nav, footer { display: flex; align-items: center; gap: 20px; }
.top { justify-content: space-between; min-height: 72px; }
.brand { color: var(--ink); font-weight: 850; letter-spacing: -.055em; font-size: 25px; }
.brand span { background: var(--aqua); margin-inline-start: 5px; display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
a, .text-button { color: var(--aqua); text-decoration-thickness: 1px; text-underline-offset: .25em; }
.top a { text-decoration: none; }
.top a:hover, .text-button:hover { text-decoration: underline; }
nav, footer, .security, small { font-size: .83rem; }
.security { display: flex; gap: 10px 20px; justify-content: space-between; flex-wrap: wrap; color: var(--aqua); border-block: 1px solid var(--line); padding: 10px 0; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 36px 0 24px; }
h1, h2, p, dl, dd { margin: 0; }
h1 { font-family: Georgia, "Noto Serif TC", serif; font-weight: 400; letter-spacing: -.05em; font-size: clamp(3rem, 8vw, 6.1rem); line-height: 1; }
.intro p { margin-top: 12px; color: var(--soft); }
.date { flex: none; }
.date dt { font-size: .75rem; color: var(--soft); }
.date dd { color: var(--aqua); font: .94rem/1.6 ui-monospace, monospace; }
.collection { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.edition { display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); background: var(--deck); min-width: 0; }
.edition img { display: block; width: 100%; height: clamp(270px, 41vw, 510px); padding: 14px; object-fit: contain; background: #0b202a; }
.copper img { background: radial-gradient(ellipse at 50% 18%, #3a473a, #0b171b 76%); }
.dive img { background: radial-gradient(ellipse at 50% 17%, #1c3f52, #0b1c27 78%); }
.edition-copy { padding: 14px 17px; border-top: 1px solid var(--line); }
.title-row { display: flex; align-items: baseline; gap: 8px 14px; flex-wrap: wrap; justify-content: space-between; }
h2 { font-weight: 620; font-size: 1.15rem; }
.edition p, .action-top p { color: var(--soft); font-size: .875rem; margin-top: 5px; }
.price { color: var(--copper); font-weight: 700; white-space: nowrap; }
.price small { font-weight: 400; }
.edition dl { display: flex; align-items: baseline; justify-content: space-between; margin-top: 11px; border-top: 1px solid var(--line); padding-top: 9px; font-size: .85rem; color: var(--soft); }
.edition dd { color: var(--ink); font: 1rem ui-monospace, monospace; }
.actions { margin-top: 20px; border-block: 1px solid var(--line); padding: 17px 0; }
.action-top, .action-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.action-top { justify-content: space-between; margin-bottom: 14px; }
.direct-transfer { color: var(--soft); font-size: .875rem; margin-top: 10px; }
button, select { border: 1px solid #55747b; background: var(--deck); color: var(--ink); font: inherit; padding: .53em .85em; border-radius: 4px; }
button { cursor: pointer; }
button.primary { color: #122020; background: var(--copper); border-color: var(--copper); font-weight: 700; }
button:disabled, select:disabled { cursor: default; opacity: .47; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
#notice { margin-top: 10px; color: var(--aqua); min-height: 1.45em; }
#review { background: var(--deck); padding: 12px; margin: 10px 0; border: 1px solid var(--line); }
#settlement { display: grid; grid-template-columns: max-content auto; gap: 4px 14px; margin-bottom: 12px; }
#settlement dt { color: var(--soft); }
footer { flex-wrap: wrap; color: var(--soft); padding: 24px 0; }
.text-button { font-size: inherit; background: none; border: 0; padding: 0; }
@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 60px; gap: 10px; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px 12px; font-size: .76rem; }
  .intro { padding: 25px 0 18px; display: block; }
  .date { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; }
  .collection { grid-template-columns: 1fr; gap: 14px; }
  .edition img { height: min(95vw, 390px); }
  .action-row { gap: 8px; }
}
