/* MySpace 2005-era chrome: table-density, tiny links, blue-on-blue. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 8pt;
  color: #000;
  background: #E5E5E5;
}

a { color: #003399; text-decoration: underline; }
a:visited { color: #660099; }
a:hover { color: #FF6600; }
img { border: 0; }

/* ---- global header ---- */
.ms-topbar {
  background: #6699CC;
  border-bottom: 2px solid #336699;
  padding: 0;
}
.ms-topbar-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ms-logo {
  font-size: 17pt;
  font-weight: bold;
  color: #fff;
  text-decoration: none !important;
  letter-spacing: -1px;
}
.ms-logo small { font-size: 7pt; font-weight: normal; font-style: italic; letter-spacing: 0; }
.ms-globalnav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.ms-globalnav a, .ms-globalnav span.navsep {
  color: #fff;
  font-size: 7.5pt;
  text-decoration: none;
}
.ms-globalnav a:hover { text-decoration: underline; color: #FFCC66; }
.ms-globalnav .navsep { color: #99BBDD; }
.ms-searchbox { margin-left: auto; display: flex; gap: 3px; align-items: center; }
.ms-searchbox input[type=text] {
  font-size: 8pt; padding: 1px 3px; border: 1px solid #336699; width: 130px;
}
.ms-btn {
  font-size: 7.5pt;
  background: #fff;
  border: 1px solid #336699;
  color: #003399;
  padding: 1px 6px;
  cursor: pointer;
}
.ms-btn:hover { background: #FFD9B3; }

/* second blue bar used inside pages */
.ms-subnav {
  background: #336699;
  color: #fff;
  font-size: 7.5pt;
  padding: 2px 8px;
  max-width: 800px;
  margin: 0 auto;
}
.ms-subnav a { color: #CCE0F0; text-decoration: none; }
.ms-subnav a:hover { color: #fff; text-decoration: underline; }

/* ---- page container ---- */
.ms-page {
  max-width: 800px;
  margin: 10px auto 30px auto;
  background: transparent;
}

/* generic period table box */
table.ms-box {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 1px solid #6699CC;
}
table.ms-box th {
  background: #6699CC;
  color: #fff;
  font-size: 8pt;
  text-align: left;
  padding: 3px 6px;
  font-weight: bold;
}
table.ms-box td { padding: 4px 6px; font-size: 8pt; vertical-align: top; }

/* footer */
.ms-footer {
  max-width: 800px;
  margin: 16px auto;
  text-align: center;
  font-size: 7pt;
  color: #666;
}
.ms-footer a { font-size: 7pt; }
.ms-footer .fnav a { margin: 0 3px; }

/* misc period bits */
.small { font-size: 7pt; }
.tiny { font-size: 6.5pt; }
.orangetext { color: #FF6600; font-weight: bold; }
.online-now {
  display: inline-block;
  background: #fff;
  border: 1px solid #FF6600;
  color: #FF6600;
  font-weight: bold;
  font-size: 8pt;
  padding: 1px 5px;
  margin-top: 4px;
}
.offline-dot { color: #999; font-size: 7pt; }
hr.period { border: 0; border-top: 1px solid #B1D0F0; margin: 6px 0; }

/* forms */
input[type=text], input[type=password], textarea, select {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8pt;
  border: 1px solid #999;
  background: #fff;
}
input[type=submit], button.plain {
  font-family: Verdana, Arial, sans-serif;
  font-size: 8pt;
  background: #336699;
  color: #fff;
  border: 1px outset #6699CC;
  padding: 2px 10px;
  cursor: pointer;
}
input[type=submit]:hover, button.plain:hover { background: #4478aa; }

/* glitter graphics in comments */
.glitter-img { vertical-align: middle; margin: 2px 0; }

/* flash-era video scanline canvas */
.video-frame { background: #000; border: 2px solid #444; }

/* error page flavor */
.ms-error {
  max-width: 500px; margin: 40px auto; background: #fff; border: 1px solid #6699CC; padding: 20px;
}
.ms-error h2 { color: #CC0000; font-size: 11pt; margin-top: 0; }

/* home login pitch */
.home-pitch { font-size: 9pt; color: #333; line-height: 1.5; }
.big-blue-link { font-size: 11pt; font-weight: bold; }

/* marquee must still feel native */
marquee { color: inherit; }
