/* Social components reuse separately editable frames, material, icons and verified account crests. */
.pc-community.r2-social{--so-panel:url('assets/round2-crafting/frames/panel.png');--so-card:url('assets/round2-crafting/frames/city-card.png');--so-button:url('assets/round2-crafting/frames/button-normal.png');--so-dark:url('assets/pc-v124/ui/panel-dark.webp');--so-leather:url('assets/round2-crafting/73-craft-leather-tile-v1.png');color:#f5e6c2}
html body.pc-redesign dialog.pc-community.r2-social[open]{position:fixed!important;inset:0!important;display:flex!important;flex-direction:column!important;gap:10px!important;box-sizing:border-box!important;width:min(1480px,96vw)!important;max-width:96vw!important;height:min(900px,94dvh)!important;max-height:94dvh!important;margin:auto!important;padding:14px!important;overflow:hidden!important;border:1px solid transparent!important;border-image:var(--so-panel) 90 / 12px / 0 stretch!important;background:#101511 var(--so-dark) center/600px!important;border-radius:0!important}
html body .pc-community.r2-social [hidden]{display:none!important}
html body .r2-social .r2-social-heading{min-height:68px;flex:none;padding:10px 18px;background:linear-gradient(90deg,#120f09c9,#120f0940),url('assets/pc-v124/ui/hall-header.webp') center/cover;border:1px solid transparent;border-image:var(--so-panel) 90 / 10px / 0 stretch;box-sizing:border-box}
html body .r2-social .r2-social-heading h2{font:32px/1.15 Georgia!important;color:#ffe3a0;margin:0!important}
html body .r2-social button:not(.account-crest){border:1px solid transparent!important;border-image:var(--so-button) 80 110 / 11px 15.125px / 0 stretch!important;background:#2d1c10 var(--so-leather) center/550px!important;border-radius:0!important;box-sizing:border-box;min-width:0;min-height:42px!important;padding:8px 13px!important;color:#fff0c2!important;box-shadow:none!important;font:15px/1.2 Georgia!important;text-shadow:0 1px 2px #000;white-space:normal!important;transform:none!important}
html body .r2-social button:not(.account-crest):is(:hover,:focus-visible,.active,[aria-pressed=true]){border-image-source:url('assets/round2-crafting/frames/button-hover.png')!important;background-color:#583914!important}
html body .r2-social button:not(.account-crest):active{border-image-source:url('assets/round2-crafting/frames/button-pressed.png')!important}
html body .r2-social button:disabled{border-image-source:url('assets/round2-crafting/frames/button-disabled.png')!important;color:#bcb29c!important;opacity:.7}
html body .r2-social :is(button,input,textarea,select):focus-visible{outline:2px solid #ffe5a1;outline-offset:-3px}
html body .r2-social .account-crest{border-image:none!important;min-width:0!important;flex:none}
html body .r2-social .pc-community-tabs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;flex:none;align-items:stretch}
html body .r2-social .pc-community-tabs:has([data-view=announcements]){grid-template-columns:repeat(8,minmax(0,1fr))}
html body .r2-social .pc-community-body{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;min-width:0;overflow:hidden!important;padding:14px!important;background:#111713 var(--so-dark) center/600px!important;border:1px solid transparent!important;border-image:var(--so-panel) 90 / 11px / 0 stretch!important;box-sizing:border-box}
html body .r2-social h3{font:24px/1.15 Georgia!important;color:#ffe3a0;margin:0!important;overflow-wrap:anywhere}
html body .r2-social :is(p,small){color:#dccba8;overflow-wrap:anywhere}
html body .r2-social p{font:16px/1.35 Georgia!important;margin:0!important}
html body .r2-social :is(input,select,textarea){background:#0e120e!important;color:#fff0cd!important;border:1px solid #a77e3e!important;border-radius:0;box-sizing:border-box;font:16px/1.3 Georgia!important;padding:10px;min-width:0;max-width:100%;width:100%}
html body .r2-social :is(input,select){height:44px!important;min-height:44px!important;flex:none}
html body .r2-social .pc-community-body>form{flex:none;flex-wrap:nowrap;min-width:0}
html body .r2-social form[data-community-form=search] input{width:0;flex:1}
html body .r2-social .pc-community-person{flex:1;min-height:0;min-width:0;margin:0!important;padding:12px!important;box-sizing:border-box;border:1px solid transparent!important;border-image:var(--so-card) 120 / 10px / 0 stretch!important;background:#111713 var(--so-dark) center/600px!important;gap:8px}
html body .r2-social .pc-community-person.selected{border-image-source:url('assets/round2-crafting/frames/button-hover.png')!important;background:#30200f var(--so-leather) center/550px!important}
.pc-community.r2-social .pc-community-person>div:first-child{min-width:0;flex:1}
html body .r2-social .pc-community-person>div:first-child>button:not(.account-crest){background:none!important;border-image:none!important;border:0!important;padding:0!important;text-align:left;font-size:19px!important;min-height:30px!important;overflow-wrap:anywhere}
html body .r2-social .pc-community-pager{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:0!important;flex:none;min-width:0}
.pc-community.r2-social .pc-community-pager>span{font:15px Georgia;color:#f0d9a3;white-space:nowrap}
.pc-community.r2-social>footer{flex:none;border-top:1px solid #92713c;padding-top:8px;min-width:0}
.pc-community.r2-social>footer>small{font:12px Georgia}
.r2-social-section-heading{display:flex;align-items:center;justify-content:flex-start!important;gap:10px;flex:none;min-width:0}
.r2-social-section-heading>img{width:33px;height:36px;object-fit:contain;flex:none}
html body .r2-social .r2-social-section-heading h3{font-size:23px!important}
.r2-social-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;min-height:0;min-width:0;flex:1;text-align:center}
.r2-social-empty>img{width:90px;height:100px;object-fit:contain;min-height:0}
html body .r2-social .r2-social-error{display:flex;align-items:center;gap:10px;justify-content:space-between;flex:none;background:#51291e;border:1px solid #b18b4d;padding:8px 12px;min-width:0}
html body .r2-social .r2-social-error p{font-size:14px!important;flex:1;min-width:0}
.r2-social-rows{display:flex;flex-direction:column;gap:9px;flex:1;min-height:0;min-width:0}
html body .r2-social .pc-community-body.r2-social-friends{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(0,.85fr);padding:0!important;border:0!important;background:none!important;gap:10px}
html body .r2-social :is(.r2-social-categories,.r2-social-people,.r2-social-person-detail,.r2-social-conversations,.r2-social-thread,.r2-social-profile-identity,.r2-social-profile-characters){display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;padding:16px;box-sizing:border-box;border:1px solid transparent;border-image:var(--so-panel) 90 / 10px / 0 stretch;background:#111713 var(--so-dark) center/600px;overflow:hidden}
.r2-social-categories>button{flex:none;text-align:left}
.r2-social-categories>select,.r2-social-pane-tabs{display:none}
.r2-social-study{flex:1;min-height:40px;background:url('assets/round2-updates/01-chronicle-study-v1.png') center/cover;border:1px solid transparent;border-image:var(--so-card) 120 / 9px / 0 stretch}
html body .r2-social .r2-social-friend-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:5px}
html body .r2-social .r2-social-friend-row>button{display:flex!important;align-items:center;gap:12px;background:none!important;border-image:none!important;border:0!important;text-align:left;padding:0!important;font-size:20px!important;min-height:0!important;overflow-wrap:anywhere;min-width:0}
.r2-social-friend-row>button>img{width:40px;height:40px;object-fit:contain;flex:none}
.r2-social-friend-row>small{grid-column:1/-1;font:12px Georgia}
.pc-community.r2-social .pc-community-badges{flex-wrap:wrap;gap:5px}
.r2-social-person-detail{align-items:center;text-align:center}
.r2-social-person-detail .r2-social-section-heading{align-self:stretch}
.r2-social-person-symbol{width:100%;max-width:170px;min-height:40px;height:0;flex:1;object-fit:contain}
.r2-social-person-detail .pc-community-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;margin-top:auto}
html body .r2-social .pc-community-body.r2-social-messages{display:grid;grid-template-columns:minmax(240px,.45fr) minmax(0,1fr);padding:0!important;border:0!important;background:none!important;gap:10px}
.r2-social-conversations .pc-community-person{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap}
.r2-social-conversations .pc-community-person>div:first-child{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.r2-social-conversations .pc-community-actions{display:flex}
.r2-social-conversations .pc-community-actions>button{width:100%}
.r2-social-thread .r2-social-section-heading>button{margin-left:auto;flex:none}
html body .r2-social .pc-community-chat{display:grid;grid-auto-rows:minmax(0,1fr);gap:8px;flex:1;min-height:0}
html body .r2-social .pc-community-chat>article{align-self:stretch;display:flex;flex-direction:column;gap:5px;max-width:94%;min-height:0;margin:0;padding:10px 13px;border:1px solid transparent;border-image:var(--so-card) 120 / 9px / 0 stretch;background:#151d17;overflow:hidden}
html body .r2-social .pc-community-chat>article.own{align-self:stretch;margin-left:6%;background:#362a17}
html body .r2-social .pc-community-chat p{font-size:15px!important;line-height:1.3!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1;min-height:0;white-space:normal}
html body .r2-social .pc-community-chat article>button{align-self:flex-end;min-height:30px!important;padding:5px 10px!important;font-size:12px!important;flex:none}
html body .r2-social form[data-community-form=send]{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(70px,1fr) auto;gap:7px;flex:none;height:125px;min-height:0}
html body .r2-social form[data-community-form=send] textarea{grid-column:1/-1;grid-row:1;height:100%;resize:none;min-height:0}
.pc-community.r2-social .r2-social-message-count{align-self:center;font:12px Georgia}
.r2-social-chat-tabs{display:none}
html body .r2-social .pc-community-body.r2-social-profile{display:grid;grid-template-columns:minmax(200px,.4fr) minmax(0,1fr);padding:0!important;border:0!important;background:none!important;gap:10px}
.r2-social-profile-identity{align-items:center;text-align:center}
.r2-social-profile-identity>.pc-community-person{flex:none!important;background:none!important;border:0!important;border-image:none!important;padding:0!important;width:100%;justify-content:center}
.r2-social-profile-identity .pc-community-person>div:first-child{justify-content:center;flex-direction:column}
.r2-social-profile-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin:0}
.r2-social-profile-metrics>div{border-bottom:1px solid #96713d;padding-bottom:5px}
.r2-social-profile-metrics dt{font:13px Georgia;color:#c9b890}
.r2-social-profile-metrics dd{font:24px Georgia;color:#ffe4aa;margin:4px 0 0}
.r2-social-character{flex-direction:column;align-items:stretch!important;justify-content:center!important;flex-wrap:nowrap!important}
.r2-social-character>strong{font:24px Georgia;color:#ffe3a0}
html body .r2-social .r2-social-ranking>.pc-community-person{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:12px;align-content:center}
html body .r2-social .r2-social-ranking>.pc-community-person>strong{font:27px Georgia;color:#edca80}
html body .r2-social .r2-social-ranking>.pc-community-person>div:first-of-type{min-width:0;display:flex;align-items:center;gap:12px;justify-content:space-between}
.r2-social-ranking>.pc-community-person>div.pc-community-actions:empty{display:none}
.r2-social-ranking>.pc-community-person>span:last-child{font:24px Georgia;color:#ffe3a0}
html body .r2-social .pc-community-stat-grid{flex:1;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
html body .r2-social .pc-community-stat-grid>article{display:flex;flex-direction:column;justify-content:center;padding:18px;border:1px solid transparent;border-image:var(--so-card) 120 / 10px / 0 stretch;background:#111713 var(--so-dark) center/600px}
html body .r2-social .pc-community-stat-grid strong{font:36px Georgia;color:#ffe0a0}
html body .r2-social .pc-community-stat-tabs{flex:none;flex-wrap:nowrap}
html body .r2-social .pc-community-stat-tabs button{flex:1;min-width:0}
html body .r2-social .pc-community-counter{flex:1;min-height:0;padding:12px;border:1px solid transparent;border-image:var(--so-card) 120 / 9px / 0 stretch;background:#111713 var(--so-dark) center/600px}
html body .r2-social .r2-social-detail .pc-community-detail{display:flex;align-items:center;flex:1;min-height:0;font:18px/1.5 Georgia!important;white-space:pre-wrap;overflow-wrap:anywhere}
html body .r2-social .r2-social-detail .pc-community-emblem{width:100%;height:0;flex:1;min-height:0;max-height:none;object-fit:contain}
html body .r2-social .r2-social-confirm{align-items:center;justify-content:center;gap:18px}
.r2-social-confirm>img{width:110px;height:110px;object-fit:contain}
.r2-social-confirm>p{max-width:600px;text-align:center}
.r2-social-confirm>button{width:min(400px,100%)}
@media(max-width:1000px),(max-height:700px){
html body.pc-redesign dialog.pc-community.r2-social[open]{width:96vw!important;height:96dvh!important;max-height:96dvh!important;padding:10px!important;gap:7px!important}
html body .r2-social .r2-social-heading{min-height:46px;padding:7px 11px}
html body .r2-social .r2-social-heading h2{font-size:25px!important}
html body .r2-social .pc-community-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
html body .r2-social .pc-community-tabs:has([data-view=announcements]){grid-template-columns:repeat(4,minmax(0,1fr))}
html body .r2-social button:not(.account-crest){min-height:36px!important;padding:7px 10px!important;font-size:14px!important}
html body .r2-social .pc-community-body{padding:11px!important;gap:8px}
html body .r2-social .pc-community-person{padding:9px!important;gap:6px}
html body .r2-social .pc-community-person>div:first-child>button:not(.account-crest){font-size:17px!important}
html body .r2-social .pc-community-body.r2-social-friends{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:6px}
html body .r2-social .r2-social-pane-tabs{display:flex;gap:7px;grid-column:1;grid-row:1;flex:none}
.r2-social-pane-tabs>button{flex:1}
html body .r2-social :is(.r2-social-categories,.r2-social-people,.r2-social-person-detail,.r2-social-conversations,.r2-social-thread,.r2-social-profile-identity,.r2-social-profile-characters){padding:11px;gap:9px}
html body .r2-social .r2-social-categories{grid-row:2;padding:5px;border:0;border-image:none;background:none;display:block}
html body .r2-social .r2-social-categories>:not(select){display:none}
html body .r2-social .r2-social-categories>select{display:block}
html body .r2-social .r2-social-people{grid-row:3}
html body .r2-social .r2-social-people>.r2-social-section-heading{display:none}
html body .r2-social .r2-social-friends[data-social-pane=list]>.r2-social-person-detail,html body .r2-social .r2-social-friends[data-social-pane=detail]>:is(.r2-social-people,.r2-social-categories){display:none}
html body .r2-social .r2-social-friends[data-social-pane=detail]>.r2-social-person-detail{grid-row:2/4}
html body .r2-social .r2-social-friend-row>button{font-size:17px!important;gap:9px}
.r2-social-friend-row>button>img{width:30px;height:30px}
.r2-social-person-detail .r2-social-person-symbol{max-height:100px}
html body .r2-social .pc-community-body.r2-social-messages{display:flex}
html body .r2-social .r2-social-messages[data-chat-open=true]>.r2-social-conversations{display:none}
html body .r2-social .r2-social-messages[data-chat-open=false]>.r2-social-thread{display:none}
.r2-social-conversations,.r2-social-thread{flex:1}
html body .r2-social .r2-social-thread .r2-social-section-heading h3{font-size:19px!important}
.r2-social-thread .r2-social-section-heading>img{display:none}
html body .r2-social .r2-social-chat-tabs{display:flex;gap:7px;flex:none}
.r2-social-chat-tabs>button{flex:1}
html body .r2-social .r2-social-messages[data-chat-pane=thread] form[data-community-form=send],html body .r2-social .r2-social-messages[data-chat-pane=compose] :is(.pc-community-chat,.r2-social-chat-pager){display:none}
html body .r2-social form[data-community-form=send]{height:auto;flex:1;grid-template-rows:minmax(0,1fr) auto}
html body .r2-social .r2-social-conversations .pc-community-person{justify-content:center;flex:1}
html body .r2-social .pc-community-body.r2-social-profile{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
html body .r2-social .r2-social-profile-identity{padding:10px;gap:6px}
.r2-social-profile-identity>.r2-social-person-symbol,.r2-social-profile-identity>p{display:none}
html body .r2-social .r2-social-profile-identity .pc-community-person>div:first-child{flex-direction:row;justify-content:space-between;width:100%}
html body .r2-social .r2-social-profile-identity .pc-community-person>div:first-child>button{font-size:18px!important}
html body .r2-social .r2-social-ranking>.pc-community-person{grid-template-columns:35px minmax(0,1fr) auto;gap:8px}
html body .r2-social .r2-social-ranking>.pc-community-person>div:first-of-type{flex-wrap:nowrap;gap:7px}
html body .r2-social .r2-social-ranking>.pc-community-person>div:first-of-type .pc-community-badges{gap:4px}
html body .r2-social .r2-social-ranking>.pc-community-person>strong,html body .r2-social .r2-social-ranking>.pc-community-person>span:last-child{font-size:21px}
html body .r2-social .pc-community-stat-grid{gap:8px}
html body .r2-social .pc-community-stat-grid>article{padding:12px}
html body .r2-social .pc-community-stat-grid strong{font-size:29px}
html body .r2-social .pc-community-body>p{font-size:14px!important}
html body .r2-social .pc-community-stat-tabs button{font-size:12px!important}
html body .r2-social .r2-social-detail .pc-community-detail{font-size:16px!important;line-height:1.4!important}
.pc-community.r2-social>footer{padding-top:6px}
.pc-community.r2-social>footer>small{font-size:10px}
}
@media(max-width:600px) and (max-height:650px){
html body .r2-social .r2-social-heading h2{font-size:23px!important}
html body .r2-social .pc-community-tabs button{font-size:12px!important;min-height:35px!important;padding:6px 4px!important}
html body .r2-social .pc-community-body{padding:9px!important}
html body .r2-social h3{font-size:20px!important}
html body .r2-social .r2-social-friend-row{grid-template-columns:minmax(0,1fr);gap:3px}
html body .r2-social .r2-social-friend-row>.pc-community-badges{position:absolute;right:9px;bottom:9px}
html body .r2-social .r2-social-friend-row{position:relative}
html body .r2-social .r2-social-friend-row>button>img{width:25px;height:25px}
html body .r2-social .r2-social-friend-row>small{max-width:55%}
html body .r2-social .r2-social-thread .r2-social-section-heading{gap:7px}
html body .r2-social .r2-social-thread .r2-social-section-heading h3{font-size:16px!important}
html body .r2-social .r2-social-thread .r2-social-section-heading>button{font-size:11px!important;padding:6px!important}
html body .r2-social .pc-community-chat article{padding:7px 9px;gap:3px}
html body .r2-social .pc-community-chat p{font-size:13px!important;-webkit-line-clamp:2}
html body .r2-social .r2-social-ranking>.pc-community-person{grid-template-columns:30px minmax(0,1fr) auto;gap:6px}
html body .r2-social .r2-social-ranking>.pc-community-person>div:first-of-type{flex-direction:column;align-items:flex-start}
html body .r2-social .r2-social-ranking>.pc-community-person>div:first-of-type>button{font-size:16px!important}
html body .r2-social .pc-community-stat-grid strong{font-size:24px}
html body .r2-social .pc-community-stat-grid>article small{font-size:11px}
html body .r2-social .pc-community-counter{padding:8px;font-size:13px}
html body .r2-social .pc-community-counter strong{font-size:20px}
.r2-social-confirm>img{width:60px;height:60px}
html body .r2-social .r2-social-confirm{gap:11px}
html body .r2-social .r2-social-error{padding:6px 9px;gap:7px}
html body .r2-social .r2-social-error p{font-size:12px!important}
html body .r2-social .r2-social-detail .pc-community-detail{font-size:15px!important;line-height:1.35!important}
}
@media(max-height:500px) and (min-width:601px){
html body.pc-redesign dialog.pc-community.r2-social[open]{padding:8px!important;gap:5px!important}
html body .r2-social .r2-social-heading{min-height:35px;padding:4px 10px}
html body .r2-social .r2-social-heading h2{font-size:22px!important}
html body .r2-social .pc-community-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
html body .r2-social button:not(.account-crest){min-height:32px!important;padding:5px 9px!important;font-size:13px!important}
.pc-community.r2-social>footer{display:none}
html body .r2-social .pc-community-body{gap:6px;padding:8px!important}
html body .r2-social .pc-community-body.r2-social-friends{grid-template-columns:minmax(0,1fr) minmax(0,.8fr);grid-template-rows:auto minmax(0,1fr)}
html body .r2-social .r2-social-pane-tabs{display:none}
html body .r2-social .r2-social-friends[data-social-pane]>.r2-social-categories{display:block;grid-row:1;grid-column:1/-1;padding:0}
html body .r2-social .r2-social-friends[data-social-pane]>.r2-social-people{display:flex;grid-row:2;grid-column:1;padding:8px}
html body .r2-social .r2-social-friends[data-social-pane]>.r2-social-person-detail{display:flex;grid-row:2;grid-column:2;padding:8px;gap:6px}
.r2-social-person-detail>.r2-social-section-heading,.r2-social-person-detail>.r2-social-person-symbol{display:none}
html body .r2-social .r2-social-person-detail>h3{font-size:18px!important}
html body .r2-social .r2-social-person-detail .pc-community-actions{gap:5px;margin-top:auto}
html body .r2-social .pc-community-body.r2-social-profile{grid-template-columns:minmax(180px,.4fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
html body .r2-social .r2-social-profile-identity .pc-community-person>div:first-child{flex-direction:column}
html body .r2-social .r2-social-profile-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.r2-social-profile-metrics dd{font-size:20px}
html body .r2-social .r2-social-profile-characters>.r2-social-section-heading{display:none}
html body .r2-social .r2-social-detail .pc-community-detail{font-size:14px!important}
html body .r2-social .r2-social-confirm{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-content:center;gap:10px 20px}
.r2-social-confirm>img{display:none}
.r2-social-confirm>h3,.r2-social-confirm>p{grid-column:1}
.r2-social-confirm>button{grid-column:2}
html body .r2-social .r2-social-error p{font-size:12px!important}
}

html body .r2-social .r2-social-header-refresh{display:none}
@media(max-height:500px) and (min-width:601px){html body .r2-social .r2-social-header-refresh{display:block;margin-left:auto}.r2-social .r2-social-heading>h2{margin-right:auto!important}}

html body .r2-social .r2-social-progress-grid>.pc-community-counter{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:6px}
@media(max-height:500px) and (min-width:601px){html body .r2-social .r2-social-progress-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}html body .r2-social .r2-social-progress-grid>.pc-community-counter{padding:9px;font-size:13px}}
