.chip-option .chip-label {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
}

.qr-card {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.qr-view-button {
  flex-shrink: 0;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 639px) {
  html[lang='zh-CN'] .qr-view-button {
    box-sizing: border-box;
    width: calc(2em + 1.25rem + 2px);
    white-space: normal;
    word-break: break-all;
  }
}

.qr-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

.qr-save {
  -webkit-touch-callout: default;
  -webkit-user-select: auto;
  user-select: auto;
  pointer-events: auto;
}

.qr-save-hint {
  display: none;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 639px) {
  .qr-save-hint {
    display: block;
  }
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.qr-modal-mask {
  position: absolute;
  inset: 0;
}

.qr-modal-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
}

#qr-dialog {
  width: min(100%, 24rem);
  max-height: calc(100vh - 32px);
  margin: 0;
}

.qr-modal[hidden],
.notice[hidden],
[hidden] {
  display: none !important;
}

.download-item [data-meta] {
  padding-top: 8px;
}
