/* =========================================================
   CoinBet — Canlı Destek penceresi (assets/js/chat.js, layout.php chat_widget())
   Kırmızı / beyaz tema: kırmızı başlık ve balon, beyaz pencere.
   Masaüstü: sağ altta balon + 384px pencere · Mobil (≤768px): alt menünün üstünde balon, tam ekran pencere
   ========================================================= */
.lc {
    --lc-red: var(--accent, #e30a17);
    --lc-grad: var(--grad-accent, linear-gradient(135deg, #ff3445 0%, #e30a17 48%, #a8000f 100%));
    --lc-bg: #f6f7f9;
    --lc-card: #ffffff;
    --lc-line: #e6e8ee;
    --lc-text: #17181c;
    --lc-muted: #6b7180;
    --lc-fab-b: 22px;
    font-family: var(--font, system-ui, sans-serif);
}
.lc [hidden] { display: none !important; }
.lc .ic { width: 20px; height: 20px; }

/* Yüzen düğme */
.lc-fab {
    position: fixed; right: 20px; bottom: var(--lc-fab-b); z-index: 70; display: grid; place-items: center; width: 60px; height: 60px; padding: 0;
    border: 0; border-radius: 50%; background: var(--lc-grad); color: #fff; cursor: pointer;
    box-shadow: 0 12px 28px -6px rgba(227, 10, 23, .65), 0 0 0 4px rgba(255, 255, 255, .9);
    transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), bottom .3s ease, opacity .25s, translate .3s;
    animation: lc-fab-in .6s .4s cubic-bezier(.3, 1.4, .5, 1) backwards;
}
.lc-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(227, 10, 23, .35); animation: lc-ring 2.4s ease-out infinite; pointer-events: none; }
.lc-fab:hover { transform: translateY(-3px) scale(1.05); }
.lc-fab:active { transform: scale(.94); }
.lc-fab-ic, .lc-fab-x { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .3s, opacity .2s; }
.lc-fab-ic .ic { width: 28px; height: 28px; stroke-width: 2; }
.lc-fab-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.lc-fab-x .ic { width: 24px; height: 24px; stroke-width: 2.4; }
.lc.is-open .lc-fab-ic { opacity: 0; transform: rotate(60deg) scale(.6); }
.lc.is-open .lc-fab-x { opacity: 1; transform: none; }
.lc.is-open .lc-fab::after { display: none; }
.lc-fab-tip {
    position: absolute; right: calc(100% + 12px); top: 50%; padding: 7px 12px; border-radius: 8px; background: #17181c; color: #fff;
    font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); pointer-events: none;
    opacity: 0; transform: translate(8px, -50%); transition: opacity .2s, transform .25s;
}
.lc-fab-tip::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #17181c; transform: translateY(-50%) rotate(45deg); border-radius: 2px; }
@media (hover: hover) { .lc-fab:hover .lc-fab-tip { opacity: 1; transform: translate(0, -50%); } }
.lc.is-open .lc-fab-tip { display: none; }
.lc-badge {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border: 2px solid #fff; border-radius: 11px;
    background: #17181c; color: #fff; font: 800 11.5px/18px var(--font, sans-serif); font-style: normal; text-align: center; animation: lc-pop .35s cubic-bezier(.3, 1.6, .5, 1);
}
/* Masaüstünde kupon düğmesi sağ altta: balon üstüne çıkar */
body.has-slip:not(.slip-docked) .lc { --lc-fab-b: 92px; }

/* Önizleme balonu */
.lc-peek {
    position: fixed; right: 20px; bottom: calc(var(--lc-fab-b) + 74px); z-index: 71; display: flex; align-items: flex-start; gap: 10px; width: 300px; padding: 12px 34px 12px 12px;
    border: 1px solid var(--lc-line); border-radius: 16px 16px 4px 16px; background: #fff; color: var(--lc-text); cursor: pointer; box-shadow: 0 18px 44px rgba(40, 8, 14, .22);
}
.lc-peek.is-in { animation: lc-peek .45s cubic-bezier(.3, 1.3, .5, 1) both; }
.lc-peek-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.4; }
.lc-peek-txt b { color: var(--lc-red); font-size: 12px; }
.lc-peek-txt span { overflow-wrap: anywhere; }
.lc-peek-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: #8a909c; cursor: pointer; }
.lc-peek-x:hover { background: #f1f2f5; color: var(--lc-text); }
.lc-peek-x .ic { width: 14px; height: 14px; }
.lc-mark { display: block; width: 36px; height: 36px; }
.lc-mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 6px rgba(120, 60, 0, .35)); }

/* Pencere */
.lc-panel {
    position: fixed; right: 20px; bottom: calc(var(--lc-fab-b) + 76px); z-index: 75; display: flex; flex-direction: column; width: 384px; height: min(640px, calc(100vh - var(--lc-fab-b) - 110px));
    border: 1px solid var(--lc-line); border-radius: 18px; background: var(--lc-bg); color: var(--lc-text); overflow: hidden;
    box-shadow: 0 30px 80px rgba(40, 8, 14, .28); transform-origin: 100% 100%;
}
.lc-panel.is-in { animation: lc-open .35s cubic-bezier(.2, .9, .3, 1.1) both; }
.lc-panel.is-out { animation: lc-close .2s ease both; }
.lc-head { position: relative; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 10px 8px 10px 14px; flex: none; background: var(--grad-red, var(--lc-grad)); color: #fff; overflow: hidden; }
.lc-head::after { content: ""; position: absolute; right: -40px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 216, 77, .35), transparent 70%); pointer-events: none; }
.lc-head-av { position: relative; flex: none; width: 44px; height: 44px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.lc-head-av .lc-mark { width: 38px; height: 38px; }
.lc-dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border: 2px solid #c40613; border-radius: 50%; background: #ffb020; }
.lc.is-online .lc-dot { background: #2fe07a; animation: lc-live 2s infinite; }
.lc-head-txt { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.lc-head-txt b { font-size: 15px; font-weight: 800; }
.lc-head-txt small { overflow: hidden; color: rgba(255, 255, 255, .85); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.lc-ibtn { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: none; color: inherit; cursor: pointer; transition: background .2s; }
.lc-head .lc-ibtn:hover { background: rgba(255, 255, 255, .16); }
.lc-back { display: none; }
.lc-menu {
    position: absolute; top: 60px; right: 10px; z-index: 5; display: flex; flex-direction: column; min-width: 230px; padding: 6px;
    border: 1px solid var(--lc-line); border-radius: 12px; background: #fff; color: var(--lc-text); box-shadow: 0 16px 40px rgba(40, 8, 14, .22); animation: lc-pop .25s ease both;
}
.lc-menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.lc-menu button:hover { background: #f4f5f8; }
.lc-menu .ic { width: 18px; height: 18px; color: var(--lc-muted); }
.lc-menu .is-danger { color: #c40613; }
.lc-menu .is-danger .ic { color: #e30a17; }
.lc-menu .is-sure { background: #ffe7e9; }
.lc-net { flex: none; padding: 6px 12px; background: #fff4d6; color: #8a5a00; font-size: 12px; text-align: center; }

.lc-body { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px 6px; scrollbar-width: thin; scrollbar-color: #d5d8df transparent; }
.lc-loading { display: flex; justify-content: center; gap: 6px; padding: 40px 0; }
.lc-loading i, .lc-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--lc-red); animation: lc-dot 1.2s infinite ease-in-out; }
.lc-loading i:nth-child(2), .lc-dots i:nth-child(2) { animation-delay: .15s; }
.lc-loading i:nth-child(3), .lc-dots i:nth-child(3) { animation-delay: .3s; }

/* Başlangıç */
.lc-start { display: flex; flex-direction: column; gap: 12px; animation: lc-rise .4s ease both; }
.lc-hero { position: relative; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #fff1f2, #fff 70%); border: 1px solid #ffd5d9; overflow: hidden; }
.lc-hero-wave { position: absolute; right: 14px; top: 10px; font-size: 30px; animation: lc-wave 2.4s ease-in-out infinite; transform-origin: 70% 80%; }
.lc-hero h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.lc-hero p { margin: 0; max-width: 92%; color: #4b505b; font-size: 13px; line-height: 1.5; }
.lc-perks { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.lc-perks li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 20px; background: #fff; border: 1px solid #ffd5d9; color: #4b505b; font-size: 11.5px; font-weight: 700; }
.lc-perks .ic { width: 14px; height: 14px; color: var(--lc-red); }
.lc-off-note { display: none; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff4d6; color: #8a5a00; font-size: 13px; }
.lc.is-disabled .lc-off-note { display: flex; }
.lc.is-disabled .lc-start-form, .lc.is-disabled .lc-quick { display: none; }
.lc-quick { display: grid; gap: 6px; }
.lc-quick button {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid var(--lc-line); border-radius: 12px;
    background: #fff; color: var(--lc-text); font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.lc-quick button .ic { width: 15px; height: 15px; color: var(--lc-red); transition: transform .2s; }
.lc-quick button:hover { border-color: var(--lc-red); box-shadow: 0 6px 16px rgba(227, 10, 23, .1); }
.lc-quick button:hover .ic { transform: translateX(3px); }
.lc-start-form { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--lc-line); }
.lc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lc-fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--lc-muted); font-size: 12px; font-weight: 700; }
.lc-fld input, .lc-fld textarea {
    width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--lc-line); border-radius: 10px; background: #f8f9fb; color: var(--lc-text);
    font: 14px/1.45 var(--font, sans-serif); outline: none; resize: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.lc-fld input:focus, .lc-fld textarea:focus { border-color: var(--lc-red); background: #fff; box-shadow: 0 0 0 3px rgba(227, 10, 23, .12); }
.lc-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-topics label { position: relative; cursor: pointer; }
.lc-topics input { position: absolute; opacity: 0; pointer-events: none; }
.lc-topics span { display: block; padding: 6px 11px; border: 1px solid var(--lc-line); border-radius: 16px; background: #fff; color: #4b505b; font-size: 12.5px; font-weight: 600; transition: all .2s; }
.lc-topics input:checked + span { border-color: var(--lc-red); background: var(--lc-red); color: #fff; }
.lc-topics input:focus-visible + span { box-shadow: 0 0 0 3px rgba(227, 10, 23, .25); }
.lc-go {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border: 0; border-radius: 12px;
    background: var(--lc-grad); color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px -6px rgba(227, 10, 23, .6);
    transition: transform .15s, box-shadow .2s, opacity .2s; overflow: hidden;
}
.lc-go .ic { width: 18px; height: 18px; }
.lc-go:hover { box-shadow: 0 12px 28px -6px rgba(227, 10, 23, .75); }
.lc-go:active { transform: scale(.98); }
.lc-go:disabled { opacity: .6; }
.lc-go.is-busy { color: transparent; pointer-events: none; }
.lc-go.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: lc-spin .7s linear infinite; }
.lc-secure { display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--lc-muted); font-size: 11.5px; }
.lc-secure .ic { width: 12px; height: 12px; }
.lc-err { display: flex; align-items: flex-start; gap: 7px; margin: 0; padding: 8px 10px; border-radius: 9px; background: #ffe7e9; color: #a1000d; font-size: 12.5px; line-height: 1.4; }
.lc-err svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: #e30a17; }
.lc-err.is-shake { animation: lc-shake .4s; }

/* Yazışma */
.lc-log { display: flex; flex-direction: column; gap: 4px; }
.lc-day { display: flex; justify-content: center; margin: 10px 0 6px; }
.lc-day span { padding: 3px 10px; border-radius: 10px; background: #eceef2; color: var(--lc-muted); font-size: 11px; font-weight: 700; }
.lc-sys { display: flex; justify-content: center; margin: 6px 0; }
.lc-sys span { max-width: 90%; padding: 5px 12px; border-radius: 12px; background: #fff1f2; color: #b3000f; font-size: 11.5px; text-align: center; }
.lc-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 86%; margin-top: 8px; animation: lc-msg .3s cubic-bezier(.2, .9, .3, 1.1) both; }
.lc-msg.is-cont { margin-top: 2px; }
.lc-msg.is-me { align-self: flex-end; flex-direction: row-reverse; }
.lc-av { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-coin, linear-gradient(135deg, #ffe17a, #f59a00)); color: #7a4400; font: 800 13px var(--font, sans-serif); box-shadow: 0 2px 6px rgba(120, 60, 0, .3); }
.lc-msg.is-cont .lc-av { visibility: hidden; }
.lc-bub { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 64px; padding: 8px 11px 6px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--lc-line); box-shadow: 0 2px 6px rgba(16, 24, 40, .04); }
.lc-msg.is-cont.is-agent .lc-bub { border-top-left-radius: 6px; }
.lc-msg.is-me .lc-bub { border: 0; border-radius: 16px 16px 4px 16px; background: var(--lc-grad); color: #fff; box-shadow: 0 6px 16px -4px rgba(227, 10, 23, .45); }
.lc-msg.is-me.is-cont .lc-bub { border-top-right-radius: 6px; }
.lc-msg.is-auto .lc-bub { background: #fffaf0; border-color: #ffe2a8; }
.lc-name { color: var(--lc-red); font-size: 11.5px; font-weight: 800; }
.lc-msg.is-cont .lc-name { display: none; }
.lc-bub p { margin: 0; font-size: 13.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.lc-bub p a { color: var(--lc-red); text-decoration: underline; }
.lc-msg.is-me .lc-bub p a { color: #fff; }
.lc-meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: -1px; color: #9aa0ad; font-size: 10.5px; }
.lc-msg.is-me .lc-meta { color: rgba(255, 255, 255, .75); }
.lc-tick { display: inline-flex; }
.lc-tick svg { width: 15px; height: 12px; }
.lc-tick.is-seen { color: #ffd84d; }
.lc-tick.is-fail { color: #fff; }
.lc-msg.is-pending { opacity: .75; }
.lc-msg.is-failed .lc-bub { background: #8a0012; box-shadow: none; }
.lc-img { display: block; margin: -2px -5px 0; border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .06); }
.lc-img img { display: block; max-width: 230px; max-height: 260px; width: auto; height: auto; object-fit: cover; transition: transform .3s; }
.lc-img:hover img { transform: scale(1.03); }
.lc-file { display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .05); color: inherit; text-decoration: none; }
.lc-msg.is-me .lc-file { background: rgba(255, 255, 255, .18); }
.lc-file > svg { flex: none; width: 34px; height: 34px; color: #e30a17; }
.lc-msg.is-me .lc-file > svg { color: #fff; }
.lc-file span { display: flex; flex-direction: column; min-width: 0; }
.lc-file b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lc-file small { opacity: .7; font-size: 11.5px; }
.lc-file.is-up { font-size: 20px; }
a.lc-file:hover b { text-decoration: underline; }
.lc-typing { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; color: var(--lc-muted); font-size: 12px; }
.lc-dots { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--lc-line); }
.lc-dots i { width: 6px; height: 6px; }

/* Sonlanan görüşme */
.lc-ended { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 16px 0 10px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--lc-line); text-align: center; animation: lc-rise .4s ease both; }
.lc-ended b { font-size: 14px; }
.lc-ended p { display: flex; align-items: center; gap: 6px; margin: 0; color: #12a150; font-size: 13px; font-weight: 600; }
.lc-ended p .ic { width: 18px; height: 18px; }
.lc-stars { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.lc-stars button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; color: #d0d4dc; cursor: pointer; transition: transform .2s, color .2s; }
.lc-stars button .ic { width: 28px; height: 28px; }
.lc-stars button.is-hover, .lc-stars button.is-on { color: #f5b301; }
.lc-stars button.is-hover .ic, .lc-stars button.is-on .ic { fill: currentColor; }
.lc-stars button:hover { transform: scale(1.15); }
.lc-ended .lc-go { width: 100%; }

/* Mesaj kutusu */
.lc-composer { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--lc-line); background: #fff; }
.lc-compose-row { display: flex; align-items: flex-end; gap: 6px; }
.lc-compose-row textarea {
    flex: 1; min-width: 0; max-height: 120px; padding: 10px 14px; border: 1px solid var(--lc-line); border-radius: 20px; background: #f6f7f9; color: var(--lc-text);
    font: 14px/1.4 var(--font, sans-serif); resize: none; outline: none; overflow-y: hidden; transition: border-color .2s, box-shadow .2s, background .2s;
}
.lc-compose-row textarea:focus { border-color: var(--lc-red); background: #fff; box-shadow: 0 0 0 3px rgba(227, 10, 23, .12); }
.lc-attach { width: 40px; height: 40px; border-radius: 50%; color: var(--lc-muted); }
.lc-attach:hover { color: var(--lc-red); background: #fff1f2; }
.lc-send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--lc-grad); color: #fff; cursor: pointer; box-shadow: 0 6px 16px -4px rgba(227, 10, 23, .6); transition: transform .15s; }
.lc-send:hover { transform: scale(1.06); }
.lc-send:active { transform: scale(.94); }
.lc-send .ic { width: 19px; height: 19px; margin-left: -2px; }
.lc-preview { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 36px 8px 8px; border-radius: 12px; background: #fff7f7; border: 1px dashed rgba(227, 10, 23, .45); animation: lc-rise .25s ease both; }
.lc-preview img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.lc-pv-ic svg { display: block; width: 40px; height: 40px; color: #e30a17; }
.lc-pv-txt { display: flex; flex-direction: column; min-width: 0; }
.lc-pv-txt b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lc-pv-txt small { color: var(--lc-muted); font-size: 11.5px; }
.lc-pv-x { position: absolute; top: 50%; right: 8px; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -12px; padding: 0; border: 0; border-radius: 50%; background: #eceef2; color: var(--lc-text); font-size: 16px; line-height: 1; cursor: pointer; }
.lc-pv-x:hover { background: #ffd5d9; }
.lc-drop { position: absolute; inset: 68px 0 0; z-index: 6; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 2px dashed var(--lc-red); border-radius: 0 0 18px 18px; background: rgba(255, 255, 255, .94); color: var(--lc-text); pointer-events: none; }
.lc-drop .ic { width: 40px; height: 40px; color: var(--lc-red); }
.lc-panel.is-drop .lc-drop { display: flex; }

/* Görsel büyütme */
.lc-lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 60px 16px 24px; background: rgba(10, 10, 14, .9); animation: lc-fade .2s ease both; }
.lc-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lc-lb-bar { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; }
.lc-lb-bar a, .lc-lb-bar button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.lc-lb-bar a:hover, .lc-lb-bar button:hover { background: rgba(255, 255, 255, .24); }
.lc-lb-bar .ic { width: 18px; height: 18px; }

@keyframes lc-fab-in { from { opacity: 0; transform: translateY(20px) scale(.6); } }
@keyframes lc-open { from { opacity: 0; transform: translateY(16px) scale(.94); } }
@keyframes lc-close { to { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes lc-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes lc-msg { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes lc-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes lc-fade { from { opacity: 0; } }
@keyframes lc-peek { from { opacity: 0; transform: translateY(14px) scale(.9); } }
@keyframes lc-ring { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes lc-live { 70% { box-shadow: 0 0 0 7px rgba(47, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 224, 122, 0); } }
@keyframes lc-dot { 0%, 80%, 100% { transform: scale(.55); opacity: .45; } 40% { transform: scale(1); opacity: 1; } }
@keyframes lc-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
@keyframes lc-spin { to { transform: rotate(360deg); } }
@keyframes lc-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

@media (max-width: 768px) {
    .lc { --lc-fab-b: calc(64px + env(safe-area-inset-bottom) + 12px); }
    body.has-slip:not(.slip-docked) .lc { --lc-fab-b: calc(64px + env(safe-area-inset-bottom) + 12px); }
    .lc-fab { right: 12px; width: 52px; height: 52px; box-shadow: 0 10px 24px -6px rgba(227, 10, 23, .65), 0 0 0 3px #fff; }
    .lc-fab-ic .ic { width: 24px; height: 24px; }
    .lc.is-open .lc-fab { display: none; }
    .lc.is-scrolling .lc-fab { opacity: 0; translate: 0 18px; pointer-events: none; }
    .lc-fab-tip { display: none; }
    .lc-peek { right: 12px; left: 12px; bottom: calc(var(--lc-fab-b) + 64px); width: auto; }
    .lc-panel { inset: 0; z-index: 130; width: auto; height: var(--lc-vh, 100dvh); border: 0; border-radius: 0; transform-origin: 50% 100%; }
    .lc-head { min-height: 62px; padding: calc(8px + env(safe-area-inset-top)) 6px 8px 4px; }
    .lc-back { display: grid; }
    .lc-min { display: none; }
    .lc-body { padding: 12px 12px 6px; }
    .lc-composer { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
    .lc-compose-row textarea, .lc-fld input, .lc-fld textarea { font-size: 16px; } /* iOS'ta odaklanınca yakınlaştırmasın */
    .lc-img img { max-width: 200px; }
    .lc-menu { top: calc(54px + env(safe-area-inset-top)); }
    .lc-drop { inset: 62px 0 0; border-radius: 0; }
    html.lc-lock, html.lc-lock body { overflow: hidden; }
}
@media (max-width: 380px) { .lc-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
    .lc-fab, .lc-fab::after, .lc-panel.is-in, .lc-msg, .lc-start, .lc-hero-wave, .lc-peek.is-in { animation: none !important; }
}
