@font-face{font-family:CityPixel;src:url('./fonts/fusion-pixel-12px-zh_hans.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
.pixel,.pixel input,.pixel button,.pixel textarea{font-family:CityPixel,monospace;font-weight:400;-webkit-font-smoothing:none;text-rendering:geometricPrecision}.pixel button{border-radius:0}.pixel button:focus-visible{outline:2px solid #333;outline-offset:3px}.pixel button{cursor:pointer}.pixel button:disabled{opacity:.36;cursor:default}
body .tools,body .overview{top:59px}.city-ticker{position:fixed;z-index:9;top:11px;left:32px;right:32px;height:30px;overflow:hidden;border-top:1px solid #222;border-bottom:1px solid #ddd;background:#ffffffde;font-size:12px;line-height:28px;color:#242424;pointer-events:none;letter-spacing:.3px;mask-image:linear-gradient(90deg,transparent,#000 2%,#000 98%,transparent)}.ticker-track{display:flex;align-items:center;width:max-content;animation:city-marquee var(--ticker-duration,65s) linear infinite;will-change:transform}.ticker-copy{display:flex;align-items:center;white-space:nowrap;flex:none;gap:90px;padding-right:120px}.ticker-intro{word-spacing:3px}.ticker-message{padding-right:35px}.city-ticker:has(.new-danmaku) .ticker-track{opacity:.32}.new-danmaku{position:fixed;left:100%;top:12px;white-space:nowrap;padding:0 26px;background:#fff;font-size:12px;line-height:28px;animation:incoming-danmaku 13s linear both;will-change:transform}@keyframes city-marquee{to{transform:translateX(-50%)}}@keyframes incoming-danmaku{to{transform:translateX(calc(-100vw - 100%))}}
.community-icon{position:fixed;right:33px;top:118px;z-index:10;display:grid;place-items:center;width:43px;height:43px;color:#222;background:#ffffffdc;border:1px solid #dddddd;backdrop-filter:blur(12px)}.community-icon svg{width:23px;height:23px;stroke-width:1}.community-icon:hover{background:#222;color:#fff}.community-toast{position:fixed;z-index:65;left:50%;top:106px;transform:translateX(-50%);max-width:calc(100vw - 40px);padding:13px 24px;color:#fff;background:#202020e8;font-size:12px;box-shadow:4px 4px 0 #0002;pointer-events:none}
.community-gallery{position:fixed;z-index:7;bottom:18px;left:50%;transform:translateX(-50%);width:min(760px,calc(100vw - 40px));padding:14px;background:#fffffff0;border:1px solid #e1e1e1;box-shadow:5px 5px 0 #0000000b}.community-gallery header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 3px 11px;font-size:14px}.community-gallery small{font-size:10px;color:#888}.community-gallery #creation-cards{display:flex;gap:9px;max-height:146px;overflow:auto;scrollbar-width:thin}.creation-card{display:flex;flex-direction:column;flex:none;align-items:center;justify-content:center;gap:8px;width:143px;min-height:104px;padding:7px;border:1px solid #ddd;background:#fafafa}.creation-card:hover{border-color:#222}.creation-card img{width:125px;height:70px;object-fit:contain}.creation-card>span{font-size:12px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.creation-card>i{font-style:normal;font-size:33px;height:50px;display:grid;place-items:center}.create-card{border-style:dashed;background:#fff}.community-gallery-open #dock{bottom:185px}.community-gallery-open .district-nav{display:none!important}
.community-modal{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#ffffff9c;backdrop-filter:blur(10px)}.community-sheet{position:relative;width:min(480px,100%);padding:34px;background:#fff;border:1px solid #333;box-shadow:9px 9px 0 #00000013}.community-sheet h2{font-size:20px;line-height:1.5;font-weight:400;margin:10px 0 22px}.tiny-star{font-size:16px;color:#555}.close-sheet{position:absolute;right:11px;top:8px;width:30px;height:30px;border:0;background:transparent;font-size:24px;color:#777}.community-sheet input,.community-sheet textarea{display:block;width:100%;border:1px solid #b8b8b8;background:#fafafa;font-size:14px;color:#111;padding:13px;resize:none;outline-offset:3px;border-radius:0}.community-sheet input::placeholder,.community-sheet textarea::placeholder{color:#aaa}.primary{background:#202020!important;color:#fff!important;border:1px solid #202020!important}.community-sheet .primary{padding:12px 23px;font-size:14px}.form-error{font-size:12px;color:#742020;min-height:19px;margin:9px 0}.sheet-subtitle{font-size:12px;line-height:1.6;color:#888;margin-top:-11px}.message-sheet{width:min(470px,100%);padding:26px}.message-sheet h2{margin-bottom:15px}.message-sheet #message-list{max-height:210px;min-height:84px;overflow:auto;margin:20px 0;scrollbar-width:thin}.message-item{display:flex;align-items:start;gap:11px;border-bottom:1px solid #eee;padding:12px 0;margin:0;font-size:12px;line-height:1.7;word-break:break-word}.message-item i{font-style:normal;font-size:12px;color:#999}.empty-messages{font-size:12px;color:#999;line-height:1.8}.message-form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.message-form-footer small,#message-connection{font-size:10px;color:#999}.message-form-footer .primary{font-size:12px;padding:10px 17px}
.creator-editor{position:fixed;inset:0;z-index:30;background:#fff}.creator-editor #creator-viewport{position:absolute;inset:0}.creator-editor #creator-viewport canvas{display:block;touch-action:none}.creator-top{position:absolute;top:18px;left:24px;right:24px;display:flex;align-items:center;gap:15px;pointer-events:none}.creator-top>*{pointer-events:auto}.creator-top button,.creator-palette button,.placement-actions button,#creation-view-back{min-height:38px;padding:9px 16px;background:#fff;border:1px solid #ddd;color:#222;font-size:12px}.creator-top>button{padding:8px 13px}.creator-top>span{font-size:16px;background:#ffffffb8;padding:9px 11px;max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator-actions{margin-left:auto;display:flex;gap:6px}.creator-hint{position:absolute;left:77px;top:77px;display:flex;flex-direction:column;gap:8px;font-size:12px;color:#777;pointer-events:none}.creator-hint small{font-size:10px;color:#aaa}.creator-palette{position:absolute;top:108px;right:24px;width:133px;padding:11px;background:#ffffffeb;border:1px solid #e2e2e2;backdrop-filter:blur(12px);display:flex;flex-direction:column;gap:6px}.palette-caption{font-size:10px;color:#999;margin-bottom:5px}.creator-palette button[data-material]{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:8px;border:1px solid transparent;background:transparent;font-size:12px}.creator-palette button[aria-pressed=true]{border-color:#333;background:#ededed}.material-swatch{position:relative;display:block;flex:none;width:23px;height:23px;border:1px solid #777}.swatch-black{background:#111}.swatch-gray{background:#888}.swatch-white{background:#fff}.swatch-hollow{border:2px solid #222}.swatch-hollow:after{content:'';position:absolute;inset:4px;border:1px solid #777}.swatch-ghost{border:1px solid #bbb;background:#7773}.swatch-floating{border:0;background:radial-gradient(#333 1px,transparent 2px) 0 0/7px 7px}.creator-palette .depth-label{font-size:10px;color:#888;display:block;margin-top:8px}.depth-label output{float:right;color:#333}.depth-label input{width:100%;margin:12px 0 4px;accent-color:#333}.creator-palette #creator-observe{font-size:10px;padding:9px 2px;margin-top:6px}.creator-bottom{position:absolute;bottom:19px;left:50%;transform:translateX(-50%);padding:9px 17px;background:#ffffffd6;border:1px solid #eee;font-size:10px;color:#999;pointer-events:none}
.community-busy #dock,.community-busy .tools,.community-busy #overview,.community-busy #city-ticker,.community-busy #message-bubble{visibility:hidden}.creator-placement{position:fixed;inset:0;z-index:20;pointer-events:none}.creator-placement header{position:absolute;left:50%;top:25px;transform:translateX(-50%);display:flex;flex-direction:column;gap:10px;text-align:center;background:#fffffff2;padding:15px 26px;border:1px solid #ccc}.creator-placement strong{font-size:16px;font-weight:400}.creator-placement header>span{font-size:12px;color:#888;white-space:nowrap}.placement-actions{position:absolute;bottom:23px;left:50%;transform:translateX(-50%);display:flex;gap:8px;pointer-events:auto;white-space:nowrap}.lot-marker{position:absolute;transform:translate(-50%,-50%);min-width:64px;padding:7px 9px;border:1px dashed #666;background:#fffdf2e6;color:#333;font-size:10px;pointer-events:auto;box-shadow:3px 3px 0 #0000000b}.lot-marker>b{display:block;font-weight:400;font-size:19px}.lot-marker>span{display:block;margin-top:3px}.lot-marker:hover,.lot-marker.selected{background:#222;color:#fff;border-style:solid}.creation-view{position:fixed;top:22px;left:24px;z-index:25;display:flex;align-items:center;gap:18px}.creation-view span{font-size:16px;background:#fffc;padding:10px 14px}
@media(max-height:600px) and (orientation:landscape){body .tools,body .overview{top:44px}.city-ticker{top:5px;left:18px;right:18px;height:26px;font-size:12px;line-height:24px}.new-danmaku{top:5px;line-height:24px}.community-icon{top:96px;right:34px;width:36px;height:36px}.community-gallery{bottom:12px;width:min(650px,calc(100vw - 40px));padding:10px}.community-gallery header{padding-bottom:7px}.community-gallery #creation-cards{max-height:92px}.creation-card{width:125px;min-height:76px;gap:3px}.creation-card img{height:48px;width:103px}.creation-card>i{font-size:24px;height:39px}.community-gallery-open #dock{bottom:145px}.community-sheet{padding:18px 28px;max-height:calc(100vh - 28px);overflow:auto}.community-sheet h2{font-size:18px;margin:4px 0 12px}.community-sheet .tiny-star{font-size:12px}.message-sheet #message-list{max-height:60px;min-height:30px;margin:10px 0}.message-sheet textarea{height:58px;font-size:12px;padding:9px}.message-sheet .sheet-subtitle{margin-top:0}.message-item{padding:6px 0}.message-form-footer{margin-top:5px}.form-error{min-height:13px;margin:5px 0}.creator-top{top:9px;left:14px;right:14px;gap:8px}.creator-top button{min-height:32px;padding:7px 11px}.creator-top>span{font-size:14px;padding:7px;max-width:35vw}.creator-hint{left:64px;top:54px;font-size:10px;gap:5px}.creator-palette{top:58px;right:14px;width:119px;padding:8px;gap:3px;max-height:calc(100vh - 69px);overflow:auto;scrollbar-width:thin}.creator-palette button[data-material]{min-height:28px;padding:4px;font-size:12px;gap:10px}.material-swatch{width:19px;height:19px}.creator-palette .depth-label{margin-top:3px}.depth-label input{margin:5px 0 1px}.creator-palette #creator-observe{margin-top:2px;min-height:27px;padding:5px 0}.palette-caption{font-size:10px;margin-bottom:2px}.creator-bottom{bottom:8px;font-size:10px;padding:6px 9px}.creator-placement header{top:10px;padding:10px 15px;gap:6px}.creator-placement strong{font-size:14px}.creator-placement header>span{font-size:10px}.placement-actions{bottom:10px;gap:5px}.placement-actions button{min-height:31px;padding:7px 12px;font-size:10px}.lot-marker{min-width:40px;padding:3px 5px;font-size:10px}.lot-marker>b{font-size:13px}.lot-marker span{margin-top:0}.creation-view{top:14px;left:14px;gap:8px}.creation-view span{font-size:14px}.community-toast{top:87px;padding:10px 17px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}.city-ticker{overflow:auto;pointer-events:auto}.new-danmaku{animation:none}}
