:root {
  --primary: #1769FF;
  --primary-hover: #0f5de0;
  --primary-soft: #f0faf4;
  --text: #1a1a1a;
  --muted: #666;
  --border: #eee;
  --bg: #f7f8fa;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

.site-header-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.brand-tag {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  justify-content: center;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--primary); }
.site-nav a.is-active { font-weight: 600; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-user {
  font-size: 13px;
  color: var(--muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  font-size: 13px;
}
.btn-sm {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #ddd;
  color: #666;
}
.btn-sm:hover { border-color: #ccc; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid #fff;
  box-sizing: border-box;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 14px;
}
.btn-login.is-logged-in {
  background: #e8f5ee;
  color: var(--primary);
  cursor: default;
  pointer-events: none;
}

.main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px;
}
.upload-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.upload-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.upload-wrap > .card:has(.upload-options) { padding: 16px 20px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}
.stat-card .n {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}
.stat-card .l {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.upload-opt-hint {
  font-style: normal;
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}


.upload-options {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 14px;
  background: #f7f8fa;
  border-radius: 10px;
}
.upload-opt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.upload-opt-row--cate { flex: 1 1 240px; min-width: 0; }
.upload-opt-label {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
  white-space: nowrap;
}
.upload-opt-select,
.upload-opt-input {
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  line-height: 1.2;
  box-sizing: border-box;
  min-height: 32px;
  font-family: inherit;
}
.upload-opt-select {
  flex: 1;
  min-width: 0;
  max-width: 280px;
}
.upload-opt-input {
  width: 72px;
  flex-shrink: 0;
}
.upload-opt-hint {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
  white-space: nowrap;
}
.upload-opt-public {
  margin: 0 0 0 auto;
  flex-shrink: 0;
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  cursor: pointer;
}
.upload-opt-public input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.upload-mode-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.upload-mode-btn {
  flex: 1;
  padding: 0;
  border: 1px solid #e6e9f0;
  border-radius: 10px;
  background: #f3f5f9;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  font-family: inherit;
}
.upload-mode-btn-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
}
.upload-mode-ico {
  font-size: 18px;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
}
.upload-mode-label {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}
.upload-mode-btn.is-on {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.upload-mode-btn.is-on .upload-mode-label {
  color: var(--primary);
  font-weight: 600;
}

.upload-zone {
  border: 2px dashed #b8dfc8;
  border-radius: 12px;
  min-height: 220px;
  padding: 32px 24px;
  text-align: center;
  background: #fafdfb;
  transition: .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.upload-zone.drag,
.upload-zone.hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.upload-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
}
.upload-tip {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.upload-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 420px;
  line-height: 1.6;
}
.file-input { display: none; }

.info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
}
.info-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.info-title {
  font-size: 17px;
  font-weight: 700;
}
.info-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff0f0;
  color: #e64340;
  font-size: 11px;
  font-weight: 600;
}
.info-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.recent-block {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.recent-head {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}
.recent-scroll {
  flex: 1 1 auto;
  min-height: 0;
  height: 160px;
  max-height: 160px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f8fa;
  padding: 8px 10px;
  box-sizing: border-box;
  position: relative;
}
.recent-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform;
}
.recent-track.is-marquee {
  animation: recent-marquee var(--recent-marquee-ms, 24s) linear infinite;
}
.recent-scroll:hover .recent-track.is-marquee {
  animation-play-state: paused;
}
@keyframes recent-marquee {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.recent-empty {
  font-size: 12px;
  color: #bbb;
  text-align: center;
  padding: 28px 0;
}
.recent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 12px;
  color: #666;
  line-height: 22px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
a.recent-item:hover {
  color: var(--brand, #1769FF);
}
.recent-item .recent-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-item .file-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}
.file-icon.file-icon--img,
.recent-item .file-icon.file-icon--img {
  background: transparent !important;
  padding: 0;
}
.file-icon.file-icon--img img,
.recent-item .file-icon.file-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.file-icon.is-fallback,
.recent-item .file-icon.is-fallback {
  color: #fff;
}
.recent-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.appid-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.appid-label {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.appid-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.appid-code {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 12px;
  color: #444;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-card { padding: 20px; }
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.search-input {
  flex: 1;
  min-width: 160px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.list-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 14px;
}
.list-tab {
  padding: 10px 0;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: inherit;
}
.list-tab.is-on {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.list-title {
  font-size: 15px;
  font-weight: 700;
}
.table-wrap { overflow: auto; }
.mine-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mine-table thead th {
  background: #f7f8fa;
  color: #888;
  font-weight: 500;
  white-space: nowrap;
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.mine-table tbody td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  color: #334155;
}
.mine-table .col-type { width: 64px; text-align: center; }
.mine-table .col-pub { width: 64px; text-align: center; }
.mine-table .name {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mine-table .sub {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}
.mine-empty {
  text-align: center;
  color: #999;
  padding: 40px 16px !important;
}
.file-icon.sm {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
}
.file-icon.sm.file-icon--img {
  background: transparent !important;
  padding: 0;
}
.file-icon.sm.file-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
}
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch-ui {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: .15s;
}
.switch-ui::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: .15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.switch input:checked + .switch-ui { background: #3b82f6; }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.op {
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 2px;
  padding: 4px 10px;
  border: 0;
  border-radius: 4px;
  background: #3b82f6;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.op:hover { background: #2563eb; }
.footer-tip {
  font-size: 12px;
  color: #999;
  line-height: 1.55;
  margin-top: 12px;
  text-align: center;
}

.guest-panel {
  text-align: center;
  padding: 64px 24px 48px;
}
.guest-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
}
.guest-icon-wx svg { display: block; }
.guest-panel h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--text);
}
.guest-panel p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.65;
}
.guest-panel .btn-primary { min-width: 160px; }

.side-float {
  position: fixed;
  z-index: 15;
  /* 对齐左侧原版：贴在内容区左侧中上，不贴底 */
  left: max(12px, calc((100vw - 1080px) / 2 - 178px));
  top: 168px;
  width: 164px;
  padding: 22px 18px 18px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-12px);
  transition:
    opacity .32s cubic-bezier(0.22, 1, 0.36, 1),
    transform .34s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .32s;
}
.side-float.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.side-float[hidden] { display: none !important; }
.side-float.is-open[hidden] { display: block !important; }
.side-float-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #bbb;
  font-size: 18px;
  cursor: pointer;
}
.side-float-qr {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}
.side-float-label {
  font-size: 13px;
  color: #444;
  margin: 0 0 18px;
}
.side-float-dl {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 8px;
  box-sizing: border-box;
}

/* —— 统一弹窗动画（以后新增弹窗：根节点加 modal-root，开关用 YfjUI.openModal/closeModal） —— */
.modal-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .28s;
}
.modal-root[hidden] {
  display: none !important;
}
.modal-root.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-root.is-open[hidden] {
  display: flex !important;
}
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  transition: opacity .28s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-root.is-open .modal-mask {
  opacity: 1;
}
.card-modal,
.fs-card {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity .3s cubic-bezier(0.22, 1, 0.36, 1),
    transform .32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.modal-root.is-open .card-modal,
.modal-root.is-open .fs-card {
  opacity: 1;
  transform: none;
}
.card-modal {
  max-width: 400px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}
.card-modal img {
  width: 200px;
  height: 200px;
  border: 1px solid #eee;
  border-radius: 12px;
}
.fs-card {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .2);
  padding-bottom: 16px;
}
.fs-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 8px;
}
.fs-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-all;
}
.fs-x {
  border: 0;
  background: none;
  font-size: 22px;
  color: #94a3b8;
  cursor: pointer;
}
.fs-body { padding: 4px 18px; }
.fs-field { display: block; margin-bottom: 14px; }
.fs-field > span {
  display: block;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 500;
}
.fs-field input,
.fs-field select {
  width: 100%;
  height: 36px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 13px;
  font-family: inherit;
}
.fs-field em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: #94a3b8;
}
.fs-row { display: flex; gap: 8px; }
.fs-row input { flex: 1; }
.fs-field--perms > span { margin-bottom: 8px; }
.fs-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fs-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f8fc;
  border: 1px solid #e5edf7;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  user-select: none;
}
.fs-check:hover {
  border-color: #c9daf5;
  background: #f0f6ff;
}
.fs-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.fs-check-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #c5d4ea;
  background: #fff;
  box-sizing: border-box;
  position: relative;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.fs-check-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform .12s ease;
}
.fs-check-text {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  line-height: 1.3;
  white-space: nowrap;
}
.fs-check input:checked + .fs-check-box {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(23, 105, 255, .28);
}
.fs-check input:checked + .fs-check-box::after {
  transform: rotate(45deg) scale(1);
}
.fs-check:has(input:checked) {
  background: #eef4ff;
  border-color: #b7d1ff;
  box-shadow: 0 1px 0 rgba(23, 105, 255, .06);
}
.fs-check:has(input:checked) .fs-check-text {
  color: #1e3a8a;
}
.fs-field--perms em {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: #94a3b8;
}
.fs-footer {
  padding: 4px 18px 8px;
}
.fs-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 4px 0 14px;
}
.fs-btn {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.fs-btn-cancel {
  background: #f1f5f9;
  color: #475569;
}
.fs-btn-cancel:hover {
  background: #e2e8f0;
}
.fs-btn-save {
  background: var(--primary);
  color: #fff;
  box-shadow: none;

  border: 2px solid #fff;
  box-sizing: border-box;}
.fs-btn-save:hover {
  background: var(--primary-hover);
}
.fs-del {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid #eef2f7;
  background: none;
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 14px 6px 8px;
  margin-top: 0;
  text-align: center;
}
.fs-del:hover {
  color: #dc2626;
}
.btn.ghost {
  background: #fff;
  color: var(--primary);
  border: 1px solid #b7d1ff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.qr-pop {
  position: fixed;
  z-index: 90;
  width: 200px;
  padding: 16px 14px 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity .26s cubic-bezier(0.22, 1, 0.36, 1),
    transform .28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility .26s;
}
.qr-pop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.qr-pop[hidden] { display: none !important; }
.qr-pop.is-open[hidden] { display: block !important; }
.qr-pop img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto 8px;
}
.qr-name {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qr-tip {
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(0, 0, 0, .78);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 900px) {
  .upload-row { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .side-float { display: none !important; }
}
@media (max-width: 720px) {
  .upload-options { flex-wrap: wrap; }
  .upload-opt-public { margin-left: 0; }
}
