/* Static Minecraft workshop artwork; light pages load no conversion engines. */
body.tools-lite{--ws-ink:#fff2d6;--ws-muted:#d6dcc3;--ws-amber:#f6d08a;--ws-edge:#917047;margin:0;color:#fff2d6;background:radial-gradient(ellipse at 85% 0,#a8843720,transparent 700px),linear-gradient(#345548,#203f32 500px,#172f24);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
body.tools-lite *{box-sizing:border-box}
body.tools-lite [hidden]{display:none!important}
body.tools-lite :focus-visible{outline:3px solid #f5d28b;outline-offset:3px}
body.tools-lite a{color:inherit;text-decoration:none}
body.tools-lite svg{display:block}
body.tools-lite button,body.tools-lite input,body.tools-lite select,body.tools-lite textarea{font:inherit}
body.tools-lite .ymb-tools{display:block;width:min(1148px,calc(100% - 40px));max-width:1148px;min-width:0;margin:0 auto;padding:14px 0 40px}
body.tools-lite .tools-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.tools-lite .tools-hero{position:relative;min-width:0;color:#fff2d6}
body.tools-lite .tools-eyebrow{color:#efd18f;font-size:11px;font-weight:750;letter-spacing:.1em}
body.tools-lite h1,body.tools-lite h2,body.tools-lite h3{color:#fff1d1;overflow-wrap:anywhere}
body.tools-lite .tools-intro{margin:0;color:#e3e4cc;font-size:14px;line-height:1.65}
body.tools-lite .tools-back{display:inline-flex;align-items:center;color:#e6d6a4;font-size:13px;line-height:1.5}
body.tools-lite .tools-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;max-width:100%;margin:0;padding:11px 17px;border:2px solid #253a21;border-radius:5px;background:linear-gradient(#648443,#496b34);box-shadow:inset 0 2px #cfdd9140,0 3px #142a1b;color:#fff3ce;font-weight:750;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer}
body.tools-lite .tools-button:hover{background:#658743;border-color:#d5bc7d}
body.tools-lite .tools-text-button{min-height:44px;max-width:100%;padding:8px 10px;border:0;background:transparent;color:#e8d398;text-decoration:underline;cursor:pointer}
body.tools-lite button:disabled{opacity:.5;cursor:not-allowed}
body.tools-lite .tools-error{padding:14px;border:1px solid #d3947d;border-radius:7px;background:#482d26;color:#ffe2cf}
body.tools-lite .ymb-language-bar>.ymb-language-switch{position:relative;display:block;width:100%;margin:0;padding:0;border:0;background:transparent;backdrop-filter:none}
body.tools-lite .ymb-language-bar>.ymb-language-switch>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;border:2px solid #253c26;border-radius:6px;background:#405c3d;color:#fff1d2;font-size:13px;line-height:1.5;cursor:pointer;box-shadow:inset 0 2px #c1d28e22,0 3px #142d20}
body.tools-lite .ymb-language-switch>nav{min-width:170px;margin:0;padding:6px;border:1px solid #9b8252;border-radius:7px;background:#263f2d;box-shadow:0 12px 24px #071d1550}
body.tools-lite .ymb-language-switch>nav>a{display:flex;align-items:center;min-height:44px;padding:8px 12px;font-size:14px}
body.tools-lite .ymb-language-switch:not([open])>nav{display:none}
body.tools-lite .ymb-language-switch>nav>a:hover{background:#45633b}
/* Solid timber rims and inventory slots preserve the site's cartoon identity. */
body.ymb-tools-shell .tk-hub .tk-hub-hero,body.ymb-tools-shell .tk-tool-hero{border:3px solid #233523;border-radius:8px;background:linear-gradient(115deg,#3c4a32,#263f2e);box-shadow:inset 0 0 0 3px #977347,inset 0 6px #c39b61,inset 0 -6px #654c30,0 5px #10291b}
body.ymb-tools-shell .tk-hub-intro{display:flex;align-items:center;gap:17px;min-width:0}
body.ymb-tools-shell .tk-hub-intro>div{min-width:0}
body.ymb-tools-shell .tk-hub-guide{display:block;flex:none;width:68px;height:102px;object-fit:contain}
body.ymb-tools-shell .tk-hub-hero h1{font-size:clamp(27px,3.1vw,38px);text-shadow:0 2px #132c1d}
body.ymb-tools-shell .tk-category-icon{width:38px;height:44px;color:#e9cc8b}
body.ymb-tools-shell .tk-category-icon>svg{width:42px;height:42px}
body.ymb-tools-shell .tk-group-choices>button{border:2px solid #273c25;border-radius:6px;background:linear-gradient(#405a37,#304b2f);box-shadow:inset 0 2px #c5d79b25,0 3px #112a1c;color:#fff0cd}
body.ymb-tools-shell .tk-group-choices>button[aria-pressed=true]{border-color:#dbbd7a;background:#4f6c38;box-shadow:inset 0 2px #e5d9a13d,0 3px #172c1e}
body.ymb-tools-shell .tk-hub .tk-tool-card{display:grid;grid-template-columns:minmax(0,1fr) 70px;grid-template-rows:auto 1fr auto;align-items:start;gap:10px 12px;min-height:190px;padding:20px;border:2px solid #826a43;border-radius:7px;background:linear-gradient(125deg,#354a31,#243d2b);box-shadow:inset 0 2px #cdb58322,0 4px #102a1b}
body.ymb-tools-shell .tk-card-character{display:block;grid-column:2;grid-row:1 / 3;align-self:center;width:70px;height:105px;object-fit:contain;pointer-events:none}
body.ymb-tools-shell .tk-card-heading{grid-column:1;grid-row:1;min-width:0}
body.ymb-tools-shell .tk-tool-card>p{grid-column:1;grid-row:2}
body.ymb-tools-shell .tk-tool-card>.tool-card-action{grid-column:1 / -1;grid-row:3;width:100%;border-top:1px solid #b5b18435;color:#f0d38f}
body.ymb-tools-shell .tk-tool-card:hover{background:#3a5433;border-color:#dfc486;box-shadow:inset 0 2px #e8cf9a33,0 4px #102a1b}
body.ymb-tools-shell .tk-panel{border:2px solid #80663d;border-radius:8px;background:linear-gradient(115deg,#2c412b,#1b3225);box-shadow:inset 0 2px #b79a6730,0 4px #102a1b}
body.ymb-tools-shell .tk-editor-intro{display:flex;align-items:center;gap:24px;min-width:0}
body.ymb-tools-shell .tk-editor-intro>.tools-intro{flex:1;min-width:0}
body.ymb-tools-shell .tk-editor-character{display:block;flex:none;width:90px;height:135px;object-fit:contain}
@media(max-width:900px){
 body.ymb-tools-shell .tk-hub-guide{width:54px;height:81px}
 body.ymb-tools-shell .tk-hub-intro{gap:13px}
 body.ymb-tools-shell .tk-hub-hero h1{font-size:clamp(25px,6.8vw,32px)}
 body.ymb-tools-shell .tk-category-icon{width:28px;height:34px}
 body.ymb-tools-shell .tk-category-icon>svg{width:32px;height:32px}
 body.ymb-tools-shell .tk-editor-intro{gap:14px}
 body.ymb-tools-shell .tk-editor-character{width:60px;height:90px}
 body.ymb-tools-shell .tk-editor-intro h1{font-size:clamp(22px,5.8vw,30px);word-break:normal;overflow-wrap:anywhere}
}
@media(max-width:600px){body.tools-lite .ymb-tools{width:calc(100% - 32px)}body.ymb-tools-shell .tk-hub .tk-tool-card{grid-template-columns:minmax(0,1fr) 60px;min-height:0;padding:18px;gap:10px}body.ymb-tools-shell .tk-card-character{width:60px;height:90px}}
@media(prefers-reduced-motion:reduce){body.ymb-tools-shell *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

body.tools-lite .tools-cards{display:grid}
body.tools-lite header.tools-header{background:transparent;border:0;box-shadow:none}
body.tools-lite header.tools-header :is(.nav-account-primary,.ymb-menu-toggle){border:2px solid #253c26;border-radius:6px;background:#405c3d;box-shadow:inset 0 2px #c1d28e22,0 3px #142d20;color:#fff1d2}
body.ymb-tools-shell .tk-card-character{opacity:0}
body.ymb-tools-shell .tk-card-character.is-ready{opacity:1}

body.tools-lite.ymb-tools-shell>.ymb-language-bar{background:transparent;border:0;box-shadow:none}
body.tools-lite.ymb-tools-shell .ymb-language-bar>.ymb-language-switch>summary{width:100%;max-width:none;margin:0;box-sizing:border-box}
