/* QingLian devices — cn123 cinematic editorial (match site language) */

.cn-stores-mount {
  width: 100%;
  display: block;
}

.cn-stores-mount.is-switching .ql-rows {
  opacity: 0.35;
}

.ql-shell {
  display: grid;
  gap: 0;
}

/* ——— Quiet numbered flow ——— */
.ql-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 243, 239, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.ql-flow__n {
  color: #95ec69;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.ql-flow__t {
  color: rgba(245, 243, 239, 0.78);
}

.ql-flow__sep {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

/* ——— OS rail (underline, not pill farm) ——— */
.ql-os {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ql-os__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 14px 10px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  color: rgba(245, 243, 239, 0.42);
  font-family: var(--font-text, inherit);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.28s ease, background 0.28s ease;
}

.ql-os__tab:last-child {
  border-right: 0;
}

.ql-os__tab:hover {
  color: rgba(245, 243, 239, 0.82);
  background: rgba(255, 255, 255, 0.03);
}

.ql-os__tab.is-active {
  color: #f5f3ef;
  background: rgba(149, 236, 105, 0.06);
}

.ql-os__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #95ec69;
}

.ql-os__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  opacity: 0.85;
}

.ql-os__tab.is-active .ql-os__icon {
  opacity: 1;
}

/* ——— App rows (hairline list, not nested cards) ——— */
.ql-rows {
  display: grid;
  gap: 0;
  transition: opacity 0.22s ease;
}

.ql-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ql-row:last-of-type {
  border-bottom: 0;
}

.ql-row[hidden] {
  display: none !important;
}

.ql-row__main {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.ql-row__icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ql-row__icon--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: #111;
  background: #95ec69;
  border: 0;
}

.ql-row__copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.ql-row__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.ql-row__name {
  font-size: 1.08rem;
  font-weight: 750;
  color: #f5f3ef;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.ql-row__badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(149, 236, 105, 0.95);
}

.ql-row__meta {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(245, 243, 239, 0.48);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ql-row__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ql-row__actions[hidden] {
  display: none !important;
}

.ql-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ql-dl--primary {
  color: #111;
  background: #f5f3ef;
  border: 1px solid #f5f3ef;
  min-width: 108px;
}

.ql-dl--primary:hover,
.ql-dl--primary:focus-visible {
  background: #fff;
  border-color: #fff;
  outline: none;
}

.ql-dl--ghost {
  color: rgba(245, 243, 239, 0.88);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ql-dl--ghost:hover,
.ql-dl--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  outline: none;
}

.ql-dl--text {
  color: rgba(245, 243, 239, 0.48);
  background: transparent;
  border: 0;
  min-height: 36px;
  padding: 0 8px;
  font-weight: 650;
}

.ql-dl--text:hover,
.ql-dl--text:focus-visible {
  color: #f5f3ef;
  outline: none;
}

.ql-dl__glyph {
  width: 15px;
  height: 15px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.ql-dl--primary .ql-dl__glyph {
  filter: brightness(0);
}

.ql-empty {
  margin: 0;
  padding: 36px 8px;
  text-align: center;
  color: rgba(245, 243, 239, 0.4);
  font-size: 0.9rem;
}

.ql-empty[hidden] {
  display: none !important;
}

/* ——— China stores ——— */
.ql-cn-more {
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.ql-cn-more[hidden] {
  display: none !important;
}

.ql-cn-more summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: rgba(245, 243, 239, 0.55);
  list-style: none;
}

.ql-cn-more summary::-webkit-details-marker {
  display: none;
}

.ql-cn-more summary:hover {
  color: #f5f3ef;
}

.ql-cn-more__hint {
  margin: 8px 0 14px;
  color: rgba(245, 243, 239, 0.38);
  font-size: 0.76rem;
  line-height: 1.45;
}

.ql-cn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ql-cn-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 12px 6px;
  text-decoration: none;
  color: rgba(245, 243, 239, 0.78);
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
  transition: background 0.18s ease;
}

.ql-cn-tile:nth-child(4n) {
  border-right: 0;
}

.ql-cn-tile img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.ql-cn-tile:hover,
.ql-cn-tile:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

@media (max-width: 760px) {
  .ql-os {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ql-os__tab:nth-child(2n) {
    border-right: 0;
  }
  .ql-os__tab:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ql-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 2px;
  }
  .ql-row__actions {
    justify-content: flex-start;
  }
  .ql-dl--primary {
    flex: 1 1 auto;
  }
  .ql-cn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ql-cn-tile:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ql-cn-tile:nth-child(2n) {
    border-right: 0;
  }
  .ql-flow__sep {
    display: none;
  }
}
