:root {
  --lilac: #e8d4f8;
  --pink: #f7c6e0;
  --pink2: #ffd6ec;
  --blue: #cde4ff;
  --lavender: #b9a7e6;
  --ink: #5a3d6e;
  --muted: #8a6a9a;
  --win: #fff7fd;
  --bar: #d7c2f2;
  --line: #e3c6ef;
  --accent: #ff8ec9;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Trebuchet MS", "Segoe UI", Geneva, Verdana, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(#c9b6f2, #f7c8e8 40%, #c9e4ff);
  min-height: 100vh;
}

.sky {
  max-width: 1180px;
  margin: 18px auto 40px;
  padding: 0 12px;
}

.banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: end;
  padding: 22px 24px 18px;
  border: 3px solid #fff;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, #8ec8ff 0%, #c9b6ff 35%, #f7b7e2 70%, #ffd0ea 100%);
  overflow: hidden;
  box-shadow: 0 0 0 3px #e7b7ff;
}
.banner:before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42px;
  background: repeating-linear-gradient(90deg, #c48bde 0 28px, #d7a4ea 28px 56px);
  opacity: .35;
}
.banner-copy { position: relative; z-index: 1; }
.banner-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: #4d2f66;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 52px);
  line-height: .9;
  color: #fff;
  text-shadow: 3px 3px 0 #c77adf, 0 0 18px #fff;
  letter-spacing: -1px;
}
h1 span { color: #ffe6fb; }
.banner-sub, .tagline {
  margin: 8px 0 0;
  color: #5b2f73;
  font-weight: 700;
}
.tagline { font-weight: 500; font-size: 14px; }

.banner-window {
  position: relative;
  z-index: 1;
  width: 190px;
  background: var(--win);
  border: 3px solid #b894e0;
  border-radius: 8px;
  box-shadow: 4px 4px 0 #ed9fd0;
}
.win-bar, .win header {
  background: linear-gradient(#efe7ff, #d9c6f5);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 2px solid #d0b4ea;
}
.win-body { padding: 10px; font-size: 13px; line-height: 1.45; }

.mascot {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}
.moon {
  font-size: 54px;
  filter: drop-shadow(0 0 8px #fff);
}
.blob {
  position: absolute;
  right: 0; top: 8px;
  color: #fff59a;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #f4d7f0;
  border: 3px solid #fff;
  border-top: 0;
  padding: 8px;
}
.tabs a {
  text-decoration: none;
  color: var(--ink);
  background: #ffe8f7;
  border: 2px solid #f0bfe0;
  border-radius: 10px 10px 0 0;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}
.tabs a.on, .tabs a:hover {
  background: #fff;
  border-bottom-color: #fff;
}

.layout {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  gap: 12px;
  margin-top: 12px;
}
.win {
  background: var(--win);
  border: 3px solid #d7b7ea;
  border-radius: 10px;
  box-shadow: 3px 3px 0 rgba(201, 140, 210, .35);
  margin-bottom: 12px;
  overflow: hidden;
}
.win header {
  display: flex;
  justify-content: space-between;
}
.win header:after { content: "□ _ ×"; opacity: .45; font-weight: 400; }
.pad, .news, .folders, .chat, .cal, .topics, table { padding: 12px; }
.pad p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }

.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(#ffb4dc, #ff89c4);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 2px 2px 0 #e58ab8;
}
.btn.ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 2px 2px 0 #e9c3e0;
}

.navlist { list-style: none; margin: 0; padding: 8px 12px 12px; }
.navlist a { color: var(--ink); text-decoration: none; font-size: 14px; }
.navlist li { padding: 5px 0; border-bottom: 1px dashed var(--line); }

.radio .station { font-weight: 800; margin-bottom: 4px; }
.player { letter-spacing: 2px; color: var(--lavender); }

.news {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
}
.news-art {
  background:
    linear-gradient(#9ad0ff, #f5b4e0);
  border-radius: 8px;
  min-height: 140px;
  display: grid;
  place-content: end start;
  padding: 10px;
  color: #4a2a62;
  font-size: 12px;
}
.shop { font-weight: 800; font-size: 15px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { margin-bottom: 12px; }
.news-list strong { display: block; }
.news-list span { color: var(--muted); font-size: 11px; }
.news-list p { margin: 4px 0 0; font-size: 13px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
td { padding: 8px 6px 8px 0; border-top: 1px solid var(--line); }
td a { color: #8a4aad; font-weight: 700; }

.folders {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.folder {
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.folder i {
  display: block;
  width: 54px;
  height: 38px;
  margin: 0 auto 6px;
  background: #ff9ed0;
  clip-path: polygon(0 8px, 18px 8px, 24px 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 -6px 0 #f37ab8;
}
.folder.lines i { background: repeating-linear-gradient(#ffc1e3, #ffc1e3 4px, #fff 4px 7px); }
.folder.grid i { background: repeating-linear-gradient(90deg, #ffc7e8 0 6px, #fff 6px 8px); }
.folder.dots i {
  background:
    radial-gradient(#fff 1.5px, transparent 2px) 0 0 / 8px 8px,
    #ff9ed0;
}

.topics { list-style: none; margin: 0; font-size: 13px; }
.topics li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.chat p { margin: 0 0 8px; font-size: 13px; line-height: 1.4; }
.cal { font-size: 13px; }
.today { font-weight: 800; color: #d45aa0; }

footer {
  text-align: center;
  font-size: 12px;
  color: #6a457c;
  padding: 18px 8px 8px;
}

.page {
  background: var(--win);
  border: 3px solid #d7b7ea;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 3px 3px 0 rgba(201, 140, 210, .35);
}
.page .body {
  padding: 22px 24px 28px;
  max-width: 720px;
}
.page h2 { margin: 0 0 6px; font-size: 22px; }
.meta { color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.page p { line-height: 1.65; font-size: 15px; }
.page p.soft { color: var(--muted); }

@media (max-width: 900px) {
  .banner, .layout, .news, .folders { grid-template-columns: 1fr; }
  .banner-window { width: auto; }
}
