/* Approved friends design. Explicit foreground on dark surfaces prevents inherited heading colours. */
body.social-mode{background:radial-gradient(ellipse at 9% 14%,#ffdfef 0,transparent 43%),radial-gradient(ellipse at 92% 82%,#d7f8f2 0,transparent 38%),#faf7fc;color:#25132e}
.social-mode .header{background:transparent}.social-page{padding:34px 0 12px;max-width:1040px;margin:auto}.social-narrow{max-width:680px}.social-page h1{font-size:42px;line-height:1.1;letter-spacing:-.04em;color:#25132e;margin:0 0 16px}.social-page h2{color:#25132e;font-size:24px;line-height:1.25;letter-spacing:-.025em}.social-page h3{color:#25132e;font-size:17px;line-height:1.4}.social-muted{font-size:14px;line-height:1.7;color:#74627d;margin:0 0 24px}.social-paper{background:#fff;border:1px solid #e9dfef;border-radius:20px;overflow:hidden}.social-pad{padding:28px}.social-stripe{height:5px;background:linear-gradient(90deg,#fc2c8f 25%,#12c8c6 65%,#ffde55)}.social-eyebrow{font-size:10px;letter-spacing:.11em;font-weight:800;margin-bottom:14px;color:#805076}.social-avatar{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#ffc8e4,#ffebbe);display:inline-flex;align-items:center;justify-content:center;color:#45234c;flex-shrink:0}.social-avatar>.icon{width:25px;height:25px}.social-avatar.large{width:88px;height:88px;border-radius:26px;border:5px solid #fff}.social-avatar.large>.icon{width:42px;height:42px}
.social-page .btn,.social-profile-link .btn,.social-share-actions .btn{border-radius:10px;min-height:46px}.social-page .btn.primary{background:#25132e;color:#fff}.social-page .btn.secondary{background:#f5eef9;color:#513262;border:0}.social-profile-cover{height:87px;background:radial-gradient(circle at 14% 50%,#ffb6d9,transparent 48%),linear-gradient(100deg,#ffe6f2,#efe9ff 57%,#c9f6ee);position:relative}.social-profile-cover>span{position:absolute;right:24px;top:24px;font-size:10px;font-weight:800;letter-spacing:.07em;color:#654972}.social-profile-info{padding:0 30px 28px}.social-profile-top{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:-39px;position:relative}.social-profile-actions{display:flex;gap:9px;padding-top:46px;flex-wrap:wrap}.social-profile-info h1{margin:19px 0 5px;overflow-wrap:anywhere}.social-handle{font-size:13px;color:#805e8b}.social-bio{color:#64516e;font-size:14px;line-height:1.7;margin-top:16px;overflow-wrap:anywhere}.social-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.social-tags span{padding:6px 9px;background:#f8f1fa;color:#70507e;font-size:11px;border-radius:5px}.social-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:23px 30px;border-top:1px solid #eee6f1;background:#fdfbfe}.social-profile-stats strong{display:block;font-size:29px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.social-profile-stats span{display:block;font-size:12px;color:#806b8a;margin-top:4px}.social-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin-top:22px;align-items:start}.social-result-row{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:20px 0;border-bottom:1px solid #eee7f1}.social-result-row:last-child{border-bottom:0;padding-bottom:0}.social-result-row>div{min-width:0}.social-result-row strong{font-size:15px;overflow-wrap:anywhere}.social-result-row small{display:block;font-size:12px;color:#8a748f;margin-top:6px}.social-result-row .text-btn{font-size:12px}.social-points{font-size:28px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;color:#25132e;letter-spacing:-.025em}.social-points>small{display:inline;font-size:12px!important;letter-spacing:normal!important;font-weight:600;color:#826c8b!important;margin:0 0 0 3px!important}
.social-rival-panel{background:#2b1635;border-color:#2b1635;color:#fff}.social-rival-panel h2,.social-rival-panel h3{color:#fff!important}.social-rival-panel h2{font-size:29px;margin:15px 0;line-height:1.2}.social-rival-panel>p{color:#d9c4e2;line-height:1.7;font-size:14px}.social-rival-panel>.social-eyebrow{color:#f6b4dd;font-size:10px}.social-rival-panel .btn.primary{background:#ffd957;color:#28152f;width:100%;margin-top:24px}.social-safety{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.social-safety .btn{font-size:12px;min-height:44px}.social-tabs{display:flex;gap:25px;border-bottom:1px solid #e5dbe9;margin:24px 0}.social-tabs a{display:inline-flex;align-items:center;min-height:48px;font-size:14px;padding:12px 0;color:#7a6283;border-bottom:3px solid transparent}.social-tabs .active{color:#25132e;border-bottom-color:#fc2c8f;font-weight:750}.social-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 17px}.social-section-title>span{font-size:13px;color:#7e6887}.social-standings{width:100%;border-collapse:collapse;font-size:14px}.social-standings th{font-size:10px;letter-spacing:.07em;text-transform:uppercase;text-align:left;color:#806a89;padding:13px 20px;border-bottom:1px solid #eee7f1}.social-standings td{padding:18px 20px;border-bottom:1px solid #eee7f1}.social-standings td:first-child{width:60px;color:#8a7394}.social-standings td:last-child,.social-standings th:last-child{text-align:right;font-variant-numeric:tabular-nums}.social-standings td:last-child{font-size:23px;font-weight:800;color:#25132e}.social-standings .social-you{background:#fff0f8}.social-player{display:flex;gap:13px;align-items:center}.social-player>div{min-width:0}.social-player .social-avatar{width:40px;height:40px;border-radius:12px}.social-player .social-avatar>.icon{width:20px;height:20px}.social-player small{display:block;font-size:11px;color:#927c9b;margin-top:4px;overflow-wrap:anywhere}.social-player-name{font-weight:700;color:#40204e;overflow-wrap:anywhere}.social-rules{padding:18px 20px;background:#fcfafe;font-size:12px;line-height:1.7;color:#74647d}.social-find{margin:28px 0}.social-find>label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}.social-find>div{display:flex;gap:12px}.social-find input{min-width:0;flex:1;border:1px solid #b9a9c3;border-radius:10px;padding:12px 15px;font-size:16px}.social-invite{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:28px}.social-invite p{font-size:13px;line-height:1.6;color:#7c6686;margin-top:6px}
.social-home-rival{display:flex;gap:17px;align-items:center;padding:23px 26px;background:#fff;border:1px solid #eee4f2;border-radius:18px;margin-top:24px;flex-wrap:wrap}.social-home-rival>div{flex:1;min-width:180px}.social-home-rival h3{font-size:16px;line-height:1.4;color:#30193b}.social-home-rival p{font-size:13px;color:#806a8a;margin-top:5px;line-height:1.6}.social-home-rival .btn{border-radius:10px;font-size:13px}.social-home-rival>.text-btn{font-size:12px}.social-profile-link{padding:23px;background:#f7f0fa;border-radius:16px;display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:24px}.social-profile-link>div{flex:1;min-width:180px}.social-profile-link h3{font-size:18px;color:#301b3b;margin-bottom:7px}.social-profile-link p{font-size:13px;color:#7b6485;line-height:1.6}.social-result-link{margin:15px 0}.social-duel{text-align:center}.social-duel-intro{padding:33px 29px}.social-duel-intro .social-eyebrow{margin-top:20px}.social-duel-intro h1{font-size:36px}.social-duel-intro .social-muted{margin-bottom:0}.social-match{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px;padding:28px;background:#fff1f8;border-block:1px solid #efdfeb}.social-match p{font-size:14px;margin-bottom:9px;overflow-wrap:anywhere}.social-match>.social-points{font-size:42px}.social-match>span{align-self:center;font-size:11px;font-weight:800;color:#a0779b}.social-unknown{font-size:43px}.social-duel-bottom{padding:28px}.social-duel-bottom>.social-muted{margin:16px 0 8px}.social-duel-bottom>.text-btn{justify-content:center;display:flex}.social-duel-bottom>.btn.secondary{margin-top:15px}.social-settings h2{margin-bottom:26px}.social-settings textarea,#social-report-form textarea,#social-report-form select{width:100%;border:1px solid #ac9ab8;border-radius:10px;padding:12px;font-size:16px;font-family:inherit}.social-choice{display:flex;justify-content:space-between;gap:23px;align-items:flex-start;padding:22px 0;border-bottom:1px solid #eee6f1}.social-choice>span{min-width:0}.social-choice strong{font-size:15px;display:block;margin-bottom:7px}.social-choice>span>span{display:block;font-size:13px;line-height:1.7;color:#796482}.social-choice input{width:22px;height:22px;flex-shrink:0;margin:3px 0 0;accent-color:#622b70}.social-privacy-note{font-size:12px;line-height:1.8;padding:16px;border-radius:10px;background:#f6f0fa;color:#755180;margin:22px 0}.social-settings-links{display:flex;flex-wrap:wrap;gap:15px;margin-top:22px;align-items:center}.social-list-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid #eee6f1}.social-list-row small{display:block;color:#816b8b}.social-share-image{display:block;width:100%;max-width:330px;height:auto;margin:22px auto;border-radius:14px}.social-share-actions{display:flex;gap:9px;flex-wrap:wrap}.social-share-actions .btn{flex:1;font-size:12px;min-width:115px}
@media(max-width:700px){.social-page{padding:24px 0 8px}.social-page h1{font-size:34px}.social-profile-info{padding:0 23px 23px}.social-profile-top{flex-wrap:wrap}.social-profile-actions{padding-top:0;justify-content:flex-end;flex-basis:100%}.social-profile-actions .btn{font-size:12px;padding:12px 15px}.social-profile-stats{padding:21px 23px;gap:12px}.social-profile-stats strong{font-size:25px}.social-profile-stats span{font-size:11px}.social-columns{grid-template-columns:1fr;gap:18px}.social-pad{padding:23px}.social-rival-panel h2{font-size:27px}.social-section-title h2{font-size:23px}.social-standings th,.social-standings td{padding-left:12px;padding-right:12px}.social-standings td:first-child{width:35px}.social-standings td:last-child{font-size:20px}.social-player{gap:9px}.social-player .social-avatar{width:35px;height:35px}.social-find>div{flex-wrap:wrap}.social-find input{flex-basis:190px}.social-invite{align-items:flex-start;flex-direction:column}.social-home-rival{padding:19px;gap:13px}.social-home-rival>.btn{margin-left:61px}.social-home-rival>.text-btn{margin-left:61px}.social-duel-intro{padding:27px 22px}.social-duel-intro h1{font-size:31px}.social-match{padding:23px 16px;gap:12px}.social-duel-bottom{padding:23px}.social-points{font-size:25px}.social-settings{padding:23px}.social-page .social-muted{font-size:13px}.social-result-row .text-btn{font-size:11px}.social-result-row{gap:10px}}
@media(max-width:359px){.social-profile-stats{gap:8px;padding:19px}.social-profile-stats strong{font-size:23px}.social-profile-stats span{font-size:10px}.social-standings th,.social-standings td{padding-left:9px;padding-right:9px}.social-standings td:last-child{font-size:18px}.social-player .social-avatar{display:none}.social-home-rival>.btn,.social-home-rival>.text-btn{margin-left:0}.social-profile-actions .btn{padding:11px;font-size:11px}}

/* Guest account actions: visible spacing, equal targets, comfortable phone stacking. */
.social-auth-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:14px;margin-top:24px}.social-auth-actions>.btn{min-height:48px;margin:0}
@media(max-width:480px){.social-auth-actions{flex-direction:column;gap:12px;align-items:stretch}.social-auth-actions>.btn{width:100%;justify-content:center}}

/* Friends guide and invitations: visible before sign-in, with explicit sharing choices. */
.social-friends-guide{margin:30px 0;padding:26px;background:#fff;border:1px solid #e9dfef;border-radius:20px;color:#25132e}.social-friends-guide .social-eyebrow{margin-bottom:8px}.social-friends-guide h2{font-size:24px;color:#25132e}.social-friends-guide ol{list-style:none;counter-reset:friends-step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:0;margin:24px 0}.social-friends-guide li{counter-increment:friends-step;min-width:0}.social-friends-guide li:before{content:counter(friends-step,decimal-leading-zero);display:block;font-size:12px;font-weight:800;color:#a31766;margin-bottom:8px}.social-friends-guide li strong{display:block;font-size:15px;margin-bottom:8px}.social-friends-guide li span{display:block;font-size:13px;line-height:1.65;color:#65516e}.social-invite-panel{padding:26px;border:1px solid #edd9e6;border-radius:20px;background:linear-gradient(120deg,#fff0f7,#f4f0ff);color:#25132e;margin:28px 0}.social-invite-panel h2{color:#25132e;font-size:26px;line-height:1.25;letter-spacing:-.025em;margin:0 0 12px}.social-invite-panel>p{font-size:14px;line-height:1.65;color:#5c4766;margin:0 0 18px}.social-invite-panel>.social-eyebrow{font-size:10px;font-weight:800;letter-spacing:.11em;color:#8e2466;margin-bottom:8px}.social-invite-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.social-invite-actions .btn{min-height:48px;border-radius:10px;font-size:13px;padding:12px 18px;justify-content:center}.social-invite-actions .invite-whatsapp{background:#146b48;color:#fff}.social-invite-actions .invite-email{background:#25132e;color:#fff}.social-invite-actions .btn.secondary{background:#fff;color:#513262;border:1px solid #d4c4df}.social-invite-panel>.social-invite-note{font-size:12px;line-height:1.7;margin-bottom:10px;overflow-wrap:anywhere}.social-invite-panel>small{display:block;font-size:11px;line-height:1.7;color:#65516e;margin-top:12px}.social-guide-disclosure{margin:22px 0}.social-guide-disclosure>summary{padding:12px 0;cursor:pointer;font-size:14px;font-weight:750;color:#513262;min-height:44px}.social-guide-disclosure .social-friends-guide{margin:8px 0}.social-guide-link{margin:20px 0}.social-invite-actions .btn:focus-visible,.social-guide-disclosure>summary:focus-visible{outline:3px solid #8d2372;outline-offset:3px}
@media(max-width:700px){.social-friends-guide,.social-invite-panel{padding:22px}.social-friends-guide ol{grid-template-columns:1fr;gap:20px}.social-friends-guide li:before{float:left;margin:2px 12px 0 0}.social-friends-guide li span{margin-left:29px}.social-invite-panel h2{font-size:24px}.social-invite-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.social-invite-actions .btn{padding:12px 10px;white-space:normal}.social-invite-actions .btn:last-child:nth-child(odd){grid-column:1/-1}}
