/* v4.8 self-contained UI; intentionally preserves the existing page layout. */
.fc48-nav{position:relative}.fc48-badge{display:inline-flex;background:#df4d79;color:white;border-radius:20px;min-width:19px;height:19px;align-items:center;justify-content:center;padding:0 5px;font-size:11px}
.fc48-gift-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 22px;margin:12px 0;border:1px solid #6b4aa6}
.fc48-gift-strip>span{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fc48-gift-strip small,.fc48-muted{font-size:12px;color:#aeb0c8}
.fc48-dialog{width:min(92vw,620px);max-height:85vh;overflow-y:auto}.fc48-dialog h2{margin:5px 0 12px}.fc48-dialog h3{font-size:16px;margin:18px 0 8px}
.fc48-dialog label,.fc48-profile-section>label{display:grid;gap:6px;margin:8px 0}.fc48-dialog select,.fc48-profile-section input[type=text]{width:100%;padding:10px;background:#1b1c31;border:1px solid #484663;border-radius:9px;color:white}
.fc48-actions{display:flex;gap:10px;flex-wrap:wrap}.fc48-feed{display:grid;gap:8px;margin:12px 0;max-height:44vh;overflow:auto}
.fc48-row{padding:12px;border:1px solid #3c3b54;border-radius:12px;background:#151727;display:flex;justify-content:space-between;align-items:center;gap:10px}
.fc48-row-copy{display:grid;gap:4px;min-width:0}.fc48-row strong{font-size:14px}.fc48-row span,.fc48-row small{font-size:12px;color:#b5b4cc;overflow-wrap:anywhere}
.fc48-row button{flex-shrink:0}.fc48-unread{border-color:#ae72ee;background:#242039}.fc48-warning{color:#f6c98f;background:#302519;border:1px solid #76552a;border-radius:10px;padding:10px;font-size:13px}
.fc48-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fc48-balance{padding:18px;border-radius:12px;background:#24243c;display:grid;gap:6px}.fc48-balance strong{font-size:24px}.fc48-balance small{color:#b7b7cf}
.fc48-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.fc48-gift-grid button{border:1px solid #7360a4;background:#25243d;color:white;padding:15px 4px;border-radius:14px;display:grid;justify-items:center;gap:7px;cursor:pointer}.fc48-gift-grid button:hover{border-color:#d7adff;background:#342c53}.fc48-gift-grid .emoji{font-size:36px}.fc48-gift-grid button:disabled{opacity:.45;cursor:not-allowed}
.fc48-profile-section{border-top:1px solid #41415c;margin-top:17px;padding-top:16px;display:grid;gap:9px}.fc48-profile-section h3{margin:0}.fc48-avatar-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.fc48-avatar{width:75px;height:75px;border-radius:50%;background:#24253a;object-fit:cover;display:none}.fc48-avatar:not([src]){display:none}.fc48-avatar[src]{display:block}
.fc48-avatar-row label{flex:1;min-width:140px}.fc48-avatar-row input{max-width:100%}.fc48-language-caption{font-weight:650}.fc48-langs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fc48-langs label{display:flex;gap:6px;align-items:center;font-size:13px}.fc48-langs input{accent-color:#bf86ff}
.fc48-contact-profile{display:grid;gap:10px}.fc48-contact-profile .fc48-head{display:flex;gap:12px;align-items:center}.fc48-contact-profile img{width:64px;height:64px;border-radius:50%;object-fit:cover}.fc48-contact-profile p{margin:0;color:#c6c3de}.fc48-danger{border-color:#bc455c!important;color:#ffb5bf!important}
.fc48-ring{animation:fc48-ring 1.1s ease infinite}@keyframes fc48-ring{0%,100%{box-shadow:0 0 0 0 rgba(192,122,239,.2)}50%{box-shadow:0 0 0 12px rgba(192,122,239,0)}}
.fc48-gift-burst{position:fixed;z-index:5000;top:25%;left:50%;transform:translate(-50%,-50%);font-size:80px;pointer-events:none;animation:fc48-burst 2s ease forwards;text-align:center;text-shadow:0 7px 35px #17131b}.fc48-gift-burst small{display:block;font-size:17px;color:white}@keyframes fc48-burst{0%{opacity:0;transform:translate(-50%,20px) scale(.3)}25%{opacity:1;transform:translate(-50%,-50%) scale(1.1)}85%{opacity:1}100%{opacity:0;transform:translate(-50%,-120px) scale(.9)}}
@media(max-width:750px){.fc48-gift-strip{align-items:stretch;flex-direction:column}.fc48-gift-grid{gap:6px}.fc48-nav{font-size:12px}.fc48-balances{grid-template-columns:1fr}.fc48-avatar-row{display:grid}.fc48-langs{grid-template-columns:1fr 1fr}}
