/* Only card and management surfaces; no pitch actors or gameplay styles. */
.team-view-tabs { display:flex; gap:10px; margin:18px 0; }
.team-view-tabs button { flex:1; padding:12px; border:1px solid #8b7956; border-radius:9px; background:#11283d; color:#d3deea; font:inherit; }
.team-view-tabs [aria-selected="true"] { background:#3b3c32; color:#ffe2a0; border-color:#e5bd66; }
#team-squad-panel[hidden], #team-catalog-panel[hidden] { display:none; }
.catalog-progress { padding:16px; border:1px solid #bda15a55; border-radius:10px; color:#ffe2a0; line-height:1.9; background:#091a2b; }
.catalog-filters { grid-template-columns:repeat(4,minmax(0,1fr)); }
.catalog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(145px,1fr)); gap:14px; }
.catalog-card { padding:18px 10px; min-height:230px; }
.catalog-card span { font-size:12px; line-height:1.7; }
.catalog-card[data-rarity="common"] { --catalog-edge:#a4b2bf; --catalog-top:#435363; --catalog-base:#1a2939; }
.catalog-card[data-rarity="rare"] { --catalog-edge:#5caef0; --catalog-top:#285b85; --catalog-base:#102b46; }
.catalog-card[data-rarity="epic"] { --catalog-edge:#b085e8; --catalog-top:#654186; --catalog-base:#2c2044; }
.catalog-card[data-rarity="legendary"] { --catalog-edge:#e0bd62; --catalog-top:#806124; --catalog-base:#382b16; }
.team-screen .catalog-card:disabled { opacity:1; background:linear-gradient(145deg,var(--catalog-top),var(--catalog-base) 80%); color:#c3cbd3; border-color:var(--catalog-edge); filter:brightness(.88); }
.catalog-card[data-collected="false"] .star-silhouette { filter:brightness(.3); }
.catalog-lock { position:absolute; top:9px; right:9px; display:grid; place-items:center; width:26px; height:26px; border:1px solid var(--catalog-edge); border-radius:50%; background:#07131fbb; }
.catalog-card small { font-size:11px; }
.star-portrait { position:relative; display:inline-block; width:84px; height:96px; overflow:hidden; flex-shrink:0; vertical-align:middle; }
.star-silhouette { position:absolute; inset:0; display:grid; place-items:center; background:url('assets/players/silhouette.svg') center bottom/contain no-repeat; color:#e8edf1; font-size:32px !important; font-weight:bold; padding-top:25px; }
.star-portrait img { width:100%; height:100%; object-fit:cover; object-position:center 20%; }
.star-portrait[data-photo-id="pool-r-morata"] img { transform:scale(2); transform-origin:50% 12%; object-position:center top; }
.player-photo-credits { display:inline-block; margin:0 0 14px; color:#d7bd83; font-size:12px; line-height:1.8; text-underline-offset:3px; }
.star-portrait [hidden] { display:none; }
.player-card > .star-portrait { width:70px; height:82px; }
.pack-avatar:has(.star-portrait) { display:block; width:110px; height:112px; margin:8px auto; background:none; border:0; border-radius:0; }
.pack-avatar .star-portrait { width:100%; height:100%; }
.pack-summary-grid .star-portrait { justify-self:center; width:65px; height:76px; }
.star-bio { color:#b7c8d8; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.star-bio a { color:#e6c983; }
.star-dialog { width:min(480px,calc(100vw - 36px)); max-height:85vh; box-sizing:border-box; overflow:auto; border:1px solid #d0ab5e; border-radius:16px; padding:24px; color:#eaf0f5; background:linear-gradient(135deg,#1b344e,#091727); text-align:center; }
.star-dialog::backdrop { background:#020b17c9; }
.star-dialog > button { display:block; margin-left:auto; padding:8px 16px; color:#ffe2a0; background:#20384b; border:1px solid #aa925e; border-radius:6px; cursor:pointer; }
.star-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.star-stats > div { padding:10px; background:#213b50; border-radius:6px; }
.star-stats dt { font-size:12px; color:#b7c8d8; }.star-stats dd { margin:6px 0 0; font-size:23px; color:#ffe2a0; }
.pack-profile-button { padding:8px 14px; color:#ffe2a0; border:1px solid #bd9b56; border-radius:6px; background:#152b40; cursor:pointer; }
@media(max-width:540px) { .catalog-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .catalog-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; } .catalog-card { min-height:210px; } }
