:root{color-scheme:dark;--bg:#03101f;--panel:#102a43;--ink:#f0f4f8;--muted:#bcccdc;--aqua:#64ffda;--yellow:#ffe100}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;background:radial-gradient(ellipse at 85% 0,#1a3c5e,transparent 45%),var(--bg);color:var(--ink);font:16px/1.9 "Microsoft JhengHei",system-ui,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;max-width:100%;height:auto}figure{margin:0}p{color:var(--muted)}h1,h2,h3{line-height:1.45;text-wrap:balance}h1{font-size:clamp(2.2rem,4.3vw,3.7rem);margin:20px 0;letter-spacing:.035em}h1 span{color:var(--aqua);font-size:.78em}h2{font-size:clamp(1.65rem,3vw,2.5rem);margin:8px 0 24px}h3{font-size:1.2rem}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:5px}.wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}.topbar{padding:17px max(24px,calc((100% - 1120px)/2));border-bottom:1px solid #64ffda33;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#03101fef}.brand{font-weight:800;font-size:24px;color:var(--aqua);white-space:nowrap}.brand span{display:block;font-size:12px;font-weight:400;color:var(--muted)}nav{display:flex;gap:28px;font-size:14px}nav a:hover,.text-link:hover{color:var(--yellow)}.hero{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:50px;padding-block:74px 90px}.eyebrow{color:var(--yellow);letter-spacing:.12em;font-size:14px;font-weight:700;margin:0 0 12px}.lead{font-size:18px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:11px 20px;border:1px solid #64ffda88;border-radius:9px;background:transparent;color:var(--aqua);font-weight:700;text-align:center}.button:hover{background:#64ffda16}.primary{background:var(--aqua);color:var(--bg);border-color:var(--aqua)}.primary:hover{background:#a0ffe7}.story-link{font-size:14px;color:var(--muted)}.hero-photo{border:1px solid #64ffda44;border-radius:100px 16px 16px 16px;overflow:hidden;background:var(--panel)}.hero-photo img{aspect-ratio:4/3;object-fit:contain}.hero-photo figcaption{padding:18px 24px;color:var(--aqua)}.hero-photo figcaption span{display:block;font-size:12px;color:var(--muted)}.space-section{display:grid;grid-template-columns:.82fr 1fr;gap:70px;align-items:center;padding:48px 0 90px;border-top:1px solid #ffffff20}.space-section img{max-height:560px;width:100%;object-fit:contain;border-radius:12px}.space-section figcaption{font-size:13px;color:var(--muted);margin-top:12px;text-align:center}.note{font-size:14px;color:#aebccf}.text-link{color:var(--aqua);border-bottom:1px solid #64ffda55}.section{padding-block:70px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-heading h2{margin-bottom:0}.section-heading>p{font-size:14px}.fish-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.fish-grid figure{background:var(--panel);border-radius:12px;overflow:hidden}.fish-grid img{aspect-ratio:4/3;object-fit:contain}.fish-grid figcaption{padding:16px;font-size:15px}.story-band{padding:80px 0;background:linear-gradient(#102a43bb,#0c243b66);border-block:1px solid #64ffda33;margin-top:40px}.story-intro{max-width:800px;text-align:center}.story-intro h2{font-size:clamp(2rem,4vw,3rem)}.story-lead{font-size:24px;color:var(--aqua);line-height:1.7}.rules{margin:42px auto 0;padding:24px 30px;border:1px solid #ffe10066;border-radius:14px;background:#ffe10006;text-align:left;max-width:650px}.rules h3,.rules strong{color:var(--yellow)}.memories{margin-top:80px}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.memory-card{display:block;background:#f4f5f1;color:#142b42;padding:9px 9px 0;box-shadow:0 8px 24px #0003;border-radius:3px;transition:transform .2s}.memory-card:nth-child(4n+1){transform:rotate(-1deg)}.memory-card:nth-child(4n+3){transform:rotate(1deg)}.memory-card:hover{transform:translateY(-5px)}.memory-card img{width:100%;aspect-ratio:4/5;object-fit:contain;background:#e5e8e5}.memory-card figcaption{padding:10px 4px;font-size:13px;text-align:center}.more-row{text-align:center;margin-top:36px}.more-row p{font-size:14px}.care-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:40px 0 70px}.care-grid article{border-top:1px solid #64ffda55;padding-top:22px}.number{color:var(--aqua);font-size:26px}.faq{max-width:840px;margin:auto}.faq details{border-bottom:1px solid #ffffff26;padding:18px 0}.faq summary{cursor:pointer;font-weight:700;padding-right:16px}.faq details p{margin:14px 0 6px}.visit{display:grid;grid-template-columns:1.3fr 1fr;gap:50px;border-top:1px solid #64ffda55}.visit-actions{display:flex;flex-direction:column;gap:12px;justify-content:center}.footer{padding-block:32px 50px;border-top:1px solid #ffffff26;text-align:center}.footer p,.footer>a:last-child{font-size:14px}.skip{position:absolute;left:12px;top:-100px;background:var(--yellow);color:#000;padding:8px 16px}.skip:focus{top:8px}dialog{border:1px solid #64ffda88;border-radius:12px;background:var(--bg);padding:48px 16px 16px;max-width:95vw;max-height:95dvh}dialog::backdrop{background:#000d}dialog img{max-height:76dvh;max-width:86vw;margin:auto;object-fit:contain}dialog p{text-align:center;font-size:14px;margin:12px 0 0}#close-photo{position:absolute;right:8px;top:4px;border:none;background:none;color:white;font-size:30px;width:44px;height:44px}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.topbar{padding:14px 18px;flex-wrap:wrap;gap:10px}.brand span{display:none}nav{gap:18px;font-size:13px}.hero{grid-template-columns:1fr;gap:28px;padding-block:36px 50px}h1{font-size:2.3rem}.hero-photo{border-top-left-radius:55px}.hero-copy .lead{font-size:16px}.space-section{grid-template-columns:1fr;gap:28px;padding-block:40px}.space-section figure{max-width:400px;margin:auto}.space-section img{max-height:440px}.section{padding-block:44px}.section-heading{display:block}.fish-grid{grid-template-columns:1fr;gap:24px}.fish-grid figure{max-width:480px;width:100%;margin:auto}.story-band{padding-block:48px}.story-lead{font-size:21px}.rules{padding:20px}.desktop-br{display:none}.memories{margin-top:50px}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.memory-card{padding:6px 6px 0}.memory-card figcaption{font-size:12px}.care-grid{grid-template-columns:1fr;gap:18px;margin-block:28px 45px}.visit{grid-template-columns:1fr;gap:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Warm editorial theme: only the betta page is affected. */
:root{color-scheme:light;--bg:#fff9ef;--panel:#fffdf8;--ink:#422d24;--muted:#70594b;--aqua:#943f27;--yellow:#87451d}
body{background:radial-gradient(ellipse at 90% 0,#f8d9b9,transparent 42%),var(--bg);color:var(--ink)}
.topbar{background:#fff9eff5;border-bottom-color:#dfc6ac}.brand{color:#8c3b25}.brand span{color:#70594b}
.hero{gap:60px;padding-bottom:80px}.hero-photo{border:8px solid #fffdf8;border-radius:90px 20px 20px 20px;box-shadow:0 16px 44px #743c1b14;transform:rotate(1deg)}
.hero-photo figcaption{color:#82442c}.hero-photo figcaption span{color:#70594b}
.hero h1,.story-intro h2,.story-lead,.memories h2{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;font-weight:600;letter-spacing:.05em;line-height:1.6}
.hero h1{font-size:clamp(2.1rem,3.8vw,3.35rem)}.hero h1 span{color:#a0442a}
.brand,.rules h3,.memory-card figcaption,.hero-photo figcaption{font-family:"Zen Maru Gothic","Microsoft JhengHei",sans-serif}
.button{color:#853b27;border-color:#a45138;background:#fffdf7}.button:hover{background:#f7e6d4}.primary{background:#963f27;color:#fffaf1;border-color:#963f27}.primary:hover{background:#78301e}
.eyebrow{color:#87451d}.story-link,.note{color:#70594b}.text-link{color:#8c3b25;border-bottom-color:#a96a4a}
nav a:hover,.text-link:hover{color:#66301e}.space-section{border-top-color:#dec7b2}.space-section img{border:8px solid #fffdf8;box-shadow:0 10px 28px #743c1b12}
.fish-grid figure{background:#fffdf8;box-shadow:0 6px 22px #743c1b0d;border:1px solid #e6cdb5}.fish-grid figcaption{color:#614335}
.story-band{background:linear-gradient(150deg,#f9e1c6,#fff0d9 58%,#f4d8ba);border-color:#dfbc99;border-radius:48px 48px 0 0;position:relative}
.story-intro h2{color:#673e2a}.story-lead{color:#984828}.rules{background:#fffaf2;border-color:#d4a678;border-radius:12px;box-shadow:0 6px 20px #743c1b09}.rules h3,.rules strong{color:#8d4025}
.memories .section-heading{margin-bottom:34px}.memory-card{background:#fffdf9;box-shadow:0 7px 18px #78422020}.memory-card img{background:#eee5d8}.memory-card figcaption{color:#775744;font-size:14px}
.care-grid article{border-top-color:#d2aa86}.number{color:#a25232}.faq details{border-bottom-color:#dcc4ad}.faq summary{color:#573a2a}
.care-reminder{padding:24px 28px;background:#f9e4ca;border-left:4px solid #a55230;border-radius:0 14px 14px 0;margin:0 0 64px}.care-reminder h3{margin:8px 0 12px}.care-reminder p:last-child{margin-bottom:0}
.habitat{margin:0 0 68px}.habitat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.habitat-grid article{background:#fffdf8;border:1px solid #e3cbb3;border-radius:16px;padding:24px}.habitat-grid h3{margin:8px 0 14px}.habitat-grid p{font-size:16px}.habitat-grid strong{color:#82422a}.ref{color:#8c3b25;font-size:13px;padding-left:3px;text-decoration:underline}
.care-sources{width:min(840px,calc(100% - 36px));margin:0 auto 44px;padding:18px 22px;background:#f5e9d9;border-radius:12px;color:#70594b;font-size:14px}.care-sources summary{cursor:pointer}.care-sources a{text-decoration:underline;text-underline-offset:3px}.care-sources li{margin:8px 0}
.visit{border-top-color:#d7b394}.footer{border-top-color:#dfc6ac}a:focus-visible,button:focus-visible,summary:focus-visible{outline-color:#854023}.skip{background:#963f27;color:#fff}
dialog{background:#fff9ef;border-color:#c79874;box-shadow:0 20px 80px #0005}dialog::backdrop{background:#27170de0}dialog p{color:#70594b}#close-photo{color:#6c3423}
@media(max-width:760px){.hero{gap:30px;padding-bottom:48px}.hero h1{font-size:2.15rem}.hero-photo{transform:none;border-width:6px}.story-band{border-radius:28px 28px 0 0}.story-intro h2{font-size:1.9rem}.story-lead{font-size:1.3rem}.memory-card figcaption{font-size:12px}.care-reminder{padding:20px;margin-bottom:44px}.habitat-grid{grid-template-columns:1fr;gap:16px}.habitat-grid article{padding:22px}.habitat{margin-bottom:44px}}

/* Desktop reading comfort. Keep the existing mobile and warm story styles. */
@media (min-width: 900px) {
  body {
    --muted: #574033;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.9;
  }

  .lead,
  .habitat-grid p {
    font-size: 18px;
  }

  .story-link,
  .note,
  .section-heading > p,
  .more-row p,
  .space-section figcaption,
  .hero-photo figcaption span,
  .fish-grid figcaption,
  .memory-card figcaption,
  .footer p,
  .footer > a:last-child,
  .care-sources,
  dialog p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.85;
    color: #574033;
  }

  /* The rounded caption font is loaded at 500 and 700. */
  .memory-card figcaption,
  .hero-photo figcaption {
    font-weight: 700;
  }

  .brand span,
  nav,
  .eyebrow {
    font-size: 16px;
    font-weight: 700;
  }

  h3,
  .faq summary {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.65;
  }

  .care-sources summary {
    font-weight: 700;
  }

  .ref {
    font-size: 14px;
    font-weight: 700;
  }

  /* Preserve the editorial serif hierarchy instead of bolding every title. */
  .hero h1,
  .story-intro h2,
  .story-lead,
  .memories h2 {
    font-weight: 600;
  }
}
