/* Korea Store BY — invitations, site-only stage 30 */
.ksa-referrals{margin:28px 0;padding:28px;border:1px solid #dfd4cb;border-radius:14px;background:#fffaf6;color:#29221f}
.ksa-referrals[hidden],.ksa-referral-welcome[hidden]{display:none!important}
.ksa-referrals-heading{display:flex;justify-content:space-between;align-items:center;gap:24px}
.ksa-referrals-heading h2{margin:5px 0 8px;font-size:clamp(26px,3vw,36px);line-height:1.15}
.ksa-referrals-heading p,.ksa-referrals-terms p{max-width:660px;font-size:16px;line-height:1.6;color:#675d58;margin:6px 0}
.ksa-referrals-counter{padding:18px 24px;background:#f4e8dd;border-radius:10px;text-align:center;min-width:170px}
.ksa-referrals-counter strong{display:block;font-size:32px;line-height:1.1}
.ksa-referrals-counter span{display:block;margin-top:7px;font-size:14px;color:#554941}
.ksa-referrals-share{margin-top:22px;padding:19px 20px;border:1px solid #e5d7c9;background:#fff;border-radius:11px}
.ksa-referrals-share label{display:block;margin-bottom:10px;font-size:16px;font-weight:700}
.ksa-referrals-link{display:flex;gap:10px;align-items:stretch}
.ksa-referrals-link input{flex:1;min-width:0;border:1px solid #c9b6a6;border-radius:7px;padding:12px 14px;color:#352921;background:#fff;font-size:16px;height:50px}
.ksa-referrals-link button{border:0;border-radius:7px;cursor:pointer;background:#3c3029;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1.2;padding:12px 19px;min-height:50px}
.ksa-referrals-link button:last-child{background:#e6d6c9;color:#332820}
.ksa-referrals-link button:hover{filter:brightness(.94)}
.ksa-referrals-share [data-referral-feedback]{margin:8px 0 0;min-height:1.25em;font-size:14px;color:#65554c}
.ksa-referrals-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-top:20px}
.ksa-referrals-bottom>div{padding:18px;border:1px solid #e5d8ce;border-radius:10px;background:#fff}
.ksa-referrals-bottom h3{font-size:20px;margin:0 0 14px}
.ksa-referrals-list{display:grid;gap:9px}
.ksa-referrals-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;border-radius:6px;background:#f5ece5;padding:13px 15px;font-size:15px}
.ksa-referrals-row span{color:#67544b;font-size:14px}
.ksa-referrals-empty{font-size:15px;color:#6a5c53;line-height:1.5}
.ksa-referral-welcome{padding:13px 17px;border:1px solid #d2bda9;border-radius:8px;background:#fff6ec;font-size:15px;color:#524337;line-height:1.5}
@media(max-width:760px){.ksa-referrals{padding:20px 15px;margin:20px 0}.ksa-referrals-heading{align-items:stretch;flex-direction:column;gap:14px}.ksa-referrals-counter{text-align:left}.ksa-referrals-bottom{grid-template-columns:1fr}.ksa-referrals-link{flex-wrap:wrap}.ksa-referrals-link input{flex-basis:100%;font-size:16px}.ksa-referrals-link button{flex:1}.ksa-referrals-share{padding:15px}}
