/* Estética "portal pessoal" 2000–2005: layout de 760px (pensado para 800x600),
   Verdana pequena, bordas chanfradas estilo Windows 98/XP e fundo quadriculado. */

body {
  margin: 0;
  padding: 12px 0;
  background-color: #6b8fc7;
  background-image:
    linear-gradient(45deg, #5d80b8 25%, transparent 25%, transparent 75%, #5d80b8 75%),
    linear-gradient(45deg, #5d80b8 25%, transparent 25%, transparent 75%, #5d80b8 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 11px;
  color: #000;
}

/* o doctype HTML 4.01 sem URL deixa o navegador em modo quirks, onde tabelas não herdam a fonte */
table { font-size: inherit; }

a { color: #0000cc; }
a:visited { color: #551a8b; }
a:hover { color: #ff6600; text-decoration: none; }

h1, h2, h3 { font-family: Tahoma, Verdana, sans-serif; margin: 0 0 6px; }
h2 { font-size: 14px; color: #003399; border-bottom: 1px dashed #99aacc; padding-bottom: 3px; }
h3 { font-size: 12px; color: #336699; }
p { margin: 0 0 8px; line-height: 1.45; }
hr { border: 0; border-top: 1px solid #99aacc; border-bottom: 1px solid #fff; }

/* ---------- moldura principal ---------- */
.wrapper {
  width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #002266;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .35);
}

.header {
  height: 90px;
  background: linear-gradient(to bottom, #3366cc 0%, #0a246a 100%);
  border-bottom: 3px solid #ff9900;
  position: relative;
  overflow: hidden;
}
.header .logo {
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: 38px;
  font-weight: bold;
  font-style: italic;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 2px 2px 0 #000, 0 0 12px #66ccff;
}
.header .logo span { color: #ffcc00; }
.header .slogan {
  position: absolute;
  left: 20px;
  top: 62px;
  color: #cce0ff;
  font-size: 10px;
}
.header .date {
  position: absolute;
  right: 12px;
  top: 8px;
  color: #cce0ff;
  font-size: 10px;
}

/* barra de navegação superior: botões "pill" com brilho, no estilo aqua/glossy de 2004–2005.
   Navegador sem border-radius/gradiente cai no background-color sólido, que continua legível. */
.topnav {
  background-color: #dfe7f3;
  background-image: linear-gradient(to bottom, #f4f7fc 0%, #d3dff0 100%);
  border-bottom: 1px solid #8fa6c8;
  padding: 5px 8px;
}
.topnav a {
  display: inline-block;
  padding: 3px 14px 4px;
  margin-right: 4px;
  border: 1px solid #1f4f99;
  border-radius: 12px;
  background-color: #3a74c9;
  /* metade de cima mais clara = o "reflexo" de vidro */
  background-image: linear-gradient(to bottom, #9cc3f5 0%, #5b93e0 48%, #2f66bd 52%, #4a86d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 1px 2px rgba(0, 0, 0, .3);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
}
.topnav a:visited { color: #fff; }
.topnav a:hover {
  background-color: #4f88d8;
  background-image: linear-gradient(to bottom, #b8d6fb 0%, #78abee 48%, #4a82d6 52%, #6aa0ea 100%);
  color: #fff;
}
.topnav a:active, .topnav a.active {
  border-color: #b35900;
  background-color: #ff8a1f;
  background-image: linear-gradient(to bottom, #ffd29a 0%, #ffa347 48%, #f07800 52%, #ff9a33 100%);
  color: #fff;
}
.topnav a:active { box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }

/* letreiro rolante (substituto da tag <marquee>, que os navegadores modernos desencorajam) */
.ticker {
  background: #000;
  color: #00ff00;
  font-family: "Courier New", monospace;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  padding: 2px 0;
  border-bottom: 1px solid #333;
}
.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 22s linear infinite;
}
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- colunas (sim, é uma <table>) ---------- */
.layout { width: 100%; border-collapse: collapse; }
.layout td { vertical-align: top; }
.sidebar {
  width: 170px;
  background: #e8eef8;
  border-right: 1px solid #99aacc;
  padding: 8px;
}
.content { padding: 12px 14px; }
.rightbar {
  width: 150px;
  background: #f4f4f4;
  border-left: 1px solid #ccc;
  padding: 8px;
}

/* caixinhas laterais estilo "portal" */
.box { border: 1px solid #6688bb; margin-bottom: 10px; background: #fff; }
.box .title {
  background: linear-gradient(to bottom, #6699dd, #3366aa);
  color: #fff;
  font-weight: bold;
  padding: 3px 6px;
  font-size: 11px;
}
.box .body { padding: 6px; }
.box ul { margin: 0; padding: 0; list-style: none; }
.box li { padding: 2px 0 2px 12px; position: relative; }
.box li::before { content: "»"; position: absolute; left: 0; color: #ff6600; font-weight: bold; }

/* ---------- elementos de conteúdo ---------- */
.news { margin-bottom: 14px; }
.news .meta { color: #666; font-size: 10px; margin-bottom: 4px; }
.news .meta b { color: #cc3300; }

.new-badge {
  display: inline-block;
  background: #ff0000;
  color: #ffff00;
  font-size: 9px;
  font-weight: bold;
  padding: 0 3px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { visibility: hidden; } }
.blink { animation: blink 1s steps(1) infinite; }

.construction {
  border: 2px dashed #000;
  background: repeating-linear-gradient(45deg, #ffcc00 0 12px, #000 12px 24px);
  padding: 4px;
  margin: 10px 0;
}
.construction div { background: #ffcc00; padding: 6px; text-align: center; font-weight: bold; }

.counter {
  display: inline-block;
  background: #000;
  color: #ff3333;
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 2px 6px;
  border: 2px inset #888;
}

/* botões 88x31, o crachá oficial de qualquer site da época */
.badges { text-align: center; }
.badge88 {
  display: inline-block;
  width: 88px;
  height: 31px;
  box-sizing: border-box;
  margin: 2px;
  border: 1px solid #000;
  font: bold 9px/1.1 Verdana, sans-serif;
  text-decoration: none;
  overflow: hidden;
  vertical-align: middle;
}
.badge88 span { display: block; padding: 4px 4px 0; }
.b-ie   { background: linear-gradient(#ffffff, #b8cff0); color: #003399; }
.b-w3c  { background: #fff; color: #0055aa; border-color: #0055aa; }
.b-w3c b { background: #0055aa; color: #fff; padding: 0 2px; }
.b-res  { background: #000; color: #00ff00; font-family: "Courier New", monospace; }
.b-any  { background: #ffff99; color: #990000; }

/* formulários: campos com borda suave e botões em pílula, como a navegação */
input[type=text], textarea, select {
  font: 11px Verdana, sans-serif;
  padding: 3px 4px;
  border: 1px solid #9fb3d1;
  border-radius: 3px;
  background: #fff;
}
input[type=text]:focus, textarea:focus, select:focus { outline: none; border-color: #ff9900; }
button, input[type=submit] {
  padding: 3px 14px 4px;
  border: 1px solid #1f4f99;
  border-radius: 11px;
  background-color: #3a74c9;
  background-image: linear-gradient(to bottom, #9cc3f5 0%, #5b93e0 48%, #2f66bd 52%, #4a86d8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 1px 2px rgba(0, 0, 0, .3);
  color: #fff;
  font: bold 11px Verdana, Tahoma, sans-serif;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
  cursor: pointer;
}
button:hover, input[type=submit]:hover {
  background-image: linear-gradient(to bottom, #b8d6fb 0%, #78abee 48%, #4a82d6 52%, #6aa0ea 100%);
}
button:active, input[type=submit]:active { box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }

table.data { border-collapse: collapse; width: 100%; margin: 6px 0 12px; }
table.data th { background: #3366aa; color: #fff; text-align: left; padding: 3px 6px; }
table.data td { border: 1px solid #ccd; padding: 3px 6px; }
table.data tr:nth-child(even) td { background: #eef3fb; }

.guest-entry { border: 1px solid #99aacc; margin-bottom: 8px; }
.guest-entry .head { background: #dde7f5; padding: 3px 6px; font-size: 10px; }
.guest-entry .msg { padding: 6px; }

/* ---------- rodapé ---------- */
.footer {
  background: #d4d0c8;
  border-top: 2px solid #808080;
  text-align: center;
  padding: 8px;
  font-size: 10px;
  color: #333;
}
.footer .small { font-size: 9px; color: #666; }

/* ---------- elementos dinâmicos ---------- */
.header .logo a { color: inherit; text-decoration: none; }
.news h3 a.news-title { color: #336699; text-decoration: none; }
.news h3 a.news-title:hover { color: #ff6600; text-decoration: underline; }
blockquote {
  margin: 6px 0 6px 12px;
  padding: 4px 8px;
  border-left: 3px solid #99aacc;
  background: #f4f7fc;
  color: #333;
}
.pager {
  text-align: center;
  margin: 10px 0;
  padding: 4px;
  border-top: 1px dashed #99aacc;
}
.msg-ok, .msg-error { padding: 6px 8px; margin: 8px 0; font-weight: bold; }
.msg-ok { background: #e6ffe6; border: 1px solid #090; color: #060; }
.msg-error { background: #ffe6e6; border: 1px solid #c00; color: #900; }
.guest-entry .reply {
  margin: 0 6px 6px;
  padding: 4px 6px;
  background: #fff8dd;
  border: 1px dotted #cc9900;
  font-size: 10px;
}

/* ---------- enquete ---------- */
.poll-form label { cursor: pointer; }
.poll-msg {
  margin: 4px 0;
  padding: 2px 4px;
  background: #ffffcc;
  border: 1px solid #cc9900;
  font-size: 10px;
  font-weight: bold;
}
.poll-results { margin-top: 6px; }
.poll-row { margin-bottom: 5px; }
.poll-label span { color: #666; font-size: 10px; white-space: nowrap; }
.poll-row.lead .poll-label { font-weight: bold; }
.poll-bar {
  height: 10px;
  margin-top: 1px;
  background: #fff;
  border: 1px inset #999;
}
.poll-bar div {
  height: 100%;
  background: linear-gradient(to bottom, #99ccff, #3366cc);
}
.poll-row.lead .poll-bar div { background: linear-gradient(to bottom, #ffcc66, #ff6600); }
.poll-total { margin-top: 4px; font-size: 10px; color: #333; }
.poll-archive { margin-top: 6px; text-align: right; font-size: 10px; }
.poll-page { border: 1px solid #99aacc; background: #f9fbfe; padding: 8px 10px; margin-bottom: 12px; }
.poll-page .poll-bar { height: 14px; }
.poll-note { font-size: 10px; color: #666; margin: 6px 0 0; }

/* ---------- últimas músicas (Last.fm) ---------- */
.when { color: #888; font-size: 9px; }
.tracks .track { padding: 3px 0; border-bottom: 1px dotted #ccd; font-size: 10px; line-height: 1.3; }
.tracks .track a { font-weight: bold; text-decoration: none; }
.tracks .track a:hover { text-decoration: underline; }
.tracks .artist { color: #444; }
.tracks .now { color: #cc0000; font-weight: bold; font-size: 9px; animation: blink 1s steps(1) infinite; }
.tracks .via { margin-top: 4px; text-align: right; font-size: 9px; }
