/* ShareCardLink – SCL QR styles: QR on the card + the owner's picker (scl_qr.js) */
html body #qr_code_d.sqr-on { display: block !important; position: relative !important; left: auto !important; right: auto !important; transform: none !important; margin: 6px auto 18px !important; float: none !important; max-width: 100% !important; width: 230px !important; height: 230px !important; padding: 0 !important; background: transparent !important; border-radius: 22px !important; box-shadow: 0 14px 34px rgba(0, 0, 0, .25) !important; }
.sqr-open { display: block; margin: 14px auto 2px; padding: 10px 18px; border: 0; border-radius: 999px; font: 600 14px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #e6142a, #ff7800, #ffc800, #00be6e, #286eff, #9632ff); box-shadow: 0 8px 20px -8px rgba(150, 50, 255, .7); -webkit-tap-highlight-color: transparent; }
.sqr-open:active { transform: scale(.96); }

.sqr-root { position: fixed; inset: 0; z-index: 2147483200; pointer-events: none; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.sqr-root.on { pointer-events: auto; }
.sqr-scrim { position: absolute; inset: 0; background: rgba(5, 6, 14, .55); opacity: 0; transition: opacity .25s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sqr-root.on .sqr-scrim { opacity: 1; }
.sqr-sheet { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 520px; max-height: 94vh; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
  background: #12131c; color: #f3f4f8; border-radius: 24px 24px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateY(105%); transition: transform .3s cubic-bezier(.22, 1, .36, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .4); }
.sqr-root.on .sqr-sheet { transform: none; }
.sqr-grab { width: 42px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); margin: 2px auto 8px; }
.sqr-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sqr-top b { font-size: 18px; }
.sqr-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 15px; cursor: pointer; }
.sqr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(255, 255, 255, .06); padding: 4px; border-radius: 14px; }
.sqr-tabs button { border: 0; background: none; color: #aab0c0; padding: 9px 4px; border-radius: 11px; font-weight: 600; font-size: 12.5px; line-height: 1.15; font-family: inherit; cursor: pointer; }
.sqr-tabs button i { display: block; font-style: normal; font-size: 10.5px; opacity: .7; margin-top: 2px; }
.sqr-tabs button.on { color: #fff; background: linear-gradient(135deg, #286eff, #9632ff); box-shadow: 0 6px 16px -6px rgba(150, 50, 255, .8); }
.sqr-stage { position: relative; margin-top: 14px; }
.sqr-car { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.sqr-car::-webkit-scrollbar { display: none; }
.sqr-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; justify-content: center; padding: 4px 0; }
.sqr-slide img { width: min(78vw, 330px); aspect-ratio: 1; border-radius: 20px; background: rgba(255, 255, 255, .05); object-fit: contain; }
.sqr-slide.busy img { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.12), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sqrSh 1.1s linear infinite; }
@keyframes sqrSh { to { background-position: -200% 0; } }
.sqr-ar { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .45); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.sqr-ar.l { left: 0; } .sqr-ar.r { right: 0; }
@media (hover: none) { .sqr-ar { display: none; } }
.sqr-name { text-align: center; margin-top: 10px; }
.sqr-name b { display: block; font-size: 16px; }
.sqr-name small { color: #9aa3b5; font-size: 12px; }
.sqr-dots { display: flex; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.sqr-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: width .2s; }
.sqr-dots i.on { width: 18px; background: linear-gradient(90deg, #ff7800, #9632ff); }
.sqr-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; }
.sqr-strip::-webkit-scrollbar { display: none; }
.sqr-strip button { flex: 0 0 auto; width: 70px; border: 2px solid transparent; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 4px; color: #aab0c0; font-weight: 500; font-size: 10.5px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.sqr-strip button img { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.sqr-strip button span { display: block; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sqr-strip button.on { border-color: #9632ff; color: #fff; }
.sqr-act { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin-top: 12px; }
.sqr-act button { border: 0; border-radius: 14px; padding: 14px 8px; font-weight: 700; font-size: 14.5px; line-height: 1; font-family: inherit; cursor: pointer; }
.sqr-dl { background: rgba(255, 255, 255, .1); color: #fff; }
.sqr-use { color: #fff; background: linear-gradient(135deg, #ff7800, #e6142a 45%, #9632ff); box-shadow: 0 10px 22px -10px rgba(230, 20, 42, .8); }
.sqr-act button:disabled { opacity: .6; }
.sqr-note { position: fixed; left: 50%; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 10px); margin: 0; padding: 10px 16px; border-radius: 12px; background: #fff; color: #12131c; font-weight: 600; font-size: 13.5px; line-height: 1.2; font-family: inherit; opacity: 0; transition: .2s; pointer-events: none; white-space: nowrap; }
.sqr-note.on { opacity: 1; transform: translate(-50%, 0); }
html.sqr-lock, html.sqr-lock body { overflow: hidden; }
