/* 4 · Debts (round 4). Owner: agent B. Prefix db-.
   A true comparison. The old way: an open debt notebook on the desk, where
   each debt starts with its amount, payments are written under it and
   mistakes are crossed out. The new way: Konto, the live phone, with four
   small notes beside it naming what Konto gives. While the preview leads,
   one side is in focus at a time: the notebook writes itself first, then it
   steps back and the notes light one by one with the phone's beats. */
.ks.db { --sky1: #E4F2F7; --sky2: #D3EAF1; --pen: #233C86; --red: #B8322A; --paper: #FBF6E6; }

/* ---------- the room ---------- */
.ks .db-room { position: absolute; inset: 0; pointer-events: none; }
.ks .db-win { position: absolute; inset-inline-start: 520px; top: -120px; width: 520px; height: 760px; border-radius: 0 0 260px 260px;
  background: radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); opacity: .7; }
.ks .db-desk { position: absolute; left: -1800px; right: -1800px; top: 560px; height: 1400px;
  background:
    repeating-linear-gradient(178.6deg, rgba(120,70,30,0) 0 34px, rgba(120,70,30,.06) 34px 36px, rgba(120,70,30,0) 36px 70px),
    linear-gradient(180deg, #D9A36D 0%, #C98E58 30%, #B97C48 100%); }
.ks .db-desk-edge { position: absolute; left: -1800px; right: -1800px; top: 552px; height: 10px; background: linear-gradient(180deg, #E8BE8E, #D19A63); box-shadow: 0 2px 0 rgba(90,50,20,.18); }

/* ---------- copy ---------- */
.ks .db-copy { position: absolute; inset-inline-start: 96px; top: 92px; width: 650px; z-index: 4; }
.ks .db-copy .eyebrow { margin-bottom: 16px; }
.ks .db-h { font-size: 54px; line-height: 1.06; letter-spacing: 0; }
.ks[dir="rtl"] .db-h { font-size: 52px; line-height: 1.3; }
.ks .db-lead { margin-top: 16px; font-size: 18px; line-height: 1.55; max-width: 34em; }
.ks .db-beats { margin-top: 20px; max-width: 650px; }

/* ---------- the old way: the notebook ---------- */
.ks .db-old { position: absolute; inset-inline-start: 58px; top: 446px; width: 712px; height: 440px; z-index: 2; transition: opacity .5s var(--ease), filter .5s var(--ease); }
.ks .db-tag { position: absolute; inset-inline-start: 20px; top: -8px; margin: 0; z-index: 3; padding: 5px 14px 6px; border-radius: 4px;
  background: #FFF3B8; color: #5B4A10; font-size: 16px; font-weight: 800; transform: rotate(-3deg); box-shadow: 0 3px 8px rgba(80,50,10,.16); }
.ks[dir="rtl"] .db-tag { transform: rotate(3deg); }
.ks .db-book { position: absolute; inset-inline-start: 10px; top: 22px; width: 690px; height: 400px; transform: rotate(-1.2deg); }
.ks[dir="rtl"] .db-book { transform: rotate(1.2deg); }
.ks .db-shadow { position: absolute; inset: 14px -10px -18px; border-radius: 12px; background: rgba(70,35,10,.30); filter: blur(14px); }
.ks .db-half { position: absolute; top: 0; bottom: 0; width: 345px; }
.ks .db-half.s { inset-inline-start: 0; }
.ks .db-half.e { inset-inline-end: 0; }
.ks .db-pg { position: absolute; inset: 0; overflow: hidden;
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(70,110,170,.24) 33px 34px) 0 56px / 100% calc(100% - 56px) no-repeat,
    var(--paper); }
.ks .db-pg::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 40px; width: 1.6px; background: rgba(200,70,70,.42); }
.ks .db-half.s .db-pg { border-start-start-radius: 8px; border-end-start-radius: 8px; box-shadow: inset -30px 0 32px -20px rgba(90,60,20,.42); }
.ks .db-half.e .db-pg { border-start-end-radius: 8px; border-end-end-radius: 8px; box-shadow: inset 30px 0 32px -20px rgba(90,60,20,.42); }
.ks[dir="rtl"] .db-half.s .db-pg { box-shadow: inset 30px 0 32px -20px rgba(90,60,20,.42); }
.ks[dir="rtl"] .db-half.e .db-pg { box-shadow: inset -30px 0 32px -20px rgba(90,60,20,.42); }
.ks .db-pencil { position: absolute; inset-inline-end: 30px; bottom: -16px; width: 250px; height: 14px; border-radius: 3px; transform: rotate(-8deg);
  background: linear-gradient(180deg, #F6C94A, #E2A92C); box-shadow: 0 6px 8px rgba(60,30,10,.25); }
.ks .db-pencil::before { content: ""; position: absolute; inset-inline-start: -26px; top: 0; border-block: 7px solid transparent; border-inline-end: 26px solid #EDCFA3; }
.ks .db-pencil::after { content: ""; position: absolute; inset-inline-end: -14px; top: 0; width: 16px; height: 14px; border-radius: 0 3px 3px 0; background: #E98FA0; }
.ks .db-ringmark { position: absolute; inset-inline-end: 26px; bottom: 22px; width: 88px; height: 88px; border-radius: 50%; border: 5px solid rgba(150,95,40,.17); }

/* handwriting */
.ks .db-title, .ks .db-ln, .ks .db-note, .ks .db-q { margin: 0; color: var(--pen); font-style: italic; letter-spacing: .01em; }
.ks[lang="ar"] .db-title, .ks[lang="ar"] .db-ln, .ks[lang="ar"] .db-note { font-style: normal; letter-spacing: 0; }
.ks .db-title { position: absolute; inset-inline-start: 52px; top: 12px; font-size: 25px; font-weight: 700; }
.ks .db-title svg { display: block; width: 120px; height: 10px; margin-top: 1px; }
.ks .db-ln { position: absolute; inset-inline: 52px 18px; height: 34px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 5px; font-size: 19px; font-weight: 600; line-height: 1; white-space: nowrap; }
.ks .db-ln .nm { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.ks .db-ln.head { font-size: 21px; font-weight: 700; }
.ks .db-ln.head .am { font-size: 22px; font-weight: 800; border-bottom: 2.4px solid var(--pen); padding-bottom: 1px; }
.ks .db-ln.pay { padding-inline-start: 18px; font-size: 18px; }
.ks .db-ln.left { padding-inline-start: 18px; font-size: 18px; color: #1C2F6E; }
.ks .db-ln small { font-size: 14px; font-weight: 600; opacity: .75; }
.ks .db-ln .dt { font-size: 14px; font-weight: 600; opacity: .62; }
.ks .db-x { position: relative; display: inline-block; color: rgba(35,60,134,.55); }
.ks .db-x > svg { position: absolute; inset-inline: -5px; top: 50%; width: calc(100% + 10px); height: 18px; margin-top: -9px; overflow: visible; pointer-events: none; }
.ks .db-x.whole { flex: none; }
.ks .db-xp { stroke-dasharray: 100; stroke-dashoffset: 0; }
.ks .db-note { position: absolute; font-size: 16px; font-weight: 700; white-space: nowrap; }
.ks .db-note.red { color: var(--red); }
.ks .db-ln .db-note { position: static; font-size: 15px; transform: rotate(-4deg); }
.ks .db-q { display: inline-block; margin-inline-start: 4px; font-size: 34px; font-weight: 800; color: var(--red); line-height: 1; transform: rotate(10deg); }
.ks .db-ask { top: 140px; inset-inline-start: 120px; padding: 2px 12px; border: 2px solid var(--red); border-radius: 50%; transform: rotate(-5deg); }
.ks .db-half-q { top: 276px; inset-inline-start: 150px; transform: rotate(-3deg); font-size: 17px; }
/* Zahraa's sum: written out, and wrong (150,000 - 90,000 is 60,000, not 70,000) */
.ks .db-ln.calc { padding-inline-start: 18px; font-size: 18px; }
.ks .db-ln.calc .num { unicode-bidi: isolate; }
/* the later payment, squeezed in small between two lines with a caret */
.ks .db-sq { position: absolute; inset-inline-start: 68px; top: 166px; margin: 0; padding-inline-start: 16px; display: flex; align-items: baseline; gap: 6px; color: var(--pen);
  font-size: 13.5px; font-weight: 700; font-style: italic; line-height: 1; white-space: nowrap; transform: rotate(-2.5deg); transform-origin: 0 50%; }
.ks[lang="ar"] .db-sq { font-style: normal; }
.ks[dir="rtl"] .db-sq { transform: rotate(2.5deg); transform-origin: 100% 50%; }
.ks .db-sq svg { position: absolute; inset-inline-start: 0; top: 3px; width: 13px; height: 10px; }
.ks .db-sq .dt { font-size: 11px; opacity: .62; }
/* the note to tell Zahraa, circled at the top of her page */
.ks .db-tell { top: 28px; inset-inline-end: 16px; padding: 1px 10px; font-size: 15px; border: 2px solid var(--red); border-radius: 50%; transform: rotate(4deg); }
.ks[dir="rtl"] .db-tell { transform: rotate(-4deg); }
.ks .db-arrow { position: absolute; inset-inline-start: 64px; top: 262px; width: 82px; height: 56px; }
.ks .db-arrow svg { width: 100%; height: 100%; }
.ks[dir="rtl"] .db-arrow svg { transform: scaleX(-1); }

/* the notebook writes itself while its beat plays (and stays written) */
.ks.db.b-notebook .db-w { animation: db-write .55s calc(var(--i, 0) * 140ms + 150ms) both cubic-bezier(.4,0,.3,1); }
.ks.db.b-notebook .db-xp { animation: db-draw .4s calc(var(--i, 0) * 140ms + 620ms) both ease-out; }
.ks.db.b-notebook .db-q { animation: db-wiggle 1.4s 1.6s ease-in-out infinite; }
@keyframes db-write { from { clip-path: inset(-20% 100% -20% -8%); } to { clip-path: inset(-20% -8% -20% -8%); } }
.ks[dir="rtl"].db.b-notebook .db-w { animation-name: db-write-r; }
@keyframes db-write-r { from { clip-path: inset(-20% -8% -20% 100%); } to { clip-path: inset(-20% -8% -20% -8%); } }
@keyframes db-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes db-wiggle { 0%, 100% { transform: rotate(10deg) } 50% { transform: rotate(-4deg) translateY(-3px) } }

/* ---------- the new way: Konto, with four notes beside the phone ---------- */
.ks .db-new { position: absolute; inset-inline-start: 770px; top: 96px; width: 214px; z-index: 4; transition: opacity .5s var(--ease); }
.ks .db-newtag { margin: 0 0 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; padding-inline: 6px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 6px 16px rgba(15,29,34,.18); }
.ks .db-newtag img { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--c500); }
.ks .db-calls { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ks .db-call { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 12px 13px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(10,25,41,.06), 0 6px 18px rgba(10,25,41,.08); outline: 2px solid transparent; outline-offset: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease), outline-color .4s var(--ease), box-shadow .4s var(--ease); }
.ks .db-call::after { content: ""; position: absolute; inset-inline-end: -9px; top: 22px; width: 16px; height: 16px; background: #fff; border-radius: 3px; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); box-shadow: 2px -2px 0 0 var(--c500); }
.ks[dir="rtl"] .db-call::after { box-shadow: -2px 2px 0 0 var(--c500); }
.ks .db-ci { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c50); color: var(--c600); }
.ks .db-ci svg { width: 20px; height: 20px; }
.ks .db-ci.k { background: var(--c500); }
.ks .db-ci.k img { width: 20px; height: 20px; }
.ks .db-cb { flex: 1; min-width: 0; display: grid; gap: 3px; align-content: start; }
.ks .db-cb > b { font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.ks .db-cb > small { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink-3); }
.ks .db-mini { display: grid; gap: 3px; margin-top: 6px; padding-top: 7px; border-top: 1px solid var(--line-2); }
.ks .db-mini > span { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; line-height: 1.2; }
.ks .db-mini i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.ks .db-mini b { font-weight: 800; color: var(--ink); }
.ks .db-mini .p b { color: #1E8449; }
.ks .db-bar { position: relative; display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: #E8EEF3; overflow: hidden; }
.ks .db-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 80%; border-radius: 4px; background: #2ECC71; }
.ks .db-barl { display: flex; justify-content: space-between; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ks .db-barl b { color: var(--ink); font-weight: 800; }
.ks .db-sent { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; padding: 4px 9px 4px 6px; padding-inline: 6px 10px; border-radius: 999px; background: #E8F8F0; color: #186A3B; font-size: 12.5px; font-weight: 700; width: max-content; max-width: 100%; }
.ks .db-sent svg { width: 15px; height: 15px; flex: none; }

/* ---------- the phone ---------- */
.ks .db-phone { position: absolute; inset-inline-end: 64px; top: 92px; z-index: 5; transition: opacity .5s var(--ease), filter .5s var(--ease); }
.ks .db-phone::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -10px; height: 26px; border-radius: 50%; background: rgba(70,35,10,.34); filter: blur(10px); z-index: -1; }

/* ---------- following the beats: one side in focus at a time ---------- */
/* 1 notebook: the old way writes itself; the new way waits */
.ks.db.is-leading.b-notebook .db-new { opacity: .35; }
.ks.db.is-leading.b-notebook .db-phone { opacity: .55; filter: saturate(.6); }
/* 2 to 5: the notebook steps back, Konto's notes light one at a time */
.ks.db.is-leading:not(.b-notebook) .db-old { opacity: .62; filter: saturate(.55); }
.ks.db.is-leading:not(.b-notebook) .db-call { opacity: .45; transform: scale(.97); }
.ks.db.is-leading.b-list .c-list,
.ks.db.is-leading.b-debt .c-debt,
.ks.db.is-leading.b-progress .c-progress,
.ks.db.is-leading.b-share .c-share { opacity: 1; transform: translateX(6px); outline-color: var(--c500); box-shadow: 0 2px 4px rgba(10,25,41,.08), 0 16px 34px rgba(10,25,41,.16); }
.ks[dir="rtl"].db.is-leading.b-list .c-list,
.ks[dir="rtl"].db.is-leading.b-debt .c-debt,
.ks[dir="rtl"].db.is-leading.b-progress .c-progress,
.ks[dir="rtl"].db.is-leading.b-share .c-share { transform: translateX(-6px); }
.ks.db.is-leading.b-list .c-list::after,
.ks.db.is-leading.b-debt .c-debt::after,
.ks.db.is-leading.b-progress .c-progress::after,
.ks.db.is-leading.b-share .c-share::after { transform: rotate(45deg) scale(1); }
.ks.db.b-debt .c-debt .db-mini > span { animation: db-row .45s calc(var(--k, 0) * 260ms + 300ms) both var(--ease); }
.ks .db-mini > span:nth-child(2) { --k: 1; } .ks .db-mini > span:nth-child(3) { --k: 2; } .ks .db-mini > span:nth-child(4) { --k: 3; }
.ks.db.b-progress .db-bar i { animation: db-fill 1.2s .7s both cubic-bezier(.3,0,.2,1); }
.ks.db.is-leading:not(.r-progress) .db-bar i { width: 60%; }
@keyframes db-row { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes db-fill { from { width: 60%; } to { width: 80%; } }

@media (prefers-reduced-motion: reduce) {
  .ks.db .db-q { animation: none !important; }
}

/* ---------- narrow screens: copy, the old way, the new way, the phone ---------- */
html.kp-narrow .ks.db .kframe { padding: 88px 20px 40px; display: flex; flex-direction: column; }
html.kp-narrow .ks .db-room { display: none; }
html.kp-narrow .ks.db { background: linear-gradient(180deg, #E4F2F7 0%, #D3EAF1 100%); }
html.kp-narrow .ks .db-copy, html.kp-narrow .ks .db-new { position: relative; inset: auto; width: auto; }
html.kp-narrow .ks .db-h { font-size: 36px; }
html.kp-narrow .ks .db-lead { font-size: 17px; }
html.kp-narrow .ks .db-old { position: relative; inset: auto; width: 712px; height: 440px; zoom: .48; margin: 40px 0 0; flex: none; align-self: center; }
html.kp-narrow .ks .db-tag { font-size: 26px; }
html.kp-narrow .ks .db-new { margin-top: 30px; }
html.kp-narrow .ks .db-calls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.kp-narrow .ks .db-call { flex-direction: column; gap: 8px; }
html.kp-narrow .ks .db-cb { width: 100%; }
html.kp-narrow .ks .db-call::after { display: none; }
html.kp-narrow .ks.db.is-leading .db-call { transform: none !important; }
html.kp-narrow .ks .db-phone { position: relative; inset: auto; margin: 28px auto 0; }
html.kp-narrow .ks .db-phone .phone { --pz: .8 !important; }

/* progress: 90,000 paid of 150,000 (60%), then a 30,000 payment makes it 120,000 (80%) */
.ks .db-barl { display: grid; }
.ks .db-bl { grid-area: 1 / 1; display: flex; justify-content: space-between; gap: 6px; transition: opacity .35s var(--ease); }
.ks .db-bl.a { opacity: 0; }
.ks.db.is-leading:not(.r-progress) .db-bl.a { opacity: 1; }
.ks.db.is-leading:not(.r-progress) .db-bl.b { opacity: 0; }
.ks.db.b-progress .db-bl { transition-delay: .9s; }

/* share: the payment arrives in Zahraa's own Konto (a small receiver card, as on the Send page) */
.ks .c-share { flex-wrap: wrap; }
.ks .db-recv { flex: 1 0 100%; margin-top: 4px; }
.ks .db-recv-who { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: var(--c700); }
.ks .db-app { width: 300px; height: auto; zoom: .58; border-radius: 22px; overflow: hidden; background: transparent; box-shadow: inset 0 0 0 1.5px var(--border), 0 6px 16px rgba(10,25,41,.10); }
html.kp-narrow .ks .db-app { zoom: .8; margin-inline: auto; }
html.kp-narrow .ks .db-call.c-share { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
html.kp-narrow .ks .c-share .db-cb { width: auto; }
.ks .db-app .a-sheet { position: relative; transform: none; max-height: none; border-radius: 0; box-shadow: none; }
.ks .db-app .a-sheet-h { height: 44px; padding-bottom: 6px; }
.ks .db-app .a-sheet-t { padding: 0 12px; font-size: 18px; }
.ks .db-app .a-sheet-b { padding: 0 16px 12px; }
.ks .db-app .a-rec-amt b { font-size: 34px; }
.ks .db-left { margin: 4px 0 0; display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--surface-muted); font-size: 14px; color: var(--text-2); }
.ks .db-left b { color: var(--text); font-weight: 700; }
.ks .db-app .a-sheet-f { padding: 12px 16px 14px; }
.ks .db-foot { display: grid; }
.ks .db-f1, .ks .db-f2 { grid-area: 1 / 1; display: flex; gap: 10px; align-items: center; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.ks .db-f1 .a-dbtn { font-size: 14px; }
.ks .db-f2 { justify-content: center; opacity: 0; }
.ks .db-done { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 16px; background: var(--ok-surface); color: var(--ok-content); font-size: 15px; font-weight: 700; }
.ks .db-done svg { width: 20px; height: 20px; }
.ks .db-ok { position: absolute; inset-inline-end: -12px; bottom: -10px; width: 26px; height: 26px; }
.ks.db.b-share .db-add { animation: db-press .5s .9s both; }
.ks.db.b-share .db-ok i, .ks.db.is-calm .db-ok i { animation: a-ok-pop .52s 1.3s cubic-bezier(.34,1.56,.64,1) both; }
.ks.db.b-share .db-ok svg path, .ks.db.is-calm .db-ok svg path { animation: a-ok-draw .36s 1.56s cubic-bezier(.65,0,.35,1) both; }
.ks.db.b-share .db-f1, .ks.db.is-calm .db-f1 { opacity: 0; transition-delay: 1.4s; }
.ks.db.b-share .db-f2, .ks.db.is-calm .db-f2 { opacity: 1; transition-delay: 1.6s; }
.ks.db.is-calm .db-f1, .ks.db.is-calm .db-f2 { transition-delay: 0s; }
.ks.db.is-calm .db-ok i, .ks.db.is-calm .db-ok svg path { animation-delay: 0s; animation-duration: .01s; }
.ks.db.b-share .db-app { animation: db-arrive .6s .2s both var(--ease); }
@keyframes db-press { 0%, 100% { transform: none; filter: none; } 40% { transform: scale(.94); filter: brightness(.9); } }
@keyframes db-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- phones, told full screen (kphone-story.js, story/debts.js) ----------
   The room, the notebook and Zahraa's Konto are one drawing (.db-art, which takes no
   box anywhere else). On the tall screen the notebook stands upright: its two pages
   one above the other on the desk, and Zahraa's Konto lies beside it, where the
   camera finds it at the end. The focus dimming of the wide page is undone. */
.ks .db-art { display: contents; }
html.kp-narrow .db[data-kst] .db-art { display: block !important; }
html.kp-narrow .db[data-kst] .db-room { display: block; }
html.kp-narrow .db[data-kst] .db-win, html.kp-narrow .db[data-kst] .db-desk-edge { display: none; }
html.kp-narrow .db[data-kst] .db-desk { top: -700px; height: 3200px; }
html.kp-narrow .db[data-kst] .db-old { position: absolute; inset: auto; left: 24px; top: 150px; width: 372px; height: 820px; zoom: 1; margin: 0; opacity: 1 !important; filter: none !important; }
html.kp-narrow .db[data-kst] .db-tag { font-size: 18px; }
html.kp-narrow .db[data-kst] .db-book { inset-inline-start: 12px; top: 24px; width: 345px; height: 785px; }
html.kp-narrow .db[data-kst] .db-half { width: 345px; height: 385px; bottom: auto; inset-inline: 0 auto; }
html.kp-narrow .db[data-kst] .db-half.s { top: 0; }
html.kp-narrow .db[data-kst] .db-half.e { top: 400px; }
html.kp-narrow .db[data-kst] .db-half .db-pg { border-radius: 8px !important; box-shadow: inset 0 -14px 18px -14px rgba(90,60,20,.3) !important; }
html.kp-narrow .db[data-kst] .db-shadow { inset: 14px -10px -18px; }
html.kp-narrow .db[data-kst] .db-new { position: absolute; inset: auto; left: 520px; top: 330px; width: 324px; margin: 0; opacity: 1 !important; }
html.kp-narrow .db[data-kst] .db-newtag, html.kp-narrow .db[data-kst] .db-call:not(.c-share),
html.kp-narrow .db[data-kst] .c-share .db-ci, html.kp-narrow .db[data-kst] .c-share .db-cb { display: none; }
html.kp-narrow .db[data-kst] .db-calls { display: block; }
html.kp-narrow .db[data-kst] .db-call.c-share { opacity: 1 !important; transform: none !important; outline: 0; padding: 12px; border-radius: 22px; box-shadow: 0 4px 10px rgba(60,30,10,.16), 0 24px 50px rgba(60,30,10,.28); }
html.kp-narrow .db[data-kst] .db-call::after { display: none; }
html.kp-narrow .db[data-kst] .db-recv { margin: 0; }
html.kp-narrow .db[data-kst] .db-recv-who { font-size: 15px; margin: 2px 4px 10px; }
html.kp-narrow .db[data-kst] .db-app { zoom: 1; width: 300px; margin: 0; }
/* the close looks follow Zahraa's debt, as the phone does: her two payments and the wrong sum
   (the question mark keeps asking), then the 30,000 squeezed in (written there and then; it is not
   on the page before), then the note to tell her keeps calling */
html.kp-narrow .db[data-kst].b-notebook .db-sq, html.kp-narrow .db[data-kst].b-ph-zahraa .db-sq { visibility: hidden; }
html.kp-narrow .db[data-kst].b-ph-squeeze .db-sq { animation: db-write .7s .35s both cubic-bezier(.4,0,.3,1); }
html.kp-narrow .db[dir="rtl"][data-kst].b-ph-squeeze .db-sq { animation-name: db-write-r; }
html.kp-narrow .db[data-kst].b-ph-zahraa .db-q, html.kp-narrow .db[data-kst].b-ph-squeeze .db-q { animation: db-wiggle 1.4s .3s ease-in-out infinite; }
html.kp-narrow .db[data-kst].b-notebook .db-ln.left .db-xp, html.kp-narrow .db[data-kst].b-ph-zahraa .db-ln.left .db-xp { animation: none; stroke-dashoffset: 100; }
html.kp-narrow .db[data-kst].b-notebook .db-ln.left .db-x, html.kp-narrow .db[data-kst].b-ph-zahraa .db-ln.left .db-x { color: inherit; }
html.kp-narrow .db[data-kst].b-ph-squeeze .db-ln.left .db-xp { animation: db-draw .45s 1.2s both ease-out; }
html.kp-narrow .db[data-kst].b-ph-tell .db-tell { animation: db-ping 1.2s .3s ease-in-out 3; }
@keyframes db-ping { 50% { transform: rotate(4deg) scale(1.14); } }
@media (prefers-reduced-motion: reduce) {
  html.kp-narrow .db[data-kst] .db-q, html.kp-narrow .db[data-kst] .db-tell, html.kp-narrow .db[data-kst] .db-sq, html.kp-narrow .db[data-kst] .db-xp { animation: none !important; }
}
