/* Social: a meeting place for the crew, using the game's original artwork. */
#game-modal[data-menu-type="social"]{width:min(1120px,calc(100vw - 28px));max-width:1120px;max-height:calc(100dvh - 24px);border:1px solid #627966;border-radius:13px;background:#0c202b;color:#dddccf}
#game-modal[data-menu-type="social"]>header{background:#19313b;border-bottom:1px solid #43616b;padding:16px 21px}
#game-modal[data-menu-type="social"] #modal-body{padding:23px}
.social-dashboard{font:12px/1.65 'DM Sans',sans-serif;color:#b1c7cc}
.social-dashboard *{box-sizing:border-box;min-width:0}
.social-dashboard [hidden]{display:none!important}
.social-dashboard .pirate-icon{object-fit:contain;flex:none}
.social-dashboard :is(h2,h3,h4){font-family:'Barlow Condensed',sans-serif;color:#edd6a6;line-height:1.2;margin:0 0 10px;overflow-wrap:anywhere}
.social-dashboard h2{font-size:33px}.social-dashboard h3{font-size:26px}.social-dashboard h4{font-size:23px}
.social-dashboard p{font-size:12px;line-height:1.7;color:#aec7cf;margin:10px 0 15px}
.social-dashboard small{font-size:10px;line-height:1.6;color:#a5bfc9}
.social-dashboard .menu-button{border:1px solid #4f6c76;border-radius:7px;min-height:40px;padding:9px 13px;font:600 12px/1.35 'DM Sans',sans-serif;background:#19323e;color:#dbdfce;white-space:normal;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
.social-dashboard .menu-button.primary{background:linear-gradient(145deg,#f4d48b,#dca659);border-color:#f4d189;color:#29322d}
.social-dashboard .menu-button:hover:not(:disabled){border-color:#dbba79;filter:brightness(1.08)}
.social-dashboard :is(button,input,select,summary):focus-visible{outline:2px solid #f1cf8b;outline-offset:3px}
.social-dashboard .menu-button:disabled{opacity:.45;cursor:not-allowed}
.social-dashboard .menu-button>.pirate-icon{width:25px;height:25px}
.social-dashboard .menu-search{width:100%;margin:0;border:1px solid #4b6576;border-radius:7px;background:#081d27;color:#e2e5d4;padding:11px;min-height:42px;font:12px 'DM Sans',sans-serif}
.social-dashboard input[type=checkbox]{width:17px;height:17px;flex:none;accent-color:#d5b06d}
.social-dashboard progress{width:100%;height:6px;appearance:none;border:0;border-radius:5px;background:#081d26;overflow:hidden;display:block}
.social-dashboard progress::-webkit-progress-bar{background:#081d26}
.social-dashboard progress::-webkit-progress-value{background:linear-gradient(90deg,#619687,#c6b377)}
.social-hero{display:flex;align-items:center;gap:21px;padding:23px;border:1px solid #76815a;border-radius:11px;background:radial-gradient(ellipse at top left,#d3b96b10,transparent 55%),linear-gradient(120deg,#2a4238,#152e3b)}
.social-hero>.pirate-icon{width:76px;height:76px}
.social-hero>div{flex:1}
.social-hero small{display:block;color:#d4b779;letter-spacing:1.6px;font-size:9px;margin-bottom:10px}
.social-hero h2{font-size:35px;margin:0 0 9px}
.social-hero p{margin:0}
.social-overview{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:10px;margin:14px 0 19px}
.social-overview>div{border:1px solid #3e5c69;border-radius:8px;background:#14303a;padding:12px 15px}
.social-overview small{display:block;font-size:9px;color:#a3bdc6}
.social-overview strong{display:block;font:700 25px/1.3 'Barlow Condensed',sans-serif;color:#ead39f;margin-top:5px;overflow-wrap:anywhere}
.social-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.social-tabs>button{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #46616d;border-radius:8px;background:#15303b;color:#c9d8ce;text-align:left;cursor:pointer}
.social-tabs>button.active{border-color:#c5a36b;background:#344a38;color:#f5d89d}
.social-tabs .pirate-icon{width:39px;height:39px}
.social-tabs b{display:block;font:700 25px/1.1 'Barlow Condensed',sans-serif;color:inherit}
.social-tabs small{display:block;font-size:9px;line-height:1.6;color:#a3c0c6;margin-top:5px}
.social-shortcuts{display:flex;gap:7px;justify-content:flex-end;margin:12px 0 23px;border-bottom:1px solid #395660;padding-bottom:17px}
.social-shortcuts .menu-button{background:#142c38;font-size:11px;min-height:37px;padding:8px 11px}
.social-shortcuts .pirate-icon{width:23px;height:23px}
.social-section{padding:21px;background:#14303b;border:1px solid #486671;border-radius:10px;margin:15px 0}
.social-section-title{display:flex;gap:15px;align-items:center;margin-bottom:18px}
.social-section-title>.pirate-icon{width:43px;height:43px}
.social-section-title>div{flex:1}
.social-section-title h3{margin:0 0 7px}
.social-section-title small{display:block;font-size:8px;letter-spacing:1px;color:#d4b87c;margin-bottom:5px}
.social-section-title p{margin:0;font-size:11px}
.social-party-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.social-party-member{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px 12px;background:#0f2632;border:1px solid #476572;border-radius:9px;padding:15px;align-items:center}
.social-party-member.self{border-color:#c0a66a;background:#213b37}
.social-player-art{display:grid;place-items:center;width:62px;height:72px;background:radial-gradient(ellipse,#d0ac6533,transparent 70%);flex:none}
.social-player-art>img{width:62px;height:72px;object-fit:contain;image-rendering:pixelated}
.social-member-identity b{display:block;color:#ede0ba;font-size:13px;overflow-wrap:anywhere}
.social-member-identity>small{display:block;color:#b2c7c1;margin:3px 0 7px}
.social-role{display:inline-flex;align-items:center;gap:5px;color:#edc79c;background:#30415166;border:1px solid #536c7388;border-radius:5px;padding:3px 7px;font-size:9px;line-height:1.2;white-space:nowrap}
.social-role.tank{color:#92cfea}.social-role.support{color:#a2d7b1}.social-role.dps{color:#edc297}
.social-role .pirate-icon{width:20px;height:20px}
.social-member-health{grid-column:1/-1;margin:5px 0}
.social-member-health>small{display:block;margin:0 0 5px;color:#d4dcc4}
.social-member-health>span{display:block;font-size:9px;color:#91b6bc;margin-top:5px}
.social-party-member>.menu-button{grid-column:1/-1;justify-self:end}
.social-you{grid-column:1/-1;justify-self:end;color:#c8c39b;font-size:9px;min-height:40px;display:flex;align-items:center}
.social-guide{padding:12px 15px;margin:16px 0;border:1px solid #496675;border-radius:8px;background:#0e2732}
.social-guide summary{cursor:pointer;font-size:11px;color:#dbbc7f;min-height:26px;line-height:1.7}
.social-guide p{font-size:11px;margin:9px 0}
.social-empty{grid-column:1/-1;text-align:center;padding:24px;border:1px dashed #526c76;border-radius:9px;background:#112a35}
.social-empty>.pirate-icon{width:58px;height:58px;margin-bottom:9px}
.social-empty h4{font-size:25px;margin:0 0 7px}
.social-empty p{margin:0;font-size:11px}
.social-dashboard .adventure-form-row{display:flex;gap:10px;align-items:flex-end;margin:13px 0 20px}
.social-dashboard .adventure-form-row>label{flex:1;display:block}
.social-dashboard label>span{display:block;font-size:10px;color:#aac2cb;margin-bottom:6px}
.social-dashboard .adventure-form-row>.menu-search{flex:1}
.social-dashboard .adventure-form-row>.menu-button{flex:none;min-height:42px}
.social-dashboard .party-finder{margin:22px 0 0;border:0;padding:0}
.social-dashboard .party-finder .social-section-title{border-top:1px solid #43616a;padding-top:22px}
.social-dashboard .party-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(70px,.6fr) minmax(70px,.6fr) minmax(100px,1fr);gap:9px;margin:0 0 13px}
.social-dashboard .party-filters label{display:block}
.party-availability{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0 16px}
.party-availability label{display:flex;align-items:center;gap:6px;font-size:10px;background:#193943;border:1px solid #476473;border-radius:6px;padding:8px 10px;cursor:pointer}
.party-availability>span{margin-left:auto;color:#b7c8be;font-size:10px}
.social-dashboard .party-player-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:580px;overflow:auto;scrollbar-width:thin;scrollbar-color:#8a9963 #132733;padding-right:5px}
.social-dashboard .party-player-list>.adventure-member{display:flex;align-items:center;gap:10px;border:1px solid #44606d;border-radius:9px;background:#102933;padding:12px;margin:0}
.social-dashboard .party-player-list>.adventure-member>div{flex:1}
.social-dashboard .party-player-list .social-player-art{width:43px;height:56px}
.social-dashboard .party-player-list .social-player-art>img{width:43px;height:56px}
.social-dashboard .party-player-list b{font-size:12px;color:#e6d6b1;display:block;overflow-wrap:anywhere}
.social-dashboard .party-player-list small{display:block;font-size:9px;margin:4px 0}
.social-player-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px}
.social-dashboard .party-player-list .menu-button{font-size:10px;padding:8px 10px}
.social-dashboard .party-player-list>.menu-caption{grid-column:1/-1;padding:16px;border:1px dashed #566f79;border-radius:7px;margin:0;text-align:center}
.social-community{margin:18px 0 4px;border:1px solid #496775;border-radius:9px;background:#17313a;overflow:hidden}
.social-community>summary{display:flex;align-items:center;gap:12px;padding:15px;list-style:none;cursor:pointer;font-size:11px;color:#d6d5b8}
.social-community>summary>.pirate-icon{width:32px;height:32px}
.social-community>summary i{font-size:20px;font-style:normal;margin-left:auto;color:#d3b470}
.social-community[open]>summary i{transform:rotate(90deg)}
.social-community .community-card{margin:0;border:0;border-top:1px solid #415b68;border-radius:0;background:#122a36;padding:20px}
.social-community .community-emblem{width:100px;height:100px}
.social-community .community-copy h2{font-size:27px}
.social-community .community-copy p{font-size:11px}
.social-invitation{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#344636,#16313a);border:1px solid #be9e60;border-radius:10px;padding:18px;margin:15px 0}
.social-invitation>.pirate-icon{width:48px;height:48px}
.social-invitation>div:first-of-type{flex:1}
.social-invitation small{color:#d7bc7c;letter-spacing:.7px;font-size:8px}
.social-invitation h3{font-size:25px;margin:5px 0}
.social-invitation p{font-size:10px;margin:4px 0}
.social-invitation>div:last-of-type{display:flex;gap:7px}
.social-directory-filters{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:12px}
.social-result-count{font-size:10px!important;margin:12px 0!important;color:#b6c7bf!important}
.social-dashboard .guild-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.social-dashboard .guild-directory .adventure-card{padding:16px;margin:0;background:#112a35;border:1px solid #4a6572;border-radius:9px;display:flex;flex-direction:column}
.social-dashboard .guild-directory header{display:flex;align-items:center;gap:10px}
.social-dashboard .guild-directory header>.pirate-icon{width:37px;height:37px}
.social-dashboard .guild-directory h3{font-size:24px;margin:4px 0}
.social-dashboard .guild-directory header small{color:#d3ba80;font-size:8px}
.social-dashboard .guild-directory progress{margin:0 0 14px}
.social-dashboard .guild-directory .menu-button{margin-top:auto}
.social-dashboard .guild-directory .menu-caption{font-size:10px;line-height:1.6;color:#95b8bf}
.social-guild-banner{display:flex;align-items:center;gap:17px;padding:20px;border:1px solid #7a8357;border-radius:10px;background:linear-gradient(125deg,#2b4639,#13313c);margin:15px 0 13px}
.social-guild-banner>.pirate-icon{width:60px;height:60px}
.social-guild-banner>div{flex:1}
.social-guild-banner small{letter-spacing:1px;font-size:8px;color:#d6ba76}
.social-guild-banner h2{margin:6px 0 7px}
.social-guild-banner span{font-size:10px;color:#b9cbbd}
.social-guild-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:18px}
.social-guild-tabs .menu-button{background:#193642;color:#b7ccd0}
.social-guild-tabs .selected{background:#334b38;color:#f2d699;border-color:#bd9e60}
.social-weekly-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.social-weekly-progress>div{background:#0c2530;border:1px solid #415f6c;border-radius:7px;padding:13px}
.social-weekly-progress span{display:block;font-size:10px;color:#a5bec9}
.social-weekly-progress strong{font:700 24px 'Barlow Condensed',sans-serif;color:#e8d0a1;display:block;margin:5px 0 9px}
.social-treasury{font:700 24px 'Barlow Condensed',sans-serif;color:#e7c984}
.social-guild-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #405d66;padding-top:13px;margin-top:20px}
.social-guild-footer p{font-size:10px;margin:0;max-width:72%}
.social-guild-footer>.menu-button{border-color:#976650;color:#e6c6b5;flex:none}
.social-dashboard :is(.guild-management .adventure-card,.guild-colossus,.guild-contributions){border:1px solid #486875;border-radius:10px;background:#15303a;padding:20px;margin:15px 0}
.social-dashboard .guild-management .adventure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.social-dashboard .guild-management .adventure-grid>.adventure-card{margin:0}
.social-dashboard .guild-management .adventure-member{padding:12px 0;border-bottom:1px solid #43606b}
.social-dashboard .guild-roster{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center}
.social-guild-portrait{width:52px;height:62px;display:grid;place-items:center;flex:none}
.social-guild-portrait>img{width:52px;height:62px;object-fit:contain;image-rendering:pixelated}
.social-dashboard .guild-roster strong{font-size:13px;color:#edd9ae;overflow-wrap:anywhere}
.social-dashboard .guild-role{font-size:10px;color:#d3bf8e;margin-top:5px}
.social-dashboard .guild-member-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:390px}
.social-dashboard .guild-member-actions .menu-button{font-size:10px;min-height:36px;padding:8px}
.social-dashboard .guild-flag{display:none}
.social-dashboard .guild-colossus{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}
.social-dashboard .guild-boss-art{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #756f55;border-radius:10px;background:radial-gradient(ellipse,#bd955333,transparent 72%),#0e2733;padding:20px}
.social-dashboard .guild-boss-art>img{width:150px;height:175px;object-fit:contain;image-rendering:pixelated}
.social-dashboard .guild-boss-art>span{display:block;font-size:10px;line-height:1.5;color:#d8bd7c;text-align:center;margin-top:13px}
.social-dashboard .guild-colossus>div>small{font-size:9px;letter-spacing:.6px;color:#d1b879}
.social-dashboard .guild-colossus h2{font-size:33px;margin:9px 0}
.social-dashboard .guild-hp{margin:16px 0;border:1px solid #4d6772;border-radius:8px;background:#0c2631;padding:13px}
.social-dashboard .guild-hp b{font-size:12px;color:#e0d5aa;display:block;margin-bottom:9px}
.social-dashboard .guild-hp progress::-webkit-progress-value{background:linear-gradient(90deg,#b84f4e,#de8070)}
.social-dashboard .guild-prizes{display:flex;gap:9px;flex-wrap:wrap}
.social-dashboard .guild-prizes span{display:flex;align-items:center;gap:6px;font-size:11px;background:#253d34;border:1px solid #536c5c;border-radius:6px;padding:8px 10px}
.social-dashboard .guild-prizes img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated}
.social-dashboard .guild-contributions>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #486370;font-size:11px;overflow-wrap:anywhere}
.social-dashboard .adventure-banner{background:#1a383c;border:1px solid #567168;border-radius:9px;padding:18px;margin:15px 0;gap:15px;display:flex;align-items:center}
.social-dashboard .adventure-banner>div{flex:1}
.social-dashboard .adventure-banner small{color:#d2b674;font-size:9px;letter-spacing:.7px}
.social-dashboard .adventure-banner strong{font:700 24px 'Barlow Condensed',sans-serif;color:#e9d4a4;margin:5px 0}
.social-dashboard .adventure-banner span{font-size:11px;overflow-wrap:anywhere}
.social-dashboard .referral-hero{background:linear-gradient(120deg,#29423a,#15303c);border:1px solid #768156;border-radius:11px;padding:23px;display:flex;align-items:center;gap:22px}
.social-dashboard .referral-hero>div:first-child{flex:1}
.social-dashboard .referral-hero h2{font-size:33px;margin:9px 0}
.social-dashboard .referral-hero small{color:#d6b878;font-size:9px;letter-spacing:1px}
.social-dashboard .referral-hero p{font-size:12px;max-width:670px;margin:10px 0}
.social-dashboard .referral-reward{flex:none;min-width:100px;background:#193440;border:1px solid #657658;border-radius:10px;padding:15px;text-align:center}
.social-dashboard .referral-reward>.pirate-icon{width:64px;height:64px}
.social-dashboard .referral-reward strong{font:700 35px 'Barlow Condensed',sans-serif;color:#ecd08c}
.social-dashboard .referral-reward span{font-size:10px;color:#b8cabd}
.social-dashboard .referral-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:17px 0}
.social-dashboard .referral-steps>div{border:1px solid #486673;border-radius:8px;padding:16px;background:#15313b;display:flex;gap:11px;align-items:center}
.social-dashboard .referral-steps b{font:700 27px 'Barlow Condensed',sans-serif;color:#d8b678;background:#283e36;border-radius:6px;padding:7px}
.social-dashboard .referral-steps span{font-size:11px;color:#e1dbbd;line-height:1.5}
.social-dashboard .referral-steps small{display:block;font-size:9px;color:#a6c0c9;margin-top:5px}
.social-dashboard :is(.referral-invite,.referral-friends){border:1px solid #486571;border-radius:9px;background:#14303b;padding:20px;margin:15px 0}
.social-dashboard .referral-invite>label{font-size:12px;color:#e3d3aa}
.social-dashboard .referral-link-row{display:flex;gap:10px;margin:11px 0}
.social-dashboard .referral-link-row input{flex:1}
.social-dashboard .referral-link-row .menu-button{flex:none}
.social-dashboard .referral-friends header small{color:#d4b67a;font-size:9px;letter-spacing:.7px}
.social-dashboard .referral-friends h3{margin-top:7px}
.social-dashboard .referral-friend{background:#102a35;border:1px solid #4e6f6e;border-radius:8px;min-width:0}
.social-dashboard .referral-friend-info{flex:1;min-width:0}
.social-dashboard .referral-friend-info strong{color:#e8d5aa;overflow-wrap:anywhere;font-size:12px}
.social-dashboard .referral-avatar{background:#385346;border-color:#ab9a63;color:#efd297}
.social-dashboard .referral-empty{border:1px dashed #5e766a;border-radius:9px;background:#102a35;padding:21px}
.social-dashboard .referral-empty h3{font-size:25px}
@media(max-width:800px){
 .social-hero{padding:19px;gap:15px}.social-hero>.pirate-icon{width:58px;height:58px}.social-hero h2{font-size:30px}
 .social-tabs>button{padding:12px;gap:9px}.social-tabs b{font-size:23px}.social-tabs .pirate-icon{width:33px;height:33px}.social-tabs small{display:none}
 .social-dashboard .guild-directory{grid-template-columns:repeat(2,minmax(0,1fr))}
 .social-dashboard .party-player-list{grid-template-columns:1fr}
 .social-dashboard .party-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.party-search{grid-column:1/-1}
 .social-guild-banner{flex-wrap:wrap}.social-guild-banner>.menu-button{margin-left:77px}
 .social-dashboard .guild-colossus{grid-template-columns:145px minmax(0,1fr);gap:17px}.social-dashboard .guild-boss-art{padding:13px}.social-dashboard .guild-boss-art>img{width:115px;height:150px}
 .social-dashboard .guild-roster{grid-template-columns:48px minmax(0,1fr)}.social-dashboard .guild-member-actions{grid-column:1/-1;max-width:none}
 .social-dashboard .guild-management .adventure-grid{grid-template-columns:1fr}
 .social-dashboard .referral-steps{grid-template-columns:1fr}.social-dashboard .referral-steps>div{padding:12px}
}
@media(max-width:600px){
 #game-modal[data-menu-type="social"]{width:calc(100vw - 14px);max-width:none;border-radius:10px;max-height:calc(var(--visual-height,100dvh) - 16px)}
 #game-modal[data-menu-type="social"]>header{padding:12px 13px}#game-modal[data-menu-type="social"] #modal-body{padding:12px}
 .social-hero{padding:15px;gap:12px}.social-hero>.pirate-icon{width:44px;height:44px}.social-hero small{font-size:7px;letter-spacing:.8px}.social-hero h2{font-size:26px}.social-hero p{font-size:10px}
 .social-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:11px 0 15px}.social-overview>div{padding:10px}.social-overview>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.social-overview strong{font-size:23px;margin-top:2px}.social-overview>div:last-child strong{text-align:right;font-size:21px}.social-overview small{font-size:8px}
 .social-tabs{gap:6px}.social-tabs>button{flex-direction:column;padding:10px 6px;text-align:center;gap:7px}.social-tabs b{font-size:19px}.social-tabs .pirate-icon{width:31px;height:31px}
 .social-shortcuts{gap:6px;justify-content:stretch;margin:10px 0 17px;padding-bottom:13px}.social-shortcuts .menu-button{flex:1;flex-direction:column;font-size:9px;gap:5px;padding:8px 4px}.social-shortcuts .menu-button>span{display:none}.social-shortcuts .pirate-icon{width:23px;height:23px}
 .social-section{padding:14px;margin:13px 0}.social-section-title{gap:10px;align-items:flex-start;flex-wrap:wrap}.social-section-title>.pirate-icon{width:34px;height:34px}.social-section-title h3{font-size:25px}.social-section-title p{font-size:10px}.social-section-title small{font-size:7px}
 .social-section-title>div{flex:1 1 calc(100% - 44px)}.social-section-title>.menu-button{margin-left:44px;font-size:10px}.social-section-title .social-treasury{font-size:21px;margin-left:44px}
 .social-dashboard p{font-size:11px}.social-dashboard small{font-size:9px}.social-party-roster{grid-template-columns:1fr}.social-party-member{padding:12px}
 .social-guide{padding:10px}.social-guide summary{font-size:10px}.social-empty{padding:19px 12px}.social-empty h4{font-size:23px}
 .social-dashboard .adventure-form-row{flex-wrap:wrap;gap:8px;align-items:stretch}.social-dashboard .adventure-form-row>.menu-button{width:100%}.social-dashboard .adventure-form-row>label,.social-dashboard .adventure-form-row>.menu-search{flex:1 1 100%}
 .social-dashboard .menu-search{font-size:11px;padding:10px}.social-dashboard .party-filters{gap:7px}.social-dashboard label>span{font-size:9px;line-height:1.5}
 .party-availability{gap:6px}.party-availability label{padding:7px;font-size:9px}.party-availability>span{width:100%;margin:0;font-size:9px}
 .social-dashboard .party-player-list{max-height:620px;padding-right:2px}.social-dashboard .party-player-list>.adventure-member{padding:10px;gap:7px;flex-wrap:wrap}.social-dashboard .party-player-list .menu-button{margin-left:auto;font-size:10px;min-height:38px}.social-dashboard .party-player-list b{font-size:11px}
 .social-community>summary{padding:12px;font-size:10px;gap:9px}.social-community>summary>.pirate-icon{width:27px;height:27px}.social-community .community-card{padding:15px}.social-community .community-emblem{width:76px;height:76px}
 .social-invitation{flex-wrap:wrap;padding:14px;gap:11px}.social-invitation>.pirate-icon{width:37px;height:37px}.social-invitation>div:last-of-type{width:100%;justify-content:flex-end}.social-invitation h3{font-size:24px}
 .social-directory-filters{grid-template-columns:1fr;gap:10px}.social-dashboard .guild-directory{grid-template-columns:1fr}.social-dashboard .guild-directory .adventure-card{padding:14px}
 .social-guild-banner{padding:15px;gap:12px}.social-guild-banner>.pirate-icon{width:45px;height:45px}.social-guild-banner h2{font-size:29px}.social-guild-banner>.menu-button{margin:0;width:100%;font-size:11px}
 .social-guild-tabs{gap:5px}.social-guild-tabs .menu-button{flex-direction:column;padding:8px 4px;font-size:10px;gap:5px}.social-guild-tabs .pirate-icon{width:23px;height:23px}
 .social-weekly-progress{grid-template-columns:1fr;gap:8px}.social-weekly-progress>div{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px}.social-weekly-progress strong{font-size:22px;margin:0}.social-weekly-progress span{font-size:10px;align-self:center}.social-weekly-progress progress{grid-column:1/-1}
 .social-guild-footer{flex-wrap:wrap}.social-guild-footer p{max-width:none;font-size:10px}.social-guild-footer>.menu-button{margin-left:auto}
 .social-dashboard :is(.guild-management .adventure-card,.guild-colossus,.guild-contributions){padding:14px}.social-dashboard .guild-member-actions .menu-button{flex:1 1 40%;font-size:9px;padding:8px 5px}
 .social-dashboard .guild-colossus{grid-template-columns:1fr;gap:15px}.social-dashboard .guild-boss-art{flex-direction:row;padding:10px;gap:13px}.social-dashboard .guild-boss-art>img{width:100px;height:120px}.social-dashboard .guild-boss-art>span{font-size:9px;margin:0}.social-dashboard .guild-colossus h2{font-size:30px}
 .social-dashboard .guild-contributions>div{font-size:10px;flex-wrap:wrap}.social-dashboard .adventure-banner{padding:14px;flex-wrap:wrap}.social-dashboard .adventure-banner .menu-button{width:100%;font-size:11px}
 .social-dashboard .referral-hero{padding:15px;gap:12px;flex-wrap:wrap}.social-dashboard .referral-hero h2{font-size:28px}.social-dashboard .referral-hero p{font-size:11px}.social-dashboard .referral-reward{display:flex;align-items:center;gap:9px;width:100%;padding:10px;min-width:0}.social-dashboard .referral-reward>.pirate-icon{width:41px;height:41px}.social-dashboard .referral-reward strong{font-size:27px}
 .social-dashboard :is(.referral-invite,.referral-friends){padding:14px}.social-dashboard .referral-link-row{flex-wrap:wrap;gap:8px}.social-dashboard .referral-link-row .menu-button{width:100%}.social-dashboard .referral-link-row input{flex:1 1 100%}.social-dashboard .referral-friend{padding:12px}.social-dashboard .referral-friend-info strong{font-size:11px}
}
@media(max-width:350px){.social-tabs b{font-size:18px}.social-hero h2{font-size:24px}.social-dashboard .party-player-list .menu-button{width:100%;margin-left:50px}.social-dashboard .party-player-list .social-player-art{width:38px}.social-dashboard .party-player-list .social-player-art>img{width:38px}.social-player-tags{gap:5px}.social-dashboard .party-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.social-dashboard .party-filters>label:last-child{grid-column:1/-1}}
/* Achievements remain accessible from Social and share its nautical palette. */
#game-modal[data-menu-type="social-achievements"]{width:min(1080px,calc(100vw - 28px));max-width:1080px;border:1px solid #627966;border-radius:12px;background:#0c202b}
#game-modal[data-menu-type="social-achievements"]>header{background:#19313b;border-bottom:1px solid #43616b}
#game-modal[data-menu-type="social-achievements"] .achievement-intro{display:flex;align-items:center;gap:20px;border:1px solid #748158;border-radius:10px;background:linear-gradient(120deg,#2c4337,#15313c);padding:23px}
#game-modal[data-menu-type="social-achievements"] .achievement-intro>.pirate-icon{width:62px;height:62px;flex:none}
#game-modal[data-menu-type="social-achievements"] .achievement-intro>div{flex:1;min-width:0}
#game-modal[data-menu-type="social-achievements"] .achievement-intro h3{font:700 33px/1.2 'Barlow Condensed',sans-serif;color:#efd9a8;margin:9px 0}
#game-modal[data-menu-type="social-achievements"] .achievement-intro p{font-size:12px;color:#bad0cc}
#game-modal[data-menu-type="social-achievements"] .achievement-filters{gap:7px;flex-wrap:wrap;margin:18px 0}
#game-modal[data-menu-type="social-achievements"] .menu-button{border-radius:7px;min-height:40px;padding:9px 12px}
#game-modal[data-menu-type="social-achievements"] .achievement-filters .active{background:#354b38;color:#f2d499;border-color:#bba064}
#game-modal[data-menu-type="social-achievements"] .achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#game-modal[data-menu-type="social-achievements"] .achievement-card{border-radius:10px;background:#14303b;border-color:#4a6874;padding:18px;min-width:0}
#game-modal[data-menu-type="social-achievements"] .achievement-card.ready{background:#294237;border-color:#aa9d61}
#game-modal[data-menu-type="social-achievements"] .achievement-card.claimed{background:#1b3438;border-color:#4d715c}
#game-modal[data-menu-type="social-achievements"] .achievement-card h3{font:700 25px/1.2 'Barlow Condensed',sans-serif;color:#e6d2a6;overflow-wrap:anywhere}
#game-modal[data-menu-type="social-achievements"] .achievement-card p{font-size:11px;line-height:1.7;color:#acc5cb}
#game-modal[data-menu-type="social-achievements"] .achievement-card footer{flex-wrap:wrap;gap:9px}
@media(max-width:800px){#game-modal[data-menu-type="social-achievements"] .achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#game-modal[data-menu-type="social-achievements"]{width:calc(100vw - 14px);max-width:none}#game-modal[data-menu-type="social-achievements"]>header{padding:12px 13px}#game-modal[data-menu-type="social-achievements"] #modal-body{padding:12px}#game-modal[data-menu-type="social-achievements"] .achievement-intro{padding:15px;gap:12px;align-items:flex-start}#game-modal[data-menu-type="social-achievements"] .achievement-intro>.pirate-icon{width:40px;height:40px}#game-modal[data-menu-type="social-achievements"] .achievement-intro h3{font-size:26px}#game-modal[data-menu-type="social-achievements"] .achievement-intro p{font-size:10px}#game-modal[data-menu-type="social-achievements"] .achievement-grid{grid-template-columns:1fr}#game-modal[data-menu-type="social-achievements"] .achievement-filters .menu-button{font-size:11px;padding:8px 10px}}
