/* Stitch reference: community screen 35bc362868e741a386d51f833aabb5a3. */
.social-page{--social-surface:#121212;--social-border:#303030;--social-muted:#aaa;max-width:1180px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;padding-top:42px;padding-bottom:64px;color:#f4f4f0}
.social-page [hidden],.social-admin [hidden]{display:none!important}
.social-page>*{min-width:0;grid-column:1}.social-page>.social-heading,.social-page>#social-error,.social-page>#social-public-contributions{grid-column:1/-1}
.social-page .social-heading{padding:0 0 12px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap}
.social-page .social-heading h1{font-size:clamp(30px,3.5vw,44px);font-weight:500;line-height:1.2;letter-spacing:-.035em;margin:8px 0 12px;overflow-wrap:anywhere}
.social-eyebrow{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#aaa;margin:0;display:flex;align-items:center;gap:10px}
.social-eyebrow:before{content:"";width:20px;height:1px;background:#aaa;box-shadow:0 4px #444;flex-shrink:0}
.social-page .social-heading p{max-width:64ch}
.social-section-nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px;border:1px solid #333;padding:4px;border-radius:6px;background:#111}
.social-section-nav a{padding:10px 12px;min-height:44px;display:flex;align-items:center;font-size:.78rem;color:#bbb;border-radius:3px}
.social-section-nav a:hover{background:#242424;color:#fff}
.social-panel{min-width:0;border:1px solid #333;border-radius:8px;padding:24px;background:#121212}
.social-page .social-panel{margin:0;scroll-margin-top:24px;background:linear-gradient(145deg,#161616,#101010 72%);border-color:#343434;box-shadow:inset 0 1px 0 #ffffff08,0 12px 32px #00000018}
.social-panel p{max-width:78ch;line-height:1.65}
.social-page .social-allocation{grid-column:1;display:block;gap:0;margin:0;padding:24px}
.social-page .social-sidebar{grid-column:2;grid-row:2/span 4;display:flex;flex-direction:column;gap:24px;min-width:0;align-self:stretch}
.social-page .social-sidebar>.social-panel{width:100%}
.social-page .social-leaderboard{align-self:start;position:sticky;top:24px}
.social-section-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-bottom:16px;border-bottom:1px solid #2b2b2b}
.social-section-heading h2{font-size:1rem;font-weight:500;line-height:1.4;letter-spacing:0;margin:0}
.social-page .social-section-heading h2{display:flex;align-items:center;gap:10px}
.social-page .social-section-heading h2:before{content:"";width:6px;height:6px;flex-shrink:0;border:1px solid #bbb;box-shadow:3px 3px 0 -1px #151515,3px 3px 0 #555}
.social-section-heading>div{min-width:0}
.social-section-heading p{font-size:.78rem;color:#aaa;margin:5px 0 0}
.social-status{padding:5px 9px;border:1px solid #414141;border-radius:4px;font-size:.7rem;color:#ccc;max-width:100%;overflow-wrap:anywhere;background:#ffffff03}
.social-page .social-allocation{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,#24242488,transparent 68%),linear-gradient(145deg,#171717,#101010 70%)}
.social-allocation>.social-orbital-art{position:absolute;inset:0 0 auto auto;width:min(95%,600px);height:310px;color:#fff;opacity:.075;pointer-events:none;z-index:-1}
.social-page .social-allocation:after,.social-page .social-profile:after{content:"";position:absolute;right:12px;bottom:12px;width:10px;height:10px;border-right:1px solid #888;border-bottom:1px solid #888;opacity:.6;pointer-events:none}
.social-page .social-profile{position:relative;background:radial-gradient(ellipse at 0% 0%,#24242477,transparent 62%),linear-gradient(145deg,#161616,#101010)}
.social-page .community-allocation-number{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;margin:24px 0 14px;max-width:none;color:#f4f4f0}
.community-allocation-number strong{font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.1;letter-spacing:-.04em;font-weight:500;font-variant-numeric:tabular-nums}
.community-allocation-number>span{font-size:1rem;color:#bcbcbc}
.social-page .social-allocation h3{font-size:.92rem;font-weight:500;letter-spacing:0;line-height:1.6;margin:0 0 4px}
.social-page .social-allocation>p:not(.community-allocation-number){font-size:.82rem;color:#aaa;margin:0}
.social-page .social-note{font-size:.76rem;color:#aaa;line-height:1.75}
.community-allocation-figure{margin:24px 0}
.community-allocation-bar{height:12px;border:1px solid #555;border-radius:2px;background:#2b2b2b;overflow:hidden;padding:1px}
.community-allocation-bar>span{display:block;width:80.17%;height:100%;background:repeating-linear-gradient(90deg,#e9e9e5 0 15px,#bcbcbc 15px 16px)}
.community-allocation-figure figcaption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:12px;font-size:.72rem;color:#aaa}
.community-allocation-figure figcaption>span{display:grid;gap:5px}
.community-allocation-figure figcaption>span:last-child{text-align:right}
.community-allocation-figure figcaption strong{font-weight:400;color:#d2d2d2}
.social-allocation-notes{border-top:1px solid #2b2b2b;padding-top:12px}
.social-allocation-notes p{margin:0 0 9px}
.social-page .text-link{font-size:.78rem;line-height:1.6}
.social-profile-intro{display:flex;align-items:flex-start;gap:12px;margin-top:20px}
.social-profile-intro>div{min-width:0}
.social-wallet-glyph{width:40px;height:40px;border:1px solid #3b3b3b;background:#1a1a1a;border-radius:5px;display:grid;place-items:center;flex-shrink:0;color:#d0d0d0}
.social-wallet-glyph svg{width:22px;height:22px}
.social-profile-intro h3{margin:0 0 5px;font-size:.9rem;font-weight:500;line-height:1.5}
.social-profile-intro p{font-size:.78rem;color:#aaa;margin:0;overflow-wrap:anywhere}
.social-page .social-profile-action{width:100%;justify-content:center;margin-top:18px;min-height:44px;border-radius:4px;font-size:.82rem}
.social-page .social-login-note{text-align:center;margin:8px 0 0;font-size:.72rem}
.community-profile-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #2d2d2d;background:#0c0c0c;margin:20px 0 0;border-radius:4px;overflow:hidden}
.community-profile-metrics>div{display:grid;align-content:start;gap:9px;min-width:0;padding:14px}
.community-profile-metrics>div:nth-child(odd){border-right:1px solid #2d2d2d}
.community-profile-metrics>div:nth-child(-n+2){border-bottom:1px solid #2d2d2d}
.community-profile-metrics span{font-size:.7rem;color:#aaa;line-height:1.5}
.community-profile-metrics strong{font-size:1.35rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.community-profile-metrics>div:last-child strong{font-size:.8rem}
.social-profile-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}
.social-profile-controls label{font-size:.78rem;line-height:1.6}
.social-profile-controls a,#social-binding-details{font-size:.76rem;overflow-wrap:anywhere}
.social-profile-controls .button{min-height:44px;font-size:.76rem}
.social-notice{border-left:2px solid #eee;padding-left:12px;font-size:.8rem}
#community-task-list{display:grid;gap:12px;margin:20px 0}
.community-task{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;min-width:0;border:1px solid #303030;border-radius:6px;background:linear-gradient(115deg,#191919,#111);transition:border-color .18s ease,background-color .18s ease}
.community-task:focus-within,.community-task:hover{border-color:#565656}
.community-task-details{display:flex;gap:14px;align-items:flex-start;min-width:0}
.community-task-index{font:12px/1.2 monospace;width:36px;height:36px;display:grid;place-items:center;border:1px solid #3b3b3b;background:#1b1b1b;flex-shrink:0;border-radius:4px;color:#ddd}
.community-task-copy{min-width:0}
.community-task h3{margin:0 0 5px;font-size:.95rem;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.community-task p{font-size:.8rem;color:#aaa;margin:0}
.community-task .community-task-reward{display:inline-block;font-size:.72rem;font-weight:500;color:#eee;border:1px solid #404040;background:#1c1c1c;border-radius:4px;padding:5px 8px;margin-top:12px}
.community-task .button{flex-shrink:0;min-height:44px;font-size:.78rem;border-radius:4px;justify-content:center}
.social-task-outline{padding:0;margin:18px 0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.social-task-outline li{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #333;border-radius:4px;min-width:0;font-size:.76rem;background:#ffffff02}
.social-task-outline span{font-family:monospace;color:#999}
.social-task-outline strong{font-weight:400;line-height:1.6}
.social-verification{margin-top:20px}
.social-verification>h3{font-size:1rem;font-weight:500}
.social-verification-steps{padding:0;list-style:none;counter-reset:verification;display:grid;grid-template-columns:1fr;gap:14px;margin:18px 0}
.social-verification-steps>li{min-width:0;counter-increment:verification;padding:18px;background:#0c0c0c;border:1px solid #3b3b3b;border-radius:5px}
.social-verification-steps h4{font-size:.82rem;font-weight:500;line-height:1.6;margin:0 0 14px}
.social-verification-steps h4:before{content:counter(verification)" · ";color:#aaa}
.social-verification-steps p{font-size:.8rem;color:#bbb}
.social-code{font-family:monospace;font-size:.78rem;overflow-wrap:anywhere;border:1px solid #444;padding:12px;border-radius:3px;color:#ddd!important}
.social-page label,.social-admin label{display:block;margin:12px 0 6px}
.social-page input[type=url],.social-page textarea,.social-page select,.social-admin input,.social-admin textarea,.social-admin select{max-width:100%;width:100%;min-width:0;box-sizing:border-box;padding:11px;border:1px solid #555;border-radius:4px;background:#171717;color:#eee;font:inherit;font-size:.82rem}
.social-page textarea,.social-admin textarea{resize:vertical}
.social-page .social-verification .button{font-size:.78rem;min-height:44px;justify-content:center;border-radius:4px;margin-top:8px}
.social-table-scroll{min-width:0;width:100%;overflow:auto;margin:18px 0 0}
.community-table{width:100%;border-collapse:collapse;table-layout:fixed}
.community-table th,.community-table td{text-align:left;padding:14px 10px;border-bottom:1px solid #333;font-size:.78rem;overflow-wrap:anywhere;vertical-align:middle}
.community-table th{font-weight:400;font-size:.7rem;color:#aaa}
.community-table th:first-child{width:12%}
.community-table th:nth-child(2){width:46%}
.community-table th:nth-child(3){width:18%}
.community-table th:last-child,.community-table td:last-child{text-align:right}
.community-leading-rank{font-weight:600}
.community-table th{background:#ffffff03}
.community-table tbody tr:first-child{background:#ffffff04}
.social-page .social-leaderboard #social-refresh{min-height:44px;padding:8px 12px;border-radius:4px;font-size:.74rem}
.social-masked-wallet{font-family:monospace;line-height:1.7;overflow-wrap:anywhere}.social-invite-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.social-invite-metrics>div{display:grid;gap:8px;min-width:0}.social-invite-metrics span{font-size:.75rem;color:#aaa}.social-invite-metrics strong{font-size:1.4rem;font-weight:500}.social-invite-link-controls{margin-top:16px}.social-invite-link-controls input{overflow:hidden;text-overflow:ellipsis}.social-invite-link-controls button{margin-top:12px}.social-task-progress{display:block;margin-top:10px;font-size:.75rem;color:#bbb}
.social-empty{display:flex;align-items:center;text-align:center;flex-direction:column;justify-content:center;gap:10px;padding:36px 18px;background:#0c0c0c;border-bottom:1px solid #333}
.social-empty-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid #333;color:#888;border-radius:4px}
.social-empty h3{font-size:.9rem;font-weight:400;margin:3px 0 0;line-height:1.5}
.social-empty p{font-size:.78rem;color:#aaa;margin:0}
.social-empty .text-link{margin-top:6px}
.community-activity{padding:0;list-style:none;margin:18px 0}
.community-activity li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #333;padding:14px 0;font-size:.78rem;min-width:0}
.community-activity li>div{min-width:0}
.community-activity strong{font-weight:500;overflow-wrap:anywhere}
.community-activity time{display:block;margin-top:6px;color:#aaa;font-size:.72rem}
.community-activity li>strong{flex-shrink:0;text-align:right;max-width:45%;line-height:1.6}
.social-activity-empty{padding:16px;background:#0c0c0c;border:1px solid #2b2b2b;border-radius:4px;font-size:.8rem;color:#aaa;margin:18px 0 0}
.social-error{padding:14px 16px;border:1px solid #777;border-radius:4px;overflow-wrap:anywhere;font-size:.85rem}
.social-page .button{max-width:100%;white-space:normal;min-height:44px;border-radius:5px;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
.social-page .button-ghost{background:#ffffff03;border-color:#4a4a4a}
.social-page .button-ghost:hover:enabled{background:#ffffff0b;border-color:#aaa}
.social-page .button-light{box-shadow:0 1px 8px #ffffff08}
.social-page .button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}
.social-page a:focus-visible,.social-page button:focus-visible,.social-page input:focus-visible,.social-page textarea:focus-visible,.social-page select:focus-visible{outline:2px solid #fff;outline-offset:3px}
.social-admin{max-width:1300px;padding-bottom:60px}
.social-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.social-admin .social-panel{margin:0}
.social-admin>header{padding-bottom:30px}
.social-admin pre{max-height:340px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem}
.social-admin-review{padding:16px 0;border-top:1px solid #555;overflow-wrap:anywhere}
.social-admin-review button{margin:4px}
#social-public-wallet{overflow-wrap:anywhere}
.social-admin .button{max-width:100%;white-space:normal;text-align:left}
.social-admin h1{font-size:clamp(1.9rem,4vw,3.5rem);line-height:1.2;overflow-wrap:anywhere}
.social-admin label,.social-admin input,.social-admin textarea,.social-admin select{min-width:0}
.social-admin p{overflow-wrap:anywhere}
.social-admin .social-section-heading>p{max-width:100%;min-width:0}
@media(max-width:960px){.social-page{grid-template-columns:minmax(0,1fr)}.social-page .social-allocation,.social-page .social-sidebar{grid-column:1;grid-row:auto}.social-page .social-leaderboard{position:static}.social-page .social-heading{align-items:flex-start}.social-verification-steps{grid-template-columns:1fr}.social-admin-grid{grid-template-columns:1fr}}
@media(max-width:600px){.social-page{gap:16px;padding-top:28px;padding-bottom:40px}.social-page .social-heading{gap:20px;padding-bottom:4px}.social-page .social-heading h1{font-size:32px}.social-page .social-heading p{font-size:.82rem;max-width:none}.social-section-nav{width:100%}.social-section-nav a{flex:1;justify-content:center;padding:9px 5px;font-size:.7rem}.social-panel,.social-page .social-allocation{padding:18px}.social-section-heading{gap:10px}.social-section-heading h2{font-size:.9rem}.social-status{font-size:.65rem;padding:4px 7px}.community-allocation-number strong{font-size:clamp(2rem,8.8vw,2.7rem)}.social-page .community-allocation-number{margin-top:22px}.social-page .social-allocation h3{font-size:.85rem}.community-allocation-figure figcaption{font-size:.7rem}.community-allocation-figure figcaption>span{max-width:48%}.community-task{flex-direction:column;align-items:stretch;gap:16px}.community-task .button{width:100%}.community-task-details{gap:10px}.social-task-outline{grid-template-columns:1fr;gap:8px;margin:16px 0}.social-task-outline li{padding:12px}.social-verification-steps>li{padding:16px}.community-table th,.community-table td{padding:12px 5px;font-size:.72rem}.community-table th{font-size:.65rem}.social-invite-metrics{gap:8px}.social-invite-metrics span{font-size:.68rem}.social-empty{padding:28px 12px}.social-empty h3{font-size:.82rem}.social-admin{padding-inline:16px}.community-profile-metrics>div{padding:12px}}
@media(max-width:600px){.social-page .social-sidebar{gap:16px}.community-task{padding:16px}.social-allocation>.social-orbital-art{height:260px;opacity:.06}.social-page .social-leaderboard .social-section-heading{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.social-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(min-width:961px){.social-page .social-leaderboard .social-table-scroll{max-height:min(52vh,520px);overflow-y:auto}}
/* GitHub task rows retain the existing reading grid and right-side leaderboard. */
.social-github{margin-top:2rem;padding-top:1.6rem;border-top:1px solid var(--border,#303030);min-width:0}
.social-github-glyph{width:20px;height:20px;vertical-align:middle;margin-right:.5rem}
.social-github-identity{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:1.3rem 0 1rem;padding:16px;border:1px solid #363636;border-radius:6px;background:#0e0e0e}
.social-github-identity>div{min-width:0;overflow-wrap:anywhere}
.social-github-identity h3,.social-github-identity p{margin:0}
.social-github-identity p{font-size:.86rem;color:var(--muted,#a4a4a4);margin-top:.35rem}
.social-github-avatar{border-radius:50%;flex-shrink:0;object-fit:cover}
.social-github-reward{font-size:.8rem;white-space:nowrap;font-variant-numeric:tabular-nums}
.social-github-identity>.social-github-reward{margin-left:auto}
.social-github-task{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem 1rem;padding:18px;border:1px solid #303030;border-radius:6px;background:linear-gradient(115deg,#181818,#111);align-items:start}
#social-github-stars{display:grid;gap:12px;margin-top:16px}
.social-github-task-copy{min-width:0}.social-github-task h4,.social-github-task p{margin:0;overflow-wrap:anywhere}
.social-github-task p{font-size:.82rem;line-height:1.5;margin-top:.35rem;color:var(--muted,#a4a4a4)}
.social-github-task p.social-github-task-note{color:var(--text,#efefef);margin-top:.6rem}
.social-github-paused{font-size:.8rem;color:var(--muted,#a4a4a4);white-space:nowrap}
.social-github-policy-status{padding:.75rem 0;border-top:1px solid var(--border,#303030)}
.social-github-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.social-github-actions .button{min-height:44px;padding:.6rem .85rem;font-size:.78rem;justify-content:center}
.social-github-check-state{font-size:.8rem;white-space:nowrap;color:var(--text,#efefef)}
.social-github-completed{font-size:.8rem;color:#f4f4f0;white-space:nowrap}
.social-github-stars-heading{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;justify-content:space-between;margin-top:1.6rem}
.social-github-stars-heading h4{margin:0;font-size:1rem}
@media(min-width:1280px){.social-github-task{grid-template-columns:minmax(0,1fr) auto;align-items:start}.social-github-actions{grid-column:1/-1}}
@media(max-width:600px){.social-github-task{grid-template-columns:minmax(0,1fr);padding:16px;gap:12px}.social-github-actions{justify-content:stretch}.social-github-actions .button{flex:1 1 110px}.social-github-check-state,.social-github-reward,.social-github-completed,.social-github-paused{white-space:normal;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.social-github *{scroll-behavior:auto}}
