/* LiLi desktop visual system. Original pixels stay crisp; decoration never changes native behavior. */
:root{color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-color:#bdbdb4 #f1f1ec;scrollbar-width:thin}body.crafted{--base:#f3f3ef;--card:#fffefa;--text:#292e30;--dim:#727775;--border:#dedfd7;--gold:#e9c253;--gold-light:#fbf2cf;--rail:#262c2e;--scene:#eae7dc;--ink:#292e30;--surface:#fffefa;--muted:#727775;background:var(--base)!important;color:var(--text)!important;font-family:Vazir,sans-serif;font-size:13px;line-height:1.9;margin:0;min-width:360px;overflow-x:hidden}button,input,select,textarea,a{font-family:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a{transition:background-color .17s,border-color .17s,box-shadow .17s,transform .17s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a17c15!important;outline-offset:3px}body.crafted .workspace{padding:0!important;background:var(--base);min-height:100vh}body.crafted .app-shell{margin:0 240px 0 0;width:calc(100% - 240px);max-width:none;background:transparent;min-height:100vh;border:0;border-radius:0;box-shadow:none;padding:0 32px 24px}body.crafted .design-toolbar,body.crafted .window-bar,body.crafted .gallery-note,body.crafted .section-picker,body.crafted .mobile-nav,#pixel-studio{display:none!important}.icon{width:21px;height:21px;flex:none;vertical-align:middle}.desktop-sidebar{width:240px;height:100vh;position:fixed;right:0;top:0;background:var(--rail);color:#e7e8e0;z-index:30;padding:32px 20px 20px;display:flex;flex-direction:column;border-left:1px solid #1113;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#59615c transparent}.side-brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px;padding:0 9px 32px;border-bottom:1px solid #ffffff12}.brand-mark{display:grid;place-items:center;background:var(--gold);color:#30362e;width:46px;height:48px;border-radius:16px 16px 16px 5px;box-shadow:0 5px 14px #0001}.brand-mark .icon{width:28px;height:28px}.side-brand b{font-size:35px;line-height:1.2;letter-spacing:-2px;font-family:Arial,sans-serif;display:block;width:max-content}.side-brand b>span{color:var(--gold)}.side-brand small{color:#aeb4ae;font-size:10px;display:block;margin-top:5px}.side-caption{font-size:10px;color:#949e98;margin:24px 13px 12px}.crafted .screen-nav{display:flex;flex-direction:column;gap:6px;margin:0;border:0;padding:0}.crafted .screen-nav button{border:1px solid transparent;border-radius:13px;background:transparent;color:#b9c0ba;text-align:right;display:flex;align-items:center;gap:13px;padding:12px;min-height:62px}.crafted .screen-nav button>span{flex:1}.crafted .screen-nav button b{font-size:12px;font-weight:600;display:block}.crafted .screen-nav button small{font-size:9px;font-weight:400;display:block;color:#8e9991;margin-top:1px}.crafted .screen-nav button>.icon{opacity:.85}.crafted .screen-nav button:hover{background:#ffffff08;color:#fff}.crafted .screen-nav button[aria-current=page]{background:#e9c25314;border-color:#dfc56d28;color:#f2d476}.crafted .screen-nav button[aria-current=page] small{color:#b6ab87}.nav-indicator{height:5px;width:5px;background:currentColor;opacity:0;border-radius:50%}.crafted .screen-nav button[aria-current=page] .nav-indicator{opacity:1}.side-companion{margin:28px 6px 24px;padding:0 12px 12px;display:flex;flex-direction:column;align-items:center;border:1px solid #ffffff12;border-radius:22px;background:linear-gradient(155deg,#363c3c,#2a3030);position:relative;text-align:center}.side-cat-scene{height:135px;width:150px;position:relative;display:grid;place-items:center;margin-top:2px}.side-orbit{position:absolute;inset:20px 25px;border:1px solid #c5bc8222;border-radius:50%;background:radial-gradient(circle,#d6bc5211,transparent 70%)}.side-orbit:before,.side-orbit:after{content:'';position:absolute;background:#e1c561;width:4px;height:4px;border-radius:50%;top:10px;right:5px}.side-orbit:after{top:auto;right:auto;bottom:7px;left:6px;opacity:.4}.side-cat{position:relative;width:120px;height:120px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 10px 8px #0002)}#side-breed{font-size:12px;color:#f4f3e9}#side-mood{font-size:9px;color:#a5afa6;max-width:160px;margin:5px 0 13px}.side-look{width:100%;background:#ffffff08;border:1px solid #ffffff14;border-radius:9px;padding:7px;color:#dcded3;font-size:10px}.side-look .icon{width:15px;height:15px;margin-right:12px}.side-bottom{margin-top:auto;display:grid;grid-template-columns:1fr 28px;align-items:center;gap:10px 0;padding:15px 8px 0;border-top:1px solid #ffffff12}.native-state{display:flex;align-items:center;gap:6px;font-size:9px}.native-state b{font-weight:400}.native-state i{width:5px;height:5px;border-radius:50%;background:#abc5a5;box-shadow:0 0 0 3px #abc5a510}.native-state.paused i{background:#e3c867}.native-state.offline i{background:#df8c79}.side-bottom small{font-size:8px;letter-spacing:1px;color:#8d9891;grid-column:1/-1;text-align:center}.keyboard-hint{font-size:9px;color:#8d9891;grid-column:1/-1;display:flex;justify-content:center;gap:8px}.crafted kbd{font-family:Arial,sans-serif;font-size:10px;padding:1px 6px;border:1px solid #d0d0c6;border-radius:5px;box-shadow:0 2px 0 #00000007}.side-bottom kbd{border-color:#ffffff20;color:#d7dbcf}.side-bottom button{background:none;color:#a0aaa2;border:0;padding:3px}.side-bottom button:hover{color:#f1ce61}.side-bottom .icon{width:17px;height:17px}.desktop-topbar{height:70px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);gap:16px}.breadcrumb{font-size:10px;color:var(--dim)}.breadcrumb span{margin:0 12px;opacity:.45}.breadcrumb b{color:#424947;font-weight:500}.top-controls{display:flex;align-items:center;gap:18px}#pending-state{font-size:10px;color:#838a81}#pending-state:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#a2b194;margin-left:6px}#pending-state.dirty{color:#947121}#pending-state.dirty:before{background:#d6ac35}body.crafted #global-pause{font-size:10px;display:flex;gap:8px;align-items:center;padding:7px 12px;border-radius:8px;background:#fffefa}#global-pause .icon{width:14px;height:14px}.crafted .app-header{background:transparent;color:var(--text);padding:29px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:134px;border:0}.crafted .app-brand{gap:0;display:flex;align-items:center}.crafted .app-brand>img{display:none}.crafted .app-brand h1{font-size:27px;line-height:1.6;letter-spacing:-1px;color:#2b3230;margin:5px 0 6px;font-weight:750}.crafted .app-brand p{color:#81867e;font-size:11px;margin:0}.page-eyebrow{font:9px Arial,sans-serif;color:#9d956d;letter-spacing:1.5px;display:block;direction:ltr;text-align:right}.crafted #model-badge{color:#646a60;background:#fffefa;border:1px solid var(--border);border-radius:12px;padding:9px 12px;white-space:nowrap;font-size:10px;cursor:pointer}.crafted #model-badge:hover{border-color:#b9b49e;background:#fdf9e9}.crafted .app-content{padding:0}.subpage-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 22px;padding:5px;width:fit-content;max-width:100%;background:#eaece5;border:1px solid #e0e2d8;border-radius:12px}.subpage-tabs button{border:0;border-radius:8px;background:transparent;padding:7px 13px;color:#7d8277;font-size:10px;white-space:nowrap}.subpage-tabs button[aria-current=page]{background:var(--card);color:#353e33;box-shadow:0 2px 5px #2d302c0b}.subpage-tabs button:hover{color:#333a30;background:#ffffff66}.crafted .panel,.crafted .room-card{background:var(--card);border:1px solid var(--border);border-radius:20px;box-shadow:0 3px 14px #20292303}.crafted .panel{padding:22px}.crafted .panel-head{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px}.crafted h2,.crafted h3{color:#333b33;letter-spacing:-.3px}.crafted h2{font-size:15px}.crafted .panel-head h2{font-size:13px;margin:0}.crafted .panel-head small{font:9px Arial,sans-serif;color:#a3a694;letter-spacing:1px;direction:ltr}.crafted .full-panel{width:100%;max-width:none;margin:0;padding:25px}.crafted .full-panel>h2{font-size:22px;font-weight:700;margin:0 0 6px}.crafted .subhead{font-size:11px;color:#8a8e82;line-height:2;margin:0 0 24px}.crafted .full-panel .demo-feedback:empty{display:none}.crafted .full-panel .demo-feedback{margin-top:15px;color:#668255;font-size:11px}.crafted .room-card{padding:9px;overflow:hidden}.crafted .crafted-stage{position:relative;isolation:isolate;overflow:hidden;height:305px;border:1px solid #dad9cc;border-radius:14px;background:#ebe8df url('design/room.svg') center/cover no-repeat!important}.crafted .demo-room.crafted-stage{height:350px;width:100%;margin:8px 0 18px}.crafted .crafted-stage:after{display:none}.crafted .room-cat,.crafted .demo-room [data-portrait]{position:absolute;width:220px;height:220px;object-fit:contain;image-rendering:pixelated;bottom:26px;left:calc(50% - 110px);right:auto;margin:0;filter:drop-shadow(0 12px 4px #555e3620);z-index:3;max-width:none;max-height:none}.crafted .demo-room [data-portrait]{width:240px;height:240px;left:calc(50% - 120px);bottom:28px}.crafted .room-prop,.crafted .live-prop{position:absolute;object-fit:contain;image-rendering:pixelated;bottom:20px;width:92px;height:92px;max-width:none;z-index:2}.crafted .room-prop.tree,.crafted .live-prop.tree{left:79%;right:auto;width:116px;height:116px;bottom:22px}.crafted .room-prop.bowl,.crafted .live-prop.bowl{left:64%;right:auto;bottom:17px;width:70px;height:70px}.crafted .room-prop.litter,.crafted .live-prop.litter{left:16%;right:auto;bottom:18px;width:85px;height:85px}.crafted .room-note{font-size:10px;position:absolute;inset:18px 18px auto auto;left:auto;max-width:220px;background:#fffef3db;backdrop-filter:blur(8px);color:#7c7d68;border:1px solid #ffffffa0;border-radius:9px;padding:8px 12px;z-index:4;box-shadow:0 3px 10px #77731b06}.crafted .room-meta{background:none;color:var(--text);padding:11px 6px 3px;display:flex;align-items:center;justify-content:space-between}.crafted .room-meta b{font-size:10px}.crafted .room-meta button{font-size:10px;min-height:32px;padding:4px 12px}.crafted .layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.9fr);gap:16px;margin-top:16px;align-items:start}.crafted .stack{display:flex;flex-direction:column;gap:16px}.crafted .chosen-model{margin:0 0 15px;font-size:11px;color:#555e50}.crafted .chosen-model b{display:block}.crafted .chosen-model small{display:block;font-size:10px;color:#939686;margin-top:3px}.crafted .breed-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;direction:ltr}.crafted .breed-grid button,.crafted .item-grid button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e2e2d7;background:#f4f4eb;border-radius:11px;color:#70765f;min-width:0;overflow:visible;box-shadow:none;padding:5px 3px}.crafted .breed-grid button img{width:100%;height:62px;object-fit:contain;image-rendering:pixelated}.choice-name{font-size:8px;line-height:1.5;display:block;color:#7f8574;white-space:normal;margin:5px 0 3px;direction:rtl}.crafted .breed-grid button .choice-name{font-size:7px}.crafted [aria-pressed=true]{outline:none}.crafted .breed-grid button[aria-pressed=true],.crafted .item-grid button[aria-pressed=true],.crafted .options button[aria-pressed=true]{border-color:#b59b39;background:#fcf3cf;box-shadow:0 0 0 2px #d6bb5a30}.crafted .breed-grid button[aria-pressed=true]:after,.crafted .item-grid button[aria-pressed=true]:after{content:'✓';position:absolute;top:4px;right:4px;background:#e9c253;color:#4d472a;border:0;border-radius:50%;width:14px;height:14px;line-height:14px;font-size:9px;display:block}.crafted .breed-grid button:hover,.crafted .item-grid button:hover,.crafted .options button:hover{transform:translateY(-2px);border-color:#b3b89c;background:#fbf9ef}.crafted .options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;direction:ltr}.crafted .options button{padding:8px 4px;border:1px solid #dfdfd2;background:#eeeede;border-radius:10px;min-height:65px}.crafted .options img{width:47px;height:47px;object-fit:contain;image-rendering:pixelated}.crafted .option-label{font-size:10px;color:#91977e;margin:0 0 13px}.all-options{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;color:#939b7d;font-size:9px;border:0;border-top:1px solid #ececdf;margin-top:14px;padding:11px 0 0}.all-options .icon{width:14px;height:14px}.crafted .palette{display:flex;gap:6px;justify-content:flex-start}.crafted .palette i{width:24px;height:24px;border:1px solid #0001;border-radius:7px}.crafted .palette-caption{font-size:9px;color:#959a84;margin-bottom:0}.crafted .setting,.crafted .form-row{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#5e6756;border-bottom:1px solid #e8e9df;padding:15px 0;min-height:56px;font-size:11px}.crafted .setting{padding:12px 0;font-size:10px}.crafted input[type=checkbox]{appearance:none;position:relative;width:31px;height:18px;border-radius:12px;border:1px solid #d5d8cb;background:#dee1d6;flex:none;margin:0;cursor:pointer;box-shadow:inset 0 1px 2px #00000008}.crafted input[type=checkbox]:after{content:'';position:absolute;left:3px;top:3px;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:left .18s}.crafted input[type=checkbox]:checked{background:#c6ad4d;border-color:#b5a04a}.crafted input[type=checkbox]:checked:after{left:16px;background:#fff9e6}.crafted input:not([type=checkbox]),.crafted select,.crafted textarea{border:1px solid #d9ddce;background:#fdfdf8;color:#4e5744;border-radius:9px;padding:8px 10px;font-size:11px;box-shadow:inset 0 1px 2px #20251902;min-height:36px}.crafted select{padding-left:24px}.crafted input[type=number]{width:100px;direction:ltr;text-align:center}.crafted textarea{width:100%;resize:vertical;line-height:2;min-height:100px}.crafted textarea::placeholder{color:#a7ab9a;font-size:10px}.crafted .note-label{font-size:10px;color:#90977f;margin:18px 0 9px;display:block}.crafted .save,.crafted a.save{background:#e9c253;border:1px solid #ddba4f;color:#423d28;border-radius:10px;padding:10px 19px;font-size:11px;font-weight:650;min-height:40px;box-shadow:0 2px 1px #f5df92 inset,0 2px 5px #c3a14210;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.crafted .save:hover{background:#f1ce68;border-color:#caab46;box-shadow:0 3px 9px #9c80391a}.crafted .quiet,.crafted button.quiet{border:1px solid #d9ddce;background:#fffefa;color:#737c66;border-radius:10px;padding:9px 16px;font-size:11px;min-height:40px;box-shadow:none}.crafted .quiet:hover{border-color:#b9c0a8;background:#f8f9f1}.crafted .actions{display:flex;align-items:center;justify-content:space-between;margin-top:22px;gap:16px;padding:0 0 6px;border:0}.crafted .action-buttons,.crafted .backup-actions{display:flex;align-items:center;gap:9px}.crafted .actions small{font-size:9px;color:#9a9e8c}.crafted .backup-actions{margin-top:24px}.crafted .feedback{font-size:10px;color:#70885f;min-height:0;margin:8px 0}.crafted .feedback:empty{display:none}.crafted .error{color:#a55a43!important}.crafted .item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;direction:ltr}.crafted .item-grid button{border-radius:15px;padding:12px;background:#f2f3e9;min-height:150px}.crafted .item-grid button img{width:100%;height:110px;object-fit:contain;image-rendering:pixelated}.crafted .item-grid .choice-name{font-size:10px;margin-top:12px}.crafted .demo-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 18px}.crafted .demo-controls select{margin-right:auto;min-width:215px}.crafted .callout{border:1px solid #e4e5d5;background:#f3f4e8;border-radius:13px;color:#7b8469;padding:17px;font-size:11px;box-shadow:none;margin:15px 0;line-height:2.1}.crafted .play-hint{display:flex;gap:9px;align-items:center;background:transparent;border-style:dashed;padding:12px 14px;font-size:10px}.play-hint>.icon{width:16px;height:16px;color:#a7af93}.play-hint>span{flex:1}.play-hint small{font-size:9px}.activity-shelf{margin-top:28px;padding-top:22px;border-top:1px solid #e4e7d9}.shelf-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.shelf-heading .page-eyebrow{font-size:8px;letter-spacing:1.5px;color:#aca37a}.shelf-heading h3{margin:3px 0 0;font-size:16px}.shelf-heading>span{font-size:10px;color:#9ca68d}.activity-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.activity-tile{min-height:84px;border:1px solid #e3e6d7;background:#fafbf4;color:#777f69;border-radius:13px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:8px}.activity-tile>.icon{width:23px;height:23px;color:#a4aa86}.activity-tile>span{font-size:9px;line-height:1.8}.activity-tile:hover{background:#f8f0ce;border-color:#d7c688;transform:translateY(-2px)}.activity-tile[aria-pressed=true]{border-color:#b6a15a;background:#fbf3d5}.crafted .activity-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.crafted .panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.crafted .panel-grid article{margin:0;padding:24px}.crafted .mini-portrait{display:flex;align-items:center;gap:22px}.crafted .mini-portrait img{width:115px;height:115px;object-fit:contain;image-rendering:pixelated}.crafted .mini-portrait .media-photo{width:180px;height:150px;image-rendering:auto;object-fit:cover;border-radius:12px}.crafted .panel-grid .save{margin-right:8px}.crafted .help-list details{border:1px solid #e1e5d5;border-radius:13px;margin:10px 0;padding:16px;background:#fafbf5}.crafted .help-list summary{font-size:12px;color:#59654b;cursor:pointer}.crafted .help-list p{font-size:11px;color:#8b947d;padding:10px 4px 0;line-height:2.3}.crafted .sources{font-size:12px;line-height:2.5;color:#818b71}.crafted .timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.crafted .timeline article{background:#f5f5e9;border:1px solid #e1e4d1;border-radius:15px;padding:22px;position:relative}.crafted .timeline article:before{content:'';width:26px;height:4px;background:#dec058;border-radius:3px;display:block;margin-bottom:20px}.crafted .timeline h3{font-size:13px}.crafted .timeline p{font-size:11px;line-height:2.2;color:#8a9476}.crafted .full-panel:has(.form-row){max-width:900px}.crafted .full-panel:has(.form-row)>h2{font-size:20px}.crafted .full-panel:has(.form-row) .subhead{margin-bottom:20px}.crafted .full-panel:has(.form-row) .backup-actions{padding-top:6px}.crafted #other-page{padding:0}.crafted [hidden]{display:none!important}#crafted-toast{position:fixed;bottom:25px;left:30px;max-width:min(440px,calc(100vw - 60px));font-size:11px;color:#f0f1e5;background:#303a2ef5;border:1px solid #ffffff22;border-radius:13px;padding:14px 19px;box-shadow:0 8px 30px #17201122;z-index:100;opacity:0;transform:translateY(18px);pointer-events:none;transition:opacity .2s,transform .2s}#crafted-toast.shown{opacity:1;transform:none}#crafted-toast.error{color:#fff1e8!important;background:#864b3bf5}.app-loading{position:fixed;inset:0;background:#f3f3ef;z-index:150;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#6f7765}.app-loading>b{font-size:18px}.app-loading>span:not(.brand-mark){font-size:11px;color:#969d88}.app-loading .brand-mark{width:60px;height:62px;margin-bottom:8px}.exit-dialog{border:1px solid #dfe2d4;border-radius:24px;background:#fffef8;padding:34px;max-width:440px;color:#535e47;box-shadow:0 20px 70px #0002}.exit-dialog::backdrop{background:#20292166;backdrop-filter:blur(5px)}.exit-dialog h2{font-size:20px;margin:15px 0 8px}.exit-dialog p{font-size:12px;line-height:2.2;color:#90987f}.exit-dialog>div{display:flex;gap:9px;margin-top:24px}.dialog-icon{display:grid;place-items:center;width:44px;height:44px;background:#f6edc8;border-radius:14px;color:#a3955c}.desktop-ready #look-page,.desktop-ready #other-page{animation:enter .23s ease-out}button:hover img{transition:transform .2s}button:hover>.header-cat{transform:translateY(-2px)}@keyframes enter{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#c5c9b9;border-radius:8px}::-webkit-scrollbar-track{background:transparent}
@media(min-width:1600px){body.crafted .app-shell{padding-left:50px;padding-right:50px}.crafted .app-brand h1{font-size:32px}.crafted .demo-room.crafted-stage{height:410px}.crafted .demo-room [data-portrait]{width:280px;height:280px;left:calc(50% - 140px)}.activity-tile{min-height:95px}.crafted .breed-grid button img{height:75px}.crafted .full-panel{padding:30px}}
@media(max-width:1250px){body.crafted .app-shell{margin-right:210px;width:calc(100% - 210px);padding-left:22px;padding-right:22px}.desktop-sidebar{width:210px;padding:26px 15px 16px}.side-brand{padding-left:2px;padding-right:2px}.crafted .layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.crafted .layout>.stack:last-child{grid-column:1/-1;display:grid;grid-template-columns:1.4fr 1fr}.crafted .layout>.stack:last-child #settings{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.crafted #settings .panel-head,.crafted #settings .note-label,.crafted #settings textarea{grid-column:1/-1}.crafted .item-grid button{min-height:130px;padding:8px}.crafted .item-grid button img{height:85px}.activity-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}.crafted .app-brand h1{font-size:24px}.crafted .panel-grid{grid-template-columns:1fr}.crafted .timeline{grid-template-columns:1fr}.crafted .timeline article{padding:18px}.crafted .timeline article:before{margin-bottom:12px}}
@media(max-height:850px) and (min-width:851px){.side-companion{margin-top:18px;margin-bottom:15px}.side-cat-scene{height:105px}.side-cat{width:100px;height:100px}.side-brand{padding-bottom:20px}.side-caption{margin-top:18px}.crafted .screen-nav button{min-height:54px;padding-top:9px;padding-bottom:9px}}
@media(max-width:850px){.desktop-sidebar{width:78px;padding:22px 9px}.side-brand{justify-content:center;padding:0 0 24px;border-bottom:0}.side-brand>span:last-child,.side-caption,.screen-nav small,.screen-nav b,.nav-indicator,.side-companion,.side-bottom>small,.side-bottom .keyboard-hint{display:none!important}.brand-mark{width:42px;height:44px;border-radius:13px}.crafted .screen-nav{gap:11px}.crafted .screen-nav button{padding:14px;justify-content:center;min-height:54px}.crafted .screen-nav button>span{display:none}.side-bottom{display:flex;flex-direction:column;gap:18px;padding-top:17px}.native-state b{display:none}.native-state i{width:7px;height:7px}body.crafted .app-shell{margin-right:78px;width:calc(100% - 78px);padding:0 20px 24px}.crafted .app-brand h1{font-size:22px}.crafted #model-badge{font-size:9px}.crafted .app-brand p{font-size:10px}.crafted .app-header{padding-top:24px}.crafted .layout{grid-template-columns:1fr}.crafted .layout>.stack:last-child{grid-column:auto}.crafted .activity-grid{grid-template-columns:1fr}.crafted .breed-grid button img{height:75px}.crafted .options button{min-height:70px}.crafted .item-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.crafted .demo-room.crafted-stage{height:300px}.crafted .full-panel{padding:18px}.crafted .demo-controls select{min-width:180px}.activity-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.top-controls{gap:8px}#pending-state{font-size:9px}.crafted .actions{flex-direction:column;align-items:stretch}.crafted .actions small{order:2}.crafted .full-panel .backup-actions{flex-wrap:wrap}}
@media(max-width:600px){.desktop-sidebar{position:fixed;top:auto;bottom:0;width:100%;height:66px;padding:6px 8px;background:#262c2ef5;backdrop-filter:blur(12px);border-top:1px solid #ffffff12}.side-brand,.side-bottom{display:none!important}#side-nav-slot{width:100%}.crafted .screen-nav{flex-direction:row;gap:3px;width:100%}.crafted .screen-nav button{flex:1;min-height:50px;padding:8px 3px;flex-direction:column;gap:3px;border-radius:9px}.crafted .screen-nav button>span{display:block}.crafted .screen-nav b{display:block!important;font-size:8px;line-height:1.3}.crafted .screen-nav .icon{width:18px;height:18px}.crafted .screen-nav button small{display:none}body.crafted .app-shell{width:100%;margin:0;padding:0 15px 90px}.desktop-topbar{height:57px}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 5px}#pending-state{font-size:8px}body.crafted #global-pause{padding:6px 8px;font-size:9px;min-height:32px}#global-pause .icon{width:12px;height:12px}.crafted .app-header{min-height:120px;padding:20px 0;position:relative}.crafted .app-brand h1{font-size:22px}.crafted .app-brand p{font-size:9px;max-width:260px;line-height:2}.page-eyebrow{font-size:7px;letter-spacing:.8px}.crafted #model-badge{position:absolute;top:10px;left:0;font-size:8px;padding:4px 6px;background:transparent;border:0}.subpage-tabs{margin-bottom:16px;padding:4px;border-radius:10px}.subpage-tabs button{font-size:9px;padding:6px 9px}.crafted .full-panel{padding:15px;border-radius:17px}.crafted .full-panel>h2{font-size:21px}.crafted .subhead{font-size:9px;line-height:2;margin-bottom:15px}.crafted .demo-room.crafted-stage{height:280px;margin-top:3px;background-position:38% center!important}.crafted .demo-room [data-portrait],.crafted .room-cat{width:190px;height:190px;left:calc(50% - 95px);bottom:24px}.crafted .room-note{inset:12px 10px auto auto;max-width:180px;font-size:8px;padding:7px 9px}.crafted .live-prop.tree,.crafted .room-prop.tree{left:75%;width:80px;height:80px}.crafted .live-prop.bowl,.crafted .room-prop.bowl{left:65%;width:50px;height:50px}.crafted .demo-controls{gap:6px}.crafted .demo-controls select{order:3;width:100%;margin:4px 0 0;min-width:0;font-size:10px}.crafted .demo-controls>button{flex:1;font-size:10px;padding:8px}.crafted .play-hint{flex-wrap:wrap;font-size:9px;padding:10px}.play-hint>span{flex-basis:75%}.activity-shelf{margin-top:21px;padding-top:18px}.shelf-heading h3{font-size:14px}.shelf-heading>span{font-size:8px}.activity-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.activity-tile{min-height:78px;padding:10px 4px}.activity-tile>span{font-size:8px}.activity-tile>.icon{width:20px;height:20px}.crafted .layout{gap:12px;margin-top:12px}.crafted .stack{gap:12px}.crafted .layout>.stack:last-child{display:flex}.crafted .panel{padding:18px;border-radius:17px}.crafted .layout>.stack:last-child #settings{display:block}.crafted .breed-grid{gap:5px}.crafted .breed-grid button img{height:56px}.crafted .breed-grid button .choice-name{font-size:7px}.crafted .item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.crafted .item-grid button{min-height:120px;border-radius:11px;padding:8px 4px}.crafted .item-grid button img{height:77px}.crafted .item-grid .choice-name{font-size:8px}.crafted .form-row{font-size:10px;gap:10px;padding:14px 0}.crafted .form-row select{max-width:150px}.crafted .full-panel:has(.form-row)>h2{font-size:20px}.crafted .backup-actions .save,.crafted .backup-actions .quiet{font-size:10px;padding:9px 13px}.crafted .mini-portrait{gap:12px;flex-wrap:wrap}.crafted .mini-portrait .media-photo{width:100%;height:170px}.crafted .panel-grid article{padding:17px}.exit-dialog{max-width:calc(100vw - 32px);padding:25px}#crafted-toast{left:15px;bottom:79px;max-width:calc(100vw - 30px)}.crafted .sources{font-size:11px}.crafted .actions .action-buttons>button{flex:1}.crafted .room-meta b{font-size:9px}.crafted .room-meta button{font-size:9px}.crafted .panel-head h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Final readability pass: secondary text still has usable contrast on the warm paper. */
.crafted .app-brand p,.crafted .subhead{color:#747d69}.crafted .form-row,.crafted .setting{font-size:12px;color:#59664d}.crafted .chosen-model small,.crafted .option-label,.crafted .palette-caption,.crafted .note-label,.crafted .actions small{color:#778467}.crafted .sources,.crafted .help-list p{color:#6f7c60}.activity-tile>span{color:#6b7758;font-size:10px}.activity-tile>.icon{color:#89996e}.choice-name,.crafted .item-grid .choice-name{color:#6f7c5e}.crafted .panel-head h2{font-size:14px}.crafted .screen-nav button b{font-size:13px}.crafted .screen-nav button small{font-size:10px}.crafted .setting select,.crafted .setting textarea{font-size:11px}.crafted .panel-head small,.crafted .chosen-model small{font-size:10px}@media(max-width:600px){.crafted .form-row,.crafted .setting{font-size:11px}.activity-tile>span{font-size:9px}.crafted .screen-nav button b{font-size:8px}.crafted .screen-nav button small{display:none}.crafted .panel-head h2{font-size:13px}}

@media(max-width:800px){body.crafted{padding-bottom:env(safe-area-inset-bottom)}.desktop-sidebar{height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.crafted .app-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.owner-broadcast{bottom:calc(94px + env(safe-area-inset-bottom))}}

body.platform-ios.crafted{min-width:320px}
