#imageRoundCornersTool .privacy-banner{margin:0;padding:8px 12px;border-radius:var(--radius-sm);background:var(--color-success-light, #dcfce7);color:var(--color-success-dark, #166534);font-size:13px;text-align:center}#imageRoundCornersTool .upload-zone{border:2px dashed var(--color-border);border-radius:var(--radius-md);padding:36px 20px;text-align:center;cursor:pointer;background:var(--color-surface);transition:background .15s,border-color .15s}#imageRoundCornersTool .upload-zone:hover,#imageRoundCornersTool .upload-zone:focus-visible,#imageRoundCornersTool .upload-zone.dragover{border-color:var(--color-primary);background:var(--color-primary-light, #eef2ff);outline:none}#imageRoundCornersTool .upload-emoji{font-size:40px;display:block;margin-bottom:8px}#imageRoundCornersTool .upload-title{margin:4px 0;font-weight:500}#imageRoundCornersTool .upload-hint{margin:4px 0 0;font-size:12px;color:var(--color-text-muted)}#imageRoundCornersTool .source-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:space-between}#imageRoundCornersTool .source-info{margin:0;font-size:13px;color:var(--color-text-muted);flex:1;min-width:200px;word-break:break-all}#imageRoundCornersTool .source-actions{display:flex;gap:6px;flex-wrap:wrap}#imageRoundCornersTool .src-btn{min-height:44px;padding:8px 14px;font-size:13px}#imageRoundCornersTool .help-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);cursor:pointer;font-size:18px}#imageRoundCornersTool .help-btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}#imageRoundCornersTool .preview-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:240px;max-height:60vh;border-radius:var(--radius-md);overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border)}#imageRoundCornersTool .checker-bg{position:absolute;inset:0;background-image:linear-gradient(45deg,#d4d4d8 25%,transparent 25%),linear-gradient(-45deg,#d4d4d8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d4d4d8 75%),linear-gradient(-45deg,transparent 75%,#d4d4d8 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;background-color:#f4f4f5;pointer-events:none;z-index:0}#imageRoundCornersTool #previewCanvas{position:relative;z-index:1;max-width:100%;max-height:60vh;object-fit:contain;display:block}#imageRoundCornersTool .radius-readout{position:absolute;bottom:8px;right:8px;margin:0;padding:2px 8px;border-radius:6px;font-size:12px;background:#0009;color:#fff;z-index:2}#imageRoundCornersTool .preset-row{display:flex;gap:6px;flex-wrap:wrap}#imageRoundCornersTool .preset-chip{min-height:44px;min-width:56px;padding:8px 12px;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);cursor:pointer;font-size:13px}#imageRoundCornersTool .preset-chip:hover,#imageRoundCornersTool .preset-chip:focus-visible{border-color:var(--color-primary);outline:none}#imageRoundCornersTool .preset-chip.active{background:var(--color-primary);color:#fff;border-color:var(--color-primary)}#imageRoundCornersTool .lock-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}#imageRoundCornersTool .lock-label{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none;min-height:44px}#imageRoundCornersTool .lock-label input{width:18px;height:18px}#imageRoundCornersTool .unit-toggle{display:flex;gap:0;border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden}#imageRoundCornersTool .unit-toggle input{position:absolute;opacity:0;pointer-events:none}#imageRoundCornersTool .unit-toggle label{padding:8px 14px;min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:13px;border-right:1px solid var(--color-border)}#imageRoundCornersTool .unit-toggle label:last-of-type{border-right:none}#imageRoundCornersTool .unit-toggle input:checked+label{background:var(--color-primary);color:#fff}#imageRoundCornersTool .slider-row{display:flex;align-items:center;gap:8px}#imageRoundCornersTool .slider-row input[type=range]{flex:1;min-height:44px;touch-action:none}#imageRoundCornersTool .small-num{width:80px;min-height:44px;padding:8px;text-align:center;border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text)}#imageRoundCornersTool .radius-value-inline{margin-left:8px;font-variant-numeric:tabular-nums;color:var(--color-primary);font-weight:500}#imageRoundCornersTool .corner-grid{display:grid;grid-template-columns:1fr;gap:8px}#imageRoundCornersTool .corner-row{display:grid;grid-template-columns:32px auto 1fr 80px;gap:6px;align-items:center}#imageRoundCornersTool .corner-indicator{font-size:20px;color:var(--color-primary);text-align:center}#imageRoundCornersTool .corner-label{font-size:13px;color:var(--color-text-muted);min-width:44px}#imageRoundCornersTool .corner-slider{min-height:44px;touch-action:none}#imageRoundCornersTool .bg-row{display:flex;gap:8px;flex-wrap:wrap}#imageRoundCornersTool .bg-swatch{display:flex;align-items:center;gap:6px;padding:8px 12px;min-height:44px;border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;font-size:13px;background:var(--color-surface)}#imageRoundCornersTool .bg-swatch input[type=radio]{width:18px;height:18px}#imageRoundCornersTool .bg-swatch input[type=color]{width:32px;height:32px;padding:0;border:1px solid var(--color-border);border-radius:4px;cursor:pointer}#imageRoundCornersTool .bg-swatch:has(input:checked){border-color:var(--color-primary);background:var(--color-primary-light, #eef2ff)}#imageRoundCornersTool .option-tabs{display:flex;gap:0;border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow:hidden;flex-wrap:wrap}#imageRoundCornersTool .option-tabs input{position:absolute;opacity:0;pointer-events:none}#imageRoundCornersTool .option-tabs label{flex:1;padding:8px 12px;min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:13px;border-right:1px solid var(--color-border);text-align:center}#imageRoundCornersTool .option-tabs label:last-of-type{border-right:none}#imageRoundCornersTool .option-tabs input:checked+label{background:var(--color-primary);color:#fff}#imageRoundCornersTool .hint-inline{font-size:11px;color:var(--color-text-muted);margin-left:4px}#imageRoundCornersTool .option-tabs input:checked+label .hint-inline{color:#fffc}#imageRoundCornersTool .hint-text{margin:4px 0 0;font-size:12px;color:var(--color-text-muted)}#imageRoundCornersTool .btn-row{display:flex;gap:8px;flex-wrap:wrap}#imageRoundCornersTool .big-btn{flex:1;min-height:48px;font-weight:500}#imageRoundCornersTool .sticky-actions{position:sticky;bottom:0;background:var(--color-background, #ffffff);padding:8px 0 calc(8px + env(safe-area-inset-bottom));z-index:10;border-top:1px solid var(--color-border);margin-top:8px}#imageRoundCornersTool .divider{border:none;border-top:1px solid var(--color-border);margin:16px 0 0}#imageRoundCornersTool .result-head{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;align-items:center}#imageRoundCornersTool .result-actions{display:flex;gap:6px;flex-wrap:wrap}#imageRoundCornersTool .result-actions .btn{min-height:44px;padding:8px 14px}#imageRoundCornersTool .result-preview{position:relative;display:flex;justify-content:center;align-items:center;min-height:200px;max-height:60vh;border-radius:var(--radius-md);overflow:hidden;background:var(--color-surface);border:1px solid var(--color-border)}#imageRoundCornersTool #resultImage{position:relative;z-index:1;max-width:100%;max-height:60vh;object-fit:contain}#imageRoundCornersTool .help-panel{position:fixed;inset:0;background:#0006;z-index:1000;display:flex;justify-content:center;align-items:center;padding:20px}#imageRoundCornersTool .help-card{position:relative;max-width:500px;width:100%;padding:24px;border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);box-shadow:0 10px 25px #0003;max-height:80vh;overflow-y:auto}#imageRoundCornersTool .help-card h3{margin:0 0 12px}#imageRoundCornersTool .help-close{position:absolute;top:8px;right:8px;width:36px;height:36px;border:none;background:transparent;cursor:pointer;font-size:20px;color:var(--color-text)}#imageRoundCornersTool .help-grid{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0}#imageRoundCornersTool .help-grid dt{text-align:right;font-weight:500}#imageRoundCornersTool .help-grid dd{margin:0}#imageRoundCornersTool kbd{display:inline-block;padding:2px 6px;border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface);font-family:monospace;font-size:12px;box-shadow:0 1px 0 var(--color-border)}@media(max-width:480px){#imageRoundCornersTool .upload-zone{padding:28px 12px}#imageRoundCornersTool .source-bar{flex-direction:column;align-items:stretch}#imageRoundCornersTool .source-actions{justify-content:flex-start}#imageRoundCornersTool .src-btn{padding:8px 10px;font-size:12px}#imageRoundCornersTool .preset-chip{flex:1;min-width:60px}#imageRoundCornersTool .result-actions{width:100%}#imageRoundCornersTool .result-actions .btn{flex:1;min-width:0}#imageRoundCornersTool .corner-row{grid-template-columns:28px auto 1fr 64px}#imageRoundCornersTool .small-num{width:64px}}
