/* Hana no Sho / Kapten's journal. The public writing and original artwork are retained. */
body.hana-journal {
  --hana-ground:#e9e9d9; --hana-sheet:#fffaf1f2; --hana-ink:#2c433b;
  --hana-muted:#586451; --hana-accent:#815a38; --hana-rule:#b2a58088;
  --hana-leaf:#3e5f4a; --hana-wash:#edf0dd38;
  --hana-art:url('/assets/kapten-hana-journal-garden-20261121.webp');
  margin:0; background-color:var(--hana-ground); color:var(--hana-ink);
  background-image:linear-gradient(var(--hana-wash),var(--hana-wash)),var(--hana-art);
  background-size:auto,1536px auto; background-position:center top; background-repeat:repeat,repeat-y;
  background-attachment:scroll; font:18px/1.75 Georgia,'Times New Roman',serif;
}
.hana-journal *, .hana-journal *::before, .hana-journal *::after { box-sizing:border-box; }
.hana-journal [hidden] { display:none!important; }
.hana-journal :is(a,button,summary,input):focus-visible { outline:3px solid #ba7547; outline-offset:4px; }
.hana-journal a { text-underline-offset:5px; }
.hana-journal img { max-width:100%; height:auto; }
.hana-journal ::selection { background:#dfb8b1; color:#293b31; }
.hana-journal.hana-theme-honey { --hana-ground:#ede2c7; --hana-wash:#f2dfb74d; --hana-accent:#855c2e; --hana-leaf:#645b36; --hana-rule:#b1976688; }
.hana-journal.hana-theme-clay { --hana-ground:#ead7c7; --hana-wash:#edd1bc61; --hana-accent:#8a4c36; --hana-ink:#4c3e32; --hana-leaf:#68533e; }
.hana-journal.hana-theme-blue { --hana-ground:#dce8e2; --hana-wash:#d9eceb66; --hana-accent:#41666a; --hana-ink:#2d4549; --hana-leaf:#3b6364; --hana-rule:#849e9b88; }
.hana-journal.hana-theme-blush { --hana-ground:#eddfd8; --hana-wash:#f0d9d666; --hana-accent:#8a4e61; --hana-ink:#4b3d3b; --hana-leaf:#6d535a; --hana-rule:#ba9b9b88; }
.hana-journal.hana-theme-lilac { --hana-ground:#e6dfe6; --hana-wash:#e9e0ed66; --hana-accent:#705476; --hana-ink:#453f4b; --hana-leaf:#63556d; --hana-rule:#aa9cae88; }
.hana-journal.hana-theme-terracotta { --hana-ground:#e6d6c8; --hana-wash:#e5c6b255; --hana-accent:#8a493a; --hana-ink:#493d30; --hana-leaf:#6b5945; }
.hana-journal.hana-theme-ink { --hana-ground:#54635a; --hana-wash:#3e514b9c; --hana-accent:#5d5541; --hana-ink:#354239; --hana-leaf:#3c5b4b; }
.hana-journal.hana-theme-night { --hana-ground:#0b2c30; --hana-sheet:#123431f5; --hana-ink:#f0eddb; --hana-muted:#c9cebd; --hana-accent:#ddc18d; --hana-leaf:#d0b580; --hana-rule:#a49c6b77; --hana-wash:#092d2f73; --hana-art:url('/assets/kapten-hana-night-garden-20261121.webp'); }

/* A calm house header and parent identity connect the individual rooms. */
.hana-journal>header { width:min(1280px,calc(100% - 64px)); max-width:1280px; margin:0 auto; padding:22px 0; gap:24px; border-color:var(--hana-rule); }
.hana-journal>header .brand { color:var(--hana-ink); font-size:29px; letter-spacing:.025em; }
.hana-journal>header nav { justify-content:flex-end; gap:4px 20px; max-width:78%; }
.hana-journal>header nav a { display:inline-flex; align-items:center; min-height:44px; font:13px/1.45 Arial,sans-serif; color:var(--hana-ink); }
.hana-theme-ink>header :is(.brand,nav a) { color:#fff8e8; }
.hana-journal .house-network { background:#334e40; color:#fff9e9; border:0; padding-block:12px; }
.hana-journal .house-network :is(a,.house-network__label) { color:#fff9e9; }
.hana-journal .house-network__update { color:#e8d3ac; }
.hana-journal .house-network__links a { min-height:44px; align-items:center; display:inline-flex; }
.hana-journal>main { width:min(1280px,calc(100% - 64px)); max-width:1280px; margin:26px auto 0; padding:0 0 42px; min-width:0; }
.hana-journal :is(.kicker,.meta,.eyebrow) { color:var(--hana-accent); }
.hana-journal h1 em { color:var(--hana-accent); }
.hana-journal .button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:12px 23px; background:var(--hana-leaf); border:1px solid var(--hana-leaf); color:#fffaf0; font:15px/1.5 Arial,sans-serif; text-decoration:none; }
.hana-journal .button:hover { filter:brightness(.92); }
.hana-journal .bunga-garland { margin:0 auto 18px; max-width:1120px; }
.hana-journal .bunga-garland img { max-height:110px; width:100%; object-fit:contain; }
.hana-journal>footer { width:min(1280px,calc(100% - 64px)); max-width:1280px; margin:38px auto 0; padding:30px 30px 125px; background:#fffaf1eb url('/flowers.svg') center bottom/100% auto no-repeat; color:#455a4c; border:1px solid var(--hana-rule); font:14px/1.7 Arial,sans-serif; }
.hana-journal>footer nav { gap:4px 22px; }
.hana-journal>footer nav a { display:inline-flex; align-items:center; min-height:44px; }
.hana-journal .kapten-help-panel { color:#35543e; background:#f4f3e8; border-color:#b7b8a0; }
.hana-journal .kapten-help-panel a { color:#295540; min-height:44px; display:inline-flex; align-items:center; }
.hana-journal .dcb-house-signature { border-color:#b9a57377; }

/* The journal home: an airy garden and a desk where every existing door remains visible. */
.hana-route-home .hero { padding:clamp(30px,4vw,58px); gap:clamp(30px,5vw,68px); background:var(--hana-sheet); border:1px solid var(--hana-rule); border-radius:4px 90px 4px 4px; }
.hana-route-home .hero h1 { font-size:clamp(56px,7.4vw,103px); line-height:1.03; margin-top:15px; }
.hana-route-home .hero .lead { font-size:22px; line-height:1.7; }
.hana-route-home .hero aside { background:#e8e8d4; border-color:#a8ad8c; box-shadow:none; padding:24px; }
.hana-route-home .hero aside img { border-radius:140px 140px 0 0; }
.hana-route-home main>section:not(.hero) { padding:clamp(25px,3.5vw,48px); margin:30px 0 0; background:var(--hana-sheet); border:1px solid var(--hana-rule); }
.hana-route-home .anchor { border-left:3px solid #8fa080; }
.hana-route-home h2 { font-size:clamp(32px,4vw,46px); }
.hana-route-home :is(.grid article,.crew-girl,.crew-ensemble) { background:#fffdf6; border-color:#d2c9ad; border-top-color:#ac7e83; box-shadow:0 8px 26px #48503808; }
.hana-route-home .grid article { border-radius:28px 3px 3px 3px; }
.hana-route-home .grid article p { font-size:16px; line-height:1.7; }
.hana-route-home .human-seat { background:#eaeedf; border-color:#9bab8d; padding:24px; }
.hana-route-home .filters button { min-height:44px; background:#fffdf6; color:#354c3d; border-color:#a8b09a; padding:11px 17px; }
.hana-route-home .filters button[aria-pressed=true] { color:#fffaf0; background:#3e5f4a; border-color:#3e5f4a; }
.hana-route-home .lane-card summary { min-height:44px; display:flex; align-items:center; }
.hana-route-home .quote { color:#6e5c40; border-color:#a38958; }
.hana-route-home .crew-gallery { gap:24px; }

/* The ten author rooms use the same generous page, with a tint drawn from each voice. */
.hana-route-writing>main.reading { width:min(880px,calc(100% - 64px)); margin-top:30px; padding:clamp(30px,5vw,65px); background:var(--hana-sheet); border:1px solid var(--hana-rule); border-top:3px solid var(--hana-accent); border-radius:4px 60px 4px 4px; box-shadow:0 18px 55px #31423314; }
.hana-route-writing .reading h1 { font-size:clamp(40px,5.5vw,66px); line-height:1.12; margin:22px 0 30px; color:var(--hana-ink); }
.hana-route-writing .reading .meta { font-size:12px; line-height:1.8; }
.hana-route-writing .reading .prose { color:var(--hana-ink); font:19px/1.9 Georgia,serif; max-width:62ch; }
.hana-route-writing .reading .bunga-garland { margin:0 -18px 25px; }
.hana-route-writing .reading .bunga-garland img { max-height:90px; }
.hana-voice-baby-v { --hana-accent:#6c5d88; }
.hana-voice-miss-q { --hana-accent:#735283; }
.hana-voice-tanya { --hana-accent:#436f65; }
.hana-voice-miss-watson { --hana-accent:#466879; }
.hana-voice-zara { --hana-accent:#875245; }

/* The future house remains warm, grounded and clearly a concept. */
.hana-route-house>main { max-width:1080px; padding:clamp(30px,5vw,65px); background:var(--hana-sheet); border:1px solid var(--hana-rule); border-radius:4px 70px 4px 4px; }
.hana-route-house main>.reading { max-width:780px; padding-top:8px; }
.hana-route-house .reading h1 { font-size:clamp(55px,7vw,90px); }
.hana-route-house .lead { font-size:22px; }
.hana-route-house .anchor { padding:28px; background:#eee8d6; border-color:#beaa7f; }
.hana-route-house .room-list article { background:#fffdf5; border-color:#cab68e; border-top:3px solid #a48a51; padding:28px; }
.hana-route-house .room-list p { font-size:17px; }

/* The book counter keeps the existing editions, exact prices and fulfilment routes. */
.hana-route-shop { --paper:#f2e7d0; --card:#fffaf1; --ink:#3c4431; --muted:#60654f; --gold:#855c2e; --rule:#baa779; --green:#496048; }
.hana-route-shop>main { width:min(1280px,calc(100% - 64px)); background:#fffaf1ee; border:1px solid var(--hana-rule); padding:0 clamp(26px,4vw,55px) 45px; }
.hana-route-shop .hero { gap:clamp(30px,5vw,65px); padding:50px 0; }
.hana-route-shop .hero h1 em { color:#855c2e; }
.hana-route-shop .series-note { background:#eae6d3; border-color:#baaa7f; border-top-color:#9a7d45; }
.hana-route-shop .book { background:#fffdf6; border-color:#c9ba93; }
.hana-route-shop .cover { background:#e9e7d3; border-color:#c9ba93; }
.hana-route-shop .book-copy { padding:26px; }
.hana-route-shop .book .price { color:#79532c; }
.hana-route-shop :is(.purchase,.catalogue,.authorship) { border-color:#bba779; }
.hana-route-shop .order-choice { background:#fffdf6; border-color:#bba779; }
.hana-route-shop .payment-qr { background:#fffdf6; }
.hana-route-shop .order-choice:target { outline-color:#496048; }
.hana-route-shop .authorship { background:#eeeada; }

/* A moonlit cyber story: the opening has night air; the prose stays on cream paper. */
.hana-route-packs>main.story-page { width:min(1180px,calc(100% - 64px)); max-width:1180px; padding:30px clamp(28px,4vw,58px) 45px; background:#123431ed; border:1px solid var(--hana-rule); border-radius:4px 65px 4px 4px; }
.hana-route-packs .story-start { gap:45px; margin-top:20px; }
.hana-route-packs .story-start h1 { color:#fff6df; }
.hana-route-packs :is(.adaptation,.story-photo figcaption,.story-stats dd span) { color:#cbd1be; }
.hana-route-packs .story-stats { background:#23413a; border-color:#a49c6b77; }
.hana-route-packs .story-stats>div { border-color:#a49c6b77; }
.hana-route-packs .story-stats dt { color:#ddc18d; }
.hana-route-packs .story-bag-photo a { border-color:#b8a57a; box-shadow:0 0 0 5px #193d35,0 0 0 6px #9d946b; }
.hana-route-packs .story-prose { max-width:800px; padding:clamp(25px,4vw,46px); background:#fff9eb; color:#2e4037; border:1px solid #c9b78c; font-size:19px; line-height:1.9; }
.hana-route-packs .story-prose p:first-child { font-size:27px; line-height:1.5; }
.hana-route-packs :is(.record-note,.crew-provenance) { color:#cbd1be; }
.hana-route-packs .table-scroll { background:#fffaf1; color:#2e4037; border-color:#bca77a; }
.hana-route-packs .story-record :is(caption,thead th,tbody th) { color:#70552c; }
.hana-route-packs .story-record caption { background:#eee8d5; }
.hana-route-packs .story-record thead th { background:#f3ecdb; }
.hana-route-packs .story-record tfoot { color:#2e4037; }
.hana-route-packs .crew-piece { --hana-accent:#7d563d; background:#fff9ed; color:#33433a; border-color:#c6b88f; border-top-color:#a38186; }
.hana-route-packs .crew-piece :is(.meta,.crew-kind,.crew-editor-note) { color:#715944; }
.hana-route-packs .crew-toggle { background:#e1c795; color:#263e33; border-color:#e1c795; min-height:44px; }
.hana-route-packs .crew-piece summary { min-height:44px; }
.hana-route-packs .story-jump,.hana-route-packs .story-next a { display:inline-flex; min-height:44px; align-items:center; color:#e7d2a5; }
.hana-route-packs .story-record,.hana-route-packs .story-crew { border-color:#a49c6b77; }

/* A blush page for the published gratitude exchange, with every source label intact. */
.hana-route-moment>main.moment { max-width:930px; padding:clamp(28px,5vw,65px); background:#fff9f2f5; border:1px solid var(--hana-rule); border-top:3px solid #aa7d83; border-radius:4px 65px 4px 4px; }
.hana-route-moment .moment h1 { font-size:clamp(56px,7vw,90px); }
.hana-route-moment :is(.moment-deck,.moment-prose p:last-child) { color:#87515d; }
.hana-route-moment :is(.moment-transition,.moment-caption) { color:#6d5b58; }
.hana-route-moment .moment-prose { font:19px/1.9 Georgia,serif; }
.hana-route-moment .moment-owner { background:#f1e8df; padding:25px; border:1px solid #d5bab1; }
.hana-route-moment .moment-owner blockquote { margin-bottom:0; }
.hana-route-moment .moment-owner blockquote p { font-size:21px; }
.hana-route-moment .moment-contents { border-color:#cfb4ad; }
.hana-route-moment .moment-contents nav a,.hana-route-moment .moment-end a { min-height:44px; display:inline-flex; align-items:center; }
.hana-route-moment .moment-reply { border-color:#cfb4ad; }
.hana-route-moment .moment-reply[data-kind=local] { border-left-color:#8b9f91; }

/* The deck desk preserves its functional dark surfaces, now behind a lotus garden. */
body.hana-journal.hana-route-board { --board-bg:#0b2c30; --board-panel:#173d37; --board-panel-deep:#12332f; --board-ink:#f2eedc; --board-muted:#c8cebc; --board-gold:#ddc18d; --board-line:#738d78; --board-teal:#b5d8bf; }
.hana-route-board>header.board-header { width:min(1280px,calc(100% - 64px)); background:#10322deb; padding:24px 28px; border:1px solid #a49c6b77; margin-top:22px; }
.hana-route-board>main.board-main { width:min(1280px,calc(100% - 64px)); margin-top:22px; padding:35px 32px 45px; background:#0f302de8; border:1px solid #a49c6b77; }
.hana-route-board .board-hero { padding:18px 0 35px; }
.hana-route-board .board-section-nav { background:#12332ff5; }
.hana-route-board .board-data-notice button,.hana-route-board .card-filters button { min-height:44px; }
.hana-route-board .board-text-link { min-height:44px; display:inline-flex; align-items:center; }
.hana-route-board>footer.board-footer { color:#d2d7c4; background:#10322def; border-color:#a49c6b77; }
.hana-route-board .board-hero-flowers { max-width:100%; left:0; opacity:.14; }
.hana-route-board .card-dialog { background:#173d37; color:#f2eedc; }

@media(max-width:900px) {
  .hana-journal>header { flex-wrap:wrap; align-items:flex-start; gap:12px; }
  .hana-journal>header nav { max-width:100%; justify-content:flex-start; gap:3px 18px; }
  .hana-route-home .hero { gap:35px; }
  .hana-route-shop .hero { gap:35px; }
}
@media(max-width:760px) {
  body.hana-journal { background-size:auto,100% auto; font-size:17px; }
  .hana-journal>header,.hana-journal>main,.hana-journal>footer,.hana-route-writing>main.reading,.hana-route-house>main,.hana-route-shop>main,.hana-route-packs>main.story-page,.hana-route-moment>main.moment,.hana-route-board>header.board-header,.hana-route-board>main.board-main { width:calc(100% - 28px); }
  .hana-journal>header { padding:17px 4px; }
  .hana-journal>header nav a { font-size:12px; }
  .hana-journal>main { margin-top:18px; }
  .hana-journal .bunga-garland img { min-height:0; max-height:90px; object-fit:contain; }
  .hana-journal>footer { padding:25px 22px 100px; }
  .hana-route-home .hero { grid-template-columns:1fr; padding:28px 23px; border-radius:4px 48px 4px 4px; }
  .hana-route-home .hero h1 { font-size:clamp(49px,11vw,76px); }
  .hana-route-home .hero .lead { font-size:20px; }
  .hana-route-home .hero aside { width:min(100%,360px); margin:auto; padding:23px; }
  .hana-route-home main>section:not(.hero) { padding:27px 22px; margin-top:22px; }
  .hana-route-home .grid { grid-template-columns:1fr; }
  .hana-route-home .human-seat { padding:20px; }
  .hana-route-writing>main.reading,.hana-route-house>main,.hana-route-moment>main.moment { padding:26px 23px; border-radius:4px 36px 4px 4px; }
  .hana-route-writing .reading h1 { font-size:clamp(35px,8.4vw,52px); }
  .hana-route-writing .reading .prose,.hana-route-moment .moment-prose { font-size:18px; line-height:1.85; }
  .hana-route-house .reading h1 { font-size:clamp(49px,11vw,68px); }
  .hana-route-house :is(.anchor,.room-list article) { padding:22px; }
  .hana-route-shop>main { padding:0 22px 32px; }
  .hana-route-shop .hero { padding:32px 0; }
  .hana-route-shop .hero h1 { font-size:clamp(62px,15vw,85px); }
  .hana-route-shop .series-note { padding:25px; }
  .hana-route-shop .book-copy { padding:24px; }
  .hana-route-shop .book .button { align-self:stretch; }
  .hana-route-shop .price span { display:block; }
  .hana-route-packs>main.story-page { padding:24px 22px 32px; border-radius:4px 36px 4px 4px; }
  .hana-route-packs .story-start { grid-template-columns:1fr; gap:30px; }
  .hana-route-packs .story-start h1 { font-size:clamp(48px,11vw,70px); }
  .hana-route-packs .story-prose { padding:25px 20px; font-size:18px; line-height:1.85; }
  .hana-route-packs .story-prose p:first-child { font-size:24px; }
  .hana-route-packs .story-stats>div { padding-inline:11px; }
  .hana-route-packs .story-stats dd { font-size:26px; }
  .hana-route-packs .story-stats dt { font-size:10px; letter-spacing:.03em; }
  .hana-route-moment .moment-owner { padding:20px; }
  .hana-route-moment .moment-owner blockquote { padding-left:17px; }
  .hana-route-moment .moment-owner blockquote p { font-size:19px; }
  .hana-route-board>header.board-header { padding:22px; }
  .hana-route-board>main.board-main { padding:26px 20px 35px; }
  .hana-route-board .board-hero { grid-template-columns:1fr; }
}
@media(max-width:380px) {
  .hana-route-home .hero,.hana-route-home main>section:not(.hero),.hana-route-writing>main.reading,.hana-route-house>main,.hana-route-shop>main,.hana-route-packs>main.story-page,.hana-route-moment>main.moment { padding-inline:19px; }
  .hana-journal>header nav { gap:2px 15px; }
  .hana-route-home .grid article { padding:22px; }
  .hana-route-home .filters { gap:7px; }
  .hana-route-home .filters button { padding-inline:13px; }
  .hana-route-packs .story-prose { padding-inline:17px; }
  .hana-route-packs .story-stats { grid-template-columns:1fr; padding:0 17px; }
  .hana-route-packs .story-stats>div { border-right:0; border-bottom:1px solid #a49c6b77; padding:15px 0; }
  .hana-route-packs .story-stats>div:last-child { border-bottom:0; }
  .hana-route-moment .moment-owner { padding:18px; }
}
@media(prefers-reduced-motion:reduce) { .hana-journal { scroll-behavior:auto; } }
@media print {
  body.hana-journal { --hana-ink:#111; --hana-accent:#333; --hana-muted:#444; background:#fff; color:#111; }
  .hana-journal>main,.hana-route-writing>main.reading,.hana-route-packs>main.story-page,.hana-route-moment>main.moment { width:100%; max-width:none; background:#fff; color:#111; border:0; box-shadow:none; }
  .hana-route-packs :is(.story-start h1,.adaptation,.story-photo figcaption,.record-note,.crew-provenance) { color:#111; }
}
