/* krt.creatives — follower-only prompts: locked cards, banner and the unlock dialog (home + library) */
/* ---------- follower-only prompts ---------- */
#postReader .p-prompt.locked .body { position: relative; min-height: 132px; padding: 18px; overflow: hidden; }
#postReader .lk-lines { display: grid; gap: 11px; filter: blur(5px); opacity: .55; }
#postReader .lk-lines i { display: block; height: 11px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.12)); }
#postReader .lk-lines i:nth-child(1) { width: 92%; } #postReader .lk-lines i:nth-child(2) { width: 78%; }
#postReader .lk-lines i:nth-child(3) { width: 86%; } #postReader .lk-lines i:nth-child(4) { width: 54%; }
#postReader .lk-over { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: linear-gradient(90deg, rgba(15,15,16,.86), rgba(15,15,16,.55)); }
#postReader .lk-over > div { flex: 1; min-width: 0; }
#postReader .lk-over b, #postReader .p-gate b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
#postReader .lk-over small, #postReader .p-gate small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
#postReader .lk-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(232,185,49,.14); color: var(--mustard); border: 1px solid rgba(232,185,49,.35); }
#postReader .lk-btn { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--mustard); color: #222;
  font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
#postReader .lk-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(232,185,49,.7); }
#postReader .p-gate { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; padding: 14px 16px; border-radius: 14px;
  background: rgba(232,185,49,.07); border: 1px solid rgba(232,185,49,.28); }
#postReader .p-gate > div { flex: 1; min-width: 0; }
#postReader .p-gate code, .ku code { font-family: 'JetBrains Mono', monospace; font-size: .92em; color: var(--mustard, #E8B931); font-weight: 600; }
#postReader .p-gate.on { gap: 10px; color: var(--mustard); font-size: 14px; font-weight: 600; background: rgba(232,185,49,.06); }
@media (max-width: 560px) {
  #postReader .lk-over, #postReader .p-gate { flex-wrap: wrap; }
  #postReader .lk-over > div, #postReader .p-gate > div { flex: 1 1 calc(100% - 52px); }
  #postReader .lk-over { align-content: center; row-gap: 10px; }
  #postReader .lk-over .lk-btn, #postReader .p-gate .lk-btn { margin-left: 52px; }
  #postReader .p-prompt.locked .body { min-height: 170px; }
}

/* unlock dialog (works on every page; sits above the reader) */
.ku { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; padding: 28px 26px 24px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px; color: #F3F3F3; font-family: 'Poppins', sans-serif;
  background: rgba(22,22,24,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08); }
.ku::backdrop { background: rgba(10,10,11,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ku[open] { animation: kuIn .32s cubic-bezier(.2,.8,.2,1); }
@keyframes kuIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.ku-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; color: rgba(243,243,243,.7); background: rgba(255,255,255,.06); cursor: pointer; }
.ku-x:hover { background: #E8B931; color: #222; }
.ku-k { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #E8B931; }
.ku h3 { margin: 12px 0 0; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.ku h3 span { color: #E8B931; }
.ku-lede { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: rgba(243,243,243,.66); }
.ku-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ku-steps li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.ku-steps .n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(232,185,49,.15); color: #E8B931; font-size: 13px; font-weight: 700; }
.ku-steps .t { flex: 1; min-width: 0; }
.ku-steps b { display: block; font-size: 14.5px; font-weight: 600; }
.ku-steps small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(243,243,243,.55); }
.ku-two { display: flex; gap: 6px; flex: none; }
.ku-go { flex: none; padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #F3F3F3; text-decoration: none;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.ku-go:hover { background: #F3F3F3; color: #222; }
.ku-go.y { background: #E8B931; border-color: #E8B931; color: #222; }
.ku-go.y:hover { background: #f2c94a; }
.ku-go.line { background: transparent; }
.ku-code { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.ku-code label { display: block; font-size: 13px; color: rgba(243,243,243,.6); }
.ku-code .row { display: flex; gap: 8px; margin-top: 8px; }
.ku-code input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.25);
  color: #fff; font: 500 14px 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; outline: none; }
.ku-code input:focus { border-color: #E8B931; }
.ku-code button { padding: 11px 18px; border-radius: 12px; background: #E8B931; color: #222; font-weight: 700; font-size: 14px; cursor: pointer; }
.ku-code button:disabled { opacity: .6; cursor: wait; }
.ku-msg { min-height: 1.2em; margin: 8px 0 0; font-size: 13px; color: rgba(243,243,243,.6); }
.ku-msg.ok { color: #E8B931; } .ku-msg.bad { color: #ff9b8a; }
@media (max-width: 480px) {
  .ku { padding: 24px 18px 20px; } .ku h3 { font-size: 24px; }
  .ku-steps li { flex-wrap: wrap; } .ku-two { width: 100%; padding-left: 40px; }
}

/* the site-wide "highlighter" on bold words (dark text + yellow swipe) is for light pages —
   inside the dark unlock window and locked cards, bold text stays plain white */
.ku b, .ku strong, .ku li b, .ku p b,
#postReader .lk-over b, #postReader .p-gate b {
  color: #F3F3F3 !important; background: none !important; padding: 0 !important; text-shadow: none !important; }
.ku .ku-steps b { color: #fff !important; }

/* which breakdown the unlock window is for */
.ku-for { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(232,185,49,.1); border: 1px solid rgba(232,185,49,.3); font-size: 13px; color: rgba(243,243,243,.75); }
.ku-for b { color: #E8B931 !important; }
