/* ==========================================================================
   Aakar Picker · DS-003 · TheLayoutLoft Parts Line — .aa- prefixed
   ========================================================================== */
.aa { display: inline-block; }
.aa-stage {
  height: 170px; display: grid; place-items: center;
  border: 1px dashed #2A3142; border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, #12161F 0 12px, #141926 12px 24px);
  margin-bottom: 14px; padding: 10px;
}
.aa-frame {
  position: relative; display: grid; place-items: center;
  background: linear-gradient(160deg, #F59E0B18, #6D64F018);
  border: 1.5px solid #8B84EA; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.aa-frame.aa-anim { transition: width .28s cubic-bezier(.3,1.2,.4,1),
  height .28s cubic-bezier(.3,1.2,.4,1); }
.aa-dims {
  font: 600 11px/1 ui-monospace, monospace; color: #C7CDDC;
  background: #0B0E14CC; padding: 4px 8px; border-radius: 5px;
  white-space: nowrap;
}
.aa-opts { display: flex; gap: 8px; }
.aa-opt {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 10px 4px 8px; cursor: pointer;
  background: #12161F; border: 1px solid #2A3142; border-radius: 10px;
  color: #6B7386; transition: border-color .15s, transform .15s;
}
.aa-opt:hover, .aa-opt:focus-visible {
  border-color: #8B84EA; transform: translateY(-2px); outline: none;
}
.aa-opt.aa-on { border-color: #F59E0B; color: #E8E6F0; }
.aa-shape {
  border: 1.5px solid currentColor; border-radius: 3px;
  background: rgba(139,132,234,.12);
}
.aa-opt.aa-on .aa-shape { background: rgba(245,158,11,.18); }
.aa-lb { font: 600 10.5px/1 ui-monospace, monospace; letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce) {
  .aa-frame.aa-anim, .aa-opt { transition: 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; } }
