:root{--at-bg: #1a1520;--at-bg-soft: #221b2c;--at-card: rgba(35, 28, 48, .85);--at-card-hover: rgba(48, 40, 60, .9);--at-gold: #f5c31c;--at-gold-bright: #ffe460;--at-cyan: #3cd3fc;--at-text: #f0e8d8;--at-text-dim: rgba(240, 232, 216, .65);--at-text-faint: rgba(240, 232, 216, .35);--at-border: rgba(240, 232, 216, .15);--at-border-gold: rgba(245, 195, 28, .5);--at-glow-gold: 0 0 12px rgba(245, 195, 28, .3), 0 0 24px rgba(245, 195, 28, .1);--at-font-display: Georgia, "Times New Roman", "Noto Serif SC", serif;--at-font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", -apple-system, sans-serif}:root{font-family:var(--at-font-body);line-height:1.5;font-weight:400;color:var(--at-text);background-color:var(--at-bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(1200px 600px at 85% -10%,rgba(60,211,252,.08),transparent 60%),radial-gradient(1000px 700px at 0% 110%,rgba(245,195,28,.07),transparent 55%),var(--at-bg)}#root{min-height:100vh}.at-shell{max-width:1080px;margin:0 auto;padding:28px 24px 40px;min-height:100vh;display:flex;flex-direction:column}.at-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--at-border)}.at-brand{display:flex;align-items:baseline;gap:10px}.at-brand-glyph{color:var(--at-gold);text-shadow:var(--at-glow-gold);font-size:22px}.at-brand-title{margin:0;font-family:var(--at-font-display);font-size:26px;letter-spacing:2px;color:var(--at-text)}.at-main{flex:1;display:flex;flex-direction:column;padding-top:36px}.at-slogan{margin:0 0 22px;color:var(--at-text-dim);font-size:14px;letter-spacing:1px}.at-tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.at-tool-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px 20px;min-height:168px;text-align:left;font-family:inherit;color:var(--at-text);background:var(--at-card);border:1px solid var(--at-border);border-radius:16px;cursor:pointer;transition:border-color .2s ease,background .2s ease,box-shadow .25s ease,transform .2s ease}.at-tool-card:hover{background:var(--at-card-hover);border-color:var(--at-border-gold);box-shadow:var(--at-glow-gold);transform:translateY(-2px)}.at-tool-card-slot{cursor:default;opacity:.55;border-style:dashed}.at-tool-card-slot:hover{transform:none;box-shadow:none;border-color:var(--at-border);background:var(--at-card)}.at-tool-icon{font-size:30px;line-height:1}.at-tool-name{font-family:var(--at-font-display);font-size:19px;letter-spacing:1px;color:var(--at-gold-bright)}.at-tool-desc{font-size:12.5px;line-height:1.7;color:var(--at-text-dim)}.at-tool-enter{margin-top:auto;font-size:12.5px;color:var(--at-cyan)}.at-tool-enter-muted{color:var(--at-text-faint)}.at-footer{margin-top:40px;padding-top:14px;border-top:1px solid var(--at-border);color:var(--at-text-faint);font-size:11.5px;letter-spacing:.5px}.app-layout{min-height:100vh;background:linear-gradient(180deg,#c9bfb0,#b8ab9a)}.app-header-lang-btn.active{color:#f0e6d4;border-color:#b55233;background:#b5523333}.image-stash-mode-btn.active{color:#1a1612!important;background:#b5523366}.image-stash-mode-btn:hover:not(.active){color:#b55233}.map-stitch-fullscreen{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;min-width:0;min-height:0;color:#241f19;background:linear-gradient(180deg,#f4eee5f5,#dad0c2fa),repeating-conic-gradient(#d9d0c2 0% 25%,#eee7dc 0% 50%) 50% / 24px 24px}.map-stitch-float-actions{position:fixed;right:18px;top:62px;z-index:2002;display:flex;flex-direction:column;align-items:stretch;gap:10px;max-height:calc(100vh - 80px);overflow-y:auto}.map-stitch-generate-float.ant-btn{height:44px;padding:0 18px;font-size:15px;font-weight:800;border-radius:8px;box-shadow:0 10px 28px #28201847}.map-stitch-toolbar-hint{font-size:12px;white-space:nowrap}.map-stitch-overlap-control{width:190px;min-width:190px}.map-stitch-split-control{width:124px;min-width:124px}.map-stitch-split-control .ant-select{width:100%}.map-stitch-split-popup{z-index:2105}.map-stitch-overlap-control .ant-typography,.map-stitch-split-control .ant-typography{display:block;margin-bottom:2px;font-size:12px;font-weight:700}.map-stitch-overlap-control .ant-slider{margin:4px 6px 0}.map-stitch-empty{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}.map-stitch-empty>.anticon{font-size:52px;color:#b55233}.map-stitch-empty h3{margin:0}.map-stitch-workspace{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:24px;cursor:default;-webkit-user-select:none;user-select:none}.map-stitch-stage-shell{position:relative;flex:0 0 auto;will-change:transform}.map-stitch-stage{position:absolute;left:0;top:0;transform-origin:top left}.map-stitch-source-frame,.map-stitch-neighbor-frame{position:absolute;box-sizing:border-box;overflow:hidden;border:0;border-radius:4px}.map-stitch-source-frame{outline:3px solid #23704a;background:repeating-conic-gradient(#cbd5c2 0% 25%,#ecf1e8 0% 50%) 50% / 16px 16px;box-shadow:0 0 0 5px #2f7d4d29,0 10px 30px #231c142e}.map-stitch-source-frame img,.map-stitch-neighbor-frame img{position:absolute;left:0;top:0;width:100%;height:100%;display:block;object-fit:fill;image-rendering:pixelated}.map-stitch-neighbor-frame{--tile-accent: #b55233;--tile-accent-soft: rgba(181, 82, 51, .18);--tile-accent-wash: rgba(181, 82, 51, .28);padding:0;color:#3d3428;background:linear-gradient(var(--tile-accent-wash),var(--tile-accent-soft)),repeating-linear-gradient(135deg,rgba(255,255,255,.28) 0 10px,transparent 10px 20px),repeating-conic-gradient(#ffffffbd 0% 25%,#9a8b7852 0% 50%) 50% / 18px 18px;outline:4px solid var(--tile-accent);cursor:pointer;box-shadow:inset 0 0 0 3px #ffffff59,0 8px 28px #231c1426}.map-stitch-neighbor-uploaded{background:transparent}.map-stitch-neighbor-frame:hover,.map-stitch-neighbor-frame.selected{outline-color:var(--tile-accent);box-shadow:inset 0 0 0 9999px #ffffff1a,inset 0 0 0 4px #ffffff8c,0 0 0 8px color-mix(in srgb,var(--tile-accent) 30%,transparent),0 12px 32px #231c143d;filter:saturate(1.12)}.map-stitch-stage-hide-borders .map-stitch-source-frame,.map-stitch-stage-hide-borders .map-stitch-neighbor-frame,.map-stitch-stage-hide-borders .map-stitch-neighbor-frame:hover,.map-stitch-stage-hide-borders .map-stitch-neighbor-frame.selected{outline-color:transparent;box-shadow:none;filter:none}.map-stitch-tile-image-hidden img{opacity:0}.map-stitch-stage-hide-cards .map-stitch-frame-label,.map-stitch-stage-hide-cards .map-stitch-frame-actions,.map-stitch-stage-hide-cards .map-stitch-source-actions{display:none}.map-stitch-stage-hide-cards .map-stitch-neighbor-frame:not(.map-stitch-neighbor-uploaded){background:transparent}.map-stitch-source-frame.selected .map-stitch-frame-label,.map-stitch-neighbor-frame.selected .map-stitch-frame-label,.map-stitch-stage-drawing .map-stitch-frame-label,.map-stitch-stage-drawing .map-stitch-frame-actions,.map-stitch-stage-drawing .map-stitch-source-actions{display:none}.map-stitch-frame-label,.map-stitch-frame-actions{position:absolute;left:50%;top:50%;display:flex;transform:translate(-50%,-50%)}.map-stitch-frame-label{flex-direction:column;align-items:center;gap:8px;width:160px;max-width:none;padding:12px 14px;color:#3d3428;font-size:18px;font-weight:800;line-height:1.25;text-align:center;background:#f8f4edeb;border:2px solid var(--tile-accent);border-radius:6px;box-shadow:0 6px 18px #231c142e;transform-origin:center center}.map-stitch-frame-label small{color:#6b5d4d;font-size:10px;font-weight:600}.map-stitch-frame-label strong{display:inline-flex;align-items:center;justify-content:center;width:118px;min-height:32px;padding:6px 10px;color:#fffaf0;font-size:16px;font-weight:800;line-height:1;background:var(--tile-accent);border-radius:6px}.map-stitch-frame-actions{position:absolute;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(102px,1fr));gap:10px;min-width:236px;max-width:360px;padding:12px 14px;background:#f8f4edf5;border:3px solid var(--tile-accent);border-radius:8px;box-shadow:0 14px 34px #2820184d;transform-origin:center center}.map-stitch-frame-actions-wide{min-width:330px;padding-bottom:50px}.map-stitch-neighbor-frame.selected .map-stitch-frame-label{display:none}.map-stitch-action-btn.ant-btn{min-width:102px;height:40px;font-size:15px;font-weight:700;border-radius:8px}.map-stitch-action-btn.ant-btn .anticon{font-size:16px}.map-stitch-unload-btn.ant-btn{position:absolute;right:12px;bottom:12px;z-index:3;min-width:104px;height:30px;padding:0 10px;font-size:12px;font-weight:800;border-radius:6px}.map-stitch-feather-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:center}.map-stitch-feather-cell{position:relative;min-width:0}.map-stitch-feather-btn.ant-btn{min-width:0;width:100%;height:32px;padding:0 6px;font-size:12px;font-weight:700;border-radius:6px}.map-stitch-feather-top{grid-column:2;grid-row:1}.map-stitch-feather-left{grid-column:1;grid-row:2}.map-stitch-feather-border-toggle.ant-btn{grid-column:2;grid-row:2;min-width:0;height:32px;padding:0 8px;font-size:12px;font-weight:800;border-radius:6px}.map-stitch-feather-right{grid-column:3;grid-row:2}.map-stitch-feather-bottom{grid-column:2;grid-row:3}.map-stitch-feather-image-toggle.ant-btn{position:absolute;left:-7px;bottom:-7px;z-index:2;width:20px;min-width:20px;height:20px;padding:0;font-size:10px;border-radius:6px;box-shadow:0 2px 6px #28201847}.map-stitch-feather-image-toggle.ant-btn .anticon{font-size:11px}@media(max-width:720px){.map-stitch-overlap-control{width:min(190px,100%);min-width:160px}.map-stitch-split-control{width:min(160px,100%);min-width:124px}.map-stitch-workspace{padding:12px}}.map-stitch-layer-switch,.map-stitch-concurrency-switch,.map-stitch-mask-toolbar,.map-stitch-float-status{background:#181a22eb;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 10px;width:248px;color:#e0e0e0;box-shadow:0 8px 24px #00000059;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-stitch-layer-switch>.ant-typography,.map-stitch-concurrency-switch>.ant-typography,.map-stitch-mask-toolbar>.ant-typography{display:block;font-size:11px;color:#aaa;margin-bottom:6px}.map-stitch-layer-switch{width:136px;padding:8px 6px 10px;border:1px solid rgba(154,139,120,.45);border-radius:8px;background:#ede6dcf0;box-shadow:0 8px 20px #2820181f;color:#241f19;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-stitch-layer-switch>.ant-typography{display:block;margin-bottom:6px;font-size:12px;font-weight:800;text-align:center;color:#3d3428}.map-stitch-layer-switch .ant-segmented{width:100%}.map-stitch-layer-switch .ant-segmented-item-label{min-height:26px;padding:0 2px;font-size:11px;font-weight:800;line-height:26px;white-space:nowrap}.map-stitch-concurrency-switch,.map-stitch-mask-toolbar{width:136px;padding:8px 6px 10px;border:1px solid rgba(154,139,120,.45);border-radius:8px;background:#ede6dcf0;box-shadow:0 8px 20px #2820181f;color:#241f19;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-stitch-concurrency-switch>.ant-typography,.map-stitch-mask-toolbar>.ant-typography{display:block;margin-bottom:6px;font-size:12px;font-weight:800;text-align:center;color:#3d3428}.map-stitch-concurrency-switch .ant-select{width:100%!important}.map-stitch-layer-segments{display:flex;flex-direction:column;gap:6px}.map-stitch-layer-bw-buttons{display:flex;gap:6px}.map-stitch-mask-toolbar .ant-slider{margin:4px 6px 8px}.map-stitch-mask-canvas{position:absolute;left:0;top:0;width:100%;height:100%;cursor:crosshair;z-index:30;touch-action:none}.map-stitch-float-status{font-size:11px}.map-stitch-auto-expand-active.ant-btn{border-color:#e74c3c!important;box-shadow:0 0 0 3px #e74c3c40,0 10px 28px #28201847!important}.map-stitch-auto-expand-status{border-color:#e74c3c73!important}.map-stitch-source-frame{cursor:pointer}.map-stitch-source-actions{position:absolute;left:50%;top:50%;display:grid;grid-template-columns:repeat(2,minmax(102px,1fr));gap:6px;min-width:236px;max-width:360px;padding:12px 14px;z-index:40;transform-origin:center center;background:#f8f4edf5;border:3px solid #23704a;border-radius:8px;box-shadow:0 14px 34px #2820184d}.map-stitch-drawing-tools{position:fixed;left:18px;top:82px;z-index:2002;display:flex;flex-direction:column;gap:8px;width:180px;padding:8px;border:1px solid rgba(154,139,120,.45);border-radius:8px;background:#ede6dcf0;box-shadow:0 8px 20px #2820181f}.map-stitch-repair-cursor{position:absolute;border:1px dashed #fff;background:#ffffff2e;box-shadow:0 0 0 1px #00000073;pointer-events:none;z-index:60}.map-stitch-repair-frame-canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block;image-rendering:pixelated}.map-stitch-stage-repair .map-stitch-source-actions,.map-stitch-stage-repair .map-stitch-frame-actions{display:none!important}.map-stitch-drawing-tools>.ant-typography:first-child{display:block;margin-bottom:0;font-size:12px;font-weight:800;text-align:center;color:#3d3428}.map-stitch-drawing-target.ant-typography{display:block;overflow:hidden;color:#2f251d;font-size:12px;line-height:1.25;text-align:center;text-overflow:ellipsis;white-space:nowrap}.map-stitch-drawing-layer-buttons{display:flex;flex-direction:column;gap:6px}.map-stitch-drawing-layer-btn.ant-btn,.map-stitch-drawing-done-btn.ant-btn,.map-stitch-drawing-delete-btn.ant-btn{justify-content:space-between;width:100%;height:34px;padding:0 10px;font-size:13px;font-weight:800;border-radius:8px}.map-stitch-drawing-layer-btn small{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:#3e33261f;font-size:11px;line-height:1}.map-stitch-drawing-tools .ant-segmented{width:100%}.map-stitch-drawing-tools .ant-segmented-item-label{min-height:24px;padding:0 2px;font-size:11px;font-weight:800;line-height:24px}.map-stitch-drawing-hint.ant-typography{font-size:11px;line-height:1.35;color:#2f251d}.map-stitch-drawing-overlay{position:absolute;inset:0;z-index:12;pointer-events:none}.map-stitch-drawing-overlay-active{pointer-events:auto;cursor:crosshair}.map-stitch-drawing-overlay-delete{cursor:not-allowed}.map-stitch-drawing-shape,.map-stitch-drawing-draft{vector-effect:non-scaling-stroke;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.map-stitch-drawing-target-frame{fill:none;stroke:#22c55e;stroke-width:4;stroke-dasharray:16 8;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 5px rgba(34,197,94,.75));pointer-events:none}.map-stitch-drawing-shape{fill-opacity:1}.map-stitch-drawing-shape-deletable{cursor:pointer}.map-stitch-drawing-shape-deletable:hover{stroke:#dc2626;stroke-width:3.5;filter:drop-shadow(0 0 4px rgba(255,250,240,.9))}.map-stitch-drawing-overlay-handle{cursor:move}.map-stitch-drawing-shape-dimmed{fill-opacity:.35;stroke-opacity:.4}.map-stitch-drawing-handles{pointer-events:none}.map-stitch-drawing-handle-v{fill:#fffaf0d9;stroke:#282018e6;stroke-width:1.5;pointer-events:none}.map-stitch-drawing-handle-e{fill:#fffaf08c;stroke:#282018b3;stroke-width:1;pointer-events:none}.map-stitch-drawing-handle-hot{fill:#f5c31c;stroke:#1a1520;stroke-width:2}.map-stitch-drawing-draft{stroke-dasharray:8 5;stroke-width:2.5;pointer-events:none}.map-stitch-drawing-point{vector-effect:non-scaling-stroke;stroke:#fffaf0;stroke-width:2;pointer-events:none}.map-stitch-api-tile-busy{position:absolute;left:50%;top:50%;z-index:2500;width:168px;max-width:calc(100% - 20px);padding:14px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;border:2px solid #b55233;border-radius:8px;background:#f5efe6f0;box-shadow:0 10px 28px #28201847;color:#241f19;pointer-events:none;text-align:center}.map-stitch-api-tile-busy strong{font-size:14px;line-height:1.2}.map-stitch-api-tile-busy small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6b5d4d;font-size:11px}.map-stitch-api-style-reference-item{display:flex;flex-direction:column;align-items:center;gap:4px;width:64px;padding:4px;background:#0d1117;border:1px solid #30363d;border-radius:6px;cursor:pointer;color:#c9d1d9}.map-stitch-api-style-reference-item:hover{border-color:#8ab4f8}.map-stitch-api-style-reference-item-selected{border:2px solid #e94560;padding:3px}.map-stitch-api-style-reference-thumb{width:52px;height:52px;overflow:hidden;border-radius:4px;display:block}.map-stitch-api-style-reference-thumb img{width:100%;height:100%;object-fit:cover;display:block}.map-stitch-api-style-reference-name{font-size:10px;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-stitch-settings-seg .ant-segmented{flex-wrap:wrap;height:auto;min-height:24px;max-width:100%}.map-stitch-settings-seg .ant-segmented-item{flex:0 0 auto}.map-stitch-left-controls{position:fixed;left:18px;bottom:112px;z-index:2003;display:flex;flex-direction:column;gap:8px}.map-stitch-left-control-btn.ant-btn{width:42px;height:42px;border-radius:10px;box-shadow:0 8px 24px #0000004d}.map-stitch-help-popover-root{z-index:2600}.map-stitch-help-popover{width:min(340px,calc(100vw - 64px));max-height:var(--map-stitch-help-max, calc(100vh - 120px) );overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;color:#2d251d}.map-stitch-help-popover::-webkit-scrollbar{width:6px}.map-stitch-help-popover::-webkit-scrollbar-thumb{background:#2d251d40;border-radius:3px}.map-stitch-help-popover .ant-typography{display:block;margin-bottom:8px;color:#2d251d}.map-stitch-help-popover ul{margin:0;padding-left:18px}.map-stitch-help-popover li{margin:6px 0;font-size:12px;line-height:1.5;color:#2d251d}.map-stitch-help-swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:middle;box-shadow:inset 0 0 0 1px #00000026}.map-stitch-memory-status{position:fixed;left:18px;bottom:18px;z-index:2002;display:grid;grid-template-columns:auto auto;gap:4px 12px;align-items:baseline;min-width:142px;box-sizing:border-box;padding:10px 12px;border:1px solid rgba(70,86,82,.34);border-radius:8px;background:#f8faf6eb;box-shadow:#28201824 0 8px 22px;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-stitch-memory-status span{color:#52645f;font-size:11px;font-weight:700;line-height:1.2}.map-stitch-memory-status strong{color:#1f2a28;font-size:13px;font-weight:800;line-height:1.2;text-align:right;white-space:nowrap}.map-stitch-memory-status small{grid-column:1 / -1;margin-top:2px;color:#6f4b12;font-size:11px;font-weight:800;line-height:1.2;text-align:center}.map-stitch-fullscreen{color:#f0e8d8;background:linear-gradient(180deg,#14101cf5,#100d16fa),repeating-conic-gradient(#1f1a28 0% 25%,#241d30 0% 50%) 50% / 24px 24px}.map-stitch-empty>.anticon{color:#f5c31c;filter:drop-shadow(0 0 10px rgba(245,195,28,.35))}.map-stitch-generate-float.ant-btn{box-shadow:0 10px 28px #00000080;transition:box-shadow .25s ease,border-color .25s ease,transform .15s ease}.map-stitch-generate-float.ant-btn:hover{border-color:#f5c31c80;box-shadow:0 0 12px #f5c31c47,0 10px 28px #00000080}.map-stitch-source-frame{outline:3px solid #6fd49c;background:repeating-conic-gradient(#241d30 0% 25%,#2c2438 0% 50%) 50% / 16px 16px;box-shadow:0 0 0 5px #6fd49c24,0 10px 30px #00000073}.map-stitch-neighbor-frame{--tile-accent: #f5c31c;--tile-accent-soft: rgba(245, 195, 28, .16);--tile-accent-wash: rgba(245, 195, 28, .26);color:#f0e8d8;background:linear-gradient(var(--tile-accent-wash),var(--tile-accent-soft)),repeating-linear-gradient(135deg,rgba(255,255,255,.08) 0 10px,transparent 10px 20px),repeating-conic-gradient(#f0e8d81a 0% 25%,#483c6052 0% 50%) 50% / 18px 18px;box-shadow:inset 0 0 0 3px #00000059,0 8px 28px #0006}.map-stitch-neighbor-frame:hover,.map-stitch-neighbor-frame.selected{box-shadow:inset 0 0 0 9999px #ffffff0f,inset 0 0 0 4px #fff6,0 0 0 8px color-mix(in srgb,var(--tile-accent) 30%,transparent),0 0 18px #f5c31c40,0 12px 32px #00000080}.map-stitch-frame-label{color:#f0e8d8;background:#231c30f0;box-shadow:0 6px 18px #00000080,0 0 12px #f5c31c1f}.map-stitch-frame-label small{color:#f0e8d8a6}.map-stitch-frame-label strong{color:#241f19}.map-stitch-frame-actions,.map-stitch-source-actions{background:#181420f0;box-shadow:0 14px 34px #0000008c,0 0 12px #f5c31c1a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-stitch-source-actions{border:3px solid #6fd49c}.map-stitch-layer-switch,.map-stitch-concurrency-switch,.map-stitch-mask-toolbar,.map-stitch-float-status{border:1px solid rgba(240,232,216,.15);background:#231c30eb;color:#f0e8d8;box-shadow:0 8px 24px #00000080}.map-stitch-layer-switch,.map-stitch-concurrency-switch,.map-stitch-mask-toolbar{border:1px solid rgba(240,232,216,.15);background:#231c30eb;box-shadow:0 8px 20px #00000080}.map-stitch-layer-switch>.ant-typography,.map-stitch-concurrency-switch>.ant-typography,.map-stitch-mask-toolbar>.ant-typography{color:#f0e8d8}.map-stitch-drawing-tools{border:1px solid rgba(240,232,216,.15);background:#231c30eb;box-shadow:0 8px 20px #00000080;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.map-stitch-drawing-tools>.ant-typography:first-child{color:#ffe460}.map-stitch-drawing-target.ant-typography{color:#f0e8d8d9}.map-stitch-drawing-hint.ant-typography{color:#f0e8d899}.map-stitch-drawing-layer-btn small{background:#f0e8d824}.map-stitch-api-tile-busy{border:2px solid #f5c31c;background:#231c30f0;box-shadow:0 10px 28px #0000008c,0 0 12px #f5c31c26;color:#f0e8d8}.map-stitch-api-tile-busy small{color:#f0e8d8a6}.map-stitch-memory-status{border:1px solid rgba(240,232,216,.15);background:#14101ceb;box-shadow:#00000073 0 8px 22px}.map-stitch-memory-status span{color:#f0e8d8a6}.map-stitch-memory-status strong{color:#f0e8d8}.map-stitch-memory-status small{color:#ffe460}.map-stitch-help-popover{color:#f0e8d8}.map-stitch-help-popover::-webkit-scrollbar-thumb{background:#f0e8d840}.map-stitch-help-popover .ant-typography{color:#ffe460}.map-stitch-help-popover li{color:#f0e8d8}.map-stitch-float-actions.map-stitch-sidebar{top:73px;right:0;bottom:0;width:216px;padding:14px 10px 20px;display:flex;flex-direction:column;gap:16px;align-items:stretch;overflow-y:auto;background:#100d16f5;border-left:1px solid rgba(240,232,216,.15);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);scrollbar-width:thin}.map-stitch-float-actions.map-stitch-sidebar::-webkit-scrollbar{width:6px}.map-stitch-float-actions.map-stitch-sidebar::-webkit-scrollbar-thumb{background:#f0e8d840;border-radius:3px}.map-stitch-side-section{display:flex;flex-direction:column;gap:8px}.map-stitch-side-title{padding-left:2px;font-size:11px;font-weight:800;letter-spacing:2px;color:#f0e8d873}.map-stitch-float-actions.map-stitch-sidebar .map-stitch-generate-float.ant-btn{width:100%;height:40px;padding:0 12px;font-size:14px}.map-stitch-sidebar .map-stitch-layer-switch,.map-stitch-sidebar .map-stitch-concurrency-switch,.map-stitch-sidebar .map-stitch-mask-toolbar{width:100%;padding:0;border:none;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.map-stitch-sidebar .map-stitch-layer-switch>.ant-typography,.map-stitch-sidebar .map-stitch-concurrency-switch>.ant-typography,.map-stitch-sidebar .map-stitch-mask-toolbar>.ant-typography{text-align:left}.map-stitch-export-inputs{display:flex;gap:6px}.map-stitch-export-inputs .map-stitch-export-name-input{flex:1 1 auto;width:auto!important;min-width:0}.map-stitch-export-inputs .ant-input[type=number]{flex:0 0 72px;width:72px!important}.map-stitch-workspace,.map-stitch-empty{margin-right:216px}.map-stitch-side-section.map-stitch-side-footer{margin-top:auto}.map-stitch-sidebar .map-stitch-split-control,.map-stitch-sidebar .map-stitch-overlap-control{width:100%;min-width:0}.auth-modal .ant-modal-content{padding:0;overflow:hidden;background:radial-gradient(420px 200px at 100% 0%,rgba(60,211,252,.1),transparent 60%),radial-gradient(420px 220px at 0% 100%,rgba(245,195,28,.1),transparent 55%),linear-gradient(180deg,#261e33,#1f1929);border:1px solid var(--at-border-gold);border-radius:14px;box-shadow:0 18px 50px #0000008c,var(--at-glow-gold)}.auth-modal .ant-modal-content:before{content:"";display:block;height:2px;background:linear-gradient(90deg,transparent 4%,var(--at-gold) 30%,var(--at-cyan) 70%,transparent 96%);opacity:.85}.auth-modal .ant-modal-close{top:12px;inset-inline-end:12px;color:var(--at-text-faint)}.auth-modal .ant-modal-close:hover{color:var(--at-gold);background:#f5c31c14}.auth-gate-root{padding:26px 26px 20px}.auth-gate-head{text-align:center;margin-bottom:4px}.auth-gate-glyph{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:var(--at-gold);font-size:20px;border:1px solid var(--at-border-gold);background:#f5c31c12;text-shadow:var(--at-glow-gold);box-shadow:inset 0 0 12px #f5c31c1f}.auth-gate-title{margin:10px 0 4px;font-family:var(--at-font-display);font-size:19px;letter-spacing:2px;color:var(--at-text)}.auth-gate-sub{margin:0;font-size:12px;letter-spacing:.5px;color:var(--at-text-dim)}.auth-gate-root .ant-tabs{margin-top:12px}.auth-gate-root .ant-tabs-tab{padding:10px 4px 12px;font-size:15px}.auth-gate-root .ant-tabs-tab-btn{color:var(--at-text-dim)!important}.auth-gate-root .ant-tabs-tab:hover .ant-tabs-tab-btn{color:var(--at-text)!important}.auth-gate-root .ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--at-gold)!important}.auth-gate-root .ant-tabs-ink-bar{height:2px;border-radius:2px;background:linear-gradient(90deg,var(--at-gold),var(--at-gold-bright));box-shadow:var(--at-glow-gold)}.auth-gate-root .ant-tabs-nav:before{border-bottom-color:var(--at-border)!important}.auth-gate-root .ant-input-affix-wrapper{background:#140f1c8c!important;border-color:var(--at-border)!important;border-radius:10px}.auth-gate-root .ant-input-affix-wrapper>input.ant-input{background:transparent}.auth-gate-root .ant-input-affix-wrapper:hover{border-color:var(--at-border-gold)!important}.auth-gate-root .ant-input-affix-wrapper:focus-within,.auth-gate-root .ant-input-affix-wrapper-focused{border-color:var(--at-gold)!important;box-shadow:0 0 0 2px #f5c31c26!important}.auth-gate-root .ant-input-prefix .anticon{color:var(--at-cyan);opacity:.85}.auth-gate-root input:-webkit-autofill,.auth-gate-root input:-webkit-autofill:hover,.auth-gate-root input:-webkit-autofill:focus{-webkit-text-fill-color:var(--at-text);caret-color:var(--at-text);border-radius:10px;box-shadow:0 0 0 1000px #1d1726 inset;transition:background-color 9999s ease-out}.auth-gate-root .ant-form-item{margin-bottom:18px}.auth-gate-root .ant-btn-primary{height:42px;margin-top:4px;font-size:15px;font-weight:600;letter-spacing:5px;text-indent:5px;color:#241b08;border:none;background:linear-gradient(180deg,var(--at-gold-bright),var(--at-gold) 55%,#d9a900);box-shadow:0 4px 14px #f5c31c59,inset 0 1px #ffffff59}.auth-gate-root .ant-btn-primary:hover{color:#241b08;background:linear-gradient(180deg,#fff0a0,var(--at-gold-bright) 55%,var(--at-gold));box-shadow:0 6px 18px #f5c31c73,inset 0 1px #fff6}.auth-gate-root .ant-btn-primary:active{transform:translateY(1px);box-shadow:0 2px 8px #f5c31c4d,inset 0 1px #ffffff4d}.thc-header{font-family:var(--at-font-body);font-size:13px;line-height:1.5;color:var(--at-text);display:flex;align-items:center;gap:14px;padding:10px 16px;background:#1a1520eb;border-bottom:1px solid var(--at-border);position:sticky;top:0;z-index:30}.thc-back-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid var(--at-border);border-radius:8px;background:transparent;color:var(--at-text-dim);font:inherit;cursor:pointer;transition:color .15s,border-color .15s}.thc-back-btn:hover{color:var(--at-gold);border-color:var(--at-gold)}.thc-title{font-family:var(--at-font-display);font-size:16px;font-weight:600;letter-spacing:.06em;color:var(--at-gold);text-shadow:var(--at-glow-gold)}.thc-right{margin-left:auto;display:inline-flex;align-items:center;gap:10px}.thc-middle{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 14px}.thc-mini-btn{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid var(--at-border);border-radius:7px;background:transparent;color:var(--at-text-dim);font:inherit;font-size:12px;cursor:pointer;transition:color .15s,border-color .15s}.thc-mini-btn:hover{color:var(--at-cyan);border-color:var(--at-cyan)}.thc-mini-btn:disabled{opacity:.45;cursor:not-allowed}.thc-mini-btn.thc-danger:hover{color:#e94560;border-color:#e94560}.thc-dir-btn{padding:5px 10px}.thc-dir-btn.thc-dir-needs-auth{color:var(--at-gold);border-color:var(--at-gold)}.thc-mode{display:inline-flex;align-items:center;gap:8px;color:var(--at-text-dim);white-space:nowrap}.thc-header .thc-mode select{margin-left:6px;width:auto;font:inherit;color:var(--at-text);background:var(--at-bg-soft);border:1px solid var(--at-border);border-radius:8px;padding:6px 8px;font-size:13px;outline:none;cursor:pointer}.thc-header .thc-mode select:focus{border-color:var(--at-cyan)}.thc-modal-mask{position:fixed;inset:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:1900}.thc-modal{width:460px;max-width:calc(100vw - 48px);max-height:calc(100vh - 96px);overflow:auto;background:var(--at-bg-soft);border:1px solid var(--at-border);border-radius:10px;box-shadow:0 12px 40px #00000080}.thc-modal-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--at-border);font-family:var(--at-font-display);letter-spacing:.05em;color:var(--at-gold)}.thc-modal-body{display:flex;flex-direction:column;gap:14px;padding:16px}.thc-modal-foot{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-top:1px solid var(--at-border)}.thc-field{display:flex;flex-direction:column;gap:6px}.thc-label{font-size:13px;color:var(--at-text-dim)}.thc-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.thc-dir-name{font-size:13px;color:var(--at-text);word-break:break-all}.thc-check{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--at-text);cursor:pointer}.thc-check input{margin-top:2px}.thc-note{font-size:12px;color:var(--at-text-dim);line-height:1.6}
