/* PG Legion Data – block styles (Imperial look; fonts come from the pg-imperial theme) */
.pgl-hud { font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8f969e; }
.pgl-red { color: #ff5a62; }
.pgl-red-t { color: #b30f17 !important; }
.pgl-note { margin: 10px 0 0; font-family: 'Chakra Petch', sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7d848c; }
.pgl-note--light { color: #5a5e66; }
.pgl-noimg { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed #4a4f56; color: #8f969e; font-family: 'Chakra Petch', sans-serif; font-size: 11px; letter-spacing: .16em; padding: 12px; box-sizing: border-box; }

/* stats bar */
.pgl-stats { background: rgba(10,11,13,.9); border-top: 1px solid #2c3036; }
.pgl-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pgl-stats__cell { padding: 18px 20px; border-left: 1px solid #2c3036; display: flex; flex-direction: column; gap: 2px; }
.pgl-stats__cell:last-child { border-right: 1px solid #2c3036; }
.pgl-stats__val { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 30px; line-height: 1.15; color: #fff; }
.pgl-stats__val small { font-size: 18px; color: #aeb4bb; font-weight: 700; }
.pgl-stats .pgl-note { margin: 0; padding: 0 0 10px; }

/* carousel */
.pgl-carousel__bar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 18px; }
.pgl-carousel__pos { color: #3a3d42; font-size: 15px; letter-spacing: .16em; min-width: 90px; text-align: right; }
.pgl-arrow { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: #15171a; color: #fff; border: 1px solid #15171a; cursor: pointer; }
.pgl-arrow:hover:not(:disabled) { background: #c4111a; border-color: #c4111a; }
.pgl-arrow:disabled { background: #d4d7db; border-color: #d4d7db; color: #6d737b; cursor: default; }
.pgl-arrow:focus-visible, .pgl-chip:focus-visible, .pgl-des__row:focus-visible { outline: 2px solid #e0141e; outline-offset: 2px; }
.pgl-carousel__viewport { overflow: hidden; }
.pgl-carousel__track { list-style: none; margin: 0; padding: 0 0 30px; display: flex; gap: 20px; transition: transform .45s ease; }
.pgl-carousel__item { flex: 0 0 260px; display: flex; }
@media (max-width: 600px) { .pgl-carousel__item { flex-basis: 78vw; } }
.pgl-file { flex: 1; text-decoration: none; color: #111214; background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 0 #c9cdd2, 0 12px 28px rgba(17,18,20,.08); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.pgl-file:hover .pgl-file__name { color: #b30f17; }
.pgl-file__head { display: flex; justify-content: space-between; padding: 9px 14px; background: #15171a; color: #c3c8ce; font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .18em; }
.pgl-file__img { height: 320px; display: flex; align-items: center; justify-content: center; padding: 14px; box-sizing: border-box; background: linear-gradient(180deg, #2a2e34 0%, #15171a 100%); }
.pgl-file__img img { max-width: 100%; max-height: 292px; width: auto; height: auto; display: block; }
.pgl-file__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid #c4111a; flex: 1 1 auto; }
.pgl-file__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 25px; line-height: 1; text-transform: uppercase; }
.pgl-file__meta { font-size: 15px; color: #4a4e55; }

/* dark panels: officers + members */
.pgl-officers, .pgl-members__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.pgl-members__grid > li { display: flex; }
.pgl-panel { flex: 1; text-decoration: none; color: #fff; background: #121417; border: 1px solid #3a3f46; display: flex; flex-direction: column; }
a.pgl-panel:hover { border-color: #e0141e; }
.pgl-panel__head { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; background: #0b0c0e; border-bottom: 2px solid #e0141e; font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .16em; color: #aeb4bb; }
.pgl-panel__img { height: 236px; display: flex; align-items: center; justify-content: center; padding: 12px; box-sizing: border-box; background: linear-gradient(180deg, #1d2024 0%, #0e0f11 100%); }
.pgl-panel__img img { max-height: 210px; max-width: 100%; width: auto; display: block; }
.pgl-panel__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pgl-panel__name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; }
.pgl-panel__meta { font-size: 15px; color: #aeb4bb; }
.pgl-badge { font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .16em; background: #e0141e; color: #fff; padding: 4px 8px; }

.pgl-members__tools { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.pgl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pgl-chip { font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 11px 16px; border: 1px solid #3a3f46; background: #121417; color: #c3c8ce; cursor: pointer; }
.pgl-chip:hover { border-color: #e0141e; color: #fff; }
.pgl-chip[aria-pressed="true"] { background: #e0141e; border-color: #e0141e; color: #fff; }
.pgl-search { flex: 0 1 360px; min-width: 240px; display: flex; flex-direction: column; gap: 6px; }
.pgl-search input { padding: 13px 14px; font: inherit; font-size: 17px; background: #121417; color: #fff; border: 1px solid #3a3f46; border-radius: 0; }
.pgl-search input:focus { outline: 2px solid #e0141e; outline-offset: 1px; }
.pgl-members__none { color: #aeb4bb; font-size: 18px; }
.pgl-members__foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; border-top: 1px solid #2c3036; padding-top: 22px; margin-top: 26px; color: #aeb4bb; }
.pgl-btn-ghost { color: #fff; background: transparent; border: 2px solid #e8eef2; padding: 12px 24px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.pgl-btn-ghost:hover { background: #e8eef2; color: #0b0c0e; }
.pgl-btn-ghost[hidden], .pgl-members__grid > li[hidden] { display: none; }

/* designations */
.pgl-des { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.pgl-des__list { flex: 1 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pgl-des__row { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) 54px; gap: 14px; align-items: center; padding: 9px 12px; background: transparent; border: 1px solid transparent; cursor: pointer; text-align: left; color: #111214; font: inherit; }
.pgl-des__row:hover { background: #fff; }
.pgl-des__row[aria-pressed="true"] { background: #fff; border-color: #c4111a; }
.pgl-des__code { font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .12em; color: #b30f17; }
.pgl-des__mid { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pgl-des__name { font-size: 17px; font-weight: 600; }
.pgl-des__name em { font-style: normal; font-weight: 400; color: #5a5e66; }
.pgl-des__bar { height: 8px; background: #d4d7db; display: block; }
.pgl-des__bar span { height: 8px; background: #c4111a; display: block; }
.pgl-des__n { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; text-align: right; }
.pgl-des__card { flex: 0 1 380px; min-width: 280px; position: sticky; top: 24px; background: #15171a; color: #fff; display: flex; flex-direction: column; border-top: 3px solid #e0141e; }
.pgl-des__card .pgl-panel__head { background: #15171a; border-bottom: 1px solid #2c3036; }
.pgl-des__card b { font-weight: 600; }
.pgl-des__img { height: 380px; display: flex; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; background: linear-gradient(180deg, #2a2e34 0%, #0e0f11 100%); }
.pgl-des__img img { max-height: 344px; max-width: 100%; width: auto; display: block; }
.pgl-des__img [hidden] { display: none; }
.pgl-des__cardname { padding: 18px 18px 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 1; }
.pgl-des__link { padding: 6px 18px 20px; font-family: 'Chakra Petch', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #ff5a62; text-decoration: none; }

/* squads */
.pgl-squads { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.pgl-squad { background: #fff; padding: 26px; display: flex; flex-direction: column; gap: 8px; border-left: 4px solid #c4111a; box-shadow: 0 1px 0 #c9cdd2; color: #3a3d42; font-size: 17px; }
.pgl-squad strong { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 1; color: #111214; }
