/* 🌈 스티커 공유 (js/stickershare.js · 도련 11-29) : 화면 가득 · 썸네일 칸 · 📱 폰도 */
.sgb-win { position: fixed; inset: 0; z-index: 2800; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff3f8, #f6efff); color: #4a3a42; }
.sgb-win[hidden] { display: none; }
.sgb-top { display: flex; align-items: center; gap: 8px; padding: max(10px, env(safe-area-inset-top)) 12px 8px; }
.sgb-top b { flex: 1; text-align: center; font-size: 19px; }
.sgb-top button { font: inherit; font-size: 14px; font-weight: 800; padding: 7px 13px; border-radius: 999px; border: 2px solid #f1c6d6; background: #fff; color: #b0507a; cursor: pointer; }
.sgb-tabs { display: flex; gap: 6px; justify-content: center; padding: 0 12px 8px; }
.sgb-tabs button { font: inherit; font-size: 14px; font-weight: 800; padding: 8px 16px; border-radius: 12px; border: 2px solid #f1d3dd; background: #fff; color: #8a6a78; cursor: pointer; }
.sgb-tabs button.on { background: #ffe3ee; border-color: #ff9fbd; color: #c43d72; }
.sgb-body { flex: 1; overflow-y: auto; padding: 4px 12px max(16px, env(safe-area-inset-bottom)); }
.sgb-say { padding: 40px 12px; text-align: center; font-size: 14px; line-height: 1.7; color: #8a7480; }
.sgb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sgb-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 14px; border: 2px solid #f4dbe5; background: #fff; text-align: center; font: inherit; color: inherit; }
.sgb-card.hid { opacity: .55; }
.sgb-th { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: repeating-conic-gradient(#f7f2f4 0 25%, #fff 0 50%) 0 0 / 16px 16px; overflow: hidden; }
.sgb-th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sgb-nm { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgb-card small { font-size: 11.5px; color: #8a7480; }
.sgb-act { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; margin-top: 2px; }
.sgb-act button, .sgb-up, .sgb-more { font: inherit; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.sgb-get, .sgb-star { flex: 1; min-height: 36px; border-radius: 10px; border: 2px solid #ff9fbd; background: #ffe3ee; color: #c43d72; font-size: 13.5px; }
.sgb-star { border-color: #ffd166; background: #fff6d8; color: #a8740a; }
.sgb-act button:disabled { opacity: .55; }
.sgb-done { font-size: 12.5px; font-weight: 800; color: #a08090; }
.sgb-lock { font-size: 11.5px; font-weight: 700; color: #a08090; line-height: 1.4; }
.sgb-stars { font-size: 15px; font-weight: 800; color: #a8740a; }
.sgb-del { min-height: 32px; padding: 0 10px; border-radius: 10px; border: 2px solid #f1d3dd; background: #fff; color: #8a6a78; font-size: 12.5px; }
.sgb-rep { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 13px; opacity: .55; cursor: pointer; }
.sgb-rep:hover { opacity: 1; }
.sgb-up { display: block; width: 100%; max-width: 420px; margin: 4px auto 10px; min-height: 48px; border-radius: 14px; border: 2px dashed #ff9fbd; background: #fff; color: #c43d72; font-size: 15px; }
.sgb-more { display: block; margin: 14px auto 4px; }
.sgb-tip { margin: 12px 0 0; text-align: center; font-size: 12px; color: #8a7480; line-height: 1.6; }
.sgb-pick { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 14px; background: rgba(90, 61, 74, .2); }
.sgb-pick-in { width: min(640px, 100%); max-height: 86vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: #fffdf8; box-shadow: 0 10px 30px rgba(90, 61, 74, .2); text-align: center; }
.sgb-pick-in > small { font-size: 12px; color: #8a7480; }
.sgb-pc { cursor: pointer; }
.sgb-pc:hover { border-color: #ff9fbd; }
@media (max-width: 480px) { .sgb-grid { grid-template-columns: repeat(2, 1fr); } }
.shx-pop .sgb-warn { display: inline-block; margin-top: 3px; font-size: 11px; color: #b06a86; }   /* 🚩 올리기 창 안내 마지막 줄 = 작게 (도련 11-29) */
