.sc-image { display: block; max-width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.sc-image img { display: block; width: auto; height: auto; max-width: min(200px, 100%); max-height: 200px; border-radius: 8px; object-fit: contain; }
.sc-image-note { display: block; max-width: 220px; font-size: 10px; line-height: 1.4; opacity: .8; white-space: normal; }
.sc-preview { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 4px 10px; }
.sc-preview[hidden], .sc-status[hidden] { display: none; }
.sc-preview img { width: 56px; height: 48px; object-fit: contain; }
.sc-preview button { width: 36px; height: 36px; border: 1px solid #94a3b8; border-radius: 8px; cursor: pointer; }
.sc-status { flex: 0 0 auto; margin: 0; padding: 4px 10px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.sc-attach { flex: 0 0 40px; width: 40px; min-width: 40px !important; min-height: 44px; padding: 0 !important; font-size: 24px; align-self: flex-end; }
.sc-viewer { position: fixed; inset: 0; z-index: 10000; overflow: auto; overscroll-behavior: contain; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.92); padding: 56px 12px 16px; box-sizing: border-box; touch-action: pan-x pan-y pinch-zoom; }
.sc-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sc-viewer > button { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 14px; z-index: 1; width: 44px; height: 44px; color: white; background: #334155; border: 0; border-radius: 50%; font-size: 26px; cursor: pointer; }
