.play-viewport{flex:1;min-width:0;min-height:0;display:flex;position:relative}.play-viewport--paginated{padding-inline:32px}.play-content-scroll{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.play-content-scroll>.play-presentation:not(.play-presentation--editing){flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.play-content-scroll .reading-room{flex:1;min-height:0;overflow:hidden}.play-content-scroll .reading-room>:is(.reading-heading,.reading-history){flex:none}.play-content-scroll .reading-room>.reading-page,.play-content-scroll .play-file-manager.is-open{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.play-content-scroll .play-presentation>:is(.presentation-error,.presentation-empty){flex:none;max-height:25%;overflow-y:auto}.play-viewport-pagination>button{width:32px;min-width:32px;height:56px;color:var(--accent);box-shadow:none;background:0 0;border-color:#0000;padding:0;position:absolute;top:50%;transform:translateY(-50%)}.play-viewport-pagination__previous{left:0}.play-viewport-pagination__next{right:0}.play-viewport-pagination>button:hover:not(:disabled){color:var(--accent-strong);background:0 0;border-color:#0000}.play-viewport-pagination>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.play-viewport--editing>.play-content-scroll{scrollbar-gutter:auto;flex-direction:column;display:flex;overflow:hidden}.play-viewport--editing>.play-content-scroll>.play-presentation{flex:1;min-height:0}@media (width<=760px){.play-viewport--paginated{padding-inline:28px}.play-viewport-pagination>button{width:28px;min-width:28px}.play-viewport--paginated .presentation-panels,.play-viewport--paginated .reading-room{padding-inline:0}}@media (width<=480px){.play-viewport-pagination__previous{left:0}.play-viewport-pagination__next{right:0}.play-viewport-pagination>button{border-radius:6px;height:48px}.play-viewport--paginated .presentation-rounds{gap:4px;padding-inline:8px}.play-viewport--paginated .presentation-rounds button{padding-inline:6px;font-size:12px}.play-viewport--paginated .presentation-rounds button svg{display:none}.play-viewport--paginated .presentation-rounds select{min-width:90px;padding-inline:6px}}.world-library-shell{--library-bg:var(--bg,#0b1119);--library-panel:var(--surface,#111c27);--library-raised:var(--surface-raised,#192836);--library-hover:var(--surface-hover,#213344);--library-line:var(--border,#2b3e50);--library-ink:var(--text,#e4edf4);--library-muted:var(--muted,#9cb0c1);--library-accent:var(--accent,#9bc7e7);min-height:100dvh;color:var(--library-ink);background:var(--library-bg)}.world-library-shell :is(h1,h2,h3,p){margin:0}.world-library-shell :is(button,input,textarea){-webkit-tap-highlight-color:transparent}.world-library-shell :is(button,input,textarea):focus-visible{outline:2px solid var(--library-accent);outline-offset:3px}.world-library-shell svg{flex:none;width:18px;height:18px}.library-muted{color:var(--library-muted)}.library-small{font-size:12px;line-height:1.7}.library-header{border-bottom:1px solid var(--library-line);background:var(--library-panel);align-items:center;gap:42px;min-height:76px;padding:0 30px;display:flex}.library-brand{color:var(--library-ink);text-align:left;background:0 0;border:0;flex:none;align-items:center;gap:11px;padding:12px 0;font-size:20px;font-weight:740;display:inline-flex}.library-brand>svg{width:29px;height:29px;color:var(--library-accent);stroke-width:1.5px}.library-brand>span{gap:2px;display:grid}.library-brand small{color:var(--library-muted);letter-spacing:.12em;font-size:10px;font-weight:450}.library-tabs{align-self:stretch;gap:12px;display:flex}.library-tabs>button{min-width:92px;color:var(--library-muted);background:0 0;border:0;justify-content:center;align-items:center;gap:9px;padding:0 13px;font-size:14px;font-weight:600;display:flex;position:relative}.library-tabs>button:after{content:"";background:0 0;height:2px;position:absolute;inset:auto 13px -1px}.library-tabs>button[aria-current=page]{color:var(--library-accent)}.library-tabs>button[aria-current=page]:after{background:var(--library-accent)}.library-tabs>button:hover{color:var(--library-ink);background:var(--library-raised)}.library-tab-note{color:var(--library-muted);font-size:9px;font-weight:400}.library-tabs>button{white-space:nowrap}.library-account-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.library-account-name{text-overflow:ellipsis;white-space:nowrap;max-width:150px;color:var(--library-muted);font-size:12px;overflow:hidden}.library-button,.library-icon-button{border:1px solid var(--library-line);min-height:40px;color:var(--library-ink);background:var(--library-raised);border-radius:6px;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:600;line-height:1.4;display:inline-flex}.library-button{padding:9px 16px}.library-icon-button{flex:0 0 40px;width:40px;padding:0}.library-button:hover:not(:disabled),.library-icon-button:hover:not(:disabled){border-color:var(--library-accent);background:var(--library-hover)}.library-button-primary{background:var(--library-accent);color:var(--accent-ink,#102434);border-color:#0000}.library-button-primary:hover:not(:disabled){background:var(--accent-strong,#b8dcf5);border-color:#0000}.library-button-quiet{background:0 0}.library-text-button{min-height:40px;color:var(--library-accent);background:0 0;border:0;align-items:center;gap:7px;padding:5px 0;font-size:13px;line-height:1.5;display:inline-flex}.library-text-button:hover:not(:disabled){color:var(--accent-strong,#b8dcf5);text-underline-offset:4px;text-decoration:underline}.library-layout{grid-template-columns:216px minmax(0,1fr);min-height:calc(100dvh - 76px);display:grid}.library-sidebar{border-right:1px solid var(--library-line);background:var(--library-panel);flex-direction:column;gap:20px;padding:30px 16px 22px;display:flex}.library-sidebar h2{color:var(--library-muted);padding-left:13px;font-size:11px;font-weight:550}.library-filters{flex-direction:column;gap:5px;display:flex}.library-filters>button{min-width:0;min-height:45px;color:var(--library-muted);text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:12px;padding:10px 12px;font-size:13px;display:flex}.library-filters>button>span{overflow-wrap:anywhere;min-width:0}.library-filters>button>small{font-variant-numeric:tabular-nums;color:var(--library-muted);margin-left:auto;padding-left:5px;font-size:11px}.library-filters>button[aria-pressed=true]{color:var(--library-accent);background:var(--accent-soft,#203c51);border-color:var(--library-line)}.library-filters>button:hover{background:var(--library-hover);color:var(--library-ink)}.library-filter-divider{background:var(--library-line);height:1px;margin:16px 12px}.library-sidebar-bottom{color:var(--library-muted);align-items:center;gap:9px;margin-top:auto;padding:30px 12px 0;font-size:10px;display:flex}.library-sidebar-bottom>svg{width:14px;height:14px}.library-main{min-width:0;padding:32px 36px 64px}.library-toolbar{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.library-page-title{flex:none;align-items:baseline;gap:13px;display:flex}.library-page-title h1{letter-spacing:-.02em;font-size:27px;font-weight:700}.library-page-title>span{color:var(--library-muted);font-size:11px}.library-toolbar-actions{flex:1;justify-content:flex-end;align-items:center;gap:12px;min-width:0;display:flex}.library-toolbar-actions>.library-button{flex:none}.library-search{border:1px solid var(--library-line);background:var(--library-panel);border-radius:6px;align-items:center;gap:9px;width:min(100%,340px);min-width:0;height:41px;padding:0 12px;display:flex}.library-search>svg{width:17px;height:17px;color:var(--library-muted)}.library-search>input{width:100%;min-width:0;height:37px;color:var(--library-ink);background:0 0;border:0;padding:0;font-size:12px}.library-search>input::placeholder{color:var(--library-muted)}.library-search>.library-icon-button{background:0 0;border:0;flex-basis:28px;width:28px;height:28px;min-height:28px}.library-hero{background:var(--library-panel);border-radius:10px;grid-template-columns:44% minmax(0,1fr);min-height:288px;display:grid;overflow:hidden}.library-cover{background:var(--library-raised);position:relative;overflow:hidden}.library-cover>img{object-fit:cover;width:100%;height:100%;display:block}.library-cover-fallback{color:#c1d6e6;background:#243e52;flex-direction:column;justify-content:space-between;align-items:flex-start;width:100%;height:100%;padding:22px 24px 25px;display:flex;position:relative}.library-cover-fallback[data-tone="1"]{color:#c8d7d8;background:#2d3d43}.library-cover-fallback[data-tone="2"]{color:#d0cede;background:#36394b}.library-cover-fallback:before{content:"";opacity:.16;background:currentColor;width:1px;position:absolute;inset:0 auto 0 8px}.library-cover-category{overflow-wrap:anywhere;opacity:.85;max-width:90%;font-size:10px;line-height:1.6}.library-cover-monogram{color:inherit;opacity:.52;letter-spacing:.02em;white-space:nowrap;align-self:center;font-size:clamp(36px,3.5vw,60px);font-weight:350;line-height:1.3}.library-cover-title{overflow-wrap:anywhere;max-width:100%;font-size:13px;font-weight:550;line-height:1.6}.library-hero-cover{min-height:288px}.library-hero-cover .library-cover-fallback{padding:27px 33px}.library-hero-cover .library-cover-monogram{opacity:.4;font-size:76px;position:absolute;top:50%;right:11%;transform:translateY(-50%)}.library-hero-cover .library-cover-title{max-width:65%;font-size:23px}.library-hero-content{flex-direction:column;justify-content:center;align-items:flex-start;gap:15px;min-width:0;padding:30px 34px;display:flex}.library-hero-label{color:var(--library-accent);align-items:center;gap:8px;font-size:11px;font-weight:600;display:inline-flex}.library-hero-label>span{background:var(--library-accent);border-radius:50%;width:6px;height:6px}.library-hero-content h2{letter-spacing:-.025em;overflow-wrap:anywhere;max-width:100%;font-size:clamp(26px,2.5vw,37px);font-weight:700;line-height:1.3}.library-hero-content>p{-webkit-line-clamp:3;max-width:62ch;color:var(--library-muted);-webkit-box-orient:vertical;font-size:13px;line-height:1.9;display:-webkit-box;overflow:hidden}.library-hero-actions{flex-wrap:wrap;gap:10px;margin-top:5px;display:flex}.library-tags{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.library-tags>span{background:var(--library-raised);max-width:100%;color:var(--library-muted);overflow-wrap:anywhere;border-radius:3px;align-items:center;gap:5px;padding:4px 8px;font-size:10px;line-height:1.5;display:inline-flex}.library-tags>.library-category-tag{background:var(--accent-soft,#203c51);color:var(--library-accent)}.library-tags svg{width:12px;height:12px}.library-section-title{align-items:center;gap:12px;min-width:0;margin:30px 0 16px;display:flex}.library-section-title h2{overflow-wrap:anywhere;min-width:0;font-size:17px;font-weight:650}.library-section-title>span{color:var(--library-muted);white-space:nowrap;font-size:11px}.library-section-title>.library-text-button{flex:none;margin-left:auto;font-size:11px}.library-world-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:24px 20px;display:grid}.library-world-card{min-width:0;position:relative}.library-card-open{width:100%;height:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:6px;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;padding:0;display:flex}.library-card-open>.library-cover{aspect-ratio:2/3;outline-offset:0;border-radius:6px;outline:1px solid #0000;width:100%;transition:outline-color .16s ease-out}.library-card-open:hover>.library-cover{outline-color:var(--library-accent)}.library-card-open:hover h3{color:var(--library-accent)}.library-card-body{width:100%;min-width:0;padding:12px 1px 0}.library-card-body h3{color:var(--library-ink);overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.6}.library-card-body p{text-overflow:ellipsis;white-space:nowrap;color:var(--library-muted);margin-top:3px;font-size:10px;overflow:hidden}.library-card-favorite{border:1px solid var(--library-line);background:var(--library-panel);width:34px;height:34px;color:var(--library-muted);border-radius:5px;justify-content:center;align-items:center;display:flex;position:absolute;top:8px;right:8px}.library-card-favorite>svg{width:15px;height:15px}.library-card-favorite:hover{border-color:var(--library-accent);color:var(--library-ink)}.library-card-favorite[aria-pressed=true],.library-favorite-toggle[aria-pressed=true]{color:var(--warm,#d9b879)}.library-error{border:1px solid var(--library-line);background:var(--library-panel);color:var(--danger,#f09a9e);overflow-wrap:anywhere;border-radius:6px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px;padding:13px 16px;font-size:13px;line-height:1.7;display:flex}.library-empty{min-height:320px;color:var(--library-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:17px;padding:45px 24px;display:flex}.library-empty>svg{width:40px;height:40px;color:var(--library-accent);stroke-width:1.25px}.library-empty h2{color:var(--library-ink);font-size:20px;font-weight:600}.library-empty p{max-width:40ch;font-size:13px;line-height:1.8}.library-first-world{border-block:1px solid var(--library-line);min-height:450px}.library-first-world>svg{width:54px;height:54px;margin-bottom:15px}.library-placeholder{flex-direction:column;justify-content:center;align-items:flex-start;gap:22px;max-width:650px;min-height:calc(100dvh - 76px);margin:0 auto;padding:70px 36px;display:flex}.library-placeholder>svg{width:50px;height:50px;color:var(--library-accent);stroke-width:1.25px}.library-placeholder>h1{font-size:36px;font-weight:650}.library-placeholder>p{max-width:42ch;color:var(--library-muted);font-size:14px;line-height:1.9}.library-detail-main{max-width:1336px;margin:0 auto;padding:22px 44px 72px}.library-detail-breadcrumb{min-width:0;color:var(--library-muted);align-items:center;gap:12px;margin-bottom:22px;font-size:12px;display:flex}.library-detail-breadcrumb>.library-text-button{flex:none;font-size:12px}.library-detail-breadcrumb>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-detail-hero{grid-template-columns:238px minmax(0,1fr);align-items:start;gap:44px;padding-bottom:35px;display:grid}.library-detail-cover-group{min-width:0}.library-detail-cover{aspect-ratio:2/3;border-radius:6px}.library-cover-actions{gap:8px;margin-top:12px;display:flex}.library-cover-actions>.library-button{flex:1}.library-detail-intro{min-width:0;padding-top:21px}.library-detail-title-row{align-items:flex-start;gap:18px;display:flex}.library-detail-title-row h1{letter-spacing:-.025em;overflow-wrap:anywhere;max-width:100%;margin-bottom:16px;font-size:clamp(30px,3.5vw,46px);font-weight:650;line-height:1.3}.library-detail-title-row>.library-icon-button{margin-left:auto}.library-world-description{max-width:70ch;color:var(--library-muted);white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95;margin-top:23px!important}.library-detail-history{color:var(--library-muted);align-items:center;gap:8px;margin-top:23px;font-size:11px;display:flex}.library-detail-history>svg{width:14px;height:14px}.library-detail-primary-actions{flex-wrap:wrap;gap:10px;margin-top:29px;display:flex}.library-detail-primary-actions>.library-button{min-width:140px;min-height:45px}.library-current-save{color:var(--library-muted);overflow-wrap:anywhere;font-size:11px;line-height:1.6;margin-top:12px!important}.library-edit-info{margin-top:14px;font-size:12px}.library-edit-info>svg{width:14px;height:14px}.library-detail-sections{border-top:1px solid var(--library-line);grid-template-columns:minmax(0,1fr) 260px;gap:46px;display:grid}.library-detail-sections>section{min-width:0}.library-save-list{border-top:1px solid var(--library-line)}.library-save-row{border-bottom:1px solid var(--library-line);justify-content:space-between;align-items:center;gap:18px;padding:20px 0;display:flex}.library-save-summary{min-width:0}.library-save-summary h3{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:9px;font-size:14px;font-weight:600;line-height:1.6;display:flex}.library-save-summary h3>span{background:var(--accent-soft,#203c51);color:var(--library-accent);white-space:nowrap;border-radius:3px;padding:2px 6px;font-size:10px;font-weight:500}.library-save-summary p{color:var(--library-muted);margin-top:5px;font-size:11px}.library-save-row>.library-button{flex:none;min-width:124px;font-size:12px}.library-resource-list{margin:0 0 13px}.library-resource-list>div{border-bottom:1px solid var(--library-line);justify-content:space-between;gap:14px;padding:13px 0;display:flex}.library-resource-list dt{color:var(--library-muted);align-items:center;gap:9px;font-size:12px;display:flex}.library-resource-list dt>svg{width:15px;height:15px}.library-resource-list dd{color:var(--library-ink);font-variant-numeric:tabular-nums;margin:0;font-size:13px}.library-resource-list dd>span{color:var(--library-muted);font-size:10px}.library-resources-section>.library-text-button{font-size:12px}.library-metadata-form{background:var(--library-panel);border-radius:6px;margin-bottom:35px;padding:25px}.library-metadata-form h2{margin-bottom:22px;font-size:19px;font-weight:600}.library-form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.library-form-grid label,.library-new-save-form label{color:var(--library-muted);flex-direction:column;gap:8px;font-size:12px;display:flex}.library-form-grid :is(input,textarea),.library-new-save-form input{border:1px solid var(--library-line);width:100%;min-height:41px;color:var(--library-ink);background:var(--library-bg);border-radius:5px;padding:9px 11px;line-height:1.6}.library-form-grid :is(input,textarea)::placeholder,.library-new-save-form input::placeholder{color:var(--library-muted)}.library-form-grid textarea{resize:vertical}.library-form-wide{grid-column:1/-1}.library-form-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;display:flex}.library-field-error{color:var(--danger,#f09a9e);overflow-wrap:anywhere;font-size:12px;line-height:1.7;margin-top:12px!important}.library-inline-notice{color:var(--success,#9bceb2);font-size:12px;margin-top:10px!important}.library-new-save-form{background:var(--library-panel);border-radius:6px;margin-bottom:18px;padding:20px}.library-new-save-form>p{margin-top:10px}.library-loading{color:var(--library-muted);align-items:center;gap:9px;padding:20px 0;font-size:13px;display:flex}@media (width>=1650px){.library-layout{grid-template-columns:240px minmax(0,1fr)}.library-main{padding:38px 44px 72px}.library-hero,.library-hero-cover{min-height:320px}.library-world-grid{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:26px 22px}}@media (width<=1120px){.library-header{gap:20px;padding-inline:22px}.library-tabs{gap:2px}.library-tabs>button{min-width:78px;padding-inline:9px}.library-account-name{display:none}.library-layout{grid-template-columns:184px minmax(0,1fr)}.library-sidebar{padding-inline:10px}.library-main{padding-inline:25px}.library-page-title{display:block}.library-page-title>span{margin-top:5px;display:block}.library-search{max-width:280px}.library-hero-content{padding:27px}.library-world-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:22px 16px}.library-detail-main{padding-inline:30px}.library-detail-hero{grid-template-columns:210px minmax(0,1fr);gap:32px}.library-detail-sections{grid-template-columns:minmax(0,1fr) 215px;gap:30px}}@media (width<=820px){.library-header{flex-wrap:wrap;gap:0 15px;padding-top:5px}.library-brand{order:0}.library-account-actions{order:1}.library-tabs{order:2;width:100%;min-height:49px}.library-tabs>button{flex:1}.library-layout{grid-template-columns:minmax(0,1fr)}.library-sidebar{border-right:0;border-bottom:1px solid var(--library-line);padding:13px 18px}.library-sidebar h2,.library-sidebar-bottom{display:none}.library-filters{flex-direction:row;padding:2px 2px 5px;overflow-x:auto}.library-filters>button{flex:none;gap:8px;min-height:40px;padding:8px 11px}.library-filters>button>span{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.library-filter-divider{flex:0 0 1px;height:auto;margin:7px 4px}.library-toolbar{flex-direction:column;align-items:stretch;gap:19px}.library-page-title{display:flex}.library-page-title>span{margin:0}.library-toolbar-actions{justify-content:space-between}.library-search{flex:1;max-width:none}.library-hero{grid-template-columns:40% minmax(0,1fr)}.library-hero,.library-hero-cover{min-height:260px}.library-hero-content{gap:12px;padding:25px}.library-hero-content>p{-webkit-line-clamp:2}.library-hero-cover .library-cover-monogram{font-size:58px}.library-hero-cover .library-cover-title{font-size:19px}.library-detail-hero{grid-template-columns:180px minmax(0,1fr);gap:25px}.library-detail-intro{padding-top:0}.library-detail-primary-actions>.library-button{min-width:0;padding-inline:12px}.library-detail-sections{grid-template-columns:minmax(0,1fr);gap:0}.library-resource-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 25px;display:grid}}@media (width<=520px){.library-tabs>button{min-width:0}.library-tab-note{display:none}.library-header{padding-inline:16px}.library-brand{gap:9px;font-size:18px}.library-brand>svg{width:24px;height:24px}.library-brand small{font-size:9px}.library-account-actions{gap:3px}.library-account-actions>.library-button{padding:7px 10px;font-size:11px}.library-account-actions>.library-icon-button{border:0;flex-basis:32px;width:32px}.library-tabs>button{gap:7px;font-size:13px}.library-tabs>button>svg{width:16px;height:16px}.library-tab-note{font-size:9px}.library-sidebar{padding-inline:12px}.library-main{padding:24px 17px 45px}.library-page-title h1{font-size:25px}.library-toolbar-actions{gap:8px}.library-toolbar-actions>.library-button{padding-inline:10px;font-size:11px}.library-search{gap:7px;padding-inline:9px}.library-search>input{font-size:11px}.library-hero{grid-template-columns:minmax(0,1fr)}.library-hero-cover{height:160px;min-height:160px}.library-hero-cover .library-cover-fallback{padding:22px 26px}.library-hero-cover .library-cover-monogram{writing-mode:horizontal-tb;font-size:56px}.library-hero-cover .library-cover-title{max-width:56%;font-size:20px}.library-hero-content{padding:23px}.library-hero-content h2{font-size:27px}.library-hero-actions{margin-top:7px}.library-world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 15px}.library-cover-fallback{padding:17px 18px 19px}.library-cover-monogram{font-size:43px}.library-cover-title{font-size:11px}.library-cover-category{font-size:9px}.library-card-body h3{font-size:13px}.library-card-favorite{width:33px;height:33px;top:6px;right:6px}.library-section-title{gap:9px}.library-empty{padding-inline:15px}.library-first-world{min-height:340px}.library-first-world h2{font-size:18px}.library-placeholder{padding:55px 28px}.library-placeholder>h1{font-size:30px}.library-detail-main{padding:13px 19px 44px}.library-detail-breadcrumb{margin-bottom:15px}.library-detail-hero{grid-template-columns:minmax(0,1fr);gap:24px}.library-detail-cover-group{grid-template-columns:138px minmax(0,1fr);align-items:end;gap:12px 22px;display:grid}.library-detail-cover{grid-row:1/4}.library-cover-actions{flex-direction:column;align-self:end;margin-top:0}.library-cover-actions>.library-button{padding-inline:8px;font-size:12px}.library-cover-actions>.library-icon-button{width:100%}.library-detail-cover-group>:is(.library-field-error,.library-inline-notice){grid-column:2;margin-top:0!important}.library-detail-title-row h1{font-size:30px}.library-world-description{font-size:13px;margin-top:17px!important}.library-detail-primary-actions>.library-button{flex:1}.library-save-row{gap:12px;padding-block:17px}.library-save-row>.library-button{gap:5px;min-width:105px;padding-inline:9px;font-size:11px}.library-save-summary h3{font-size:13px}.library-save-summary p{font-size:10px}.library-resource-list{grid-template-columns:repeat(2,minmax(0,1fr))}.library-metadata-form{padding:21px 17px}.library-form-grid{grid-template-columns:minmax(0,1fr)}.library-detail-sections .library-section-title>.library-text-button{font-size:10px}}@media (prefers-reduced-motion:reduce){.library-card-open>.library-cover{transition:none}.world-library-shell .spin{animation:none}}.world-snapshots{min-width:0}.snapshot-heading,.snapshot-heading>div,.snapshot-actions,.snapshot-form>div{align-items:center;gap:8px;display:flex}.snapshot-heading{flex-wrap:wrap;justify-content:space-between;margin-bottom:14px}.snapshot-heading h2{align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.snapshot-heading button,.snapshot-actions button,.snapshot-form button,.snapshot-error button{border:1px solid var(--border);min-height:40px;color:var(--text);background:var(--surface);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 9px;display:inline-flex}.snapshot-heading button:hover,.snapshot-actions button:hover,.snapshot-form button:hover{background:var(--surface-hover)}.snapshot-heading .button--primary,.snapshot-form .button--primary{color:var(--accent-ink);background:var(--accent);border-color:#0000}.world-snapshots button:disabled{opacity:.5;cursor:default}.snapshot-note,.snapshot-error,.snapshot-success{color:var(--muted);font-size:13px;line-height:1.65}.snapshot-note{align-items:center;gap:6px;display:flex}.snapshot-error{color:var(--danger)}.snapshot-error button{margin-left:8px}.snapshot-success{color:var(--success)}.snapshot-row{border-top:1px solid var(--border);padding:15px 0}.snapshot-summary strong{overflow-wrap:anywhere;font-size:14px;display:block}.snapshot-summary time,.snapshot-summary small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.snapshot-summary p{color:var(--muted);margin:8px 0;font-size:12px;line-height:1.65}.snapshot-actions{flex-wrap:wrap;margin-top:11px}.snapshot-form{border-block:1px solid var(--border);margin:10px 0;padding:16px 0}.snapshot-form label{color:var(--muted);gap:6px;margin:12px 0;font-size:13px;display:grid}.snapshot-form input{background:var(--bg);width:100%;min-height:42px;color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px 10px}.snapshot-form p{color:var(--muted);font-size:13px;line-height:1.65}.snapshot-form>div{justify-content:flex-end}.snapshot-form .danger-text{color:var(--danger)}.workspace-shelf .snapshot-heading>div{gap:4px}@media (width<=600px){.snapshot-heading button,.snapshot-actions button{min-height:44px}}.task-composer{min-width:0;color:var(--text);background:var(--surface);border-top:1px solid var(--border);border-radius:0;flex:none;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 20px 14px;display:grid}.task-composer__heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.task-composer__heading>strong{min-height:32px;color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:12px;font-weight:550;display:flex}.task-composer__heading>strong svg{color:var(--accent)}.run-composer--edit{position:relative}.task-composer__settings{flex-wrap:wrap;justify-content:flex-end;align-items:flex-start;gap:8px 16px;min-width:0;display:flex}.task-input-settings{flex:none}.task-input-settings>summary{min-height:32px;color:var(--muted);cursor:pointer;align-items:center;gap:6px;font-size:12px;list-style:none;display:flex}.task-input-settings>summary::-webkit-details-marker{display:none}.task-input-settings>summary:hover,.task-input-settings[open]>summary{color:var(--accent)}.task-input-settings>summary small{background:var(--accent-soft);color:var(--accent);border-radius:3px;padding:2px 4px;font-size:10px}.task-input-settings__panel{z-index:15;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:min(380px,100% - 24px);max-height:min(520px,100dvh - 150px);padding:16px;position:absolute;bottom:calc(100% + 8px);right:12px;overflow-y:auto;box-shadow:0 8px 24px #0003}.task-input-settings__panel .play-input-options{border-block-end:0;padding-block-end:0}.task-preset{min-width:0;max-width:min(100%,440px)}.task-preset>summary{min-height:32px;color:var(--muted);cursor:pointer;justify-content:flex-end;align-items:center;gap:6px;font-size:12px;list-style:none;display:flex}.task-preset>summary::-webkit-details-marker{display:none}.task-preset>summary:after{content:"⌄";margin-left:3px;font-size:14px}.task-preset[open]>summary:after{content:"⌃"}.task-preset>summary>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.task-preset>summary:hover{color:var(--accent)}.task-composer .preset-field{border:0;gap:8px;min-width:0;padding:12px 0 8px;display:grid}.task-composer .preset-field>span{color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.task-composer .preset-field select{border:1px solid var(--border);width:100%;min-width:0;min-height:40px;color:var(--text);background:var(--bg);border-radius:7px;padding:8px 10px;font-size:12px}.task-composer .preset-field small{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.6}.task-composer .instruction-field{min-width:0;display:block}.task-composer .instruction-field textarea{resize:vertical;border:1px solid var(--border);width:100%;min-height:82px;max-height:32dvh;color:var(--text);background:var(--bg);border-radius:9px;padding:13px 15px;font-size:14px;line-height:1.7;display:block}.task-composer .instruction-field textarea::placeholder{color:var(--muted)}.task-composer .instruction-field textarea:focus{border-color:var(--accent);outline:none}.task-composer footer{align-items:center;gap:14px;min-width:0;display:flex}.task-composer .runtime-line{min-width:0;color:var(--muted);align-items:center;gap:7px;margin-right:auto;display:flex}.task-composer .runtime-line>svg{color:var(--accent);flex:none}.task-composer .runtime-line>span{flex-wrap:wrap;align-items:baseline;gap:4px 9px;min-width:0;display:flex}.task-composer .runtime-line strong{color:var(--text);font-size:12px;font-weight:500}.task-composer .runtime-line small{text-overflow:ellipsis;white-space:nowrap;max-width:40ch;color:var(--muted);font-size:11px;display:block;overflow:hidden}.task-composer .shortcut{color:var(--muted);white-space:nowrap;font-size:11px}.task-composer footer .button{flex:none;min-width:112px;min-height:40px;padding:10px 16px;font-size:13px}.task-composer .composer-warning,.task-composer .preview-hint{border-top:1px solid var(--border);color:var(--warm);overflow-wrap:anywhere;margin:0;padding:9px 0 0;font-size:12px;line-height:1.6}.task-composer .composer-warning--action{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.task-composer .preview-hint{color:var(--muted)}.task-composer :is(button,select,textarea):disabled{opacity:.5;cursor:not-allowed}.task-composer :is(button,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.task-composer.task-composer--compact{padding:10px 12px max(10px, env(safe-area-inset-bottom));grid-template-columns:44px minmax(0,1fr) 44px;align-items:end;gap:8px;position:relative}.task-composer--compact>.task-options-button,.task-composer--compact>.button{width:44px;min-width:44px;height:44px;padding:0}.task-options-button{color:var(--muted);background:0 0;border-color:#0000;position:relative}.task-options-button[aria-expanded=true]{color:var(--accent);background:var(--accent-soft)}.task-options-button__notice{background:var(--warm);border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:6px}.task-composer.task-composer--compact .instruction-field textarea{resize:none;min-height:44px;max-height:min(140px,20dvh);padding:10px 12px;font-size:14px;line-height:22px;overflow-y:auto}.task-options-panel{z-index:15;overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);border-radius:10px;gap:14px;width:min(360px,100% - 24px);max-height:min(420px,60dvh);padding:16px;display:grid;position:absolute;bottom:calc(100% + 8px);left:12px;overflow-y:auto}.task-options-panel .preset-field{padding:0}.task-options-panel[hidden],.task-play-controls:empty{display:none}.play-input-options{border-block-end:1px solid var(--border);gap:12px;padding-block-end:16px;display:grid}.play-input-options label{color:var(--text);gap:6px;font-size:13px;display:grid}.play-input-options :is(input,select,textarea){width:100%;min-width:0}.play-input-options textarea{resize:vertical;max-height:180px}.play-input-file-settings>summary{cursor:pointer;color:var(--accent);font-size:13px}.play-input-file-settings>summary small{margin-block-start:4px;display:block}.play-input-file-settings[open]>:not(summary){margin-block-start:12px}.play-input-options small{color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.play-input-markers{gap:12px;display:grid}.play-input-actions{flex-wrap:wrap;gap:8px;display:flex}.play-input-retry{gap:6px;padding-block-start:8px;display:grid}.play-input-retry .button{justify-self:start}.task-options-panel .runtime-line{margin:0}.task-options-panel .runtime-line small{white-space:normal;overflow-wrap:anywhere;max-width:none}.task-composer .task-options-panel .shortcut{white-space:normal;display:block}.task-ledger{z-index:90;width:min(480px,100vw);min-width:0;height:100dvh;color:var(--text);background:var(--surface);border-left:1px solid var(--border);flex-direction:column;display:flex;position:fixed;inset:0 0 0 auto;overflow:hidden;box-shadow:-18px 0 50px #00000040}.task-ledger.is-collapsed{visibility:hidden;pointer-events:none;width:0}.task-ledger>header{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:16px 20px;display:flex}.task-ledger>header>div{align-items:center;gap:11px;display:flex}.task-ledger>header>div>svg{color:var(--accent)}.task-ledger>header>.task-ledger__header-actions{gap:8px}.task-ledger__header-actions .button{min-height:40px;padding:8px 12px;font-size:12px}.task-ledger>header span{gap:4px;display:grid}.task-ledger>header strong{font-size:17px;font-weight:600}.task-ledger>header small{color:var(--muted);font:inherit;font-size:12px}.task-ledger .icon-button{min-width:40px;min-height:40px;color:var(--muted);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:8px;display:grid}.task-ledger .icon-button:hover{background:var(--surface-hover);color:var(--text)}.task-ledger .process-tabs{border-bottom:1px solid var(--border);background:var(--surface);flex:none;gap:24px;padding:0 20px;display:flex}.task-ledger .process-tabs button{min-height:50px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-items:center;gap:7px;padding:10px 0;font-size:13px;display:flex}.task-ledger .process-tabs button[aria-selected=true]{color:var(--accent-strong);border-bottom-color:var(--accent)}.task-ledger .process-tabs small{background:var(--surface-raised);color:var(--muted);border-radius:4px;padding:2px 5px;font-size:10px}.task-ledger .process-ledger{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.task-ledger .run-inspection-block{flex:none}.task-ledger .run-inspection-tools{border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:14px 20px;display:flex}.task-ledger .run-inspection-tools label{flex:1;gap:6px;min-width:160px;display:grid}.task-ledger .run-inspection-tools label>span{color:var(--muted);font-size:11px}.task-ledger .run-inspection-tools select{border:1px solid var(--border);background:var(--bg);width:100%;min-width:0;min-height:40px;color:var(--text);font:inherit;border-radius:7px;padding:8px;font-size:12px}.task-ledger .run-inspection-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.task-ledger .run-inspection-actions .button{min-height:40px;padding:8px;font-size:11px}.task-ledger .run-inspection-delete{color:var(--muted);background:0 0;border-color:#0000}.task-ledger .run-inspection-delete:hover:not(:disabled){color:var(--danger);background:var(--surface-raised)}.task-ledger .task-run-details{border-bottom:1px solid var(--border);padding:0 20px}.task-run-details>summary{min-height:45px;color:var(--muted);cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.task-run-details>summary:before{content:"+";width:10px;color:var(--accent)}.task-run-details[open]>summary:before{content:"−"}.task-run-details>summary>span{color:var(--muted);margin-left:auto;font-size:11px}.task-ledger .process-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:8px 0 14px;display:grid}.task-ledger .process-summary>span{gap:5px;min-width:0;display:grid}.task-ledger .process-summary small{color:var(--muted);font-size:11px}.task-ledger .process-summary strong{color:var(--text);overflow-wrap:anywhere;font-size:12px;font-weight:500}.task-run-id{color:var(--muted);overflow-wrap:anywhere;margin:0 0 14px;font-size:11px}.task-run-id code{font-size:10px}.task-ledger .stream-state{color:var(--accent);background:var(--accent-soft);align-items:center;gap:8px;margin:0;padding:10px 20px;font-size:11px;display:flex}.task-ledger .historical-run-note{color:var(--accent);background:var(--accent-soft);align-items:flex-start;gap:8px;padding:12px 20px;font-size:12px;line-height:1.6;display:flex}.task-ledger .historical-run-note svg{flex:none;margin-top:3px}.task-ledger .historical-run-note strong{color:var(--accent-strong);font-weight:600;display:block}.task-ledger .process-empty,.task-ledger .process-load-error{min-height:250px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:32px;display:flex}.task-ledger .process-empty>svg{color:var(--accent)}.task-ledger .process-load-error>svg{color:var(--danger)}.task-ledger .process-empty h2,.task-ledger .process-load-error h2{color:var(--text);margin:16px 0 8px;font-size:16px;font-weight:550}.task-ledger .process-empty p,.task-ledger .process-load-error p{max-width:30ch;color:var(--muted);overflow-wrap:anywhere;margin:0 0 16px;font-size:13px;line-height:1.75}.task-ledger .event-list,.task-ledger .chat-history-list{margin:0;padding:8px 20px 32px;list-style:none}.task-ledger .process-event,.task-ledger .chat-history-item{grid-template-columns:22px minmax(0,1fr);gap:10px;padding:16px 0;display:grid}.task-ledger .process-event+.process-event,.task-ledger .chat-history-item+.chat-history-item{border-top:1px solid var(--border)}.task-ledger .event-seq,.task-ledger .chat-seq{color:var(--muted);font-variant-numeric:tabular-nums;padding-top:3px;font-size:10px}.task-ledger .process-event>div,.task-ledger .chat-history-item>div{min-width:0}.task-ledger .process-event header{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.task-ledger .process-event strong{color:var(--text);font-size:12px;font-weight:600}.task-ledger .process-event time{color:var(--muted);white-space:nowrap;font-size:10px}.task-ledger .process-event p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:13px;line-height:1.8}.task-ledger .process-event--plan strong{color:var(--accent)}.task-ledger .process-event--tool strong,.task-ledger .process-event--warning strong,.task-ledger .process-event--warning p{color:var(--warm)}.task-ledger .process-event--file strong,.task-ledger .process-event--saved strong{color:var(--success)}.task-ledger .process-event--error strong,.task-ledger .process-event--error p{color:var(--danger)}.process-event-details summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:8px;min-height:24px;display:flex}.process-event-details summary:before{content:"+";color:var(--muted)}.process-event-details[open] summary:before{content:"−"}.process-event-details summary>span{color:var(--muted);overflow-wrap:anywhere;font-size:11px}.process-event-details summary time{margin-left:auto}.task-ledger .chat-history-editor__note{border-bottom:1px solid var(--border);color:var(--muted);margin:0;padding:14px 20px;font-size:12px;line-height:1.7}.chat-history-editor__note summary{cursor:pointer;min-height:24px}.chat-history-editor__note p{margin:10px 0 0}.chat-history-lock{color:var(--warm);background:var(--surface-raised);margin:0;padding:10px 20px;font-size:12px;line-height:1.65}.task-ledger .chat-history-item header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.task-ledger .chat-history-item header strong{color:var(--text);font-size:12px;font-weight:600}.task-ledger .chat-history-item--user header strong{color:var(--accent-strong)}.task-ledger .chat-history-item--system header strong{color:var(--warm)}.task-ledger .chat-history-item__meta{align-items:center;gap:1px;margin-left:auto;display:flex}.task-ledger .chat-history-item time{color:var(--muted);margin-right:5px;font-size:10px}.task-ledger .chat-history-action{width:30px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:6px;display:grid}.task-ledger .chat-history-action:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.task-ledger .chat-history-action--delete:hover:not(:disabled),.task-ledger .chat-history-action--delete-run:hover:not(:disabled){color:var(--danger)}.task-ledger .chat-history-item>div>p{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 14px;font-size:13px;line-height:1.85}.task-ledger .chat-history-item footer{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:10px;display:flex}.task-ledger .chat-history-item footer code{font:inherit}.task-ledger .chat-run-link{min-height:30px;color:var(--accent);background:0 0;border:0;padding:4px 0;font-size:11px}.task-ledger .chat-history-edit-form{gap:10px;margin:12px 0;display:grid}.task-ledger .chat-history-edit-form textarea{resize:vertical;width:100%;min-height:130px;color:var(--text);border:1px solid var(--accent);background:var(--bg);border-radius:7px;padding:12px;font-size:13px;line-height:1.8}.task-ledger .chat-history-edit-form>div{justify-content:flex-end;gap:8px;display:flex}.task-ledger .chat-history-edit-form .button{min-height:36px;font-size:12px}.task-ledger .chat-history-delete-confirm,.task-ledger .run-process-delete-confirm{color:var(--danger);background:var(--surface-raised);border-radius:7px;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:10px 0;padding:14px;font-size:12px;line-height:1.7;display:flex}.task-ledger .run-process-delete-confirm{border-radius:0;margin:0;padding:16px 20px}.task-ledger .chat-history-delete-confirm>span,.task-ledger .run-process-delete-confirm>span{overflow-wrap:anywhere;width:100%}.task-ledger .run-process-delete-confirm strong{margin-bottom:4px;display:block}.task-ledger .run-process-delete-confirm>div{flex-wrap:wrap;gap:8px;display:flex}.task-ledger .chat-history-delete-confirm .button,.task-ledger .run-process-delete-confirm .button{min-height:36px;font-size:12px}.task-ledger :is(button,select,textarea):disabled{opacity:.45;cursor:not-allowed}.task-ledger :is(button,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.task-ledger-scrim{z-index:89;background:#0009;position:fixed;inset:0}.process-rail-button{z-index:25;min-width:38px;color:var(--muted);border:1px solid var(--border);background:var(--surface);border-right:0;border-radius:8px 0 0 8px;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;font-size:11px;display:flex;position:fixed;top:45%;right:0}.process-rail-button small{color:var(--accent);font-size:10px}.process-rail-button:hover{background:var(--surface-hover);color:var(--text)}.process-rail-button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}@media (width<=980px){.task-ledger{width:100vw;max-width:none;box-shadow:none;border:0}.task-ledger>header{padding:16px 20px}.task-ledger .run-inspection-actions .button{min-height:44px}.process-rail-button{display:none}}@media (width<=720px){.task-composer{gap:8px;padding:12px}.task-composer__heading{gap:10px}.task-preset{max-width:65%}.task-composer .instruction-field textarea{min-height:86px;padding:11px;font-size:14px}.task-composer footer{gap:10px}.task-composer .shortcut{display:none}.task-composer .runtime-line>span{gap:2px;display:grid}.task-composer .runtime-line small{max-width:20ch;font-size:10px}.task-composer footer .button{min-width:100px;min-height:44px;padding:10px 12px}.task-ledger .run-inspection-tools{padding:12px 16px}.task-ledger .event-list,.task-ledger .chat-history-list{padding-inline:16px}.task-ledger .chat-history-action{width:36px;height:40px}}@media (prefers-reduced-motion:reduce){.task-ledger,.task-composer,.process-rail-button{transition:none;animation:none}}.workspace-file-explorer{min-width:0;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;font-size:14px;overflow:hidden}.workspace-file-explorer *,.workspace-file-explorer :before,.workspace-file-explorer :after{box-sizing:border-box}.workspace-file-explorer button{color:var(--text);font:inherit;cursor:pointer}.workspace-file-explorer button:disabled{opacity:.45;cursor:default}.workspace-file-explorer button:not(:disabled):hover{background:var(--surface-hover)}.workspace-file-explorer button:focus-visible,.workspace-file-explorer input:focus-visible,.explorer-list:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.workspace-file-explorer button svg{flex:none}.explorer-address-row{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.explorer-history{flex-shrink:0;display:flex}.explorer-history button,.explorer-view-commands button{background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:40px;min-height:40px;display:inline-flex}.explorer-breadcrumbs{flex-wrap:wrap;flex:1;align-items:center;gap:2px;min-width:0;display:flex}.explorer-breadcrumbs button{overflow-wrap:anywhere;text-align:left;background:0 0;border:0;border-radius:5px;justify-content:flex-start;align-items:center;gap:7px;max-width:100%;min-height:40px;padding:5px 7px;display:inline-flex}.explorer-breadcrumbs button[aria-current]{color:var(--accent-strong)}.explorer-crumb{align-items:center;min-width:0;max-width:100%;display:inline-flex}.explorer-crumb>svg{color:var(--muted);flex:none}.explorer-breadcrumbs .explorer-edit-address{flex-shrink:0;margin-left:auto}.explorer-address-form{flex:1;gap:4px;min-width:0;display:flex}.workspace-file-explorer .explorer-address-form input{background:var(--bg);width:100%;min-width:0;min-height:36px;color:var(--text);border:1px solid var(--border);font:inherit;border-radius:5px;margin:0;padding:6px 8px}.explorer-address-form button{background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;min-width:36px;display:flex}.explorer-search{background:var(--surface);border:1px solid var(--border);min-height:44px;color:var(--muted);border-radius:7px;align-items:center;gap:8px;margin:10px 12px;padding:0 10px;display:flex}.workspace-file-explorer .explorer-search>input:not([type=checkbox]){width:100%;min-width:0;min-height:42px;color:var(--text);font:inherit;background:0 0;border:0;border-radius:0;margin:0;padding:6px 0}.workspace-file-explorer .explorer-search input::placeholder{color:var(--muted);opacity:1}.explorer-search button{background:0 0;border:0;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:flex}.explorer-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:3px 12px;padding:0 10px 10px;display:flex}.explorer-command-group{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.explorer-command-group button{background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;min-height:40px;padding:6px 9px;display:inline-flex}.explorer-edit-commands{border-left:1px solid var(--border);padding-left:8px}.explorer-view-commands{gap:2px;margin-left:auto;display:flex}.explorer-view-commands button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-strong)}.explorer-body{grid-template-columns:minmax(0,1fr);min-height:280px;display:grid}.is-navigation-open .explorer-body{grid-template-columns:215px minmax(0,1fr)}.explorer-folder-navigation{border-right:1px solid var(--border);background:var(--surface);min-width:0;max-height:420px;padding:10px 6px 16px;overflow:auto}.explorer-folder-navigation[hidden]{display:none}.explorer-folder-navigation ul{margin:0;padding:0;list-style:none}.explorer-root-link,.explorer-folder-link{text-align:left;background:0 0;border:0;border-radius:5px;justify-content:flex-start;align-items:center;gap:7px;width:100%;min-width:0;min-height:40px;padding:7px 5px;display:flex}.explorer-root-link{margin-bottom:5px;padding:8px 12px}.explorer-folder-row{border-radius:5px;align-items:center;min-width:0;display:flex}.explorer-folder-row.is-current,.explorer-root-link.is-current{background:var(--accent-soft);color:var(--accent-strong)}.explorer-folder-row.is-selected{box-shadow:inset 0 0 0 1px var(--accent)}.explorer-folder-link span,.explorer-root-link span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.explorer-folder-link svg,.explorer-root-link svg{color:var(--accent)}.explorer-folder-chevron{background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;width:24px;min-height:38px;padding:0;display:flex}.explorer-folder-chevron:disabled{opacity:1}.explorer-file-pane{min-width:0}.explorer-search-scope{color:var(--muted);background:var(--surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:8px 12px;font-size:12px;display:flex}.explorer-search-scope button{color:var(--accent);background:0 0;border:0;padding:6px}.explorer-list{min-height:280px;max-height:420px;padding:0 8px 12px;overflow:auto}.explorer-list-heading,.workspace-file-explorer .explorer-entry{grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:14px;width:100%;display:grid}.explorer-list.is-search .explorer-list-heading,.explorer-list.is-search .explorer-entry{grid-template-columns:minmax(0,1.6fr) minmax(85px,.8fr) minmax(0,1fr)}.explorer-list-heading{z-index:1;min-height:38px;color:var(--muted);background:var(--bg);border-bottom:1px solid var(--border);padding:0 10px;font-size:12px;position:sticky;top:0}.explorer-list-heading button{min-width:0;min-height:40px;color:var(--muted);text-align:left;background:0 0;border:0;justify-content:flex-start;align-items:center;gap:6px;padding:0;display:inline-flex}.explorer-list-heading svg.is-descending{transform:rotate(180deg)}.workspace-file-explorer .explorer-entry{text-align:left;background:0 0;border:1px solid #0000;border-radius:5px;min-height:44px;margin:3px 0;padding:8px 10px;font-size:14px}.workspace-file-explorer .explorer-entry.is-selected{background:var(--accent-soft);border-color:var(--accent)}.workspace-file-explorer .explorer-entry.is-open:not(.is-selected){background:var(--surface)}.workspace-file-explorer .explorer-entry.is-cut{opacity:.55}.explorer-entry-name{align-items:center;gap:9px;min-width:0;display:flex}.explorer-entry-name>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.explorer-directory .explorer-entry-name>svg{color:var(--warm)}.file-item .explorer-entry-name>svg{color:var(--accent)}.explorer-entry-type,.explorer-entry-location{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:12px;overflow:hidden}.explorer-list.is-icons{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));grid-auto-rows:minmax(132px,auto);align-content:start;gap:6px;padding-top:10px;display:grid}.workspace-file-explorer .explorer-list.is-icons .explorer-entry{text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;gap:5px;min-width:0;height:100%;margin:0;padding:15px 8px 10px;display:flex}.explorer-list.is-icons .explorer-entry-name{flex-direction:column;gap:10px;width:100%}.explorer-list.is-icons .explorer-entry-name>span{white-space:normal;overflow-wrap:anywhere;width:100%}.explorer-list.is-icons .explorer-entry-location{white-space:normal;overflow-wrap:anywhere}.explorer-empty{min-height:250px;color:var(--muted);text-align:center;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;gap:10px;padding:22px;display:flex}.explorer-empty p{margin:0}.explorer-empty button{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--accent);border-radius:6px;padding:7px 12px}.explorer-status{color:var(--muted);border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;justify-content:space-between;gap:6px 12px;padding:10px 12px;font-size:12px;display:flex}.explorer-status span{overflow-wrap:anywhere;min-width:0}.explorer-notice{border-top:1px solid var(--border);color:var(--accent);overflow-wrap:anywhere;margin:0;padding:10px 12px;font-size:12px}.explorer-readonly{border-top:1px solid var(--border);color:var(--warm);overflow-wrap:anywhere;margin:0;padding:10px 12px;font-size:12px}.explorer-inline-form{background:var(--surface-raised);border-bottom:1px solid var(--border);align-items:flex-end;gap:6px;padding:12px;display:flex}.explorer-inline-form label{min-width:0;color:var(--muted);flex-direction:column;flex:1;gap:6px;font-size:12px;display:flex}.workspace-file-explorer .explorer-inline-form input{background:var(--bg);width:100%;min-height:40px;color:var(--text);border:1px solid var(--border);font:inherit;border-radius:5px;margin:0;padding:8px;font-size:14px}.explorer-inline-form button{background:var(--surface);border:1px solid var(--border);border-radius:5px;justify-content:center;align-items:center;width:38px;min-height:40px;padding:0;display:flex}.explorer-delete-confirm{background:var(--surface-raised);border-bottom:1px solid var(--border);padding:12px}.explorer-delete-confirm p{overflow-wrap:anywhere;margin:0 0 6px}.explorer-delete-confirm small{color:var(--muted);overflow-wrap:anywhere;display:block}.explorer-delete-confirm>div{gap:8px;margin-top:12px;display:flex}.explorer-delete-confirm button{background:var(--surface);border:1px solid var(--border);border-radius:5px;min-height:40px;padding:7px 12px}.explorer-delete-confirm .danger-action{color:var(--danger)}.explorer-context-menu{z-index:1400;border:1px solid var(--border);width:220px;color:var(--text);background:var(--surface-raised);border-radius:8px;max-height:calc(100dvh - 16px);padding:6px;font-size:14px;position:fixed;overflow:auto;box-shadow:0 12px 30px #00000059}.explorer-context-menu button{width:100%;min-height:36px;color:var(--text);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:10px;padding:7px 10px;display:flex}.explorer-context-menu button:disabled{opacity:.45;cursor:default}.explorer-context-menu button:not(:disabled):hover{background:var(--surface-hover)}.explorer-context-menu button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.explorer-menu-separator{border-top:1px solid var(--border);margin:5px}.workspace-file-explorer.is-compact .explorer-address-row{flex-wrap:wrap;gap:3px}.workspace-file-explorer.is-compact .explorer-breadcrumbs,.workspace-file-explorer.is-compact .explorer-address-form{flex-basis:100%}.workspace-file-explorer.is-compact .explorer-command-group button{min-height:40px;padding:6px}.workspace-file-explorer.is-compact .explorer-edit-commands{border-left:0;flex:1;padding-left:0}.workspace-file-explorer.is-compact .explorer-edit-commands button>span{display:none}.workspace-file-explorer.is-compact .explorer-view-commands{margin-left:0}.workspace-file-explorer.is-compact .explorer-toolbar{gap:4px;padding-inline:8px}.workspace-file-explorer.is-compact.is-navigation-open .explorer-body{grid-template-columns:minmax(0,1fr)}.workspace-file-explorer.is-compact .explorer-folder-navigation{border-right:0;border-bottom:1px solid var(--border);max-height:230px}.workspace-file-explorer.is-compact .explorer-list-heading,.workspace-file-explorer.is-compact .explorer-entry,.workspace-file-explorer.is-compact .explorer-list.is-search .explorer-entry{grid-template-columns:minmax(0,1fr);gap:3px}.workspace-file-explorer.is-compact .explorer-list-heading{justify-content:space-between;display:flex}.workspace-file-explorer.is-compact .explorer-list-heading>span{display:none}.workspace-file-explorer.is-compact .explorer-entry-type,.workspace-file-explorer.is-compact .explorer-entry-location{padding-left:27px}.workspace-file-explorer.is-compact .explorer-list.is-icons{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.workspace-file-explorer.is-compact .explorer-list.is-icons .explorer-entry-type,.workspace-file-explorer.is-compact .explorer-list.is-icons .explorer-entry-location{padding-left:0}@media (width<=700px){.workspace-file-explorer .explorer-address-row{flex-wrap:wrap}.workspace-file-explorer .explorer-breadcrumbs{flex-basis:100%}.workspace-file-explorer.is-navigation-open .explorer-body{grid-template-columns:minmax(0,1fr)}.workspace-file-explorer .explorer-folder-navigation{border-right:0;border-bottom:1px solid var(--border);max-height:220px}.explorer-edit-commands{border-left:0;padding-left:0}.explorer-edit-commands button>span{display:none}.explorer-list-heading,.workspace-file-explorer .explorer-entry,.explorer-list.is-search .explorer-list-heading,.workspace-file-explorer .explorer-list.is-search .explorer-entry{grid-template-columns:minmax(0,1fr);gap:3px}.explorer-list-heading{justify-content:space-between;display:flex}.explorer-list-heading>span{display:none}.explorer-entry-type,.explorer-entry-location{padding-left:27px}.explorer-list.is-icons .explorer-entry-type,.explorer-list.is-icons .explorer-entry-location{padding-left:0}.explorer-history button,.explorer-view-commands button,.explorer-command-group button{min-height:42px}}.workspace-shelf,.reading-room,.workspace-editor,.workspace-world-empty{color:var(--text);min-width:0;font-family:inherit}.workspace-shelf [hidden]{display:none!important}.workspace-shelf{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;height:100%;min-height:0;display:flex;overflow-y:auto}.workspace-shelf:not(.is-open){display:none}.shelf-heading{justify-content:space-between;align-items:center;padding:19px 18px 14px;display:flex}.shelf-heading>span{align-items:center;gap:9px;font-size:15px;font-weight:650;display:flex}.shelf-heading svg{color:var(--accent);flex:none}.shelf-world{align-items:flex-start;gap:6px;margin:0 14px;display:flex}.shelf-world-switch{flex:1;min-width:0}.shelf-world-switch summary{cursor:pointer;background:var(--surface-raised);border-radius:8px;align-items:center;gap:10px;padding:10px;list-style:none;display:flex}.shelf-world-switch summary::-webkit-details-marker{display:none}.shelf-world-switch summary>span{flex:1;gap:4px;min-width:0;display:grid}.shelf-world-switch summary small{color:var(--muted);font-size:11px}.shelf-world-switch summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.shelf-world-switch summary>svg{color:var(--muted);flex:none}.workspace-shelf .world-list{max-height:240px;padding:5px 0;overflow-y:auto}.workspace-shelf .world-item{width:100%;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:10px;display:flex}.workspace-shelf .world-item strong{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:500}.workspace-shelf .world-item.is-active{background:var(--accent-soft);color:var(--accent-strong)}.workspace-shelf .world-item:hover:not(:disabled){background:var(--surface-hover)}.workspace-shelf .world-settings-trigger{flex:none;margin-top:12px}.workspace-shelf .rail-action{color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;gap:7px;margin:8px 14px 16px;padding:7px;font-size:12px;display:flex}.workspace-shelf .rail-action:hover:not(:disabled){color:var(--accent-strong);background:var(--surface-raised)}.shelf-views{background:var(--bg);border-radius:9px;grid-template-columns:1fr 1fr;gap:4px;margin:0 14px;padding:4px;display:grid}.shelf-views button{min-height:37px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:13px;display:flex}.shelf-views button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-strong)}.shelf-views small{opacity:.8;font-size:11px}.workspace-shelf .rail-scroll{flex:1;min-height:0;padding:18px 14px 26px;overflow-y:auto}.workspace-shelf .rail-section{min-width:0}.workspace-shelf .rail-section-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:13px;font-weight:650;display:flex}.workspace-shelf .rail-section-title>span,.workspace-batch-trigger,.save-portability-actions{align-items:center;gap:7px;display:flex}.workspace-batch-trigger small{color:var(--muted);font-weight:400}.workspace-shelf button:not(.button):not(.icon-button):focus-visible,.reading-room button:focus-visible,.workspace-editor summary:focus-visible,.shelf-world-switch summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.workspace-shelf button:disabled{cursor:not-allowed;opacity:.45}.workspace-batch-trigger button,.save-portability-actions button,.file-group-heading>button,.save-row-actions button,.save-rename-form>button{width:30px;min-height:30px;color:var(--muted);background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.workspace-shelf button:hover:not(:disabled):not([aria-pressed=true]){color:var(--text)}.workspace-batch-trigger button:hover:not(:disabled),.save-portability-actions button:hover:not(:disabled),.file-group-heading>button:hover:not(:disabled),.save-row-actions button:hover:not(:disabled){background:var(--surface-hover)}.workspace-shelf .inline-create{align-items:center;gap:4px;margin-top:6px;display:flex}.inline-create label{flex:1;min-width:0}.inline-create input{width:100%;min-width:0;padding:8px;font-size:12px}.inline-create>button{color:var(--accent);background:0 0;border:0;padding:5px}.save-portability-note{color:var(--muted);margin:0 0 16px;font-size:12px;line-height:1.6}.save-list{gap:8px;display:grid}.save-row{background:var(--bg);border:1px solid #0000;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;gap:4px;min-width:0;padding:6px;display:grid}.save-row.is-active{border-color:var(--border);background:var(--surface-raised)}.save-item{color:var(--text);text-align:left;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0;padding:5px;display:flex}.save-slot{color:var(--muted);background:var(--surface-hover);border-radius:4px;padding:3px 5px;font-size:10px}.save-row.is-active .save-slot{background:var(--accent-soft);color:var(--accent-strong)}.save-item>span:nth-child(2){flex:1;gap:4px;min-width:60px;display:grid}.save-item strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.save-item small{color:var(--muted);font-size:10px}.save-item>svg{color:var(--success)}.save-row-actions{flex-direction:column;justify-content:center;display:flex}.save-delete-button:hover:not(:disabled),.danger-text{color:var(--danger)!important}.save-rename-form{background:var(--surface-raised);border-radius:8px;align-items:center;gap:4px;padding:8px;display:flex}.save-rename-form label{flex:1;min-width:0}.save-rename-form input{width:100%;min-width:0;padding:8px;font-size:13px}.save-delete-confirm{border:1px solid var(--danger);background:var(--bg);border-radius:8px;padding:12px;font-size:12px}.save-delete-confirm>div:first-child{align-items:flex-start;gap:8px;display:flex}.save-delete-confirm>div:first-child svg{color:var(--danger);flex:none}.save-delete-confirm span{gap:6px;display:grid}.save-delete-confirm small{color:var(--muted);line-height:1.6}.save-delete-confirm>div:last-child{justify-content:flex-end;gap:6px;margin-top:12px;display:flex}.save-delete-confirm button,.save-as-form button{border:1px solid var(--border);background:var(--surface-raised);color:var(--text);border-radius:5px;align-items:center;gap:5px;padding:7px 9px;display:flex}.save-as-form{gap:10px;margin-top:14px;display:grid}.save-as-form label{gap:7px;font-size:12px;display:grid}.save-as-form input{width:100%;min-width:0}.save-as-form>div{justify-content:flex-end;gap:6px;display:flex}.reading-room{flex-direction:column;gap:10px;width:min(100%,1120px);margin:0 auto;padding:10px clamp(16px,3vw,42px);display:flex;container-type:inline-size}.reading-heading{align-items:center;gap:8px;display:flex}.reading-view-switch,.editor-view-toolbar nav{background:var(--surface);border-radius:8px;gap:3px;padding:4px;display:flex}.reading-view-switch button,.editor-view-toolbar nav button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:13px;display:flex}.reading-view-switch button[aria-pressed=true],.editor-view-toolbar nav button[aria-pressed=true]{color:var(--accent-strong);background:var(--accent-soft)}.reading-controls{border-bottom:1px solid var(--border);padding-bottom:10px}.reading-navigation{gap:8px;display:grid}.reading-round-choice{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.round-pager{align-items:center;gap:8px;display:flex}.round-pager>button{border:1px solid var(--border);width:36px;height:36px;color:var(--text);background:var(--surface);border-radius:7px;place-items:center;padding:0;display:grid}.round-pager select{background:var(--surface);border-color:#0000;min-width:122px;padding:8px 10px;font-size:14px}.reading-tools{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.reading-tools>span{margin-right:auto}.reading-tools select{background:var(--bg);width:66px;min-width:0;min-height:36px;padding:6px 8px;font-size:14px}.reading-tools button{min-width:32px;min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:5px;padding:3px;font-size:14px}.reading-tools button:hover:not(:disabled){background:var(--surface-raised);color:var(--text)}.reading-controls :is(button,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.reading-controls .round-index{max-height:180px;overflow-y:auto}.reading-history{color:var(--warm);align-items:center;gap:8px;font-size:13px;display:flex}.reading-history>span{flex:1}.reading-history button{color:var(--accent);background:0 0;border:0}.reading-room .reading-page{background:var(--surface);min-height:380px;box-shadow:none;border:0;border-radius:12px;flex:none;margin:0;padding:clamp(22px,4vw,46px) clamp(18px,4vw,50px) 24px;display:block;overflow:visible}.reading-chapter{width:min(100%,72ch);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin:0 auto 27px;font-size:13px;display:flex}.reading-chapter small{color:var(--success);font-size:11px}.reading-room .story-copy{width:min(100%,72ch);color:var(--text);font-family:inherit;font-size:var(--reading-size,20px);overflow-wrap:anywhere;margin:0 auto;line-height:1.95}.reading-room .story-copy p{margin-block:0 1.4em}.reading-room .story-copy h1,.reading-room .story-copy h2,.reading-room .story-copy h3{color:var(--text);font-family:inherit;line-height:1.45}.reading-room .story-copy a{color:var(--accent)}.reading-room .story-copy blockquote{color:var(--muted);border-left:1px solid var(--border);background:0 0}.reading-page-end{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:18px;margin-top:40px;padding-top:20px;font-size:12px;display:flex}.reading-page-end button{color:var(--accent);background:0 0;border:0;align-items:center;gap:7px;font-size:14px;display:flex}.story-empty,.editor-empty,.chat-preset-empty{text-align:center;min-height:300px;color:var(--muted);align-content:center;justify-items:center;gap:15px;padding:30px 20px;display:grid}.story-empty>svg,.editor-empty>svg,.chat-preset-empty>svg{color:var(--accent)}.story-empty h2,.editor-empty h1,.editor-empty h2{color:var(--text);margin:0;font-size:23px;font-weight:550}.story-empty p,.editor-empty p,.chat-preset-empty p{max-width:38em;margin:0;font-size:14px;line-height:1.8}.reading-contents{padding:0 3px}.reading-contents summary{cursor:pointer;color:var(--muted);align-items:center;gap:10px;padding:8px 0;font-size:13px;list-style:none;display:flex}.reading-contents summary small{margin-left:auto;font-size:11px}.round-index{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:7px;padding:12px 0;display:grid}.round-index button{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:6px;padding:9px;font-size:12px}.round-index .is-active{background:var(--accent-soft);color:var(--accent-strong)}.play-file-manager:not(.is-open){display:none}.play-files-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px;display:flex}.play-files-heading h2{margin:0 0 7px;font-size:21px}.play-files-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.play-file-manager__body{gap:18px;min-width:0;display:grid}.play-file-manager__toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.play-file-manager__toolbar label{flex:1;align-items:center;gap:10px;min-width:0;font-size:13px;display:flex}.play-file-manager__toolbar select{width:min(100%,460px);min-width:0}.play-file-manager__toolbar>span{font-size:12px}.play-file-editor{gap:10px;min-width:0;display:grid}.play-file-editor textarea{resize:vertical;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;min-height:340px;padding:20px;font-size:16px;line-height:1.75}.play-file-editor>small{color:var(--muted);font-size:12px;line-height:1.7}.play-file-manager__actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.play-file-manager__error{background:var(--surface-raised);color:var(--danger);border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;padding:14px;font-size:13px;display:flex}.play-file-manager__error p{margin:0}.play-file-manager__empty{min-height:160px;color:var(--muted);justify-content:center;align-items:center;gap:10px;display:flex}.play-file-delete-confirm{color:var(--danger);flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;display:flex}.batch-file-transfer{background:var(--surface);border:1px solid var(--border);border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(210px,.8fr);gap:12px 24px;min-width:0;padding:20px;display:grid}.batch-file-transfer__heading{color:var(--text);grid-column:1/-1;justify-content:space-between;gap:10px;font-size:13px;display:flex}.batch-file-transfer__heading>span{align-items:center;gap:7px;display:flex}.batch-file-transfer__heading>small{color:var(--muted);font-size:11px}.batch-file-transfer__selection-actions{gap:12px;display:flex}.batch-file-transfer__selection-actions button{color:var(--accent);background:0 0;border:0;padding:0;font-size:12px}.batch-file-transfer__files{background:var(--bg);border-radius:6px;grid-column:1;align-content:start;gap:6px;min-height:80px;max-height:240px;padding:10px;display:grid;overflow:auto}.batch-file-transfer__files label{min-width:0;color:var(--muted);align-items:flex-start;gap:9px;padding:4px;font-size:12px;line-height:1.6;display:flex}.batch-file-transfer input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent);flex:none;margin-top:2px}.batch-file-transfer__files label span{overflow-wrap:anywhere}.batch-file-transfer__export{grid-column:1;justify-self:start}.batch-file-transfer__import{grid-area:2/2/span 3;align-content:start;gap:14px;min-width:0;display:grid}.batch-file-transfer__import>label:not(.batch-file-transfer__overwrite){gap:7px;font-size:12px;display:grid}.batch-file-transfer__import select{width:100%;min-width:0;font-size:12px}.batch-file-transfer__overwrite{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.batch-file-transfer__import-actions{flex-wrap:wrap;gap:6px;display:flex}.batch-file-transfer__import>small,.batch-file-transfer__empty{color:var(--muted);margin:0;font-size:11px;line-height:1.7}.batch-file-transfer__status{color:var(--success);grid-column:1/-1;margin:0;font-size:12px}.workspace-shelf .batch-file-transfer{flex-direction:column;gap:12px;margin-bottom:15px;padding:12px;display:flex}.workspace-shelf .batch-file-transfer__import{border-top:1px solid var(--border);padding-top:10px;display:grid}.workspace-shelf .batch-file-transfer .button{padding:7px 9px;font-size:11px}.workspace-editor{flex-direction:column;gap:20px;min-height:560px;padding:clamp(18px,3vw,34px);display:flex;container-type:inline-size}.editor-header{justify-content:space-between;align-items:flex-start;gap:18px;min-width:0;display:flex}.editor-header>div:first-child{min-width:0}.editor-category{color:var(--accent);align-items:center;gap:7px;margin-bottom:10px;font-size:12px;display:flex}.editor-header h1{overflow-wrap:anywhere;letter-spacing:-.02em;margin:0 0 7px;font-size:clamp(23px,2.2vw,30px);font-weight:600;line-height:1.35}.editor-header p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.editor-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:7px;max-width:60%;display:flex}.editor-actions>span{font-size:12px}.dirty-state{color:var(--warm)}.saved-state{color:var(--muted)}.editor-more{position:relative}.editor-more>summary{min-height:36px;color:var(--muted);cursor:pointer;border:1px solid var(--border);border-radius:7px;align-items:center;gap:6px;padding:7px 10px;font-size:13px;list-style:none;display:flex}.editor-more>div{z-index:5;background:var(--surface-raised);border-radius:10px;gap:9px;width:310px;max-width:calc(100vw - 40px);padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #0008}.authority-file-actions{min-width:0}.authority-file-actions__buttons{flex-wrap:wrap;gap:6px;display:flex}.authority-file-actions__delete{color:var(--danger)}.authority-file-inline-form,.authority-file-delete-confirm{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding-top:12px;font-size:13px;display:flex}.authority-file-inline-form label{flex:1 0 100%;gap:6px;min-width:0;display:grid}.authority-file-inline-form input{width:100%;min-width:0}.authority-file-delete-confirm>span{color:var(--danger);overflow-wrap:anywhere;flex:1 0 100%;gap:8px;display:flex}.file-save-as{background:var(--surface-raised);border-radius:10px;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:18px;display:flex}.file-save-as label{gap:7px;min-width:0;font-size:12px;display:grid}.file-save-as label:has(input){flex:1;min-width:150px}.file-save-as input,.file-save-as select{width:100%;min-width:0}.editor-view-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;padding-bottom:12px;display:flex}.editor-view-toolbar>span{font-size:12px}.workspace-editor .file-editor{flex-direction:column;flex:1;min-width:0;display:flex}.workspace-editor .file-editor textarea{border:1px solid var(--border);background:var(--surface);width:100%;min-height:440px;color:var(--text);resize:vertical;border-radius:10px;flex:1;padding:22px;font-family:inherit;font-size:16px;line-height:1.9}.workspace-preview{background:var(--surface);overflow-wrap:anywhere;border-radius:10px;min-height:440px;padding:25px}.workspace-preview .story-copy{color:var(--text);font-family:inherit;font-size:18px;line-height:1.85}.workspace-preview>pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);margin:0;font-size:15px;line-height:1.8}.workspace-html-preview{border:1px solid var(--border);border-radius:10px;flex-direction:column;min-width:0;min-height:440px;display:flex;overflow:hidden}.workspace-html-preview__toolbar{border-bottom:1px solid var(--border);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px;font-size:12px;display:flex}.workspace-html-preview__toolbar button{min-height:36px}.workspace-html-preview__hint{color:var(--muted);margin:0;padding:14px;font-size:13px;line-height:1.7}.workspace-html-preview>.play-web-frame iframe{background:#fff;height:60dvh;min-height:440px}.editor-statusbar{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;font-size:11px;display:flex}.editor-statusbar small{font-size:11px;line-height:1.6}.editor-statusbar>span{white-space:nowrap}.preset-workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:22px;min-width:0;display:grid}.chat-preset-editor{min-width:0}.chat-preset-editor__intro{border-bottom:1px solid var(--border);gap:16px;margin-bottom:18px;padding:0 0 20px;display:grid}.chat-preset-editor__intro strong{font-size:17px;font-weight:600}.chat-preset-editor__intro strong small{color:var(--muted);margin-left:8px;font-size:12px;font-weight:400}.chat-preset-editor__intro p{color:var(--muted);margin:7px 0 0;font-size:13px;line-height:1.7}.chat-preset-add-actions{flex-wrap:wrap;gap:7px;display:flex}.chat-preset-add-actions .button{font-size:12px}.chat-preset-message-list{gap:20px;margin:0;padding:0;list-style:none;display:grid}.chat-preset-message{grid-template-columns:27px minmax(0,1fr);gap:10px;display:grid}.chat-preset-message__index{color:var(--muted);font-variant-numeric:tabular-nums;padding-top:12px;font-size:11px}.chat-preset-message__body{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0;overflow:hidden}.chat-preset-message__toolbar{background:var(--surface-raised);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.chat-preset-message__toolbar label{min-width:0}.chat-preset-message__toolbar select{background:var(--surface);border:0;width:116px;padding:6px 8px;font-size:12px}.chat-preset-message__toolbar>span{color:var(--muted);flex:1;font-size:11px}.chat-preset-message__toolbar>div{gap:3px;margin-left:auto;display:flex}.chat-preset-message__toolbar button{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid}.chat-preset-message__toolbar button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.chat-preset-message__toolbar .chat-preset-delete:hover:not(:disabled){color:var(--danger)}.chat-preset-message__body>label{display:block}.chat-preset-message textarea{width:100%;min-height:146px;color:var(--text);resize:vertical;background:0 0;border:0;border-radius:0;padding:17px;font-family:inherit;font-size:15px;line-height:1.8;display:block}.chat-preset-message textarea:focus-visible{outline-offset:-2px}.chat-preset-message__error{color:var(--danger);padding:0 16px 12px;font-size:12px;display:block}.chat-preset-start{background:var(--surface);border-radius:12px;gap:16px;padding:23px;display:grid}.chat-preset-start>div{gap:11px;display:grid}.chat-preset-start>div>svg{color:var(--warm)}.chat-preset-start strong{font-size:18px;font-weight:600}.chat-preset-start small{color:var(--muted);overflow-wrap:anywhere;font-size:12px;line-height:1.8}.chat-preset-start label{gap:8px;font-size:12px;display:grid}.chat-preset-start input{width:100%;min-width:0}.chat-preset-start .button{justify-content:center}.chat-preset-invalid{color:var(--danger);background:var(--surface);border-radius:10px;gap:16px;padding:20px;display:grid}.chat-preset-invalid label{gap:9px;display:grid}.chat-preset-invalid textarea{width:100%;min-height:300px;color:var(--text);background:var(--bg);font-size:14px;line-height:1.7}.chat-preset-invalid p,.chat-preset-limit{color:var(--danger);margin:5px 0;font-size:13px;line-height:1.7}.chat-preset-empty strong{color:var(--text);font-size:19px;font-weight:550}.workspace-world-empty{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5vw,72px);width:100%;max-width:1080px;margin:auto;padding:clamp(24px,5vw,70px);display:grid}.workspace-world-empty>div>svg{color:var(--accent);margin-bottom:20px}.workspace-world-empty h1{letter-spacing:-.025em;margin:0 0 18px;font-size:34px;font-weight:600;line-height:1.3}.workspace-world-empty p{color:var(--muted);font-size:15px;line-height:1.8}.create-world-form,.world-settings-form{gap:17px;min-width:0;display:grid}.create-world-form label,.world-settings-form label{gap:8px;font-size:13px;display:grid}.create-world-form input,.create-world-form select,.create-world-form textarea,.world-settings-form input,.world-settings-form select{width:100%;min-width:0}.create-world-form textarea{resize:vertical;min-height:150px;padding:13px;line-height:1.7}.create-world-form .form-actions,.world-settings-form .form-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.workspace-shelf .create-world-form,.workspace-shelf .world-settings-form{border-block:1px solid var(--border);margin:5px 14px 15px;padding:15px 0}.world-settings-form__heading{gap:5px;font-size:13px;font-weight:600;display:grid}.world-settings-form__heading small{color:var(--muted);font-size:11px;font-weight:400}.world-settings-form__hint{color:var(--muted);margin:0;font-size:11px;line-height:1.7}.workspace-shelf .create-world-form label,.workspace-shelf .world-settings-form label{font-size:12px}.workspace-shelf .create-world-form .button,.workspace-shelf .world-settings-form .button{padding:8px 10px;font-size:12px}@container (width>=980px){.preset-workspace{grid-template-columns:minmax(0,1fr) 270px}.chat-preset-start{position:sticky;top:16px}}@container (width<=600px){.editor-header{flex-direction:column}.editor-actions{justify-content:flex-start;max-width:100%}.editor-more>div{left:0;right:auto}.batch-file-transfer{flex-direction:column;padding:15px;display:flex}.batch-file-transfer__import{border-top:1px solid var(--border);padding-top:13px}}@media (width<=980px){.workspace-scrim{z-index:59;background:#050a12b8;border:0;border-radius:0;padding:0;display:block;position:fixed;inset:0}.workspace-scrim:hover:not(:disabled){background:#050a12b8}.workspace-shelf.is-open{z-index:60;border:0;width:min(340px,100vw - 40px);max-height:100dvh;position:fixed;top:0;bottom:0;left:0;box-shadow:8px 0 32px #0008}}@media (width<=760px){.workspace-shelf .rail-scroll{padding-bottom:32px}.workspace-shelf .shelf-heading{padding-top:20px}.reading-room{gap:8px;padding:8px 14px}.reading-room .reading-page{border-radius:9px;padding:23px 19px}.reading-tools{gap:2px}.reading-tools button{min-width:44px;min-height:44px}.round-pager{gap:5px}.round-pager>button{min-width:44px;min-height:44px}.round-pager select{min-width:100px;max-width:130px}.workspace-editor{gap:18px;padding:20px 15px}.editor-actions{max-width:100%}.editor-actions .button{padding:8px 10px;font-size:12px}.workspace-editor .file-editor textarea{min-height:420px;padding:16px}.workspace-preview{padding:18px}.play-file-manager__toolbar{flex-direction:column;align-items:stretch;gap:10px}.play-file-manager__toolbar label{flex-wrap:wrap}.play-files-heading{flex-direction:column}.file-save-as{gap:10px;padding:13px}.chat-preset-message{grid-template-columns:20px minmax(0,1fr);gap:6px}.chat-preset-message__toolbar{gap:6px;padding:8px}.chat-preset-message__toolbar>span{display:none}.chat-preset-message__toolbar select{width:103px;min-height:44px;padding:6px}.chat-preset-message__toolbar button{width:44px;height:44px}.chat-preset-add-actions .button{min-height:44px}.chat-preset-message textarea{padding:13px;font-size:16px}.chat-preset-start{padding:19px}.workspace-world-empty{grid-template-columns:minmax(0,1fr);gap:25px;padding:24px 20px}.workspace-world-empty h1{font-size:28px}}@media (prefers-reduced-motion:reduce){.workspace-shelf *,.reading-room *,.workspace-editor *{scroll-behavior:auto;transition:none}}.workspace-chat-start{border-top:1px solid var(--border);margin-top:20px;padding-top:14px}.workspace-chat-start summary{cursor:pointer;min-height:40px;color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.workspace-chat-start form{gap:12px;padding:10px 0;display:grid}.workspace-chat-start label{color:var(--muted);gap:6px;font-size:13px;display:grid}.workspace-chat-start input,.workspace-chat-start select{background:var(--bg);width:100%;min-height:40px;color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px}.account-workspace-main{width:min(1440px,100%);margin:0 auto;padding:28px 32px 48px}.account-workspace-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.account-workspace-heading h1{align-items:center;gap:10px;margin:0;font-size:24px;display:flex}.account-workspace-grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:26px;display:grid}.account-workspace-browser{min-width:0}.account-workspace-main input:not([type=checkbox]),.account-workspace-main select{width:100%;min-height:42px;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:8px 10px}.account-workspace-main textarea{width:100%;color:var(--text);background:var(--bg);border:1px solid var(--border);resize:vertical;border-radius:8px;padding:14px;line-height:1.7}.account-workspace-content{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start;gap:28px;min-width:0;display:grid}.account-file-editor header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:16px;display:flex}.account-file-editor header>div:last-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-file-editor h2{overflow-wrap:anywhere;margin:0;font-size:18px}.account-file-editor header p{color:var(--muted);overflow-wrap:anywhere;margin:7px 0 18px;font-size:12px}.account-file-body{margin-top:12px;display:block}.account-file-body textarea{min-height:320px;font-family:Cascadia Code,Consolas,monospace;font-size:14px}.account-file-editor>small,.account-empty{color:var(--muted);line-height:1.65}.account-empty{padding:35px 0}.account-agent-task{border-left:1px solid var(--border);padding-left:28px}.account-agent-task h2{align-items:center;gap:8px;margin:0 0 18px;font-size:18px;display:flex}.account-agent-task fieldset{border:0;margin:0 0 18px;padding:0}.account-agent-task legend{color:var(--muted);margin-bottom:9px;font-size:13px}.account-agent-task fieldset label{align-items:center;gap:7px;min-height:40px;font-size:14px;display:flex}.account-world-scope{flex-wrap:wrap;column-gap:20px;max-height:170px;display:flex;overflow:auto}.account-task-runtime{grid-template-columns:1fr 1fr;gap:16px;display:grid}.account-task-runtime label,.account-task-instruction{color:var(--muted);gap:8px;font-size:13px;display:grid}.account-task-instruction{margin-top:16px}.account-task-send{justify-content:flex-end;gap:10px;margin-top:12px;display:flex}.account-task-process{border-top:1px solid var(--border);margin-top:24px;padding-top:18px}.account-task-process summary{cursor:pointer;min-height:40px}.account-task-process>label{color:var(--muted);gap:7px;margin:10px 0;font-size:13px;display:grid}.account-process-events{max-height:480px;overflow:auto}.account-workspace-error,.account-workspace-notice{overflow-wrap:anywhere;align-items:center;gap:8px;font-size:14px;line-height:1.65;display:flex}.account-workspace-error{color:var(--danger)}.account-workspace-notice{color:var(--success)}.account-file-delete{border-block:1px solid var(--border);margin:10px 0;padding:12px 0}.account-file-delete button{background:var(--surface);border:1px solid var(--border);min-height:40px;color:var(--text);border-radius:8px;margin-right:8px;padding:8px 12px}.account-file-delete .danger-text{color:var(--danger)}@media (width<=1000px){.account-workspace-content{grid-template-columns:minmax(0,1fr)}.account-agent-task{border-left:0;border-top:1px solid var(--border);padding-top:24px;padding-left:0}}@media (width<=820px){.account-workspace-main{padding:20px 18px 40px}.account-workspace-grid{gap:22px}}@media (width<=500px){.account-task-runtime{grid-template-columns:1fr}.account-file-body textarea{min-height:260px}.account-workspace-main .library-button,.account-workspace-main .library-icon-button{min-height:44px}}.runtime-header{min-width:0;color:var(--text);background:var(--surface);border-bottom:1px solid var(--border);z-index:20;grid-template-columns:auto minmax(150px,1fr) auto auto;grid-template-areas:"navigation context modes actions""execution execution execution execution";align-items:center;gap:0 20px;padding:10px 24px 0 16px;display:grid}.runtime-header__navigation{grid-area:navigation;gap:4px;display:flex}.runtime-header__context{grid-area:context;gap:4px;min-width:0;display:grid}.runtime-header__context>strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:650;overflow:hidden}.runtime-header__context>span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);align-items:center;gap:6px;font-size:12px;display:flex;overflow:hidden}.runtime-header__context svg{flex:none}.runtime-header__context small{color:var(--warm);margin-left:6px;font-size:11px}.runtime-header__modes{border:1px solid var(--border);background:var(--bg);border-radius:9px;grid-area:modes;gap:4px;padding:3px;display:flex}.runtime-header__modes button{min-height:38px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:7px 15px;font-size:13px;display:flex}.runtime-header__modes button.is-active{color:var(--accent-strong);background:var(--accent-soft);box-shadow:inset 0 -2px var(--accent)}.runtime-header__modes button:hover:not(.is-active){color:var(--text);background:var(--surface-hover)}.runtime-header__actions{grid-area:actions;align-items:center;gap:14px;display:flex}.runtime-header .icon-button{min-width:40px;min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:7px;padding:8px;display:inline-flex}.runtime-header .icon-button:hover:not(:disabled){color:var(--text);background:var(--surface-hover)}.runtime-header .process-toggle{width:auto;min-width:64px;color:var(--accent);white-space:nowrap;padding-inline:10px;font-size:12px}.runtime-header .account-menu{align-items:center;gap:5px;display:flex}.runtime-header .account-menu>span{text-overflow:ellipsis;white-space:nowrap;max-width:80px;color:var(--muted);font-size:12px;overflow:hidden}.runtime-header__execution{border-top:1px solid var(--border);grid-area:execution;justify-content:flex-end;min-width:0;margin-top:8px;display:flex}.runtime-header .execution-controls{align-items:center;gap:16px;width:min(640px,100%);min-width:0;padding:6px 0;display:flex}.runtime-header .runtime-select,.runtime-header .model-select{min-width:0;color:var(--muted);align-items:center;gap:10px;font-size:11px;display:flex}.runtime-header .runtime-select{flex:0 240px}.runtime-header .model-select{flex:1}.runtime-header .runtime-select>span,.runtime-header .model-select>span{flex:none}.runtime-header select,.runtime-header input{width:100%;min-width:0;min-height:34px;color:var(--text);background:var(--surface-raised);border:1px solid #0000;border-radius:6px;padding:6px 9px;font-size:12px}.runtime-header select:hover:not(:disabled),.runtime-header input:hover:not(:disabled){border-color:var(--border)}.runtime-header .runtime-settings-trigger{min-height:34px;position:relative}.runtime-settings-trigger:after{content:"";background:var(--muted);border-radius:50%;width:5px;height:5px;position:absolute;bottom:5px;right:5px}.runtime-settings-trigger--ready:after{background:var(--success)}.runtime-settings-trigger--waiting:after{background:var(--warm)}.runtime-settings-trigger--error:after{background:var(--danger)}.runtime-header .execution-summary-button{min-width:0;max-width:100%;min-height:44px;color:var(--muted);text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:7px 0;display:flex}.execution-summary-button>span{align-items:center;gap:8px;min-width:0;display:flex}.execution-summary-button small{flex:none;font-size:11px}.execution-summary-button strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:12px;font-weight:500;overflow:hidden}.run-status{color:var(--muted);white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:inline-flex}.run-status--running,.run-status--queued,.run-status--cancelling{color:var(--warm)}.run-status--failed{color:var(--danger)}.run-status--completed{color:var(--success)}.runtime-redesign{z-index:300;background:#000000a6;justify-content:center;align-items:center;padding:32px 20px;display:flex;position:fixed;inset:0}.runtime-redesign .runtime-settings-dialog{overscroll-behavior:contain;border:1px solid var(--border);background:var(--surface);width:min(580px,100%);max-height:90dvh;color:var(--text);border-radius:16px;overflow-y:auto;box-shadow:0 24px 80px #0000004d}.runtime-redesign .runtime-settings-dialog__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 24px 20px;display:flex}.runtime-settings-agent{color:var(--accent);margin-bottom:6px;font-size:12px;display:block}.runtime-redesign .runtime-settings-dialog__header h2{margin:0;font-size:22px;font-weight:650}.runtime-redesign .runtime-settings-dialog__header p{color:var(--muted);margin:8px 0 0;font-size:13px;line-height:1.65}.runtime-redesign .icon-button{width:40px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:8px;display:inline-grid}.runtime-redesign .icon-button:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.runtime-redesign .execution-settings-sheet,.runtime-redesign .runtime-connection-page{overscroll-behavior:contain;gap:20px;padding:24px;display:grid}.runtime-redesign .runtime-connection-form{gap:20px;display:grid}.runtime-redesign .execution-settings-sheet>label,.runtime-redesign .runtime-connection-form>label{gap:8px;min-width:0;font-size:13px;display:grid}.runtime-redesign label>span{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.runtime-redesign label>span small{color:var(--muted);font-size:11px;font-weight:400}.runtime-redesign input:not([type=checkbox]),.runtime-redesign select{border:1px solid var(--border);width:100%;min-width:0;min-height:44px;color:var(--text);background:var(--bg);border-radius:7px;padding:10px 12px;font-size:14px;display:block}.runtime-redesign input::placeholder{color:var(--muted)}.runtime-redesign .model-input-status{color:var(--muted);overflow-wrap:anywhere;font-size:12px;font-weight:400;line-height:1.65}.runtime-redesign .runtime-settings-back{min-height:40px;color:var(--accent);background:0 0;border:0;justify-self:start;align-items:center;gap:5px;margin:-8px 0;padding:6px 0;font-size:13px;display:inline-flex}.runtime-redesign .clear-api-key{min-height:28px;color:var(--muted);flex-direction:row;align-items:center;gap:8px;margin-top:-8px;font-size:12px!important;display:flex!important}.runtime-redesign .clear-api-key input{width:16px;height:16px;accent-color:var(--accent)}.runtime-redesign .runtime-configuration-status{border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--muted);align-items:flex-start;gap:9px;padding:12px 0;display:flex}.runtime-configuration-status svg{flex:none;margin-top:5px}.runtime-configuration-status>span{gap:4px;min-width:0;display:grid}.runtime-configuration-status strong{font-size:13px;font-weight:550}.runtime-configuration-status small{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.55}.runtime-redesign .runtime-configuration-status--ready{color:var(--success)}.runtime-redesign .runtime-configuration-status--waiting{color:var(--warm)}.runtime-redesign .runtime-configuration-status--error{color:var(--danger)}.runtime-redesign .runtime-settings-lock{color:var(--warm);background:var(--surface-raised);align-items:center;gap:8px;margin:0;padding:12px 24px;font-size:13px;line-height:1.6;display:flex}.runtime-redesign .runtime-connection-form__hint{color:var(--muted);margin:0;font-size:12px;line-height:1.65}.runtime-redesign .runtime-settings-message{background:var(--surface-raised);overflow-wrap:anywhere;border-radius:7px;margin:0;padding:12px;font-size:13px;line-height:1.65}.runtime-redesign .runtime-settings-message--error{color:var(--danger)}.runtime-redesign .runtime-settings-message--success{color:var(--success)}.runtime-redesign .runtime-settings-message--info{color:var(--accent)}.runtime-redesign .form-actions{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:18px;display:flex}.runtime-redesign .runtime-settings-error{color:var(--danger);justify-items:start;gap:12px;display:grid}.runtime-redesign .runtime-settings-error h3{color:var(--text);margin:0;font-size:17px}.runtime-redesign .runtime-settings-error p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.6}.runtime-header :is(button,input,select):disabled,.runtime-redesign :is(button,input,select):disabled{opacity:.5;cursor:not-allowed}.runtime-header :is(button,input,select):focus-visible,.runtime-redesign :is(button,input,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (width>=1500px){.runtime-header{grid-template-columns:auto minmax(160px,1fr) auto minmax(340px,480px) auto;grid-template-areas:"navigation context modes execution actions";min-height:78px;padding-bottom:10px}.runtime-header__execution{border:0;margin:0}.runtime-header .execution-controls{gap:10px}.runtime-header .runtime-select,.runtime-header .model-select{gap:3px;display:grid}.runtime-header .runtime-select{flex-basis:160px}}@media (width<=980px){.runtime-header{gap:0 12px;padding-inline:12px}.runtime-header .account-menu>span{display:none}.runtime-header__execution{justify-content:flex-start}.runtime-header__actions{gap:4px}}@media (width<=720px){.runtime-header{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"navigation context actions""modes execution execution";gap:8px;padding:8px}.runtime-header__navigation{gap:0}.runtime-header .icon-button{min-width:36px;min-height:44px;padding:6px}.runtime-header__context>strong{font-size:14px}.runtime-header__context>span{font-size:11px}.runtime-header__actions .run-status,.runtime-header .process-toggle>span{display:none}.runtime-header .process-toggle{min-width:36px}.runtime-header__execution{border:0;justify-content:flex-end;margin:0}.runtime-header__modes{justify-self:start;gap:0;padding:0}.runtime-header__modes button{gap:4px;min-height:40px;padding:8px;font-size:12px}.runtime-header__modes svg{display:none}.runtime-header .execution-summary-button{gap:6px;min-height:40px}.execution-summary-button>span{gap:1px;display:grid}.execution-summary-button small{font-size:10px}.execution-summary-button strong{font-size:11px}.runtime-redesign{align-items:stretch;padding:0}.runtime-redesign .runtime-settings-dialog{border:0;border-radius:0;width:100%;max-height:100dvh}.runtime-redesign .runtime-settings-dialog__header,.runtime-redesign .execution-settings-sheet,.runtime-redesign .runtime-connection-page{padding:20px}}.world-workbench{--app-header-height:61px}body .world-workbench>.runtime-header.runtime-header--streamlined{grid-template-columns:auto minmax(120px,1fr) auto minmax(300px,420px) auto;grid-template-areas:"navigation context modes execution actions";gap:8px;min-height:61px;padding:8px 12px;position:relative}.runtime-header--streamlined .runtime-header__context{gap:2px}.runtime-header--streamlined .runtime-header__context>strong{font-size:14px}.runtime-header--streamlined .runtime-header__context>span{font-size:11px}.runtime-header--streamlined .runtime-header__actions{gap:2px}.runtime-header--streamlined .icon-button{min-width:44px;min-height:44px;padding:8px}.runtime-header--streamlined .runtime-header__execution{border:0;margin:0;display:flex}.runtime-header--streamlined .execution-controls{gap:8px;width:100%;padding:0}.runtime-header--streamlined .runtime-select,.runtime-header--streamlined .model-select{gap:2px;display:grid}.runtime-header--streamlined .runtime-select{flex-basis:150px}.runtime-header--streamlined .runtime-select>span,.runtime-header--streamlined .model-select>span{display:none}.runtime-header--streamlined .runtime-header__modes{padding:0}.runtime-header--streamlined .runtime-header__modes button{min-height:44px;padding:8px 10px}.world-header-menu{z-index:40;overscroll-behavior:contain;background:var(--surface);border:1px solid var(--border);border-radius:10px;gap:12px;width:min(330px,100vw - 24px);max-height:calc(100dvh - 84px);padding:16px;display:grid;position:absolute;top:calc(100% + 6px);right:12px;overflow-y:auto}.world-header-menu[hidden],.world-header-presentation:empty{display:none}.world-header-menu>button{background:0 0;border-color:#0000;justify-content:flex-start;min-height:44px}.world-header-menu .runtime-header__modes{grid-area:auto;justify-self:stretch;width:100%;display:flex}.world-header-menu .runtime-header__modes button{flex:1}.world-header-menu .runtime-header__modes svg{display:block}@media (width<=980px){.world-workbench{--app-header-height:57px}body .world-workbench>.runtime-header.runtime-header--streamlined{grid-template-columns:44px minmax(0,1fr) auto auto;grid-template-areas:"navigation context execution actions";gap:4px;min-height:57px;padding:6px 8px}.runtime-header--streamlined .runtime-header__actions .run-status,.runtime-header--streamlined .process-toggle>span{display:none}.runtime-header--streamlined .process-toggle{width:44px;min-width:44px;padding:8px}.runtime-header--streamlined .execution-summary-button{justify-content:center;width:44px;min-width:44px;min-height:44px;padding:8px}.runtime-header--streamlined .execution-summary-button>span{display:none}.runtime-header--streamlined .execution-summary-button>svg{width:19px;height:19px}}.web-fullscreen-control{flex:none;position:relative}.web-fullscreen-control__notice{z-index:30;border:1px solid var(--border);width:min(290px,100vw - 24px);color:var(--text);background:var(--surface-raised);border-radius:8px;align-items:flex-start;padding:10px 6px 10px 14px;display:flex;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 24px #0000003d}.web-fullscreen-control__notice p{flex:1;min-width:0;margin:0;padding-block:8px;font-size:13px;line-height:1.6}.play-presentation{min-width:0}.world-workbench:has(.play-presentation--editing){height:100dvh;min-height:0}.world-workbench:has(.play-presentation--editing)>.runtime-header{flex:none;grid-template-columns:auto minmax(150px,1fr) auto auto;grid-template-areas:"navigation context modes actions";padding-bottom:8px}.world-workbench:has(.play-presentation--editing) .runtime-header__execution{display:none}.world-workbench:has(.play-presentation--editing) .process-rail-button{display:none}.world-workbench:has(.play-presentation--editing)>.workbench-grid{align-items:stretch;min-height:0}.world-workbench:has(.play-presentation--editing) .content-desk{min-height:0;overflow:hidden}.play-presentation--editing{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.play-presentation--editing:has(.presentation-preview-notice) .presentation-editor{display:none}.play-presentation--editing>.presentation-preview-notice{flex:none}.presentation-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 32px;display:flex}.presentation-view-label{color:var(--muted);align-items:center;gap:9px;font-size:12px;display:inline-flex}.presentation-toolbar__actions{flex-wrap:wrap;gap:8px;display:flex}.presentation-toolbar button{min-height:36px;color:var(--muted);background:0 0;border-color:#0000;padding:6px 10px;font-size:12px}.presentation-toolbar button:hover:not(:disabled),.presentation-toolbar button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.presentation-rounds{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;padding:18px 24px;display:flex}.presentation-rounds select{text-align:center;min-width:125px}.presentation-history-label{color:var(--warm);font-size:12px}.presentation-preview-notice{background:var(--accent-soft);color:var(--accent);flex-wrap:wrap;align-items:center;gap:16px;padding:12px 24px;display:flex}.presentation-preview-notice>span{flex:1}.presentation-preview-notice button{border-color:var(--accent);background:0 0}.presentation-error{color:var(--danger);overflow-wrap:anywhere;background:#281f28;border:1px solid #653f48;border-radius:8px;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 24px;padding:14px 18px;display:flex}.presentation-error button{color:var(--text)}.presentation-panels{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:72px;gap:16px;padding:0 24px 24px;display:grid}.presentation-panel{grid-column:var(--presentation-panel-column);grid-row:var(--presentation-panel-row);background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:auto}.presentation-panel>.story-copy{padding:32px}.presentation-panels--page,.presentation-panels--text{display:block}.presentation-panels--page>.presentation-panel{border:0;border-radius:0;min-height:68vh}.presentation-panels--text{max-width:1060px;margin:0 auto;padding:0 32px 32px}.presentation-panels--text>.presentation-panel{background:0 0;border:0;min-height:320px}.play-web-frame{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.play-web-frame iframe{background:var(--surface);border:0;flex:1;width:100%;min-height:260px;display:block}.play-web-frame>.presentation-error{margin:12px}.play-presentation--editing>.play-web-frame{border:1px solid var(--border);border-radius:10px;min-height:420px;margin:24px;overflow:hidden}.presentation-empty{color:var(--muted);margin:0;padding:32px}.presentation-raw{border-top:1px solid var(--border);min-width:0;color:var(--muted);margin:0 24px 24px;padding:16px}.presentation-raw pre{background:var(--surface);max-width:100%;max-height:320px;color:var(--text);border-radius:8px;padding:16px;font-size:12px;overflow:auto}@media (width<=760px){.presentation-panels{flex-direction:column;gap:12px;padding:0 12px 16px;display:flex}.presentation-panel{min-height:280px}.presentation-panel .play-web-frame iframe{min-height:360px}.presentation-panel>.story-copy{padding:22px 18px}.presentation-toolbar{gap:6px;padding:10px 16px}.presentation-toolbar__actions{margin-left:auto}.presentation-rounds{gap:6px;padding:14px 12px}.presentation-rounds button{min-height:44px}.presentation-view-label{font-size:11px}.presentation-toolbar button{min-height:40px;font-size:12px}.presentation-error{margin:12px}.presentation-raw{margin:0 12px 16px}.play-presentation--editing>.play-web-frame{margin:12px}}@media (width<=720px){.world-workbench:has(.play-presentation--editing)>.runtime-header{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"navigation context actions""modes modes modes"}}.presentation-toolbar--menu{border:0;align-items:stretch;gap:8px;padding:0}.presentation-toolbar--menu .presentation-view-label{width:100%;font-size:12px}.presentation-toolbar--menu .presentation-toolbar__actions{flex-direction:column;gap:4px;width:100%;margin:0}.presentation-toolbar--menu button{justify-content:flex-start;min-height:44px;padding:8px;font-size:13px}.presentation-round-controls--menu{min-width:0}.presentation-round-controls--menu .presentation-rounds{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:0;display:grid}.presentation-round-controls--menu .presentation-rounds select{width:100%;min-width:0;padding-inline:6px}.presentation-round-controls--menu .presentation-rounds button{gap:4px;min-height:44px;padding:8px;font-size:12px}.presentation-round-controls--menu .presentation-history-label,.presentation-round-controls--menu .presentation-latest-action{grid-column:1/-1}.presentation-round-controls--menu .presentation-raw{margin:12px 0 0;padding:12px 0 0}.presentation-round-controls--menu .presentation-raw summary{cursor:pointer;min-height:44px;padding-block:12px;font-size:13px}.presentation-round-controls--menu .presentation-raw pre{margin-bottom:0;padding:10px}.play-presentation--panels-fixed{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.play-presentation--panels-fixed>.presentation-panels{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(var(--presentation-grid-rows), minmax(0, 1fr));column-gap:12px;row-gap:min(12px, calc(100% / var(--presentation-grid-rows) / 4));flex:1;grid-auto-rows:minmax(0,1fr);min-width:0;min-height:0;padding:8px 0;display:grid;overflow:hidden}.play-presentation--panels-fixed .presentation-panel{min-height:0;overflow:hidden}.play-presentation--panels-fixed .presentation-panel>.story-copy{overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.play-presentation--panels-fixed .presentation-panel>.play-web-frame{min-height:0;overflow:hidden}.play-presentation--panels-fixed .play-web-frame iframe{flex:1 1 0;height:100%;min-height:0}.play-presentation--panels-fixed>.presentation-error,.play-presentation--panels-fixed .presentation-panel>.presentation-error,.play-presentation--panels-fixed .play-web-frame>.presentation-error{flex:0 auto;min-height:0;max-height:40%;overflow:auto}.play-presentation--panels-fixed .presentation-panel>.presentation-empty{min-height:0;overflow:auto}.play-presentation--panels-fixed>.presentation-panels--page,.play-presentation--panels-fixed>.presentation-panels--text{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:0;width:100%}.play-presentation--panels-fixed .presentation-panels--page>.presentation-panel,.play-presentation--panels-fixed .presentation-panels--text>.presentation-panel{grid-area:auto}@media (width<=760px){.play-presentation--panels-fixed>.presentation-panels{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--presentation-panel-count), minmax(0, 1fr));gap:8px;padding:8px 0}.play-presentation--panels-fixed .presentation-panel{grid-area:auto}.play-presentation--panels-fixed .presentation-panel>.story-copy{padding:18px 14px}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;--bg:#0b1119;--surface:#111c27;--surface-raised:#192836;--surface-hover:#213344;--border:#2b3e50;--text:#e4edf4;--muted:#9cb0c1;--accent:#9bc7e7;--accent-strong:#b8dcf5;--accent-ink:#102434;--accent-soft:#203c51;--warm:#d9b879;--danger:#f09a9e;--success:#9bceb2;--font-mono:"Cascadia Code", "Cascadia Mono", Consolas, monospace;--app-header-height:128px;font-family:Segoe UI Variable,Microsoft YaHei UI,PingFang SC,system-ui,sans-serif;font-size:14px}*{box-sizing:border-box}body{min-width:320px;margin:0;line-height:1.6}body,#root{min-height:100dvh}:where(button,input,select,textarea){font:inherit;color:inherit}:where(button){cursor:pointer}:where(button,input,select,textarea,a,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}:where(input,select,textarea){border:1px solid var(--border);background:var(--bg);border-radius:8px;min-width:0;padding:10px 12px}:where(input,select){min-height:42px}:where(textarea){resize:vertical;line-height:1.7}:where(input[type=checkbox],input[type=radio]){min-height:auto;accent-color:var(--accent)}:where(input[type=file]){max-width:100%}:where(){color:var(--muted);opacity:.75}:where(button):disabled{cursor:not-allowed;opacity:.46}:where(input,select,textarea):disabled{opacity:.6;cursor:not-allowed}:where(button){border:1px solid var(--border);background:var(--surface-raised);border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:8px 12px;line-height:1.45;display:inline-flex}:where(button:hover:not(:disabled)){background:var(--surface-hover)}:where(h1,h2,h3,h4,p){margin-top:0}:where(h1,h2,h3,h4){font-weight:650;line-height:1.4}:where(a){color:var(--accent);text-underline-offset:3px}:where(small){color:var(--muted)}:where(svg){flex-shrink:0}:where(summary){cursor:pointer}:where(pre,code){font-family:var(--font-mono)}:where(dialog){color:var(--text)}::selection{background:var(--accent-soft);color:var(--text)}:where([hidden]){display:none!important}.button{min-height:42px;padding:9px 16px;font-weight:600}.button--primary{border-color:var(--accent);background:var(--accent);color:var(--accent-ink)}.button--primary:hover:not(:disabled){background:var(--accent-strong);border-color:var(--accent-strong)}.button--secondary{background:var(--surface-raised);color:var(--text)}.button--quiet{color:var(--muted);background:0 0;border-color:#0000}.button--quiet:hover:not(:disabled){color:var(--text)}.button--amber{background:var(--warm);color:var(--accent-ink);border-color:var(--warm)}.button--danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 40%, var(--border));background:0 0}.button--danger:hover:not(:disabled){background:color-mix(in srgb, var(--danger) 10%, var(--surface))}.button--wide{width:100%}.button--small{min-height:36px;padding:6px 10px;font-size:12px}.icon-button{background:0 0;border-color:#0000;flex:none;width:40px;height:40px;padding:0}.icon-button:hover:not(:disabled){background:var(--surface-hover)}.text-button{color:var(--accent);background:0 0;border:0;padding:6px 0}.text-button:hover:not(:disabled){background:0 0;text-decoration:underline}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-only{display:none}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.eyebrow,.register-code{color:var(--accent);letter-spacing:.12em;font-size:12px;font-weight:600}.brand-mark{color:var(--accent);align-items:center;gap:12px;display:inline-flex}.brand-mark span{letter-spacing:.08em;font-size:13px;font-weight:750;line-height:1.05}.world-workbench{background:var(--bg);flex-direction:column;min-height:100dvh;display:flex}.world-workbench.workbench--play{height:100dvh;min-height:0;overflow:hidden}.workbench--play>.world-header,.workbench--play>.notice{flex:none}.workbench--play>.notice{max-height:20dvh;overflow-y:auto}.workbench--play>.workbench-grid{align-items:stretch;min-height:0}.workbench--play .content-desk{min-height:0;overflow:hidden}.workbench--play .process-rail-button{top:calc(var(--app-header-height) + 16px)}.workbench-grid{flex:1;grid-template-columns:minmax(0,1fr);align-items:start;min-width:0;display:grid;position:relative}.world-workbench.nav-open .workbench-grid{grid-template-columns:290px minmax(0,1fr)}.content-desk{min-width:0;min-height:calc(100dvh - var(--app-header-height));flex-direction:column;display:flex}.content-desk>.play-presentation{flex:1}.notice{background:var(--accent-soft);color:var(--text);border-bottom:1px solid var(--border);align-items:flex-start;gap:10px;padding:12px 24px;display:flex;position:relative}.notice>svg{margin-top:3px}.notice>span{overflow-wrap:anywhere;flex:1;min-width:0}.notice>button{background:0 0;border:0;width:24px;min-height:24px;padding:2px}.notice--error{color:var(--danger);background:#281f28}.notice--success{color:var(--success);background:#162b29}.notice--warning,.notice--warn{color:var(--warm);background:#2a281e}.form-error{color:var(--danger);overflow-wrap:anywhere;background:#281f28;border:1px solid #653f48;border-radius:8px;align-items:flex-start;gap:8px;padding:12px;display:flex}.form-error>svg{margin-top:3px}.desk-loading{min-height:240px;color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:32px;display:flex}.system-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:100dvh;padding:40px 24px;display:flex}.system-screen>.brand-mark{margin-bottom:32px}.system-screen h1{margin:0;font-size:clamp(24px,3vw,36px)}.system-screen p{max-width:620px;color:var(--muted);overflow-wrap:anywhere;margin:0}.system-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:12px;display:flex}.create-world-dialog{border:1px solid var(--border);background:var(--surface);border-radius:16px;width:min(560px,100vw - 32px);max-height:calc(100dvh - 40px);padding:28px;box-shadow:0 24px 96px #0008}.create-world-dialog::backdrop{background:#050a12bb}.create-world-dialog h2{margin:0 0 24px;font-size:24px}.auth-shell{grid-template-columns:minmax(0,1.15fr) minmax(400px,.85fr);align-items:stretch;min-height:100dvh;display:grid}.auth-intro{background:var(--surface);flex-direction:column;justify-content:center;padding:clamp(40px,7vw,120px);display:flex;position:relative}.auth-intro .brand-mark{margin-bottom:clamp(48px,8vh,120px)}.auth-intro .eyebrow{margin-bottom:28px}.auth-intro h1{letter-spacing:-.035em;max-width:720px;margin:0 0 28px;font-size:clamp(42px,4.6vw,76px);font-weight:600;line-height:1.3}.auth-intro>p:not(.eyebrow){max-width:430px;color:var(--muted);font-size:16px;line-height:1.9}.auth-principle{border-top:1px solid var(--border);color:var(--accent);align-items:center;gap:14px;max-width:430px;margin-top:64px;padding-top:24px;font-size:13px;display:flex}.auth-panel{align-self:center;width:100%;max-width:620px;margin:auto;padding:clamp(32px,5vw,88px)}.auth-panel h2{margin:0 0 32px;font-size:28px}.auth-panel form{gap:22px;display:grid}.auth-panel form label{gap:8px;display:grid}.auth-panel form input{background:var(--surface);width:100%;min-height:48px}.auth-panel form .button{min-height:48px;margin-top:6px}.auth-panel>.text-button{margin-top:24px}.story-copy{width:100%;min-width:0;color:var(--text);overflow-wrap:anywhere;font-size:20px;line-height:1.95}.story-copy>:first-child{margin-top:0}.story-copy>:last-child{margin-bottom:0}.story-copy p{margin:0 0 1.25em}.story-copy :is(h1,h2,h3,h4,h5,h6){margin:1.6em 0 .7em;font-weight:650;line-height:1.5}.story-copy h1{font-size:1.7em}.story-copy h2{font-size:1.4em}.story-copy h3{font-size:1.15em}.story-copy :is(h4,h5,h6){font-size:1em}.story-copy :is(ul,ol){margin:1em 0;padding-left:1.5em}.story-copy li+li{margin-top:.4em}.story-copy li>p{margin:.4em 0}.story-copy blockquote{border-left:3px solid var(--accent);color:var(--muted);margin:1.4em 0;padding:.4em 0 .4em 1.2em}.story-copy blockquote>:last-child{margin-bottom:0}.story-copy a{color:var(--accent);text-decoration-thickness:.06em}.story-copy code{font-family:var(--font-mono);background:var(--surface-raised);border:1px solid var(--border);border-radius:4px;padding:.12em .3em;font-size:.84em}.story-copy pre{border:1px solid var(--border);background:var(--bg);overscroll-behavior-inline:contain;border-radius:8px;max-width:100%;margin:1.35em 0;padding:1em 1.1em;line-height:1.65;overflow-x:auto}.story-copy pre code{color:inherit;white-space:pre;background:0 0;border:0;padding:0;font-size:.82em}.story-copy table{border-collapse:collapse;overscroll-behavior-inline:contain;width:max-content;max-width:100%;margin:1.35em 0;font-size:.88em;line-height:1.55;display:block;overflow-x:auto}.story-copy :is(th,td){border:1px solid var(--border);text-align:left;vertical-align:top;min-width:8rem;padding:.6em .75em}.story-copy th{background:var(--surface-raised);font-weight:650}.story-copy tr:nth-child(2n) td{background:color-mix(in srgb, var(--surface-raised) 50%, transparent)}.story-copy hr{border:0;border-top:1px solid var(--border);width:42%;margin:2em auto}.story-copy img{border-radius:8px;max-width:100%;height:auto;margin:1.35em auto;display:block}.story-copy input[type=checkbox]{width:16px;height:16px;margin-inline:0 .45em}@media (width<=980px){:root{--app-header-height:144px}.world-workbench.nav-open .workbench-grid{grid-template-columns:minmax(0,1fr)}.mobile-only{display:inline-flex}.auth-shell{grid-template-columns:1fr}.auth-intro{padding:36px}.auth-intro .brand-mark{margin-bottom:40px}.auth-intro h1{font-size:42px}.auth-intro>p:not(.eyebrow),.auth-principle{display:none}.auth-panel{max-width:560px;padding:36px}}@media (width<=600px){.notice{padding:12px 16px;font-size:13px}.story-copy{font-size:18px;line-height:1.9}.auth-intro{padding:28px 24px}.auth-intro .brand-mark{margin-bottom:30px}.auth-intro .eyebrow{display:none}.auth-intro h1{margin-bottom:4px;font-size:36px}.auth-panel{padding:32px 24px}.auth-panel h2{margin-bottom:24px;font-size:24px}.create-world-dialog{padding:22px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:where(*){scrollbar-width:thin;scrollbar-color:#94b1c547 transparent}:where(:hover){scrollbar-color:#94b1c599 transparent}@supports selector(::-webkit-scrollbar){:where(*){scrollbar-width:auto;scrollbar-color:auto}:where(*)::-webkit-scrollbar{width:5px;height:5px}:where(*)::-webkit-scrollbar-track{background:0 0}:where(*)::-webkit-scrollbar-corner{background:0 0}:where(*)::-webkit-scrollbar-thumb{background:#94b1c547;border-radius:8px}:where(*)::-webkit-scrollbar-thumb:hover{background:#94b1c599}:where(*)::-webkit-scrollbar-thumb:active{background:#94b1c5cc}}@media (forced-colors:active){:where(*){scrollbar-color:auto}:where(*)::-webkit-scrollbar-thumb{background:canvastext}:where(*)::-webkit-scrollbar-thumb:hover{background:canvastext}:where(*)::-webkit-scrollbar-thumb:active{background:canvastext}}
