*{box-sizing:border-box}body{margin:0;background:#f2f5f3;color:#203c33;font:16px/1.6 'Yu Gothic UI',Meiryo,sans-serif}header{background:#fff;border-bottom:1px solid #d4dfd8;padding:18px 5%;display:flex;justify-content:space-between;align-items:center}a{color:inherit;text-decoration:none}header>a:first-child{font-weight:bold;font-size:22px}small{font-size:12px;color:#657e73}header small{margin-left:12px}button,.button,input,select,textarea{font:inherit;border:1px solid #c2d2c8;background:white;border-radius:8px;padding:9px 13px;color:inherit}button,.button{cursor:pointer;min-height:44px}button:hover,.button:hover{background:#e4f2e9}.primary,.active{background:#17694e;color:white}main{display:grid;grid-template-columns:250px 1fr;max-width:1350px;margin:auto;min-height:80vh}aside{padding:28px 20px;border-right:1px solid #d4dfd8}aside p,.intro{color:#657e73;font-size:14px}section{padding:28px 38px;min-width:0}h1{font-size:30px;margin:4px 0}h2{font-size:18px}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px}details{margin:12px 0}summary{cursor:pointer;padding:10px;font-weight:bold}#genres button{display:block;margin:6px 0 6px 20px;width:calc(100% - 20px);text-align:left}.theme{border:1px solid #cedcd2;border-radius:12px;background:#fff;margin:20px 0;overflow:hidden}.theme>summary{padding:18px;background:#edf4ee}.theme-content{padding:8px 20px 20px}.branch{margin:18px 0 0 14px;padding-left:22px;border-left:2px solid #c9ddce}.post{border:1px solid #cddbd2;border-radius:10px;background:#fff;padding:16px;max-width:680px;position:relative}.post h3{font-size:18px;margin:8px 0}.post p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.post img{max-width:100%;max-height:420px;object-fit:contain;display:block;background:#f1f4f2}.badge{font-size:12px;padding:4px 8px;border-radius:4px;background:#e5f0e8;color:#346a4e}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.actions button{font-size:14px}.children>summary{font-size:13px;color:#597767}.empty{padding:20px;color:#6a8074}#notice{margin:0;padding:15px 5%;background:#e4eee7;font-size:13px}dialog{width:min(560px,94vw);border:0;border-radius:14px;padding:24px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#163d2f88}label{display:block;margin:12px 0}input,textarea,select{display:block;width:100%;margin-top:5px}textarea{resize:vertical}#imagePreview{max-width:100%;max-height:200px;margin-top:12px}#error{color:#a02f2f}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d2a846;outline-offset:3px}[hidden]{display:none!important}@media(max-width:700px){main{display:block}aside{border:0;padding:14px 18px}#genres{display:flex;gap:10px;flex-wrap:wrap}#genres details{flex:1;min-width:135px}section{padding:12px}header{padding:12px}header>a:first-child{font-size:18px}header small{display:block;margin:0}.heading{align-items:flex-start}h1{font-size:24px}.theme-content{padding:8px}.branch{margin-left:4px;padding-left:12px}.post{padding:12px}.button{font-size:13px}}

.adaptations{margin-top:20px;padding-top:12px;border-top:2px solid #ceded3}.adaptations h4{margin:4px 0 12px;font-size:14px}.adaptation{margin:12px 0}.adaptation>.post{background:#f5f9f6}.reactions button.active{background:#17694e;color:white}

/* Story map: continuation edges run left to right; adaptations stay under their source. */
.map-guide{font-size:13px;color:#557363;margin:16px 0 8px}.tree-map{overflow:auto;padding:20px 20px 32px;background:radial-gradient(#cbdcd0 1px,transparent 1px) 0 0/16px 16px;border-radius:10px;max-height:75dvh;min-height:240px}.tree-map>.branch+.branch{margin-top:38px}.tree-map .branch{display:flex;align-items:flex-start;gap:0;margin:0;padding:0;border:0;position:relative;width:max-content}.node{width:270px;flex:0 0 270px;position:relative}.post{width:100%;padding:12px;box-shadow:0 3px 10px #183a2310}.post h3{font-size:16px;margin:6px 0}.post .excerpt{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65}.post>.actions{gap:5px;margin-top:8px}.post button{font-size:13px;padding:6px 8px}.from-parent{font-size:12px;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#dcece1;padding:4px 8px;margin-bottom:6px;border-radius:4px}.tree-map .children{position:relative;margin:18px 0 0 0;padding:0 0 0 44px;border:0}.tree-map .children::before{content:'';position:absolute;top:16px;left:0;width:44px;border-top:2px solid #37825c}.tree-map .children>summary{position:relative;font-size:12px;background:#e3f0e8;border:1px solid #9cbfa9;padding:6px 10px;min-height:34px;margin:0 0 14px 0;border-radius:6px;width:max-content}.tree-map .children>.branch{margin:0;padding:0 0 24px 24px;border-left:2px solid #37825c}.tree-map .children>.branch:last-child{border-left-color:transparent}.tree-map .children>.branch::before{content:'';position:absolute;left:-2px;top:0;width:24px;height:18px;border-left:2px solid #37825c;border-bottom:2px solid #37825c;border-bottom-left-radius:8px}.tree-map .children>.branch::after{content:'';position:absolute;left:18px;top:14px;border-left:7px solid #37825c;border-top:5px solid transparent;border-bottom:5px solid transparent}.post .thumbnail{display:block;width:104px;padding:3px;margin:8px 0;background:#edf4ee}.post .thumbnail img{width:96px;height:120px;max-width:96px;object-fit:contain}.thumbnail span{font-size:11px;display:block}.adaptations{padding-top:8px;margin-top:12px;border-top:2px dashed #9fbba9}.adaptations h4{font-size:12px}.adaptation .node{width:100%;min-width:0;flex-basis:auto}.adaptation .post{box-shadow:none}.adaptation>.children{margin-left:0}.adaptation .children .node{width:270px}.reader{width:min(760px,94vw)}.reader>button{position:sticky;top:0;float:right;background:#fff}.reader p{white-space:pre-wrap;overflow-wrap:anywhere}.reader img{display:block;max-width:100%;height:auto;margin-top:16px}@media(max-width:700px){.tree-map{padding:12px;max-height:72dvh}.node{width:240px;flex-basis:240px}.tree-map .children{padding-left:28px}.tree-map .children::before{width:28px}.from-parent{max-width:240px}}

.update-badge{display:inline-block;margin-left:8px;background:#b72c34;color:white;border-radius:4px;padding:1px 7px;font-size:12px;font-weight:bold}.children[open]>summary .update-badge{display:none}

.post button.adaptation-title,.post button.adaptation-description{display:block;width:100%;min-width:0;min-height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;background:transparent;border:0;border-radius:4px;padding:8px 0}.post button.adaptation-title{font-size:16px;font-weight:bold}.post button.adaptation-description{font-size:14px;font-weight:normal}.post button.adaptation-title:hover,.post button.adaptation-description:hover{background:#e3eee6}

/* Route map: every continuation is shown as its own titled branch. */
.tree-map .route-branches{margin-top:8px;padding-left:44px}.tree-map .route-branches::before{top:22px}.tree-map .route-branches>.branch{padding-bottom:16px}.title-node{width:270px;min-height:52px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;background:#fff;border:1px solid #9fbba9;border-radius:9px;box-shadow:0 3px 10px #183a2310}.route-title{min-width:0;min-height:36px;padding:5px 7px;border:0;background:transparent;text-align:left;font-weight:bold;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-title:hover{background:#e4f2e9}.route-page{font-size:11px;color:#557363;white-space:nowrap}.title-node .update-badge{margin-left:0;padding:1px 5px;font-size:10px;white-space:nowrap}.reader .reactions{clear:both;margin-top:18px}.reader-adaptation{margin-top:12px;padding:12px;border:1px solid #cedcd2;border-radius:10px;background:#f5f9f6}.reader-adaptation small{display:block}.reader-adaptation img{max-height:520px;object-fit:contain}
@media(max-width:700px){.tree-map .route-branches{padding-left:28px}.title-node{width:240px}}
.title-node{grid-template-columns:auto auto minmax(0,1fr) auto}.media-kind{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:27px;padding:2px 5px;border-radius:7px;border:1px solid #b7cbbd;background:#edf5ef;font-size:13px;line-height:1;white-space:nowrap}.media-kind.manga{background:#edf1f8;border-color:#b9c6da}.media-kind.both{background:#f4eff8;border-color:#cdbcdc;font-size:11px}.post-title{display:flex;align-items:center;gap:8px}.post-title .adaptation-title{flex:1}.route-title{grid-column:auto}

.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.auth-status{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#597767}.auth-dialog{width:min(460px,94vw)}.auth-dialog form{position:relative}.dialog-close{position:absolute;right:-10px;top:-12px;border:0;background:transparent;font-size:26px;line-height:1;padding:4px 10px}.auth-lead{margin:0 0 16px;color:#657e73;font-size:14px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px}.auth-tabs button{min-height:42px}.auth-tabs button.active{background:#17694e;color:#fff}.forgot-password{display:block;margin:-5px 0 10px auto;padding:4px 0;min-height:30px;border:0;background:transparent;color:#17694e;text-decoration:underline;font-size:13px}.auth-note{font-size:13px;color:#597767;background:#edf4ee;padding:9px;border-radius:7px}.auth-message{min-height:25px;margin:10px 0;color:#a02f2f;font-size:14px}.auth-message.success{color:#17694e}.auth-submit{display:block;width:100%;font-weight:bold}.auth-submit:disabled{opacity:.55;cursor:wait}@media(max-width:700px){header{align-items:flex-start;gap:8px}.header-actions{flex-wrap:wrap}.auth-status{width:100%;text-align:right}.header-actions button,.header-actions .button{min-height:38px;padding:6px 9px;font-size:12px}}
.notification-link{margin-left:8px;border:0;background:transparent;color:#a02f2f;font-weight:bold}.notification-link:hover{background:#fff1f1}.notification-dialog{width:min(600px,94vw)}.notification-item{padding:12px 0;border-top:1px solid #d4dfd8}.notification-item p{white-space:pre-wrap;margin:6px 0}.notification-item small{display:block}.notification-link.has-unread{color:#bb202c}.admin-post-link{border:0;background:transparent;padding:0;min-height:0;color:#17694e;font-weight:bold;text-decoration:underline;text-align:left}
.account-list-dialog{width:min(960px,96vw);max-width:96vw}.account-list-dialog table{width:100%;border-collapse:collapse;margin-top:16px;font-size:14px}.account-list-dialog th,.account-list-dialog td{border:1px solid #c7d5cd;padding:9px;text-align:left;vertical-align:middle}.account-list-dialog th{background:#e8f0eb;white-space:nowrap}.account-list-dialog td:nth-child(2){word-break:break-all}.account-list-dialog td:last-child{white-space:nowrap}.account-list-dialog td:last-child button{min-height:34px;padding:4px 8px;margin-right:4px}

.splash{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:#123f34;color:#fff;overflow:hidden;opacity:1;transition:opacity .45s ease}.splash.leaving{opacity:0;pointer-events:none}.splash-skip{position:absolute;right:18px;bottom:max(18px,env(safe-area-inset-bottom));border-color:#ffffff66;background:#ffffff14;color:#fff;min-height:42px;padding:7px 16px}.splash-skip:hover{background:#ffffff25}.splash-center{text-align:center;transform:translateY(-2vh)}.splash-center h1{margin:8px 0 0;font-size:clamp(30px,9vw,52px);letter-spacing:.12em;opacity:0;transform:translateY(10px);animation:splash-title .7s 1.45s ease forwards}.splash-center p{margin:12px 0 0;font-size:12px;letter-spacing:.42em;color:#d5ebe2;opacity:0;animation:splash-brand .7s 2s ease forwards}.story-tree{position:relative;width:190px;height:150px;margin:auto}.story-tree i{position:absolute;display:block}.trunk,.branch{height:3px;border-radius:3px;background:#d7eee3;transform-origin:left center;transform:scaleX(0)}.trunk{width:82px;left:54px;top:126px;transform:rotate(-90deg) scaleX(0);animation:grow-trunk .55s .15s ease-out forwards}.branch{width:70px;left:94px;top:79px}.b1{transform:rotate(-34deg) scaleX(0);animation:grow-b1 .45s .65s ease-out forwards}.b2{transform:rotate(34deg) scaleX(0);animation:grow-b2 .45s .72s ease-out forwards}.b3{width:50px;left:142px;top:40px;transform:rotate(-28deg) scaleX(0);animation:grow-b3 .4s 1.03s ease-out forwards}.b4{width:50px;left:142px;top:116px;transform:rotate(28deg) scaleX(0);animation:grow-b4 .4s 1.1s ease-out forwards}.leaf{width:10px;height:10px;border-radius:50%;background:#f0c66b;opacity:0;transform:scale(.2);animation:node-appear .35s 1.35s ease-out forwards}.l1{left:180px;top:12px}.l2{left:156px;top:52px}.l3{left:156px;top:102px}.l4{left:180px;top:135px}@keyframes grow-trunk{to{transform:rotate(-90deg) scaleX(1)}}@keyframes grow-b1{to{transform:rotate(-34deg) scaleX(1)}}@keyframes grow-b2{to{transform:rotate(34deg) scaleX(1)}}@keyframes grow-b3{to{transform:rotate(-28deg) scaleX(1)}}@keyframes grow-b4{to{transform:rotate(28deg) scaleX(1)}}@keyframes node-appear{to{opacity:1;transform:scale(1)}}@keyframes splash-title{to{opacity:1;transform:none}}@keyframes splash-brand{to{opacity:1}}@media(prefers-reduced-motion:reduce){.splash-center h1,.splash-center p,.story-tree i{animation-duration:.01ms;animation-delay:0s}.splash{transition-duration:.01ms}}
/* 起動画面用の .branch と物語ツリーの .branch が重ならないよう復旧。 */
.tree-map .branch{height:auto;background:transparent;transform:none;transform-origin:initial;border-radius:0}
/* 枝の方向：漫画化は下、続きは右。 */
.tree-map .branch{display:flex;align-items:flex-start;position:relative;width:max-content;max-width:none;gap:0}
.tree-map .branch.has-down{flex-direction:column}
.tree-map .down-branches{display:flex;flex-direction:column;gap:12px;margin:18px 0 0 34px;padding-left:28px;position:relative}
.tree-map .down-branches::before{content:"";position:absolute;left:0;top:-18px;bottom:28px;width:2px;background:#23845f}
.tree-map .down-branches>.branch::before{content:"";position:absolute;left:-28px;top:28px;width:28px;height:2px;background:#23845f}
.tree-map .right-branches{display:flex;flex-direction:column;gap:12px;margin:0 0 0 40px;padding-left:32px;position:relative}
.tree-map .right-branches::before{content:"";position:absolute;left:0;top:28px;bottom:28px;width:2px;background:#23845f}
.tree-map .right-branches>.branch::before{content:"";position:absolute;left:-32px;top:28px;width:32px;height:2px;background:#23845f}
.tree-map .post.expandable{cursor:pointer}
.tree-map .post.expandable:hover{border-color:#23845f;box-shadow:0 4px 14px #154d3817}
@media(max-width:700px){.tree-map .down-branches{margin-left:18px;padding-left:22px}.tree-map .down-branches>.branch::before{left:-22px;width:22px}.tree-map .right-branches{margin-left:22px;padding-left:24px}.tree-map .right-branches>.branch::before{left:-24px;width:24px}}
/* カード本体はタイトル、右端の記号だけが枝の開閉。 */
.tree-map .title-node{grid-template-columns:auto auto minmax(0,1fr) auto auto}
.tree-map .branch-toggle{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font-weight:bold;line-height:1;background:#edf5ef;color:#17694e}
.tree-map .branch-toggle:hover{background:#d7ecdf}
.tree-map .down-branches>.branch,.tree-map .right-branches>.branch{flex-shrink:0}
.tree-map .branch.has-down>.right-branches{margin:18px 0 0 40px}
@media(max-width:700px){.tree-map .title-node{width:240px}.tree-map .branch-toggle{width:30px;min-width:30px;height:30px;min-height:30px}}
/* 展開しても、元の枠は絶対に伸ばさない。枝だけが枠の外へ増える。 */
.tree-map .node.title-node{height:54px;min-height:54px;max-height:54px;align-self:flex-start;overflow:hidden}
.tree-map .branch.has-down>.node.title-node{flex:0 0 54px}
.tree-map .down-branches{align-self:flex-start;min-height:54px}
.tree-map .right-branches{align-self:flex-start;min-height:54px}
.tree-map .down-branches::before{bottom:27px}
.tree-map .right-branches::before{bottom:27px}
@media(max-width:700px){.tree-map .node.title-node{height:52px;min-height:52px;max-height:52px}.tree-map .branch.has-down>.node.title-node{flex-basis:52px}}
/* 枝はCSSグリッドで「親・右の続き・下の漫画化」を別マスに固定する。 */
.tree-map .branch,.tree-map .branch.has-down{display:grid;grid-template-columns:270px max-content;grid-template-rows:auto auto;align-items:start;width:max-content;height:auto;margin:0;padding:0;border:0;gap:0}
.tree-map>.branch{margin-left:0!important}
.tree-map .branch>.node{grid-column:1;grid-row:1}
.tree-map .branch>.right-branches{grid-column:2;grid-row:1;align-self:start;margin:0 0 0 40px}
.tree-map .branch>.down-branches{grid-column:1;grid-row:2;align-self:start;margin:18px 0 0 34px}
.tree-map .branch>.right-branches,.tree-map .branch>.down-branches{min-height:54px}
.tree-map .branch.has-down>.node.title-node{flex:none}
.tree-map .tree-map{}.tree-map>.branch+.branch{margin-top:38px}
@media(max-width:700px){.tree-map .branch,.tree-map .branch.has-down{grid-template-columns:240px max-content}.tree-map .branch>.right-branches{margin-left:22px}.tree-map .branch>.down-branches{margin-left:18px}}
/* 縦線は疑似要素に任せず、枝の土台そのものに描く。 */
.tree-map .right-branches,.tree-map .down-branches{border-left:2px solid #23845f}
.tree-map .right-branches::before,.tree-map .down-branches::before{display:none}
.tree-map .right-branches>.branch,.tree-map .down-branches>.branch{z-index:1}
/* 枝マップ専用の座標配置。枠と線を同じ座標から作る。 */
.tree-map{padding:10px;overflow:auto;touch-action:pan-x pan-y}
.tree-canvas{position:relative;min-width:100%;min-height:240px}
.tree-lines{position:absolute;inset:0;pointer-events:none;overflow:visible}
.tree-card{position:absolute;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:7px;width:270px;height:54px;padding:7px 8px;background:#fff;border:1px solid #9fbba9;border-radius:9px;box-shadow:0 3px 10px #183a2310}
.tree-card .route-title{min-width:0;min-height:36px;padding:5px 7px;border:0;background:transparent;text-align:left;font-weight:bold;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tree-card .branch-toggle{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font-weight:bold;line-height:1;background:#edf5ef;color:#17694e}
.tree-card .update-badge{position:absolute;top:-9px;right:8px;margin:0;z-index:1}
.hidden-warning{color:#c5252d;font-weight:bold;font-size:22px;line-height:1}
@media(max-width:700px){.tree-card{width:240px}.tree-card .branch-toggle{width:30px;min-width:30px;height:30px;min-height:30px}}
.theme>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.read-mode{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:13px;font-weight:normal}.read-mode input{display:inline-block;width:auto;margin:0}.read-button{margin-left:8px}.tree-card{grid-template-columns:auto auto auto minmax(0,1fr) auto}.page-check{width:18px;height:18px;margin:0;accent-color:#17694e}.tree-card.selected-page{border-color:#17694e;box-shadow:0 0 0 3px #bde0cc,0 3px 10px #183a2310}.connected-reader .connected-page{min-height:280px}.connected-reader .connected-page img{max-height:65dvh;object-fit:contain}.connected-reader>small{display:block;margin:8px 0;color:#557363}@media(max-width:700px){.theme>summary{align-items:flex-start;flex-direction:column}.read-mode{font-size:14px}}
.page-check:disabled{opacity:.32}.connected-reader .reader-nav{position:sticky;top:0;z-index:2;align-items:center;margin:0 -4px 14px;padding:8px 4px;background:#fff;border-bottom:1px solid #d4dfd8}.connected-reader .reader-nav small{margin-left:auto;color:#557363}.connected-reader .reader-nav button{white-space:nowrap}

#genres button{display:flex;align-items:center;justify-content:space-between;gap:8px}.genre-count{font-size:12px;font-weight:normal;color:#597767;white-space:nowrap}.active .genre-count{color:#e4f2e9}#crumb button{min-height:auto;padding:0;border:0;background:transparent;border-radius:0;color:#356b55;text-decoration:underline;font-size:inherit}#crumb button:hover{color:#17694e;background:transparent}

/* 漫画ページと文章ページで、読書画面の大きさ・操作位置を変えない。 */
.connected-reader{width:min(760px,94vw);height:min(90dvh,860px);max-height:90dvh;overflow:hidden;display:flex;flex-direction:column}.connected-reader .reader-nav{flex:0 0 auto}.connected-reader .connected-page{flex:1 1 auto;min-height:0;overflow:auto;padding:0 4px 18px}.connected-reader .connected-page img{max-height:65dvh;object-fit:contain}

/* スマホの入口はジャンル一覧、ジャンルを選んだ後にツリーを見せる。 */
.total-posts{margin:26px 0 0;padding:10px 12px;background:#e4eee7;border-radius:8px;font-size:14px;font-weight:bold}.theme-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 20px}.theme-link{min-height:38px;padding:6px 11px;font-size:13px;background:#fff;text-align:left}
/* PCのホームは左サイドバーに閉じ込めず、ジャンルを横に広く並べる。ジャンルを開いた後だけ左＝ジャンル、右＝ツリーに戻る。 */
@media(min-width:701px){
  .home-view main{display:block;max-width:1120px;min-height:calc(100dvh - 94px)}
  .home-view #genrePanel{border-right:0;padding:42px 36px 56px}
  .home-view #homeOnly{max-width:620px}
  .home-view #genres{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;margin-top:34px}
  .home-view #genres details{margin:0;min-width:0}
  .home-view #genres details:last-child{grid-column:1 / -1;max-width:calc((100% - 44px)/3)}
  .home-view #genres summary{padding:0 0 10px;font-size:18px}
  .home-view #genres button{width:100%;margin:8px 0 0;padding:11px 13px;font-size:16px}
}
@media(max-width:700px){
  header{position:sticky;top:0;z-index:20;display:block;padding:12px 18px;box-shadow:0 2px 8px #173b2d12}
  header>a:first-child{display:block;font-size:23px;line-height:1.2}
  header small{display:inline;margin-left:9px;font-size:11px}
  .header-actions{margin-top:10px;justify-content:flex-start;gap:7px}
  .auth-status{width:auto;max-width:92px;text-align:left;order:3}
  .header-actions button,.header-actions .button{min-height:39px;padding:6px 9px;font-size:12px}
  .home-view main{min-height:calc(100dvh - 125px)}
  .home-view #genrePanel{padding:28px 20px 42px}
  .home-view #genrePanel h2{font-size:23px;margin:0 0 18px}
  .home-view #genres{display:grid;grid-template-columns:1fr 1fr;gap:22px 14px;margin-top:30px}
  .home-view #genres details{min-width:0;margin:0}
  .home-view #genres details:last-child{grid-column:1 / -1}
  .home-view #genres summary{padding:0 0 8px;font-size:17px}
  .home-view #genres button{width:100%;margin:7px 0 0;padding:10px 12px;font-size:16px}
  #storyPanel{padding:22px 12px 28px}
  #storyPanel .heading{padding:0 6px}
  #crumb{display:block;font-size:13px;margin-bottom:5px}
  .theme-links{padding:0 6px;margin:14px 0 16px}
  .theme-link{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
