/* Player / student area — structural styles only; visual tokens live in site.css */
.player-body{background-image:linear-gradient(180deg,rgba(2,8,16,.82),rgba(2,8,16,.97)),url("./site-background.jpg")}
.player-wrap{width:min(var(--max-wide),calc(100% - 40px));margin:0 auto;padding:44px 0 70px}.player-header-inner{width:min(var(--max-wide),calc(100% - 40px));margin:0 auto}
.player-hero{display:flex;justify-content:space-between;align-items:end;gap:28px;padding:38px 0 30px;border-bottom:1px solid var(--line)}.player-hero h1{margin:0;font-size:clamp(34px,5vw,56px);letter-spacing:-.04em;line-height:1}.player-hero p{max-width:720px;margin:13px 0 0;color:var(--muted)}
.player-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);gap:18px;margin-top:18px}.player-panel{padding:22px}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-heading h2{margin:0;font-size:20px;letter-spacing:-.02em}.panel-heading p{margin:4px 0 0;color:var(--soft);font-size:11px}
.status-badge{display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:999px;border:1px solid var(--line-strong);font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;white-space:nowrap}.status-analysis{color:#e5f1f4;background:rgba(91,156,193,.12);border-color:rgba(91,156,193,.34)}.status-approved{color:#e6ffd0;background:rgba(168,255,18,.09);border-color:rgba(168,255,18,.35)}.status-change{color:#f1f7a2;background:rgba(215,227,95,.09);border-color:rgba(215,227,95,.3)}.status-draft{color:#c6d4db;background:rgba(255,255,255,.05)}
.cards-list{display:grid;gap:14px}.ficha-student-card{display:grid;grid-template-columns:180px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,rgba(14,41,59,.95),rgba(3,15,27,.98));box-shadow:inset 0 1px rgba(255,255,255,.08),0 14px 40px rgba(0,0,0,.2)}.ficha-student-photo{width:100%;height:100%;min-height:230px;object-fit:cover;background:#071827}.ficha-student-content{min-width:0;padding:19px}.ficha-student-name{margin:0;color:#fff;font-size:23px;line-height:1.15}.ficha-student-origin{margin-top:5px;color:var(--soft);font-size:11px}.identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.identity-cell{min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.025)}.identity-cell small{display:block;color:var(--soft);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.identity-cell strong{display:block;margin-top:3px;color:#eef5f8;font-size:10px;overflow-wrap:anywhere}.student-quote{margin-top:12px;padding:11px;border-left:2px solid var(--neon);color:var(--muted);font-size:10px;line-height:1.6}.student-footer{display:flex;justify-content:space-between;gap:10px;margin-top:13px;color:#657a86;font-size:8px;font-weight:900;letter-spacing:.12em}.card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.draft-list{display:grid;gap:8px}.draft-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025)}.draft-item strong{display:block;font-size:12px}.draft-item small{display:block;color:var(--soft);font-size:9px;line-height:1.45;margin-top:3px}.draft-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}.draft-actions .player-button{min-height:38px;padding:8px 11px;font-size:9px}.player-button.danger{font-size:9px}
@media(max-width:900px){.player-grid{grid-template-columns:1fr}.player-hero{align-items:flex-start;flex-direction:column}.ficha-student-card{grid-template-columns:145px minmax(0,1fr)}}
@media(max-width:620px){.player-wrap{width:calc(100% - 24px);padding-top:28px}.player-header-inner{width:calc(100% - 24px)}.player-hero{padding:28px 0}.player-grid{gap:12px}.player-panel{padding:15px}.panel-heading{align-items:flex-start;flex-direction:column}.ficha-student-card{grid-template-columns:1fr}.ficha-student-photo{height:min(64vw,300px);min-height:0}.identity-grid{grid-template-columns:1fr 1fr}.draft-item{align-items:stretch;flex-direction:column}.draft-actions{justify-content:flex-start}.draft-actions>*{flex:0 1 auto}}
@media(max-width:380px){.identity-grid{grid-template-columns:1fr}.ficha-student-content{padding:15px}.ficha-student-name{font-size:20px}}

/* Official Auradon student identification */
.official-student-card{display:grid;grid-template-columns:220px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:20px;background:linear-gradient(145deg,rgba(11,35,53,.97),rgba(2,12,22,.99));box-shadow:inset 0 1px rgba(255,255,255,.09),0 22px 55px rgba(0,0,0,.3);position:relative}
.official-student-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0 62%,rgba(168,255,18,.045) 63%,transparent 72%)}
.official-student-photo-wrap{min-height:260px;background:linear-gradient(145deg,#102e45,#041321);border-right:1px solid var(--line);position:relative}
.official-student-photo{width:100%;height:100%;min-height:260px;display:block;object-fit:cover;object-position:center}
.official-student-body{min-width:0;padding:22px;position:relative;z-index:1}
.official-student-kicker{color:var(--neon);font-size:8px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.official-student-name{margin:6px 0 10px;color:#fff;font-size:clamp(22px,3vw,30px);line-height:1.1;overflow-wrap:anywhere}
.official-rga{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:6px 9px;border:1px solid rgba(168,255,18,.28);border-radius:8px;background:rgba(168,255,18,.055)}
.official-rga span{color:var(--soft);font-size:8px;font-weight:900;letter-spacing:.12em}.official-rga strong{color:var(--neon-soft);font-size:11px;letter-spacing:.06em;overflow-wrap:anywhere}
.official-student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:15px}.official-student-grid>div{min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.025)}.official-student-grid .official-wide{grid-column:1/-1}.official-student-grid small{display:block;color:var(--soft);font-size:8px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.official-student-grid strong{display:block;margin-top:3px;color:#eef5f8;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.official-alignment{display:inline-flex;margin-top:12px;padding:7px 11px;border-radius:999px;border:1px solid var(--line-strong);font-size:10px;font-weight:900;letter-spacing:.04em}.official-alignment.royal{color:#f2f7ff;background:rgba(117,161,255,.09);border-color:rgba(117,161,255,.35)}.official-alignment.rebel{color:var(--neon-soft);background:rgba(168,255,18,.07);border-color:rgba(168,255,18,.3)}
.official-student-footer{display:flex;justify-content:space-between;gap:10px;margin-top:17px;padding-top:11px;border-top:1px solid var(--line);color:#667d89;font-size:8px;font-weight:900;letter-spacing:.12em}
@media(max-width:800px){.official-student-card{grid-template-columns:170px minmax(0,1fr)}.official-student-photo-wrap,.official-student-photo{min-height:240px}}
@media(max-width:620px){.official-student-card{grid-template-columns:1fr}.official-student-photo-wrap,.official-student-photo{height:min(70vw,320px);min-height:0}.official-student-body{padding:17px}.official-student-grid{grid-template-columns:1fr}.official-student-grid .official-wide{grid-column:auto}.official-student-footer{font-size:7px}}
@media(max-width:380px){.official-student-photo-wrap,.official-student-photo{height:260px}.official-student-body{padding:15px}.official-student-name{font-size:22px}}
.official-alignment.unknown{color:var(--muted);background:rgba(255,255,255,.035);border-color:var(--line)}

/* Global footer sizing */
.site-footer,.site-disclaimer-footer,.footer,.admin-footer{font-size:12px!important;line-height:1.55;}
.site-footer p,.site-disclaimer-footer p,.footer p,.admin-footer p{font-size:12px!important;}

/* Official student directory: uniform identification cards */
.students-page #list.player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;}
.students-page .official-student-card{width:100%;height:auto;aspect-ratio:1.64/1;min-height:0;grid-template-columns:35% minmax(0,65%);box-sizing:border-box;}
.students-page .official-student-photo-wrap{height:100%;min-height:0;overflow:hidden;}
.students-page .official-student-photo{height:100%;min-height:0;width:100%;object-fit:cover;object-position:center;}
.students-page .official-student-body{height:100%;min-height:0;box-sizing:border-box;padding:clamp(14px,1.4vw,20px);display:flex;flex-direction:column;overflow:hidden;}
.students-page .official-student-kicker{flex:0 0 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.students-page .official-student-name{flex:0 0 auto;font-size:clamp(17px,1.45vw,24px);line-height:1.08;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;margin:5px 0 7px;}
.students-page .official-rga{flex:0 0 auto;max-width:100%;box-sizing:border-box;overflow:hidden;}
.students-page .official-rga strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.students-page .official-student-grid{flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px;}
.students-page .official-student-grid>div{padding:7px;min-width:0;overflow:hidden;}
.students-page .official-student-grid small{font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.students-page .official-student-grid strong{font-size:9px;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;}
.students-page .official-alignment{align-self:flex-start;flex:0 0 auto;margin-top:8px;padding:5px 9px;font-size:9px;}
.students-page .official-student-footer{margin-top:auto;padding-top:7px;font-size:6px;line-height:1;white-space:nowrap;overflow:hidden;}

@media(max-width:1120px){
  .students-page #list.player-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:700px){
  .students-page #list.player-grid{grid-template-columns:1fr;gap:14px;}
  .students-page .official-student-card{aspect-ratio:1.58/1;grid-template-columns:34% minmax(0,66%);}
  .students-page .official-student-body{padding:14px;}
  .students-page .official-student-name{font-size:clamp(18px,5vw,22px);}
}
@media(max-width:420px){
  .students-page .official-student-card{aspect-ratio:1.48/1;grid-template-columns:32% minmax(0,68%);}
  .students-page .official-student-body{padding:11px;}
  .students-page .official-student-kicker{font-size:6px;letter-spacing:.1em;}
  .students-page .official-student-name{font-size:17px;margin:4px 0 5px;}
  .students-page .official-rga{padding:5px 7px;gap:6px;}
  .students-page .official-rga span,.students-page .official-rga strong{font-size:8px;}
  .students-page .official-student-grid{margin-top:6px;gap:5px;}
  .students-page .official-student-grid>div{padding:6px;}
  .students-page .official-student-grid small{font-size:6px;}
  .students-page .official-student-grid strong{font-size:8px;}
  .students-page .official-alignment{margin-top:6px;padding:4px 7px;font-size:8px;}
}

/* Student ID photos: fixed card area, complete image visible, no cropping. */
.students-page .official-student-photo-wrap{display:grid;place-items:center;background:linear-gradient(145deg,#0b2438,#04111d);}
.students-page .official-student-photo{object-fit:contain!important;object-position:center;background:#06121f;}
