@charset "UTF-8";
:root{--bg:#f7f6f2;--ink:#252b29;--muted:#858982;--line:#e7e7df;--accent:#e66b4d;--soft:#fbece6;--green:#527c63;--panel:#fff;--radius:20px;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #e9ac7a;outline-offset:4px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:650;letter-spacing:-1px;line-height:1.45}h2{font-size:20px;font-weight:650}h3{font-size:16px}small,.muted{color:var(--muted)}small{font-size:12px}svg{flex-shrink:0;vertical-align:middle}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#f0f0e9;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:2px}.brand img{width:39px;height:39px}.brand small{letter-spacing:2px;font-size:9px;display:block;margin-top:3px;font-weight:400}.nav{display:grid;gap:9px;margin-top:53px}.nav button{display:flex;align-items:center;gap:13px;background:transparent;color:#7b8076;border-radius:11px;padding:14px 16px;text-align:left;font-weight:500}.nav button.active{color:var(--accent);background:#fff8f2}.nav .badge{margin-left:auto;background:var(--accent);color:white;font-size:10px;border-radius:20px;padding:2px 6px}.side-bottom{margin-top:auto;padding-top:40px}.side-note{background:#e7e9df;border-radius:14px;padding:17px;line-height:1.8;color:#737d69;font-size:12px}.side-note strong{display:block;color:#4b5b45;font-size:13px;margin-bottom:5px}.side-link{display:flex;align-items:center;gap:10px;margin:24px 8px 0;color:#777e73;font-size:12px}.workspace{margin-left:224px;flex:1;min-width:0}.topbar{height:88px;padding:0 48px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;display:flex;align-items:center;gap:10px;color:#989b93}.breadcrumb strong{font-weight:500;color:#62695e}.top-profile{display:flex;align-items:center;gap:13px}.avatar{width:34px;height:34px;border-radius:50%;background:#e8eadd;display:grid;place-items:center;font-size:12px;color:#6c7758}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7aa17d;margin-right:6px}.dot.off{background:#c0b9af}.content{max-width:1370px;margin:auto;padding:40px 48px 64px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--accent);margin-bottom:10px}.heading p{color:var(--muted);margin-top:10px;font-size:13px;line-height:1.8}.button{padding:12px 20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;min-height:44px;background:var(--accent);color:white;white-space:nowrap;transition:background .15s}.button:hover{background:#d45f42}.button.secondary{background:white;color:#555d52;border:1px solid var(--line)}.button.secondary:hover{background:#f7f7f2}.button.ghost{background:transparent;color:#747b6d;padding:8px}.button.danger{background:#b54b42}.button .icon{width:18px;height:18px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:33px}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;gap:16px;align-items:center}.stat-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#f5eee5;color:#bb9b70}.stat:nth-child(2) .stat-icon{background:#edf1e8;color:#789568}.stat:nth-child(3) .stat-icon{background:#fbebe5;color:#d68a72}.stat label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.stat strong{font-size:25px;font-weight:600;margin-right:8px}.stat small{font-size:11px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.section-title h2{font-size:17px}.section-title small{margin-left:10px;font-weight:400}.text-button{color:var(--muted);background:transparent;font-size:12px;padding:8px 0;display:flex;align-items:center;gap:7px}.frame-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-bottom:36px}.frame-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white;position:relative}.frame-cover{height:166px;background:#e8ecdf;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.frame-cover img{width:100%;height:100%;object-fit:cover}.frame-cover .landscape{width:130px;height:88px;border:8px solid #fafaf4;border-radius:5px;box-shadow:0 8px 20px #52604720;position:relative;overflow:hidden;background:linear-gradient(#d2e0db 58%,#afc3aa 58%)}.landscape:before,.landscape:after{content:"";position:absolute;bottom:-30px;background:#7d9b7b;width:100px;height:70px;border-radius:60% 70% 0 0;transform:rotate(-25deg);left:-20px}.landscape:after{left:55px;bottom:-40px;background:#658462}.landscape i{position:absolute;width:16px;height:16px;right:18px;top:12px;background:#eee3bc;border-radius:50%}.status{position:absolute;top:13px;left:14px;border-radius:20px;background:#fffffff0;padding:5px 10px;color:#67715b;font-size:10px}.frame-info{padding:18px}.frame-info h3{margin-bottom:9px}.frame-info .row{margin-top:15px;padding-top:13px;border-top:1px solid #f0f0ea;font-size:11px;color:#8d9286}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-actions{position:absolute;right:12px;top:12px;display:flex;gap:6px}.icon-button{width:33px;height:33px;border-radius:50%;background:#ffffffec;color:#68715e;display:grid;place-items:center}.icon-button .icon{width:16px;height:16px}.add-frame{min-height:265px;border:1.5px dashed #d5d8ca;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:#f3f4ec;color:#78836a;text-align:center}.add-frame .plus{width:47px;height:47px;border:1px solid #d6dbc9;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:300}.add-frame strong{font-size:13px}.add-frame small{font-size:11px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}.media-card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.media-image{aspect-ratio:4/3;background:#eeeee7;position:relative;overflow:hidden;cursor:pointer}.media-image img,.media-image video{width:100%;height:100%;object-fit:cover}.media-image .video-tag{position:absolute;bottom:10px;right:10px;background:#0008;color:white;border-radius:4px;padding:4px 7px;font-size:10px}.media-meta{padding:13px}.media-meta p{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.media-meta small{font-size:10px}.media-meta .actions{display:flex;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.actions button{font-size:11px;background:none;color:#808679;padding:4px 0}.actions .delete{color:#b7776a}.hidden-media{opacity:.55}.empty{border:1px solid var(--line);border-radius:16px;background:#fff;padding:50px 24px;text-align:center;color:var(--muted);line-height:2}.empty .icon{width:38px;height:38px;color:#c4c9ba;margin-bottom:16px}.empty h3{color:#66705c;margin-bottom:6px;font-weight:500}.empty .button{margin-top:20px}.info-strip{margin-top:28px;border-radius:12px;background:#eceedf;padding:16px 20px;color:#7e866e;font-size:12px;display:flex;align-items:center;gap:12px}.filter{padding:9px 15px;background:#fff;border:1px solid var(--line);border-radius:8px;color:#6c7660;max-width:230px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:20px}.panel p{color:var(--muted);line-height:1.8;font-size:13px;margin-top:8px}.panel .button{margin-top:20px}.notifications{display:grid;gap:12px}.notification{display:flex;gap:18px;align-items:center;padding:21px 24px;background:#fff;border:1px solid var(--line);border-radius:14px}.reaction-emoji{font-size:28px}.notification p{font-size:13px;margin-bottom:6px}.modal-backdrop{position:fixed;inset:0;background:#1f271f66;z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(4px)}.modal{background:var(--bg);border-radius:22px;width:100%;max-width:570px;max-height:92vh;overflow:auto;box-shadow:0 25px 100px #0003}.modal.wide{max-width:850px}.modal-head{padding:26px 28px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.modal-head h2{font-size:20px}.close{background:transparent;font-size:26px;color:#8f9588;padding:0 6px}.modal-body{padding:0 28px 26px}.modal-body p.hint{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:20px}.field{display:block;margin:18px 0}.field span{display:block;margin-bottom:9px;font-size:12px;color:#6d7764}.input{width:100%;padding:13px 14px;border:1px solid #dcded4;border-radius:10px;background:white;outline:0;color:var(--ink)}.input:focus{border-color:#cd9d82;box-shadow:0 0 0 3px #f3e8de}.code-input{font-size:26px;letter-spacing:5px;text-align:center}.modal-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.error{color:#b75d4d;font-size:12px;line-height:1.8;margin:12px 0}.pair-code{font-size:34px;letter-spacing:5px;font-weight:600;text-align:center;margin:30px 0 12px;color:var(--accent);font-variant-numeric:tabular-nums}.pair-expiry{text-align:center;font-size:12px;color:var(--muted)}.steps{display:flex;gap:12px;font-size:12px;color:#a3a89b;margin-bottom:22px}.steps span{display:flex;align-items:center;gap:7px}.steps b{width:22px;height:22px;display:grid;place-items:center;border:1px solid #dfe1d6;border-radius:50%;font-size:10px;font-weight:500}.steps .current{color:var(--accent)}.steps .current b{background:var(--accent);border-color:var(--accent);color:white}.dropzone{position:relative;min-height:230px;border:1.5px dashed #cbd0bf;border-radius:13px;background:#f0f2e7;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#778769;cursor:pointer;padding:24px;text-align:center}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.dropzone .icon{width:42px;height:42px}.dropzone strong{font-size:15px}.dropzone small{font-size:11px}.file-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.chip{padding:7px 10px;background:#e8ecde;border-radius:7px;font-size:11px;color:#738064}.recipient{display:flex;gap:13px;align-items:center;padding:17px;border:1px solid var(--line);border-radius:11px;margin:10px 0;background:white;cursor:pointer}.recipient:has(input:checked){border-color:#e6a68d;background:#fff8f3}.recipient input{accent-color:var(--accent);width:18px;height:18px}.recipient small{display:block;margin-top:5px}.editor-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.focus-canvas{position:relative;background:#e9ebe2;border-radius:12px;overflow:hidden;align-self:start;line-height:0;cursor:crosshair}.focus-canvas img,.focus-canvas video{width:100%;display:block}.focus-point{position:absolute;width:34px;height:34px;border:2px solid white;outline:2px solid var(--accent);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;background:#e66b4d33}.focus-point:after{content:'+';font-size:21px;color:white;position:absolute;inset:0;display:grid;place-items:center;line-height:1}.frame-preview{aspect-ratio:16/10;border:8px solid #3e463a;border-radius:8px;overflow:hidden;margin-top:15px;background:#171c16;position:relative}.frame-preview img,.frame-preview video{width:100%;height:100%;object-fit:cover}.preview-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#000b);padding:14px 8px 6px;color:white;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-nav{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.editor-nav .button{min-height:33px;padding:7px 10px;font-size:11px}.progress{height:6px;background:#e6e9de;border-radius:5px;overflow:hidden;margin:20px 0}.progress i{display:block;height:100%;background:var(--accent);width:0;transition:width .15s}.success{text-align:center;padding:20px}.success-mark{font-size:40px;width:80px;height:80px;background:#e6eddc;color:#6e8e58;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px}.success p{margin-top:12px;color:var(--muted);font-size:13px}.member{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px}.member .button{margin-left:auto;min-height:32px;padding:6px 9px;font-size:11px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;font-size:32px;letter-spacing:5px;color:var(--accent)}.boot span{font-size:12px;letter-spacing:1px;color:var(--muted)}#toasts{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:200;display:grid;gap:10px;max-width:90vw}.toast{background:#343f32;color:white;padding:13px 24px;border-radius:10px;box-shadow:0 8px 30px #0002;font-size:13px;line-height:1.7}.toast.error-toast{background:#944e42}.frame-screen{position:fixed;inset:0;background:#141813;color:white;overflow:hidden}.frame-stage{position:absolute;inset:0}.frame-stage img,.frame-stage video{width:100%;height:100%;object-fit:cover}.frame-top{position:absolute;top:0;left:0;right:0;padding:30px 36px;display:flex;justify-content:space-between;align-items:flex-start;background:linear-gradient(#0006,transparent);pointer-events:none}.frame-top>*{pointer-events:auto}.frame-clock{font-size:37px;letter-spacing:1px;font-weight:300;line-height:1}.frame-clock small{display:block;color:#ffffffa0;font-size:12px;letter-spacing:0;margin-top:10px}.frame-tools{display:flex;gap:10px}.frame-tools button{background:#ffffff24;color:white;border-radius:50%;width:44px;height:44px;display:grid;place-items:center}.frame-caption{position:absolute;bottom:0;left:0;right:0;padding:70px 36px 35px;background:linear-gradient(transparent,#000a);pointer-events:none}.frame-caption h2{font-size:24px;font-weight:400;max-width:70%;overflow-wrap:anywhere}.frame-caption p{margin-top:12px;color:#fff9;font-size:12px}.frame-reactions{position:absolute;bottom:35px;right:35px;display:flex;gap:10px}.frame-reactions button{font-size:25px;background:#ffffff24;width:52px;height:52px;border-radius:50%;transition:transform .15s}.frame-reactions button:active{transform:scale(1.25)}.frame-prev,.frame-next{position:absolute;top:46%;width:46px;height:70px;background:#0002;color:#fff8;font-size:26px;border-radius:8px}.frame-prev{left:15px}.frame-next{right:15px}.frame-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:20px;background:radial-gradient(ellipse at 30% 30%,#374a38,#172019 75%);padding:30px}.frame-empty img{width:70px;height:70px}.frame-empty h1{font-size:35px;font-weight:400;letter-spacing:2px}.frame-empty p{color:#ffffff80;line-height:2}.frame-setup{max-width:390px;width:100%}.frame-setup .input{background:#ffffff13;border-color:#ffffff24;color:white;margin-bottom:16px}.frame-setup .button{width:100%}.offline-banner{position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:120;background:#805c39;color:white;padding:8px 18px;border-radius:0 0 9px 9px;font-size:12px}.mobile-brand{display:none}
@media(min-width:1450px){.content{padding-top:50px}.frame-cover{height:190px}.media-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1100px){.sidebar{width:188px;padding:28px 16px}.workspace{margin-left:188px}.content{padding:30px}.topbar{padding:0 30px}.stats{gap:10px}.stat{padding:17px;gap:12px}.stat small{display:none}.heading h1{font-size:29px}}
@media(max-width:760px){.sidebar{inset:auto 0 0 0;width:100%;height:72px;padding:0 10px 8px;background:#fafbf7f2;border:0;border-top:1px solid var(--line);backdrop-filter:blur(15px)}.sidebar .brand,.side-bottom{display:none}.nav{display:flex;justify-content:space-around;margin:0;gap:0;height:100%}.nav button{padding:10px 16px;gap:5px;flex-direction:column;font-size:10px;background:transparent!important;border-radius:0;position:relative}.nav .badge{position:absolute;top:5px;right:7px}.nav .icon{width:22px;height:22px}.workspace{margin:0;width:100%}.topbar{height:68px;padding:0 22px}.breadcrumb{display:none}.mobile-brand{display:flex;font-size:20px}.mobile-brand img{width:29px;height:29px}.mobile-brand small{display:none}.top-profile small{display:none}.content{padding:26px 20px 105px}.heading{gap:12px;align-items:flex-end;margin-bottom:25px}.heading h1{font-size:27px;letter-spacing:-1px}.eyebrow{font-size:9px}.heading p{font-size:11px;max-width:210px;margin-top:7px}.heading .button{font-size:11px;padding:11px 13px;min-height:41px}.stats{gap:8px;margin-bottom:27px}.stat{padding:14px 10px;gap:8px;align-items:flex-start}.stat-icon{width:27px;height:29px;border-radius:8px}.stat-icon .icon{width:16px;height:16px}.stat label{font-size:10px;margin:0 0 7px}.stat strong{font-size:22px}.frame-grid{grid-template-columns:1fr;gap:15px}.frame-cover{height:185px}.add-frame{min-height:125px;gap:8px}.add-frame .plus{width:31px;height:31px;font-size:22px}.add-frame small{display:none}.media-grid{grid-template-columns:repeat(2,1fr);gap:12px}.media-meta{padding:10px}.media-meta p{font-size:11px}.info-strip{font-size:10px;line-height:1.8;padding:12px}.modal-backdrop{padding:12px;align-items:center}.modal{max-height:94vh;border-radius:17px}.modal-head{padding:22px 21px 18px}.modal-head h2{font-size:18px}.modal-body{padding:0 21px 22px}.editor-layout{grid-template-columns:1fr}.focus-canvas{max-height:34vh;overflow:auto}.frame-preview{width:150px;margin-top:0;float:right}.editor-layout .field{margin:0 0 10px}.editor-layout .field textarea{min-height:65px}.steps{gap:8px;font-size:10px}.steps b{width:19px;height:19px}.steps span{gap:4px}.pair-code{font-size:27px;letter-spacing:3px}.frame-top{padding:24px}.frame-caption{padding:60px 24px 102px}.frame-caption h2{max-width:100%;font-size:20px}.frame-reactions{left:24px;bottom:24px;right:auto}.frame-clock{font-size:29px}.frame-tools button{width:36px;height:36px}.frame-empty h1{font-size:27px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

@media(max-width:760px){.focus-canvas{width:fit-content;max-width:100%;max-height:none;overflow:hidden}.focus-canvas img{width:auto;height:auto;max-width:100%;max-height:34vh}}

.locale-options{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.locale-options .button{margin-top:0;min-width:130px}html[lang=en] .code-input{letter-spacing:3px}html[lang=en] .steps{gap:8px}html[lang=en] .steps span{white-space:normal}
