/* Millsberry-ish shrine — bright old-school web layout (psuedo replica) */

:root {
  --ms-blue: #0b4de6;
  --ms-blue2: #0a2e86;
  --ms-sky: #6fb6ff;
  --ms-paper: #f7fbff;
  --ms-gold: #ffe36e;
  --ms-pink: #ff7ad1;
  --ms-border: #0a2a64;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(60, 170, 255, 0.35), transparent 38%),
    radial-gradient(circle at 80% 25%, rgba(255, 122, 209, 0.22), transparent 40%),
    linear-gradient(180deg, #05152f 0%, #000814 100%);
  font-family: Arial, Helvetica, sans-serif;
  color: #0d1b2f;
  overflow-x: hidden;
}

.ms-shell {
  width: min(980px, 96vw);
  margin: 22px auto 32px;
  border: 4px solid #0b3db8;
  border-radius: 14px;
  background: var(--ms-paper);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.ms-header {
  position: relative;
  padding: 10px 14px 0;
  background:
    linear-gradient(180deg, #0c5cff 0%, #0a35b2 100%);
  border-bottom: 4px solid #07215e;
}

.ms-logo {
  display: block;
  width: 240px;
  margin: 0 0 6px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

.ms-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
}

.ms-topbtn {
  text-decoration: none;
  font-family: "Chewy", "Comic Sans MS", cursive;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eaf4ff;
  border: 2px solid rgba(5, 30, 90, 0.85);
  color: #0b2570;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.ms-topbtn-hot {
  background: #ffe36e;
}

.ms-gazette-logo {
  width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}

.ms-gazette-logo-inline {
  width: min(280px, 100%);
  margin: 0 0 10px;
  filter: none;
}

.ms-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
  padding: 16px;
}

.ms-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ms-left-stack {
  border: 4px solid var(--ms-border);
  border-radius: 10px;
  overflow: hidden;
  background: #0a35b2;
}

.ms-left-section + .ms-left-section {
  border-top: 0;
}

.ms-buddybox {
  padding: 10px;
  background: transparent;
}

.ms-buddy-title {
  text-align: center;
  font-family: "Chewy", "Comic Sans MS", cursive;
  font-size: 0.8rem;
  color: #ffe36e;
  letter-spacing: 0.5px;
  margin: 10px 0 0;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.ms-name-box {
  background: #ffe86b;
  border: 2px solid rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  padding: 6px 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #0b2570;
  margin-bottom: 8px;
  width: 100%;
}

.ms-avatar-wrap {
  margin: 0;
  padding: 0;
}

.ms-avatar {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease-out;
}

.ms-buddybox:hover .ms-avatar {
  transform: scale(1.03);
}

.ms-buddy-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}

.ms-cta {
  background: #fff46e;
  border: 2px solid rgba(0, 0, 0, 0.35);
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.ms-cta2 {
  background: #b4e0ff;
}

.ms-statsbox {
  background: transparent;
  padding: 0 10px 12px;
}

.ms-stats-title {
  font-family: "Chewy", "Comic Sans MS", cursive;
  font-size: 1rem;
  font-weight: 900;
  color: #eaf4ff;
  text-align: center;
  padding: 10px 0 8px;
  letter-spacing: 0.4px;
}

.ms-stats-content {
  padding-top: 6px;
}

.ms-stat {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.ms-stat-ic {
  width: 22px;
  height: 22px;
  display: block;
  margin-left: 2px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}

.ms-stat-meta {
  display: none;
}

.ms-bar {
  grid-column: 2 / span 1;
  margin-top: 0;
  height: 10px;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.ms-fill {
  height: 100%;
  width: 60%;
  background: var(--ms-sky);
}

.ms-fill1 { width: 74%; background: #ff77a9; }
.ms-fill2 { width: 58%; background: #72e3ff; }
.ms-fill3 { width: 82%; background: #ffd65f; }
.ms-fill4 { width: 48%; background: #72e3ff; }
.ms-fill5 { width: 64%; background: #a0ff7a; }
.ms-fill6 { width: 36%; background: #ffe36e; }

.ms-linksbox {
  background: transparent;
  padding: 10px;
}

.ms-links-title {
  text-align: center;
  font-family: "Chewy", "Comic Sans MS", cursive;
  font-size: 1rem;
  color: #ffe36e;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.ms-link {
  display: block;
  text-decoration: none;
  color: #ffe36e;
  margin: 6px 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Chewy", "Comic Sans MS", cursive;
  font-size: 1rem;
  font-weight: 900;
}

.ms-link:hover {
  background: rgba(255, 227, 110, 0.2);
}

.ms-link-yellow {
  color: #ffe36e;
}

.ms-center {
  border: 4px solid var(--ms-border);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(245, 251, 255, 0.9) 100%);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ms-gazette-head {
  background: linear-gradient(180deg, #0b4de6 0%, #0a35b2 100%);
  padding: 14px;
  border-bottom: 4px solid rgba(7, 33, 94, 0.9);
}

.ms-tours-banner {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.ms-gazette-post {
  padding: 16px 18px 18px;
}

.ms-post-title {
  margin: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #0b2570;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ms-post-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.ms-post-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  background: #fff46e;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  color: #0b2570;
}

.ms-post-pill2 {
  background: #ffb2ea;
}

.ms-gazette-post p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.35;
}

.ms-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 75, 190, 0.45), transparent);
  margin: 16px 0 12px;
}

.ms-list {
  margin: 0;
  padding-left: 1.4rem;
  line-height: 1.5;
}

.ms-footer {
  text-align: center;
  padding: 10px 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .ms-body {
    grid-template-columns: 1fr;
  }

  .ms-topbtn {
    font-size: 1rem;
  }
}

