/* Yazı tipi sitenin kendi gövde fontundan gelir (--yc-font-body); Google Fonts'a bağlanılmaz. */

.ycd-root, .ycd-root * { box-sizing: border-box; }
.ycd-root {
  --ycd-bubble-top:auto;--ycd-bubble-right:20px;--ycd-bubble-bottom:calc(20px + var(--ycd-bottom-stack, 0px));--ycd-bubble-left:auto;
  --ycd-invite-top:auto;--ycd-invite-right:20px;--ycd-invite-bottom:calc(90px + var(--ycd-bottom-stack, 0px));--ycd-invite-left:auto;
  --ycd-panel-top:auto;--ycd-panel-right:20px;--ycd-panel-bottom:calc(92px + var(--ycd-bottom-stack, 0px));--ycd-panel-left:auto;
  --ycd-accent: #0f8a6c;
  --ycd-accent-ink: #0a6a52;
  --ycd-on-accent: #ffffff;
  --ycd-bg: #ffffff;
  --ycd-panel: #f7f8f6;
  --ycd-text: #1a211d;
  --ycd-muted: #6b746e;
  --ycd-faint: #98a19b;
  --ycd-line: #e7e9e4;
  --ycd-in: #ffffff;
  --ycd-out: #e3f6ec;
  --ycd-out-text: #0f2a1f;
  --ycd-radius: 20px;
  font: 400 14px/1.5 var(--yc-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ycd-text);
}
.ycd-root.left { --ycd-side: left; }
.ycd-bubble {
  position: fixed; z-index: 2147483000; inset:var(--ycd-bubble-top) var(--ycd-bubble-right) var(--ycd-bubble-bottom) var(--ycd-bubble-left);
  width: 60px; height: 60px; border: 0; border-radius: 50%;
  background: var(--ycd-accent); color: var(--ycd-on-accent);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 28px rgba(15, 30, 24, .28), 0 2px 8px rgba(15, 30, 24, .14);
  transition: transform .15s ease;
}
.ycd-bubble:hover { transform: scale(1.05); }
.ycd-bubble::after { content: ''; position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #16a34a; border: 2.5px solid #fff; box-sizing: border-box; transform: scale(0); transition: transform .2s ease; pointer-events: none; }
.ycd-bubble.is-online::after { transform: scale(1); }
.ycd-bubble.is-open::after { transform: scale(0); }
.ycd-bubble svg { width: 26px; height: 26px; }
.ycd-bubble .ycd-close-icon { display: none; }
.ycd-bubble.is-open .ycd-chat-icon { display: none; }
.ycd-bubble.is-open .ycd-close-icon { display: block; }
.ycd-dot {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: #e5484d; color: #fff; border: 2px solid #fff;
  font: 700 11px/1 var(--yc-font-body, -apple-system, BlinkMacSystemFont, sans-serif); letter-spacing: -.02em;
  display: none; align-items: center; justify-content: center; box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(229,72,77,.45); transform: scale(.5); transition: transform .16s cubic-bezier(.34,1.56,.64,1);
}
.ycd-dot.on { display: flex; transform: scale(1); }
.ycd-invite {
  position: fixed; z-index: 2147482999; inset:var(--ycd-invite-top) var(--ycd-invite-right) var(--ycd-invite-bottom) var(--ycd-invite-left); max-width: 240px;
  background: #fff; color: var(--ycd-text); padding: 11px 15px; border-radius: 16px; border-bottom-right-radius: 4px;
  box-shadow: 0 10px 28px rgba(15, 30, 24, .18); font-size: 13.5px; opacity: 0; transform: translateY(6px) scale(.98);
  transition: opacity .18s, transform .18s; pointer-events: none;
}
.ycd-invite.show { opacity: 1; transform: none; pointer-events: auto; }
.ycd-root.left .ycd-invite { border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
.ycd-invite button { position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--ycd-line); color: var(--ycd-muted); font-size: 12px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
/* IBAN gönderildi: pencere kapalıyken balonun üstünde "Ödeme bekleniyor" çubuğu. */
.ycd-pay-alert {
  position: fixed; z-index: 2147482999; inset:var(--ycd-invite-top) var(--ycd-invite-right) var(--ycd-invite-bottom) var(--ycd-invite-left);
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(330px, calc(100vw - 40px));
  padding: 10px 34px 10px 10px; background: #fff; color: var(--ycd-text); border: 1px solid var(--ycd-line); border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 30, 24, .18); cursor: pointer; font-size: 13px; line-height: 1.35;
  opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .18s, transform .18s; pointer-events: none;
}
.ycd-pay-alert.show { opacity: 1; transform: none; pointer-events: auto; }
.ycd-pay-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff3dc; color: #b45309; }
.ycd-pay-ico svg { width: 18px; height: 18px; }
.ycd-pay-text { display: grid; gap: 2px; min-width: 0; }
.ycd-pay-text strong { font-size: 13.5px; font-weight: 650; }
.ycd-pay-text small { font-size: 12px; color: #b45309; font-variant-numeric: tabular-nums; }
.ycd-pay-text small span { white-space: nowrap; }
.ycd-pay-go { flex: none; font-size: 12.5px; font-weight: 650; color: var(--ycd-accent); }
.ycd-pay-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ycd-faint); cursor: pointer; display: grid; place-items: center; }
.ycd-pay-x:hover { background: var(--ycd-panel); color: var(--ycd-text); }
@media (max-width: 640px) { .ycd-pay-go { display: none; } }

.ycd-panel {
  position: fixed; z-index: 2147483001; inset:var(--ycd-panel-top) var(--ycd-panel-right) var(--ycd-panel-bottom) var(--ycd-panel-left);
  width: min(380px, calc(100vw - 32px)); height: min(min(640px, 78vh), calc(100vh - 120px));
  background: var(--ycd-bg); border-radius: var(--ycd-radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(10, 20, 15, .28);
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.ycd-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.ycd-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; background: var(--ycd-bg); color: var(--ycd-text); border-bottom: 1px solid var(--ycd-line); }
.ycd-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--ycd-accent); color: var(--ycd-on-accent); display: grid; place-items: center; font-weight: 600; font-size: 15px; overflow: hidden; flex: none; }
.ycd-ava img { width: 100%; height: 100%; object-fit: cover; }
.ycd-head-text { min-width: 0; flex: 1; }
.ycd-head-text strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ycd-head-text small { display: flex; align-items: center; gap: 6px; color: var(--ycd-muted); font-size: 12.5px; font-weight: 400; }
.ycd-head-text small span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Durum noktası site renginden bağımsız: koyu bir site renginde "çevrimiçi" gri/siyah görünüp kayboluyordu. */
.ycd-head-text small i { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; flex: none; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
.ycd-head-text small.away i { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .2); }
.ycd-head-text small.off i { background: var(--ycd-faint); box-shadow: none; }
.ycd-head-actions { display: flex; align-items: center; gap: 2px; flex: none; }
.ycd-icon-btn { width: 32px; height: 32px; border-radius: 9px; border: 0; background: transparent; color: var(--ycd-muted); display: grid; place-items: center; cursor: pointer; }
.ycd-icon-btn:hover { background: var(--ycd-panel); color: var(--ycd-text); }
.ycd-icon-btn svg { width: 18px; height: 18px; }

.ycd-body { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--ycd-panel); }
.ycd-log { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 12px 6px; display: flex; flex-direction: column; gap: 3px; }
.ycd-day { align-self: center; font-size: 11.5px; font-weight: 700; color: var(--ycd-muted); background: #fff; padding: 3px 11px; border-radius: 99px; margin: 8px 0 6px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.ycd-row { display: flex; align-items: flex-end; gap: 6px; margin-top: 5px; max-width: 88%; }
.ycd-row.mine { align-self: flex-end; flex-direction: row-reverse; }
.ycd-row.theirs { align-self: flex-start; }
.ycd-row.system { align-self: center; max-width: 92%; }
.ycd-avatar { width: 24px; height: 24px; border-radius: 50%; flex: none; overflow: hidden; background: var(--ycd-accent); color: #fff; display: grid; place-items: center; }
.ycd-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ycd-avatar svg { width: 14px; height: 14px; }
.ycd-row.mine .ycd-avatar { background: color-mix(in srgb, var(--ycd-text) 25%, transparent); }
.ycd-bub {
  padding: 8px 11px 6px; border-radius: 15px; background: var(--ycd-in); color: var(--ycd-text);
  box-shadow: 0 1px 2px rgba(15,30,24,.06); overflow-wrap: anywhere; white-space: pre-wrap; min-width: 40px;
}
.ycd-row.theirs .ycd-bub { border-bottom-left-radius: 4px; }
.ycd-row.mine .ycd-bub { background: var(--ycd-out); color: var(--ycd-out-text); border-bottom-right-radius: 4px; }
.ycd-row.system .ycd-bub { background: transparent; box-shadow: none; color: var(--ycd-muted); font-size: 12.5px; text-align: center; padding: 2px 8px; }
.ycd-meta { display: block; text-align: right; font-size: 10.5px; color: var(--ycd-muted); margin-top: 3px; }
.ycd-row.mine .ycd-meta { color: color-mix(in srgb, var(--ycd-out-text) 55%, transparent); }
.ycd-tick { display: inline-block; margin-left: 2px; }
.ycd-tick.read { color: #2f8df5; }
.ycd-label { font-size: 11px; font-weight: 700; color: var(--ycd-accent); margin-bottom: 2px; }
.ycd-card { min-width: 220px; }
.ycd-card-title { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.ycd-card-sub { color: var(--ycd-muted); font-size: 12.5px; margin-bottom: 6px; }
.ycd-music-dock {
  position: fixed; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden;
  opacity: 0.01; border: 0; pointer-events: none; z-index: 2147482999;
}
.ycd-music-dock .ycd-music-player--site { width: 200px; height: 150px; }
@media (max-width: 900px) {
  .ycd-music-dock { width: 2px; height: 2px; opacity: 0.02; }
  .ycd-music-dock .ycd-music-player--site { width: 2px; height: 150px; min-height: 150px; }
}
.ycd-music-thumb { width: min(100%, 320px); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; margin: 8px 0 4px; }
.ycd-music-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ycd-music-note { margin-bottom: 2px; }
.ycd-music-volume { width: 100%; margin: 6px 0 4px; accent-color: var(--ycd-accent, #0f8a6c); }
.ycd-iban-text { font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
/* IBAN kartı: Alıcı / IBAN / Tutar ayrı kutular, her birinde kopyala düğmesi. */
.ycd-iban-rows { display: grid; gap: 6px; margin: 6px 0 4px; }
.ycd-iban-row { display: flex; align-items: center; gap: 8px; background: rgba(15,30,24,.05); border-radius: 9px; padding: 7px 7px 7px 10px; }
.ycd-iban-row-info { display: grid; gap: 1px; min-width: 0; flex: 1; }
.ycd-iban-label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ycd-muted); }
.ycd-iban-value { font-size: 14px; font-weight: 700; color: var(--ycd-text); overflow-wrap: anywhere; }
.ycd-iban-row.is-code .ycd-iban-value { font: 700 13.5px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .01em; word-break: break-all; }
.ycd-iban-row-copy { flex: none; border: 1px solid var(--ycd-line); background: #fff; color: var(--ycd-text); font-size: 12px; font-weight: 600; border-radius: 8px; padding: 5px 9px; cursor: pointer; white-space: nowrap; }
.ycd-iban-row-copy:hover { background: var(--ycd-panel); }
.ycd-iban-bank { font-size: 12px; color: var(--ycd-muted); margin: 0 0 4px 2px; }
.ycd-iban-timer { font-size: 12px; font-weight: 650; color: var(--ycd-accent); margin-top: 2px; }
.ycd-map { border-radius: 10px; overflow: hidden; margin-bottom: 8px; aspect-ratio: 16/10; min-width: 220px; }
.ycd-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ycd-iban-loading { display: flex; align-items: flex-start; gap: 8px; padding: 6px 2px 4px; min-width: 220px; }
.ycd-iban-bddk { display: block; width: 28px; height: 28px; object-fit: contain; flex: none; animation: ycd-iban-bddk-pulse 1.4s ease-in-out infinite; }
.ycd-iban-loading-copy { display: grid; gap: 8px; min-width: 0; flex: 1; }
.ycd-iban-loading-text { font-size: 12.5px; line-height: 1.4; color: var(--ycd-text); font-weight: 550; }
.ycd-iban-progress { height: 3px; border-radius: 99px; background: rgba(15,30,24,.08); overflow: hidden; }
.ycd-iban-progress-bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ycd-accent); animation: ycd-iban-progress 5s linear forwards; }
@keyframes ycd-iban-bddk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .42; } }
@keyframes ycd-iban-progress { from { width: 0; } to { width: 100%; } }
.ycd-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(15,30,24,.12); border-top-color: var(--ycd-accent); flex: none; animation: ycd-spin .8s linear infinite; }
@keyframes ycd-spin { to { transform: rotate(360deg); } }
.ycd-copy { border: 1px solid var(--ycd-line); background: #fff; color: var(--ycd-text); font-size: 12px; font-weight: 600; border-radius: 8px; padding: 5px 10px; cursor: pointer; margin-top: 4px; }
.ycd-copy:hover { background: var(--ycd-panel); }
.ycd-row.has-products { width: 100%; max-width: 100%; align-items: flex-start; }
.ycd-row.has-products .ycd-avatar { display: none; }
.ycd-row.has-products .ycd-bub { width: 100%; min-width: 0; }
.ycd-products { width: 100%; min-width: 0; display: grid; gap: 10px; white-space: normal; }
.ycd-products-lead { margin: 0; font-size: 13px; line-height: 1.5; white-space: pre-wrap; }
.ycd-products-asof { margin: -3px 0 1px; color: var(--ycd-muted); font-size: 11px; line-height: 1.5; }
.ycd-product-card { min-width: 0; border: 1px solid var(--ycd-line); border-radius: 11px; background: #fff; color: var(--ycd-text); overflow: hidden; }
.ycd-product { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; }
.ycd-product-image { width: 56px; height: 66px; position: relative; display: grid; place-items: center; border: 1px solid var(--ycd-line); border-radius: 8px; overflow: hidden; background: #fff; }
.ycd-product-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 4px; object-fit: contain; background: #fff; }
.ycd-product-image img[hidden] { display: none; }
.ycd-product-image-fallback { padding: 5px; color: var(--ycd-muted); font-size: 10px; text-align: center; line-height: 1.4; }
.ycd-product-copy { min-width: 0; display: grid; gap: 5px; }
.ycd-product-number { color: var(--ycd-muted); font-size: 10.5px; line-height: 1.3; }
.ycd-product-name { font-size: 13px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.ycd-product-attributes { display: flex; flex-wrap: wrap; gap: 4px; font-size: 10.5px; line-height: 1.5; }
.ycd-product-attributes > span { padding: 2px 5px; border: 1px solid var(--ycd-line); border-radius: 5px; background: var(--ycd-panel); overflow-wrap: anywhere; }
.ycd-product-stock { color: var(--ycd-muted); font-size: 11px; line-height: 1.4; }
.ycd-product-stock.is-ok { color: #17784f; }
.ycd-product-stock.is-bad { color: #b53030; }
.ycd-product-stock.is-warn { color: #885900; }
.ycd-product-pricing { display: grid; gap: 5px; margin: 0 10px 10px; padding-top: 9px; border-top: 1px solid var(--ycd-line); font-size: 12px; line-height: 1.5; }
.ycd-product-pricing > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; }
.ycd-product-pricing > div > span { color: var(--ycd-muted); }
.ycd-product-pricing strong { font-size: 12px; font-weight: 650; }
.ycd-product-detail { padding: 0 10px; border-top: 1px solid var(--ycd-line); font-size: 12px; }
.ycd-product-detail summary { padding: 10px 0; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ycd-accent); }
.ycd-plans { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 7px; }
.ycd-plan { display: grid; gap: 5px; border: 1px solid var(--ycd-line); background: var(--ycd-panel); padding: 8px; border-radius: 7px; font-size: 12px; }
.ycd-plan > strong { font-size: 12px; }
.ycd-plan dl { margin: 0; display: grid; gap: 3px; }
.ycd-plan dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 8px; }
.ycd-plan dt { color: var(--ycd-muted); }
.ycd-plan dd { margin: 0; font-weight: 600; }
.ycd-plan-select { justify-self: start; min-height: 36px; padding: 6px 9px; border: 1px solid var(--ycd-line); border-radius: 6px; background: #fff; color: var(--ycd-accent); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.ycd-product-description { margin: 0 0 10px; line-height: 1.6; font-size: 12px; white-space: pre-wrap; }
.ycd-product-meta { display: block; color: var(--ycd-muted); font-size: 11px; line-height: 1.5; margin-bottom: 10px; overflow-wrap: anywhere; }
.ycd-product-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px; border-top: 1px solid var(--ycd-line); }
.ycd-product-page, .ycd-product-select { min-height: 38px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; flex: 1 1 105px; border: 1px solid var(--ycd-line); border-radius: 7px; font: inherit; font-size: 12px; line-height: 1.5; font-weight: 600; text-decoration: none; text-align: center; }
.ycd-product-page { color: var(--ycd-accent); background: #fff; }
.ycd-product-select { background: var(--ycd-accent); color: var(--ycd-on-accent); border-color: var(--ycd-accent); cursor: pointer; }
.ycd-product-select:disabled, .ycd-plan-select:disabled { opacity: .55; cursor: default; }
.ycd-product-select:focus-visible, .ycd-plan-select:focus-visible, .ycd-product-page:focus-visible, .ycd-product-detail summary:focus-visible { outline: 2px solid var(--ycd-accent); outline-offset: 2px; }
.ycd-product-empty { margin: 0; color: var(--ycd-muted); font-size: 12px; line-height: 1.5; }
.ycd-link-btn { display: inline-flex; align-items: center; gap: 5px; color: var(--ycd-accent); font-weight: 700; font-size: 13px; text-decoration: none; margin-top: 4px; }
.ycd-link-btn + .ycd-link-btn { margin-left: 16px; }
.ycd-img { display: block; border-radius: 12px; overflow: hidden; max-width: 220px; cursor: zoom-in; }
.ycd-img img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.ycd-video { width: 250px; max-width: 100%; white-space: normal; }
.ycd-video-el { display: block; width: 100%; height: auto; max-height: 340px; border-radius: 11px; background: #000; object-fit: contain; }
.ycd-video-title { margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.ycd-video .ycd-video-fallback { margin-top: 6px; }
.ycd-file { display: flex; align-items: center; gap: 9px; min-width: 190px; color: inherit; text-decoration: none; }
.ycd-file-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--ycd-accent); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; flex: none; }
.ycd-file strong { display: block; font-size: 13px; }
.ycd-file small { color: var(--ycd-muted); }

.ycd-typing { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; background: var(--ycd-in); border-radius: 14px; border-bottom-left-radius: 4px; padding: 9px 12px; margin-top: 6px; box-shadow: 0 1px 2px rgba(15,30,24,.06); }
.ycd-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ycd-muted); animation: ycd-blink 1.2s infinite both; }
.ycd-typing i:nth-child(2) { animation-delay: .2s; }
.ycd-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes ycd-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.ycd-empty { margin: auto; text-align: center; color: var(--ycd-muted); padding: 20px; font-size: 13.5px; }

.ycd-gate { padding: 16px; display: grid; gap: 10px; overflow-y: auto; }
.ycd-gate p { margin: 0; color: var(--ycd-muted); font-size: 13px; }
.ycd-gate input[type="text"], .ycd-gate input[type="email"], .ycd-gate input[type="tel"],
.ycd-form input[type="text"], .ycd-form input[type="email"], .ycd-form input[type="tel"] {
  width: 100%; border: 1px solid var(--ycd-line); background: #fff; border-radius: 10px; padding: 10px 12px; font: inherit; color: inherit;
}
.ycd-gate input:focus { outline: none; border-color: var(--ycd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ycd-accent) 16%, transparent); }
.ycd-kvkk { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ycd-muted); cursor: pointer; }
.ycd-kvkk input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--ycd-accent); }
.ycd-kvkk a { color: var(--ycd-accent); }
.ycd-error { color: #d23b3b; font-size: 12.5px; }
.ycd-primary { border: 0; background: var(--ycd-accent); color: var(--ycd-on-accent); font: inherit; font-weight: 700; padding: 11px; border-radius: 11px; cursor: pointer; }
.ycd-primary:hover { filter: brightness(1.04); }
.ycd-primary:disabled { opacity: .55; cursor: default; }

.ycd-form { padding: 16px; display: grid; gap: 10px; overflow-y: auto; }
.ycd-form textarea { width: 100%; min-height: 90px; border: 1px solid var(--ycd-line); background: #fff; border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; }
.ycd-form textarea:focus, .ycd-form input:focus { outline: none; border-color: var(--ycd-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ycd-accent) 16%, transparent); }

.ycd-quick { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 0; flex: none; }
.ycd-quick::-webkit-scrollbar { display: none; }
.ycd-quick button { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--ycd-line); background: #fff; color: var(--ycd-text); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ycd-quick button:hover { background: var(--ycd-panel); }

.ycd-composer { flex: none; display: flex; align-items: flex-end; gap: 6px; padding: 10px; background: #fff; border-top: 1px solid var(--ycd-line); }
.ycd-input-wrap { flex: 1; min-width: 0; display: flex; align-items: flex-end; background: var(--ycd-panel); border-radius: 20px; padding: 3px 4px 3px 13px; }
.ycd-input-wrap textarea { flex: 1; min-width: 0; border: 0; background: transparent; resize: none; font: inherit; color: inherit; max-height: 100px; min-height: 22px; padding: 8px 2px; }
.ycd-input-wrap textarea:focus { outline: none; }
.ycd-attach-btn, .ycd-send-btn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.ycd-attach-btn { background: transparent; color: var(--ycd-muted); }
.ycd-attach-btn:hover { background: rgba(0,0,0,.05); }
.ycd-send-btn { background: var(--ycd-accent); color: var(--ycd-on-accent); }
.ycd-send-btn:disabled { background: var(--ycd-line); color: var(--ycd-muted); }
.ycd-composer-note { flex: none; padding: 0 12px 8px; font-size: 11px; color: #d23b3b; display: none; }
.ycd-composer-note.show { display: block; }
.ycd-attach-chip { flex: none; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--ycd-line); border-radius: 10px; padding: 8px 10px; margin: 0 10px 8px; font-size: 12.5px; }
.ycd-attach-chip button { border: 0; background: transparent; color: var(--ycd-muted); cursor: pointer; margin-left: auto; }

.ycd-rate { padding: 22px 18px; text-align: center; display: grid; gap: 12px; justify-items: center; margin: auto; }
.ycd-rate strong { font-size: 15px; }
.ycd-stars { display: flex; gap: 6px; }
.ycd-stars button { border: 0; background: transparent; padding: 2px; cursor: pointer; color: #d8dbd4; }
.ycd-stars button.on, .ycd-stars button:hover, .ycd-stars button:hover ~ button { color: #f5b83d; }
.ycd-stars svg { width: 30px; height: 30px; }
.ycd-rate label { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ycd-muted); cursor: pointer; }
.ycd-rate-done { color: var(--ycd-accent); font-weight: 700; }

@media (max-width: 640px) {
  /* Telefonda panel tam ekran: küçük ekranlara her zaman sığar. Yükseklik, klavye
     açılınca küçülsün diye visualViewport'tan (--ycd-vvh) beslenir; yoksa 100dvh. */
  .ycd-panel {
    inset: 0 !important;
    width: 100vw !important; width: 100dvw !important;
    height: 100dvh !important; height: var(--ycd-vvh, 100dvh) !important;
    max-height: none !important; border-radius: 0 !important;
    transform: translateY(100%);
  }
  .ycd-panel.open { transform: none; }
  /* Davet balonu dar ve kısa: sayfadaki düğmelerin üstüne yayılmasın. */
  .ycd-invite { max-width: min(210px, calc(100vw - 112px)); font-size: 13px; padding: 9px 13px; }
  /* Görünür alanın başladığı yerde dur (iOS klavyesi sayfayı kaydırınca yazma alanı ekranda kalsın). */
  .ycd-panel { top: var(--ycd-vvt, 0px) !important; bottom: auto !important; left: 0 !important; right: 0 !important; overscroll-behavior: contain; }
  .ycd-body, .ycd-messages { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .ycd-head { padding-top: calc(14px + env(safe-area-inset-top)); }
  .ycd-composer { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .ycd-gate, .ycd-form { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  /* iOS Safari: font-size < 16px olan alana odaklanınca sayfayı zoom'lar. 16px bunu keser. */
  .ycd-input-wrap textarea,
  .ycd-gate input[type="text"], .ycd-gate input[type="email"], .ycd-gate input[type="tel"],
  .ycd-form input[type="text"], .ycd-form input[type="email"], .ycd-form input[type="tel"], .ycd-form textarea {
    font-size: 16px !important;
  }
}

/* Mobilde sohbet açıkken arka sayfa kilitli (widget.js lockPage). */
html.ycd-lock, html.ycd-lock body { overflow: hidden !important; overscroll-behavior: none; }
html.ycd-lock body { position: fixed !important; left: 0; right: 0; width: 100%; }

/* Product cards: scoped surfaces keep names and amounts readable in any chat bubble. */
.ycd-row.has-products { width: 100%; max-width: 100%; min-width: 0; align-items: flex-start; }
.ycd-row.has-products .ycd-avatar { display: none; }
.ycd-row.has-products .ycd-bub { width: 100%; min-width: 0; padding: 0; background: transparent; box-shadow: none; }
.ycd-products--modern { width: 100%; min-width: 0; display: grid; gap: 12px; color: var(--ycd-text, #19251e); white-space: normal; }
.ycd-products--modern .ycd-products-lead { margin: 0 0 2px; color: var(--ycd-text, #19251e); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.ycd-products--modern .ycd-products-asof { margin: -5px 0 0; color: var(--ycd-muted, #5c6c62); font-size: 11px; line-height: 1.5; }
.ycd-products--modern .ycd-product-list { display: grid; gap: 12px; max-height: none; overflow: visible; padding: 0; }
.ycd-products--modern .ycd-product-card { min-width: 0; border: 1px solid var(--ycd-line, #dce6df); border-radius: 16px; background: var(--ycd-bg, #fff); color: var(--ycd-text, #19251e); box-shadow: 0 3px 12px rgba(16, 40, 27, .05); overflow: hidden; }
.ycd-products--modern .ycd-product { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 14px 14px 0; align-items: start; border: 0; border-radius: 0; background: transparent; color: var(--ycd-text, #19251e); box-shadow: none; text-align: left; cursor: default; }
.ycd-products--modern .ycd-product-image { position: relative; display: grid; place-items: center; width: 52px; height: 64px; overflow: hidden; border: 1px solid var(--ycd-line, #dce6df); border-radius: 10px; background: #fff; }
.ycd-products--modern .ycd-product-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 4px; object-fit: contain; background: #fff; }
.ycd-products--modern .ycd-product-image img[hidden] { display: none; }
.ycd-products--modern .ycd-product-image-fallback { padding: 5px; color: #5c6c62; font-size: 10px; line-height: 1.4; text-align: center; }
.ycd-products--modern .ycd-product-copy { display: grid; gap: 7px; min-width: 0; padding: 14px 14px 0; }
.ycd-products--modern .ycd-product > .ycd-product-copy { padding: 0; }
.ycd-products--modern .ycd-product-number { color: var(--ycd-muted, #5c6c62); font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.ycd-products--modern .ycd-product-name { display: block; color: var(--ycd-text, #19251e); font-size: 14px; font-weight: 750; line-height: 1.5; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
.ycd-products--modern .ycd-product-attributes { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; font-size: 11px; line-height: 1.5; }
.ycd-products--modern .ycd-product-attributes > span { max-width: 100%; border: 1px solid var(--ycd-line, #dce6df); border-radius: 7px; padding: 3px 7px; background: var(--ycd-panel, #f3f7f4); color: var(--ycd-text, #19251e); white-space: normal; overflow-wrap: anywhere; }
.ycd-products--modern .ycd-product-stock { display: inline-flex; justify-self: start; width: fit-content; border-radius: 999px; padding: 3px 7px; font-size: 10px; font-weight: 650; line-height: 1.4; }
.ycd-products--modern .ycd-product-stock.is-ok { color: #14613e; background: #e4f4ea; }
.ycd-products--modern .ycd-product-stock.is-bad { color: #9b3030; background: #fceaea; }
.ycd-products--modern .ycd-product-stock.is-warn { color: #7a5200; background: #fff1d3; }
.ycd-products--modern .ycd-product-stock.is-muted { color: #526158; background: #edf1ee; }
.ycd-products--modern .ycd-product-body { min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ycd-text, #19251e); }
.ycd-products--modern .ycd-product-kpis, .ycd-products--modern .ycd-product-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 14px; padding: 0; border: 0; }
.ycd-products--modern .ycd-product-kpis > div, .ycd-products--modern .ycd-product-pricing > .ycd-product-metric { display: grid; align-content: start; gap: 4px; min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--ycd-line, #dce6df); border-radius: 10px; background: var(--ycd-panel, #f3f7f4); text-align: left; }
.ycd-products--modern .ycd-product-kpis dt, .ycd-products--modern .ycd-product-pricing > .ycd-product-metric > span { margin: 0; color: var(--ycd-muted, #5c6c62); font-size: 10.5px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; white-space: normal; }
.ycd-products--modern .ycd-product-kpis dd, .ycd-products--modern .ycd-product-pricing > .ycd-product-metric > strong { margin: 0; color: var(--ycd-text, #19251e); font-size: 16px; font-weight: 750; line-height: 1.45; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.ycd-products--modern .ycd-product-list-price { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 10px; margin: 0 14px 12px; color: var(--ycd-muted, #5c6c62); font-size: 11px; line-height: 1.5; }
.ycd-products--modern .ycd-product-list-price strong { color: var(--ycd-text, #19251e); font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.ycd-products--modern .ycd-product-pricing > .ycd-product-list-price { grid-column: 1 / -1; order: 3; margin: 0; }
.ycd-products--modern .ycd-product-detail { display: block; min-width: 0; padding: 0 14px; border-top: 1px solid var(--ycd-line, #dce6df); color: var(--ycd-text, #19251e); }
.ycd-products--modern .ycd-product-detail > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--ycd-text, #19251e); font-size: 12px; font-weight: 650; line-height: 1.5; cursor: pointer; list-style: none; }
.ycd-products--modern .ycd-product-detail > summary::-webkit-details-marker { display: none; }
.ycd-products--modern .ycd-product-detail > summary::after { content: '+'; flex: none; font-size: 18px; font-weight: 400; }
.ycd-products--modern .ycd-product-detail[open] > summary::after { content: '−'; }
.ycd-products--modern .ycd-product-plan-grid, .ycd-products--modern .ycd-plans { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0; margin: 0 0 12px; list-style: none; }
.ycd-products--modern .ycd-product-plan-cell, .ycd-products--modern .ycd-plan { display: grid; gap: 5px; min-width: 0; padding: 10px; border: 1px solid var(--ycd-line, #dce6df); border-radius: 9px; background: var(--ycd-panel, #f3f7f4); color: var(--ycd-text, #19251e); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.ycd-products--modern .ycd-product-plan-cell.is-default { border-color: #8fb9a6; box-shadow: inset 3px 0 #247358; }
.ycd-products--modern .ycd-product-plan-term, .ycd-products--modern .ycd-product-plan-dep, .ycd-products--modern .ycd-plan dt { color: var(--ycd-muted, #5c6c62); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ycd-products--modern .ycd-product-plan-pay, .ycd-products--modern .ycd-plan > strong, .ycd-products--modern .ycd-plan dd { color: var(--ycd-text, #19251e); font-size: 13px; font-weight: 650; }
.ycd-products--modern .ycd-plan dl { display: grid; gap: 5px; margin: 0; }
.ycd-products--modern .ycd-plan dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 8px; }
.ycd-products--modern .ycd-plan dd { margin: 0; }
.ycd-products--modern .ycd-product-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--ycd-line, #dce6df); }
.ycd-products--modern .ycd-product-page, .ycd-products--modern .ycd-product-select, .ycd-products--modern .ycd-plan-select { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 145px; min-height: 44px; max-width: 100%; padding: 10px 12px; border: 1px solid #0a6a52; border-radius: 9px; background: #0a6a52; color: #fff; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; text-decoration: none; text-align: center; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.ycd-products--modern .ycd-product-select, .ycd-products--modern .ycd-plan-select { border-color: var(--ycd-line, #dce6df); background: var(--ycd-bg, #fff); color: var(--ycd-text, #19251e); }
.ycd-products--modern .ycd-plan-select { justify-self: stretch; margin-top: 3px; }
.ycd-products--modern .ycd-product-select:disabled, .ycd-products--modern .ycd-plan-select:disabled { opacity: .6; cursor: default; }
.ycd-products--modern .ycd-product-page:focus-visible, .ycd-products--modern .ycd-product-select:focus-visible, .ycd-products--modern .ycd-plan-select:focus-visible, .ycd-products--modern .ycd-product-detail > summary:focus-visible, .ycd-products--modern .ycd-product-more:focus-visible { outline: 2px solid #247358; outline-offset: 3px; }
.ycd-products--modern .ycd-product-more { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--ycd-line, #dce6df); border-radius: 10px; background: var(--ycd-bg, #fff); color: var(--ycd-text, #19251e); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.ycd-products--modern .ycd-product-empty { grid-column: 1 / -1; margin: 12px 14px; color: var(--ycd-muted, #5c6c62); font-size: 12px; line-height: 1.5; }

/* Customer-support surface: transport, cards, copy/read events and persona logic stay intact. */
.ycd-root.ycd-support-modern {
  --ycd-bg:#0d1c21;--ycd-panel:#0d1c21;--ycd-text:#ecf6f4;--ycd-muted:#a5beb9;--ycd-faint:#849e99;
  --ycd-line:#31494b;--ycd-in:#223740;--ycd-out:#174c43;--ycd-out-text:#effff8;--ycd-radius:24px;
  --ycd-support-green:#23d981;--ycd-on-accent:#ffffff;
}
.ycd-support-modern button { font-family:inherit;line-height:1.35;letter-spacing:normal;text-transform:none; }
.ycd-support-modern .ycd-panel { width:min(420px,calc(100vw - 32px));height:min(600px,calc(100vh - 126px));border:1px solid #294441;box-shadow:0 24px 72px #0005; }
.ycd-support-modern .ycd-head { padding:20px;gap:13px;background:#164b43;color:#fff;border:0; }
.ycd-support-modern .ycd-ava { width:46px;height:46px;background:#fff;color:#126854;box-shadow:0 0 0 1px #ffffff24; }
.ycd-support-modern .ycd-head-text strong { font-size:17px;letter-spacing:-.02em; }
.ycd-support-modern .ycd-head-text small { color:#c8e7dd;font-size:12px;margin-top:3px; }
.ycd-support-modern .ycd-head-text small i { box-shadow:none;width:7px;height:7px; }
.ycd-support-modern .ycd-icon-btn { width:40px;height:40px;color:#e8fff8;border-radius:50%; }
.ycd-support-modern .ycd-icon-btn:hover { background:#ffffff14;color:#fff; }
.ycd-support-modern .ycd-body { background-color:#0d1c21;background-image:radial-gradient(#659f8a22 .8px,transparent .8px);background-size:19px 19px; }
.ycd-support-modern .ycd-log { padding:20px 16px 12px;scrollbar-color:#3c5d57 transparent;scrollbar-width:thin; }
.ycd-support-modern .ycd-welcome { position:relative;margin:8px 0 0 12px;padding:18px 20px;text-align:left;align-self:stretch;background:#223740;border-radius:0 18px 18px 18px;color:#e8f5f1;font-size:15px;line-height:1.65; }
.ycd-support-modern .ycd-welcome::before { content:'';position:absolute;top:0;left:-9px;border-top:10px solid #223740;border-left:10px solid transparent; }
.ycd-support-modern .ycd-welcome-name { display:block;color:#6ee7bd;font-size:12px;margin-bottom:7px;font-weight:650; }
.ycd-support-modern .ycd-welcome-text { white-space:pre-wrap;overflow-wrap:anywhere; }
.ycd-support-modern .ycd-day { background:#203731;color:#bbd6cb;box-shadow:none;font-size:11px;font-weight:500; }
.ycd-support-modern .ycd-bub { box-shadow:none; }
.ycd-support-modern .ycd-bub a { color:#73e5c1; }
.ycd-support-modern .ycd-quick { padding:4px 20px 14px;gap:8px;flex-wrap:wrap;max-height:168px;overflow:auto;scrollbar-width:thin;scrollbar-color:#3c5d57 transparent; }
.ycd-support-modern .ycd-quick button { min-height:42px;height:auto;padding:10px 13px;font-size:12px;border:1px solid #375354;background:#203139;color:#78e9c6;font-weight:600;white-space:normal;text-align:left; }
.ycd-support-modern .ycd-quick button:hover { background:#2b4648;border-color:#66bea1; }
.ycd-support-modern .ycd-quick button[aria-expanded] { border-color:transparent;color:#b5cfc7;background:transparent; }
.ycd-support-modern .ycd-quick button:disabled { opacity:.55;cursor:wait; }
.ycd-support-modern .ycd-composer { padding:12px;background:#1c2c32;border-top:1px solid #30464a;gap:8px; }
.ycd-support-modern .ycd-input-wrap { border:1px solid #78918f;border-radius:28px;background:#1b2c31;padding:4px 10px 4px 6px;min-height:50px;color:#eff7f5;transition:border-color .15s,box-shadow .15s; }
.ycd-support-modern .ycd-input-wrap:focus-within { border-color:#9deace;box-shadow:0 0 0 2px #79dcad22; }
.ycd-support-modern .ycd-input-wrap textarea { padding:9px 3px;line-height:1.5;font-size:15px; }
.ycd-support-modern .ycd-input-wrap textarea::placeholder { color:#acc5be;opacity:1; }
.ycd-support-modern .ycd-send-btn { width:50px;height:50px;flex:none;border-radius:50%;background:#23875d;color:white;box-shadow:none; }
.ycd-support-modern .ycd-send-btn:not(:disabled):hover { background:#2aa36f; }
.ycd-support-modern .ycd-send-btn:disabled { background:#315348;color:#92b2a3;opacity:.8; }
.ycd-support-modern .ycd-attach-btn { color:#a8c3ba;width:32px;min-height:38px; }
.ycd-support-modern .ycd-bubble { width:64px;height:64px;background:#23d981;color:#093d2c;box-shadow:0 8px 28px #0004; }
.ycd-support-modern .ycd-bubble::after { background:#128454;border-color:#23d981; }
.ycd-support-modern .ycd-launcher-label { position:absolute;right:calc(100% + 12px);padding:13px 17px;background:#203239;color:#fff;border:1px solid #31494b;border-radius:14px;font-weight:650;font-size:14px;white-space:nowrap;box-shadow:0 6px 22px #0003; }
.ycd-support-modern.left .ycd-launcher-label { right:auto;left:calc(100% + 12px); }
.ycd-support-modern .is-open .ycd-launcher-label { display:none; }
.ycd-support-modern .ycd-invite { background:#203239;color:#e9f4ef;border:1px solid #37534d; }
.ycd-support-modern .ycd-invite button { background:#203239;color:#d8eae0; }
.ycd-support-modern .ycd-composer-note { color:#ffb4a9;background:#1c2c32;padding-top:6px; }
.ycd-support-modern :is(button,a,input,textarea):focus-visible { outline:2px solid #89efd0;outline-offset:3px; }
@media(max-width:640px) {
 .ycd-support-modern .ycd-head { padding:calc(16px + env(safe-area-inset-top)) 16px 16px; }
 .ycd-support-modern .ycd-composer { padding-bottom:calc(12px + env(safe-area-inset-bottom)); }
 .ycd-support-modern .ycd-log { padding:18px 12px 10px; }
 .ycd-support-modern .ycd-quick { padding-left:16px;padding-right:16px;max-height:min(176px,29dvh); }
 .ycd-support-modern .ycd-quick button { min-height:44px; }
 .ycd-support-modern .ycd-welcome { padding:16px 18px; }
 .ycd-support-modern .ycd-launcher-label { padding:12px 15px;font-size:13px; }
}
@media(prefers-reduced-motion:reduce) {
 .ycd-support-modern *, .ycd-support-modern *::before, .ycd-support-modern *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; }
}
.ycd-support-modern .ycd-gate input:not([type=checkbox]), .ycd-support-modern .ycd-form input:not([type=checkbox]), .ycd-support-modern .ycd-form textarea,
.ycd-support-modern .ycd-copy, .ycd-support-modern .ycd-iban-row-copy, .ycd-support-modern .ycd-attach-chip { background:#21383a;color:#e8f5ef; }
.ycd-support-modern .ycd-pay-alert { background:#203239;color:#e8f5ef; }
.ycd-support-modern .ycd-product-card { background:#172b2d; }
.ycd-support-modern .ycd-product-page { background:#165c49;color:#9ff5d2;border-color:#3b8971; }
.ycd-support-modern .ycd-plan-select { background:#203d36;color:#a3f2d0; }
.ycd-support-modern .ycd-welcome-view .ycd-log { flex:0 1 auto;max-height:45%; }
.ycd-support-modern .ycd-welcome-view .ycd-composer { margin-top:auto; }
.ycd-support-modern .ycd-welcome-view .ycd-quick { padding-top:10px; }
.ycd-support-modern .ycd-send-btn svg { width:22px;height:22px; }
.ycd-support-modern .ycd-attach-btn svg { width:20px;height:20px; }

/* The owner-supplied six-step guide keeps its full aspect ratio. */
.ycd-support-modern .ycd-installment-guide{display:block;max-width:100%;width:300px;cursor:zoom-in}
.ycd-support-modern .ycd-installment-guide img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}

/* Inline guide zoom stays inside the conversation; swipe to read enlarged text. */
.ycd-support-modern button.ycd-installment-guide{padding:0;border:0;background:transparent;text-align:left;line-height:0;touch-action:pan-x pan-y}
.ycd-support-modern .ycd-installment-guide.is-expanded{overflow:auto;max-height:55vh;cursor:zoom-out;overscroll-behavior:contain}
.ycd-support-modern .ycd-installment-guide.is-expanded img{width:720px;max-width:none;height:auto}
.ycd-support-modern .ycd-installment-guide:focus-visible{outline:2px solid #68e8bf;outline-offset:3px}

.ycd-support-modern .has-installment-guide{width:100%;min-width:0}
.ycd-support-modern .has-installment-guide .ycd-bub{min-width:0;width:calc(100% - 30px);box-sizing:border-box}

/* Compact support window; respect the visual viewport when a phone keyboard opens. */
.ycd-support-modern .ycd-panel{width:min(360px,calc(100vw - 24px));height:min(480px,calc(100dvh - 112px));border-radius:20px}
.ycd-support-modern .ycd-head{padding:12px 14px;gap:10px}
.ycd-support-modern .ycd-ava{width:36px;height:36px}
.ycd-support-modern .ycd-head-text strong{font-size:15px}
.ycd-support-modern .ycd-head-text small{font-size:11px}
.ycd-support-modern .ycd-welcome{padding:12px 14px;font-size:13px;line-height:1.5}
.ycd-support-modern .ycd-log{padding:12px 12px 8px}
.ycd-support-modern .ycd-quick{padding:4px 12px 10px;gap:6px;max-height:132px}
.ycd-support-modern .ycd-quick button{padding:8px 10px;font-size:11px}
.ycd-support-modern .ycd-composer{padding:9px 10px;gap:7px}
.ycd-support-modern .ycd-send-btn{width:42px;height:42px;min-width:42px}
.ycd-support-modern .ycd-bubble{width:54px;height:54px}
.ycd-support-modern .ycd-launcher-label{padding:10px 13px;font-size:12px}
.ycd-support-modern .ycd-gate{padding:16px;gap:9px;min-height:0}
.ycd-support-modern .ycd-field-label{font-size:12px;color:#d7e9e4;font-weight:600;display:grid;gap:5px}
@media(max-width:640px){
 .ycd-support-modern .ycd-panel{inset:auto!important;left:auto!important;right:12px!important;top:calc(var(--ycd-vvt,0px) + max(10px,calc(var(--ycd-vvh,100dvh) - 558px)))!important;bottom:auto!important;width:min(360px,calc(100vw - 24px))!important;height:min(480px,calc(var(--ycd-vvh,100dvh) - 88px))!important;max-height:calc(var(--ycd-vvh,100dvh) - 20px)!important;border-radius:20px!important}
 .ycd-support-modern.left .ycd-panel{left:12px!important;right:auto!important}
 .ycd-support-modern .ycd-head{padding:12px 14px}
 .ycd-support-modern .ycd-quick{max-height:min(132px,25dvh)}
 .ycd-support-modern .ycd-quick button{min-height:44px}
 .ycd-support-modern .ycd-composer{padding-bottom:calc(9px + env(safe-area-inset-bottom))}
}
@media(max-height:480px){.ycd-support-modern .ycd-quick{max-height:64px}.ycd-support-modern .ycd-welcome{padding:8px 12px}}

/* Keep the compact desktop window; restore full-screen support on phones. */
.ycd-support-modern .ycd-quick.is-collapsed{padding:0 12px;max-height:44px;min-height:36px}
.ycd-support-modern .ycd-quick .ycd-questions-toggle{padding:5px 9px;font-size:11px;min-height:32px}
@media(max-width:640px){
 .ycd-support-modern .ycd-panel,.ycd-support-modern.left .ycd-panel{inset:0!important;top:var(--ycd-vvt,0px)!important;bottom:auto!important;left:0!important;right:0!important;width:100vw!important;width:100dvw!important;height:var(--ycd-vvh,100dvh)!important;max-height:none!important;border-radius:0!important}
 .ycd-support-modern .ycd-head{padding-top:calc(12px + env(safe-area-inset-top))}
 .ycd-support-modern .ycd-quick .ycd-questions-toggle{min-height:44px}
}
