:root{--bg:#f5f5ef;--paper:#fffef9;--ink:#3e543c;--green:#567150;--muted:#7e8b79;--line:#cdd9c7;--sage:#e6eee0;--shadow:0 7px 22px rgba(62,80,53,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.7;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #71956b;outline-offset:2px}[hidden]{display:none!important}.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.shelf-surface{min-height:100vh;background:linear-gradient(180deg,#f5f5ef,#faf9f3 65%,#f5f5ef)}.shelf-header{border-bottom:1px solid var(--line);background:#fbfcf8}.shelf-header-inner{width:min(1080px,calc(100% - 28px));margin:auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px}.shelf-mark{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}.shelf-mark-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #bfceb7;background:#e9f1e4;border-radius:7px;font-size:18px}.shelf-mark strong{display:block;font-size:15px}.shelf-mark small{display:block;font-size:9px;letter-spacing:.12em;color:var(--muted)}.shelf-version{font-size:11px;color:var(--muted)}.shelf-container{width:min(1040px,calc(100% - 28px));margin:auto}.shelf-eyebrow{color:#84957b;letter-spacing:.17em;font-weight:850;font-size:10px}.shelf-hero{min-height:260px;margin:25px 0 18px;padding:33px clamp(22px,5vw,55px);display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:linear-gradient(130deg,#fefefa 12%,#eef4e9);box-shadow:var(--shadow)}.hero-text{position:relative;z-index:1}.shelf-hero h1{margin:2px 0 8px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(30px,4vw,42px);font-weight:750;letter-spacing:.05em}.shelf-hero p{margin:0 0 21px;line-height:2;color:#64725f;font-size:13px}.hero-actions{display:flex;flex-wrap:wrap;gap:8px}.shelf-button{display:inline-flex;justify-content:center;align-items:center;gap:5px;text-decoration:none;min-height:41px;padding:10px 16px;background:#fcfefa;color:#4c6847;border:1px solid #b9cbb1;border-radius:6px;font-size:12px;font-weight:800;line-height:1.3;cursor:pointer}.shelf-button:hover{background:#f0f6eb;border-color:#84a178}.shelf-button.strong{background:#658661;color:white;border-color:#658661}.shelf-button.strong:hover{background:#557852}.shelf-button.subtle{background:transparent;color:#747e6d}.hero-books{width:205px;height:157px;flex:none;position:relative;transform:rotate(-5deg)}.hero-books .book{position:absolute;bottom:4px;width:53px;height:142px;border-radius:5px 3px 2px 4px;border:1px solid #b7c3a5;box-shadow:4px 5px #9cae9b20,0 9px 19px #68795a22}.book-a{left:7px;background:linear-gradient(90deg,#b1c5a9 9px,#dce8cf 10px 45px,#c2d4bd 46px)}.book-b{left:67px;background:linear-gradient(90deg,#c4af8e 8px,#f0ddbc 9px 43px,#d6c2a6 44px);transform:translateY(-9px)}.book-c{left:125px;background:linear-gradient(90deg,#a4afc2 8px,#dce3ed 9px 44px,#bfcbd6 45px);transform:translateY(7px)}.book-plant{position:absolute;right:-4px;top:-37px;font-size:25px;color:#7fa17a;transform:rotate(25deg)}
.shelf-feature{background:#fffefb;border:1px solid var(--line);border-radius:9px;display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:center;margin-bottom:40px;padding:17px;box-shadow:var(--shadow)}.feature-art{min-height:199px;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:20px 12px;background:linear-gradient(150deg,#dce8d2,#d1dfce);border:1px solid #c1d3b7;color:#517351;text-align:center}.feature-art span{font-family:serif;letter-spacing:.17em;font-size:13px}.feature-art small{font-size:10px;letter-spacing:.26em}.cover-tree{font-size:48px;color:#6d906e}.feature-copy{padding:9px 8px 9px 0}.feature-copy h2{font-family:"Yu Mincho",serif;font-size:26px;margin:4px 0 8px}.feature-copy p{margin:0 0 13px;color:#62725e;font-size:12px}.feature-copy .tiny-note{font-size:11px;color:#7c8877}
.shelf-section{margin-bottom:37px}.section-head{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:8px 15px;margin-bottom:15px;border-bottom:1px dotted #b5c6ae;padding-bottom:10px}.section-head h2{margin:2px 0 0;font-size:23px;line-height:1.4}.section-small{font-size:11px;color:#7b8777}.search-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}.search-field{flex:1 1 250px}.search-field input{width:100%;min-height:40px;padding:9px 12px;border:1px solid #c8d7c3;background:#fffefa;border-radius:6px;font-size:12px}.type-filters{display:flex;gap:5px}.filter{padding:8px 12px;background:#fdfefb;color:#5d7457;border:1px solid #cedaca;border-radius:5px;min-height:39px;font-size:11px;font-weight:750}.filter.active{background:#e2eddd;border-color:#92af86;color:#365d37}.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.story-tile{background:#fffefa;border:1px solid #d3decf;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;min-width:0;box-shadow:var(--shadow)}.story-tile .cover{height:124px;background:#e9eee2;display:flex;flex-direction:column;justify-content:space-between;padding:16px 16px 12px;color:#4d684b}.story-tile .cover.sound{background:#e5e9ed;color:#516977}.story-tile .cover .type{font-size:10px;font-weight:800;letter-spacing:.06em}.story-tile .cover .emblem{font-family:serif;font-size:34px;text-align:center;line-height:1}.story-tile .tile-content{padding:15px 15px 5px;flex:1;overflow-wrap:anywhere}.story-tile h3{font-family:"Yu Mincho",serif;font-size:18px;line-height:1.5;margin:0 0 4px}.story-tile .writer{font-size:11px;color:#6a7966;margin:0 0 8px}.story-tile .abstract{font-size:12px;color:#6a7667;margin:0 0 12px;line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:50px}.story-tile .tile-foot{padding:6px 15px 13px;display:flex;justify-content:space-between;gap:7px;align-items:center;flex-wrap:wrap}.story-tile .tile-foot .genre{color:#7c8d74;font-size:10px}.story-tile .tile-foot a{color:#3b653c;font-size:12px;font-weight:850;text-decoration:none}.story-tile .tile-foot a:hover{text-decoration:underline}.shelf-empty{grid-column:1/-1;text-align:center;border:1px dashed #b9cbb1;border-radius:8px;background:#fcfdf9;padding:33px 18px;color:#73846e;font-size:13px}.shelf-empty p{margin:0 0 9px}.shelf-footnote{font-size:10px;color:#7c8975;line-height:1.7;margin:13px 0}.local-section{padding:22px;border-radius:9px;background:#fdfef9;border:1px solid var(--line)}.local-lead{margin:0 0 18px}.local-categories{display:grid;grid-template-columns:1fr 1fr;gap:16px}.local-box{padding:17px;border:1px solid #d8e2d2;border-radius:7px;background:white;min-width:0}.local-box-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:11px}.local-box-head h3{margin:0;font-size:15px}.local-box-head a{font-size:11px;text-decoration:none;color:#3b6b3c;font-weight:800}.local-list{display:grid;gap:7px}.local-item{border:1px solid #e0e8dc;border-radius:6px;padding:10px 12px;min-width:0}.local-item-title{font-size:12px;font-weight:850;word-break:break-word}.local-item-info{font-size:10px;color:#73816f;margin:3px 0 8px}.local-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.local-actions a,.local-actions button{border:1px solid #cddac5;border-radius:5px;color:#466e44;background:#f8fbf5;text-decoration:none;font-size:11px;padding:6px 9px;line-height:1.25;min-height:31px}.local-actions button[aria-pressed=true]{background:#e4eddd}.local-actions .danger{color:#996454;border-color:#eadad3;background:#fffdfa}.local-empty{padding:8px;color:#81907c;font-size:11px}.shelf-status{font-size:12px;color:#4e754d;min-height:22px;margin-top:9px}.shelf-footer{text-align:center;color:#809079;font-size:11px;border-top:1px solid #d6e1d1;padding:22px 12px 35px}
.shelf-narrow{max-width:800px;margin:0 auto;padding:30px 15px 65px}.back-link{display:inline-flex;font-size:12px;font-weight:750;color:#537450;text-decoration:none;margin-bottom:22px}.editor-heading h1{font-family:"Yu Mincho",serif;font-size:29px;margin:4px 0 5px}.editor-heading p{color:#7e8b78;font-size:12px;margin:0 0 17px}.editor-fields{border:1px solid #d4e0ce;border-radius:8px;padding:22px;background:#fffefb}.editor-field{display:grid;gap:6px;font-size:12px;color:#516b4d;font-weight:750;margin-bottom:16px}.editor-field:last-child{margin-bottom:0}.editor-field b{font-size:10px;color:#9a6654}.editor-field input,.editor-field select,.editor-field textarea{border:1px solid #cddbc6;border-radius:6px;background:#fff;color:#344b34;width:100%;padding:11px 12px;font-weight:400;min-height:42px}.editor-field textarea{resize:vertical;line-height:1.85}.editor-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.editor-stats{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#7c8b77;margin:10px 2px 16px}.editor-actions{display:flex;gap:9px;flex-wrap:wrap}.reader-paper{border:1px solid #d5dfcd;box-shadow:0 8px 35px rgba(53,61,43,.06);background:#fffefb;border-radius:8px;padding:clamp(21px,6vw,54px);margin-bottom:17px}.reader-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.reader-genre{font-size:11px;color:#6b8565}.reading-settings{display:flex;gap:5px}.reading-settings button{border:1px solid #d8e1d2;background:#f7faf5;border-radius:5px;padding:5px 8px;font-size:11px;color:#567153}.reader-paper h1{text-align:center;margin:40px 0 14px;font-family:"Yu Mincho",serif;font-size:clamp(24px,4.2vw,36px);font-weight:700;line-height:1.5;overflow-wrap:anywhere}.reader-author{text-align:center;color:#70826d;font-size:12px;margin:0 0 35px}.reader-summary{font-size:12px;color:#7b8979;border-bottom:1px solid #e1e9db;padding-bottom:18px;margin-bottom:25px;white-space:pre-wrap;overflow-wrap:anywhere}.reader-prose{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:var(--reader-size,17px);line-height:2.15;color:#39453a;white-space:pre-wrap;overflow-wrap:anywhere}.reader-prose p{margin:0 0 1.25em}.reader-end{text-align:center;color:#879581;font-size:12px;margin:48px 0 3px}.reader-bottom{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
@media(max-width:760px){.shelf-hero{margin-top:14px;padding:25px 22px;min-height:220px}.hero-books{width:120px;height:130px;transform:scale(.65) rotate(-5deg);transform-origin:left center;margin-right:-52px}.shelf-feature{grid-template-columns:135px 1fr;gap:16px}.feature-art{min-height:180px}.feature-copy h2{font-size:20px}.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-header-inner{min-height:58px}.local-categories{grid-template-columns:1fr}}
@media(max-width:520px){.shelf-header .shelf-version{display:none}.shelf-hero{min-height:0;gap:0}.shelf-hero p{font-size:12px}.hero-books{display:none}.shelf-feature{grid-template-columns:1fr;gap:10px;padding:12px}.feature-art{min-height:115px;flex-direction:row;padding:13px 20px}.feature-copy{padding:4px 8px 9px}.shelf-grid{grid-template-columns:1fr 1fr;gap:8px}.story-tile .cover{height:100px;padding:11px}.story-tile .tile-content{padding:11px 10px 5px}.story-tile h3{font-size:16px}.story-tile .tile-foot{padding:5px 10px 11px}.story-tile .abstract{font-size:11px}.local-section{padding:14px}.type-filters{width:100%;justify-content:stretch}.filter{flex:1}.editor-row{grid-template-columns:1fr;gap:0}.editor-fields{padding:14px}.shelf-narrow{padding:19px 11px 60px}.reader-paper{padding:20px}.reader-paper h1{margin-top:26px}.shelf-hero h1{font-size:30px}}
@media(max-width:340px){.shelf-grid{grid-template-columns:1fr}.hero-actions{display:grid}.hero-actions a{justify-content:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Phase 12.95: calm publication-preparation UI; no online submit buttons. */
.release-box{border-top:1px dotted #b8c9b0;margin-top:21px;padding-top:23px}
.release-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.release-heading h3{font-size:18px;margin:0 0 4px}
.release-heading+.release-box p{margin-top:5px}
.release-box>p{font-size:12px;color:#6c7c68;line-height:1.75}
.release-local-label{font-size:10px;font-weight:750;background:#f6eee1;border:1px solid #dacdb9;color:#866849;padding:5px 8px;border-radius:4px}
.release-steps{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px}
.release-steps span{border:1px solid #d0dfca;background:#f7faf4;border-radius:4px;padding:7px 9px;font-size:11px;color:#597655}
.release-queue{display:grid;gap:8px}
.release-item{background:white;border:1px solid #dce6d6;padding:12px;border-radius:6px;display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.release-item strong{display:block;font-size:13px;overflow-wrap:anywhere}
.release-item small{display:block;color:#738574;font-size:10px}
.release-item-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.release-item-actions a,.release-item-actions button{display:inline-flex;align-items:center;min-height:33px;padding:7px 10px;text-decoration:none;border:1px solid #c4d5ba;border-radius:5px;background:#f7faf4;color:#426843;font-size:11px;font-weight:750}
.release-empty{margin:0;padding:14px;background:#f9fbf6;border:1px dashed #c9d8c2;font-size:11px;color:#788574;border-radius:5px}
.release-editor-check{padding:16px 18px;margin:3px 0 15px;background:#f3f7ef;border:1px solid #d5e1cc;border-radius:8px}
.release-editor-check strong{font-size:14px}.release-editor-check p{font-size:11px;line-height:1.6;color:#6c7d66;margin:6px 0 10px}
.rights-line{display:flex;align-items:flex-start;gap:9px;color:#526c4c;font-size:12px;cursor:pointer}
.rights-line input{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:#61845c}
.release-editor-check .ready-checklist{color:#63775d;font-weight:650;margin-bottom:0}
@media(max-width:520px){.release-item{align-items:flex-start;flex-direction:column}.release-heading h3{font-size:17px}}

/* Phase 14.55: readable, finger-friendly book category controls. */
@media (max-width: 820px){.type-filters .filter{min-height:44px;touch-action:manipulation}}

/* Phase 14.60 parent production navigation */
.monogatari-parent-link{max-width:1100px;margin:0 auto;padding:10px 20px 0;font-size:12px}.monogatari-parent-link a{color:#597657;text-decoration:none;font-weight:750}.monogatari-parent-link a:hover{text-decoration:underline}
