.legacy-seats { min-width: 0; }
.council-roster > header { align-self: start; }
.legacy-terms { margin: 20px 0 12px; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.legacy-banner-list { display: grid; gap: 12px; min-width: 0; }
/* Reuse the Council's card grid, padding, typography and mobile breakpoint. */
.legacy-banner { --house: #b88bff; width: 100%; text-align: left; }
.legacy-banner[data-color="gold"] { --house: #ffbd4a; }
.legacy-banner[data-color="green"] { --house: #61ff89; }
.legacy-banner[data-color="cyan"] { --house: #35d4ff; }
.alliance-member-sigil.is-player-house { border-color: var(--house,#b88bff); }
.alliance-member-sigil.is-player-house:not(.is-dgendao):not(.is-oddsbuilder):not(.is-sweaty-sharpe):not(.is-knights-of-degen) img { inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.alliance-member-sigil.is-knights-of-degen img { inset: 3%; width: 94%; height: 94%; object-fit: contain; }
.seven-ribbon-seat.is-knights-of-degen img { object-fit: contain; }
.legacy-banner .council-holder-status { color: var(--muted); font-size: .7rem; line-height: 1.5; }
.legacy-banner .alliance-member-copy { overflow-wrap: anywhere; }
.legacy-banner:disabled { cursor: default; }
.legacy-banner:disabled:hover { transform: none; }
.legacy-banner-holder { display: grid; gap: 10px; min-width: 0; }
.legacy-banner-holder .secondary-btn { font-size: .875rem; }
.legacy-hall-footer { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.legacy-hall-footer p { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.legacy-hall-footer button { flex-shrink: 0; font-size: .875rem; }
.legacy-account { margin-top: 12px; padding: 16px; border-left: 2px solid var(--amber); background: #ffbd4a08; font-size: .875rem; line-height: 1.6; }
.legacy-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.legacy-dialog { width: min(580px,calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; padding: clamp(20px,4vw,30px); border: 1px solid var(--amber); color: var(--text); background: #10121a; }
.legacy-dialog::backdrop { background: #030509c9; }
.legacy-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.legacy-dialog h2 { font-size: 2rem; margin-bottom: 16px; }
.legacy-dialog p { font-size: .875rem; line-height: 1.6; }
.legacy-dialog label { display: block; margin: 14px 0 7px; font-size: .875rem; font-weight: 700; }
.legacy-dialog label small { font-size: .8rem; font-weight: 400; }
.legacy-dialog input:not([type="checkbox"]),.legacy-dialog select { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line-strong); color: var(--text); background: #080a11; font-size: 1rem; }
.legacy-appearance { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.legacy-dialog .legacy-consent { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #ffbd4a55; font-size: .875rem; font-weight: 500; line-height: 1.6; }
.legacy-consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber); }
.legacy-dialog-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#legacyBannerFormStatus { min-height: 1.5em; color: var(--amber); }
.legacy-picture { margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.legacy-picture[hidden] { display: none; }
.legacy-picture h3 { margin: 0 0 14px; font-size: 1rem; }
.legacy-picture-body { display: grid; grid-template-columns: 96px minmax(0,1fr); align-items: start; gap: 16px; }
.legacy-picture-preview { margin: 0; }
.legacy-picture-preview img { display: block; width: 96px; height: 96px; object-fit: contain; padding: 6px; border: 1px solid var(--line-strong); background: #080a11; }
.legacy-picture-preview figcaption { margin-top: 6px; color: var(--muted); font-size: .7rem; line-height: 1.4; text-align: center; }
.legacy-picture-controls { min-width: 0; }
.legacy-dialog .legacy-picture-controls label { margin-top: 0; }
.legacy-dialog .legacy-picture-controls input[type="file"] { min-width: 0; padding: 7px; font-size: .8rem; }
.legacy-picture-controls input::file-selector-button { min-height: 30px; margin-right: 8px; border: 1px solid var(--line-strong); padding: 4px 8px; color: var(--text); background: #202333; cursor: pointer; }
.legacy-dialog .legacy-picture-help { margin: 8px 0 12px; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.legacy-picture-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.legacy-picture-actions button { min-height: 40px; padding: 9px 12px; font-size: .8rem; }
.legacy-dialog .legacy-picture-status { min-height: 1.5em; margin: 12px 0 0; color: var(--amber); font-size: .8rem; }
@media(max-width:380px) { .legacy-picture-body { grid-template-columns: 76px minmax(0,1fr); gap: 12px; } .legacy-picture-preview img { width: 76px; height: 76px; } }
@media(max-width:560px) { .legacy-hall-footer { flex-wrap: wrap; } .legacy-appearance { grid-template-columns: 1fr; } }
