/* ============================================================
   MySpace 2006 — era stylesheet
   ============================================================ */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  background: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px; color: #333;
  line-height: 1.35;
}
a { color: #003399; text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: #5a3696; }
img { border: 0; }
table { border-collapse: collapse; }
td { vertical-align: top; }
h1,h2,h3 { margin: 0; font-weight: bold; }

/* ---------- top nav ---------- */
.ms-topnav { background: #003399; color: #fff; }
.ms-topnav-in { max-width: 960px; margin: 0 auto; padding: 4px 8px; font-size: 10px; }
.ms-logo { font-size: 17px; font-weight: bold; color: #fff; letter-spacing: -0.5px; }
.ms-tagline { font-size: 10px; color: #cfe0ff; margin-right: 14px; font-style: italic; }
.ms-navlinks { font-size: 10px; }
.ms-navlinks a { color: #fff; margin: 0 2px; }
.ms-navlinks a:hover { color: #ffd54f; }
.ms-navlinks a.on { color: #ffd54f; }
.navsep { color: #7d9ed6; margin: 0 1px; }
.ms-userstrip { background: #b1d0f0; border-bottom: 1px solid #6699cc; }
.ms-userstrip-in { max-width: 960px; margin: 0 auto; padding: 3px 8px; font-size: 10px; }
.ms-userstrip a { color: #003399; }
.us-right { float: right; }

/* ---------- generic page container ---------- */
.ms-page { max-width: 810px; margin: 8px auto; padding: 0 6px; }
.ms-page.wide { max-width: 960px; }
.ms-footer { text-align: center; font-size: 9px; color: #777; padding: 14px 0 20px; }
.ms-footer a { color: #003399; font-size: 9px; }

/* ---------- extended network banner ---------- */
.extnet {
  background: #b1d0f0; border: 1px solid #6699cc; text-align: center;
  color: #333; padding: 7px; margin-bottom: 8px; font-size: 11px;
}
.extnet b { color: #003399; }

/* ---------- profile ---------- */
.pf-head { margin-bottom: 4px; }
.pf-name { font-size: 16px; font-weight: bold; color: #000; }
.pf-headline { font-size: 11px; color: #333; margin: 1px 0 4px; }
.pf-url { font-size: 10px; color: #666; }
.pf-url a { color: #003399; }

table.pf-main { width: 100%; border: 1px solid #6699cc; background: #fff; }
table.pf-main td.left { width: 300px; padding: 6px; border-right: 1px solid #e0e0e0; }
table.pf-main td.right { padding: 6px; }

/* left col */
.pf-picbox { text-align: center; }
.pf-picbox img.mainpic { border: 1px solid #999; }
.pf-info { font-size: 10px; text-align: left; margin-top: 4px; }
.pf-info .nm { font-weight: bold; font-size: 11px; }
.pf-info .mood { margin-top: 3px; }
.pf-links { font-size: 9px; margin-top: 3px; }
.online-now { color: #009900; font-weight: bold; font-size: 10px; margin: 2px 0; }
.online-now span { background: #eaffea; border: 1px solid #7ccd7c; padding: 0 4px; }
.offline { color: #666; font-size: 10px; }

/* section headers */
.sec-hdr-l { background: #b1d0f0; color: #336699; font-weight: bold; font-size: 10px; padding: 3px 5px; border: 1px solid #6699cc; border-bottom: none; margin-top: 8px; }
.sec-hdr-r { background: #f9d6b4; color: #ff6600; font-weight: bold; font-size: 12px; padding: 4px 6px; border: 1px solid #cc9966; border-bottom: none; }
.sec-hdr-r .sub { font-weight: normal; font-size: 10px; color: #333; }
.sec-body-l { border: 1px solid #6699cc; border-top: none; padding: 4px 5px; font-size: 10px; background: #fff; }
.sec-body-r { border: 1px solid #cc9966; border-top: none; padding: 5px 6px; font-size: 11px; background: #fff; margin-bottom: 8px; }

/* contact box */
table.contact { width: 100%; border: 1px solid #6699cc; font-size: 9px; }
table.contact td { padding: 2px 4px; }
table.contact a { color: #003399; }
.cicon { display: inline-block; width: 14px; height: 12px; margin-right: 4px; vertical-align: -2px; border: 1px solid #6699cc; background: #e6eef8; color: #003399; font-size: 8px; text-align: center; line-height: 11px; font-weight: bold; }

/* interests/details tables */
table.specs { width: 100%; font-size: 9.5px; }
table.specs td { padding: 2px 3px; border-bottom: 1px dotted #c8d8ea; }
table.specs td.k { color: #336699; font-weight: bold; width: 38%; }
table.specs td.v { color: #333; }

/* friend space */
.friendgrid { width: 100%; }
.friendgrid td { width: 25%; text-align: center; padding: 4px 2px; font-size: 9px; }
.friendgrid img { border: 1px solid #999; }
.friendgrid .fn { display: block; margin-top: 2px; font-size: 9px; word-wrap: break-word; }
.friendgrid .viewlink { font-size: 8px; color: #666; }
.fcount { font-size: 10px; margin: 2px 0 4px; }

/* comments */
.cmt-hdr { font-size: 10px; margin-bottom: 4px; }
table.cmt { width: 100%; border-top: 1px dotted #bbb; }
table.cmt td.cp { width: 100px; padding: 6px 4px; border-bottom: 1px dotted #bbb; text-align: center; font-size: 9px; }
table.cmt td.ct { padding: 6px 4px; border-bottom: 1px dotted #bbb; font-size: 10px; }
table.cmt img.cpic { border: 1px solid #999; }
table.cmt .cdate { color: #666; font-size: 9px; margin-bottom: 3px; }
table.cmt .clinks { font-size: 8px; color: #888; margin-top: 4px; }
img.gltr { max-width: 100%; }

/* add comment form */
.addcmt { border: 1px solid #cc9966; padding: 6px; margin-top: 6px; background: #fff7ef; }
.addcmt textarea { width: 100%; height: 60px; font-family: Verdana; font-size: 10px; }
.btn { font-family: Verdana; font-size: 10px; padding: 2px 8px; background: #e8e8e8; border: 1px solid #999; border-top-color: #ccc; border-left-color: #ccc; cursor: pointer; color: #000; }
.btn:hover { background: #f4f4f4; }
.btn.blue { background: #336699; color: #fff; border-color: #224466; }

/* ---------- music ---------- */
table.ms-music { width: 100%; border: 1px solid #336; font-size: 10px; margin: 6px 0; }
table.ms-music .music-hdr { background: #3867a9; color: #fff; font-weight: bold; padding: 3px 6px; font-size: 11px; }
table.ms-music .music-sub { font-weight: normal; font-size: 9px; color: #cfe0ff; }
table.ms-music .music-meta { background: #dbe7f5; padding: 3px 6px; font-size: 9px; color: #333; }
table.ms-music .music-colhdr td { background: #b1d0f0; font-weight: bold; color: #336699; padding: 2px 6px; font-size: 9px; border-top: 1px solid #6699cc; }
table.ms-music td { padding: 4px 6px; border-bottom: 1px dotted #aac; }
table.ms-music .tr-title { width: 40%; }
table.ms-music .tr-artist { font-size: 9px; color: #555; }
table.ms-music .tr-plays { font-size: 9px; color: #333; }
table.ms-music .tr-act { font-size: 9px; }
table.ms-music .music-foot { background: #dbe7f5; font-size: 9px; text-align: center; }
.ply-btn { font-size: 10px; width: 26px; height: 18px; cursor: pointer; background: #003399; color: #fff; border: 1px solid #001f66; }
.ply-bar { width: 110px; height: 7px; border: 1px solid #6699cc; background: #fff; margin-top: 2px; }
.ply-fill { height: 100%; width: 0; background: #ff6600; }
.ply-status { font-size: 8px; color: #009900; font-weight: bold; }
tr.playing td, table.playing td { background: #fff8f0; }
table.ms-music.single { max-width: 460px; }

/* ---------- home (logged-out index) ---------- */
.idx-wrap { max-width: 960px; margin: 0 auto; }
.idx-hero { background: #003399; color: #fff; padding: 26px 20px 18px; }
.idx-hero .big { font-size: 34px; font-weight: bold; letter-spacing: -1px; }
.idx-hero .tag { font-size: 14px; color: #ffd54f; font-style: italic; }
.idx-body { max-width: 960px; margin: 10px auto; padding: 0 8px; }
table.idx-cols { width: 100%; }
table.idx-cols td.l { width: 60%; padding-right: 12px; }
table.idx-cols td.r { width: 40%; }
.loginbox { border: 1px solid #6699cc; background: #e6eef8; padding: 8px; }
.loginbox h3 { font-size: 11px; color: #003399; margin-bottom: 6px; }
.loginbox input[type=text], .loginbox input[type=password] { width: 96%; font-size: 10px; padding: 2px; margin-bottom: 5px; border: 1px solid #999; font-family: Verdana; }
.loginbox label { font-size: 9px; color: #333; }
.loginbox .row { font-size: 9px; margin-top: 4px; }
.login-err { color: #cc0000; font-size: 9px; display: none; margin-bottom: 4px; }
.pitchbox { border: 1px solid #cc9966; background: #fff7ef; padding: 8px; margin-top: 10px; }
.pitchbox h3 { color: #ff6600; font-size: 12px; }
.pitchbox ul { margin: 4px 0 4px 16px; padding: 0; font-size: 10px; }
.pitchbox li { margin-bottom: 2px; }
.cnp { border: 1px solid #6699cc; }
.cnp h3 { background: #b1d0f0; color: #336699; font-size: 11px; padding: 4px 6px; }
.cnp .grid { padding: 6px; }
.cnp .grid td { width: 33%; text-align: center; padding: 3px; font-size: 9px; }
.cnp img { border: 1px solid #999; }
.idx-links { text-align: center; font-size: 10px; margin: 10px 0; }

/* ---------- dashboard (home.html) ---------- */
.dash-hdr { background: #b1d0f0; border: 1px solid #6699cc; padding: 6px 8px; font-size: 13px; margin-bottom: 8px; }
.dash-hdr b { color: #003399; }
table.dash { width: 100%; }
table.dash td.l { width: 34%; padding-right: 8px; }
table.dash td.r { width: 66%; }
.mailbox { border: 1px solid #6699cc; margin-bottom: 8px; }
.mailbox h3 { background: #b1d0f0; color: #336699; font-size: 10px; padding: 3px 6px; }
.mailbox .mb-in { padding: 5px 7px; font-size: 10px; }
.mailbox .alert { color: #cc0000; font-weight: bold; }
.bltn { border: 1px solid #cc9966; margin-bottom: 8px; }
.bltn h3 { background: #f9d6b4; color: #ff6600; font-size: 10px; padding: 3px 6px; }
.bltn .b-in { padding: 5px 7px; font-size: 10px; }
.bltn .b-row { border-bottom: 1px dotted #ccc; padding: 3px 0; }
.announce { border: 1px solid #999; background: #ffffcc; padding: 6px; font-size: 10px; margin-bottom: 8px; }
.miniprof { border: 1px solid #6699cc; padding: 6px; font-size: 10px; text-align: center; margin-bottom: 8px; }
.miniprof img { border: 1px solid #999; }

/* ---------- tables used by secondary pages ---------- */
table.listing { width: 100%; border: 1px solid #6699cc; font-size: 10px; }
table.listing th { background: #b1d0f0; color: #336699; text-align: left; padding: 3px 6px; font-size: 10px; border-bottom: 1px solid #6699cc; }
table.listing td { padding: 4px 6px; border-bottom: 1px dotted #c8d8ea; }
table.listing tr:hover td { background: #f0f6fc; }
.pg-hdr { background: #b1d0f0; border: 1px solid #6699cc; color: #336699; font-weight: bold; padding: 5px 8px; font-size: 12px; margin-bottom: 6px; }
.pg-hdr.orange { background: #f9d6b4; border-color: #cc9966; color: #ff6600; }
.pg-sub { font-size: 10px; color: #555; margin-bottom: 8px; }
input.txt, select.txt, textarea.txt { font-family: Verdana; font-size: 10px; border: 1px solid #999; padding: 2px; }
textarea.big { width: 100%; font-family: Verdana; font-size: 10px; }

/* ---------- edit pages ---------- */
.edit-note { border: 1px solid #cc9966; background: #fff7ef; padding: 6px; font-size: 10px; margin-bottom: 8px; }
.t8-slot { display: inline-block; width: 100px; vertical-align: top; text-align: center; border: 2px dashed #b1d0f0; margin: 3px; padding: 4px 2px; min-height: 120px; font-size: 9px; background: #f4f9ff; cursor: pointer; }
.t8-slot.sel { border-color: #ff6600; background: #fff2e4; }
.t8-slot img { border: 1px solid #999; }
.t8-pool { border-top: 2px solid #6699cc; margin-top: 10px; padding-top: 6px; }
.t8-friend { display: inline-block; width: 100px; vertical-align: top; text-align: center; margin: 3px; padding: 4px 2px; font-size: 9px; cursor: pointer; border: 1px solid transparent; }
.t8-friend:hover { border-color: #6699cc; background: #f0f6fc; }
.t8-friend img { border: 1px solid #999; }
.t8-friend.intop8 { opacity: 0.45; }

/* ---------- misc ---------- */
.ms-toast { position: fixed; right: 10px; bottom: 10px; z-index: 9999; background: #ffffcc; border: 1px solid #999; padding: 6px 10px; font-size: 10px; opacity: 0; transition: opacity .4s; box-shadow: 2px 2px 4px rgba(0,0,0,.2); }
.ms-toast b { color: #003399; display: block; }
.ms-toast.on { opacity: 1; }
.trail-spark { position: fixed; width: 5px; height: 5px; border-radius: 50%; pointer-events: none; z-index: 9998; animation: spark .7s ease-out forwards; }
@keyframes spark { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(12px) scale(0.2); } }
.errpage { text-align: center; margin-top: 60px; }
.errpage h1 { color: #cc0000; font-size: 16px; }
.errpage p { font-size: 11px; }
.marq { font-weight: bold; }
.hidden { display: none; }
.center { text-align: center; }
.small { font-size: 9px; color: #666; }
hr.dotted { border: none; border-top: 1px dotted #bbb; margin: 8px 0; }
.ok-green { color: #009900; font-weight: bold; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .ms-topnav-in, .ms-userstrip-in { font-size: 10px; }
  .ms-navlinks a { margin: 0 1px; }
}
@media (max-width: 640px) {
  .ms-page { padding: 0 4px; }
  table.pf-main, table.pf-main tbody, table.pf-main tr, table.pf-main td { display: block; width: 100% !important; }
  table.pf-main td.left { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .friendgrid td { width: 25%; display: inline-block; }
  .friendgrid img { max-width: 100%; height: auto; }
  table.idx-cols, table.idx-cols tbody, table.idx-cols tr { display: block; }
  table.idx-cols td.l, table.idx-cols td.r { display: block; width: 100%; padding-right: 0; }
  table.dash, table.dash tbody, table.dash tr { display: block; }
  table.dash td.l, table.dash td.r { display: block; width: 100%; padding-right: 0; }
  .cnp .grid table, .cnp .grid tbody, .cnp .grid tr { display: block; }
  .cnp .grid td { display: inline-block; width: 32%; }
  .cnp .grid img { max-width: 100%; height: auto; }
  table.listing { table-layout: fixed; }
  table.listing td, table.listing th { word-wrap: break-word; overflow-wrap: break-word; }
  table.listing img { max-width: 46px; height: auto; }
  input.txt, select.txt, textarea.txt, .loginbox input { max-width: 100%; }
  table.specs input.txt { width: auto; max-width: 140px; }
  table.ms-music, .ms-music.single { max-width: 100% !important; width: 100% !important; }
  .ply-bar { width: 80px; }
  .feat-table, .feat-table tbody, .feat-table tr, .feat-table td { display: block; width: 100% !important; }
  .ms-logo { font-size: 14px; }
  .ms-navlinks { display: block; margin-top: 2px; }
  .us-right { float: none; display: block; margin-top: 2px; }
  .t8-slot { width: 44%; min-height: 100px; }
  .t8-friend { width: 30%; }
  .t8-slot img, .t8-friend img { max-width: 100%; height: auto; }
  #vidplayer .screen { width: 100%; }
  .vid-thumb img { max-width: 110px; height: auto; }
}
