:root{
  --sky-top:#c9e0f9;
  --sky-bot:#e3ecfb;
  --win-bg:#fdfeff;
  --edge:#5677b0;
  --bar:#cfe2f9;
  --teal:#4fb7ad;
  --pink:#ef8fbb;
  --navy:#2c3454;
  --line:#a9c3ea;
}
html{box-sizing:border-box; scroll-padding-top:env(safe-area-inset-top,0px);}
*,*::before,*::after{box-sizing:inherit;}
body{
  margin:0;
  min-height:100%;
  font-family:'VT323', monospace;
  font-size:19px;
  color:var(--navy);
  background-image:
    radial-gradient(circle, #ffffff 3px, transparent 4px),
    linear-gradient(180deg, var(--sky-top), var(--sky-bot));
  background-size: 34px 34px, 100% 100%;
  background-position: 0 0, 0 0;
  background-attachment: fixed;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
a{color:var(--teal);}
a:hover{color:var(--pink);}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:26px 18px 60px;
}

/* ---------- window chrome (flat, thin border, no heavy drop shadow) ---------- */
.window{
  background:var(--win-bg);
  border:2px solid var(--edge);
  border-radius:8px;
  margin-bottom:18px;
  overflow:hidden;
}
.titlebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 10px;
  background:var(--bar);
  border-bottom:2px solid var(--edge);
}
.titlebar .label{
  font-family:'Silkscreen', monospace;
  font-size:13px;
  color:var(--edge);
  display:flex;
  align-items:center;
  gap:6px;
}
.titlebar .buttons{display:flex; gap:5px;}
.titlebar .buttons span{
  width:15px; height:15px;
  border:1.5px solid var(--edge);
  border-radius:3px;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:10px; line-height:1;
  color:var(--edge);
  font-family:'Silkscreen',monospace;
}
.win-body{padding:15px 17px;}
.win-body p{margin:0 0 10px; line-height:1.4;}
.win-body p:last-child{margin-bottom:0;}

/* ---------- header banners ---------- */
.hero-body{
  text-align:center;
  padding:18px;
}
.banner-slot{
  width:100%;
  min-height:160px;
  border:2px dashed var(--line);
  border-radius:8px;
  background:repeating-linear-gradient(45deg, #eef4ff, #eef4ff 10px, #f6faff 10px, #f6faff 20px);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--edge);
  font-size:15px;
  text-align:center;
  padding:10px;
}
.tagline{
  font-size:22px;
  color:var(--edge);
  margin-top:2px;
}
.icon-row{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:14px 0 2px;
  flex-wrap:wrap;
}
.icon-row span{
  width:30px; height:30px;
  border:2px solid var(--line);
  border-radius:50%;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:15px;
}

/* ---------- dividers, first-picture style ---------- */
.divider{
  border:none;
  border-top:1px dashed var(--line);
  margin:12px 0;
}
.divider-deco{
  text-align:center;
  color:var(--teal);
  letter-spacing:6px;
  font-size:13px;
  margin:10px 0;
}

/* ---------- layout grid ---------- */
.grid{
  display:grid;
  grid-template-columns: 1fr 260px;
  gap:18px;
  align-items:start;
}
.col{display:flex; flex-direction:column;}
@media (max-width:800px){
  .grid{grid-template-columns:1fr;}
}

/* ---------- home content ---------- */
.home-flex{display:flex; gap:16px; flex-wrap:wrap;}
.home-flex .text{flex:1 1 260px;}
.home-flex .pic{
  flex:1 1 150px;
  min-height:140px;
  background:radial-gradient(circle at 30% 30%, #eaf6ff, #dce8fc 70%);
  border:2px solid var(--line);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:36px;
}

/* ---------- side-by-side row (buttons + other sites) ---------- */
.row-two{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
@media (max-width:640px){.row-two{grid-template-columns:1fr;}}
.code-box{
  background:#eef4ff;
  border:1px dashed var(--line);
  border-radius:6px;
  padding:8px 10px;
  font-size:13px;
  color:var(--navy);
  margin-top:8px;
  word-break:break-all;
}
.btn88{
  width:88px; height:31px;
  border:2px solid var(--edge);
  border-radius:4px;
  background:linear-gradient(90deg,var(--teal),var(--edge));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'Silkscreen',monospace;
  font-size:9px;
  text-align:center;
}
.other-sites-list{display:flex; flex-wrap:wrap; gap:8px; margin-top:6px;}
.other-sites-list span{
  display:inline-block;
  background:#fff;
  border:2px solid var(--line);
  border-radius:14px;
  padding:4px 12px;
  font-size:15px;
  color:var(--edge);
}

/* ---------- changelog ---------- */
.changelog-entry{padding-left:2px; margin-bottom:4px;}
.changelog-entry .date{color:var(--teal); font-family:'Silkscreen',monospace; font-size:12px;}

/* ---------- extra / profile sidebar ---------- */
.bio-row{display:flex; gap:10px; align-items:center; margin-bottom:6px;}
.bio-row .k{color:var(--teal); width:96px; flex-shrink:0;}
.avatar-box{
  width:100%;
  aspect-ratio:4/3;
  background:repeating-linear-gradient(45deg, #eef2ff, #eef2ff 8px, #f2f8ff 8px, #f2f8ff 16px);
  border:2px solid var(--line);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:32px;
  margin:10px 0;
}
.player{display:flex; align-items:center; gap:10px;}
.player .art{
  width:44px; height:44px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--teal),var(--edge));
  flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-size:19px; color:#fff;
}
.player .meta{flex:1;}
.player .song{font-family:'Silkscreen',monospace; font-size:12px; color:var(--navy);}
.player .artist{font-size:15px; color:var(--edge);}
.bar{height:7px; border-radius:6px; background:#e4edff; margin-top:5px; overflow:hidden; border:1px solid var(--line);}
.bar > span{display:block; height:100%; width:38%; background:var(--teal);}

footer{
  text-align:center;
  color:var(--edge);
  font-size:16px;
  margin-top:10px;
}
footer .hearts{letter-spacing:6px; color:var(--pink);}
