.friend-panel{max-width:880px;margin:18px auto!important;box-sizing:border-box}.friend-panel h1{font-size:clamp(23px,4vw,32px);line-height:1.4;margin:14px 0 10px}.friend-panel p{line-height:1.7}.friend-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:20px 0 8px}.friend-fields label{min-width:0;display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700}.friend-fields input,#friendURL{box-sizing:border-box;min-width:0;width:100%;max-width:100%;padding:12px 14px;font:inherit;min-height:48px;border:1px solid var(--line,#d6ded8);border-radius:12px;background:var(--card,#fff);color:var(--text,#25372e)}#friendURL{font-size:13px;margin:7px 0 12px}.friend-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.friend-actions button{min-height:44px}.friend-challenge-link{display:inline-flex;align-items:center;min-height:44px;color:inherit;font-size:14px;font-weight:600}body[data-friend] .map-pager,body[data-friend] #levelMap,body[data-friend] .boosters,body[data-friend] #nextLevel{display:none!important}body[data-friend] .wallet a,body[data-friend] .map-footer>a{display:none}body[data-friend] #map .hero{margin-bottom:12px}body[data-friend] main{max-width:960px;margin:auto}@media(max-width:480px){.friend-panel{width:calc(100% - 24px);padding:18px!important}.friend-fields{grid-template-columns:1fr;gap:14px}.friend-actions{gap:8px}.friend-actions button{flex:1;font-size:14px}.friend-panel .quiet{font-size:13px}}

body[data-friend]:has(#arena:not([hidden])) .friend-panel{display:none}

body[data-friend] #map .hero>.eyebrow,body[data-friend] #map .hero>.hero-tools,body[data-friend] #map .hero>h1,body[data-friend] #map .hero>.lead{display:none}.friend-actions>a{flex-basis:100%;font-size:13px;min-height:26px}.friend-actions button{white-space:nowrap}
