/* Share kit (2026-11-01 batch 3) */
.share-inner .share-tabs { margin-bottom: 14px; }
.share-urlbox { background: var(--panel2); border: 1px solid var(--border);
  border-radius: var(--r-md, 18px); padding: 12px 14px; margin-bottom: 10px;
  word-break: break-all; }
.share-url { font-size: 14px; font-weight: 600; color: var(--accent2); }

.qr-card { position: relative; width: min(300px, 84vw); aspect-ratio: 300/380;
  margin: 4px auto 14px; border-radius: var(--r-xl, 28px); overflow: hidden;
  box-shadow: var(--sh-pop, 0 24px 60px rgba(2,10,18,.48)); color: #fff; }
.qc-bg { position: absolute; inset: 0; transition: opacity .6s ease; }
.qc-bg-b { opacity: 0; }
.qc-fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.qc-inner { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; padding: 26px 20px 20px; text-align: center; }
.qc-name { font-size: 21px; font-weight: 800; max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-handle { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 3px; }
.qc-tile { background: #fff; border-radius: var(--r-lg, 24px); padding: 12px;
  margin-top: 18px; box-shadow: 0 12px 30px rgba(2,10,18,.35); line-height: 0; }
.qc-brand { margin-top: auto; font-size: 12px; letter-spacing: 2px;
  color: rgba(255,255,255,.8); font-weight: 700; }

.qc-swatches { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 10px; }
.qc-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: transform .25s var(--spring, cubic-bezier(.32,1.28,.36,1)); }
.qc-sw.sel { border-color: #fff; transform: scale(1.15); box-shadow: 0 4px 14px rgba(2,10,18,.4); }
.qc-pats { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.qc-pat { background: var(--panel2); border: 1px solid var(--border); color: var(--muted);
  border-radius: var(--r-full, 999px); padding: 7px 13px; font-size: 12px; font-weight: 600; cursor: pointer; }
.qc-pat.sel { color: #fff; background: var(--accent-grad, linear-gradient(120deg,#6c5ce7,#00cec9)); border-color: transparent; }

.share-poster-box { text-align: center; }
.share-poster-img { width: min(270px, 76vw); border-radius: var(--r-lg, 24px);
  box-shadow: var(--sh-card, 0 10px 30px rgba(2,10,18,.26)); }

/* fix3: selected-swatch ring was white — invisible on the light sheet. */
[data-theme="light"] .qc-sw.sel { border-color: var(--text); }
