
/* Mudpaper visual edition — existing Idle Worship pixel typography and actual Drive wardrobe art. */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
:root{--mud-font:'VT323',monospace;--ink:#28392b;--cream:#f6edd7;--paper:#fff9e9;--line:#d9c9aa;--head:74px}
body{font-family:var(--mud-font);font-size:24px;line-height:1.28;background:#f3e9d0;letter-spacing:.015em}
button,select,input{font-family:var(--mud-font);letter-spacing:.02em}
.hero h1,.chapter h2,.formula{font-family:var(--mud-font);font-weight:400;letter-spacing:.015em}
.hero h1{font-size:clamp(48px,7.5vw,88px);line-height:.95;text-shadow:3px 3px #10291f}
.hero p{font-size:26px;line-height:1.18}
.hero-kicker,.hero-meta,.eyebrow,.side-label{font-size:17px;letter-spacing:.09em;font-weight:400}
.brand small{font-size:17px;font-weight:400}
.top-actions a,.print-btn{font-size:20px;font-weight:400}
.top-inner .brand img{image-rendering:pixelated}
.metric{border-radius:3px;border:2px solid #c6a25d88;box-shadow:inset 0 0 0 2px #142b1e}
.metric strong{font-size:36px;font-weight:400;line-height:1}
.metric small{font-size:19px;line-height:1.05}
.side a{font-size:20px;line-height:1.08;font-weight:400;border-radius:2px;padding:11px 8px}
.side a span{font-size:16px}
.side a[aria-current="location"]{font-weight:400;border-left-color:#a56e32;background:#e5ddbd}
.side-foot{font-size:18px;line-height:1.18}
.chapter{border-radius:4px;border:2px solid #ceb993;box-shadow:0 4px 0 #d3c09d,0 8px 18px #46301a12}
.chapter h2{font-size:clamp(38px,4vw,52px);line-height:1.02;color:#1b472d}
.chapter h3{font-size:29px;font-weight:400;line-height:1.05;letter-spacing:.01em;color:#31583a}
.chapter .note{font-size:20px;line-height:1.2;background:#efe5ca;border-color:#ae7938;border-radius:0 3px 3px 0}
.chapter p{max-width:none;line-height:1.28}
.wardrobe-table{--frame-top:78px;--frame-side:35px;--frame-bottom:59px;position:relative;border-style:solid;border-color:transparent;border-width:var(--frame-top) var(--frame-side) var(--frame-bottom);border-image:url('wardrobe.png') 300 145 245 145 fill stretch;margin:24px 0 29px;min-width:0;max-width:100%;isolation:isolate;image-rendering:auto}
.wardrobe-label{position:absolute;left:0;right:0;top:calc(-1 * var(--frame-top) + 19px);height:35px;display:flex;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;background:linear-gradient(#bd7a42,#9a4c22 48%,#7d3918);border:3px solid #592b16;box-shadow:inset 0 2px #f2bc79,inset 0 -2px #683517;color:#fff2c3;font-size:22px;line-height:1;text-shadow:2px 2px #4b2414;letter-spacing:.09em;pointer-events:none}
.wardrobe-table .table-wrap{margin:0;max-width:100%;min-width:0;border:2px solid #542d19;border-radius:0;background:#fff4d5;box-shadow:0 3px 0 #482512;scrollbar-color:#a77540 #573219;scrollbar-width:thin}
.wardrobe-table table{font-family:var(--mud-font);font-size:21px;line-height:1.14;letter-spacing:.01em}
.wardrobe-table th{background:linear-gradient(#335638,#23442a);color:#fff0bf;font-size:20px;font-weight:400;text-shadow:1px 1px #122c1c;padding:12px 13px;border-right:1px solid #78916955}
.wardrobe-table td{background:#fff4d6;color:#352e1f;padding:11px 13px;border-bottom:1px solid #d9bb85;overflow-wrap:break-word}
.wardrobe-table tr:nth-child(even) td{background:#f0dfb4}.wardrobe-table tr:hover td{background:#ead39a}
.wardrobe-table td:first-child{font-weight:400;color:#56351c}
.rarity{font-weight:400;font-size:inherit}.rarity i{border-radius:0;transform:rotate(45deg)}
.rating{font-family:Arial,sans-serif;font-size:17px;letter-spacing:.025em}.tba{font-size:18px;font-weight:400;border-radius:2px}
.formula{font-size:34px;border-radius:3px}
.loop span{font-size:20px;line-height:1.15;font-weight:400;border-radius:2px}.loop b{font-size:17px;font-weight:400}
.inline-link,.phase-kicker{font-size:21px;font-weight:400}
.phase-title,.phase-kicker{border-radius:0}
.tree-root,.branch-node,.leaf,.prob-tree,.combined{border-radius:3px}
.tree-root small,.branch-node,.leaf small,.leaf span,.connector,.prob-tree figcaption,.combined,.combined span{font-size:18px;line-height:1.1}
.tree-root strong{font-size:24px;font-weight:400}
.branch-node strong{font-size:26px;font-weight:400}
.leaf strong{font-size:31px;font-weight:400}
.mixed-sub .leaf strong{font-size:26px}.mixed-sub .leaf small:last-child{font-size:17px}
.combined b{font-size:25px;font-weight:400}
.foot a,.foot p,.back-top{font-size:19px}
@media(max-width:1000px){.side a{font-size:19px}.chapter h2{font-size:40px}.wardrobe-table{--frame-side:28px}}
@media(max-width:760px){:root{--head:64px}body{font-size:22px}.hero h1{font-size:clamp(44px,11vw,65px)}.hero p{font-size:23px}.hero-kicker,.hero-meta{font-size:15px}.metric strong{font-size:30px}.metric small{font-size:17px}.top-actions a,.print-btn{font-size:18px}.mobile-toc label{font-size:16px;font-weight:400}.mobile-toc select{font-size:19px;font-weight:400;padding:8px}.chapter{padding:21px 12px}.chapter h2{font-size:35px}.chapter h3{font-size:27px}.chapter .note{font-size:19px}.wardrobe-table{--frame-top:53px;--frame-side:18px;--frame-bottom:40px;margin:21px -3px 26px}.wardrobe-label{top:calc(-1 * var(--frame-top) + 11px);height:26px;font-size:19px;border-width:2px}.wardrobe-table table{font-size:19px}.wardrobe-table th{font-size:18px}.wardrobe-table th,.wardrobe-table td{padding:9px 9px}.wardrobe-table table:has(th:nth-child(2):last-child){min-width:0}.wardrobe-table table:has(th:nth-child(3):last-child){min-width:330px}.wardrobe-table table:has(th:nth-child(4)){min-width:450px}.wardrobe-table table:has(th:nth-child(6)){min-width:560px}.prob-tree{padding:12px 8px}.tree-grid:not(.mixed){grid-template-columns:1fr}.tree-grid:before{display:none}.mixed-sub{grid-template-columns:1fr}.leaf small,.leaf span,.mixed-sub .leaf small:last-child{font-size:17px}.leaf strong{font-size:27px}.branch-node{font-size:19px}.tree-root strong{font-size:22px}}
@media print{body{font-family:Georgia,serif;font-size:11pt;letter-spacing:0}.wardrobe-table{border:0;border-image:none;margin:12px 0;break-inside:avoid}.wardrobe-label{display:none}.wardrobe-table .table-wrap{border:1px solid #999;box-shadow:none;overflow:visible}.wardrobe-table table,.wardrobe-table th{font-size:9pt;min-width:0!important}.wardrobe-table td,.wardrobe-table th{padding:6px}.chapter{border:0;box-shadow:none}.chapter h2{font-size:24pt}.chapter h3{font-size:15pt}.chapter p,.chapter .note{font-size:11pt}.hero h1{color:black;font-size:30pt;text-shadow:none}.hero p,.hero-kicker,.hero-meta{font-size:11pt}.tree-root small,.branch-node,.leaf small,.leaf span,.connector,.prob-tree figcaption,.combined,.combined span{font-size:9pt}.leaf strong{font-size:15pt}}
