/* ==========================================================
 * KBM Single Ad — RECODE runtime stylesheet (only single-ad CSS)
 * Package: KBM-RECODE-07R-ADS-SINGLE-RUNTIME-TAKEOVER
 * Scope: everything under .kbm-ad-single-recode (new DOM). Legacy single
 * visual handles are dequeued on this route, so this layer stands alone.
 * ========================================================== */

.kbm-ad-single-recode{
  --s-navy:var(--kbm-ds-navy,#0b1b2b);
  --s-yellow:var(--kbm-ds-yellow,#ffcc00);
  --s-ink:var(--kbm-ds-ink,#0f172a);
  --s-muted:var(--kbm-ds-muted,#5b6b7d);
  --s-border:var(--kbm-ds-border,#e5e9ef);
  --s-surface:#fff;--s-bg:var(--kbm-ds-surface-2,#f8fafc);
  --s-radius:18px;--s-shadow:0 8px 24px rgba(11,27,43,.08);--s-bottom-z:var(--kbm-ds-z-sticky,var(--kbm-z-sticky,70));
  direction:rtl;max-width:1180px;margin:0 auto;padding:6px 14px 90px;box-sizing:border-box;color:var(--s-ink);
  display:flex;flex-direction:column;gap:14px;
}
.kbm-ad-single-recode *{box-sizing:border-box}
.kbm-ad-single-recode a{text-decoration:none}
.kbm-ad-single-recode h1,.kbm-ad-single-recode h2{margin:0}
.kbm-ad-single-recode .is-hidden{display:none!important}

.kbm-ad-single-recode-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--s-muted);font-weight:700}
.kbm-ad-single-recode-breadcrumbs a{color:var(--s-muted)}
.kbm-ad-single-recode-breadcrumbs a:hover{color:var(--s-navy)}

.kbm-ad-single-recode-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,360px);gap:18px;align-items:start}
.kbm-ad-single-recode-main{min-width:0;display:flex;flex-direction:column;gap:16px}

/* gallery */
.kbm-ad-single-recode-gallery{display:flex;flex-direction:column;gap:10px}
.kbm-ad-single-recode-gallery-main{position:relative;aspect-ratio:16/10;border-radius:var(--s-radius);overflow:hidden;background:#eef2f7;border:1px solid var(--s-border)}
.kbm-ad-single-recode-gallery-main img{width:100%;height:100%;object-fit:cover;display:block}
.kbm-ad-single-recode-gallery--empty{aspect-ratio:16/10;border-radius:var(--s-radius);background:var(--s-bg);border:1px dashed var(--s-border);display:flex;align-items:center;justify-content:center;color:var(--s-muted);font-weight:800;opacity:.6}
.kbm-ad-single-recode-flag{position:absolute;top:10px;right:10px;background:var(--s-yellow);color:var(--s-navy);font-weight:900;font-size:12px;border-radius:999px;padding:4px 11px;box-shadow:0 6px 16px rgba(0,0,0,.16)}
.kbm-ad-single-recode-flag--video{top:auto;bottom:10px;right:auto;left:10px;background:var(--s-navy);color:#fff}
.kbm-ad-single-recode-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.kbm-ad-single-recode-thumb{flex:0 0 auto;width:78px;height:60px;border-radius:12px;overflow:hidden;border:2px solid transparent;background:#eef2f7;cursor:pointer;padding:0}
.kbm-ad-single-recode-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.kbm-ad-single-recode-thumb.is-active{border-color:var(--s-yellow)}

/* head */
.kbm-ad-single-recode-head{display:flex;flex-direction:column;gap:8px}
.kbm-ad-single-recode-title{font-size:clamp(19px,2.6vw,26px);font-weight:900;line-height:1.6;color:var(--s-navy)}
.kbm-ad-single-recode-chips{display:flex;flex-wrap:wrap;gap:7px}
.kbm-ad-single-recode-chip{font-size:12px;color:var(--s-muted);background:var(--s-bg);border:1px solid var(--s-border);border-radius:999px;padding:4px 11px;font-weight:700}
.kbm-ad-single-recode-price-inline{display:none;font-size:20px;font-weight:900;color:var(--s-navy)}

/* description + specs */
.kbm-ad-single-recode-desc,.kbm-ad-single-recode-specs,.kbm-ad-single-recode-similar{background:var(--s-surface);border:1px solid var(--s-border);border-radius:var(--s-radius);padding:16px;box-shadow:var(--s-shadow)}
.kbm-ad-single-recode-desc h2,.kbm-ad-single-recode-specs h2,.kbm-ad-single-recode-similar h2{font-size:16px;font-weight:900;color:var(--s-navy);margin-bottom:10px}
.kbm-ad-single-recode-desc-body{line-height:2;font-size:14px;color:#334155}
.kbm-ad-single-recode-specs dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.kbm-ad-single-recode-spec{display:flex;justify-content:space-between;gap:10px;background:var(--s-bg);border:1px solid var(--s-border);border-radius:12px;padding:9px 12px}
.kbm-ad-single-recode-spec dt{color:var(--s-muted);font-size:12.5px;font-weight:700}
.kbm-ad-single-recode-spec dd{margin:0;color:var(--s-navy);font-size:13px;font-weight:900;text-align:left}

/* sidebar */
.kbm-ad-single-recode-side{position:sticky;top:90px;display:flex;flex-direction:column;gap:14px;min-width:0}
.kbm-ad-single-recode-contact,.kbm-ad-single-recode-trust{background:var(--s-surface);border:1px solid var(--s-border);border-radius:var(--s-radius);padding:16px;box-shadow:var(--s-shadow);display:flex;flex-direction:column;gap:12px}
.kbm-ad-single-recode-price-big{font-size:24px;font-weight:900;color:var(--s-navy)}
.kbm-ad-single-recode-reveal,.kbm-ad-single-recode-lead-btn{min-height:50px;border:0;border-radius:14px;background:var(--s-yellow);color:var(--s-navy);font-weight:900;font-size:15px;cursor:pointer;box-shadow:0 12px 26px rgba(255,204,0,.32);font:inherit}
.kbm-ad-single-recode-reveal:hover,.kbm-ad-single-recode-lead-btn:hover{filter:brightness(.97)}
.kbm-ad-single-recode-tel{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:14px;background:var(--s-navy);color:#fff;font-weight:900;font-size:18px;letter-spacing:.5px}
.kbm-ad-single-recode-expired,.kbm-ad-single-recode-nophone{padding:12px;border-radius:12px;background:#fff8dc;border:1px solid #ffe28a;color:#7a4a00;font-weight:800;font-size:13px;text-align:center}
.kbm-ad-single-recode-lead{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--s-border);padding-top:12px}
.kbm-ad-single-recode-lead strong{font-size:13.5px;color:var(--s-navy);font-weight:900}
.kbm-ad-single-recode-lead input,.kbm-ad-single-recode-lead textarea{width:100%;border:1px solid var(--s-border);border-radius:12px;background:#fff!important;color:var(--s-ink)!important;padding:10px 12px;font:inherit;font-weight:700;min-height:44px}
.kbm-ad-single-recode-lead textarea{min-height:62px;resize:vertical}
.kbm-ad-single-recode-lead input:focus,.kbm-ad-single-recode-lead textarea:focus{outline:none;border-color:var(--s-yellow);box-shadow:0 0 0 4px rgba(255,204,0,.18)}
.kbm-ad-single-recode-lead-msg{font-size:12.5px;font-weight:800;min-height:16px}
.kbm-ad-single-recode-lead-msg.is-ok{color:#16a34a}
.kbm-ad-single-recode-lead-msg.is-err{color:#ef4444}

/* trust */
.kbm-ad-single-recode-rating{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.kbm-ad-single-recode-rating-avg{font-size:20px;font-weight:900;color:var(--s-navy)}
.kbm-ad-single-recode-stars{display:inline-flex;gap:2px}
.kbm-ad-single-recode-star{border:0;background:none;cursor:pointer;font-size:20px;line-height:1;color:#d8dee7;padding:0 1px}
.kbm-ad-single-recode-star.is-on,.kbm-ad-single-recode-star:hover{color:var(--s-yellow)}
.kbm-ad-single-recode-rating-cnt{font-size:12px;color:var(--s-muted);font-weight:700}
.kbm-ad-single-recode-safety{display:flex;flex-direction:column;gap:4px;background:#fff8dc;border:1px solid #ffe28a;border-radius:12px;padding:11px 13px}
.kbm-ad-single-recode-safety strong{color:#7a4a00;font-size:13px;font-weight:900}
.kbm-ad-single-recode-safety span{color:#8a5a10;font-size:12px;line-height:1.8}
.kbm-ad-single-recode-report{font-size:12.5px;font-weight:800;color:var(--s-muted);text-align:center;border:1px dashed var(--s-border);border-radius:10px;padding:8px}
.kbm-ad-single-recode-report:hover{color:#ef4444;border-color:#fecaca}

/* similar */
.kbm-ad-single-recode-similar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.kbm-ad-single-recode-similar-card{display:flex;flex-direction:column;gap:6px;background:var(--s-bg);border:1px solid var(--s-border);border-radius:14px;overflow:hidden;padding-bottom:10px;transition:transform .16s ease,box-shadow .16s ease}
.kbm-ad-single-recode-similar-card:hover{transform:translateY(-3px);box-shadow:var(--s-shadow)}
.kbm-ad-single-recode-similar-media{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#eef2f7;overflow:hidden}
.kbm-ad-single-recode-similar-media img{width:100%;height:100%;object-fit:cover}
.kbm-ad-single-recode-similar-ph{color:var(--s-muted);font-size:12px;font-weight:800;opacity:.6}
.kbm-ad-single-recode-similar-title{padding:0 10px;font-size:13px;font-weight:800;color:var(--s-ink);line-height:1.6}
.kbm-ad-single-recode-similar-city{padding:0 10px;font-size:11.5px;color:var(--s-muted)}
.kbm-ad-single-recode-similar-price{padding:0 10px;font-size:12.5px;font-weight:900;color:var(--s-navy)}

/* mobile sticky bottom CTA */
.kbm-ad-single-recode-bottombar{display:none}

@media (max-width:980px){
  .kbm-ad-single-recode-grid{grid-template-columns:1fr}
  .kbm-ad-single-recode-side{position:relative;top:auto}
}
@media (max-width:640px){
  .kbm-ad-single-recode{padding-inline:10px;padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))}
  .kbm-ad-single-recode-specs dl{grid-template-columns:1fr}
  .kbm-ad-single-recode-price-inline{display:block}
  .kbm-ad-single-recode-similar-grid{grid-template-columns:1fr 1fr}
  /* sticky bottom CTA bar */
  .kbm-ad-single-recode-bottombar{display:flex;position:fixed;inset:auto 10px 0 10px;z-index:var(--s-bottom-z);align-items:center;justify-content:space-between;gap:10px;max-width:620px;margin-inline:auto;box-sizing:border-box;background:#fff;border:1px solid var(--s-border);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -10px 28px rgba(11,27,43,.12);padding:10px 12px;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .kbm-ad-single-recode-bottombar-price{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;color:var(--s-navy)}
  .kbm-ad-single-recode-bottombar-btn{flex:1 0 auto;min-width:132px;max-width:60%;min-height:46px;border:0;border-radius:13px;background:var(--s-yellow);color:var(--s-navy);font-weight:900;font-size:14px;cursor:pointer;font:inherit;white-space:nowrap}
}

/* Stream B Phase J — detail/contact/trust visual guard */
.kbm-ad-single-recode-kicker{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;padding:7px 11px;border-radius:999px;background:rgba(255,204,0,.18);color:var(--s-navy);font-size:12px;font-weight:900;border:1px solid rgba(255,204,0,.45)}
.kbm-ad-single-recode-highlight{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.kbm-ad-single-recode-highlight-card{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;gap:2px 10px;align-items:start;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid var(--s-border);border-radius:16px;padding:13px;box-shadow:0 8px 22px rgba(11,27,43,.06)}
.kbm-ad-single-recode-highlight-card>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--s-yellow);color:var(--s-navy);font-weight:900}
.kbm-ad-single-recode-highlight-card strong{font-size:13px;font-weight:950;color:var(--s-navy);line-height:1.55}
.kbm-ad-single-recode-highlight-card small{font-size:11.5px;font-weight:700;color:var(--s-muted);line-height:1.8}
.kbm-ad-single-recode-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.kbm-ad-single-recode-section-head h2{margin:0!important;color:var(--s-navy);font-size:18px;font-weight:950;line-height:1.6}
.kbm-ad-single-recode-section-head span{color:var(--s-muted);font-size:12px;font-weight:800;line-height:1.8;text-align:left;max-width:220px}
.kbm-ad-single-recode-flag--safe{background:rgba(22,163,74,.92)!important;color:#fff!important;right:14px;left:auto;top:14px}
.kbm-ad-single-recode-gallery--empty{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:310px;border:1px dashed rgba(11,27,43,.18);background:linear-gradient(135deg,#f8fafc,#eef2f7)}
.kbm-ad-single-recode-gallery--empty strong{font-size:13px;color:var(--s-muted);font-weight:900}
.kbm-ad-single-recode-contact{border:1px solid rgba(255,204,0,.36)!important;box-shadow:0 18px 44px rgba(11,27,43,.10)!important;background:linear-gradient(180deg,#fff,#fffef7)!important}
.kbm-ad-single-recode-contact-head{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:16px;background:var(--s-navy);color:#fff;border:1px solid rgba(255,255,255,.08)}
.kbm-ad-single-recode-contact-head span{font-size:12px;font-weight:800;color:rgba(255,255,255,.74)}
.kbm-ad-single-recode-contact-head strong{font-size:20px;font-weight:950;color:#fff;line-height:1.6}
.kbm-ad-single-recode-contact-note,.kbm-ad-single-recode-contact-foot{font-size:12.5px;font-weight:800;line-height:1.9;color:var(--s-muted);background:#f8fafc;border:1px solid var(--s-border);border-radius:13px;padding:10px 12px}
.kbm-ad-single-recode-contact-foot{background:#fff8dc;border-color:#ffe28a;color:#7a4a00}
.kbm-ad-single-recode-lead label{display:flex;flex-direction:column;gap:5px;margin:0}
.kbm-ad-single-recode-lead label>span{font-size:11.5px;font-weight:900;color:var(--s-navy)}
.kbm-ad-single-recode-trust h2{margin:0 0 8px!important;color:var(--s-navy);font-size:16px;font-weight:950;line-height:1.7}
.kbm-ad-single-recode-safe-list{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;list-style:none}
.kbm-ad-single-recode-safe-list li{position:relative;padding:8px 28px 8px 10px;border-radius:12px;background:#f8fafc;border:1px solid var(--s-border);font-size:12px;font-weight:800;line-height:1.8;color:var(--s-ink)}
.kbm-ad-single-recode-safe-list li:before{content:'✓';position:absolute;right:9px;top:9px;width:15px;height:15px;border-radius:999px;background:#dcfce7;color:#166534;display:grid;place-items:center;font-size:10px;font-weight:950}
.kbm-ad-single-recode-similar .kbm-ad-single-recode-section-head{margin-bottom:14px}
.kbm-ad-single-recode-similar-card{border-radius:16px!important;border-color:rgba(11,27,43,.10)!important;background:#fff!important}
.kbm-ad-single-recode-similar-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.kbm-ad-single-recode--blocked{min-height:60vh;display:flex;flex-direction:column;justify-content:center}
.kbm-ad-single-recode-blocked-card{max-width:660px;margin:34px auto;background:#fff;border:1px solid var(--s-border);border-radius:24px;padding:28px;text-align:center;box-shadow:var(--s-shadow)}
.kbm-ad-single-recode-blocked-icon{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 12px;border-radius:18px;background:#fff8dc;color:#7a4a00;font-size:24px;font-weight:950;border:1px solid #ffe28a}
.kbm-ad-single-recode-blocked-card h1{margin:0 0 8px!important;color:var(--s-navy);font-size:24px;font-weight:950}
.kbm-ad-single-recode-blocked-card p{margin:0 auto 16px;color:var(--s-muted);font-weight:800;line-height:2;max-width:520px}
.kbm-ad-single-recode-blocked-card a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:13px;background:var(--s-yellow);color:var(--s-navy);font-weight:950;text-decoration:none}
@media (max-width:760px){
  .kbm-ad-single-recode-highlight{grid-template-columns:1fr;gap:9px}
  .kbm-ad-single-recode-section-head{flex-direction:column;gap:4px}
  .kbm-ad-single-recode-section-head span{text-align:right;max-width:none}
  .kbm-ad-single-recode-contact-head strong{font-size:18px}
  .kbm-ad-single-recode-highlight-card{padding:11px;border-radius:14px}
  .kbm-ad-single-recode-blocked-card{padding:22px 16px;border-radius:20px}
}
@media (max-width:640px){
  .kbm-ad-single-recode-gallery--empty{min-height:220px}
  .kbm-ad-single-recode-bottombar-btn:focus{outline:3px solid rgba(255,204,0,.38);outline-offset:2px}
}

/* KBM LIVE-QA-04 — lead/login/support-card controls */
.kbm-ad-single-recode-request-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;border-top:1px solid var(--s-border);padding-top:12px}
.kbm-ad-single-recode-request-tabs button{min-height:40px;border:1px solid var(--s-border);border-radius:12px;background:#fff;color:var(--s-navy);font:inherit;font-size:12px;font-weight:950;cursor:pointer;padding:0 8px}
.kbm-ad-single-recode-request-tabs button.is-active{background:var(--s-yellow);border-color:rgba(255,204,0,.75);box-shadow:0 8px 18px rgba(255,204,0,.24)}
.kbm-ad-single-recode-login-gate{display:flex;flex-direction:column;gap:8px;border:1px solid rgba(255,204,0,.46);border-radius:14px;background:#fff8dc;padding:12px;color:#7a4a00}
.kbm-ad-single-recode-login-gate strong{font-size:14px;font-weight:950;color:#5a3a00}
.kbm-ad-single-recode-login-gate span{font-size:12.5px;font-weight:800;line-height:1.9}
.kbm-ad-single-recode-login-gate a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;background:var(--s-navy);color:#fff!important;font-weight:950;text-decoration:none;padding:0 14px}
@media(max-width:420px){.kbm-ad-single-recode-request-tabs{grid-template-columns:1fr}.kbm-ad-single-recode-request-tabs button{min-height:42px}}


/* KBM VP15 — single ad mobile CTA owns the bottom area; global appbar must not overlap it. */
@media(max-width:782px){
  body.single-kbm_ad .kbm-mobile-bottom-nav,
  body.single-kbm_ad .kbm-app-bottom-nav{display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.single-kbm_ad .kbm-ad-single-recode{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
  body.single-kbm_ad .kbm-ad-single-recode-bottombar{left:10px!important;right:10px!important;bottom:0!important;max-width:none!important;width:auto!important;z-index:99999!important}
  body.single-kbm_ad .kbm-ad-single-recode-chips{gap:8px!important;align-items:flex-start!important}
  body.single-kbm_ad .kbm-ad-single-recode-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}


/* KBM 1.9.7.94 — rental-specific price/rent and transparent estimate */
.kbm-ad-single-recode-price-inline{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px}.kbm-ad-single-recode-price-inline strong{font-size:inherit}.kbm-ad-single-recode-price-inline span{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border-radius:999px;background:#fff7cc;border:1px solid #ffe28a;color:#6b4f00;font-size:12px;font-weight:950}.kbm-ad-single-recode-estimate{border:1px solid var(--s-border);border-radius:14px;background:#f8fafc;overflow:hidden}.kbm-ad-single-recode-estimate summary{cursor:pointer;padding:11px 12px;font-size:12px;font-weight:950;color:var(--s-navy);list-style:none}.kbm-ad-single-recode-estimate summary::-webkit-details-marker{display:none}.kbm-ad-single-recode-estimate summary::after{content:"+";float:left}.kbm-ad-single-recode-estimate[open] summary::after{content:"−"}.kbm-ad-single-recode-estimate-body{display:flex;flex-direction:column;gap:5px;padding:0 12px 12px;border-top:1px solid var(--s-border)}.kbm-ad-single-recode-estimate-body strong{margin-top:10px;color:#0f766e}.kbm-ad-single-recode-estimate-body span,.kbm-ad-single-recode-estimate-body small,.kbm-ad-single-recode-estimate-body p{font-size:11.5px;line-height:1.85;color:#64748b;margin:0}.kbm-ad-single-recode-request-tabs{display:none!important}


/* PEP-VERTICAL-EXPERIENCE-MAX-03 */
.kbm-ad-single-recode-price-inline strong,.kbm-ad-single-recode-contact-head strong{direction:rtl;unicode-bidi:plaintext}.kbm-ad-single-recode-estimate--panel{display:grid!important;gap:10px;border:1px solid #dbe4ee!important;border-radius:16px!important;padding:13px!important;background:#f8fafc!important}.kbm-ad-single-recode-estimate-title{display:grid;gap:2px}.kbm-ad-single-recode-estimate-title strong{color:#0b2a3b;font-size:14px}.kbm-ad-single-recode-estimate-title span{color:#64748b;font-size:12px}.kbm-ad-single-recode-estimate-body{display:grid;gap:5px}.kbm-ad-single-recode-estimate-body>strong{color:#7a5700}.kbm-ad-single-recode-estimate-body>span,.kbm-ad-single-recode-estimate-body>small,.kbm-ad-single-recode-estimate-body>p{margin:0;color:#64748b;line-height:1.8;font-size:12px}.kbm-ad-single-recode-preview-note{padding:11px 12px;border-radius:13px;background:#fff7cc;color:#6b4d00;font-weight:850;font-size:12px;line-height:1.8}.kbm-ad-single-recode-lead textarea{min-height:84px}body.kbm-owner-single-preview-active .kbm-ad-single-recode-bottombar{display:none!important}

/* PEP-RENTAL-DRIVER-PRODUCTION-HARDENING-06 — single commercial header cleanup */
.kbm-ad-single-recode-head{display:flex;flex-direction:column;gap:12px!important}
.kbm-ad-single-recode-kicker,.kbm-ad-single-recode-highlight{display:none!important}
.kbm-ad-single-recode-chips{display:flex;flex-wrap:wrap;gap:7px!important;margin:0!important}
.kbm-ad-single-recode-chip{background:#f8fafc!important;border:1px solid var(--s-border)!important;color:#475569!important;font-size:11.5px!important;font-weight:850!important;padding:5px 9px!important}
.kbm-ad-single-recode-commercial{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 14px;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,#0b1b2b,#14385a);color:#fff;box-shadow:0 14px 34px rgba(11,27,43,.16)}
.kbm-ad-single-recode-commercial>span{font-size:12px;font-weight:800;color:rgba(255,255,255,.72)}
.kbm-ad-single-recode-commercial>strong{font-size:21px;font-weight:950;line-height:1.5;color:#fff;direction:rtl;unicode-bidi:plaintext;text-align:center}
.kbm-ad-single-recode-price-inline{display:none!important}
@media(max-width:640px){
  .kbm-ad-single-recode-commercial{grid-template-columns:1fr;align-items:start;gap:4px;padding:13px 14px}
  .kbm-ad-single-recode-commercial>strong{font-size:18px}
}

/* RC32 — price contrast + premium featured badge */
.kbm-ad-single-recode-contact-head strong,.kbm-ad-single-recode-commercial strong{color:#fff!important;text-shadow:0 1px 1px rgba(0,0,0,.16)}
.kbm-ad-single-recode-commercial{background:#0b2a3b!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:16px!important;padding:12px 14px!important;color:#fff!important;display:flex!important;flex-direction:column!important;gap:4px!important}
.kbm-ad-single-recode-commercial span{color:rgba(255,255,255,.76)!important;font-size:12px!important;font-weight:850!important}
.kbm-ad-single-recode-flag--featured{width:58px!important;height:58px!important;padding:0!important;border-radius:50%!important;background:transparent!important;box-shadow:0 10px 28px rgba(164,111,0,.30)!important;overflow:visible!important}
.kbm-ad-single-recode-flag--featured img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 5px 9px rgba(74,49,0,.22))}


/* RC33 — readable white commercial price surface + corner premium visual */
.kbm-ad-single-recode-contact-head,.kbm-ad-single-recode-commercial{background:#fff!important;color:#0b2a3b!important;border:1px solid #dce4ea!important;box-shadow:0 10px 28px rgba(11,42,59,.08)!important}
.kbm-ad-single-recode-contact-head span,.kbm-ad-single-recode-commercial>span{color:#68798a!important;text-shadow:none!important}
.kbm-ad-single-recode-contact-head strong,.kbm-ad-single-recode-commercial strong{color:#0b2a3b!important;text-shadow:none!important;font-weight:950!important}
.kbm-ad-single-recode-flag--featured{position:absolute!important;inset:0 0 auto auto!important;width:92px!important;height:92px!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;z-index:8!important;pointer-events:none!important}
.kbm-ad-single-recode-flag--featured img{width:100%!important;height:100%!important;filter:drop-shadow(0 8px 12px rgba(74,49,0,.20))!important}
@media(max-width:640px){.kbm-ad-single-recode-flag--featured{width:76px!important;height:76px!important}.kbm-ad-single-recode-commercial{padding:13px 14px!important}}

/* ==========================================================
 * KBM FULLSTACKMAX HOTFIX-03 — mobile single polish
 * vertical gallery / compact premium / contact tray / share
 * ========================================================== */
.kbm-ad-single-recode-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.kbm-ad-single-recode-title-row>.kbm-ad-single-recode-title{min-width:0;flex:1}
.kbm-ad-single-recode-actionbar{position:relative;display:flex;align-items:center;gap:8px;flex:0 0 auto}
.kbm-ad-single-recode-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;min-width:48px;padding:0 12px;border:1px solid #dce4ea;border-radius:14px;background:#fff;color:#0b2a3b;font:inherit;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 7px 18px rgba(11,42,59,.06)}
.kbm-ad-single-recode-icon-btn:hover,.kbm-ad-single-recode-icon-btn:focus-visible{border-color:#ffcc00;outline:0;box-shadow:0 0 0 4px rgba(255,204,0,.18)}
.kbm-ad-single-recode-icon-btn img{display:block!important;width:28px!important;height:28px!important;object-fit:contain!important}.kbm-ad-single-recode-icon-btn{text-decoration:none}.kbm-ad-single-recode-account-btn svg{display:block;flex:0 0 auto}
.kbm-ad-single-recode-fav-glyph{font-size:25px;line-height:1;color:#0b2a3b}.kbm-ad-single-recode-icon-btn.is-active .kbm-ad-single-recode-fav-glyph{color:#d79a00}
.kbm-ad-single-recode-action-count{font-size:10px;color:#7b8792}.kbm-ad-single-recode-action-label{white-space:nowrap}
.kbm-ad-single-recode-share-menu{position:absolute;z-index:50;top:calc(100% + 8px);left:0;width:min(310px,calc(100vw - 36px));padding:12px;border:1px solid #dce4ea;border-radius:16px;background:#fff;box-shadow:0 18px 48px rgba(11,42,59,.17)}
.kbm-ad-single-recode-share-menu>strong{display:block;margin-bottom:9px;color:#0b2a3b;font-size:13px}.kbm-ad-single-recode-share-menu>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.kbm-ad-single-recode-share-menu a,.kbm-ad-single-recode-share-menu button{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #dce4ea;border-radius:12px;background:#f8fafc;color:#0b2a3b;font:inherit;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer}.kbm-ad-single-recode-share-menu small{display:block;min-height:15px;margin-top:7px;color:#166534;font-size:11px}

/* vertical, touch-native image rail */
.kbm-ad-single-recode-gallery-stage{position:relative;aspect-ratio:16/10;border:1px solid #dce4ea;border-radius:20px;overflow:hidden;background:#edf2f6;box-shadow:0 14px 38px rgba(11,42,59,.08)}
.kbm-ad-single-recode-gallery-viewport{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-y:contain;touch-action:pan-y;background:#edf2f6}
.kbm-ad-single-recode-gallery-viewport::-webkit-scrollbar{display:none}
.kbm-ad-single-recode-gallery[data-kbm-gallery-axis="x"] .kbm-ad-single-recode-gallery-viewport{display:flex;direction:ltr;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x}
.kbm-ad-single-recode-gallery[data-kbm-gallery-axis="x"] .kbm-ad-single-recode-gallery-slide{flex:0 0 100%;width:100%;min-width:100%;max-width:100%;height:100%;min-height:100%;scroll-snap-align:start}
.kbm-ad-single-recode-gallery-slide{width:100%;height:100%;min-height:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always;display:grid;place-items:center;background:#edf2f6;overflow:hidden}
.kbm-ad-single-recode-gallery-slide img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important;margin:0!important}
.kbm-ad-single-recode-gallery-controls{position:absolute;z-index:9;left:12px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:6px;padding:6px;border:1px solid rgba(255,255,255,.48);border-radius:15px;background:rgba(7,31,49,.72);backdrop-filter:blur(9px)}
.kbm-ad-single-recode-gallery-controls button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:11px;background:rgba(255,255,255,.10);color:#fff;font:inherit;font-size:18px;font-weight:950;cursor:pointer}
.kbm-ad-single-recode-gallery-controls button:hover,.kbm-ad-single-recode-gallery-controls button:focus-visible{background:#ffcc00;color:#0b2a3b;outline:0}
.kbm-ad-single-recode-gallery-thumbs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(68px,78px));justify-content:start;gap:8px!important;overflow:visible!important;padding:0!important}
.kbm-ad-single-recode-thumb{width:72px!important;height:56px!important;min-width:0!important}.kbm-ad-single-recode-thumb.is-active{border-color:#ffcc00!important;box-shadow:0 0 0 2px rgba(255,204,0,.15)}

/* premium is an actual corner mark, never an image-cover */
.kbm-ad-single-recode-flag--featured{position:absolute!important;top:0!important;right:0!important;left:auto!important;bottom:auto!important;width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;z-index:12!important;pointer-events:none!important}
.kbm-ad-single-recode-flag--featured img{display:block!important;width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:top right!important;margin:0!important;padding:0!important;transform:none!important;filter:none!important}

/* contact area — one identity + three explicit channels */
.kbm-ad-single-recode-contact-revealed{display:grid;gap:9px}.kbm-ad-single-recode-contact-revealed[hidden]{display:none!important}
.kbm-ad-single-recode-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.kbm-ad-single-recode-contact-actions[hidden]{display:none!important}
.kbm-ad-single-recode-contact-action{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:72px;padding:8px;border:1px solid #dce4ea;border-radius:14px;background:#fff;color:#0b2a3b!important;font-size:12px;font-weight:950;text-decoration:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.kbm-ad-single-recode-contact-action:hover,.kbm-ad-single-recode-contact-action:focus-visible{transform:translateY(-2px);border-color:#ffcc00;box-shadow:0 8px 20px rgba(11,42,59,.08);outline:0}.kbm-ad-single-recode-contact-action img{display:block!important;width:32px!important;height:32px!important;object-fit:contain!important;margin:0!important}
.kbm-ad-single-recode-contact-action[hidden]{display:none!important}
.kbm-ad-single-recode-reveal.is-loading,.kbm-ad-single-recode-bottombar-btn.is-loading{opacity:.65;cursor:wait}

/* mobile bottom-sheet contact interface */
.kbm-ad-single-recode-contact-sheet{position:fixed;inset:0;z-index:100500;display:none;align-items:flex-end;justify-content:center}.kbm-ad-single-recode-contact-sheet:not([hidden]){display:flex}
.kbm-ad-single-recode-contact-sheet__backdrop{position:absolute;inset:0;border:0;background:rgba(3,15,25,.52);backdrop-filter:blur(3px);cursor:pointer}
.kbm-ad-single-recode-contact-sheet__panel{position:relative;width:min(560px,100%);padding:16px 16px calc(18px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -24px 70px rgba(3,15,25,.25);animation:kbmContactSheetIn .22s ease-out}
.kbm-ad-single-recode-contact-sheet__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.kbm-ad-single-recode-contact-sheet__head>div{display:grid;gap:2px}.kbm-ad-single-recode-contact-sheet__head span{color:#7b8792;font-size:11px;font-weight:850}.kbm-ad-single-recode-contact-sheet__head strong{color:#0b2a3b;font-size:17px}.kbm-ad-single-recode-contact-sheet__head>button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #dce4ea;border-radius:13px;background:#f8fafc;color:#0b2a3b;font-size:24px;cursor:pointer}
.kbm-ad-single-recode-sheet-phone{display:flex;align-items:center;justify-content:center;min-height:50px;margin-bottom:10px;border-radius:14px;background:#f7f9fb;border:1px solid #dce4ea;color:#0b2a3b;font-size:18px;font-weight:950;direction:ltr;unicode-bidi:isolate;text-decoration:none}.kbm-ad-single-recode-contact-sheet__panel>small{display:block;margin-top:10px;color:#7b8792;font-size:11px;line-height:1.8;text-align:center}
html.kbm-contact-sheet-open,body.kbm-contact-sheet-open{overflow:hidden!important}
@keyframes kbmContactSheetIn{from{transform:translateY(24px);opacity:.5}to{transform:translateY(0);opacity:1}}

/* price contrast: immune to older commercial overrides */
body.single-kbm_ad .kbm-ad-single-recode-contact-head,body.single-kbm_ad .kbm-ad-single-recode-commercial{background:#fff!important;color:#0b2a3b!important;border:1px solid #dce4ea!important}
body.single-kbm_ad .kbm-ad-single-recode-contact-head span,body.single-kbm_ad .kbm-ad-single-recode-commercial>span{color:#68798a!important}
body.single-kbm_ad .kbm-ad-single-recode-contact-head strong,body.single-kbm_ad .kbm-ad-single-recode-commercial strong{color:#0b2a3b!important;text-shadow:none!important}

@media(max-width:782px){
  .kbm-ad-single-recode-title-row{align-items:flex-start}.kbm-ad-single-recode-actionbar{gap:6px}.kbm-ad-single-recode-icon-btn{width:48px;height:48px;min-width:48px;padding:0;border-radius:14px}.kbm-ad-single-recode-action-label,.kbm-ad-single-recode-action-count{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  .kbm-ad-single-recode-share-menu{position:fixed;left:12px;right:12px;top:auto;bottom:calc(96px + env(safe-area-inset-bottom,0px));width:auto;z-index:100300}
  .kbm-ad-single-recode-gallery-stage{aspect-ratio:4/3;border-radius:18px}.kbm-ad-single-recode-gallery-controls{left:9px;gap:4px;padding:4px;border-radius:13px}.kbm-ad-single-recode-gallery-controls button{width:38px;height:38px;border-radius:10px;font-size:16px}
  .kbm-ad-single-recode-gallery-thumbs{display:none!important}
  .kbm-ad-single-recode-flag--featured,.kbm-ad-single-recode-flag--featured img{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important}
  .kbm-ad-single-recode-contact-actions.is-inline{display:none!important}
  .kbm-ad-single-recode-bottombar{grid-template-columns:minmax(0,1fr) auto;display:grid!important;align-items:center!important;padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px))!important;border-radius:18px 18px 0 0!important;background:#fff!important}
  .kbm-ad-single-recode-bottombar-price{font-size:13px!important;line-height:1.5!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .kbm-ad-single-recode-bottombar-btn{min-width:132px!important;max-width:none!important;min-height:50px!important;border-radius:14px!important;background:#ffcc00!important;color:#0b2a3b!important}
  body.single-kbm_ad :is(.kbm-quf-app-bar,.kbm-mobile-bottom-nav,.kbm-app-bottom-nav){display:none!important;visibility:hidden!important;pointer-events:none!important}
}
@media(max-width:420px){.kbm-ad-single-recode-title-row{gap:7px}.kbm-ad-single-recode-title{font-size:21px!important}.kbm-ad-single-recode-actionbar{flex:0 0 auto}.kbm-ad-single-recode-contact-action{min-height:68px}.kbm-ad-single-recode-contact-action img{width:30px!important;height:30px!important}.kbm-ad-single-recode-share-menu>div{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.kbm-ad-single-recode-gallery-viewport{scroll-behavior:auto!important}.kbm-ad-single-recode-contact-sheet__panel{animation:none!important}.kbm-ad-single-recode-contact-action{transition:none!important}}


/* ==========================================================
 * KBM FULLSTACKMAX HOTFIX-04 — single mobile action ownership
 * User QA: keep ONLY the yellow KBM contact CTA. Suppress any
 * residual legacy green/fixed call surfaces that can survive from
 * cached/old single renderers. The three contact channels remain
 * inside the authenticated KBM contact sheet.
 * ========================================================== */
@media(max-width:782px){
  body.single-kbm_ad .kbm-ad-single-recode-bottombar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(144px,auto)!important;
    gap:9px!important;
    align-items:center!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid #dce4ea!important;
    border-bottom:0!important;
    box-shadow:0 -14px 34px rgba(11,42,59,.14)!important;
  }
  body.single-kbm_ad .kbm-ad-single-recode-bottombar-btn{
    background:#ffcd11!important;
    color:#0b2a3b!important;
    border:1px solid #e4b900!important;
    box-shadow:0 8px 20px rgba(255,205,17,.22)!important;
    font-weight:950!important;
  }
  /* Legacy ownership firewall — the recoded single is authoritative. */
  body.single-kbm_ad :is(
    .kbm-single-ad .kbm-bottom-cta,
    .kbm-single-ad .kbm-actions-stack,
    .kbm-single-ad .kbm-cta-row,
    .kbm-p3-single-sticky-cta,
    .kbm-p3-mobile-sticky-cta,
    .kbm-mobile-contact-cta,
    .kbm-sticky-contact,
    .kbm-floating-contact
  ){
    display:none!important;visibility:hidden!important;pointer-events:none!important;
  }
}

/* Premium mark is a compact, visible top-right medallion — never a cover or gallery control. */
.kbm-ad-single-recode-flag--featured{
  top:10px!important;right:10px!important;left:auto!important;bottom:auto!important;
  width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;
  overflow:hidden!important;border-radius:13px!important;
  filter:drop-shadow(0 7px 12px rgba(11,42,59,.18))!important;
}
.kbm-ad-single-recode-flag--featured img{
  width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;
  object-position:center!important;overflow:hidden!important;filter:none!important;
}
@media(max-width:640px){
  .kbm-ad-single-recode-flag--featured,.kbm-ad-single-recode-flag--featured img{
    width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;
  }
}
