/* Community windows follow the compact JX table and inventory layout. */
.hall-entry{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:6px 0;padding:6px 8px;border:1px solid #64614c;background:linear-gradient(#30332a,#191c16);font-size:12px;color:#e8ddb8}
.hall-entry strong{font-size:12px;white-space:nowrap}.hall-entry button{padding:5px 8px;border:1px solid #898267;background:linear-gradient(#4e563e,#242e1f);color:#ecd99e;font:inherit;min-height:32px;border-radius:2px}
#gameHallButton{font:inherit;font-size:11px;padding:3px 7px;color:#ead69a;border:1px solid #7d7960;border-radius:2px;background:#2b3023;min-height:30px}
#gameHallDialog{width:min(560px,calc(100vw - 20px));padding:12px}
#gameHallDialog .hall-tabs{display:flex;gap:2px;margin:0 0 9px;border-bottom:1px solid #817b61;padding:0 0 0 2px}
#gameHallDialog .hall-tabs button{flex:0 1 auto;padding:5px 14px;min-height:32px;border-radius:3px 3px 0 0;border-bottom:0;background:linear-gradient(#414538,#22261d);color:#cfc6a7}
#gameHallDialog .hall-tabs button[aria-pressed=true]{background:linear-gradient(#807044,#3e361f);color:#ffe28a;border-color:#bdab6c;box-shadow:inset 0 1px #d9cb9155}
#gameHallDialog .hall-filters{display:flex;gap:6px;margin:0 0 8px}
#gameHallDialog .hall-filters label{display:flex;flex-direction:column;flex:1;min-width:0;gap:2px;font-size:10px;color:#a9a68f}
#gameHallDialog select{width:100%;padding:5px 7px;min-height:32px;background:#090e0b}
#gameHallDialog .hall-note{font-size:11px;color:#a5a58f;line-height:1.45;margin:7px 0}
#gameHallStatus,#gameHallPreferenceStatus{color:#e4c97a;font-size:12px;margin:6px 0}#gameHallStatus:empty,#gameHallPreferenceStatus:empty{display:none}
.hall-rank-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:4px 0;color:#e8e0c4;font-size:12px}
.hall-rank-table th,.hall-rank-table td{border:1px solid #454838;padding:3px 7px;overflow-wrap:anywhere;text-align:left;vertical-align:middle}
.hall-rank-table th{background:linear-gradient(#30372c,#1b241d);color:#c8c6a8;font-weight:400;font-size:11px}
.hall-rank-table th:first-child{width:32px}.hall-rank-table th:nth-child(2){width:43%}.hall-rank-table th:last-child{width:68px}
.hall-rank-table tbody tr{background:#0c1511}.hall-rank-table tbody tr:nth-child(even){background:#171e17}.hall-rank-table tbody tr:hover{background:#303022}
.hall-rank-table .hall-place{text-align:center;color:#bcb492}.hall-rank-table tr:nth-child(-n+3) .hall-place{color:#efd77f;font-weight:bold}
#gameHallDialog .hall-name{display:inline;padding:2px 0;min-height:22px;border:0;background:none;box-shadow:none;text-shadow:none;color:#f4d174;font:inherit;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer;border-radius:0;line-height:1.4}
#gameHallDialog .hall-name:hover{text-decoration:underline;color:#ffebac}.hall-identity small{display:block;color:#8bbaad;font-size:10px}.hall-faction{font-size:11px;color:#c2c4a4}.hall-score{font-variant-numeric:tabular-nums;color:#f2df9d}
#gameHallDialog .hall-empty{color:#969d8b;font-size:12px;padding:20px 8px;text-align:center;line-height:1.5}
#gameHallPreference{border-top:1px solid #4c4f3d;margin-top:10px;padding-top:5px}#gameHallPreference label{display:flex;align-items:center;gap:7px;min-height:30px;font-size:11px;color:#d4d0b1}
#gameHallOptIn{width:15px;height:15px;accent-color:#a6965c}#gameHallPreference .hall-note{font-size:10px;margin:0 0 3px;color:#969e8a}#gameHallLogin{margin-top:8px;width:100%}
#gameHallSearch{display:flex;gap:5px;margin:7px 0}#gameHallQuery{flex:1;min-width:0;padding:5px 7px}#gameHallEdit{margin:0;min-height:30px}
#gameHallListings{display:flex;flex-direction:column;gap:7px}.hall-listing{border:1px solid #4e523d;background:#0c1510;padding:7px;min-width:0}
#gameHallDialog .hall-listing header{display:flex;justify-content:space-between;gap:7px;align-items:center;margin:0 0 5px;padding:0;border:0;background:none;box-shadow:none}
.hall-listing header small{font-size:10px;color:#a8ae94}.hall-offers{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.hall-offers>small{font-size:11px;color:#939c8a}
.hall-offer{display:inline-flex;align-items:center;gap:5px;padding:2px 6px 2px 2px;border:1px solid #414b3b;background:#050b08;max-width:100%;font-size:11px;color:#dad5bb;overflow-wrap:anywhere}
.hall-offer img{width:28px;height:30px;object-fit:contain;flex:none}.hall-offer[data-rarity='1']{color:#89c3ff}.hall-offer[data-rarity='2']{color:#efd66d}.hall-offer[data-rarity='3']{color:#d69cff}.hall-offer[data-rarity='4']{color:#ffb663}.hall-offer[data-rarity='5']{color:#c8f4ff}
.hall-wanted{font-size:11px;color:#beb89a;margin:6px 0 0;padding-top:5px;border-top:1px dotted #363e30;white-space:pre-wrap;overflow-wrap:anywhere}.hall-pagination{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-top:8px}.hall-pagination span{font-size:10px;color:#a3aa94}
@media(max-width:480px){#gameHallDialog{padding:10px}.hall-rank-table th,.hall-rank-table td{padding:4px}.hall-rank-table th:first-child{width:24px}.hall-rank-table th:nth-child(2){width:41%}.hall-rank-table th:last-child{width:48px}.hall-rank-table{font-size:11px}.hall-faction{font-size:10px}#gameHallDialog .hall-name{min-height:36px}#gameHallDialog .hall-tabs button{flex:1;padding:5px;font-size:11px;white-space:nowrap;min-height:38px}#gameHallDialog select,#gameHallDialog input[type=search]{min-height:38px}.hall-listing header{flex-wrap:wrap}.hall-entry{flex-wrap:wrap}.hall-entry button{flex:1;min-height:36px}}
