:root{
  --bg:#0b0c10;
  --card:#111319;
  --text:#e8eaed;
  --muted:#a7abb3;
  --line:rgba(255,255,255,.10);
  --link:#8ab4f8;
  --max: 1050px;
  --radius: 18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 600px at 10% 0%, #1a1f2a 0%, var(--bg) 55%);
  line-height:1.55;
}
a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.70);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; gap:14px; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex; gap:12px; align-items:center; min-width: 0;}
.brand img{
  width:46px; height:46px; border-radius:14px; object-fit:cover;
  background: rgba(255,255,255,.08);
  border:1px solid var(--line);
}
.brand .title{display:flex; flex-direction:column; min-width:0}
.brand .title strong{font-size:15.5px; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.brand .title span{font-size:13px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.nav{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end;
}
.nav a{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--text);
  background: rgba(255,255,255,.04);
  font-size:13px;
}
.nav a.active{
  background: rgba(138,180,248,.18);
  border-color: rgba(138,180,248,.35);
}
.hero{padding:26px 0 14px}
.hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  padding:18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:start;
}
h1{margin:0 0 8px; font-size:28px}
.kicker{color:var(--muted); margin:0 0 12px}
.pills{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.pill{
  display:inline-flex; align-items:center;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-size:12.5px;
}
.main{padding:10px 0 48px}
.card{
  border:1px solid var(--line);
  background: rgba(17,19,25,.72);
  border-radius: var(--radius);
  padding:18px;
}
.card + .card{margin-top:14px}
.card h2{margin:0 0 10px; font-size:18.5px}
.card h3{margin:14px 0 6px; font-size:16px}
.card p{margin:10px 0}
.card ul, .card ol{margin:8px 0; padding-left:20px}
.card li{margin:4px 0}
.meta{
  font-size:13px; color:var(--muted);
  border-top:1px solid var(--line);
  margin-top:18px; padding-top:12px;
}
.grid-2{
  display:grid; grid-template-columns: 1fr 1fr; gap:14px;
}
.small{font-size:13px; color:var(--muted)}
.table-wrap{overflow:auto}
table{border-collapse:collapse; width:100%}
td,th{border:1px solid var(--line); padding:8px 10px; vertical-align:top}
img{max-width:100%; height:auto}
hr{border:0; border-top:1px solid var(--line); margin:16px 0}
footer{padding:26px 0 40px; color:var(--muted); font-size:13px}
.code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 12.5px;}
.notice{
  padding:10px 12px;
  border:1px dashed rgba(138,180,248,.45);
  border-radius: 14px;
  background: rgba(138,180,248,.10);
  color: var(--text);
}
@media (max-width: 860px){
  .hero-grid{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .nav{justify-content:flex-start}
}

/* ===== Banner ===== */
.site-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background-image: url("images/campus_jussieu_crous.jpg");
  background-size: cover;
  background-position: 30% 85%;
  margin-bottom: 30px;
}
.site-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.site-banner .banner-text {
  position: absolute;
  bottom: 20px;
  left: 40px;
  z-index: 2;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .site-banner { height: 160px; }
  .site-banner .banner-text { font-size: 18px; left: 20px; }
}
/* ===== Profile ===== */
.profile {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}
.profile img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
  background: #e9e9e9;
}

.social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.social-icons .icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  max-height: 24px;
  max-width: 24px;
  width: auto;
  height: auto;
}