.poster-field{display:flex;align-items:center;gap:22px;border:1px dashed var(--line,#ccc);border-radius:16px;padding:20px;outline-offset:5px}.poster-field.is-dragging{border-color:var(--green,#2f6b45);background:#eef4ef}.poster-field__preview{width:112px;aspect-ratio:4/5;flex:none;background:var(--paper,#f4f3f1);border-radius:6px;overflow:hidden;display:grid;place-items:center;font-size:14px;color:var(--muted,#777)}.poster-field__preview img{width:100%;height:100%;object-fit:contain}.poster-field .link{display:block;margin-top:12px;font-size:14px}.poster-editor{box-sizing:border-box;width:min(720px,calc(100vw - 40px));max-height:calc(100dvh - 32px);padding:22px;border:1px solid var(--ink,#151614);border-radius:20px;color:var(--ink,#151614);background:#fff;overflow:auto}.poster-editor::backdrop{background:rgb(20 20 20 / .42)}.poster-editor__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.poster-editor__head h2{font:inherit;font-size:23px;font-weight:600;margin:0}.poster-editor__head button{min-width:44px;min-height:44px}.poster-editor__stage{width:min(100%,calc((100dvh - 310px)*.8),420px);aspect-ratio:4/5;margin:auto;background:#f4f3f1;overflow:hidden;border-radius:5px}.poster-editor__stage cropper-canvas{width:100%;height:100%;touch-action:none}.poster-editor__stage cropper-selection{outline:1px solid #fff}.poster-editor__status{min-height:20px;margin:10px 0;text-align:center;font-size:13px;color:var(--muted,#777)}.poster-editor__tools,.poster-editor__zoom,.poster-editor__foot{display:flex;align-items:center;justify-content:center;gap:10px}.poster-editor__tools button,.poster-editor__zoom button{min-height:44px;padding:7px 11px;border:0;border-radius:10px;background:transparent;font:inherit;font-size:14px;cursor:pointer}@media (hover:hover){.poster-editor__tools button,.poster-editor__zoom button{color:var(--muted,#5d5f58)}.poster-editor__tools button:hover,.poster-editor__zoom button:hover{color:var(--ink,#151614)}}.poster-editor__tools svg{width:20px;height:20px;display:block}.poster-editor [data-apply]{background:var(--go);color:var(--on-go)}.poster-editor__tools button:focus-visible,.poster-editor__zoom button:focus-visible{outline:2px solid currentColor;outline-offset:2px}.poster-editor__zoom{margin:5px auto 14px;max-width:460px}.poster-editor__zoom span{font-size:13px}.poster-editor__zoom input{flex:1;min-width:70px}.poster-editor__foot{padding-top:16px;border-top:1px solid var(--line,#ddd);gap:12px}.poster-editor__foot>span{flex:1}.poster-editor__foot .link{font-size:14px;cursor:pointer}.poster-editor[aria-busy=true] .poster-editor__tools{pointer-events:none;opacity:.5}@media(max-width:600px){.poster-editor{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:12px 16px max(16px,env(safe-area-inset-bottom));border:0;border-radius:0;display:none}.poster-editor[open]{display:flex;flex-direction:column}.poster-editor__stage{width:min(100%,calc((100dvh - 295px)*.8));flex:none;margin:8px auto 0}.poster-editor__head{margin-bottom:8px}.poster-editor__tools{gap:2px}.poster-editor__tools button{padding:6px 8px}.poster-editor__zoom{width:100%;box-sizing:border-box;margin-bottom:8px}.poster-editor__foot{margin-top:auto;gap:9px}.poster-editor__foot .btn{padding:12px 16px;min-height:46px}.poster-field{gap:15px;padding:14px}.poster-field__preview{width:90px}}.poster-editor{height: min(920px,calc(100dvh - 24px));padding: 16px 20px;overflow: hidden;overscroll-behavior: contain;}.poster-editor[open]{display: flex;flex-direction: column;}.poster-editor__head{flex: none;min-height: 48px;margin: 0 0 8px;}.poster-editor__head h2{font-size: 22px;}.poster-editor__head [data-apply]{min-height: 44px;min-width: 124px;padding: 0 22px;font-size: 15px;border-radius: 10px;}.poster-editor__stage{width: min(100%,calc((100dvh - 346px)*.8),480px);flex: none;margin: 0 auto;border-radius: 0;outline: 1px solid var(--line);background: #fff;}.poster-editor__stage cropper-canvas{background: var(--crop-fill,#fff);}.poster-editor__status{flex: none;min-height: 18px;line-height: 18px;margin: 6px 0;}.poster-editor__tools{flex: none;min-height: 44px;gap: 10px;}.poster-editor__tools button{min-height: 44px;min-width: 44px;}.poster-editor__zoom{flex: none;width: 100%;min-height: 44px;margin: 0 auto;gap: 14px;}.poster-editor__zoom input{min-width: 60px;width: 100%;}.poster-editor__zoom input[type=range]{-webkit-appearance: none;appearance: none;height: 44px;margin: 0;padding: 0;background: transparent;cursor: pointer;touch-action: pan-y;}.poster-editor__zoom input[type=range]:focus{outline: none;}.poster-editor__zoom input[type=range]::-webkit-slider-runnable-track{box-sizing: border-box;height: 3px;border: 0;border-radius: 2px;background: linear-gradient(to right,var(--go) var(--fill,50%),var(--line) 0);}.poster-editor__zoom input[type=range]::-webkit-slider-thumb{-webkit-appearance: none;appearance: none;box-sizing: border-box;width: 18px;height: 18px;margin-top: -7.5px;border: 2px solid #fff;border-radius: 50%;background: var(--go);box-shadow: 0 0 0 1px var(--go);}.poster-editor__zoom input[type=range]::-moz-range-track{box-sizing: border-box;height: 3px;border: 0;border-radius: 2px;background: var(--line);}.poster-editor__zoom input[type=range]::-moz-range-progress{height: 3px;border-radius: 2px;background: var(--go);}.poster-editor__zoom input[type=range]::-moz-range-thumb{box-sizing: border-box;width: 18px;height: 18px;border: 2px solid #fff;border-radius: 50%;background: var(--go);box-shadow: 0 0 0 1px var(--go);}.poster-editor__zoom input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow: 0 0 0 2px var(--ink);}.poster-editor__zoom input[type=range]:focus-visible::-moz-range-thumb{box-shadow: 0 0 0 2px var(--ink);}.poster-editor__zoom output{min-width: 45px;text-align: right;font-size: 12px;color: var(--muted);font-variant-numeric: tabular-nums;}.poster-editor__foot{flex: none;justify-content: space-between;margin-top: auto;padding-top: 12px;}.poster-editor__foot .btn{min-height: 44px;padding: 0 20px;border-radius: 3px;}.poster-editor[aria-busy=true] .poster-editor__stage,.poster-editor[aria-busy=true] .poster-editor__zoom{pointer-events: none;opacity: .65;}.poster-editor[data-transforming] .poster-editor__stage{pointer-events: none;}.poster-field{border-style: solid;}.poster-field.is-dragging{border-color: var(--go);background: color-mix(in srgb,var(--go) 8%,#fff);}.poster-field__main{min-width: 0;flex: 1;}.poster-field__main .poster-field__choose{display: flex;align-items: center;justify-content: center;min-height: 56px;font-size: 16px;width: 100%;padding: 10px 14px;border-radius: 10px;cursor: pointer;}.poster-field__desktop-note{margin-top: 10px;}@media (hover:none){.poster-field__desktop-note{display: none;}}@media (max-width:600px){.poster-editor{width: 100vw;height: 100dvh;padding: 12px 16px max(16px,env(safe-area-inset-bottom));}.poster-editor__stage{width: min(100%,calc((100dvh - 346px)*.8));margin: 0 auto;}.poster-editor__head{margin-bottom: 8px;}.poster-editor__head h2{font-size: 20px;}.poster-field{padding: 16px;gap: 16px;}.poster-field__preview{width: 88px;}.poster-editor__foot{gap: 14px;}}@media (max-height:520px) and (min-width:600px){.poster-editor{width: min(760px,calc(100vw - 24px));height: calc(100dvh - 16px);max-height: none;margin: 8px auto;padding: 12px 16px;}.poster-editor[open]{display: grid;grid-template-columns: calc((100dvh - 110px)*.8) minmax(0,1fr);grid-template-rows: auto auto auto auto auto minmax(44px,1fr);grid-template-areas: 'head head' 'stage status' 'stage tools' 'stage zoom' 'stage fill' 'stage foot';column-gap: 20px;row-gap: 6px;}.poster-editor__head{grid-area: head;margin: 0;}.poster-editor__stage{grid-area: stage;width: 100%;margin: 0;align-self: start;}.poster-editor__status{grid-area: status;margin: 0;}.poster-editor__tools{grid-area: tools;}.poster-editor__zoom{grid-area: zoom;margin: 0;}.poster-editor__fill{grid-area: fill;}.poster-editor__foot{grid-area: foot;margin: 0;align-self: end;}}@media (max-height:520px) and (max-width:599px){.poster-editor[open]{overflow: auto;}.poster-editor__head{position: sticky;top: 0;background: #fff;z-index: 3;}.poster-editor__stage{width: min(100%,240px);}.poster-editor__foot{position: sticky;bottom: 0;background: #fff;z-index: 3;margin-top: 16px;}}.poster-editor--cover .poster-editor__stage{width: min(100%,640px);aspect-ratio: 3 / 1;}.poster-editor--avatar .poster-editor__stage{width: min(100%,calc(100dvh - 364px),400px);aspect-ratio: 1 / 1;}@media (max-width: 600px){.poster-editor--cover .poster-editor__stage{width: 100%;}.poster-editor--avatar .poster-editor__stage{width: min(100%,calc(100dvh - 344px));}}@media (min-width: 601px){.poster-editor--cover,.poster-editor--avatar{height: fit-content;}}.poster-editor__stage{position:relative}.poster-editor__spin{position:absolute;top:8px;right:8px;z-index:3;display:flex;align-items:center;gap:4px;min-width:44px;height:44px;padding:0 10px 0 11px;border:1px solid var(--line);border-radius:22px;background:rgb(255 255 255 / .92);color:var(--ink);font:500 13px/1 var(--font);cursor:grab;touch-action:none;}.poster-editor__spin svg{width:20px;height:20px;flex:none}.poster-editor__spin.is-on{cursor:grabbing;border-color:var(--ink)}.poster-editor__spin[hidden]{display:none}.poster-editor__spin:focus-visible{outline:2px solid var(--ink);outline-offset:2px}@media (hover:hover){.poster-editor__spin:hover{border-color:var(--ink)}}.poster-editor__fit{display:inline-flex;gap:2px}.poster-editor__tools .poster-editor__fit button{border:1px solid transparent}.poster-editor__tools .poster-editor__fit button[aria-pressed=true]{border-color:var(--line,#d8d6cf);color:var(--ink,#151614)}.poster-editor__fill{flex:none;display:flex;align-items:center;justify-content:center;gap:2px;min-height:44px}.poster-editor__fill button{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:7px 11px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted,#5d5f58);font:inherit;font-size:14px;cursor:pointer}.poster-editor__fill button i{width:16px;height:16px;flex:none;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line,#d8d6cf)}.poster-editor__fill button[aria-pressed=true]{border-color:var(--line,#d8d6cf);color:var(--ink,#151614)}.poster-editor__fill button:focus-visible{outline:2px solid currentColor;outline-offset:2px}@media (hover:hover){.poster-editor__fill button:hover{color:var(--ink,#151614)}}@media (max-width:600px){.poster-editor__fill button{padding:6px 8px;gap:6px}}.poster-editor__ring{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle closest-side,transparent calc(100% - 1px),rgb(21 22 20 / .4) calc(100% - 1px),rgb(21 22 20 / .4) 100%,rgb(244 243 241 / .78) 100%)}.poster-editor--avatar cropper-selection{outline:0}