.ug-shell{display:grid;gap:13px}.ug-head{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #315b43;padding-bottom:12px}.ug-head small,.ug-placeholder>small{color:#35ff69;letter-spacing:2px}.ug-head h2{margin:3px 0;color:#e4ebe7}.ug-head h2 span{color:#35ff69}.ug-head p{color:#9faaa4}.ug-level{display:grid;text-align:right;align-content:start}.ug-level b{font-size:34px;color:#aef0c5}.ug-level span{color:#8fa49a}.ug-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ug-nav button.active{border-color:#35ff69!important;color:#aef0c5!important;box-shadow:0 0 10px #35ff6944}.ug-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.ug-stat-grid article,.ug-panel{border:1px solid #315b43;background:#010403;padding:13px}.ug-stat-grid article{display:grid;gap:5px}.ug-stat-grid small{color:#8fa49a;letter-spacing:1px}.ug-stat-grid b{color:#dce5e0;font-size:18px}.ug-panel h3{color:#aef0c5}.ug-log{display:grid;grid-template-columns:150px 1fr auto;gap:10px;padding:7px;border-bottom:1px solid #203b2c}.ug-log small,.ug-members small{color:#8fa49a}.ug-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.ug-members{display:grid;gap:8px}.ug-members article{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;padding:11px;border:1px solid #203b2c;background:#020706}.ug-members article>div:first-child{display:grid;gap:3px}.ug-members article b{color:#e4ebe7}.ug-members article span{color:#aef0c5}.ug-member-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.ug-member-actions select{background:#030705;color:#fff;border:1px solid #738777;padding:8px}.ug-danger{border-color:#9c4c51!important;color:#ff9ba1!important;margin-top:14px}.ug-note{color:#8fa49a}.ug-placeholder{min-height:220px;display:grid;place-content:center;text-align:center}.ug-placeholder h3{font-size:25px;margin:8px}.ug-placeholder p{max-width:650px;color:#aab5af}@media(max-width:900px){.ug-nav,.ug-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ug-members article{grid-template-columns:1fr}.ug-member-actions{justify-content:flex-start}}@media(max-width:560px){.ug-head{display:grid}.ug-level{text-align:left}.ug-nav,.ug-stat-grid{grid-template-columns:1fr}.ug-log{grid-template-columns:1fr}}
/* ===== Unified Guild Phase 2: Resources ===== */
.ug-resource-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:12px}.ug-resource-summary article,.ug-resource-card{border:1px solid #315b43;background:#010403;padding:12px}.ug-resource-summary small{color:#8fa49a;letter-spacing:1px}.ug-resource-summary b{display:block;color:#aef0c5;font-size:20px;margin-top:5px}.ug-resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ug-resource-card{display:flex;justify-content:space-between;align-items:center;gap:12px}.ug-resource-card span{display:grid}.ug-resource-card small{color:#8fa49a}.ug-resource-card strong{color:#d7c36e;font-size:18px}.ug-donation-log{margin-top:12px}.ug-donation-row{display:grid;grid-template-columns:150px 1fr auto;gap:10px;padding:7px;border-bottom:1px solid #203b2c}.ug-donation-row small{color:#8fa49a}.ug-permanent{border:1px solid #9c4c51;background:#170406;color:#efb5b8;padding:11px;margin-bottom:12px}.ug-permanent b{letter-spacing:1px}@media(max-width:700px){.ug-resource-summary,.ug-resource-list{grid-template-columns:1fr}.ug-donation-row{grid-template-columns:1fr}}
/* ===== Unified Guild Phase 3: Buildings ===== */
.ug-building-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.ug-building-head p{color:#8fa49a}.ug-buildings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ug-building{border:1px solid #315b43;background:#010403;padding:13px;display:grid;gap:9px}.ug-building.locked{opacity:.7;border-color:#4d4d4d}.ug-building header{display:flex;justify-content:space-between;gap:10px}.ug-building header div{display:grid}.ug-building header small{color:#35ff69;letter-spacing:1px}.ug-building header strong{color:#d7c36e}.ug-building-bonus{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ug-building-bonus div{border:1px solid #203b2c;padding:8px}.ug-building-bonus small{display:block;color:#8fa49a}.ug-costs{display:grid;gap:5px}.ug-cost{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:5px;border-bottom:1px solid #203b2c}.ug-cost .enough{color:#aef0c5}.ug-cost .short{color:#ff9ba1}.ug-building button:disabled{opacity:.45;cursor:not-allowed}.ug-unlock{color:#ffcf72}.ug-building-note{color:#8fa49a;font-size:12px}@media(max-width:800px){.ug-buildings{grid-template-columns:1fr}.ug-building-bonus{grid-template-columns:1fr}}
