@charset "UTF-8";.theme-root,page{--background:210 40% 97.5%;--foreground:222 40% 14%;--card:0 0% 100%;--card-foreground:222 40% 14%;--muted:210 40% 96%;--muted-foreground:215 16% 47%;--border:214 32% 91%;--input:214 32% 91%;--surface:0 0% 100%;--hover:214 32% 94%;--primary:215 32% 32%;--primary-foreground:210 40% 98%;--accent:210 40% 96%;--accent-foreground:215 32% 32%;--destructive:0 72% 51%;--destructive-foreground:0 0% 100%;--success:142 71% 40%;--success-foreground:0 0% 100%;--warning:38 92% 50%;--ring:215 35% 48%;--switch-off:210 40% 88%;--switch-on:215 32% 32%;--tooltip-bg:222 40% 16%;--tooltip-fg:210 40% 98%;--code-bg:222 47% 11%;--code-fg:210 40% 96%;--radius:12px;--radius-sm:8px;--shadow-sm:0 1px 2px rgba(17,24,39,.06),0 1px 3px rgba(17,24,39,.04);--shadow-md:0 2px 6px rgba(17,24,39,.07),0 8px 20px rgba(17,24,39,.08);--shadow-lg:0 12px 32px rgba(17,24,39,.14)}.dark,html[data-theme=dark]{--background:222 47% 8%;--foreground:210 40% 98%;--card:222 45% 12%;--card-foreground:210 40% 98%;--muted:217 33% 18%;--muted-foreground:215 20% 65%;--border:217 33% 22%;--input:217 33% 24%;--surface:222 45% 10.5%;--hover:217 33% 16%;--primary:210 40% 96%;--primary-foreground:222 47% 11%;--accent:217 33% 20%;--accent-foreground:210 40% 98%;--destructive:0 63% 50%;--destructive-foreground:0 0% 100%;--success:142 60% 45%;--success-foreground:0 0% 100%;--warning:38 92% 55%;--ring:213 27% 65%;--switch-off:217 33% 24%;--switch-on:210 90% 56%;--tooltip-bg:210 40% 98%;--tooltip-fg:222 40% 14%;--code-bg:222 47% 6%;--code-fg:210 40% 96%;--shadow-sm:0 1px 2px rgba(0,0,0,.4),0 1px 3px rgba(0,0,0,.3);--shadow-md:0 2px 6px rgba(0,0,0,.45),0 8px 20px rgba(0,0,0,.5);--shadow-lg:0 12px 32px rgba(0,0,0,.55)}.button,.input,.text,.textarea,.view{box-sizing:border-box}#app,.taro-tabbar__panel,.taro_page,.taro_page__container,body,html{height:100%;margin:0}.taro-tabbar__panel,.taro_page,.taro_page__container{overscroll-behavior:contain}.taro_router .taro_page{overflow-y:auto}taro-input-core > .weui-input{height:100%;width:100%}.theme-root{background:hsl(var(--background));color:hsl(var(--foreground));display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Helvetica Neue,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6;min-height:100vh}.theme-root.env-h5{height:100%;min-height:0}[data-theme=dark] .weui-tabbar{background-color:#0b1120!important}[data-theme=dark] .weui-tabbar__label{color:#9ca3af!important}[data-theme=dark] .weui-bar__item_on .weui-tabbar__label{color:#fff!important}[data-theme=dark] .taro-tabbar__border-black{border-top-color:hsla(0,0%,100%,.1)!important}page{background:hsl(var(--background))}#app,.taro-tabbar__panel,.taro_page,.taro_page__container,.taro_router,body,html{background:hsl(var(--background))}[data-theme=light]{color-scheme:light}[data-theme=dark]{color-scheme:dark}.taro_router .taro_page{transform:none!important;transition:none!important}.mono{font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace}.row{align-items:center;display:flex;flex-direction:row}.col{display:flex;flex-direction:column}.options-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width:560px){.options-grid{grid-template-columns:1fr}}.swatch-hover{box-shadow:0 0 0 2px hsl(var(--primary));transform:scale(1.12)}.grow{flex:1}.wrap{flex-wrap:wrap}.gap-4{gap:4px}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.muted{color:hsl(var(--muted-foreground))}.small{font-size:12px}.strong{font-weight:600}.divider{background:hsl(var(--border));height:1px}.hidden{display:none}.tip-anchor{align-items:center;display:inline-flex;position:relative}.tip-anchor-block{display:block;width:100%}.tip{align-items:center;display:inline-flex}.tip-block{display:block;width:100%}.tip-bubble{background:hsl(var(--tooltip-bg));border-radius:var(--radius-sm);box-shadow:var(--shadow-md);color:hsl(var(--tooltip-fg));font-size:12px;line-height:1.45;max-width:240px;padding:5px 9px;pointer-events:none;white-space:normal;z-index:100}.tip-fixed{position:fixed}.tip-fallback{left:50%;position:absolute;top:calc(100% + 8px);transform:translateX(-50%)}.btn{align-items:center;background:hsl(var(--primary));border:1px solid transparent;border-radius:var(--radius);color:hsl(var(--primary-foreground));display:flex;flex-direction:row;font-size:14px;height:36px;justify-content:center;line-height:1;padding:0 14px;transition:opacity .15s ease,transform .15s ease,box-shadow .15s ease}.btn-default{background:hsl(var(--primary));box-shadow:var(--shadow-sm);color:hsl(var(--primary-foreground))}.btn-outline{background:transparent;border-color:hsl(var(--border));color:hsl(var(--foreground))}.btn-ghost{background:transparent;color:hsl(var(--foreground))}.btn-destructive{background:hsl(var(--destructive));box-shadow:var(--shadow-sm);color:hsl(var(--destructive-foreground))}.btn-sm{font-size:12px;height:28px;padding:0 10px}.env-h5 .btn:hover{opacity:.9}.env-h5 .btn:active{transform:translateY(1px)}.env-h5 .btn-ghost:hover,.env-h5 .btn-outline:hover{background:hsl(var(--hover));opacity:1}.env-h5 .btn:focus-visible,.env-h5 .sidebar-item:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.btn-disabled{cursor:not-allowed;opacity:.5}.btn-loading{cursor:progress;opacity:.9}.btn-spinner{animation:btn-spin .7s linear infinite;border:2px solid;border-radius:50%;border-top:2px solid transparent;flex:none;height:13px;margin-right:6px;width:13px}@keyframes btn-spin{to{transform:rotate(1turn)}}.btn-block{width:100%}.nav-loading{align-items:center;background:hsl(var(--background)/.6);bottom:0;display:flex;flex-direction:column;gap:14px;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.nav-loading-spinner{animation:btn-spin .8s linear infinite;border:3px solid hsl(var(--muted-foreground)/.3);border-radius:50%;border-top-color:hsl(var(--primary));height:38px;width:38px}.nav-loading-text{color:hsl(var(--foreground));font-size:13px}.qr-busy-spinner{animation:btn-spin .8s linear infinite;border:2px solid hsl(var(--muted-foreground)/.3);border-radius:50%;border-top-color:hsl(var(--primary));flex:none;height:16px;width:16px}.card{color:hsl(var(--card-foreground));display:flex;flex-direction:column;margin-bottom:20px}.tool-section{margin-bottom:20px}.tool-section-title{align-items:center;color:hsl(var(--foreground));display:flex;flex-direction:row;font-size:13px;font-weight:600;letter-spacing:.02em;margin-bottom:12px}.tool-section-title::before{background:hsl(var(--primary));border-radius:2px;content:"";display:block;height:13px;margin-right:8px;width:3px}.tool-section-body{display:flex;flex-direction:column;gap:12px}.card-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin-bottom:12px}.card-title{align-items:center;color:hsl(var(--foreground));display:flex;flex-direction:row;font-size:13px;font-weight:600;letter-spacing:.02em}.card-title::before{background:hsl(var(--primary));border-radius:2px;content:"";display:block;height:13px;margin-right:8px;width:3px}.card-body{display:flex;flex-direction:column;gap:12px;padding:0}.card-flat{background:hsl(var(--muted));border:none}.field{display:flex;flex-direction:column}.field-label{color:hsl(var(--muted-foreground));font-size:12px;margin-bottom:6px}.input{background:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-sm);box-sizing:border-box;color:hsl(var(--foreground));font-size:14px;height:36px;padding:0 12px;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.textarea{background:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-sm);box-sizing:border-box;color:hsl(var(--foreground));font-size:13px;line-height:1.5;min-height:96px;padding:10px 12px;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.env-h5 .input:focus-within,.env-h5 .select:focus-within,.env-h5 .textarea:focus-within{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring)/.18)}.textarea-mono{font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace}.textarea-tall{min-height:180px}.date-wrap{align-items:center;display:flex;flex-direction:row;position:relative}.date-native-picker{border:none;height:1px;opacity:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;width:1px}.date-wrap taro-input-core{display:block;flex:1;min-width:0}.date-wrap .weui-input::-webkit-calendar-picker-indicator{display:none}.date-icon{cursor:pointer;flex-shrink:0;font-size:15px;line-height:1;padding:0 2px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.env-h5 .input,.env-h5 .textarea{display:flex}.env-h5 .input > .weui-input,.env-h5 .textarea > .taro-textarea{background:transparent;border:none;color:inherit;display:block;flex:1;font:inherit;line-height:inherit;min-width:0;outline:none;padding:0;resize:none;width:100%}.select{align-items:center;background:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:var(--radius-sm);color:hsl(var(--foreground));display:flex;flex-direction:row;font-size:14px;height:36px;justify-content:space-between;padding:0 12px;transition:border-color .15s ease,box-shadow .15s ease}.select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-arrow{color:hsl(var(--muted-foreground));font-size:10px;margin-left:8px;transition:transform .15s ease}.select-arrow-open{transform:rotate(180deg)}.select-wrap{position:relative}.select-trigger{cursor:pointer;-moz-user-select:none;user-select:none;-webkit-user-select:none}.env-h5 .select-trigger:hover{border-color:hsl(var(--ring))}.select-open{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring)/.18)}.color-native-wrap{border:1px solid hsl(var(--input));border-radius:var(--radius-sm);cursor:pointer;flex-shrink:0;height:36px;overflow:hidden;position:relative;width:40px}.color-native{background:none;border:none;cursor:pointer;height:150%;margin:-25%;padding:0;width:150%}.color-native-icon{align-items:center;display:flex;inset:0;justify-content:center;pointer-events:none;position:absolute}.select-popover{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);left:0;max-height:260px;overflow-y:auto;padding:4px;position:absolute;right:0;top:calc(100% + 6px);z-index:1200}.qr-canvas-stage{align-items:center;background:hsl(var(--card));border-radius:var(--radius-sm);display:flex;justify-content:center;padding:8px}.select-option{align-items:center;border-radius:6px;color:hsl(var(--foreground));cursor:pointer;display:flex;flex-direction:row;font-size:14px;gap:8px;justify-content:space-between;padding:7px 10px}.env-h5 .select-option:hover{background:hsl(var(--hover))}.select-option-active{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.select-option-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-option-check{font-size:12px}.select-tags{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;max-width:100%;width:-moz-max-content;width:max-content}.select-tag{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);color:hsl(var(--muted-foreground));cursor:pointer;flex:1 1 0;font-size:12px;height:28px;line-height:28px;min-width:-moz-max-content;min-width:max-content;overflow:hidden;padding:0 12px;text-align:center;text-overflow:ellipsis;transition:border-color .15s ease,background .15s ease,color .15s ease;-moz-user-select:none;user-select:none;-webkit-user-select:none;white-space:nowrap}.env-h5 .select-tag:hover{border-color:hsl(var(--ring));color:hsl(var(--foreground))}.select-tag-active{background:hsl(var(--primary)/.12);border-color:hsl(var(--primary));color:hsl(var(--primary))}.select-search{background:hsl(var(--card));border:1px solid hsl(var(--input));border-radius:var(--radius-sm);box-sizing:border-box;color:hsl(var(--foreground));font-size:13px;height:30px;margin:2px 2px 6px;padding:0 10px;position:sticky;top:0;width:100%;z-index:1}.env-h5 .select-search{display:flex}.env-h5 .select-search > .weui-input{background:transparent;border:none;color:inherit;display:block;flex:1;font:inherit;line-height:inherit;min-width:0;outline:none;padding:0;width:100%}.select-empty{color:hsl(var(--muted-foreground));font-size:13px;padding:10px;text-align:center}.img-source-backdrop{align-items:flex-end;background:rgba(0,0,0,.45);display:flex;inset:0;justify-content:center;position:fixed;z-index:1100}.img-source-sheet{background:hsl(var(--card));border-top-left-radius:var(--radius);border-top-right-radius:var(--radius);box-shadow:var(--shadow-lg);max-width:480px;padding:8px 8px calc(8px + env(safe-area-inset-bottom, 0px));width:100%}.img-source-btn{align-items:center;background:hsl(var(--muted));border-radius:var(--radius-sm);color:hsl(var(--foreground));cursor:pointer;display:flex;font-size:16px;height:50px;justify-content:center;-moz-user-select:none;user-select:none;-webkit-user-select:none}.img-source-btn + .img-source-btn{margin-top:8px}.env-h5 .img-source-btn:hover{background:hsl(var(--hover))}.img-source-cancel{background:hsl(var(--card));border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));font-size:15px}.tabs{border-bottom:1px solid hsl(var(--border));display:flex;flex-direction:row}.tab{border-bottom:2px solid transparent;color:hsl(var(--muted-foreground));font-size:14px;margin-bottom:-1px;padding:8px 14px;transition:color .15s ease,border-color .15s ease}.tab-active{border-bottom-color:hsl(var(--primary));color:hsl(var(--foreground));font-weight:600}.tag-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.tag{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:999px;color:hsl(var(--muted-foreground));cursor:pointer;font-size:13px;line-height:1.2;padding:6px 12px;transition:background .15s ease,color .15s ease,border-color .15s ease}.tag-hover{background:hsl(var(--hover))}.tag-active{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:600}.bold{font-weight:700}.modal-mask{align-items:center;background:rgba(0,0,0,.45);display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:1100}.modal-panel{background:hsl(var(--card));border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.2);max-width:420px;padding:16px;width:100%}.modal-title{font-size:16px;font-weight:600;margin-bottom:4px}.modal-close{color:hsl(var(--muted-foreground));font-size:16px;line-height:1;padding:4px 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.modal-body{-webkit-overflow-scrolling:touch;max-height:60vh;overflow-y:auto}.feedback-mail-row{align-items:center;background:hsl(var(--muted)/.3);border:1px solid hsl(var(--border));border-radius:8px;display:flex;gap:8px;justify-content:space-between;padding:10px 12px}.feedback-mail{font-size:14px;word-break:break-all}.realtime-toggle{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;gap:8px;justify-content:flex-start;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:auto}.switch{align-items:center;background:hsl(var(--switch-off));border:1px solid hsl(var(--border));border-radius:999px;box-sizing:border-box;display:flex;flex-direction:row;flex-shrink:0;height:24px;padding:2px;transition:background .18s ease;width:42px}.switch-on{background:hsl(var(--switch-on))}.switch-knob{background:#fff;border-radius:999px;box-shadow:0 1px 2px rgba(0,0,0,.25);height:18px;transition:margin-left .18s ease;width:18px}.env-h5 .realtime-toggle:hover .switch{background:hsl(var(--switch-off));filter:brightness(.96)}.env-h5 .realtime-toggle:hover .switch-on{background:hsl(var(--switch-on))}.code-block{background:hsl(var(--code-bg));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.code-block-bar{align-items:center;background:hsla(0,0%,100%,.04);border-bottom:1px solid hsla(0,0%,100%,.12);display:flex;flex-direction:row;justify-content:space-between;padding:8px 12px}.code-block-label{color:hsla(0,0%,100%,.72);font-size:12px}.code-block-body{box-sizing:border-box;color:hsl(var(--code-fg));cursor:text;display:block;font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace;font-size:12px;line-height:1.6;padding:12px 14px;-moz-user-select:text;user-select:text;-webkit-user-select:text;white-space:pre-wrap;width:100%;word-break:break-all}.code-scroll{max-height:320px;overflow-y:auto;-moz-user-select:text;user-select:text;-webkit-user-select:text}.code-fullscreen{background:hsl(var(--code-bg));bottom:0;display:flex;flex-direction:column;left:0;position:fixed;right:0;top:0;z-index:2000}.code-fullscreen-bar{align-items:center;background:hsla(0,0%,100%,.04);border-bottom:1px solid hsla(0,0%,100%,.12);display:flex;flex-direction:row;justify-content:space-between;padding:8px 12px}.code-fullscreen-body{display:flex;flex:1;min-height:0;padding:12px}.code-fullscreen-body .textarea{flex:1;height:100%;min-height:0}.code-fullscreen-editor{display:flex;flex:1;min-height:0}.code-edit-body{padding:12px 14px}.code-edit-body .textarea{max-height:70vh;min-height:220px}.code-block-body{cursor:pointer}.json-tree{background:hsl(var(--code-bg));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.json-tree-bar{align-items:center;background:hsla(0,0%,100%,.04);border-bottom:1px solid hsla(0,0%,100%,.12);display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:8px 12px}.json-tree-label{color:hsla(0,0%,100%,.72);font-size:12px}.json-tree-body{box-sizing:border-box;color:hsl(var(--code-fg));cursor:text;font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace;font-size:12px;line-height:1.6;max-height:360px;overflow-y:auto;padding:12px 14px;-moz-user-select:text;user-select:text;-webkit-user-select:text;white-space:pre-wrap;width:100%;word-break:break-all}.code-fullscreen-body .json-tree-body{flex:1;height:100%;max-height:none}.code-block-bar .btn-ghost,.code-fullscreen-bar .btn-ghost,.json-tree-bar .btn-ghost{color:hsla(0,0%,100%,.88)}.code-block-bar .btn-ghost:hover,.code-fullscreen-bar .btn-ghost:hover,.json-tree-bar .btn-ghost:hover{background:hsla(0,0%,100%,.14);color:#fff;opacity:1}.json-row{display:block}.json-caret{color:hsla(0,0%,100%,.6);cursor:pointer;display:inline-block;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:14px}.json-key{color:#edb25e}.json-string{color:#61d186}.json-number{color:#6cb8ef}.json-boolean{color:#c68de2}.json-null{color:#8c8c8c}.json-bracket{color:hsla(0,0%,100%,.5)}.dialog-mask{align-items:center;background:rgba(0,0,0,.45);bottom:0;display:flex;flex-direction:row;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:900}.dialog{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-lg);max-width:480px;overflow:hidden;width:82%}.dialog-title{color:hsl(var(--card-foreground));font-size:15px;font-weight:600;padding:14px 16px 0}.dialog-body{color:hsl(var(--muted-foreground));font-size:13px;padding:10px 16px 14px}.dialog-footer{display:flex;flex-direction:row;gap:8px;justify-content:flex-end;padding:10px 16px 14px}.toast-host{align-items:center;bottom:72px;display:flex;flex-direction:column;left:0;pointer-events:none;position:fixed;right:0;z-index:1000}.toast-host-center{bottom:auto;top:50%;transform:translateY(-50%)}.toast{background:hsl(var(--foreground));border-radius:var(--radius-sm);box-shadow:var(--shadow-md);color:hsl(var(--background));font-size:13px;margin-bottom:8px;padding:9px 16px}.toast-host-center .toast{font-size:15px;font-weight:500;padding:12px 20px}.toast-success{background:hsl(var(--success));color:#fff}.toast-error{background:hsl(var(--destructive));color:#fff}.confirm-backdrop{align-items:center;background:rgba(15,23,42,.45);bottom:0;display:flex;justify-content:center;left:0;padding:16px;position:fixed;right:0;top:0;z-index:1100}.confirm-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-lg);color:hsl(var(--card-foreground));display:flex;flex-direction:column;gap:12px;max-width:360px;padding:18px 18px 14px;width:100%}.confirm-title{color:hsl(var(--foreground));font-size:15px;font-weight:600}.confirm-content{color:hsl(var(--muted-foreground));font-size:14px;line-height:1.5}.confirm-actions{display:flex;flex-direction:row;gap:10px;justify-content:flex-end;margin-top:4px}.preview-backdrop{background:rgba(0,0,0,.88);display:flex;flex-direction:column;inset:0;position:fixed;z-index:2000}.preview-header{height:calc(52px + env(safe-area-inset-top, 0px));left:0;position:absolute;right:0;top:0;z-index:4}.preview-counter{align-items:center;box-sizing:border-box;color:hsla(0,0%,100%,.85);display:flex;font-size:14px;height:calc(52px + env(safe-area-inset-top, 0px));justify-content:center;left:0;padding-top:env(safe-area-inset-top,0);pointer-events:none;position:absolute;right:0;top:0}.preview-close{align-items:center;background:hsla(0,0%,100%,.16);border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:24px;height:44px;justify-content:center;position:absolute;right:10px;top:calc(6px + env(safe-area-inset-top, 0px));transition:background .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:44px;z-index:1}.preview-close::after{border-radius:50%;content:"";inset:-8px;position:absolute}.preview-close:active{background:hsla(0,0%,100%,.32)}.preview-stage{align-items:center;box-sizing:border-box;display:flex;flex:1;justify-content:center;min-height:0;overflow:hidden;padding:60px 52px 92px;touch-action:none}.preview-image{display:block;height:100%;-o-object-fit:contain;object-fit:contain;width:100%;will-change:transform}.preview-nav{background:hsla(0,0%,100%,.16);border-radius:50%;color:#fff;cursor:pointer;font-size:26px;height:40px;line-height:40px;position:absolute;text-align:center;top:50%;transform:translateY(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:40px;z-index:3}.preview-nav:active{background:hsla(0,0%,100%,.32)}.preview-prev{left:12px}.preview-next{right:12px}.preview-thumbs{bottom:calc(12px + env(safe-area-inset-bottom, 0px));display:flex;gap:6px;justify-content:center;left:0;overflow-x:auto;padding:0 12px;position:absolute;right:0}.preview-thumb{border:2px solid transparent;border-radius:6px;box-sizing:border-box;cursor:pointer;flex:0 0 auto;height:44px;opacity:.55;overflow:hidden;width:44px}.preview-thumb-active{border-color:#fff;opacity:1}.preview-thumb-img{height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;width:100%}.badge{background:hsl(var(--muted));border-radius:6px;color:hsl(var(--muted-foreground));font-size:11px;padding:2px 8px}.badge-error{background:hsl(var(--destructive));color:#fff}.badge-success{background:hsl(var(--success));color:#fff}.badge-preset{background:hsl(var(--primary)/.12);color:hsl(var(--primary));flex-shrink:0}.badge-custom{background:hsl(var(--success)/.14);color:hsl(var(--success));flex-shrink:0}.empty{color:hsl(var(--muted-foreground));font-size:13px;padding:32px 16px;text-align:center}.ui-slider{align-items:center;cursor:pointer;display:flex;flex-direction:row;position:relative;touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:100%}.ui-slider:focus{outline:none}.ui-slider-rail{background:hsl(var(--border));border-radius:999px;flex:1;height:4px;position:relative}.ui-slider-fill{background:hsl(var(--primary));border-radius:999px;height:100%;left:0;position:absolute;top:0}.ui-slider-thumb{background:#fff;border:1px solid hsl(var(--border));border-radius:50%;box-shadow:var(--shadow-sm);left:0;position:absolute;top:50%;transform:translate(-50%,-50%);transition:transform .12s ease,box-shadow .15s ease}.ui-slider-dragging .ui-slider-thumb,.ui-slider:hover .ui-slider-thumb{transform:translate(-50%,-50%) scale(1.08)}.ui-slider:focus-visible .ui-slider-thumb{box-shadow:0 0 0 3px hsl(var(--ring)/.4)}.ui-slider-disabled{cursor:default;opacity:.5}.weui-picker__overlay{bottom:0;display:flex;flex-direction:column;justify-content:flex-end;left:0;position:fixed;right:0;top:0;z-index:3000}.weui-picker__overlay .weui-mask{background:rgba(0,0,0,.45);bottom:0;left:0;position:absolute;right:0;top:0}.weui-picker{background:hsl(var(--surface));border-radius:var(--radius) var(--radius) 0 0;border-top:1px solid hsl(var(--border));box-shadow:var(--shadow-lg);color:hsl(var(--foreground));padding-bottom:env(safe-area-inset-bottom);position:relative;width:100%;z-index:1}.weui-picker__hd{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;flex-direction:row;font-size:14px;height:44px;justify-content:space-between;padding:0 8px}.weui-picker__action{color:hsl(var(--primary));cursor:pointer;height:44px;line-height:44px;padding:0 12px}.weui-picker__action:active{opacity:.6}.weui-picker__bd{display:flex;flex-direction:row;height:238px;overflow:hidden}.weui-picker__group{flex:1;height:100%;min-width:0;overflow:hidden;position:relative}.weui-picker__mask{background-image:linear-gradient(to bottom,hsl(var(--surface)) 0,transparent 43%),linear-gradient(to top,hsl(var(--surface)) 0,transparent 43%);bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:3}.weui-picker__indicator{background:hsl(var(--muted));border-bottom:1px solid hsl(var(--border));border-top:1px solid hsl(var(--border));height:34px;left:0;pointer-events:none;position:absolute;right:0;top:102px;z-index:2}.weui-picker__content{left:0;position:absolute;right:0;top:0;z-index:1}.weui-picker__item{color:hsl(var(--foreground));font-size:15px;height:34px;line-height:34px;overflow:hidden;padding:0 12px;text-align:center;text-overflow:ellipsis;white-space:nowrap}@keyframes picker-fade-in{from{opacity:0}to{opacity:1}}@keyframes picker-slide-up{from{transform:translate3d(0,100%,0)}to{transform:translateZ(0)}}.weui-animate-fade-in{animation:picker-fade-in .2s ease both}.weui-animate-slide-up{animation:picker-slide-up .25s ease both}.weui-animate-fade-out{animation:picker-fade-in .2s ease reverse both}.weui-animate-slide-down{animation:picker-slide-up .25s ease reverse both}.shell{background:hsl(var(--background));display:flex;flex:1;flex-direction:row;min-height:0}.sidebar{background:hsl(var(--surface));border-right:1px solid hsl(var(--border));display:flex;flex-direction:column;flex-shrink:0;padding:14px 10px;width:248px}.sidebar-scroll{flex:1;min-height:0}.sidebar-brand{border-bottom:1px solid hsl(var(--border));color:hsl(var(--foreground));font-size:15px;font-weight:700;letter-spacing:.01em;margin-bottom:4px;padding:2px 10px 14px}.sidebar-search{align-items:center;display:flex;flex-direction:row;margin:0 2px 10px;position:relative}.sidebar-search-input{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);color:hsl(var(--foreground));flex:1;font-size:13px;height:34px;padding:0 28px 0 12px}.sidebar-search-input:focus{border-color:hsl(var(--ring));outline:none}.sidebar-search-clear{align-items:center;border-radius:50%;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:16px;height:18px;justify-content:center;line-height:1;position:absolute;right:8px;top:50%;transform:translateY(-50%);width:18px}.sidebar-search-clear:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.sidebar-empty{color:hsl(var(--muted-foreground));font-size:13px;padding:16px 10px;text-align:center}.sidebar-group{margin-bottom:14px}.sidebar-group + .sidebar-group{border-top:1px solid hsl(var(--border));padding-top:14px}.sidebar-group-title{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:row;font-size:12px;font-weight:600;gap:7px;letter-spacing:.05em;padding:0 10px 8px}.sidebar-group-title::before{background:hsl(var(--primary));border-radius:50%;content:"";height:4px;opacity:.7;width:4px}.sidebar-item{align-items:center;border-radius:var(--radius-sm);color:hsl(var(--foreground)/.86);display:flex;flex-direction:row;font-size:13px;justify-content:space-between;padding:8px 10px 8px 20px;transition:background .15s ease,color .15s ease}.sidebar-item-active{background:hsl(var(--accent));box-shadow:inset 2px 0 0 hsl(var(--ring));color:hsl(var(--accent-foreground));font-weight:600}.env-h5 .sidebar-item:hover{background:hsl(var(--hover))}.env-h5 .sidebar-item-active:hover{background:hsl(var(--accent))}.shell-main{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.topbar{align-items:center;background:hsl(var(--surface));border-bottom:1px solid hsl(var(--border));display:flex;flex-direction:row;height:56px;padding:0 24px;position:sticky;top:0;z-index:40}.topbar-brand{color:hsl(var(--foreground));font-size:15px;font-weight:700}.topbar-nav{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:2px;margin-right:16px}.topbar-nav-btn{align-items:center;border-radius:var(--radius-sm);color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:13px;height:30px;padding:0 12px}.topbar-nav-btn:hover{background:hsl(var(--hover));color:hsl(var(--foreground))}.topbar-right{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:2px}.topbar-search{align-items:center;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-direction:row;font-size:13px;height:34px;padding:0 12px;transition:border-color .15s ease,background .15s ease;width:300px}.topbar-search:hover{border-color:hsl(var(--primary))}.icon-btn{align-items:center;background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:50%;color:hsl(var(--muted-foreground));cursor:pointer;display:inline-flex;flex-shrink:0;font-size:16px;height:32px;justify-content:center;line-height:1;transition:border-color .15s ease,color .15s ease;width:32px}.icon-btn:hover{border-color:hsl(var(--primary));color:hsl(var(--foreground))}.theme-toggle-icon{align-items:center;background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:50%;color:hsl(var(--muted-foreground));cursor:pointer;display:inline-flex;font-size:16px;height:32px;justify-content:center;line-height:1;transition:border-color .15s ease,color .15s ease;width:32px}.theme-toggle-icon:hover{border-color:hsl(var(--primary));color:hsl(var(--foreground))}.content{flex:1;min-height:0;overflow-y:auto;padding:24px}.content-inner{margin:0 auto;max-width:960px;width:100%}.env-h5 .content::-webkit-scrollbar{height:8px;width:8px}.env-h5 .content::-webkit-scrollbar-track{background:transparent}.env-h5 .content::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:4px}.mobile-header{align-items:center;background:hsl(var(--surface));border-bottom:1px solid hsl(var(--border));display:flex;flex-direction:row;gap:10px;padding:10px 14px;position:sticky;top:0;z-index:40}.mobile-brand{color:hsl(var(--foreground));font-size:16px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-home-btn{align-items:center;background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:50%;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-shrink:0;font-size:17px;height:32px;justify-content:center;line-height:1;transition:border-color .15s ease,color .15s ease;width:32px}.mobile-home-btn:hover{border-color:hsl(var(--primary));color:hsl(var(--foreground))}.mobile-actions{align-items:center;display:flex;flex-direction:row;gap:8px}.mobile-nav-btns{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:6px}.mobile-nav-btn{align-items:center;background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:999px;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:12px;height:28px;padding:0 10px;white-space:nowrap}.mobile-nav-btn:hover{border-color:hsl(var(--primary));color:hsl(var(--foreground))}.mobile-header-right{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:6px}@media (max-width:520px){.mobile-header{gap:8px}.mobile-header .mobile-brand,.mobile-header .mobile-home-slot,.mobile-header .mobile-nav-btn{display:none}}.mobile-search-wrap{align-items:center;display:flex;flex:1;flex-direction:row;min-width:0;position:relative}.mobile-search{align-items:center;background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);color:hsl(var(--foreground));display:flex;flex:1;flex-direction:row;font-size:13px;height:34px;margin:0;min-width:0;padding:0 32px 0 12px}.mobile-search-clear{align-items:center;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;font-size:15px;height:22px;justify-content:center;line-height:1;position:absolute;right:7px;top:50%;transform:translateY(-50%);width:22px}.mobile-search-clear:hover{color:hsl(var(--foreground))}.mobile-search-dropdown{background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);box-shadow:0 8px 24px rgba(0,0,0,.18);left:0;max-height:60vh;overflow-y:auto;padding:4px;position:absolute;right:0;top:calc(100% + 6px);z-index:50}.mobile-search-dropdown-empty{color:hsl(var(--muted-foreground));font-size:13px;padding:12px;text-align:center}.mobile-search-dropdown-item{border-radius:var(--radius-sm);cursor:pointer;display:flex;flex-direction:column;gap:2px;padding:8px 10px}.mobile-search-dropdown-item-hover{background:hsl(var(--muted))}.mobile-search-dropdown-name{color:hsl(var(--foreground));font-size:14px;font-weight:600}.mobile-search-dropdown-desc{color:hsl(var(--muted-foreground));font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-root{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0}.mobile-body{background:hsl(var(--background));flex:1;min-height:0;overflow-y:auto;padding:14px 14px calc(28px + env(safe-area-inset-bottom, 0px))}.mobile-body-tabbar{padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px))}.mobile-tabbar{align-items:stretch;background:hsl(var(--surface));border-top:1px solid hsl(var(--border));bottom:0;display:flex;flex-direction:row;height:calc(52px + env(safe-area-inset-bottom));left:0;padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:40}.mobile-tabbar-item{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex:1;flex-direction:column;gap:3px;justify-content:center}.mobile-tabbar-item-active{color:hsl(var(--foreground))}.mobile-tabbar-icon{height:24px;width:24px}.mobile-tabbar-text{font-size:11px;line-height:1}.section-title{align-items:center;color:hsl(var(--foreground));display:flex;flex-direction:row;font-size:13px;font-weight:600;letter-spacing:.02em;margin:22px 0 12px}.section-title::before{background:hsl(var(--primary));border-radius:2px;content:"";display:block;height:13px;margin-right:8px;width:3px}.section-title-first{margin-top:4px}.section-title:not(.section-title-first){border-top:1px solid hsl(var(--border));margin-top:28px;padding-top:18px}.set-list > .set-row + .set-row{border-top:1px solid hsl(var(--border));margin-top:14px;padding-top:14px}.set-list > .set-row.kv-row-clickable{margin-left:0;margin-right:0}.tool-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.tool-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);box-sizing:border-box;padding:14px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;width:calc(33.33% - 8px)}.tool-card-wide{width:calc(50% - 6px)}.tool-card-name{color:hsl(var(--card-foreground));font-size:14px;font-weight:600}.tool-card-desc{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:hsl(var(--muted-foreground));display:-webkit-box;font-size:12px;line-height:1.45;margin-top:4px;overflow:hidden}.env-h5 .tool-card:hover{border-color:hsl(var(--ring));box-shadow:var(--shadow-md);transform:translateY(-2px)}@media (max-width:767px){.tool-card,.tool-card-wide{width:calc(50% - 6px)}}.tool-head{align-items:flex-start;display:flex;flex-direction:row;gap:12px;justify-content:space-between;margin-bottom:16px}.tool-head-main{min-width:0}.tool-head-actions{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:8px}.tool-title{color:hsl(var(--foreground));font-size:20px;font-weight:700;letter-spacing:.01em}.tool-desc{color:hsl(var(--muted-foreground));font-size:13px;margin-top:4px}.tool-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.tool-actions .btn-copy{margin-left:auto}.result-ok{color:hsl(var(--success));font-size:12px}.result-err{color:hsl(var(--destructive));font-size:12px}.error-page{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;display:flex;flex-direction:column;gap:12px;margin:16px;padding:40px 20px;text-align:center}.error-page-icon{align-items:center;background:hsl(var(--destructive));border-radius:50%;color:#fff;display:flex;font-size:28px;font-weight:700;height:48px;justify-content:center;width:48px}.error-page-title{font-size:16px;font-weight:600}.error-page-desc{color:hsl(var(--muted-foreground));font-size:13px;line-height:1.6;max-width:480px}.error-page-msg{color:hsl(var(--destructive));font-size:12px;max-width:480px}.error-page-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:4px}.error-page-foot{margin-top:4px;max-width:480px}.palette-mask{align-items:flex-start;backdrop-filter:blur(2px);background:rgba(0,0,0,.45);bottom:0;display:flex;flex-direction:row;justify-content:center;left:0;padding-top:12vh;position:fixed;right:0;top:0;z-index:950}.palette{animation:palette-in .16s ease;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-lg);max-width:600px;overflow:hidden;width:92%}@keyframes palette-in{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}.palette-bar{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;flex-direction:row;height:46px;justify-content:space-between;padding:0 8px 0 16px}.palette-bar-title{color:hsl(var(--foreground));font-size:13px;font-weight:600}.palette-head{align-items:center;border-bottom:1px solid hsl(var(--border));display:flex;flex-direction:row;gap:8px;height:52px;padding:0 12px}.palette-search-icon{color:hsl(var(--muted-foreground));flex-shrink:0;font-size:18px;line-height:1}.palette-input{background:transparent;border:none;color:hsl(var(--foreground));flex:1;font-size:15px;height:36px;line-height:1.4;min-width:0;outline:none;width:auto}.env-h5 .palette-input > .weui-input{background:transparent;border:none;color:inherit;padding:0}.palette-clear{align-items:center;border-radius:50%;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-shrink:0;font-size:16px;height:22px;justify-content:center;line-height:1;width:22px}.palette-clear:hover{background:hsl(var(--hover));color:hsl(var(--foreground))}.palette-close{align-items:center;background:hsl(var(--surface));border:1px solid hsl(var(--border));border-radius:50%;color:hsl(var(--muted-foreground));cursor:pointer;display:flex;flex-shrink:0;font-size:16px;height:28px;justify-content:center;line-height:1;margin-left:auto;transition:border-color .15s ease,color .15s ease;width:28px}.palette-close:hover{border-color:hsl(var(--primary));color:hsl(var(--foreground))}.palette-list{-ms-overflow-style:none;max-height:420px;overflow-y:auto;padding:8px;scrollbar-width:none}.palette-list::-webkit-scrollbar{display:none}.palette-group + .palette-group{margin-top:4px}.palette-cat{color:hsl(var(--muted-foreground));font-size:11px;font-weight:600;letter-spacing:.02em;padding:8px 10px 4px}.palette-item{align-items:center;border-radius:var(--radius-sm);cursor:pointer;display:flex;flex-direction:row;gap:10px;padding:8px 10px;transition:background .12s ease}.palette-item-active{background:hsl(var(--accent));box-shadow:inset 2px 0 0 hsl(var(--primary))}.palette-avatar{align-items:center;background:hsl(var(--muted));border-radius:8px;color:hsl(var(--foreground));display:flex;flex-shrink:0;font-size:13px;font-weight:600;height:30px;justify-content:center;width:30px}.palette-item-main{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0}.palette-item-name{color:hsl(var(--foreground));font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.palette-item-desc{color:hsl(var(--muted-foreground));font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.palette-item-enter{color:hsl(var(--muted-foreground));flex-shrink:0;font-size:12px;opacity:0}.palette-item-active .palette-item-enter{opacity:1}.palette-empty{color:hsl(var(--muted-foreground));font-size:12px;padding:28px 0;text-align:center}.palette-foot{align-items:center;background:hsl(var(--surface));border-top:1px solid hsl(var(--border));display:flex;flex-direction:row;gap:16px;padding:9px 14px}.palette-foot-hint{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:row;font-size:11px;gap:5px}.palette-foot-kbd{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:5px;color:hsl(var(--muted-foreground));display:inline-flex;font-size:11px;height:18px;justify-content:center;min-width:18px;padding:0 5px}.only-pc{display:flex}.only-mobile{display:none}@media (max-width:1023px){.only-pc{display:none}.only-mobile{display:flex}}.mobile-menu-btn{flex-shrink:0}.mobile-drawer-root{bottom:0;left:0;position:fixed;right:0;top:0;z-index:60}.mobile-drawer-backdrop{animation:drawer-fade .18s ease;background:rgba(0,0,0,.45);bottom:0;left:0;position:absolute;right:0;top:0}.mobile-drawer{animation:drawer-slide .22s ease forwards;background:hsl(var(--surface));box-shadow:0 0 24px rgba(0,0,0,.28);display:flex;height:100%;left:0;position:absolute;top:0;transform:translateX(-100%);width:248px}.mobile-drawer .sidebar{border-right:none;width:100%}@keyframes drawer-slide{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes drawer-fade{from{opacity:0}to{opacity:1}}.kv-row{align-items:flex-start;display:flex;flex-direction:row;justify-content:space-between}.kv-key{color:hsl(var(--muted-foreground));flex-shrink:0;font-size:12px}.kv-value{color:hsl(var(--foreground));flex:1;font-size:12px;margin-left:12px;text-align:right;word-break:break-all}.kv-row-clickable{border-radius:8px;cursor:pointer;margin:-4px -8px;padding:4px 8px;transition:background .15s ease}.kv-row-clickable:active{background:hsl(var(--muted)/.4)}.stat-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px}.stat-item{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);box-sizing:border-box;padding:12px 14px;width:calc(33.33% - 8px)}.stat-value{color:hsl(var(--foreground));font-size:18px;font-weight:700}.stat-label{color:hsl(var(--muted-foreground));font-size:12px;margin-top:2px}@media (max-width:767px){.stat-item{width:calc(50% - 6px)}}.qr-box{background:#fff;border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:10px}.qr-scroll{max-height:360px}.qr-art{color:#000;display:block;font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace;font-size:8px;line-height:8px;white-space:pre}.tz-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.tz-item{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);color:hsl(var(--foreground));font-size:12px;padding:6px 12px;transition:background .15s ease,border-color .15s ease}.tz-item-active{background:hsl(var(--accent));border-color:hsl(var(--foreground));box-shadow:var(--shadow-md);font-weight:600}.tz-item-hover{background:hsl(var(--accent))}.diff-list{border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:2px;overflow:hidden;padding:4px}.diff-row{border-radius:5px;display:flex;flex-direction:row;font-size:12px;padding:5px 10px}.diff-mark{color:hsl(var(--muted-foreground));flex-shrink:0;width:14px}.diff-no{color:hsl(var(--muted-foreground)/.65);flex-shrink:0;font-size:11px;padding-right:8px;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:38px}.diff-text{display:flex;flex:1;flex-direction:row;flex-wrap:wrap;word-break:break-all}.diff-word{white-space:pre-wrap}.diff-word-add{background:hsl(var(--success)/.22);border-radius:3px;color:hsl(var(--foreground))}.diff-word-del{background:hsl(var(--destructive)/.18);border-radius:3px;color:hsl(var(--foreground));text-decoration:line-through;-webkit-text-decoration-color:hsl(var(--destructive)/.7);text-decoration-color:hsl(var(--destructive)/.7)}.diff-same{color:hsl(var(--muted-foreground))}.diff-add{background:hsl(var(--success)/.1);color:hsl(var(--foreground))}.diff-del{background:hsl(var(--destructive)/.1);color:hsl(var(--foreground))}.diff-row.diff-add .diff-mark{color:hsl(var(--success));font-weight:700}.diff-row.diff-del .diff-mark{color:hsl(var(--destructive));font-weight:700}.swatch{align-items:center;border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;flex-direction:row;height:88px;justify-content:center}.swatch-text{font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace;font-size:14px;font-weight:600}.thumb-box{height:72px;position:relative;width:72px}.thumb-image{border-radius:8px;height:72px;width:72px}.thumb-remove{background:hsl(var(--destructive));border-radius:10px;color:hsl(var(--destructive-foreground));cursor:pointer;font-size:12px;height:20px;line-height:20px;position:absolute;right:-6px;text-align:center;top:-6px;-moz-user-select:none;user-select:none;-webkit-user-select:none;width:20px}.thumb-add{align-items:center;background:hsl(var(--muted));border:1.5px dashed hsl(var(--border));cursor:pointer;display:flex;justify-content:center}.thumb-add-plus{color:hsl(var(--muted-foreground));font-size:28px;line-height:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.result-grid{gap:4px}.result-cell{background:hsl(var(--muted));border-radius:6px;height:90px;-o-object-fit:contain;object-fit:contain}.result-cell-wrap{height:90px;width:100%}.result-dl{background:rgba(0,0,0,.55);border-radius:4px;bottom:4px;font-size:13px;height:22px;right:4px;width:22px}.result-dl:active{background:rgba(0,0,0,.75)}.image-picker{border-radius:12px}.image-picker-active{background:hsl(var(--primary)/.06);outline:2px dashed hsl(var(--primary));outline-offset:4px}.image-empty{align-items:center;background:hsl(var(--muted)/.35);border:1.5px dashed hsl(var(--border));border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:6px;justify-content:center;padding:30px 16px;transition:border-color .15s ease,background .15s ease}.image-empty:hover{background:hsl(var(--primary)/.06);border-color:hsl(var(--primary))}.image-empty-plus{color:hsl(var(--muted-foreground));font-size:30px;line-height:1}.image-empty-text{color:hsl(var(--muted-foreground));font-size:13px}.thumb-tap{border-radius:8px;cursor:pointer;height:72px;overflow:hidden;width:72px}.thumb-image{display:block;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;width:100%}.result-grid{display:grid;gap:8px}.result-cell-wrap{background:hsl(var(--muted));border-radius:10px;overflow:hidden;position:relative}.result-tap{cursor:pointer;height:96px;width:100%}.result-tap.is-square{aspect-ratio:1/1;height:auto}.result-cell{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.result-dl{align-items:center;background:rgba(0,0,0,.5);border-radius:6px;bottom:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;height:26px;justify-content:center;line-height:1;position:absolute;right:6px;width:26px}.result-dl:hover{background:rgba(0,0,0,.72)}.thumb-img-inner{display:block;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;width:100%}.thumb-img-loading{animation:thumb-loading 1.1s ease-in-out infinite;background:hsl(var(--muted))}@keyframes thumb-loading{0%,100%{opacity:.5}50%{opacity:1}}.result-item{display:flex;flex-direction:column;gap:6px}.result-cell-img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;width:100%}.result-dl-row{display:flex;justify-content:center}.result-dl-btn{background:hsl(var(--muted));border-radius:8px;color:hsl(var(--foreground));cursor:pointer;flex:0 1 auto;font-size:13px;line-height:1;min-width:96px;padding:9px 16px;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.result-dl-btn:active{background:hsl(var(--muted-foreground)/.2)}.result-single{align-items:center;background:hsl(var(--muted)/.3);border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:8px}.result-single-img{border-radius:8px;display:block;max-width:100%;pointer-events:none}.btn-grow{flex:1 1 auto}.btn-nowrap{flex-shrink:0;white-space:nowrap}.mt-beat-dot{align-items:center;background:hsl(var(--muted));border-radius:22px;color:hsl(var(--muted-foreground));display:flex;flex:none;font-weight:700;height:44px;justify-content:center;width:44px}.mt-beat-dot-strong{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground))}.mt-beat-dot-on{background:hsl(var(--success));color:hsl(var(--success-foreground))}.stat-display{color:hsl(var(--foreground));font-size:36px;font-weight:700;line-height:1.2}.stat-track{background:hsl(var(--muted));border-radius:999px;height:10px;overflow:hidden}.reaction-stage{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);color:hsl(var(--foreground));cursor:pointer;display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:180px;padding:24px;transition:background .15s ease,border-color .15s ease;-moz-user-select:none;user-select:none;-webkit-user-select:none}.reaction-stage-preparing{background:hsl(var(--warning)/.12);border-color:hsl(var(--warning)/.5)}.reaction-stage-testing{background:hsl(var(--destructive)/.12);border-color:hsl(var(--destructive)/.5);color:hsl(var(--destructive))}.color-pick-preview{align-items:center;border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:4px;height:104px;justify-content:center}.color-pick-preview-hex{font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace;font-size:20px;font-weight:700}.color-pick-preview-tip{font-size:12px;opacity:.85}.color-scale{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}.color-scale-item{align-items:flex-end;border:1px solid hsl(var(--border));border-radius:var(--radius-sm);box-sizing:border-box;cursor:pointer;display:flex;flex:1;height:46px;justify-content:center;min-width:62px;padding-bottom:4px}.color-scale-label{font-family:SFMono-Regular,Menlo,Consolas,Courier New,monospace;font-size:10px}.cp-file{display:none}.cp-sample-image{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);cursor:crosshair;display:block;max-height:320px;max-width:100%}.md-preview{word-break:break-word}.wb-stage{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius);height:clamp(340px,58vh,620px);overflow:hidden;position:relative;touch-action:none;width:100%}.wb-canvas{background:#fff;border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);display:block;height:100%;touch-action:none;width:100%}.wb-swatch{border:2px solid hsl(var(--border));border-radius:6px;cursor:pointer;height:26px;width:26px}.wb-text-popover{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-md);padding:10px;position:absolute;width:220px;z-index:5}.wb-text-popover .textarea{display:flex;min-height:72px}.wb-text-popover .taro-textarea,.wb-text-popover taro-textarea-core{flex:1;height:100%}.wb-icon{flex:none;margin-right:6px}.wb-width-input{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);box-sizing:border-box;color:hsl(var(--foreground));flex:none;font-size:14px;height:32px;padding:0 8px;width:84px}.wb-width-input:focus{border-color:hsl(var(--ring));outline:none}.scan-video-box{background:#000;border-radius:var(--radius-sm);height:320px;overflow:hidden;position:relative;width:100%}.scan-frame{border-radius:8px;height:72%;left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:72%}.scan-corner{border:3px solid #fff;height:18px;position:absolute;width:18px}.scan-corner.tl{border-bottom:0;border-right:0;left:0;top:0}.scan-corner.tr{border-bottom:0;border-left:0;right:0;top:0}.scan-corner.bl{border-right:0;border-top:0;bottom:0;left:0}.scan-corner.br{border-left:0;border-top:0;bottom:0;right:0}.scan-line{animation:scanMove 2s linear infinite;background:linear-gradient(to right,transparent,hsl(var(--ring)),transparent);height:2px;left:0;position:absolute;right:0;top:0}@keyframes scanMove{0%{top:0}100%{top:100%}}.qr-result-item{align-items:flex-start;border-top:1px solid hsl(var(--border));display:flex;gap:8px;padding:10px 0}.qr-result-seq{color:hsl(var(--muted-foreground));flex-shrink:0;font-weight:600;min-width:28px;text-align:center}.qr-result-main{flex:1;min-width:0}.qr-result-thumb{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;cursor:pointer;flex-shrink:0;height:44px;-o-object-fit:cover;object-fit:cover;width:44px}.qr-preview-mask{background:rgba(0,0,0,.92);display:flex;flex-direction:column;inset:0;position:fixed;z-index:1000}.qr-preview-top{align-items:flex-start;background:hsl(var(--card)/.96);border-bottom:1px solid hsl(var(--border));display:flex;flex-shrink:0;gap:8px;padding:12px 14px}.qr-preview-content-box{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.qr-preview-label{color:hsl(var(--muted-foreground));font-size:12px}.qr-preview-content{color:hsl(var(--foreground));font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-all}.qr-preview-stage{align-items:center;display:flex;flex:1;justify-content:center;min-height:0;overflow:auto;padding:16px}.qr-preview-img{background:#fff;border-radius:8px;max-height:70vh;max-width:86vw;-o-object-fit:contain;object-fit:contain;transition:transform .2s ease}.qr-preview-bar{align-items:center;background:hsl(var(--card)/.96);border-top:1px solid hsl(var(--border));display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px;justify-content:center;padding:12px 14px}.crop-canvas-area{display:flex;flex-direction:column;gap:8px}.crop-canvas-wrapper{background:#000;border-radius:var(--radius-sm);height:360px;overflow:hidden;position:relative;touch-action:none;width:100%}.crop-canvas{display:block;height:100%;width:100%}.crop-canvas-empty,.crop-canvas-loading{align-items:center;color:hsl(var(--muted-foreground));display:flex;font-size:14px;inset:0;justify-content:center;padding:0 16px;position:absolute;text-align:center}.crop-canvas-hint{color:hsl(var(--muted-foreground));font-size:12px}.grid-templates{display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}.grid-template-card{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:10px}.grid-template-active{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring)/.18)}.grid-template-preview{background:hsl(var(--muted));border-radius:4px;display:grid;gap:2px;height:72px;padding:4px;width:72px}.grid-template-cell{background:hsl(var(--foreground)/.25);border-radius:1px}.grid-template-name{font-size:13px;font-weight:600;text-align:center}.wb-board:fullscreen{background:hsl(var(--background));box-sizing:border-box;display:flex;flex-direction:column;gap:12px;height:100vh;overflow:auto;padding:12px;width:100vw}.wb-board:fullscreen .wb-stage{align-items:stretch;display:flex;flex:1;justify-content:center;min-height:0;overflow:hidden}.wb-board:fullscreen .wb-canvas{max-height:100%;max-width:100%}.mm-stage{background:hsl(var(--card));border-radius:var(--radius-sm);box-sizing:border-box;height:460px;max-height:460px;overflow:hidden;position:relative;touch-action:none;width:100%}.mm-canvas{position:relative;transform-origin:0 0}.mm-node{align-items:center;border:1px solid hsl(var(--border));border-radius:8px;box-shadow:var(--shadow-sm);box-sizing:border-box;cursor:pointer;display:flex;flex-direction:row;justify-content:center;padding:0 10px;position:absolute}.mm-node-active{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring)/.18)}.mm-node-text{flex:1;font-size:13px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.mm-node-badge{font-size:12px;margin-left:4px;opacity:.75}.mm-link{background:hsl(var(--border));height:2px;position:absolute;transform-origin:0 0}.mm-status{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:6px;padding:10px 12px}.mm-board:fullscreen{background:hsl(var(--background));box-sizing:border-box;display:flex;flex-direction:column;gap:12px;height:100vh;overflow:auto;padding:12px;width:100vw}.mm-board:fullscreen .mm-stage{flex:1;max-height:none;min-height:0}.mm-node-actions{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.15);display:flex;flex-wrap:wrap;gap:4px;padding:5px;position:absolute;z-index:5}.mm-edit{box-sizing:border-box;display:flex;flex-direction:column;gap:4px;position:absolute;z-index:6}.mm-edit-input{background:hsl(var(--card));border:2px solid hsl(var(--ring));border-radius:8px;box-sizing:border-box;color:hsl(var(--foreground));flex:1;font-size:13px;text-align:center;width:100%}.mm-toolbar{margin-bottom:12px}.mm-modal-mask{align-items:center;background:rgba(0,0,0,.45);display:flex;inset:0;justify-content:center;padding:16px;position:fixed;z-index:200}.mm-modal{background:hsl(var(--card));border-radius:var(--radius);box-shadow:var(--shadow-lg);box-sizing:border-box;max-height:80vh;max-width:420px;overflow:auto;padding:16px;width:100%}.mm-modal-title{color:hsl(var(--foreground));font-size:15px;font-weight:600}.mm-doc-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.mm-doc-row{align-items:center;background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);display:flex;flex-direction:row;gap:8px;justify-content:space-between;padding:8px 10px}.mm-doc-info{cursor:pointer;flex:1;min-width:0}.mm-doc-name{color:hsl(var(--foreground));font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fav-row{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);display:flex;flex-direction:row;padding:12px 14px;transition:transform .15s ease,box-shadow .15s ease}.fav-name{color:hsl(var(--card-foreground));font-size:14px;font-weight:600}.fav-desc{color:hsl(var(--muted-foreground));font-size:12px;margin-top:2px}.drop-zone{background:hsl(var(--background));border:1px dashed hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);box-sizing:border-box;padding:14px;width:100%}.drop-zone-active{background:hsl(var(--accent));border-color:hsl(var(--foreground))}.drop-hint{color:hsl(var(--muted-foreground));font-size:12px;margin-top:8px;text-align:center}.file-preview{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:var(--radius);box-shadow:var(--shadow-sm);cursor:pointer;padding:10px}.file-preview-image{display:block;height:200px;-o-object-fit:contain;object-fit:contain;pointer-events:none;width:100%}.qr-swatch{border:2px solid hsl(var(--border));border-radius:6px;box-sizing:border-box;cursor:pointer;height:26px;width:26px}.qr-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.qr-grid-item{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);box-sizing:border-box;display:flex;flex-direction:column;gap:6px;padding:8px;width:calc(25% - 9px)}.qr-grid-image{border-radius:6px;display:block;width:100%}@media (max-width:767px){.qr-grid-item{width:calc(50% - 6px)}}.qr-canvas{align-items:center;display:flex;flex-direction:column}.qr-canvas-image{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);display:block;height:260px;width:260px}.qr-canvas-node{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-sm);height:260px;width:260px}.qr-transparent-bg{background-color:#fff;background-image:linear-gradient(45deg,#cbd5e1 25%,transparent 0,transparent 75%,#cbd5e1 0),linear-gradient(45deg,#cbd5e1 25%,transparent 0,transparent 75%,#cbd5e1 0);background-position:0 0,6px 6px;background-size:12px 12px}.btn-hover{opacity:.85;transform:translateY(1px)}.tool-card-hover{background:hsl(var(--hover));box-shadow:var(--shadow-md);transform:translateY(-2px)}.sidebar-item-hover{background:hsl(var(--hover))}.fav-row-hover{background:hsl(var(--hover));box-shadow:var(--shadow-md);transform:translateY(-1px)}.tz-item-hover{background:hsl(var(--hover))}.emoji-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(48px,1fr))}.emoji-cell{align-items:center;border:1px solid hsl(var(--border));border-radius:var(--radius-sm);cursor:pointer;display:flex;height:48px;justify-content:center;transition:transform .08s ease,box-shadow .08s ease}.emoji-cell:active{box-shadow:0 0 0 2px hsl(var(--primary));transform:scale(1.12)}.emoji-char{font-size:26px;line-height:1}.emoji-count{margin-right:4px}.emoji-detail-char{font-size:48px;margin-bottom:8px;text-align:center}.status-list{display:flex;flex-direction:column;gap:8px}.status-row{align-items:center;border:1px solid hsl(var(--border));border-left-width:4px;border-radius:var(--radius-sm);cursor:pointer;display:flex;gap:12px;padding:10px 12px;text-align:left}.status-code{font-size:18px;font-weight:800;min-width:52px}.status-main{flex:1;min-width:0}.status-text{font-weight:600}.status-cls{color:hsl(var(--muted-foreground));font-size:12px}.status-信息{border-left-color:#3b82f6}.status-成功{border-left-color:#22c55e}.status-重定向{border-left-color:#f59e0b}.status-客户端错误{border-left-color:#ef4444}.status-服务端错误{border-left-color:#a855f7}.port-list{display:flex;flex-direction:column;gap:8px}.port-row{align-items:center;border:1px solid hsl(var(--border));border-radius:var(--radius-sm);cursor:pointer;display:flex;gap:12px;padding:10px 12px;text-align:left}.port-num{font-size:18px;font-weight:800;min-width:60px}.port-main{flex:1;min-width:0}.port-service{font-weight:600}.port-proto{color:hsl(var(--muted-foreground));font-size:12px}.port-cat{margin-top:2px}.scheme-item{align-items:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:10px;box-sizing:border-box;color:hsl(var(--card-foreground));display:flex;flex-direction:row;gap:10px;margin-bottom:8px;padding:10px 12px;transition:border-color .15s ease,background .15s ease;width:100%}.scheme-item:hover{border-color:hsl(var(--primary)/.5)}.scheme-item-active{background:hsl(var(--primary)/.08);border-color:hsl(var(--ring))}.scheme-item-info{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}.scheme-item-name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scheme-item-meta{color:hsl(var(--muted-foreground));font-size:12px}.scheme-item-actions{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:4px}.calc-pad{max-width:480px;width:100%}.calc-top{display:grid;gap:10px;grid-template-columns:repeat(4,1fr)}.calc-top .calc-key{grid-column:span 2}.calc-keys{display:grid;gap:10px;grid-template-columns:repeat(4,1fr);margin-top:14px}.calc-funcs{display:grid;gap:10px;grid-template-columns:repeat(3,1fr);margin-top:14px}.calc-key{align-items:center;background:hsl(var(--muted)/.55);border:1px solid hsl(var(--border));border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.06);color:hsl(var(--foreground));cursor:pointer;display:flex;font-size:20px;font-weight:600;height:52px;justify-content:center;transition:transform .06s ease,background .15s ease,box-shadow .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.calc-key:active{background:hsl(var(--muted)/.9);box-shadow:inset 0 1px 3px rgba(0,0,0,.12);transform:scale(.96)}.calc-key-op{background:#f97415;border-color:#ea6506;color:#fff}.calc-key-op:active{background:#e06106}.calc-key-fn{background:hsl(var(--primary)/.12);border-color:hsl(var(--primary)/.25);color:hsl(var(--primary));font-size:15px;height:52px;padding:0 6px}.calc-key-fn:active{background:hsl(var(--primary)/.22);transform:scale(.96)}.calc-key-danger{background:rgba(230,26,26,.12);border-color:rgba(230,26,26,.3);color:#d61f1f}.calc-key-danger:active{background:rgba(230,26,26,.22)}.calc-key-eq{background:hsl(var(--primary));border-color:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:700;letter-spacing:2px;margin-top:10px}.calc-key-wide{margin-top:8px;width:100%}.calc-layout{display:flex;flex-direction:column}.calc-layout-pc{align-items:flex-start;flex-direction:row;gap:16px}.calc-layout-pc > .calc-left{flex:0 1 480px;min-width:0}.calc-layout-pc > .calc-right{flex:1 1 auto;min-width:0;position:sticky;top:0}.calc-result{display:flex;flex-direction:column;gap:6px}.calc-result-expr{color:hsl(var(--muted-foreground));font-size:13px;word-break:break-all}.calc-result-value{color:hsl(var(--primary));font-size:32px;font-weight:700;line-height:1.25;word-break:break-all}.calc-layout-pc .calc-result-value{font-size:40px}.calc-result-empty{color:hsl(var(--muted-foreground));font-size:14px;padding:4px 0}.calc-result-err{color:hsl(var(--destructive));font-size:14px;padding:4px 0}.calc-result-actions{margin-top:8px}.lottery-tpls{display:grid;gap:10px;grid-template-columns:repeat(3,1fr)}.lottery-tpl{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-sm);cursor:pointer;padding:10px 8px;text-align:center;transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease}.lottery-tpl:active{transform:scale(.98)}.lottery-tpl-active{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.35)}.lottery-tpl-name{color:hsl(var(--foreground));font-size:13px;font-weight:600;margin-top:8px}.lottery-tpl-desc{color:hsl(var(--muted-foreground));font-size:11px;line-height:1.3;margin-top:2px}.tpl-demo{align-items:center;background:hsl(var(--muted));border-radius:8px;display:flex;height:56px;justify-content:center;overflow:hidden;position:relative;width:100%}.tpl-demo-roll{-webkit-text-fill-color:transparent;animation:tpl-roll 1.6s linear infinite;background:linear-gradient(90deg,hsl(var(--primary)),hsl(var(--ring)),hsl(var(--primary)));-webkit-background-clip:text;background-clip:text;background-size:200% 100%;color:hsl(var(--primary));font-size:15px;font-weight:700}@keyframes tpl-roll{0%{background-position:0 50%}100%{background-position:200% 50%}}.tpl-demo-flip{animation:tpl-flip 2s linear infinite;height:44px;position:relative;transform-style:preserve-3d;width:34px}.tpl-demo-flip-face{align-items:center;backface-visibility:hidden;border-radius:6px;display:flex;font-size:16px;font-weight:700;inset:0;justify-content:center;position:absolute}.tpl-demo-flip-back{background:hsl(var(--border));color:hsl(var(--muted-foreground))}.tpl-demo-flip-front{background:hsl(var(--primary));color:hsl(var(--primary-foreground));transform:rotateY(180deg)}@keyframes tpl-flip{0%,40%{transform:rotateY(0deg)}100%,60%{transform:rotateY(180deg)}}.tpl-demo-spot{animation:tpl-spot 1.8s ease-in-out infinite;background:radial-gradient(circle,hsl(var(--warning)),hsl(var(--warning)/.2) 70%,transparent);border-radius:50%;height:26px;width:26px}@keyframes tpl-spot{0%,100%{opacity:.5;transform:scale(.7)}50%{opacity:1;transform:scale(1.15)}}.tpl-demo-confetti{height:100%;position:relative;width:100%}.tpl-demo-confetti-piece{animation:tpl-confetti 1.4s linear infinite;border-radius:1px;height:8px;position:absolute;top:-6px;width:5px}@keyframes tpl-confetti{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(58px) rotate(1turn)}}.tpl-demo-slot{animation:tpl-bob 1.6s ease-in-out infinite;font-size:22px}@keyframes tpl-bob{0%,100%{transform:translateY(-3px)}50%{transform:translateY(3px)}}.tpl-demo-wheel{animation:tpl-wheel 2s linear infinite;background:conic-gradient(#ff5252 0 25%,#ffd740 0 50%,#40c4ff 0 75%,#69f0ae 0 100%);border:3px solid #fff;border-radius:50%;height:42px;width:42px}@keyframes tpl-wheel{to{transform:rotate(1turn)}}.lottery-colors{display:flex;flex-direction:column;gap:10px;width:100%}.lottery-colors-swatches{display:flex;flex-wrap:wrap;gap:8px}.lottery-swatch{align-items:center;border:2px solid hsl(var(--border));border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);cursor:pointer;display:flex;height:32px;justify-content:center;transition:transform .1s ease,border-color .15s ease,box-shadow .15s ease;width:32px}.lottery-swatch:active{transform:scale(.92)}.lottery-swatch-active{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.4)}.lottery-swatch-auto{color:hsl(var(--muted-foreground));font-size:12px}.lottery-colors-custom{width:100%}.lottery-bgs{display:flex;flex-wrap:wrap;gap:10px}.lottery-bg{border:2px solid hsl(var(--border));border-radius:8px;cursor:pointer;height:32px;transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease;width:44px}.lottery-bg:active{transform:scale(.95)}.lottery-bg-active{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsl(var(--ring)/.35)}.lottery-bg-custom{align-items:center;background-color:hsl(var(--muted));background-position:50%;background-size:cover;border-style:dashed;display:flex;justify-content:center;overflow:hidden;position:relative}.lottery-bg-add{align-items:center;color:hsl(var(--muted-foreground));display:flex;flex-direction:column;gap:2px;justify-content:center}.lottery-bg-plus{font-size:18px;line-height:1}.lottery-bg-custom-label{color:hsl(var(--muted-foreground));font-size:11px}.lottery-bg-tag{background:rgba(0,0,0,.55);border-top-right-radius:6px;bottom:0;color:#fff;font-size:10px;left:0;line-height:1.4;padding:1px 6px;position:absolute}.lottery-bg-remove{align-items:center;background:rgba(0,0,0,.55);border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:11px;height:18px;justify-content:center;line-height:1;position:absolute;right:2px;top:2px;width:18px}.lottery-disclaimer-title{color:hsl(var(--foreground));font-size:13px;font-weight:600;margin-bottom:6px}.lottery-overlay{align-items:center;background:rgba(0,0,0,.6);display:flex;inset:0;justify-content:center;padding:0;position:fixed;z-index:1000}.lottery-stage{align-items:center;background:radial-gradient(circle at 50% 26%,hsl(var(--primary)/.2),transparent 60%),radial-gradient(circle at 50% 100%,hsl(var(--ring)/.14),transparent 55%),hsl(var(--background));border-radius:0;box-shadow:none;display:flex;flex-direction:column;height:100%;max-width:none;min-height:0;overflow:hidden;position:relative;text-align:center;width:100%}.lottery-mask{background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.16) 20%,rgba(0,0,0,.16) 66%,rgba(0,0,0,.6)),radial-gradient(130% 90% at 50% 42%,transparent 52%,rgba(0,0,0,.45) 100%);inset:0;pointer-events:none;position:absolute;z-index:1}.lottery-stage.custom-bg-stage{background-position:50%;background-repeat:no-repeat;background-size:cover}.lottery-stage-header{flex:0 0 auto;padding:clamp(12px,2.2vmin,30px) clamp(48px,7vmin,104px) clamp(6px,1.2vmin,16px);width:100%;z-index:2}.lottery-stage-title{color:hsl(var(--foreground));font-size:clamp(20px,4.4vmin,64px);font-weight:800;word-break:break-all}.lottery-stage-body{align-items:center;display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding:clamp(12px,2.4vmin,34px) clamp(16px,3vmin,44px) clamp(28px,5vmin,68px);position:relative;width:100%;z-index:2}.lottery-stage.light-text,.lottery-stage.light-text .muted{color:#fff}.lottery-stage.light-text .lottery-confetti-item,.lottery-stage.light-text .lottery-draw-label,.lottery-stage.light-text .lottery-ready-sub,.lottery-stage.light-text .lottery-ready-title,.lottery-stage.light-text .lottery-result-title,.lottery-stage.light-text .lottery-roll-item,.lottery-stage.light-text .lottery-roll-name,.lottery-stage.light-text .lottery-spot-name,.lottery-stage.light-text .lottery-stage-title,.lottery-stage.light-text .lottery-turntable-item{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.5)}.lottery-stage.light-text .lottery-confetti-item,.lottery-stage.light-text .lottery-roll-item,.lottery-stage.light-text .lottery-spot-item,.lottery-stage.light-text .lottery-turntable-item{background:rgba(0,0,0,.42)}.lottery-stage.light-text .btn-outline{border-color:hsla(0,0%,100%,.45);color:hsla(0,0%,100%,.92)}.lottery-stage.light-text .btn-ghost{color:hsla(0,0%,100%,.72)}.env-h5 .lottery-stage.light-text .btn-ghost:hover,.env-h5 .lottery-stage.light-text .btn-outline:hover{background:hsla(0,0%,100%,.14)}.lottery-stage-top{display:flex;gap:clamp(8px,1.4vmin,18px);position:absolute;right:clamp(10px,2vmin,26px);top:clamp(10px,2vmin,26px);z-index:5}.lottery-stage-top .icon-btn{backdrop-filter:blur(4px);background:hsl(var(--card)/.75);font-size:clamp(15px,2.4vmin,28px);height:clamp(32px,5vmin,60px);width:clamp(32px,5vmin,60px)}.lottery-stage-top .icon-btn-active{border-color:hsl(var(--ring));color:hsl(var(--ring))}.lottery-stage-panel{--panel-top:clamp(56px,9vmin,116px);--panel-gap:clamp(10px,2vmin,26px);-ms-overflow-style:none;backdrop-filter:blur(6px);background:hsl(var(--card)/.97);border:1px solid hsl(var(--border));border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.38);max-height:calc(100% - var(--panel-top) - var(--panel-gap));overflow-y:auto;overscroll-behavior:contain;padding:12px;position:absolute;right:var(--panel-gap);scrollbar-width:none;text-align:left;top:var(--panel-top);width:min(380px,88vw);z-index:6}.lottery-stage-panel::-webkit-scrollbar{display:none;height:0;width:0}.lottery-stage-panel-head{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-bottom:8px}.lottery-stage-panel-title{color:hsl(var(--foreground));font-size:14px;font-weight:600}.lottery-stage-panel .icon-btn{background:hsl(var(--muted));font-size:14px;height:28px;width:28px}.lottery-ready .btn{border-radius:clamp(8px,1.6vmin,20px);font-size:clamp(16px,2.4vmin,34px);height:clamp(40px,7vmin,92px);padding:0 clamp(16px,3vmin,44px)}.lottery-result-actions .btn{border-radius:clamp(8px,1.6vmin,20px);font-size:clamp(13px,2vmin,28px);height:clamp(32px,5.2vmin,74px);padding:0 clamp(12px,2.2vmin,36px)}.lottery-result-actions .btn-default{box-shadow:0 0 clamp(10px,2vmin,26px) hsl(var(--primary)/.5)}.lottery-ready{align-items:center;display:flex;flex-direction:column;gap:clamp(14px,3vmin,40px);max-width:clamp(320px,78vmin,900px);padding:clamp(16px,3vmin,44px);width:100%}.lottery-ready-title{color:hsl(var(--foreground));font-size:clamp(24px,5.4vmin,80px);font-weight:800}.lottery-ready-sub{color:hsl(var(--muted-foreground));font-size:clamp(14px,2.4vmin,34px)}.lottery-ready-hint{font-size:clamp(12px,1.9vmin,26px);margin-top:clamp(2px,.6vmin,10px)}.lottery-draw-label{color:hsl(var(--muted-foreground));font-size:clamp(14px,2.4vmin,34px);margin-bottom:clamp(10px,2vmin,26px)}.lottery-roll-name{animation:lottery-shake .1s linear infinite;color:hsl(var(--foreground));font-size:clamp(44px,11vmin,220px);font-weight:800;letter-spacing:1px;padding:0 12px;text-shadow:0 0 26px hsl(var(--ring)/.6);word-break:break-all}@keyframes lottery-shake{0%{transform:translateY(-3px)}50%{transform:translateY(3px)}100%{transform:translateY(-3px)}}.lottery-result-title{color:hsl(var(--foreground));font-size:clamp(22px,4.6vmin,68px);font-weight:700;margin-bottom:clamp(14px,3vmin,40px)}.lottery-result-actions{display:flex;flex-wrap:wrap;gap:clamp(8px,1.6vmin,22px);justify-content:center;margin-top:clamp(16px,3vmin,44px)}.lottery-roll-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(10px,1.6vmin,24px);justify-content:center;max-height:66vh;max-width:clamp(320px,88vmin,1100px);overflow-y:auto;width:100%}.lottery-roll-item{animation:lottery-roll-in .4s cubic-bezier(.2,1.3,.4,1) both;background:hsl(var(--muted));border-radius:clamp(8px,1.4vmin,20px);color:hsl(var(--foreground));font-size:clamp(24px,5vmin,76px);font-weight:600;padding:clamp(10px,1.8vmin,28px) clamp(14px,2.6vmin,40px)}@keyframes lottery-roll-in{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.lottery-flips{display:flex;flex-wrap:wrap;gap:clamp(14px,2.4vmin,34px);justify-content:center;max-height:66vh;max-width:clamp(320px,88vmin,1100px);overflow-y:auto;width:100%}.lottery-flip-card{animation:lottery-flip-in .55s cubic-bezier(.34,1.4,.5,1) forwards;background:linear-gradient(135deg,hsl(var(--primary)),hsl(var(--ring)));border-radius:clamp(12px,2vmin,28px);box-shadow:0 10px 26px hsl(var(--ring)/.35);color:hsl(var(--primary-foreground));font-size:clamp(24px,5vmin,76px);font-weight:700;min-width:clamp(150px,34vmin,420px);padding:clamp(20px,4vmin,62px) clamp(24px,5vmin,74px);transform:perspective(500px) rotateX(90deg) scale(.9)}.lottery-flip-name{text-shadow:0 2px 6px rgba(0,0,0,.25)}@keyframes lottery-flip-in{to{transform:perspective(500px) rotateX(0deg) scale(1)}}.lottery-spots{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(14px,2.4vmin,34px);justify-content:center;max-height:66vh;max-width:clamp(320px,88vmin,1100px);overflow-y:auto;width:100%}.lottery-spot-item{animation:lottery-spot-in .55s ease both;background:hsl(var(--muted));border-radius:clamp(12px,2vmin,28px);padding:clamp(16px,2.6vmin,40px)}.lottery-spot-name{color:hsl(var(--foreground));font-size:clamp(24px,5vmin,76px);font-weight:700;text-shadow:0 0 14px hsl(var(--warning)/.8)}@keyframes lottery-spot-in{from{filter:brightness(.5);opacity:0;transform:scale(.82)}to{filter:brightness(1.15);opacity:1;transform:scale(1)}}.lottery-confetti-wrap{align-items:center;display:flex;flex-direction:column;position:relative;width:100%}.lottery-confetti{height:100vh;inset:-24px -24px auto -24px;overflow:hidden;pointer-events:none;position:absolute;z-index:1}.lottery-confetti-piece{animation:lottery-confetti-fall linear infinite;border-radius:2px;height:14px;opacity:0;position:absolute;top:-16px;width:9px}@keyframes lottery-confetti-fall{0%{opacity:0;transform:translateY(-10px) rotate(0)}10%{opacity:1}100%{opacity:.9;transform:translateY(105vh) rotate(560deg)}}.lottery-confetti-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(12px,2vmin,30px);justify-content:center;max-height:62vh;max-width:clamp(320px,88vmin,1100px);overflow-y:auto;position:relative;width:100%;z-index:2}.lottery-confetti-item{animation:lottery-pop .5s cubic-bezier(.2,1.4,.4,1) both;background:hsl(var(--muted)/.92);border-radius:clamp(10px,1.6vmin,22px);box-shadow:0 6px 18px rgba(0,0,0,.18);color:hsl(var(--foreground));font-size:clamp(24px,5vmin,76px);font-weight:700;padding:clamp(10px,1.8vmin,28px) clamp(14px,2.6vmin,40px)}@keyframes lottery-pop{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.lottery-slots{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(12px,2vmin,30px);justify-content:center;max-height:64vh;max-width:clamp(320px,88vmin,1100px);overflow-y:auto;width:100%}.lottery-slot{background:linear-gradient(180deg,#1f2430,#0c0f16);border:2px solid hsl(var(--ring));border-radius:clamp(10px,1.8vmin,24px);box-shadow:0 6px 18px rgba(0,0,0,.4);height:clamp(56px,11vmin,148px);max-width:100%;min-width:clamp(140px,30vmin,420px);overflow:hidden;position:relative}.lottery-slot-inner{align-items:center;display:flex;height:100%;justify-content:center}.lottery-slot-name{animation:lottery-slot-in .6s cubic-bezier(.2,1.2,.3,1) both;color:#ffd740;font-size:clamp(24px,5vmin,76px);font-weight:800;text-shadow:0 0 12px rgba(255,215,0,.7)}@keyframes lottery-slot-in{0%{filter:blur(3px);transform:translateY(-150%)}65%{transform:translateY(10%)}100%{filter:blur(0);transform:translateY(0)}}.lottery-turntable-wrap{align-items:center;display:flex;flex-direction:column;width:100%}.lottery-turntable{height:min(58vw,46vmin,520px);margin:0 auto clamp(14px,3vmin,40px);position:relative;width:min(58vw,46vmin,520px)}.lottery-wheel{animation:lottery-wheel-spin 3s cubic-bezier(.2,.7,.2,1) infinite;background:conic-gradient(#ff5252 0 12.5%,#ffd740 0 25%,#40c4ff 0 37.5%,#69f0ae 0 50%,#ff4081 0 62.5%,#b388ff 0 75%,#ff8a65 0 87.5%,#4dd0e1 0 100%);border:clamp(6px,1.2vmin,18px) solid #fff;border-radius:50%;box-shadow:0 0 30px hsla(0,0%,100%,.3),inset 0 0 30px rgba(0,0,0,.3);inset:0;position:absolute}@keyframes lottery-wheel-spin{from{transform:rotate(0)}to{transform:rotate(1turn)}}.lottery-wheel-pointer{border-left:clamp(10px,2vmin,28px) solid transparent;border-right:clamp(10px,2vmin,28px) solid transparent;border-top:clamp(16px,3.2vmin,46px) solid #fff;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4));height:0;left:50%;position:absolute;top:clamp(-10px,-1.6vmin,-4px);transform:translateX(-50%);width:0;z-index:2}.lottery-turntable-center{align-items:center;color:#fff;display:flex;font-size:clamp(16px,3.4vmin,52px);font-weight:800;inset:0;justify-content:center;position:absolute;text-shadow:0 0 8px rgba(0,0,0,.6);z-index:3}.lottery-turntable-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(10px,1.6vmin,24px);justify-content:center;max-height:38vh;max-width:clamp(320px,88vmin,1100px);overflow-y:auto;width:100%}.lottery-turntable-item{animation:lottery-pop .5s cubic-bezier(.2,1.4,.4,1) both;background:hsl(var(--muted)/.92);border-radius:clamp(8px,1.4vmin,20px);color:hsl(var(--foreground));font-size:clamp(24px,5vmin,76px);font-weight:700;padding:clamp(10px,1.8vmin,28px) clamp(14px,2.6vmin,40px)}.lottery-drawing-rel{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:100%}.lottery-drawing-rel .lottery-draw-label,.lottery-drawing-rel .lottery-roll-name{position:relative;z-index:1}.lottery-drawing-col{align-items:center;display:flex;flex-direction:column}.lottery-draw-flip{animation:lottery-draw-flip .9s linear infinite;height:clamp(160px,44vmin,500px);margin-top:clamp(10px,2vmin,26px);position:relative;transform-style:preserve-3d;width:clamp(120px,34vmin,380px)}.lottery-draw-flip-face{align-items:center;backface-visibility:hidden;border-radius:clamp(14px,2.4vmin,32px);display:flex;font-size:clamp(24px,6vmin,90px);font-weight:800;inset:0;justify-content:center;position:absolute}.lottery-draw-flip-back{background:hsl(var(--border));color:hsl(var(--muted-foreground))}.lottery-draw-flip-front{background:linear-gradient(135deg,hsl(var(--primary)),hsl(var(--ring)));color:#fff;transform:rotateY(180deg)}@keyframes lottery-draw-flip{0%,40%{transform:rotateY(0deg)}100%,60%{transform:rotateY(180deg)}}.lottery-draw-spot{align-items:center;animation:lottery-draw-spot-pulse 1.4s ease-in-out infinite;background:radial-gradient(circle,hsla(0,0%,100%,.28),hsla(0,0%,100%,0) 70%);border-radius:50%;display:flex;justify-content:center;padding:clamp(36px,6vmin,96px) clamp(48px,8vmin,128px);position:relative}@keyframes lottery-draw-spot-pulse{0%,100%{opacity:.8;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}.lottery-draw-confetti{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:0}.lottery-confetti-list,.lottery-flips,.lottery-roll-list,.lottery-slots,.lottery-spots,.lottery-turntable-list{-ms-overflow-style:none;scrollbar-width:none}.lottery-confetti-list::-webkit-scrollbar,.lottery-flips::-webkit-scrollbar,.lottery-roll-list::-webkit-scrollbar,.lottery-slots::-webkit-scrollbar,.lottery-spots::-webkit-scrollbar,.lottery-turntable-list::-webkit-scrollbar{display:none;height:0;width:0}.selfie-root{background:#000;color:#fff;display:flex;flex-direction:column;inset:0;overflow:hidden;position:fixed;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1000}.selfie-bg{inset:0;position:absolute;z-index:0}.selfie-top{align-items:center;background:linear-gradient(180deg,rgba(0,0,0,.45),transparent);display:flex;justify-content:space-between;padding:12px 16px;position:relative;z-index:2}.selfie-back{align-items:center;background:hsla(0,0%,100%,.15);border-radius:50%;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.selfie-back-icon{color:#fff;font-size:26px;line-height:1}.selfie-title{color:#fff;font-size:16px;font-weight:600}.selfie-top-right{align-items:center;display:flex;gap:8px}.selfie-icon-btn{background:hsla(0,0%,100%,.15);border-radius:16px;color:#fff;cursor:pointer;font-size:13px;padding:6px 12px}.selfie-stage{align-items:center;display:flex;flex:1;justify-content:center;padding:12px;position:relative;z-index:1}.selfie-camera-box{border-radius:16px;box-shadow:0 8px 30px rgba(0,0,0,.4);max-height:92%;max-width:92%;overflow:hidden;position:relative;transition:width .2s,height .2s}.selfie-camera{display:block;height:100%;width:100%}.selfie-hidden-canvas{height:1px;left:-9999px;opacity:0;position:absolute;top:-9999px;width:1px}.selfie-placeholder{align-items:center;color:hsla(0,0%,100%,.85);display:flex;font-size:14px;inset:0;justify-content:center;padding:0 16px;position:absolute;text-align:center}.selfie-placeholder.error{color:#ff8a80}.selfie-bottom{background:linear-gradient(0deg,rgba(0,0,0,.55),transparent);display:flex;flex-direction:column;gap:10px;padding:10px 14px calc(14px + env(safe-area-inset-bottom));position:relative;z-index:2}.selfie-quick-colors{display:flex;flex-direction:row;gap:10px;overflow-x:auto;padding-bottom:2px}.selfie-quick-dot{border:2px solid hsla(0,0%,100%,.4);border-radius:50%;cursor:pointer;flex-shrink:0;height:26px;width:26px}.selfie-modes{display:flex;flex-direction:row;gap:8px}.selfie-mode-btn{background:hsla(0,0%,100%,.12);border-radius:10px;color:hsla(0,0%,100%,.85);cursor:pointer;flex:1;font-size:12px;padding:7px 0;text-align:center}.selfie-mode-btn.active{background:gold;color:#1e1e1e;font-weight:600}.selfie-sliders{display:flex;flex-direction:column;gap:4px}.selfie-slider-row{align-items:center;display:flex;gap:10px}.selfie-slider-label{color:hsla(0,0%,100%,.85);flex-shrink:0;font-size:12px;width:32px}.selfie-slider-row .taro-slider,.selfie-slider-row .ui-slider,.selfie-slider-row taro-slider-core{flex:1}.selfie-shutter-row{align-items:center;display:flex;justify-content:space-between;margin-top:4px}.selfie-thumb{align-items:center;background:rgba(40,40,40,.8);border:2px solid #fff;border-radius:10px;cursor:pointer;display:flex;height:46px;justify-content:center;overflow:hidden;position:relative;width:46px}.selfie-thumb-img{height:100%;width:100%}.selfie-thumb-empty{color:hsla(0,0%,100%,.7);font-size:12px}.selfie-thumb-badge{align-items:center;background:#ff6b35;border:1px solid #fff;border-radius:10px;color:#fff;display:flex;font-size:10px;font-weight:700;height:18px;justify-content:center;min-width:18px;padding:0 4px;position:absolute;right:-6px;top:-6px}.selfie-shutter{align-items:center;background:hsla(0,0%,100%,.2);border:3px solid hsla(0,0%,100%,.85);border-radius:50%;cursor:pointer;display:flex;height:66px;justify-content:center;touch-action:none;transition:transform .1s;width:66px}.selfie-shutter-inner{background:#fff;border-radius:50%;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);height:48px;width:48px}.selfie-shutter.burst{border-color:gold;transform:scale(.94)}.selfie-hint{color:hsla(0,0%,100%,.6);font-size:11px;text-align:center}.selfie-popup-mask{align-items:flex-end;background:rgba(0,0,0,.6);display:flex;inset:0;justify-content:center;position:fixed;z-index:1100}.selfie-popup{background:#1e1e1e;border-radius:16px 16px 0 0;box-sizing:border-box;display:flex;flex-direction:column;max-height:80vh;padding:16px;width:100%}.selfie-popup-head{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.selfie-popup-title{color:#fff;font-size:15px;font-weight:600}.selfie-popup-close{align-items:center;background:hsla(0,0%,100%,.1);border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:14px;height:28px;justify-content:center;width:28px}.selfie-grid{display:grid;flex:1;gap:6px;grid-template-columns:repeat(3,1fr);overflow-y:auto}.selfie-grid-item{aspect-ratio:1/1;background:#2a2a2a;border-radius:8px;cursor:pointer;overflow:hidden;position:relative}.selfie-grid-img{display:block;height:100%;width:100%}.selfie-grid-check{background:rgba(0,0,0,.5);border:2px solid hsla(0,0%,100%,.7);border-radius:50%;height:22px;position:absolute;right:6px;top:6px;width:22px}.selfie-grid-check.on{background:gold;border-color:gold}.selfie-popup-actions{display:flex;gap:12px;margin-top:12px}.selfie-btn{border-radius:24px;cursor:pointer;flex:1;font-size:14px;font-weight:500;padding:10px 0;text-align:center}.selfie-btn.ghost{background:hsla(0,0%,100%,.08);border:1px solid hsla(0,0%,100%,.12);color:#ccc}.selfie-btn.primary{background:gold;color:#1e1e1e}.selfie-preview{display:flex;flex-direction:column;height:100%;width:100%}.selfie-swiper{flex:1;width:100%}.selfie-swiper-item{align-items:center;display:flex;justify-content:center}.selfie-preview-img{height:100%;width:100%}.selfie-preview-foot{display:flex;gap:12px;padding:12px}.selfie-palette{display:grid;flex:1;gap:6px;grid-template-columns:repeat(7,1fr);overflow-y:auto}.selfie-palette-dot{aspect-ratio:1/1;border:2px solid hsla(0,0%,100%,.2);border-radius:8px;cursor:pointer}