/* ==========================================================================
   Chunav Select · DS-051 · TheLayoutLoft Parts Line — .cn- prefixed
   ========================================================================== */
.cn { position: relative; display: inline-block; min-width: 200px;
  font: 500 13px/1.4 ui-sans-serif, system-ui, sans-serif; }
.cn-btn { width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; padding: 11px 14px;
  background: #1A2030; border: 1px solid #3A4152; border-radius: 11px;
  color: #9AA3B8; font: 600 13px/1 inherit; cursor: pointer; }
.cn-btn.cn-picked { color: #F5F1E8; }
.cn-btn:focus-visible { outline: 2px solid #F9A8D4; outline-offset: 2px; }
.cn-arr { font-style: normal; transition: transform .2s; }
.cn-open .cn-arr { transform: rotate(180deg); }
.cn-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  margin: 0; padding: 5px; list-style: none; z-index: 50;
  background: #161B28; border: 1px solid #3A4152; border-radius: 11px;
  box-shadow: 0 18px 40px rgba(0,0,0,.5); max-height: 230px;
  overflow: auto; }
.cn-o { display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 8px; cursor: pointer; color: #C7CDDC; }
.cn-o:hover, .cn-o:focus-visible { background: #232A3A; outline: none; }
.cn-mk { width: 16px; font-style: normal; color: #F59E0B; opacity: 0;
  font-size: 13px; flex: none; }
.cn-o.cn-sel { color: #F5F1E8; }
.cn-o.cn-sel .cn-mk { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .cn-arr { 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; } }
