.gathering-cover-preview{margin:12px 0 24px}.gathering-cover-preview[hidden],.gathering-cover-preview [hidden],.form-field input[name=cover][hidden]{display:none!important}.gathering-cover-preview>img{display:block;width:180px;max-width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;border:1px solid var(--line,#ddd)}.gathering-cover-preview p{margin:10px 0}.gathering-cover-preview>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.gathering-cover-preview .btn{min-height:44px;padding:10px 14px;font-size:14px}
.gathering-crop{position:fixed;inset:0;margin:auto;width:calc(100% - 24px);max-width:430px;max-height:calc(100dvh - 24px);padding:20px 16px calc(16px + env(safe-area-inset-bottom,0px));border:0;border-radius:20px;background:#fff;color:#202124;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;box-shadow:0 20px 70px #0004}.gathering-crop::backdrop{background:#111827b8}.gathering-crop header{display:flex;align-items:center;justify-content:space-between;gap:10px}.gathering-crop header h2{margin:0;font-size:19px;line-height:1.4;font-weight:700}.gathering-crop header button{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:50%;font-size:20px;background:#f4f5f7;color:#555}.gc-help{margin:8px 0 16px;color:#62666d;font-size:13px;line-height:1.6}.gc-stage{position:relative;width:min(100%,48svh);aspect-ratio:1;margin:auto;overflow:hidden;border-radius:12px;background:#202124;touch-action:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;cursor:grab;outline:2px solid #fff;box-shadow:0 0 0 1px #ddd}.gc-stage:active{cursor:grabbing}.gc-stage:focus-visible{outline:3px solid #ff8232;outline-offset:3px}.gc-stage img{position:absolute;top:0;left:0;max-width:none;max-height:none;opacity:0;pointer-events:none;transform-origin:0 0;will-change:transform}.gc-stage img.ready{opacity:1}.gc-grid{position:absolute;inset:0;pointer-events:none;border:1px solid #ffffffb3;border-radius:12px;background:linear-gradient(to right,transparent calc(33.333% - .5px),#fff7 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff7 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#fff7 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff7 66.666%,transparent calc(66.666% + .5px))}.gc-status{min-height:20px;margin:10px 0 4px;text-align:center;font-size:12px;line-height:1.6;color:#62666d}.gc-zoom{display:flex;align-items:center;gap:8px}.gc-zoom button{width:44px;height:44px;flex:none;border:1px solid #e5e7eb;border-radius:50%;background:#fff;color:#333;font-size:22px}.gc-zoom input{min-width:0;flex:1;height:44px;accent-color:#ff8232}.gc-zoom output{width:42px;text-align:right;font-size:12px;color:#62666d;font-variant-numeric:tabular-nums}.gc-reset{display:block;min-height:40px;margin:0 auto 8px;padding:4px 16px;border:0;background:transparent;color:#62666d;font-size:13px;text-decoration:underline}.gathering-crop footer{display:flex;gap:10px}.gathering-crop footer .btn{flex:1;min-height:48px;padding:12px 10px;font-size:15px}.gathering-crop button:disabled{opacity:.5}.gathering-crop button:focus-visible{outline:2px solid #c75100;outline-offset:2px}
@supports not (height:100dvh){.gathering-crop{max-height:calc(100vh - 24px)}.gc-stage{width:min(100%,48vh)}}
/* Both existing covers and newly cropped covers fill a square without letterboxing. */
.cardart.gathering-cover{height:auto;aspect-ratio:1;align-self:center}.cardart.gathering-cover img{object-fit:cover;object-position:center}.cardart.detail-art.gathering-cover{height:auto;aspect-ratio:1}

/* The editor also runs in admin and instructor pages without app button styles. */
.gathering-crop footer .btn{display:flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#ff8232;color:#fff;font-weight:600;line-height:1.4;cursor:pointer}.gathering-crop footer .btn.secondary{background:#f1f2f4;color:#484b50}.gathering-crop footer{padding-top:0}

.lecture-crop-preview{margin:0;min-width:0}.lecture-crop-preview>img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border-radius:10px}.lecture-crop-preview>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.lecture-crop-preview button{min-height:44px;padding:6px 9px;border:1px solid #e5e7eb;border-radius:8px;background:#f6f7f8;color:#50545b;font-size:12px}

.lecture-crop-edit{display:block;min-height:44px;width:100%;margin-top:6px;padding:6px 9px;border:1px solid #e5e7eb;border-radius:8px;background:#f6f7f8;color:#50545b;font-size:12px}

.lecture-modal-img{height:auto;aspect-ratio:1;object-fit:cover}
/* 프로필 사진 — 동그랗게 보이는 영역만 밝게 (2026-10-28) */
.gathering-crop.round .gc-stage::after{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(0,0,0,.45);pointer-events:none}
