:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#f7f7f8;background:#0e0f12;color-scheme:dark;font-synthesis:none;--app-chrome:#0e0f12;--accent:#ff7a35;--blue:#4c9cff;--muted:#999da6;--panel:#17191e;--line:#2a2d34}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden;background:var(--app-chrome)}body{background:var(--app-chrome)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;color:inherit;background:none;cursor:pointer}button:disabled{opacity:.32;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #69aaff;outline-offset:2px}[hidden]{display:none!important}svg{width:22px;height:22px;stroke-width:1.8}.camera-app{width:min(100%,720px);height:100%;min-height:0;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:#0e0f12;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.camera-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 18px;background:#0e0f12}.app-title{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:650}.live-dot{width:7px;height:7px;border-radius:50%;background:#52cc7b;box-shadow:0 0 0 4px #52cc7b1f}.header-actions{display:flex;gap:0}.icon-button{width:46px;height:46px;display:grid;place-items:center;border-radius:50%}.icon-button:active{background:#25272d}.viewfinder{position:relative;min-height:0;height:100%;max-width:100%;overflow:hidden;background:#22252a;display:grid;place-items:center;aspect-ratio:3/4;width:auto;align-self:center;justify-self:center}.viewfinder.landscape{width:100%;height:auto;max-height:100%;aspect-ratio:4/3}.viewfinder.dragging{outline:3px solid var(--blue);outline-offset:-3px}.viewfinder:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none;background:linear-gradient(#0005,transparent 20%,transparent 75%,#0004)}.empty-state{position:relative;z-index:4;text-align:center;display:flex;flex-direction:column;align-items:center}.empty-mark{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#ffffff12;color:#d5d6d9;margin-bottom:15px}.empty-mark svg{width:30px;height:30px}.empty-state h1{font-size:20px;margin:0 0 8px;font-weight:650}.empty-state p{font-size:12px;color:#a9abb1;margin:0 0 20px}.start-camera{height:46px;padding:0 20px;border-radius:24px;background:#fff;color:#17181b;display:flex;align-items:center;gap:8px;font-weight:650}.start-camera svg{width:19px}.camera-view,.camera-view video,.camera-view canvas,#preview{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.camera-view video{object-fit:cover}.camera-view canvas,#preview{object-fit:cover;pointer-events:none}.watermark-hotspot{position:absolute;z-index:6;left:0;bottom:0;width:78%;height:42%;border-radius:0;background:transparent}.watermark-hotspot:focus-visible{outline-offset:-4px}.locate-button{position:absolute;z-index:7;right:14px;bottom:14px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#0a0b0db8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.locate-button:active{background:#24272dcc}.camera-message{height:38px;margin:0;display:flex;align-items:center;justify-content:center;padding:0 18px;color:#9fa2aa;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.camera-message.error{color:#ff8176}.camera-dock{height:112px;padding:4px 34px 8px;display:grid;grid-template-columns:1fr 110px 1fr;align-items:center}.dock-action{justify-self:center;min-width:56px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#d7d8dc;font-size:11px;border-radius:12px}.dock-action svg{width:24px;height:24px}.dock-action:active{background:#202228}.shutter{justify-self:center;width:78px;height:78px;border:3px solid #f8f8f9;border-radius:50%;padding:6px;background:#ffffff18}.shutter span{display:block;width:100%;height:100%;border-radius:50%;background:#f7f7f8;transition:transform .12s,background .12s}.shutter:active span{transform:scale(.9);background:#dedfe2}.settings-page{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;background:#f2f3f5;color:#17181b;color-scheme:light;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}body.settings-open{overflow:hidden}.settings-header{height:60px;background:#fff;display:grid;grid-template-columns:56px 1fr 56px;align-items:center;border-bottom:1px solid #e8e9eb}.settings-header .icon-button{color:#24262a}.settings-header h2{text-align:center;font-size:17px;margin:0;font-weight:650}.header-text-button{height:48px;color:#3478d4;font-size:13px}.settings-content{overflow:auto;overscroll-behavior:contain;padding:10px 12px 24px}.settings-section{max-width:680px;margin:0 auto 18px}.settings-section h3{font-size:12px;color:#7a7e86;font-weight:500;margin:0;padding:6px 14px 8px}.settings-section>label,.settings-section>.settings-row,.settings-section>.full-row,.field-grid,.stack-field{background:#fff}.settings-row{min-height:64px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #ececef}.settings-section>:nth-last-child(1){border-bottom:0}.settings-section>:is(label,.settings-row,.full-row):first-of-type,.field-grid{border-radius:14px 14px 0 0}.settings-section>:is(label,.settings-row,.full-row):last-child{border-radius:0 0 14px 14px}.settings-section>:is(label,.settings-row,.full-row):only-of-type{border-radius:14px}.settings-row>span:first-child{min-width:0;display:flex;flex-direction:column;gap:4px}.settings-row strong{font-size:15px;font-weight:550}.settings-row small{color:#858991;font-size:11px;line-height:1.35}.settings-row select{max-width:205px;border:0;background:transparent;color:#5f646c;text-align:right;font-size:13px;padding:10px 0}.segmented{display:flex;background:#edeef1;border-radius:9px;padding:3px}.segmented button{height:32px;min-width:52px;border-radius:7px;color:#747881;font-size:12px}.segmented button[aria-pressed=true]{background:#fff;color:#202226;box-shadow:0 1px 5px #00000018}.field-grid{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #ececef}.field-grid label{min-width:0;padding:11px 14px}.field-grid label+label{border-left:1px solid #ececef}.field-grid span,.stack-field>span{display:block;font-size:11px;color:#858991;margin-bottom:5px}.field-grid input,.stack-field input,.stack-field textarea{width:100%;border:0;padding:0;background:transparent;color:#202226;font-size:16px;outline:0}.stack-field{display:block;padding:12px 14px;border-bottom:1px solid #ececef}.stack-field textarea{resize:none;line-height:1.55}.inline-actions{display:flex;gap:8px;margin-top:9px}.inline-actions button,.full-row{min-height:46px;padding:0 15px;border-radius:12px;background:#fff;color:#3478d4;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px}.inline-actions svg,.full-row svg{width:17px}.setting-note{font-size:11px;color:#81858d;line-height:1.55;margin:8px 12px 0}.range-row{display:block!important;padding:11px 14px!important}.range-row>span{display:flex;justify-content:space-between;font-size:13px;color:#4c5057}.range-row output{color:#8a8e96;font-variant-numeric:tabular-nums}.range-row input{width:100%;height:30px;margin:3px 0 0;accent-color:#3478d4}.settings-row input[type=color]{width:44px;height:40px;border:0;background:none;padding:5px}.settings-row input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:45px;height:27px;border-radius:16px;background:#c9ccd2;position:relative;transition:background .2s}.settings-row input[type=checkbox]:before{content:"";position:absolute;width:23px;height:23px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0004;transition:transform .2s}.settings-row input[type=checkbox]:checked{background:#34c759}.settings-row input[type=checkbox]:checked:before{transform:translate(18px)}.settings-row.static{border-radius:0}.ok{display:flex!important;flex-direction:row!important;align-items:center;white-space:nowrap;color:#2b9b57;font-size:11px}.ok svg{width:15px}.plain-button{color:#3478d4;min-height:44px}.settings-footer{padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#ffffffeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid #e5e6e9}.settings-footer button{width:min(100%,680px);height:50px;margin:auto;display:block;border-radius:13px;background:#17191d;color:#fff;font-weight:650}.nested-settings{z-index:21}.settings-content{padding-top:16px}.settings-section{margin-bottom:24px}.settings-section>label,.settings-section>.settings-row,.settings-section>.full-row,.settings-section>.menu-row,.settings-section>.field-grid{margin-bottom:10px;border:0!important;border-radius:14px!important;overflow:hidden}.stack-field{margin-bottom:10px;border:0;border-radius:14px!important}.menu-row{width:100%;min-height:70px;padding:10px 14px;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left}.menu-row>span{display:flex;flex-direction:column;gap:4px}.menu-row strong{font-size:15px;font-weight:550}.menu-row small{font-size:11px;color:#858991}.menu-row>svg{width:18px;color:#a1a4aa}.settings-section>.range-row{margin-bottom:10px}.settings-section>.inline-actions{margin-top:2px}.settings-section>.setting-note{margin-bottom:12px}dialog{position:relative;border:0;border-radius:20px;padding:24px;width:min(420px,90vw);max-height:90dvh;color:#202226;box-shadow:0 20px 80px #0008}dialog::backdrop{background:#0009}.dialog-close{position:absolute;right:8px;top:8px;width:44px;height:44px}.dialog-close svg{width:20px}dialog h2{margin:0 0 6px;font-size:19px}dialog p{margin:0;color:#777b83;font-size:13px}dialog img{max-width:100%;max-height:58dvh;display:block;margin:16px auto}.save-again{display:flex;height:46px;align-items:center;justify-content:center;border-radius:12px;background:#17191d;color:#fff;text-decoration:none;font-size:14px}@media(min-width:721px){body{background:#202227}.camera-app{box-shadow:0 0 80px #0008}.settings-page{left:50%;width:min(100%,720px);transform:translate(-50%);box-shadow:0 0 80px #0008}}@media(max-height:620px)and (orientation:landscape){.camera-app{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:1fr}.camera-header{height:100%;width:64px;flex-direction:column;padding:14px 0}.app-title{writing-mode:vertical-rl}.app-title small,.live-dot{display:none}.header-actions{flex-direction:column}.viewfinder{height:100%;width:auto}.camera-message{display:none}.camera-dock{height:100%;width:112px;grid-template-columns:1fr;grid-template-rows:1fr 100px 1fr;padding:8px}.settings-page{width:min(100%,720px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.viewfinder-slot{min-width:0;min-height:0;overflow:hidden;display:grid;place-items:center;container-type:size}.viewfinder-slot>.viewfinder{--viewfinder-ratio:.75;width:min(100cqw,calc(100cqh * var(--viewfinder-ratio)));height:min(100cqh,calc(100cqw / var(--viewfinder-ratio)));max-width:100%;max-height:100%;aspect-ratio:var(--viewfinder-ratio);align-self:center;justify-self:center}.camera-app{padding-top:0;padding-bottom:0}.camera-header{height:calc(64px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:var(--app-chrome)}.camera-dock{height:calc(112px + env(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom))}.settings-page{padding-top:0;padding-bottom:0}.settings-header{height:calc(60px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:linear-gradient(to bottom,var(--app-chrome) 0 env(safe-area-inset-top),#fff env(safe-area-inset-top) 100%)}@media(max-height:620px)and (orientation:landscape){.camera-header{height:100%;padding:14px 0}.camera-dock{height:100%;padding:8px}.settings-header{background:#fff}}.viewfinder-slot>.viewfinder{container-type:size}.viewfinder.rotate-original .camera-view video{inset:auto;left:50%;top:50%;width:100cqh;height:100cqw;transform:translate(-50%,-50%) rotate(90deg)}.camera-view.mirrored{transform:scaleX(-1)}.camera-view.mirrored canvas{transform:scaleX(-1)}.app-section .plain-button{flex:0 0 auto;padding:0 4px}.field-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.field-heading>span{margin:0}.field-heading button{min-height:32px;padding:0 4px;color:#3478d4;display:flex;align-items:center;gap:4px;font-size:12px}.field-heading button svg{width:15px;height:15px}.map-picker-page{grid-template-rows:auto minmax(0,1fr)}.map-picker-body{position:relative;min-height:0;overflow:hidden;background:#dfe3e7}.map-picker-container{position:absolute;top:0;right:0;bottom:0;left:0}.map-center-pin{position:absolute;z-index:2;left:50%;top:50%;width:44px;height:52px;display:grid;place-items:center;color:#ff6b2c;filter:drop-shadow(0 2px 3px #0006);transform:translate(-50%,-100%);pointer-events:none}.map-center-pin svg{width:38px;height:38px;fill:#fff;stroke-width:2.5}.map-current-location{position:absolute;z-index:3;right:16px;bottom:132px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#3478d4;box-shadow:0 3px 14px #0003}.map-current-location svg{width:22px;height:22px}.map-selection-card{position:absolute;z-index:3;left:14px;right:14px;bottom:32px;min-height:78px;padding:14px 16px;border-radius:14px;background:#fffffff2;color:#202226;box-shadow:0 5px 22px #0003;display:flex;flex-direction:column;justify-content:center;gap:7px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.map-selection-card strong{font-size:14px;line-height:1.35}.map-selection-card small{font-size:11px;color:#727780;font-variant-numeric:tabular-nums}.camera-dock{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);padding-left:18px;padding-right:18px}.dock-left-actions,.dock-right-actions{width:min(100%,124px);display:grid;grid-template-columns:repeat(2,minmax(44px,1fr));align-items:center}.dock-left-actions{justify-self:end}.dock-right-actions{justify-self:start}.dock-left-actions .dock-action,.dock-right-actions .dock-action{min-width:0;width:100%}.history-page{grid-template-rows:auto minmax(0,1fr)}.history-content{overflow:auto;overscroll-behavior:contain;padding:16px 14px 30px}.history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:680px;margin:auto}.history-card{min-width:0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 1px 5px #00000012}.history-thumbnail{position:relative}.history-open{display:block;width:100%;padding:0;color:#202226}.history-open img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;background:#d9dadd}.history-details{display:block;min-width:0;padding:10px 12px}.history-details strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:600}.history-delete{position:absolute;z-index:2;right:8px;bottom:8px;width:38px;height:38px;display:grid;place-items:center;color:#fff;border-radius:50%;background:#15171bb8;box-shadow:0 2px 8px #0005;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.history-delete svg{width:19px;height:19px}.history-delete:active{background:#d7463de8}.history-clear{justify-self:center;color:#d7463d}.history-clear:disabled{opacity:.32}.history-empty{height:100%;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#777c84;padding:30px}.history-empty>span{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#fff;margin-bottom:14px}.history-empty svg{width:27px;height:27px}.history-empty strong{font-size:16px;color:#34373c;margin-bottom:7px}.history-empty small{max-width:260px;font-size:12px;line-height:1.5}@media(max-height:620px)and (orientation:landscape){.camera-dock{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 86px minmax(0,1fr);padding:6px}.dock-left-actions,.dock-right-actions{width:100%;height:100%;justify-self:center;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(52px,1fr))}.history-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.history-save{justify-self:start}.folder-dialog{color-scheme:light}.folder-dialog>p{line-height:1.55;padding-right:34px}.folder-choices{display:grid;gap:10px;margin:18px 0}.folder-choice{width:100%;min-height:66px;padding:10px 14px;border-radius:13px;background:#f2f3f5;color:#24262a;display:flex;align-items:center;gap:12px;text-align:left}.folder-choice>svg{flex:0 0 auto;color:#3478d4}.folder-choice>span{min-width:0;display:flex;flex-direction:column;gap:4px}.folder-choice strong{font-size:14px}.folder-choice small{font-size:11px;color:#747982;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-continue{width:100%;height:48px;border-radius:13px;background:#17191d;color:#fff;font-weight:650}@media(max-height:620px)and (orientation:landscape){.history-save{justify-self:center}}:root{color:#202329;background:#f7f8fa;color-scheme:light;--app-chrome:#f7f8fa;--accent:#ff6b35;--blue:#246bfd;--muted:#737982;--panel:#fff;--line:#e7e9ee}html,body,#app{background:var(--app-chrome)}body{background:#eef0f4}.camera-app{max-width:520px;background:linear-gradient(180deg,#fff 0,#f7f8fa 24%,#f5f6f8);color:#202329}.camera-header{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 20px;background:transparent}.app-title{gap:10px;font-size:16px;font-weight:720;letter-spacing:-.01em}.live-dot{width:8px;height:8px;background:#26b667;box-shadow:0 0 0 5px #26b66717}.header-actions{gap:6px}.icon-button{width:42px;height:42px;border-radius:14px;color:#353940;background:#fff;box-shadow:0 1px 3px #1822380d,0 6px 20px #1822380a}.icon-button:active{background:#eceff3;transform:scale(.96)}.viewfinder-slot{padding:4px 14px 0;overflow:hidden}.viewfinder-slot>.viewfinder{max-width:100%;max-height:100%;border-radius:24px;background:#25282d;box-shadow:0 16px 38px #1118271c,0 2px 8px #11182714;isolation:isolate}.viewfinder:before{background:linear-gradient(180deg,#00000024 0,transparent 22%,transparent 70%,#00000045 100%)}.empty-mark{background:#ffffff18;color:#fff}.empty-state h1{color:#fff}.empty-state p{color:#c9ccd1}.start-camera{background:#fff;color:#202329;box-shadow:0 6px 18px #0003}.locate-button{right:16px;bottom:16px;background:#fffffff0;color:#24272d;box-shadow:0 3px 14px #0003}.locate-button:active{background:#eef0f3}.camera-message{height:36px;color:#747a84;font-size:12px}.camera-message.error{color:#d63e32}.camera-dock{height:calc(110px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);padding:3px 14px calc(10px + env(safe-area-inset-bottom))}.dock-left-actions,.dock-right-actions{width:min(100%,136px);gap:2px}.dock-action{min-height:62px;color:#4f5560;font-size:11px;border-radius:16px}.dock-action svg{width:23px;height:23px}.dock-action:active{background:#e9ecf1}.history-save{color:#246bfd}.history-cancel{color:#5f6570}.shutter{width:76px;height:76px;border:3px solid #2c3037;padding:6px;background:#fff;box-shadow:0 6px 18px #11182722}.shutter span{background:var(--accent)}.shutter:active span{background:#e95622}.settings-page{background:#f5f6f8}.settings-header{background:linear-gradient(to bottom,var(--app-chrome) 0 env(safe-area-inset-top),#fff env(safe-area-inset-top) 100%)}.settings-header .icon-button{box-shadow:none;background:transparent}.history-card{box-shadow:0 1px 3px #18223812,0 8px 24px #1822380b}dialog{background:#fff}@media(min-width:721px){body{background:#e8ebf0}.camera-app{box-shadow:0 0 60px #18223818}.settings-page{max-width:520px}}@media(max-height:620px)and (orientation:landscape){.camera-app{width:min(100vw,56.25vh);height:100vh;grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto}.camera-header{width:auto;height:62px;flex-direction:row;padding:0 12px 0 20px}.app-title{writing-mode:horizontal-tb}.app-title small,.live-dot{display:initial}.header-actions{flex-direction:row}.viewfinder{height:100%;width:auto}.camera-message{display:flex}.camera-dock{width:auto;height:110px;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);grid-template-rows:1fr;padding:3px 14px 10px}.dock-left-actions,.dock-right-actions{width:min(100%,136px);height:auto;grid-template-columns:repeat(2,minmax(44px,1fr));grid-template-rows:1fr}.history-save{justify-self:center}.settings-page{width:min(100vw,56.25vh)}}
