:root{--art-wide:url(/art/library-wide.webp?v=807340ce5d);--art-tall:url(/art/library-tall.webp?v=3a31aa602a);--art-owl-pose:url(/art/char-owl-pose.webp?v=43b589b6d8);--art-owl-icon:url(/art/char-owl-icon.webp?v=f0bec9a8fa);--art-keeper-pose:url(/art/char-keeper-pose.webp?v=dcecf3307a);--art-lh-wide:url(/art/lighthouse-wide.webp?v=892b5a7905);--art-lh-tall:url(/art/lighthouse-tall.webp?v=d1256825b7);}
/* 公開ページ（コラム・公開投稿）の見た目。ポータル・街と同じ夜の色と、すりガラスの板。JavaScriptは使わない。 */
:root{--bg:#1f1e29;--ink:#f7f0ed;--muted:#c4b8c5;--rose:#edc7d6;--amber:#f3cf9f;--lavender:#c9c0e6;--line:rgba(255,255,255,.13);--glass:rgba(27,25,36,.74);--focus:#f3d6e3;--serif:"Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;--sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color-scheme:dark}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.85;letter-spacing:.01em;background:radial-gradient(120% 60% at 80% -10%,#3b3047 0,transparent 60%),radial-gradient(90% 60% at -10% 110%,#2c3532 0,transparent 55%),var(--bg);background-attachment:fixed}
/* 星：空の上のほうだけ、ごく薄く */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.4;background:radial-gradient(1.2px 1.2px at 22px 30px,#fff 50%,transparent 62%) 0 0/230px 190px,radial-gradient(1px 1px at 150px 118px,#fff 50%,transparent 62%) 0 0/230px 190px,radial-gradient(1.3px 1.3px at 262px 58px,#fff 50%,transparent 62%) 0 0/310px 260px;-webkit-mask-image:linear-gradient(#000,transparent 70%);mask-image:linear-gradient(#000,transparent 70%)}
a{color:var(--rose)}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:#2a2836;padding:8px 14px;border-radius:10px}.skip:focus{top:10px}
.proto-bar{margin:0;padding:7px 16px;font-size:12px;background:#2b2433f2;border-bottom:1px solid var(--line)}
.proto-bar i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b9cdb8;margin-right:8px;vertical-align:1px}
.site-head{max-width:860px;margin:0 auto;padding:22px 16px 6px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px}
.wordmark{display:block;font-family:"Times New Roman",serif;font-size:22px;letter-spacing:.22em;color:var(--ink);text-decoration:none;min-height:44px}
.wordmark span{display:block;font-family:var(--sans);font-size:11px;letter-spacing:.08em;color:var(--muted)}
.site-head nav{display:flex;flex-wrap:wrap;gap:4px}
.site-head nav a{display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;border-radius:999px;color:var(--muted);text-decoration:none;font-size:14px}
.site-head nav a:hover{color:var(--ink);background:rgba(255,255,255,.06)}
main{display:block;max-width:860px;margin:0 auto;padding:8px 16px 40px}
.crumbs{font-size:12.5px;color:var(--muted);margin:8px 0 14px}.crumbs a{color:var(--muted)}
.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--amber);margin:0 0 4px;text-transform:uppercase}
h1{font-family:var(--serif);font-weight:400;font-size:28px;line-height:1.5;letter-spacing:.04em;margin:4px 0 10px}
h2{font-family:var(--serif);font-weight:400;font-size:20px;letter-spacing:.04em;margin:28px 0 10px}
h3{font-family:var(--serif);font-weight:400;font-size:17px;letter-spacing:.03em;margin:0 0 6px;line-height:1.6}
.lead{color:#e6dce6;font-size:16px;margin:0 0 12px}
.meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--muted);margin:0 0 6px}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.tag{display:inline-flex;align-items:center;font-size:12px;padding:2px 10px;border-radius:999px;border:1px solid rgba(243,207,159,.4);color:var(--amber);text-decoration:none}
.note{font-size:13px;color:var(--muted);padding:10px 14px;border-left:3px solid var(--lavender);background:var(--glass);border-radius:4px 12px 12px 4px}
.article{margin-top:4px}
.article .body{font-size:16px;line-height:2.05}
.article .body p{margin:0 0 18px}
.article .body ul{padding-left:1.3em;margin:0 0 18px}.article .body li{margin:0 0 6px}
.article .body blockquote{margin:0 0 18px;padding:12px 16px;border-left:3px solid var(--amber);background:var(--glass);border-radius:4px 14px 14px 4px;font-family:var(--serif)}
.article .body blockquote p{margin:0}
.panel,.card,.reply{background:var(--glass);border:1px solid var(--line);border-radius:18px;-webkit-backdrop-filter:saturate(1.15) blur(14px);backdrop-filter:saturate(1.15) blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 14px 34px -18px rgba(0,0,0,.6)}
.panel{padding:18px 20px;margin:24px 0}
.panel h2{margin-top:0}
.cards{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:720px){.cards{grid-template-columns:1fr 1fr}}
.card{display:block;height:100%;padding:16px 18px;color:var(--ink);text-decoration:none;transition:border-color .2s}
.card:hover,.card:focus-visible{border-color:rgba(243,207,159,.5)}
.card p{margin:0;color:#d6cbd6;font-size:14px}
.card .tag{margin-top:10px}
.card-meta{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 16px}
.chips a{display:inline-flex;align-items:center;min-height:40px;padding:6px 15px;border-radius:999px;border:1px solid var(--line);background:var(--glass);color:var(--muted);text-decoration:none;font-size:13px}
.chips a[aria-current="page"]{color:var(--ink);border-color:rgba(243,207,159,.6);background:rgba(243,207,159,.12)}
.pager{display:flex;align-items:center;justify-content:center;gap:16px;margin:20px 0;font-size:14px}
.pager a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px}
.replies ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.reply{padding:12px 16px}.reply p{margin:0}.reply .card-meta{margin-bottom:2px}
.reply.removed{background:rgba(255,255,255,.04);border-style:dashed;color:var(--muted);font-size:13px}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0}
.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 20px;border-radius:999px;font-size:14px;text-decoration:none}
.primary{background:var(--rose);color:#2a1f2a;font-weight:600}
.secondary{border:1px solid var(--line);color:var(--ink)}
.cta{border-color:rgba(237,199,214,.3)}
.empty p{margin:0 0 10px}
.site-foot{max-width:860px;margin:0 auto;padding:20px 16px 40px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line)}
.site-foot p{margin:0 0 6px}
/* 運営の情報への道（2026-10-11）：指で押しやすい高さと間隔 */
.foot-links{display:flex;flex-wrap:wrap;gap:0 18px;margin:0 0 8px}.foot-links a{display:inline-flex;align-items:center;min-height:44px;font-size:13.5px}
@media (min-width:900px){h1{font-size:32px}.site-head{padding-top:28px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ===== 図書館（A案「問いの棚」）===== */
/* 景色：街の図書館の中（静止画）を、暗く沈めて背景に置く。画像が無いときは夜の色だけ */
html[data-section="library"] body{background:linear-gradient(180deg,rgba(24,20,30,.55),rgba(24,20,30,.92) 46%,#1d1a25 78%),var(--art-tall,none) center top/100% auto no-repeat,radial-gradient(120% 60% at 80% -10%,#4a3a3a 0,transparent 60%),var(--bg);background-attachment:scroll}
@media (min-width:900px){html[data-section="library"] body{background:linear-gradient(90deg,rgba(24,20,30,.94) 0,rgba(24,20,30,.82) 55%,rgba(24,20,30,.5)),linear-gradient(180deg,transparent 55%,#1d1a25 92%),var(--art-wide,none) right top/auto 100vh no-repeat,radial-gradient(120% 60% at 80% -10%,#4a3a3a 0,transparent 60%),var(--bg);background-attachment:fixed}}
html[data-section="library"]{--accent:#e8c28a}
html[data-section="library"] .eyebrow{color:var(--accent)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* 図書館の入口：探す・よく調べられている言葉 */
.lib-hero .lead{max-width:40em}
.lib-search{display:flex;gap:8px;margin:14px 0 4px;max-width:560px}
.lib-search input{flex:1;min-width:0;min-height:48px;padding:10px 16px;border-radius:999px;border:1px solid rgba(232,194,138,.45);background:rgba(20,17,26,.7);color:var(--ink);font:inherit;font-size:16px}
.lib-search input::placeholder{color:#9d93a3}
.lib-search input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.lib-search button{min-height:48px;padding:0 22px;border-radius:999px;border:0;background:var(--accent,#e8c28a);color:#2a1f22;font:inherit;font-weight:700;cursor:pointer}
.searched{margin:18px 0 26px}
.searched h2,.shelf-sec>h2,.stacks>h2{font-size:17px;margin:0 0 10px;color:#efe2cf}
.kw{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.kw a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border-radius:8px;background:rgba(239,230,212,.1);border:1px solid rgba(232,194,138,.35);color:#f3e6cf;text-decoration:none;font-size:14px}
.kw a::before{content:"⌕";margin-right:6px;color:var(--accent,#e8c28a);font-size:13px}
.kw a:hover,.kw a:focus-visible{background:rgba(232,194,138,.18)}
.kw-more{margin-top:8px}.kw-more>summary{min-height:44px;display:inline-flex;align-items:center;cursor:pointer;font-size:14px;color:var(--accent,#e8c28a)}.kw-more>.kw{margin-top:6px} /* 2つ目の言葉は畳む（2026-10-26） */

/* 表紙を見せて並べた本（面陳）と、木の棚板 */
.shelf-sec{margin:0 0 26px}
.covers{list-style:none;margin:0;padding:0 4px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;position:relative}
.covers::after{content:"";position:absolute;left:-6px;right:-6px;bottom:0;height:12px;border-radius:3px;background:linear-gradient(180deg,#6a4b3a,#4a3329);box-shadow:0 8px 14px -8px rgba(0,0,0,.8)}
@media (min-width:720px){.covers{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
.cover{position:relative;display:flex;flex-direction:column;gap:8px;height:100%;min-height:186px;padding:16px 14px 12px 18px;border-radius:3px 8px 8px 3px;color:#f6ead6;text-decoration:none;box-shadow:inset 6px 0 0 rgba(0,0,0,.22),inset 0 0 0 1px rgba(232,194,138,.35),0 10px 18px -10px rgba(0,0,0,.8);transition:transform .2s ease,box-shadow .2s ease}
.cover::before{content:"";position:absolute;inset:7px 7px 7px 13px;border:1px solid rgba(232,194,138,.45);border-radius:2px;pointer-events:none}
.cover-q{font-size:11.5px;color:#f0d9b0;line-height:1.5}
.cover-t{font-family:var(--serif);font-size:15px;line-height:1.6;letter-spacing:.02em;flex:1}
.cover-meta{font-size:11px;color:#e6d6bf;opacity:.85}
.cover:hover,.cover:focus-visible{transform:translateY(-4px);box-shadow:inset 6px 0 0 rgba(0,0,0,.22),inset 0 0 0 1px rgba(232,194,138,.6),0 16px 24px -12px rgba(232,194,138,.35)}
.tone-0.cover,.shelf.tone-0 .shelf-head{background:linear-gradient(135deg,#7a3d4f,#5e2f3d)}
.tone-1.cover,.shelf.tone-1 .shelf-head{background:linear-gradient(135deg,#3f4f74,#2f3b58)}
.tone-2.cover,.shelf.tone-2 .shelf-head{background:linear-gradient(135deg,#55663f,#405030)}
.tone-3.cover,.shelf.tone-3 .shelf-head{background:linear-gradient(135deg,#8a6533,#6a4c24)}
.tone-4.cover,.shelf.tone-4 .shelf-head{background:linear-gradient(135deg,#634478,#4b335c)}
.tone-5.cover,.shelf.tone-5 .shelf-head{background:linear-gradient(135deg,#2f6363,#234a4a)}
.tone-6.cover,.shelf.tone-6 .shelf-head{background:linear-gradient(135deg,#7a5040,#5c3c30)}
.stacks{margin:28px 0}
.board{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:720px){.board{grid-template-columns:1fr 1fr}}
.board>.shelf{border-radius:8px;background:rgba(239,230,212,.06);box-shadow:inset 0 0 0 1px rgba(232,194,138,.22);overflow:hidden}
.board .shelf-head{margin:0;border-radius:0}
.titles{list-style:none;margin:0;padding:8px 14px 10px}
.titles li{padding:6px 0;border-bottom:1px dashed rgba(232,194,138,.2);font-size:14px;line-height:1.6}
.titles li:last-child{border-bottom:0}
.titles a{color:#efe2cf;text-decoration:none}
.titles a::before{content:"▤ ";color:var(--accent,#e8c28a);font-size:12px}
.titles a:hover,.titles a:focus-visible{text-decoration:underline}
.board .shelf-empty{margin:10px 14px 12px}
.board .more{margin:0 14px 12px}
.stacks-note{font-size:13px;color:var(--muted);margin:-4px 0 12px}
.shelf-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:8px 14px;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(232,194,138,.3)}
.shelf-head h3{margin:0;font-size:16px}
.shelf-head h3 a{color:#f6ead6;text-decoration:none}
.shelf-head h3 a::after{content:" ›";color:var(--accent,#e8c28a)}
.count{flex:none;font-size:12px;color:#f0d9b0;margin-left:8px;font-family:var(--sans);font-weight:400}
.shelf-empty{margin:0 4px;padding:14px;border:1px dashed rgba(232,194,138,.3);border-radius:6px;color:var(--muted);font-size:13px}
.more{margin:8px 4px 0;font-size:14px}
.shelf-words{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}

/* 目録：図書館の目録カード（紙・赤い罫） */
.catalog h2{font-size:17px}
.index-card{background:#efe6d4;color:#2c2430;border:0;border-radius:6px;box-shadow:0 12px 26px -16px rgba(0,0,0,.8);-webkit-backdrop-filter:none;backdrop-filter:none;padding:14px 18px 14px}
.index-card .ic-q{display:block;font-size:12.5px;color:#9a3b3b;padding-bottom:6px;margin-bottom:8px;border-bottom:1px solid #d9a5a0}
.index-card h3{color:#2c2430}
.index-card p{color:#4a4048!important}
.index-card .card-meta{margin:8px 0 0;color:#5f545a}
.index-card:hover,.index-card:focus-visible{transform:translateY(-2px);box-shadow:0 18px 30px -16px rgba(0,0,0,.85),0 0 0 2px rgba(232,194,138,.6)}
.index-card{transition:transform .2s,box-shadow .2s}

/* 本：机の上で開いた紙のページ */
.book{margin:6px 0 10px;padding:26px 20px 22px;border-radius:6px;background:linear-gradient(180deg,#f3ebdc,#efe5d2);color:#2b2330;box-shadow:0 1px 0 #fff8 inset,0 26px 50px -24px rgba(0,0,0,.85)}
.book a{color:#8a3550}
.book h1{color:#231c28;font-size:25px;margin:6px 0 10px}
.book h2{color:#2b2330;border-bottom:1px solid #d8ccb6;padding-bottom:6px}
.book .lead{color:#4a3f48}
.book .meta{color:#6e6268}
.book .note{background:#e8dcc6;color:#5a4e44;border-left-color:#b48a5a}
.book-q{margin:0;font-family:var(--serif);font-size:15px;color:#8a3550}
.book-q span{display:block;font-family:var(--sans);font-size:11px;letter-spacing:.14em;color:#9a8a7c;margin-bottom:2px}
.book .body{font-size:16px;line-height:1.95} /* 2.05→1.95：スマホで54画面分あった縦の長さを詰める（2026-10-26 点検。note・Medium の本文は 1.8 前後） */
.book .body p{margin:0 0 17px}
.body .editorial-figure{margin:28px auto 32px;max-width:520px}
.body .editorial-figure picture{display:block}
.body .editorial-figure img{display:block;width:100%;height:auto;border-radius:16px}
.body .editorial-figure--scene{max-width:100%;margin:32px 0}
.body .editorial-figure figcaption{margin-top:10px;color:#6d5c51;font-size:14px;line-height:1.7}
.body .editorial-figure figcaption span{display:block;margin-top:3px;font-size:11px;letter-spacing:.04em;color:#826f62}
.book .body ul{padding-left:1.3em;margin:0 0 18px}
.book .body blockquote{margin:0 0 18px;padding:12px 16px;border-left:3px solid #b48a5a;background:#e9dec9}
@media (min-width:720px){.book{padding:40px 52px 34px}.book h1{font-size:30px}}
@media (min-width:900px){.book{padding:48px 92px 40px}} /* PC の1行を約36字に（860px幅のままだと45字で長い。note は約35字） */

/* 見返し：この本の要点（3つの箱） */
.endpaper{margin:18px 0 24px;padding:16px 16px 6px;border-radius:6px;background:#e7dcc6;border:1px solid #d6c7aa}
.endpaper h2{margin:0 0 10px;font-size:15px;border:0;padding:0;color:#5a4e44;letter-spacing:.08em}
.ep-cols{display:grid;gap:10px}
@media (min-width:720px){.ep-cols{grid-template-columns:repeat(3,1fr)}}
.ep{padding:10px 12px 4px;border-radius:6px;background:#f6f0e4;border-top:3px solid var(--c)}
.ep h3{font-family:var(--sans);font-size:13px;font-weight:700;color:var(--c);margin:0 0 4px}
.ep ul{margin:0 0 6px;padding-left:1.15em;font-size:14px;line-height:1.75;color:#3a3138}
.ep.known{--c:#4f6b4a}.ep.unknown{--c:#7a6a5a}.ep.yours{--c:#8a3550}

/* 次の一歩：二つの扉 */
.next-step{margin:26px 0}
.doors{list-style:none;margin:0;padding:0;display:grid;gap:12px}
@media (min-width:720px){.doors{grid-template-columns:1fr 1fr}}
.door{display:flex;flex-direction:column;gap:4px;height:100%;padding:16px 18px;border-radius:18px;text-decoration:none;color:#e6dce6;font-size:14px;background:var(--glass);border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.door-name{font-family:var(--serif);font-size:19px;color:var(--ink)}
.door.consult{border-color:rgba(159,192,232,.45)}.door.lounge{border-color:rgba(201,192,230,.45)}
/* 彼氏分析（/kare/。2026-10-30）：本の終わりの扉は、2つの扉の上に横いっぱいで1つ。図書館の入口では、館長の一言の下に紙の手紙のカードを1枚 */
li:has(>.door.kare),li:has(>.door.read){grid-column:1/-1}.door.kare,.door.read{border-color:rgba(232,194,138,.55)}
li:has(>.door.memo){grid-column:1/-1} /* 私の相談メモの扉（2026-11-18 開発計画 1-3）：720px 以上の2列で相談所・ラウンジの組を崩さないよう、横いっぱいに1つ。720px 未満は1列なので変わらない */
.door:hover,.door:focus-visible{border-color:rgba(232,194,138,.7)}
/* 灯台（2026-11-04）：窓口2・3に共通の補足は1か所 */
.panel.lighthouse .doors{margin-top:18px}
/* 窓口の札と利用条件（2026-11-06）：押す前に読める。小さく薄くしない */
.door-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px}
.door .tag{display:inline-block;font-size:12.5px;line-height:1.5;padding:1px 10px;border-radius:999px;border:1px solid rgba(232,194,138,.65);color:#f3e2c4;white-space:nowrap}
.door.consult .tag{border-color:rgba(159,192,232,.65);color:#dbe7f6}
.doors-cond{margin:14px 2px 0;font-size:14px;line-height:1.8;color:#e0d6e0}.doors-cond a{color:var(--rose,#edc7d6);text-underline-offset:3px}
.door-cond{margin:8px 4px 0;font-size:13.5px;color:#e0d6e0}
li:has(>.door){display:flex;flex-direction:column}li:has(>.door)>.door{flex:1}
/* ペンギンが話す（2026-11-06 Founder）：吹き出しは1つ。「…」のあと一言ずつ話し、4秒ごとに次の言葉へ入れ替わる（16秒で一回り）。
   文字は全部本文にあり、同じ場所に重ねて順に出す（opacity・transform だけ。吹き出しの大きさは一番長い言葉で決まり、ほかが動かない）。動きを減らす設定では全部を並べる */
.keeper-talk .talk{display:grid;gap:6px;min-width:0}
.keeper-talk .talk-who{font-size:12px;font-weight:500;color:var(--muted)}
.keeper-talk .say{display:grid;justify-self:start;max-width:100%;padding:10px 14px;border-radius:16px 16px 16px 6px;background:var(--glass);border:1px solid var(--line);color:var(--ink);font-size:14px;line-height:1.8}
.keeper-talk .say>*{grid-area:1/1;margin:0;align-self:center}
.keeper-talk .say>p{padding:0;border:0;background:none;border-radius:0;opacity:0;animation:say 16s linear infinite both}
.keeper-talk .say>p:nth-of-type(2){animation-delay:4s}.keeper-talk .say>p:nth-of-type(3){animation-delay:8s}.keeper-talk .say>p:nth-of-type(4){animation-delay:12s}
.keeper-talk .dots{display:inline-flex;gap:5px;animation:dots 4s linear infinite both}.keeper-talk .dots i{width:6px;height:6px;border-radius:50%;background:var(--muted)}
@keyframes say{0%,3.6%{opacity:0;transform:translateY(4px)}5.5%,22.5%{opacity:1;transform:none}25%,100%{opacity:0;transform:none}}
@keyframes dots{0%,13%{opacity:1}16%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.keeper-talk .say{gap:4px}.keeper-talk .say>*{grid-area:auto}.keeper-talk .say>p{opacity:1;animation:none}.keeper-talk .dots{display:none}}
/* 灯台の背景：街の灯台の外観（node scripts/portal-art.cjs lighthouse）。絵が無い時は夜の色と灯りだけ。図書館と同じ重ね方 */
html[data-section="lighthouse"] body{background:linear-gradient(180deg,rgba(24,20,30,.5),rgba(24,20,30,.9) 46%,#1d1a25 78%),var(--art-lh-tall,none) center top/100% auto no-repeat,radial-gradient(60% 40% at 30% 0,rgba(255,211,138,.16),transparent 70%),#1d1a25;background-attachment:scroll}
@media (min-width:900px){html[data-section="lighthouse"] body{background:linear-gradient(90deg,rgba(24,20,30,.94) 0,rgba(24,20,30,.8) 55%,rgba(24,20,30,.45)),linear-gradient(180deg,transparent 55%,#1d1a25 92%),var(--art-lh-wide,none) right top/auto 100vh no-repeat,radial-gradient(60% 40% at 30% 0,rgba(255,211,138,.16),transparent 70%),#1d1a25;background-attachment:fixed}}
.site-head nav a[aria-current="page"]{color:var(--ink);background:rgba(255,255,255,.07)}
@media (prefers-reduced-motion:reduce){.cover:hover,.cover:focus-visible,.index-card:hover{transform:none}}

/* 本の中：検索語・先に答え・よくある質問 */
.queries{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0;font-size:12px;color:#7a6e74}
.queries span{margin-right:2px}
.book .tag,.shelf-words .tag{min-height:44px;padding:0 14px;border-radius:8px;font-size:13px} /* 押せる物だと分かる形と、指で押せる高さ（2026-10-26 点検：飾りに見えた） */
.book .tag{color:#8a3550;border-color:#d9a5a0;background:#f6efe2}
.book .tag::before,.shelf-words .tag::before{content:"⌕";margin-right:6px;font-size:13px;opacity:.8}
.short-answer{margin:18px 0 0;padding:14px 18px;border-radius:6px;background:#fbf6ec;border-left:4px solid #8a3550}
.short-answer h2{margin:0 0 4px;font-size:14px;border:0;padding:0;color:#8a3550;letter-spacing:.06em}
.short-answer p{margin:0;font-size:16px;line-height:1.95;color:#2b2330}
.faq dl{margin:0}
.faq .qa{padding:12px 0;border-bottom:1px solid #d8ccb6}
.faq dt{font-weight:700;color:#2b2330}
.faq dt::before{content:"Q. ";color:#8a3550}
.faq dd{margin:6px 0 0;color:#3a3138;line-height:1.9}
.faq dd::before{content:"A. ";color:#4f6b4a;font-weight:700}
.catalog h2 .count{color:var(--muted)}

/* 本の目次と「上へ戻る」（2026-10-09 画面の点検） */
.toc-jump{display:none}@media (max-width:899px){.toc-jump{display:inline-flex;align-items:center;justify-content:center;position:fixed;z-index:20;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));min-width:56px;min-height:44px;padding:0 16px;border-radius:999px;background:rgba(43,36,51,.92);color:#f3e6cf;border:1px solid rgba(232,194,138,.45);font-size:14px;text-decoration:none;box-shadow:0 8px 24px -8px rgba(0,0,0,.6)}} /* 長い記事で目次へ戻る（2026-10-26） */
.toc{scroll-margin-top:16px;margin:0 0 26px;padding:14px 18px 10px;border-radius:6px;background:#efe6d4;border:1px solid #d6c7aa}
.toc h2{margin:0 0 6px;font-size:14px;border:0;padding:0;color:#5a4e44;letter-spacing:.08em}
.toc ol{margin:0;padding-left:1.4em;font-size:15px;line-height:1.7}
.toc li{margin:2px 0}
.toc li a{display:block;padding:9px 0;line-height:1.6;color:#8a3550}
.toc-door a{display:block;min-height:44px;line-height:1.6;padding:10px 0;color:#8a3550}
.toc-door{margin:4px 0 0;font-size:14px;border-top:1px solid #d8ccb6}
.book .body h2[id],.faq h2,#ns-h{scroll-margin-top:16px}
.to-top{margin:28px 0 8px;text-align:center}
.to-top a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);color:var(--ink);text-decoration:none}

/* 梟の館長（2026-10-09）：決まった案内の一言。絵は飾り */
.owl-line{display:flex;align-items:flex-end;gap:12px;margin:6px 0 18px}
.owl-line p{margin:0 0 6px;padding:10px 14px;border-radius:16px 16px 16px 6px;background:var(--glass);border:1px solid var(--line);color:var(--ink);font-size:14px;line-height:1.8}
.owl-line p a.owl-link{color:var(--rose,#edc7d6);text-underline-offset:3px}
.owl-line p b{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-bottom:2px}
.owl-pose{flex:none;width:72px;height:90px;background:var(--art-owl-pose) center bottom/contain no-repeat}
@media (min-width:720px){.owl-pose{width:88px;height:110px}}
.keeper-pose{flex:none;width:72px;height:90px;background:var(--art-keeper-pose) center bottom/contain no-repeat}@media (min-width:720px){.keeper-pose{width:88px;height:110px}} /* ペンギンの灯台守（2026-11-04） */
/* 読む前の注意（公開ページ。本文と返信を、読む人が開いてから表示する。2026-10-14） */
details.care-fold{border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:16px 0}
details.care-fold>summary{display:grid;gap:4px;cursor:pointer;list-style:none}details.care-fold>summary strong{color:var(--ink)}
details.care-fold>summary::-webkit-details-marker{display:none}
details.care-fold>summary span{color:var(--muted)}
details.care-fold .fold-open,details.care-fold .fold-close{color:var(--rose);font-weight:600;min-height:44px;display:inline-flex;align-items:center}
details.care-fold[open] .fold-open,details.care-fold:not([open]) .fold-close{display:none}

/* ===== 夜の街の世界観を図書館まで（2026-10-27 Founder 依頼「図書館に世界観を広げる」）=====
   図書館は「夜更けまで灯りのついている、静かな私設図書館」。中の画面（interior.css 末尾）と同じ考え：入る時／中／出る時。
   JavaScript は使わない。動きは prefers-reduced-motion で止める。位置が後から動かない（opacity・固定要素だけ） */
/* 入る時：入口（/columns/ の最初のページ）だけ、暗い幕が晴れて灯りがともる。幕は opacity だけ（filter は使わない。中の画面と同じ） */
html[data-view="entry"] body::after{content:"";position:fixed;inset:0;z-index:60;background:#1f1e29;opacity:0;pointer-events:none;animation:lib-lights-on 1.2s ease-out both}
@keyframes lib-lights-on{from{opacity:.72}to{opacity:0}}
/* 入る時：上の案内が絵に重なって読みにくかった（2026-10-26 点検）。文字に薄い影、絵の上端だけ少し暗く */
html[data-section="library"] .site-head a{text-shadow:0 1px 10px rgba(14,12,20,.9)}
html[data-section="library"] .site-head nav a{background:rgba(27,25,36,.35)}
html[data-section="library"] .site-head nav a[aria-current="page"]{background:rgba(255,255,255,.1)}
html[data-section="library"] .crumbs,html[data-section="library"] .page-head h1,html[data-section="library"] .page-head .lead,html[data-section="library"] .eyebrow{text-shadow:0 1px 12px rgba(14,12,20,.85)}
/* 中：探す欄は「受付の机」。琥珀の灯りが上から当たる */
.lib-search input{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px -14px rgba(232,194,138,.5)}
.lib-search button{box-shadow:0 8px 20px -10px rgba(232,194,138,.8)}
/* 中：棚のページは、その棚の背表紙の色を見出しの横に置く */
.page-head[class*="tone-"]{position:relative;padding-left:18px}
.page-head[class*="tone-"]::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:6px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(232,194,138,.35)}
.page-head.tone-0::before{background:linear-gradient(180deg,#7a3d4f,#5e2f3d)}.page-head.tone-1::before{background:linear-gradient(180deg,#3f4f74,#2f3b58)}.page-head.tone-2::before{background:linear-gradient(180deg,#55663f,#405030)}.page-head.tone-3::before{background:linear-gradient(180deg,#8a6533,#6a4c24)}.page-head.tone-4::before{background:linear-gradient(180deg,#634478,#4b335c)}.page-head.tone-5::before{background:linear-gradient(180deg,#2f6363,#234a4a)}.page-head.tone-6::before{background:linear-gradient(180deg,#7a5040,#5c3c30)}
/* 中：本は、卓上の灯りに照らされた紙。左上から光、右下に重なった頁の厚み、右上に栞の紐 */
.book{position:relative;background:radial-gradient(70% 36% at 14% 0,#fbf6ea 0,rgba(251,246,234,0) 70%),linear-gradient(180deg,#f3ebdc,#efe5d2);box-shadow:0 1px 0 #fff8 inset,3px 3px 0 -1px #e6dbc6,6px 6px 0 -2px #d9cdb5,0 26px 50px -24px rgba(0,0,0,.85)}
.book::after{content:"";position:absolute;top:-2px;right:22px;width:10px;height:52px;background:linear-gradient(90deg,#9a3f5c,#7a2f48);clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);box-shadow:0 4px 8px -4px rgba(0,0,0,.5);pointer-events:none}
@media (min-width:720px){.book::after{right:44px;width:12px;height:76px}}
html[data-view="book"] body{background:radial-gradient(60% 40% at 50% 0,rgba(232,194,138,.14),transparent 70%),linear-gradient(180deg,rgba(24,20,30,.55),rgba(24,20,30,.92) 46%,#1d1a25 78%),var(--art-tall,none) center top/100% auto no-repeat,radial-gradient(120% 60% at 80% -10%,#4a3a3a 0,transparent 60%),var(--bg)} /* 本のページは机の上に灯り */
@media (min-width:900px){html[data-view="book"] body{background:radial-gradient(40% 50% at 50% 0,rgba(232,194,138,.12),transparent 70%),linear-gradient(90deg,rgba(24,20,30,.94) 0,rgba(24,20,30,.82) 55%,rgba(24,20,30,.5)),linear-gradient(180deg,transparent 55%,#1d1a25 92%),var(--art-wide,none) right top/auto 100vh no-repeat,radial-gradient(120% 60% at 80% -10%,#4a3a3a 0,transparent 60%),var(--bg)}}
/* 中：読んだ所の栞。画面の上端に、読み進めた分だけ伸びる細い紐（CSS の scroll() だけ。対応しないブラウザーでは出ない。点滅や自動の動きではない） */
.read-mark{display:none}
@supports (animation-timeline:scroll()){.read-mark{display:block;position:fixed;top:0;left:0;right:0;height:3px;z-index:40;pointer-events:none;background:linear-gradient(90deg,#e8c28a,#f3cf9f);transform-origin:0 50%;transform:scaleX(0);animation:read-mark linear both;animation-timeline:scroll(root);box-shadow:0 1px 6px rgba(232,194,138,.5)}}
@keyframes read-mark{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* 出る時：本の終わりの区切り。小さな灯りと、戻る道だけ（引き止めない） */
.lib-close{margin:30px 0 6px;padding:26px 18px 18px;text-align:center;border-radius:18px;background:radial-gradient(80% 120% at 50% 0,rgba(232,194,138,.12),transparent 70%)}
.lib-close .lamp{display:block;width:22px;height:22px;margin:0 auto 12px;border-radius:50%;background:radial-gradient(circle,#f6dfb3 0,#e8c28a 45%,rgba(232,194,138,0) 72%);box-shadow:0 0 24px 6px rgba(232,194,138,.25)}
.lib-close .lc-h{margin:0 0 6px;font-family:var(--serif);font-size:19px;letter-spacing:.04em;text-shadow:0 1px 12px rgba(14,12,20,.9)}
.lib-close p{margin:0;font-size:14px;color:var(--muted)}
.lib-close .actions{justify-content:center;margin-top:14px}
@media (prefers-reduced-motion:reduce){html[data-view="entry"] body::after{animation:none;display:none}}
