/* ═══════════════════════════════════════════════════════════════════════════
 * bv-crop.css — Ortak resim kırpma penceresi (js/bv-crop.js). Uygulamanın temasından bağımsızdır;
 * telefon ve masaüstünde aynı görünür. En kalın yazı 600.
 * ═══════════════════════════════════════════════════════════════════════════ */
html.bvc-open { overflow: hidden; }
.bvc { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(17, 20, 26, .72); font-family: inherit; -webkit-tap-highlight-color: transparent; }
.bvc[hidden] { display: none; }
.bvc-box { width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: #1f2733; border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35); padding: 16px 16px 14px; }
.bvc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bvc-head b { flex: 1; font-size: 17px; font-weight: 600; line-height: 1.3; }
.bvc-x, .bvc-ic { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f3f6; color: #3d4654; display: inline-flex;
    align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0; }
.bvc-x:hover, .bvc-ic:hover { background: #e5e9ef; }
.bvc-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #e9edf2; touch-action: none; }
.bvc-is-logo .bvc-stage { background-color: #fff;
    background-image: linear-gradient(45deg, #e6e9ee 25%, transparent 25%), linear-gradient(-45deg, #e6e9ee 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e6e9ee 75%), linear-gradient(-45deg, transparent 75%, #e6e9ee 75%);
    background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.bvc-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; outline: none; }
.bvc-stage canvas:active { cursor: grabbing; }
.bvc-stage canvas:focus-visible { box-shadow: inset 0 0 0 3px rgba(64, 120, 220, .6); }
.bvc-ring { position: absolute; inset: 0; pointer-events: none; border-radius: 12px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.bvc-is-avatar .bvc-ring { border-radius: 50%; box-shadow: 0 0 0 999px rgba(17, 20, 26, .42), inset 0 0 0 2px rgba(255, 255, 255, .9); }
.bvc-zoom { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; }
.bvc-zoom input[type="range"] { flex: 1; min-width: 0; height: 28px; margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent;
    -webkit-appearance: none; appearance: none; cursor: pointer; }
.bvc-zoom input[type="range"]:focus { outline: none; }
.bvc-zoom input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: #d5dbe3; }
.bvc-zoom input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -9px;
    border-radius: 50%; background: #2f3742; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.bvc-zoom input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: #d5dbe3; }
.bvc-zoom input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #2f3742; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.bvc-zoom input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(64, 120, 220, .35); }
.bvc-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 4px; }
.bvc-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid #dfe3e9; border-radius: 20px;
    background: #fff; color: #3d4654; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.bvc-tool:hover { background: #f5f7fa; }
.bvc-logo { display: none; }
.bvc-is-logo .bvc-logo { display: inline-flex; }
.bvc-hint { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.45; color: #6b7480; text-align: center; }
.bvc-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecee; color: #a8323f; font-size: 13px; line-height: 1.4; }
.bvc-err[hidden] { display: none; }
.bvc-foot { display: flex; gap: 10px; margin-top: 14px; }
.bvc-btn { flex: 1; min-height: 46px; border: 0; border-radius: 12px; background: #eef1f5; color: #3d4654; font: inherit; font-size: 15px;
    font-weight: 600; cursor: pointer; }
.bvc-btn:hover { background: #e3e8ee; }
.bvc-main { background: #2f3742; color: #fff; }
.bvc-main:hover { background: #222932; }
.bvc-btn:disabled { opacity: .6; cursor: progress; }
.bvc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2147483001; max-width: calc(100% - 32px);
    padding: 12px 16px; border-radius: 12px; background: #2f3742; color: #fff; font-size: 14px; line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: opacity .4s; }
.bvc-toast-out { opacity: 0; }
/* Koyu görünüm (Portal: data-bs-theme, mobil tema: theme-dark) */
html[data-bs-theme="dark"] .bvc-box, html.theme-dark .bvc-box, body.theme-dark .bvc-box { background: #1f242c; color: #e7eaee; }
html[data-bs-theme="dark"] .bvc-x, html[data-bs-theme="dark"] .bvc-ic, body.theme-dark .bvc-x, body.theme-dark .bvc-ic,
html[data-bs-theme="dark"] .bvc-btn, body.theme-dark .bvc-btn, html[data-bs-theme="dark"] .bvc-tool, body.theme-dark .bvc-tool { background: #2b313a; color: #dfe3e8; border-color: #3a414b; }
html[data-bs-theme="dark"] .bvc-main, body.theme-dark .bvc-main { background: #e7eaee; color: #1f242c; }
html[data-bs-theme="dark"] .bvc-hint, body.theme-dark .bvc-hint { color: #a3abb6; }
