/* Readability fixes for existing views; the Forest design and motion stay in place. */
body.tl-site.tl-redesign .mc-book-stage{width:100%;min-width:0}
body.tl-site.tl-redesign .mc-book{width:100%;max-width:1020px}
body.tl-site.tl-redesign .mc-book-spread{align-items:stretch;gap:14px}
body.tl-site.tl-redesign .mc-book-page{min-width:0;min-height:560px;max-height:none;height:auto;padding:28px 30px 32px 40px}
body.tl-site.tl-redesign .mc-book-page[data-side=right]{padding:28px 40px 32px 30px}
body.tl-site.tl-redesign .mc-book-heading{font-size:12px;line-height:1.4}
body.tl-site.tl-redesign .mc-book-text{overflow:visible;min-width:0;padding:0;font-size:15px;line-height:1.65;white-space:normal}
body.tl-site.tl-redesign .mc-book-text p{white-space:normal!important;word-break:normal;overflow-wrap:anywhere;line-height:1.65;margin-bottom:14px}
body.tl-site.tl-redesign .mc-book-text .mc-book-title{font-size:21px;line-height:1.35;letter-spacing:-.025em;color:#211b13}
body.tl-site.tl-redesign .mc-book-text .mc-book-excerpt{font-size:14px;line-height:1.55;color:#5b4732}
body.tl-site.tl-redesign .mc-book-page-footer{margin-top:24px;padding-top:5px}
body.tl-site.tl-redesign .mc-book-arrow{min-width:42px;min-height:42px;color:#553b26}
@media(max-width:700px){
 body.tl-site.tl-redesign .mc-book-spread{grid-template-columns:minmax(0,1fr);padding:5px;gap:0}
 body.tl-site.tl-redesign .mc-book-spread:before{display:none}
 body.tl-site.tl-redesign .mc-book-page,body.tl-site.tl-redesign .mc-book-page[data-side=right]{min-height:500px;padding:25px 24px 28px 42px}
 body.tl-site.tl-redesign .mc-book-text{font-size:15px}
 body.tl-site.tl-redesign .mc-book-text .mc-book-title{font-size:22px}
}

/* External currentColor SVGs cannot inherit page colour as background images. */
.tc-section-wiki-index{--tl-page-icon:url('/images/icons/pixel/book.svg')}
.tc-section-posts-index{--tl-page-icon:url('/images/icons/pixel/book.svg')}
.tc-section-modpack-index{--tl-page-icon:url('/images/icons/pixel/crate.svg')}
.tc-section-updates-index{--tl-page-icon:url('/images/icons/pixel/download.svg')}
.tc-section-screenshots-index{--tl-page-icon:url('/images/icons/pixel/gallery.svg')}
.tc-section-events-index{--tl-page-icon:url('/images/icons/pixel/book.svg')}
.tc-section-polls-index{--tl-page-icon:url('/images/icons/pixel/people.svg')}
body.tl-site.tl-redesign .tc-inner-page h1:before{background-image:none!important;background-color:var(--tl-v3-mint,#a5edc7)!important;-webkit-mask:var(--tl-page-icon,url('/images/icons/pixel/book.svg')) center/contain no-repeat;mask:var(--tl-page-icon,url('/images/icons/pixel/book.svg')) center/contain no-repeat;opacity:.95}
body.tl-site.tl-redesign .tc-section-heading h2[style*="--tc-heading-icon"]:before{background-image:none!important;background-color:var(--tl-v3-mint,#a5edc7)!important;-webkit-mask:var(--tc-heading-icon) center/contain no-repeat;mask:var(--tc-heading-icon) center/contain no-repeat}
body.tl-site.tl-redesign :is(.tl-shop-category-cards small,.tl-shop-nav small,.tl-online-ranking-note,.tl-support-payment-note){font-size:12px}
.tl-download-checksum{margin-block:18px;font-size:12px;line-height:1.7}.tl-download-checksum summary{cursor:pointer;color:#b7edce}.tl-download-checksum code{display:block;word-break:break-all;white-space:normal;margin-block:10px;padding:10px;border:1px solid #a5edc726;border-radius:8px}
.tl-install-steps{padding-left:20px;list-style:decimal;display:grid;gap:10px;line-height:1.7}
.tl-shop-delivery-manual{color:#dfcc99!important}
.tl-home-server-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tl-home-server{padding:23px;min-width:0}
.tl-home-server-head{display:flex;gap:13px;align-items:center;margin-bottom:16px}
.tl-home-server-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;border:1px solid #a5edc73d;background:#a5edc70a;color:#a5edc7}
.tl-home-server-icon .tl-pixel-icon{width:24px;height:24px}
.tl-home-server h3{font-size:20px;line-height:1.3;font-weight:750;letter-spacing:-.025em}
.tl-home-server-head p{font-size:12px;color:#b4c9bc;margin-top:4px}
.tl-home-server>p{font-size:14px;line-height:1.7;color:#bfd3c6}
.tl-home-server-status{margin-left:auto;flex:none;padding:6px 9px;border:1px solid #b4cebc32;border-radius:99px;font-size:11px;color:#cfdfd4}
.tl-home-server-status[data-server-state=online]{color:#bcf4cf;border-color:#a5edc75e;background:#a5edc70b}
.tl-home-server-status[data-server-state=offline]{color:#edc6bb}
.tl-home-server-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:19px;padding-top:16px;border-top:1px solid #a5edc724;font-size:12px;color:#b4c9bc}
.tl-home-server-bottom>div{display:flex;gap:17px;flex-wrap:wrap}
.tl-home-server-bottom a{color:#b4efce;min-height:30px;display:inline-flex;align-items:center}
@media(max-width:760px){.tl-home-server-grid{grid-template-columns:minmax(0,1fr)}.tl-home-server{padding:18px}.tl-home-server h3{font-size:18px}.tl-home-server-head{flex-wrap:wrap}.tl-home-server-status{margin-left:0}.tl-home-server-head>div{flex:1;min-width:160px}}

/* Compact, paginated build catalogue; all technical data remains available. */
.tl-build-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.tl-build-controls label{display:grid;gap:7px;flex:1;min-width:180px;font-size:12px;color:#bed9c8}
.tl-build-controls input,.tl-build-controls select{width:100%;min-height:44px;padding:10px 13px;border:1px solid #a5edc73d;border-radius:10px;background:#091b14;color:#edf7f0}
.tl-build-controls button{min-height:44px;padding:10px 20px;border-radius:10px;background:#a5edc7;color:#082317;font-weight:750}
.tl-build-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.tl-build-tabs a{padding:8px 12px;border:1px solid #a5edc72d;border-radius:9px;font-size:12px;color:#bed9c8}
.tl-build-tabs a[aria-current=page]{background:#a5edc719;border-color:#a5edc77a;color:#d5ffe5}
.tl-build-list{display:grid;gap:12px}
.tl-build-file{display:flex;align-items:start;gap:15px;min-width:0;padding:18px;border:1px solid #a5edc72d;border-radius:14px;background:#0b1d16}
.tl-build-file>img,.tl-build-file>.tl-build-file-icon{width:48px;height:48px;flex:none;object-fit:contain;border-radius:10px;background:#a5edc70a;padding:6px}
.tl-build-file-icon{display:grid;place-items:center;color:#b7edce}
.tl-build-file-body{flex:1;min-width:0}
.tl-build-file h2{font-size:17px;line-height:1.4;font-weight:750;overflow-wrap:anywhere;color:#eef9f2}
.tl-build-file p{font-size:13px;line-height:1.6;color:#b1c6b9;margin-top:5px}
.tl-build-file details{margin-top:10px;font-size:12px;color:#b1c6b9;overflow-wrap:anywhere}
.tl-build-file summary{cursor:pointer;min-height:28px;color:#a5edc7}
.tl-build-file code{display:block;padding:8px;background:#04120b80;border-radius:7px;white-space:normal;word-break:break-word}
.tl-build-file dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 12px;margin-top:7px}
.tl-build-file dd{min-width:0;overflow-wrap:anywhere}
.tl-build-file-side{display:grid;gap:7px;flex:none;text-align:right;font-size:12px;color:#bed9c8}
.tl-build-file-side a{color:#a5edc7;min-height:30px}
.tl-build-result{color:#a9c5b4;font-size:13px;margin:15px 0}
.tl-build-pagination{margin-top:22px}
@media(max-width:600px){.tl-build-file{gap:11px;padding:14px;flex-wrap:wrap}.tl-build-file h2{font-size:16px}.tl-build-file-side{width:100%;display:flex;justify-content:space-between;padding-top:8px;border-top:1px solid #a5edc718}.tl-build-file>img,.tl-build-file>.tl-build-file-icon{width:38px;height:38px}.tl-build-controls label{min-width:100%}.tl-build-controls button{width:100%}}
