:root{
  --bg:#7ea7de;
  --bg2:#8fb7e6;
  --card:#ffffff;
  --card-2:rgba(255,255,255,0.92);
  --ink:#222;
  --muted:#6b7280;
  --line:rgba(0,0,0,0.10);
  --shadow:0 14px 35px rgba(15,23,42,0.22);
  --accent:#2aa6ff;
  --accent2:#10b981;
  --warm:#f59e0b;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ink);
  background:linear-gradient(180deg,var(--bg2),var(--bg));
}

a{color:inherit;text-decoration:none;}
a:hover{text-decoration:underline;}

.container{max-width:1000px;margin:0 auto;padding:0 20px;}

/* ===== Header / Banner ===== */
header.site-header{
  position:relative;
  height:250px;
  background-color:#6f95cc;
  background:
    linear-gradient(180deg, rgba(196,220,248,0.38), rgba(92,128,186,0.42)),
    url("../images/banner.svg?v=20260407a");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}
.site-header .head-inner{padding-top:26px; position:relative; z-index:2;}
.logo-row{color:#fff;text-shadow:0 2px 10px rgba(0,0,0,0.35);}
.logo-row .en{
  font-family: "Times New Roman", serif;
  font-style: italic;
  letter-spacing:0.08em;
  opacity:0.9;
  font-size:18px;
  margin:0 0 6px;
}
.logo-row h1{
  margin:0;
  font-weight:700;
  font-size:22px;
  letter-spacing:0.04em;
}
.logo-row p{
  margin:8px 0 0;
  opacity:0.92;
  font-size:13px;
  line-height:1.6;
  max-width:720px;
}

nav.site-nav{
  position:absolute;
  left:0; right:0;
  bottom:52px;
  z-index:3;
}
nav.site-nav ul{
  list-style:none;
  margin:0 auto;
  padding:0 20px;
  max-width:1000px;
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}
nav.site-nav a{
  color:rgba(255,255,255,0.92);
  font-size:13px;
  padding:6px 10px;
  border-radius:14px;
  transition:all .15s ease;
}
nav.site-nav a:hover{
  text-decoration:none;
  background:rgba(255,255,255,0.14);
}
nav.site-nav a.is-active{
  background:rgba(255,255,255,0.18);
  box-shadow:0 10px 18px rgba(0,0,0,0.15);
}

.ice-bar{
  position:absolute;
  left:0; right:0;
  bottom:-1px;
  height:44px;
  background:linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.65));
  border-top:1px solid rgba(255,255,255,0.35);
  clip-path: polygon(
    0% 0%, 6% 20%, 10% 0%, 16% 30%, 22% 6%, 28% 34%, 34% 8%, 40% 28%, 46% 0%,
    52% 26%, 58% 6%, 64% 30%, 70% 4%, 76% 26%, 82% 6%, 88% 30%, 94% 8%, 100% 0%,
    100% 100%, 0% 100%
  );
}

/* ===== Mainbody ===== */
main#mainbody{padding:18px 0 44px; position:relative;}

.info{
  display:grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap:18px;
  align-items:start;
}

figure.hero-figure{
  margin:0;
  background:var(--card-2);
  border-radius:8px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
figure.hero-figure img{
  width:100%;
  height:280px;
  object-fit:cover;
  object-position: var(--hero-crop-x, 50%) var(--hero-crop-y, 50%);
  display:block;
}
figure.hero-figure figcaption{
  padding:14px 14px 16px;
  font-size:13px;
  line-height:1.75;
  color:#374151;
}
figure.hero-figure figcaption strong{
  display:block;
  margin-bottom:6px;
  color:#111827;
  font-size:15px;
}

.about-card{
  background:var(--card-2);
  border-radius:8px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:16px 16px 14px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.about-card::after{
  content:"“";
  position:absolute;
  right:10px;
  top:-10px;
  font-size:64px;
  color:rgba(0,0,0,0.08);
  font-family:Georgia,serif;
  pointer-events:none;
}
.about-card h2{margin:0 0 10px; font-size:18px;}
.music-title{
  position:relative;
  display:inline-block;
  padding-left:1.2em;
  margin:0 0 12px;
  font-size:22px;
  font-weight:700;
  letter-spacing:3px;
  line-height:1.3;
  color:#2c3e50;
  font-family:"方正清刻本悦宋简体","汉仪瘦金体简","站酷快乐体","思源柔黑体","汉仪小麦体简","站酷小薇LOGO体","Microsoft YaHei",sans-serif;
  text-shadow:
    0 0 1px rgba(255,255,255,0.95),
    0 2px 8px rgba(140,170,210,0.35);
}
.music-title::before{
  content:"❄";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-52%);
  font-size:16px;
  color:#7ea7de;
  text-shadow:0 0 6px rgba(255,255,255,0.8);
}
.music-cover{
  width:100%;
  height:clamp(200px, 32vh, 320px);
  flex:1 1 auto;
  object-fit:cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 35%);
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.10);
  margin:0 0 10px;
  display:block;
}
.about-card p{margin:6px 0; font-size:13px; color:#374151;}

.linkmore{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.linkmore a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
  box-shadow:0 6px 14px rgba(0,0,0,0.08);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.linkmore a:hover{ text-decoration:none; transform:translateY(-2px); box-shadow:0 10px 18px rgba(0,0,0,0.12); filter:brightness(1.02); }
.linkmore svg{width:18px;height:18px;opacity:0.9;}

.blank{height:18px;}

/* ===== Blogs + Aside ===== */
.blogs{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:18px;
  align-items:start;
}

ul.bloglist{list-style:none; padding:0; margin:0;}

.arrow_box{
  position:relative;
  background:var(--card);
  border:1px solid rgba(0,0,0,0.10);
  border-radius:8px;
  box-shadow:var(--shadow);
  padding:16px;
  margin:0 0 16px;
}
.arrow_box::before{
  content:"";
  position:absolute;
  left:-16px;
  top:22px;
  border-width:10px 16px 10px 0;
  border-style:solid;
  border-color:transparent rgba(0,0,0,0.10) transparent transparent;
}
.arrow_box::after{
  content:"";
  position:absolute;
  left:-14px;
  top:22px;
  border-width:10px 16px 10px 0;
  border-style:solid;
  border-color:transparent #fff transparent transparent;
}
.arrow_box .ci{
  position:absolute;
  left:-36px;
  top:24px;
  width:12px;height:12px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow:0 0 0 4px rgba(255,255,255,0.55);
}

.title{margin:0; font-size:18px; font-weight:700; letter-spacing:0.02em;}
.title a{color:#111827;}
.title a:hover{color:#0f4aa7;text-decoration:none;}

.textinfo{
  margin:12px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns: 200px 1fr;
  gap:12px;
  align-items:start;
}
.textinfo img{
  width:100%;
  height:120px;
  object-fit:cover;
  border-radius:6px;
  border:1px solid rgba(0,0,0,0.08);
  display:block;
}
.textinfo p{
  margin:0;
  color:#374151;
  font-size:13px;
  line-height:1.75;
}
.details{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
}
.details a{color:var(--muted);}

.post-nav-right{
  margin:6px 0 0;
  text-align:center;
}
.post-nav-right a{
  display:inline-block;
  padding:10px 14px;
  border-radius:6px;
  background:rgba(255,255,255,0.25);
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  text-shadow:0 2px 8px rgba(0,0,0,0.18);
  box-shadow:0 12px 24px rgba(0,0,0,0.12);
}
.post-nav-right a:hover{ text-decoration:none; filter:brightness(1.03); transform:translateY(-1px); }

/* ===== Graduation Project area ===== */
.gp{
  margin-top:10px;
  display:grid;
  gap:10px;
}
.badges{display:flex; flex-wrap:wrap; gap:8px;}
.badge{
  font-size:12px;
  color:#0f172a;
  background:linear-gradient(135deg, rgba(42,166,255,0.18), rgba(16,185,129,0.18));
  border:1px solid rgba(42,166,255,0.22);
  padding:4px 10px;
  border-radius:999px;
}
.btnrow{display:flex; flex-wrap:wrap; gap:10px;}
.btn{
  border:none;
  cursor:pointer;
  padding:10px 14px;
  border-radius:6px;
  font-weight:700;
  font-size:13px;
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn.primary{
  color:#0b1220;
  background:linear-gradient(135deg, #7dd3fc, #34d399);
  box-shadow:0 10px 20px rgba(34,197,94,0.18);
}
.btn.primary:hover{transform:translateY(-1px);filter:brightness(1.03);}
.btn.ghost{
  color:#0f172a;
  background:#fff;
  border:1px solid rgba(0,0,0,0.12);
  box-shadow:0 10px 18px rgba(0,0,0,0.10);
}
.btn.ghost:hover{transform:translateY(-1px);}

/* ===== Aside modules ===== */
aside.sidebar{position:sticky; top:14px;}
.sidebox{
  background:var(--card-2);
  border:1px solid rgba(0,0,0,0.10);
  border-radius:8px;
  box-shadow:var(--shadow);
  padding:14px;
  margin-bottom:16px;
}
.sidebox h2{
  margin:0 0 10px;
  font-size:15px;
}
.searchform input{
  width:100%;
  padding:10px 12px;
  border-radius:6px;
  border:1px solid rgba(0,0,0,0.12);
  outline:none;
  font-size:13px;
  color:#111827;
  background:#fff;
}
.viny dl{margin:0; display:grid; grid-template-columns: 74px 1fr; gap:10px;}
.viny dt img{
  width:74px;height:74px; border-radius:10px; border:1px solid rgba(0,0,0,0.10); object-fit:cover;
}
.viny dd{margin:0; font-size:12px; color:#374151; line-height:1.6;}
.viny dd strong{color:#111827;}
.viny .music{grid-column: 1 / -1; margin-top:8px;}
.viny audio{width:100%;}

.tuijian ol,.clicks ol{margin:0; padding-left:18px;}
.tuijian li,.clicks li{margin:8px 0; font-size:12px; color:#374151;}
.tuijian a,.clicks a{color:#0f4aa7;}
.toppic ul,.flickr ul{list-style:none; padding:0; margin:0; display:grid; gap:10px;}
.toppic li a{display:grid; grid-template-columns: 80px 1fr; gap:10px; align-items:center;}
.toppic img{width:80px;height:54px;border-radius:8px;border:1px solid rgba(0,0,0,0.10);object-fit:cover;}
.toppic p{margin:2px 0 0; font-size:12px; color:var(--muted);}

.visitors dl{margin:0 0 12px; display:grid; grid-template-columns: 44px 1fr; gap:10px;}
.visitors dt img{width:44px;height:44px;border-radius:50%;border:1px solid rgba(0,0,0,0.10);object-fit:cover;}
.visitors dd{margin:0; font-size:12px; color:#374151; line-height:1.6;}
.visitors time{color:var(--muted); font-size:12px; margin-left:8px;}

.flickr ul{grid-template-columns: repeat(3, 1fr);}
.flickr img{width:100%;aspect-ratio:1/1;border-radius:10px;border:1px solid rgba(0,0,0,0.10);object-fit:cover;display:block;}

/* ===== Footer ===== */
footer.site-footer{
  padding:0 0 22px;
  color:rgba(255,255,255,0.88);
  font-size:12px;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,0.12);
}
.footer-bottom{padding:0 20px;}

/* ===== Utilities ===== */
.hover-lift{transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;}
.hover-lift:hover{transform:translateY(-2px); filter:brightness(1.02);}

@media (max-width: 980px){
  .info{grid-template-columns:1fr;}
  .blogs{grid-template-columns:1fr;}
  aside.sidebar{position:static;}
  .textinfo{grid-template-columns:1fr;}
  figure.hero-figure img{height:200px;}
}

