.examples-gallery *{box-sizing:border-box}.examples-gallery{scroll-padding-top:24px;margin:0;background:var(--canvas);color:var(--ink);font:15px/1.6 var(--font-sans);-webkit-font-smoothing:antialiased}.examples-gallery button,.examples-gallery textarea{font:inherit}.examples-gallery a,.examples-gallery button,.examples-gallery summary{-webkit-tap-highlight-color:transparent}.examples-gallery button{cursor:pointer;color:inherit}.examples-gallery a{color:inherit;text-decoration:none}.examples-gallery svg{width:18px;height:18px;flex-shrink:0}.examples-gallery h1,.examples-gallery h2,.examples-gallery h3,.examples-gallery p{margin:0}.examples-gallery a:focus-visible,.examples-gallery button:focus-visible,.examples-gallery summary:focus-visible,.examples-gallery textarea:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.examples-gallery ::selection{background:var(--accent);color:var(--on-accent)}.examples-gallery [hidden]{display:none!important}.examples-gallery [data-language=en] [data-locale=zh],.examples-gallery [data-language=zh] [data-locale=en]{display:none}.examples-gallery .shell{max-width:1496px;margin:auto;padding:0 40px}.examples-gallery .skip{position:absolute;left:20px;top:-80px;z-index:9;background:var(--ink);color:var(--canvas);padding:12px}.examples-gallery .skip:focus{top:10px}.examples-gallery .site-header{border-bottom:1px solid var(--line);background:var(--paper)}.examples-gallery .header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.examples-gallery .brand{display:inline-flex;align-items:center;gap:8px;font-size:23px;font-weight:650;letter-spacing:-.035em}.examples-gallery .brand>span{color:var(--accent);margin-left:-7px}.examples-gallery .brand img{object-fit:contain}.examples-gallery .header-actions,.examples-gallery .language{display:flex;align-items:center;gap:4px}.examples-gallery .header-actions{gap:16px}.examples-gallery .language button{background:none;border:0;min-width:42px;min-height:42px;border-radius:7px;font-size:12px;color:var(--muted)}.examples-gallery .language button[aria-pressed=true]{background:var(--surface-hover);color:var(--ink)}.examples-gallery .header-divider{height:20px;width:1px;background:var(--line)}.examples-gallery .example-theme-toggle{display:inline-flex;align-items:center;gap:8px;min-width:76px;min-height:42px;border:0;border-radius:7px;background:none;color:var(--muted);font-size:13px;padding:8px}.examples-gallery .example-theme-toggle:hover{background:var(--surface-hover);color:var(--ink)}.examples-gallery .example-theme-toggle>span:first-child,.examples-gallery .example-theme-toggle>span:nth-child(2){display:flex}.examples-gallery [data-theme=dark] .example-theme-toggle>.moon,.examples-gallery [data-theme=light] .example-theme-toggle>.sun{display:none}.examples-gallery .intro{padding:53px 0 38px}.examples-gallery .intro h1{font-size:clamp(29px,3vw,43px);line-height:1.3;font-weight:600;letter-spacing:-.035em;text-wrap:balance}.examples-gallery .intro p{margin-top:15px;color:var(--muted);max-width:74ch;font-size:15px}.examples-gallery .gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:27px}.examples-gallery .filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.examples-gallery .filter{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:100px;min-height:43px;padding:9px 17px;background:none;color:var(--muted);font-size:13px;line-height:1.5;white-space:nowrap}.examples-gallery .filter:hover{background:var(--surface-hover);color:var(--ink)}.examples-gallery .filter[aria-pressed=true]{background:var(--ink);color:var(--canvas);border-color:var(--ink)}.examples-gallery .count{font-size:11px;font-variant-numeric:tabular-nums;opacity:.8}.examples-gallery .result-count{color:var(--muted);font-size:12px;white-space:nowrap}.examples-gallery .gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}.examples-gallery .scene{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:15px;transition:box-shadow .24s ease,border-color .24s ease;position:relative}.examples-gallery .scene:focus-within,.examples-gallery .scene:hover{border-color:rgba(var(--card-rgb),.7);box-shadow:0 12px 38px rgba(var(--card-rgb),.16),0 3px 12px #00000012}.examples-gallery .preview{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1.55;overflow:hidden;border-radius:14px 14px 0 0;background:var(--canvas);border-bottom:1px solid var(--line);padding:16px}.examples-gallery .preview img{display:block;width:100%;height:100%;object-fit:contain}.examples-gallery .preview-open{position:absolute;right:14px;bottom:13px;display:inline-flex;gap:8px;align-items:center;min-height:34px;padding:6px 11px;border-radius:6px;background:var(--paper);box-shadow:0 3px 14px #00000018;font-size:11px;opacity:0;transition:opacity .18s ease;pointer-events:none}.examples-gallery .scene:focus-within .preview-open,.examples-gallery .scene:hover .preview-open{opacity:1}.examples-gallery .card-content{padding:23px 24px 0}.examples-gallery .scene-type{color:var(--muted);font-size:11px;display:flex;align-items:center;gap:7px;margin-bottom:10px}.examples-gallery .type-dot{width:6px;height:6px;border-radius:50%;background:rgb(var(--card-rgb));flex-shrink:0}.examples-gallery .card-content h2{font-size:21px;line-height:1.35;letter-spacing:-.025em;font-weight:600;min-height:2.7em;text-wrap:balance}.examples-gallery .benefit{font-size:13px;line-height:1.75;color:var(--muted);min-height:3.5em;margin-top:10px}.examples-gallery .card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}.examples-gallery .copy,.examples-gallery .open-link{min-height:44px;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:550;line-height:1.4}.examples-gallery .open-link:hover{color:var(--accent)}.examples-gallery .copy{border:1px solid var(--line);border-radius:7px;background:none;padding:9px 12px;color:var(--muted)}.examples-gallery .copy:hover{border-color:var(--line-strong);background:var(--surface-hover);color:var(--ink)}.examples-gallery .copy svg{width:15px;height:15px}.examples-gallery .more{border-top:1px solid var(--line)}.examples-gallery .more>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:var(--muted);font-size:11px;min-height:43px;list-style:none}.examples-gallery .more>summary::-webkit-details-marker{display:none}.examples-gallery .more>summary svg{width:14px;height:14px;transition:transform .18s ease}.examples-gallery .more[open]>summary svg{transform:rotate(180deg)}.examples-gallery .more-body{padding:12px 0 23px;font-size:13px;line-height:1.75}.examples-gallery .more-body h3{font-weight:550;font-size:15px;line-height:1.6}.examples-gallery .more-body ul{padding-left:17px;margin:15px 0}.examples-gallery .more-body li{margin:8px 0}.examples-gallery .provenance{font-size:12px;color:var(--muted);margin:18px 0}.examples-gallery .prompt-label{display:block;margin:22px 0 7px;font-size:12px;font-weight:550}.examples-gallery .more textarea{display:block;width:100%;min-height:175px;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--canvas);color:var(--ink);font-size:12px;line-height:1.7}.examples-gallery .file-label{margin-top:19px;color:var(--muted);font-size:11px}.examples-gallery .files{display:flex;flex-wrap:wrap;gap:6px 19px;margin-top:5px}.examples-gallery .files a{min-height:36px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px;font-size:12px}.examples-gallery .files a:hover{color:var(--accent)}.examples-gallery footer{margin-top:54px;padding:28px 0 42px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.examples-gallery footer>p{color:var(--ink);font-size:14px;margin-bottom:12px}.examples-gallery footer details{max-width:78ch}.examples-gallery footer summary{cursor:pointer;min-height:32px;display:list-item}.examples-gallery footer details p{margin:12px 0}.examples-gallery footer a{text-decoration:underline;text-underline-offset:4px}.examples-gallery .toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;background:var(--ink);color:var(--canvas);border-radius:9px;padding:12px 18px;font-size:13px;box-shadow:var(--shadow-dialog);z-index:5;pointer-events:none}.examples-gallery .toast:empty{display:none}@media(min-width:1250px){.examples-gallery .card-content h2{min-height:1.35em}.examples-gallery .preview{aspect-ratio:1.65}}@media(max-width:1000px){.examples-gallery .shell{padding:0 26px}.examples-gallery .intro{padding:40px 0 30px}.examples-gallery .gallery{gap:22px}.examples-gallery .card-content{padding:20px 20px 0}.examples-gallery .card-content h2{font-size:19px}.examples-gallery .preview{padding:10px;aspect-ratio:1.45}.examples-gallery .filter{padding:9px 14px}.examples-gallery .result-count{display:none}.examples-gallery .card-actions{gap:8px}.examples-gallery .copy{padding:9px}.examples-gallery .copy svg{display:none}}@media(max-width:700px){.examples-gallery .shell{padding:0 18px}.examples-gallery .header-inner{min-height:68px}.examples-gallery .brand{font-size:21px}.examples-gallery .brand img{width:26px;height:26px}.examples-gallery .header-actions{gap:7px}.examples-gallery .header-divider{display:none}.examples-gallery .language button{min-width:37px}.examples-gallery .example-theme-toggle{min-width:64px;gap:6px}.examples-gallery .intro{padding:32px 0 25px}.examples-gallery .intro h1{font-size:29px;max-width:15em}.examples-gallery .intro p{font-size:14px;line-height:1.8}.examples-gallery .gallery-toolbar{padding-bottom:22px}.examples-gallery .filters{gap:7px}.examples-gallery .filter{min-height:44px;padding:8px 12px;font-size:12px;gap:8px}.examples-gallery .gallery{grid-template-columns:1fr;gap:24px}.examples-gallery .preview{aspect-ratio:1.4;padding:12px}.examples-gallery .card-content{padding:21px 21px 0}.examples-gallery .card-content h2{font-size:21px;min-height:0}.examples-gallery .benefit{min-height:0;font-size:13px}.examples-gallery .card-actions{margin-top:15px}.examples-gallery .copy svg{display:block}.examples-gallery .copy,.examples-gallery .open-link{font-size:12px}.examples-gallery .more>summary{min-height:44px}.examples-gallery .result-count{display:none}.examples-gallery footer{margin-top:36px}.examples-gallery .preview-open{display:none}}@media(prefers-reduced-motion:reduce){.examples-gallery *,.examples-gallery :after,.examples-gallery :before{transition:none!important;scroll-behavior:auto!important}}@media print{.examples-gallery .card-actions,.examples-gallery .gallery-toolbar,.examples-gallery .header-actions,.examples-gallery .more,.examples-gallery .toast{display:none}.examples-gallery .gallery{grid-template-columns:1fr}.examples-gallery .scene{break-inside:avoid;box-shadow:none}.examples-gallery .preview{aspect-ratio:auto}.examples-gallery .preview img{height:auto}}.examples-gallery .brand-context{display:flex;align-items:center;gap:17px;min-width:0}.examples-gallery .page-identity{border-left:1px solid var(--line);padding-left:17px;color:var(--muted);font-size:14px;white-space:nowrap}.examples-gallery .collection-toolbar{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:28px}.examples-gallery .collection-heading{font-size:17px;font-weight:550;line-height:1.4}.examples-gallery .collection-toolbar .result-count{display:block}.examples-gallery .diagram-filters{padding-bottom:26px}.examples-gallery .scene{scroll-margin-top:24px}.examples-gallery .scene-context{margin:0}.examples-gallery .scene-context dt{font-weight:550;margin-top:18px}.examples-gallery .scene-context dt:first-child{margin-top:0}.examples-gallery .scene-context dd{margin:5px 0 0;color:var(--muted)}@media(max-width:700px){.examples-gallery .header-inner{gap:12px;min-height:82px}.examples-gallery .brand-context{flex-direction:column;align-items:flex-start;gap:1px}.examples-gallery .page-identity{border:0;padding-left:34px;font-size:12px}.examples-gallery .collection-toolbar{margin-bottom:22px;padding-bottom:16px}.examples-gallery .collection-heading{font-size:16px}.examples-gallery .diagram-filters{padding-bottom:22px}}.examples-gallery{min-height:100dvh}.examples-gallery .brand{padding:0}.examples-gallery .preview img{font-size:13px}.examples-gallery textarea{font-family:inherit}.examples-gallery .use-example{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 13px;border-radius:7px;background:var(--accent);color:var(--on-accent);font-size:12px;font-weight:600;line-height:1.4}.examples-gallery .use-example:hover{filter:brightness(1.08)}.examples-gallery .card-actions{flex-wrap:wrap}.example-app{height:100dvh;display:flex;flex-direction:column;min-height:0}.example-header{height:62px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 28px;border-bottom:1px solid var(--line);background:var(--paper)}.example-back,.example-preferences{display:flex;align-items:center;gap:10px}.example-back{font-size:13px;color:var(--muted);min-height:44px}.example-back:hover{color:var(--ink)}.example-brand{font-size:22px;font-weight:650;letter-spacing:-.7px}.example-brand span{color:var(--accent)}.example-preferences>button{min-height:42px;min-width:42px;border-radius:8px}.example-icon-button:hover,.example-preferences>button:hover{background:var(--surface-hover)}.example-icon-button{width:40px;height:40px;display:grid;place-items:center;border-radius:8px;flex:none}.example-titlebar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 28px 12px;background:var(--paper)}.example-titlebar>div{min-width:0}.example-titlebar h1{font-size:clamp(20px,2vw,27px);font-weight:620;letter-spacing:-.5px;line-height:1.25}.example-titlebar p{color:var(--muted);margin-top:8px;font-size:13px;line-height:1.55;max-width:85ch}.example-prompt-toggle{white-space:nowrap;flex:none;gap:10px;min-height:42px}.example-notice{background:var(--paper);padding:0 28px 16px;color:var(--muted);font-size:11px;line-height:1.5;border-bottom:1px solid var(--line)}.example-workspace{display:flex}.example-map,.example-workspace{position:relative;min-height:0;flex:1;overflow:hidden}.example-map{min-width:0}.example-map>.dungeon-map{height:100%}.example-map .dungeon-map-stage,.example-map .route-canvas{min-height:0}.example-map .stage-marker:disabled{opacity:1;cursor:default}.example-map .react-flow__node{cursor:pointer}.example-map .dungeon-overview{height:100%;overflow:auto}.example-map .map-instruction{pointer-events:none}.example-inspector{width:min(390px,35vw);min-width:310px;flex:none;display:flex;flex-direction:column;background:var(--paper);border-left:1px solid var(--line);min-height:0;z-index:7}.example-inspector-top{padding:12px 18px;min-height:62px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.example-inspector-top>span{font-size:13px;font-weight:550}.example-inspector-top h2{font-size:18px;font-weight:600}.example-inspector-scroll{padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0;line-height:1.65}.example-inspector h2{font-size:23px;line-height:1.3;margin-top:12px;letter-spacing:-.4px}.example-chapter-name{font-size:12px;color:var(--accent);margin-top:10px}.example-task-purpose{margin-top:20px;font-size:14px}.example-owner{display:flex;align-items:center;gap:7px;margin-top:16px;color:var(--muted);font-size:12px}.example-note{margin-top:18px;padding:12px 14px;background:var(--dungeon-deferred-fill);color:var(--dungeon-deferred);border-radius:8px;font-size:12px}.example-inspector .detail-section{padding:22px 0;margin:0;border-bottom:1px solid var(--line)}.example-inspector .detail-section h3{margin:0 0 12px;font-size:13px;font-weight:600}.example-inspector .detail-section h3 span{font-size:11px;color:var(--muted);font-weight:400}.example-inspector .detail-section p{line-height:1.65;font-size:13px}.example-acceptance{margin:0;padding-left:18px;font-size:13px}.example-acceptance li+li{margin-top:8px}.example-related{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:10px 0;font-size:12px;min-height:44px;color:var(--ink)}.example-related>span{flex:1;min-width:0}.example-related .dungeon-task-status{font-size:10px;flex:none}.example-related:hover{color:var(--accent);background:var(--surface-hover)}.example-prompt{position:absolute;inset:12px 16px auto auto;width:min(470px,calc(100% - 32px));max-height:calc(100% - 24px);display:flex;flex-direction:column;z-index:12;background:var(--paper);box-shadow:var(--shadow-dialog);border-radius:12px;overflow:hidden}.example-prompt-body{padding:22px;overflow:auto;overscroll-behavior:contain;font-size:13px;line-height:1.6}.example-prompt-body>p{color:var(--muted)}.example-prompt dl{margin:20px 0}.example-prompt dt{font-weight:600;margin-top:16px}.example-prompt dd{margin:5px 0 0;color:var(--muted)}.example-prompt label{display:block;font-weight:550;margin-bottom:10px}.example-prompt textarea{width:100%;resize:vertical;min-height:150px;max-height:300px;background:var(--canvas);color:var(--ink);border:1px solid var(--line-strong);border-radius:8px;padding:12px;font-size:12px;line-height:1.65}.example-prompt .button{margin-top:14px;gap:8px;min-height:42px}.example-copy-status{margin-top:12px;font-size:11px;line-height:1.6}.example-failure{max-width:650px;margin:12vh auto;padding:30px;line-height:1.6}.example-failure h1{font-size:30px}.example-failure p{margin:18px 0;color:var(--muted)}.example-failure>div{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:760px){.example-header{padding:0 16px;height:56px;gap:12px}.example-brand{font-size:20px}.example-titlebar{padding:16px 16px 10px;align-items:flex-start;gap:12px}.example-titlebar h1{font-size:20px}.example-titlebar p{font-size:12px;max-width:54ch}.example-prompt-toggle{padding:8px 10px;font-size:11px;white-space:normal;max-width:130px}.example-notice{padding:0 16px 12px;font-size:10px}.example-inspector{position:absolute;right:10px;top:10px;bottom:10px;width:min(360px,calc(100% - 20px));min-width:0;border-left:0;border-radius:12px;box-shadow:var(--shadow-dialog)}.example-inspector-scroll{padding:20px}.example-prompt{inset:10px 10px auto;width:calc(100% - 20px);max-height:calc(100% - 20px)}.example-map .map-legend{max-width:calc(100% - 24px);flex-wrap:wrap}.example-back{font-size:12px}.example-map .dungeon-map-route-note{display:none}}@media(max-width:430px){.example-titlebar{flex-wrap:wrap}.example-prompt-toggle{max-width:none;min-height:34px;padding:5px 10px}.example-titlebar p{margin-top:6px}.example-notice{padding-bottom:8px}.example-map .dungeon-map-bar{gap:6px}.example-map .dungeon-map-bar select{max-width:170px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important}}