/* Lakhpati — DS-027 · TheLayoutLoft Parts Line — DESI tag
   Obsidian field + emerald→amber magnitude chip. All .lk- prefixed. */
.lk-field {
  position:relative; display:inline-flex; align-items:center; gap:8px;
  padding:0 16px; height:52px; border-radius:14px;
  background:#12151E; border:1px solid rgba(255,255,255,.12);
  transition:border-color .2s, box-shadow .2s;
  font:700 18px/1 ui-sans-serif,system-ui,sans-serif;
}
.lk-field:focus-within { border-color:#34D399;
  box-shadow:0 0 0 3px rgba(52,211,153,.15); }

.lk-cur { color:#FBBF24; font-size:.85em; }
.lk-input {
  border:none; background:none; outline:none; color:#F8FAFC;
  font:inherit; width:11ch; min-width:0; letter-spacing:.02em;
}
.lk-input::placeholder { color:#3A4054; }

.lk-chip {
  position:absolute; left:calc(100% + 10px); top:50%; translate:0 -50%;
  white-space:nowrap; padding:7px 12px; border-radius:99px;
  font:800 12px/1 inherit; letter-spacing:.03em;
  background:rgba(52,211,153,.12); color:#34D399;
  border:1px solid rgba(52,211,153,.35);
  transition:background .3s, color .3s, border-color .3s;
}
.lk-chip[data-mag="crore"] {
  background:rgba(251,191,36,.12); color:#FBBF24;
  border-color:rgba(251,191,36,.4);
}
.lk-chip.lk-pop { animation:lk-pop .4s cubic-bezier(.34,1.56,.64,1); }
@keyframes lk-pop {
  0% { transform:scale(.5); opacity:0; }
  100% { transform:scale(1); opacity:1; }
}
@media (prefers-reduced-motion:reduce) {
  .lk-chip.lk-pop { animation:none; }
}

/* phone view: demo stage is designed ~900px wide — zoom the page down on small screens */
@media (max-width: 430px) { body { zoom: .40; } }
@media (min-width: 431px) and (max-width: 560px) { body { zoom: .52; } }
@media (min-width: 561px) and (max-width: 720px) { body { zoom: .65; } }
@media (min-width: 721px) and (max-width: 860px) { body { zoom: .78; } }
