.hero-community{max-width:1200px;margin:auto;color:#e6e5e3;padding-bottom:24px;min-width:0}.community-banner{padding:clamp(20px,4vw,44px);border:1px solid #82734277;border-radius:12px;background:linear-gradient(90deg,#0e0f1aef,#151621b8),url('./assets/locations/guild-hall.webp') center/cover}.community-banner h1{font:clamp(28px,4vw,48px)/1.15 Georgia,serif;color:#eed7a1;margin:12px 0}.community-banner p{max-width:560px;color:#bebbb6;line-height:1.6}.community-tabs{display:flex;gap:8px;margin:16px 0;position:sticky;top:0;background:#0d0e18;z-index:3;padding:8px 0}.community-tabs button{flex:1}.hero-community button,.hero-community summary,.material-vault button,.equipment-transfer button{min-height:44px!important;border:1px solid #5e627888!important;border-radius:6px!important;padding:10px 14px!important;background:linear-gradient(#282a35,#15161f)!important;color:#efdfb5!important;font-size:12px!important;cursor:pointer}.hero-community button:focus-visible,.material-vault button:focus-visible{outline:2px solid #dfc17b;outline-offset:3px}.community-tabs [aria-pressed=true]{border-color:#dbc27d!important;box-shadow:inset 0 -2px #dbc27d}.hero-community button:disabled{opacity:.5;cursor:default}.community-search label,.community-thread label{display:block;color:#c6c4c0;font-size:12px;margin:12px 0 8px}.community-search>div{display:flex;gap:8px}.hero-community input,.hero-community textarea{min-width:0;width:100%;border:1px solid #535562;border-radius:6px;background:#0c0d16;color:#f0f0e4;padding:12px;font-family:inherit;font-size:16px;line-height:1.5;box-sizing:border-box}.hero-community textarea{font-size:16px;resize:vertical;min-height:92px;max-height:240px}.community-count{font-size:12px;color:#aca9a4}.community-roster{display:grid;gap:10px}.community-hero{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border:1px solid #4b4e6050;border-radius:8px;background:linear-gradient(115deg,#1c1e29,#11121c)}.community-hero>img{height:68px;width:60px;object-fit:contain}.community-hero small{color:#a8a6a1;font-size:10px;letter-spacing:.6px}.community-hero p{font-size:12px;color:#b3b1ae;margin:4px 0}.hero-community .hero-profile-link{display:block!important;text-align:left;overflow-wrap:anywhere;min-height:36px!important;padding:4px 0!important;background:none!important;border:0!important;font:20px/1.3 Georgia,serif!important}.community-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hero-relation{color:#bab4a9;font-size:10px;letter-spacing:1px}.hero-more{position:relative}.hero-more summary{list-style:none}.hero-more[open]{z-index:4}.hero-more[open]>button{display:block;margin-top:6px}.community-empty{padding:22px;background:#15162155;border:1px dashed #54586f55;border-radius:8px;line-height:1.7;color:#b8b6b1}.community-error{padding:14px;border:1px solid #b46e5a;color:#f5c2a2}.community-pagination{display:flex;gap:10px;align-items:center;justify-content:center;margin:20px 0}.community-pagination span{font-size:12px;color:#b2b0ab}.community-inbox{display:grid;gap:10px}.hero-community .community-thread-preview{display:flex;gap:16px;justify-content:space-between;align-items:center;text-align:left;padding:18px!important}.community-thread-preview>span{min-width:0}.community-thread-preview b{font-size:17px;color:#ede2c5}.community-thread-preview small{display:block;margin:4px 0;color:#a9a6a0}.community-thread-preview p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65vw;margin:5px 0;color:#c2bfbb}.community-thread-preview.unread{border-left:3px solid #e4c574!important}.community-thread-preview em{background:#d3b96d;color:#0c0e18;font-style:normal;padding:5px 9px;border-radius:20px}.community-thread{border:1px solid #4a4d5f;border-radius:10px;background:#0f101b;overflow:hidden}.community-thread>header{display:flex;align-items:center;gap:16px;padding:16px;border-bottom:1px solid #414458}.community-thread h2{font-family:Georgia,serif;margin:4px 0;overflow-wrap:anywhere;color:#ead4a4}.community-thread header small{color:#ada9a1;font-size:10px;letter-spacing:1px}.community-thread-list{max-height:48vh;min-height:180px;overflow:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:12px}.hero-message{max-width:85%;align-self:flex-start;border:1px solid #46495b;background:#1b1e30;border-radius:12px 12px 12px 2px;padding:12px 15px}.hero-message.outgoing{align-self:flex-end;background:#262939;border-color:#4f5580;border-radius:12px 12px 2px 12px}.hero-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#e5e3df;font-size:15px;line-height:1.6}.hero-message time{display:block;text-align:right;color:#aaa8a3;font-size:10px;margin-top:7px}.community-thread form{padding:0 16px 16px}.community-thread form>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.community-thread form small{color:#a5a39f}.community-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid #42465f55}#heroMail{position:fixed;right:20px;bottom:24px;z-index:45;width:56px;height:52px;display:flex;align-items:center;justify-content:center;color:#e7d39d;background:linear-gradient(#2f313f,#141622);border:1px solid #a2905e;border-radius:10px;box-shadow:0 5px 20px #0008;cursor:pointer}#heroMail[hidden]{display:none!important}#heroMail>span{font-size:26px}#heroMail>b{position:absolute;top:-7px;right:-7px;border-radius:15px;min-width:22px;padding:3px;background:#474955;color:#e6e9cf;font-size:11px}#heroMail.has-unread>b{background:#e4bd69;color:#171820;box-shadow:0 0 16px #d8b35d55}
.material-vault{padding:20px;background:linear-gradient(130deg,#1c1d27,#10181d);border:1px solid #52577747;border-radius:10px;margin:16px 0;color:#dfddda}.material-vault>header{display:flex;justify-content:space-between;gap:16px;align-items:center}.material-vault h2{font:26px Georgia,serif;color:#e7d5a9;margin:8px 0}.material-vault p{font-size:13px;color:#b3b1ac;line-height:1.6}.material-vault-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.material-stack{border:1px solid #4d506266;border-radius:7px;padding:14px;background:#0d0f1ab5;min-width:0}.material-stack h3{font:18px Georgia,serif;color:#e7dac2;margin:4px 0 8px}.material-stack small{color:#b0aca6;font-size:11px}.material-stack-counts{display:flex;justify-content:space-between;gap:10px;margin:12px 0}.material-stack-counts span{display:flex;flex-direction:column;font-size:10px;color:#a9a6a0}.material-stack-counts b{font-size:22px;color:#ecdba9;margin-top:3px}.material-stack-actions{display:flex;gap:6px;flex-wrap:wrap}.material-stack-actions button{flex:1;padding:8px!important;font-size:11px!important}.material-vault-tools{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.material-vault input{min-height:44px;background:#0c0d16;border:1px solid #575a6f;color:#eee;padding:10px;max-width:100%;font-size:16px}.equipment-transfer{position:relative;min-width:0;display:flex;flex-direction:column;gap:5px}.equipment-transfer>button:last-child{font-size:10.5px!important;padding:6px 3px!important;min-height:36px!important;line-height:1.2}.equipment-transfer>.item-slot{width:100%;flex:1}.equipment-transfer.is-equipped>small{min-height:36px;display:grid;place-items:center;font-size:10.5px;color:#b3ada4}
@media(max-width:700px){.community-banner{padding:20px}.community-hero{grid-template-columns:46px minmax(0,1fr);gap:10px;padding:12px}.community-hero>img{width:46px;height:60px}.community-hero-actions{grid-column:1/-1}.community-hero-actions>button{flex:1}.community-tabs button{font-size:11px!important;padding:10px 6px!important}.community-links>button{flex:1}.community-thread>header{padding:12px;gap:10px}.community-thread-list{max-height:38dvh;min-height:160px;padding:10px}.community-thread form{padding:0 12px 12px}.community-thread form small{font-size:10px}.hero-message{max-width:90%;padding:10px 12px}#heroMail{bottom:calc(86px + env(safe-area-inset-bottom));right:12px;width:46px;height:46px;z-index:35}.material-vault{padding:14px}.material-vault>header{display:block}.material-vault-grid{grid-template-columns:1fr}.material-vault-tools>button{flex:1}.material-vault-tools>input{flex-basis:100%;width:100%}}
@media(prefers-reduced-motion:reduce){.hero-community *{scroll-behavior:auto!important}}

@media(max-width:700px){.equipment-transfer>button:last-child{min-height:44px!important}}

.hero-community.has-thread .community-banner{display:none}.hero-community.has-thread .community-tabs{margin-top:0}
body[data-view="social"] #heroMail{display:none!important}
