.card-image{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:clamp(160px,32dvh,330px);min-height:40px;max-width:100%;color:var(--muted);font-size:14px;overflow:hidden;flex:1 1 200px;pointer-events:none;user-select:none;-webkit-user-select:none}.card-image[hidden]{display:none}.card-image-plane{display:block;position:relative;flex:none;max-width:100%;max-height:100%}.card-image-plane img{display:block;width:100%;height:100%;pointer-events:none;-webkit-user-drag:none}.image-cover{position:absolute;box-sizing:border-box;background:#596a73;border:2px solid #fff;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:clamp(12px,3vw,24px);line-height:1;overflow:hidden;box-shadow:0 0 0 1px #26363c60}.image-cover-target{background:#a44a26}.image-cover-revealed{background:transparent;border-color:#187558;box-shadow:0 0 0 1px #fff}.card-image-error{color:var(--muted);padding:12px;box-sizing:border-box}.has-card-image{gap:8px!important}.has-card-image .review-front,.has-card-image .review-back,.has-card-image>strong{font-size:calc(clamp(16px,2.6vw,24px) * var(--ui-scale,1));flex:0 0 auto;max-height:4.1em;overflow:hidden}.has-card-image .review-card-hint{margin-top:0;padding-top:6px;flex:none}.image-editor{margin:14px 0;min-width:0}.image-editor summary{cursor:pointer;font-weight:600}.image-editor summary .subtext{font-weight:400;margin-left:6px}.image-editor-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:16px}.image-editor-sides section{min-width:0}.image-editor-sides h3{font-size:15px}.image-editor-preview .card-image{height:150px;background:var(--bg);border-radius:8px;margin:12px 0}.image-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.review-full-layout .card-image,.local-full-text .card-image{height:min(60dvh,600px);min-height:200px;flex:none;pointer-events:auto;user-select:auto}.review-full-layout .card-image-plane img,.local-full-text .card-image-plane img{pointer-events:auto}.review-full-layout .card-image-plane,.local-full-text .card-image-plane{max-width:none}@media(max-width:600px){.image-editor-sides{grid-template-columns:1fr}.has-card-image{padding:14px!important}.has-card-image .review-type{min-height:0;padding:3px 8px}.has-card-image .review-card-hint{font-size:11px}.card-image{height:28dvh;flex-basis:140px}}
.image-zoomable{pointer-events:auto!important;overscroll-behavior:contain}.image-zoomable .card-image-plane{max-width:none;max-height:none}.image-zoomed{overflow:auto;justify-content:flex-start;align-items:flex-start}.image-zoom-button{margin:8px 0;min-height:44px}.image-editor [data-image-library]{font-size:13px;margin-top:10px}
.has-card-image .card-layout{flex:0 1 auto;max-height:35%;min-height:0;padding:6px;gap:6px}.has-card-image .layout-primary>.layout-block-text{font-size:calc(clamp(16px,2.6vw,24px) * var(--ui-scale,1))}
