@font-face{font-family:Silkscreen;src:url('assets/fonts/Silkscreen-Regular.ttf') format('truetype');font-display:swap}@font-face{font-family:Inter;src:url('assets/fonts/Inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#251e2d;--surface:#302737;--panel:#3b3044;--line:#4a3d54;--text:#f5edda;--muted:#b7aabc;--dim:#8f8098;--yellow:#ffda70;--green:#b2d989;--teal:#96d5ca;--pink:#eea1b8;--purple:#c2aae7;--orange:#f3b183;--pixel:Silkscreen,monospace;--body:Inter,system-ui,sans-serif;--sidebar:244px;--header:84px}
*{box-sizing:border-box}html{scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:15px;line-height:1.7}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:miter;flex-shrink:0}button svg{display:block}img{max-width:100%;display:block}button{border-radius:0}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex="0"]:focus-visible{outline:2px solid var(--yellow);outline-offset:5px}button,a,input,summary{touch-action:manipulation}::selection{background:var(--yellow);color:var(--bg)}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;padding:12px 18px;background:var(--yellow);color:var(--bg);z-index:100}.skip-link:focus{top:10px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25}p{margin-bottom:20px}h1,h2,h3,strong{font-weight:600}.topbar{height:var(--header);position:fixed;top:0;left:0;right:0;background:#292130;border-bottom:1px solid var(--line);z-index:30;display:flex;align-items:center;justify-content:space-between;padding:0 34px 0 27px;gap:24px}.brand{display:flex;align-items:center;gap:14px;line-height:1.3}.brand>span{font:24px var(--pixel);letter-spacing:1px}.brand small{display:block;font:9px var(--pixel);color:var(--muted);letter-spacing:2.1px;margin-top:6px}.topbar-end{display:flex;align-items:center;gap:28px}.version{font:11px var(--pixel);color:var(--muted);white-space:nowrap}.version i,.status-dot{display:inline-block;width:6px;height:6px;background:var(--green);margin-right:8px;vertical-align:2px}.version span{font:10px var(--pixel);color:var(--dim);margin-left:7px}.search-trigger{display:flex;align-items:center;gap:12px;min-height:42px;padding:8px 12px;background:#352b3e;border:1px solid #54465f;min-width:280px;color:#c6bacd;font-size:13px;text-align:left}.search-trigger:hover{border-color:var(--muted)}kbd{font:11px var(--body);border:1px solid #655572;box-shadow:0 1px #655572;padding:2px 5px;color:var(--muted);background:#2e2535;white-space:nowrap}.search-trigger kbd{margin-left:auto}.sidebar{position:fixed;top:var(--header);bottom:0;left:0;width:var(--sidebar);background:#292130;border-right:1px solid var(--line);overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:25px 18px 20px;z-index:20;display:flex;flex-direction:column}.sidebar-caption{font:9px var(--pixel);color:var(--dim);padding-left:11px;letter-spacing:.5px;margin:0 0 25px}.nav-group{margin-bottom:25px}.nav-group h2{font:10px var(--pixel);letter-spacing:1.1px;color:var(--dim);margin:0 11px 10px}.nav-group a{display:flex;align-items:center;gap:11px;padding:8px 11px;color:#bdb0c7;font-size:12.5px;line-height:1.5;border-left:2px solid transparent;min-height:36px}.nav-group svg{width:16px;height:16px;color:var(--dim)}.nav-group a:hover{background:#362c3e;color:var(--text)}.nav-group a[aria-current]{background:#41373e;border-left-color:var(--yellow);color:var(--yellow)}.nav-group a[aria-current] svg{color:var(--yellow)}.nav-group a small{margin-left:auto;color:var(--yellow);font:9px var(--pixel);border:1px solid #5b4f51;padding:2px 4px}.sidebar-bottom{margin-top:auto;border:1px solid var(--line);padding:15px 13px;display:flex;gap:13px;align-items:center;color:var(--text);font-size:11px;line-height:1.5}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px}.sidebar-bottom b{color:var(--yellow);margin-left:6px}.mini-swatches{width:27px;height:27px;display:grid;grid-template-columns:repeat(3,7px);gap:3px}.mini-swatches i{background:var(--yellow);height:7px}.mini-swatches i:nth-child(2){background:var(--green)}.mini-swatches i:nth-child(3){background:var(--teal)}.mini-swatches i:nth-child(4){background:var(--pink)}.mini-swatches i:nth-child(5){background:var(--purple)}main{margin-left:var(--sidebar);margin-top:var(--header);min-height:calc(100vh - 200px);outline:none}.home-content{max-width:1124px;margin:auto;padding:32px 56px 28px}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:37px;display:flex;gap:11px;align-items:center}.breadcrumb span{color:var(--dim)}.breadcrumb a:hover{color:var(--yellow)}.eyebrow{font:10px/1.5 var(--pixel);letter-spacing:1.2px;color:var(--muted);margin-bottom:19px}.home-intro h1{font:clamp(30px,3.2vw,47px)/1.22 var(--pixel);letter-spacing:-1.5px;margin-bottom:20px}.home-intro h1 span{color:var(--yellow)}.lead{font-size:15px;line-height:1.85;color:#bdafc5;max-width:640px}.home-intro{margin-bottom:35px}.home-intro .lead{margin-bottom:0}.start-panel{display:grid;grid-template-columns:1.05fr 1fr;min-height:325px;background:var(--yellow);position:relative;overflow:hidden;border:1px solid #ffe4a1;box-shadow:5px 5px 0 #17121d}.start-copy{padding:34px 0 30px 32px;position:relative;z-index:2;color:#302735}.dark-ink{color:#655036;font-size:9px}.start-copy h2{font:25px/1.35 var(--pixel);letter-spacing:-.4px;margin:18px 0 15px}.start-copy p{font-size:13px;line-height:1.75;color:#594735;margin-bottom:23px}.dark-button{display:inline-flex;align-items:center;justify-content:space-between;gap:27px;padding:12px 17px;background:#302537;color:#fff1ca;min-height:46px;font-size:12px;box-shadow:3px 3px 0 #b59246}.dark-button:hover{background:#49364f;transform:translateY(-1px)}.dark-button span{font-size:19px;line-height:1}.reading-time{display:flex;align-items:center;gap:7px;font-size:10px;color:#685037;margin-top:18px}.reading-time svg{width:13px;height:13px}.hero-visual{position:relative;background-image:radial-gradient(#d8b254 1px,transparent 1px);background-size:12px 12px;margin-left:10px}.screen-window{position:absolute;top:36px;left:25px;width:285px;background:#2c2035;border:2px solid #493c50;box-shadow:8px 8px 0 #c39a45;transform:rotate(-5deg)}.window-top{font:7px var(--pixel);color:#c9b9cc;display:flex;align-items:center;justify-content:space-between;height:25px;padding:0 8px;background:#45384f;border-bottom:2px solid #21172a}.window-top>span:first-child{display:flex;gap:4px}.window-top i{background:#ffda70;width:4px;height:4px;display:block}.window-top i:nth-child(2){background:#a8dc83}.window-top i:nth-child(3){background:#eea1b8}.screen-window img{width:100%;height:440px;object-fit:cover;object-position:center bottom}.hero-sticker{position:absolute;right:12px;bottom:31px;font:11px/1.5 var(--pixel);background:var(--teal);color:#263c39;border:2px solid #3f5049;padding:12px 15px;transform:rotate(5deg);box-shadow:3px 3px 0 #b09241}.explore-section{margin-top:44px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;gap:15px}.section-heading h2{font-size:18px;font-weight:550;margin:0}.section-heading>span{font:8px var(--pixel);letter-spacing:1px;color:var(--dim)}.chapter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.chapter-card{padding:21px 18px 20px;background:#2d2434;border:1px solid #4c3d57;transition:background .15s,border-color .15s,transform .15s}.chapter-card:hover{border-color:var(--accent);background:#372c40;transform:translateY(-3px)}.yellow{--accent:var(--yellow)}.green{--accent:var(--green)}.teal{--accent:var(--teal)}.pink{--accent:var(--pink)}.purple{--accent:var(--purple)}.orange{--accent:var(--orange)}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.card-icon{color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,transparent);width:37px;height:37px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent)}.card-icon svg{width:21px;height:21px}.chapter-number{font:9px var(--pixel);color:var(--dim)}.chapter-number b{font:18px var(--body);font-weight:400;padding-left:10px;color:var(--muted)}.chapter-card h3{font-size:13px;margin-bottom:7px;font-weight:550}.chapter-card p{font-size:10.5px;color:var(--muted);margin:0;line-height:1.6}.theme-banner{display:flex;align-items:center;gap:20px;background:#302638;border:1px solid var(--line);padding:25px 26px;margin-top:28px;overflow:hidden}.theme-banner .eyebrow{font-size:8px;margin-bottom:10px;display:block}.theme-banner h2{font:20px var(--pixel);margin-bottom:7px}.theme-banner p{font-size:11px;color:var(--muted);margin:0}.palette-stack{display:flex;margin-left:auto;padding:5px 10px}.palette-stack>span{width:57px;height:69px;border:2px solid #81718c;background:var(--swatch-bg);padding:8px 6px;box-shadow:4px 4px #1a1520;transform:rotate(-12deg);margin-right:-11px}.palette-stack>span:nth-child(2){transform:rotate(-4deg)}.palette-stack>span:nth-child(3){transform:rotate(4deg)}.palette-stack>span:nth-child(4){transform:rotate(12deg)}.palette-stack i{display:block;width:12px;height:12px;background:var(--swatch-accent);margin-bottom:8px}.palette-stack b{display:block;height:5px;background:var(--swatch-panel);margin-bottom:4px}.banner-arrow{color:var(--yellow);font-size:24px;margin-left:15px}.theme-banner:hover{border-color:var(--purple)}.home-help{display:flex;justify-content:space-between;align-items:center;margin-top:29px;padding-bottom:24px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.home-help>span{display:flex;align-items:center;gap:9px}.home-help svg{width:15px;height:15px}.home-help a{color:var(--text)}.home-help a:hover{color:var(--yellow)}.version-note{font-size:9px;color:var(--dim);padding-top:18px;display:flex;align-items:center;gap:7px}.version-note .status-dot{width:4px;height:4px;margin:0}.version-note>span:last-child{margin-left:auto}.site-footer{margin-left:var(--sidebar);display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:23px 40px;color:var(--dim);font-size:9px}.site-footer>a:first-child{font:11px var(--pixel);color:var(--muted)}.site-footer>a:first-child span{display:block;font-size:7px;letter-spacing:1px;margin-top:5px;color:var(--dim)}.site-footer a:hover{color:var(--yellow)}.menu-trigger,.mobile-bar{display:none}.icon-button{background:transparent;border:1px solid var(--line);width:44px;height:44px;display:grid;place-items:center;flex-shrink:0;font-size:18px}.icon-button:hover{background:var(--panel)}
/* Chapters */
.doc-layout{display:grid;grid-template-columns:minmax(0,720px) 160px;gap:48px;max-width:1124px;padding:32px 48px 55px;margin:auto}.article{min-width:0}.article-header{padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:34px}.article-header .eyebrow{margin-bottom:15px;color:var(--yellow);font-size:9px}.article-header h1{font:clamp(26px,3vw,38px)/1.25 var(--pixel);letter-spacing:-1px;margin-bottom:17px;overflow-wrap:anywhere}.article-header .lead{font-size:14px;margin-bottom:20px}.article-meta{font:8px var(--pixel);color:var(--dim);display:flex;align-items:center;gap:9px;flex-wrap:wrap}.article-meta svg{width:14px;height:14px}.article-meta>span{margin-left:auto}.article-section{margin-bottom:38px;scroll-margin-top:110px}.article-section>h2{font-size:21px;line-height:1.4;letter-spacing:-.35px;margin-bottom:18px}.article-section>h2 a{display:flex;align-items:center;gap:10px}.article-section>h2 a span{color:var(--dim);font-size:16px;opacity:0}.article-section>h2 a:hover span,.article-section>h2 a:focus-visible span{opacity:1}.article-section>p,.steps p{font-size:14px;line-height:1.9;color:#c3b7cc}.article-section p b,.article-section p strong{color:var(--text)}.article-section p a{color:var(--yellow);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#8f7746}.article-section p a:hover{text-decoration-color:var(--yellow)}.callout{border:1px solid #60503e;border-left:3px solid var(--yellow);display:flex;gap:15px;padding:19px 20px;background:#3b3035;margin:26px 0}.callout-icon{color:var(--yellow);font-size:20px;line-height:1.2}.callout strong{font-size:13px;color:var(--yellow)}.callout p{font-size:12.5px;color:#c7b9c8;line-height:1.8;margin:8px 0 0}.steps{list-style:none;padding:0;margin:22px 0;counter-reset:steps}.steps li{display:flex;gap:17px;margin:0 0 24px;counter-increment:steps}.steps li:before{content:counter(steps,decimal-leading-zero);width:31px;height:31px;border:1px solid #6d5949;display:grid;place-items:center;color:var(--yellow);background:#3d3238;font:10px var(--pixel);flex-shrink:0}.steps h3{font-size:15px;margin:4px 0 10px}.steps p{margin:0;font-size:13px}.table-wrap{overflow-x:auto;border:1px solid var(--line);margin:23px 0;scrollbar-width:thin}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;line-height:1.75}thead{background:#3c3044;color:var(--muted);font-size:10px}th,td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top}tbody th{font-weight:500;min-width:140px;width:31%;color:var(--text)}td{color:var(--muted)}tr:last-child td,tr:last-child th{border-bottom:0}tbody tr:nth-child(even){background:#2b2332}.screen-figure{display:flex;gap:24px;align-items:center;background:#2d2434;border:1px solid var(--line);padding:22px;margin:26px 0}.screen-image{background:#1a1422;position:relative;border:1px solid #8b789b;padding:0;flex:0 0 190px;max-width:48%;box-shadow:5px 5px 0 #1c1622}.screen-image img{width:100%;height:auto}.screen-image>span{position:absolute;bottom:0;left:0;right:0;background:#201728ed;color:var(--text);padding:9px 3px;font:7px var(--pixel);border-top:1px solid var(--line)}.screen-image:hover{border-color:var(--yellow)}figcaption{font-size:11px;line-height:1.9;color:var(--muted)}figcaption strong{display:block;font-size:14px;color:var(--text);margin-bottom:10px}.toc{position:sticky;top:122px;align-self:start;padding-top:11px}.toc>span{font:8px var(--pixel);letter-spacing:1px;color:var(--dim)}.toc nav{display:flex;flex-direction:column;gap:0;margin:18px 0 28px;border-left:1px solid var(--line)}.toc nav a{padding:8px 0 8px 14px;font-size:11px;color:var(--dim);border-left:2px solid transparent;margin-left:-1px;line-height:1.5}.toc nav a:hover,.toc nav a.active{color:var(--yellow);border-left-color:var(--yellow)}.toc-note{border-top:1px solid var(--line);padding-top:18px;font:9px var(--pixel);color:var(--purple)}.toc-note span{display:block;font:11px/1.8 var(--body);color:var(--dim);margin-top:8px}.toc-top{display:block;font-size:10px;color:var(--muted);margin-top:22px}.mobile-toc{display:none}.page-pagination{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:48px;border-top:1px solid var(--line);padding-top:25px}.page-pagination a{border:1px solid var(--line);padding:17px 18px;display:flex;flex-direction:column;gap:9px;line-height:1.5}.page-pagination a:last-child{text-align:right}.page-pagination small{font:8px var(--pixel);color:var(--dim)}.page-pagination strong{font-size:12px;font-weight:500}.page-pagination a:hover{border-color:var(--yellow);color:var(--yellow)}
/* Theme gallery */
.gallery-layout{grid-template-columns:minmax(0,1fr)}.gallery-layout .toc{display:none}.gallery-layout .article-header .lead{max-width:650px}.gallery-controls{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 17px}.gallery-controls button{border:1px solid var(--line);background:#332a3a;padding:10px 14px;min-height:44px;font-size:12px}.gallery-controls button span{font:9px var(--pixel);margin-left:6px;opacity:.65}.gallery-controls button[aria-pressed=true]{background:var(--yellow);border-color:var(--yellow);color:#302735}.gallery-note{font-size:11px!important;color:var(--dim)!important;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px 18px}.theme-card{padding:0;text-align:left;background:var(--surface);border:1px solid var(--line);overflow:hidden;transition:border-color .15s,transform .15s;min-width:0}.theme-card:hover{border-color:var(--yellow);transform:translateY(-3px)}.theme-photo{display:block;position:relative;padding:15px 20px 0;height:253px;overflow:hidden;border-bottom:1px solid var(--line);isolation:isolate}.theme-photo img{width:100%;height:auto;box-shadow:0 0 0 1px #ffffff35}.theme-expand{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:28px;height:28px;background:#211927e8;border:1px solid #ffffff50;color:#fff0c2;font-size:17px}.theme-info{padding:15px 14px;display:grid;grid-template-columns:1fr auto;gap:8px}.theme-name{font-size:12px;font-weight:550}.theme-category{font:7px var(--pixel);color:var(--dim);align-self:center}.theme-description{grid-column:1/-1;font-size:9px;color:var(--muted);line-height:1.6;min-height:28px}.theme-swatches{grid-column:1/-1;display:flex;gap:5px;padding-top:3px}.theme-swatches i{width:15px;height:15px;border:1px solid #ffffff20}.gallery-layout #change,.gallery-layout #screenshots{max-width:700px}
/* Dialogs */
body.dialog-open{overflow:hidden}dialog{color:var(--text);background:#2d2535;border:1px solid #786684;padding:0;box-shadow:8px 8px 0 #100c18;max-height:calc(100dvh - 60px)}dialog::backdrop{background:#100b19c9;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:18px 22px}.dialog-top h2{font:16px var(--pixel);margin:0}.dialog-top p{font-size:10px;color:var(--muted);margin:6px 0 0}.search-dialog{width:640px;margin-top:12vh;max-width:calc(100vw - 36px)}.search-input-wrap{margin:20px 22px 10px;display:flex;align-items:center;gap:12px;border:1px solid #796487;background:#211a29;padding:0 14px;color:var(--yellow)}.search-input-wrap input{width:100%;height:54px;border:0;outline:none;background:transparent;color:var(--text);font-size:13px;min-width:0}.search-input-wrap:focus-within{outline:2px solid var(--yellow);outline-offset:2px}.search-input-wrap input:focus-visible{outline:none}.search-input-wrap input::placeholder{color:var(--dim)}.search-status{padding:9px 22px;font:8px/1.7 var(--pixel);color:var(--dim);overflow-wrap:anywhere}.search-results{padding:0 12px 12px;max-height:50dvh;overflow:auto}.search-result{display:flex;gap:14px;align-items:flex-start;padding:14px 12px;min-height:60px;border:1px solid transparent}.search-result:hover,.search-result:focus-visible{background:#403248;outline-offset:-2px}.search-result>svg{color:var(--yellow);width:17px;margin-top:3px}.search-result>span{display:flex;flex-direction:column;gap:4px}.search-result strong{font-size:13px}.search-result em{font:8px var(--pixel);color:var(--purple);font-style:normal}.search-result small{font-size:11px;line-height:1.6;color:var(--muted)}.search-result b{margin-left:auto;color:var(--dim);font-weight:400}.search-footer{border-top:1px solid var(--line);padding:12px 22px;display:flex;justify-content:space-between;color:var(--dim);font-size:10px}.search-footer kbd{font-size:9px}.empty-search{padding:25px;text-align:center;color:var(--muted)}.empty-search>span{font-size:40px;color:var(--yellow)}.empty-search h3{font:18px var(--pixel);margin-top:10px}.empty-search p{font-size:12px}.menu-dialog{max-width:calc(100vw - 30px);width:380px;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);margin:20px 15px 20px auto}.menu-dialog .dialog-top{position:sticky;top:0;background:#2d2535;z-index:2}.menu-dialog nav{padding:24px 15px}.menu-dialog .nav-group a{min-height:44px;font-size:14px}.menu-dialog .nav-group h2{font-size:10px}.image-dialog{width:680px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 30px)}.image-dialog .dialog-top{background:#2d2535}.image-scroll{overflow:auto;max-height:calc(100dvh - 142px);background:#1d1724;padding:18px}.image-scroll img{width:min(100%,430px);height:auto;margin:auto}.image-dialog .dialog-top h2{font-size:15px}.noscript{margin:120px 30px;padding:25px;color:var(--yellow)}
@media(min-width:1600px){:root{--sidebar:270px}.home-content,.doc-layout{max-width:1220px}.home-intro h1{font-size:49px}.start-panel{min-height:350px}.screen-window{width:325px;left:45px}.start-copy{padding-left:42px}.chapter-card{padding:25px}.theme-photo{height:300px}.nav-group a{font-size:14px;min-height:41px}}
@media(max-width:1200px){:root{--sidebar:220px}.topbar{padding-left:22px;padding-right:25px}.brand>span{font-size:21px}.topbar-end{gap:20px}.version span{display:none}.home-content{padding-left:35px;padding-right:35px}.doc-layout{padding-left:35px;padding-right:35px;grid-template-columns:minmax(0,1fr);gap:0}.toc{display:none}.mobile-toc{display:block;border:1px solid var(--line);margin-bottom:30px;background:var(--surface);font-size:12px}.mobile-toc summary{cursor:pointer;min-height:44px;padding:12px 16px;color:var(--muted)}.mobile-toc nav{display:flex;flex-direction:column;padding:0 16px 15px}.mobile-toc a{padding:8px;color:var(--muted);min-height:36px}.mobile-toc a:hover{color:var(--yellow)}.screen-window{left:15px;width:255px}.hero-sticker{right:10px;font-size:9px;padding:10px}.start-copy{padding-left:25px}.start-copy h2{font-size:23px}.chapter-card{padding:17px 14px}.chapter-card h3{font-size:12px}.section-heading>span{font-size:7px}.site-footer{padding:23px 30px}.theme-photo{height:235px;padding:12px 13px 0}}
@media(max-width:960px){.search-trigger{min-width:230px}.version{display:none}.home-content{padding:29px 30px}.hero-visual{margin-left:0}.screen-window{width:235px;left:18px;top:47px}.hero-sticker{bottom:25px}.start-copy{padding-left:24px}.start-copy h2{font-size:21px}.start-copy p{font-size:12px}.dark-button{font-size:11px;gap:13px;padding:12px}.chapter-grid{grid-template-columns:repeat(2,1fr)}.chapter-card h3{font-size:13px}.chapter-card p{font-size:11px}.card-top{margin-bottom:20px}.theme-photo{height:220px}.theme-grid{grid-template-columns:repeat(2,1fr)}.theme-photo{height:275px}.site-footer>span{display:none}.section-heading>span{display:none}.home-intro h1{font-size:34px}.home-intro .lead{font-size:13px}.theme-banner{padding:22px}.palette-stack>span{width:45px;height:61px}.banner-arrow{margin-left:4px}.theme-banner h2{font-size:18px}.theme-banner p{font-size:10px}.version-note>span:last-child{display:none}.sidebar{padding:25px 13px}.nav-group a{font-size:12px}.nav-group h2{font-size:9px}.sidebar-caption{font-size:8px}}
@media(max-width:760px){:root{--header:73px;--sidebar:0px}.topbar{padding:0 20px;gap:15px}.brand{gap:10px}.brand>span{font-size:22px}.brand small{font-size:7px;letter-spacing:1.65px;margin-top:4px}.brand img{width:29px;height:29px}.topbar-end{gap:9px}.search-trigger{width:42px;min-width:0;height:42px;padding:10px;justify-content:center;background:transparent}.search-trigger>span,.search-trigger kbd{display:none}.menu-trigger{display:grid;width:42px;height:42px}.sidebar{display:none}.mobile-bar{display:flex;position:sticky;top:var(--header);margin-top:var(--header);height:43px;align-items:center;gap:12px;padding:0 20px;border-bottom:1px solid var(--line);background:#302638;z-index:19;font-size:10px;color:var(--muted)}.mobile-bar button{border:0;border-right:1px solid #5d4b69;background:transparent;padding:0 13px 0 0;min-height:40px;color:var(--text);display:flex;align-items:center;gap:8px;font-size:11px}.mobile-bar>span:last-child{height:5px;width:5px;background:var(--yellow);margin-left:auto}.mobile-bar #mobileTitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}main{margin-top:0}.home-content{padding:25px 25px 25px;max-width:650px}.breadcrumb{margin-bottom:29px;font-size:10px}.home-intro h1{font-size:35px;letter-spacing:-.7px}.home-intro .eyebrow{font-size:8px;letter-spacing:.8px}.home-intro .lead{font-size:14px}.home-intro{margin-bottom:29px}.start-panel{min-height:320px;grid-template-columns:1.1fr 1fr}.start-copy{padding:30px 0 27px 25px}.start-copy h2{font-size:23px}.start-copy p{font-size:12px}.screen-window{width:235px;top:40px;left:22px}.hero-sticker{font-size:9px;right:7px;bottom:27px}.dark-button{font-size:12px;gap:20px;padding:12px 15px}.chapter-grid{gap:13px}.chapter-card{padding:20px}.chapter-card h3{font-size:14px}.chapter-card p{font-size:11px}.card-top{margin-bottom:23px}.section-heading h2{font-size:18px}.explore-section{margin-top:35px}.theme-banner{margin-top:24px;padding:25px}.theme-banner h2{font-size:21px}.theme-banner p{font-size:11px}.palette-stack>span{width:49px;height:65px}.site-footer{margin:0;padding:24px 25px}.doc-layout{padding:25px 25px 35px;max-width:700px}.article-header h1{font-size:32px}.article-header .lead{font-size:14px}.article-section{scroll-margin-top:135px}.article-header{padding-bottom:25px;margin-bottom:25px}.article-section>h2{font-size:21px}.article-section>p{font-size:14px}.screen-image{flex-basis:190px}.theme-photo{height:290px;padding:15px 24px 0}.theme-name{font-size:13px}.theme-category{font-size:8px}.theme-description{font-size:10px}.gallery-controls button{font-size:12px}.image-scroll{padding:10px}.search-dialog{margin-top:25px;max-height:calc(100dvh - 50px)}.dialog-top h2{font-size:14px}.search-results{max-height:calc(100dvh - 270px)}.search-input-wrap input{font-size:16px}.search-input-wrap input::placeholder{font-size:12px}.screen-image>span{font-size:7px}.gallery-layout .mobile-toc{display:none}html{scroll-padding-top:135px}}
@media(max-width:480px){.topbar{padding:0 16px}.brand>span{font-size:20px}.brand img{width:27px;height:27px}.brand{gap:8px}.topbar-end{gap:6px}.menu-trigger,.search-trigger{width:39px;height:41px}.mobile-bar{padding:0 18px}.home-content{padding:22px 20px}.breadcrumb{margin-bottom:25px}.home-intro h1{font-size:28px;line-height:1.3}.home-intro .eyebrow{font-size:7px;letter-spacing:.7px;margin-bottom:16px}.home-intro .lead{font-size:13px;line-height:1.85}.desktop-break{display:none}.start-panel{display:block;min-height:390px}.start-copy{padding:27px 23px;max-width:100%}.start-copy .eyebrow{font-size:8px}.start-copy h2{font-size:24px;position:relative;z-index:2}.start-copy p{font-size:12px;max-width:230px}.dark-button{position:relative;z-index:3;margin-top:5px}.reading-time{position:relative;z-index:3;font-size:9px}.hero-visual{position:absolute;right:-34px;top:188px;width:190px;height:250px;z-index:1;background:none;pointer-events:none}.screen-window{width:165px;left:9px;top:8px;transform:rotate(-8deg);box-shadow:5px 5px 0 #c49e4c}.screen-window img{height:300px}.window-top{height:19px;font-size:4px}.window-top i{height:3px;width:3px}.hero-sticker{font-size:7px;bottom:20px;right:49px;padding:7px 10px;transform:rotate(6deg)}.reading-time{width:145px;line-height:1.5}.start-copy p br{display:none}.chapter-card{padding:17px 13px}.chapter-card h3{font-size:12px;line-height:1.5;margin-bottom:7px}.chapter-card p{font-size:10px;line-height:1.8}.card-icon{width:33px;height:33px}.card-icon svg{width:19px;height:19px}.chapter-number{font-size:8px}.chapter-number b{padding-left:4px;font-size:15px}.card-top{margin-bottom:19px}.chapter-grid{gap:11px}.section-heading h2{font-size:17px}.theme-banner{padding:23px 19px;position:relative;min-height:157px;gap:7px}.theme-banner>div:first-child{position:relative;z-index:2}.theme-banner .eyebrow{font-size:7px}.theme-banner h2{font-size:20px}.theme-banner p{font-size:10px;max-width:150px}.palette-stack{padding:5px 0;margin-right:3px}.palette-stack>span{width:31px;height:53px;padding:6px 4px;margin-right:-9px}.palette-stack i{width:9px;height:9px;margin-bottom:6px}.palette-stack b{height:4px}.banner-arrow{position:absolute;right:15px;bottom:6px;font-size:20px}.home-help{align-items:flex-start;gap:12px;font-size:10px}.home-help>span{max-width:160px;gap:7px}.home-help a{white-space:nowrap}.site-footer{padding:22px 20px;font-size:8px}.site-footer>a:first-child{font-size:10px}.doc-layout{padding:22px 20px 30px}.article-header h1{font-size:27px;line-height:1.35}.article-header .eyebrow{font-size:8px}.article-meta{font-size:7px}.article-meta>span{margin-left:0;padding-left:8px}.article-section>h2{font-size:19px}.article-section p{font-size:13px}.callout{padding:16px 14px;gap:10px}.callout strong{font-size:12px}.callout p{font-size:12px}.steps li{gap:12px}.steps h3{font-size:14px}.steps p{font-size:12.5px}.screen-figure{padding:17px 14px;gap:16px}.screen-image{flex-basis:155px;max-width:49%}figcaption{font-size:10px;line-height:1.8}figcaption strong{font-size:12px}.screen-image>span{font-size:6px;padding:7px 1px}.page-pagination{gap:10px}.page-pagination a{padding:13px 12px}.page-pagination small{font-size:7px}.page-pagination strong{font-size:11px}table{font-size:11px}th,td{padding:11px 12px}tbody th{min-width:110px}thead{font-size:9px}.theme-grid{gap:14px 11px}.theme-photo{height:200px;padding:11px 10px 0}.theme-info{padding:11px 10px;gap:6px;grid-template-columns:1fr}.theme-name{font-size:11px}.theme-category{font-size:7px}.theme-description{font-size:9px;min-height:30px}.theme-swatches{gap:4px}.theme-swatches i{width:12px;height:12px}.theme-expand{width:24px;height:24px;right:5px;top:5px;font-size:14px}.gallery-controls{gap:6px}.gallery-controls button{padding:10px 11px;font-size:11px}.gallery-controls button span{font-size:8px;margin-left:3px}.gallery-note{font-size:10px!important;line-height:1.8;gap:4px}.gallery-note #themeCount{display:block;width:100%}.dialog-top{padding:15px}.search-input-wrap{margin:17px 15px 8px}.search-status{padding:10px 15px}.search-footer{padding:12px 15px;font-size:9px}.search-footer span{display:none}.search-result{padding:12px 7px;gap:10px}.search-result strong{font-size:12px}.image-dialog .dialog-top h2{font-size:12px}.image-dialog .dialog-top p{font-size:9px}.theme-swatches i{border:0}.search-dialog .dialog-top h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.topbar,.sidebar,.mobile-bar,.toc,.site-footer,.mobile-toc,.page-pagination,dialog{display:none!important}main{margin:0}body{background:#fff;color:#111}.doc-layout{display:block;padding:0}.article-section p,.steps p,td,figcaption,.lead{color:#333}.article-header h1,.article-section h2,.steps h3,th{color:#111}.article-section{break-inside:avoid}.screen-figure,.callout{background:#eee}.screen-image{max-width:130px}.article-section p a{color:#333}}
/* Keep mobile artwork clear of the reading and touch areas. */
@media(min-width:761px){.menu-trigger{display:none}}
@media(max-width:480px){.start-panel{min-height:0}.start-copy{padding-bottom:24px}.hero-visual{position:relative;inset:auto;height:145px;width:100%;overflow:hidden;background-image:radial-gradient(#d8b254 1px,transparent 1px);background-size:12px 12px}.screen-window{width:205px;left:auto;right:22px;top:15px;transform:rotate(-5deg)}.hero-sticker{left:20px;right:auto;bottom:25px;font-size:8px;padding:10px}.reading-time{width:auto}.theme-card{min-height:44px}}
