/* Jahrgang 2005: Verdana 11px, blaue Verläufe, Tabellen-Layout auf y2k5-css.
   Zähler und 88x31-Buttons kommen aus ../css/common.css. y2k5 setzt alle Ränder auf 0,
   deshalb bekommen Absätze hier ihre Abstände explizit zurück. */

.y2k { min-height: 100vh; }
.container { padding-top: 16px; padding-bottom: 24px; }

/* ---------- Kopf ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 10px;
  padding: 14px 16px 12px;
  border: 1px solid var(--primary-darkest);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #6fb6f5 0%, #2a86d4 48%, #0e6ba8 52%, #0b5c93 100%);
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .4);
}
.site-header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: bold 26px "Trebuchet MS", Arial, sans-serif;
  letter-spacing: -0.5px;
}
.beta {
  display: inline-block;
  transform: rotate(-6deg);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #b35300;
  background: linear-gradient(#ffb347, #ff7a00);
  color: #fff;
  font: bold 11px Verdana, Arial, sans-serif;
  text-shadow: none;
  box-shadow: inset 0 6px 6px -4px rgba(255, 255, 255, .7), 1px 1px 2px rgba(0, 0, 0, .4);
}
.tagline { margin: 4px 0 0; font-size: 11px; }
.online {
  margin: 0;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
  font-size: 10px;
  white-space: nowrap;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: #7cf560;
  box-shadow: 0 0 4px #7cf560;
  vertical-align: middle;
}

/* ---------- Navigation ---------- */

.nav { display: flex; flex-wrap: wrap; }
.nav a.nav-item { color: #fff; text-decoration: none; font-weight: bold; }
.nav a.nav-item:hover { color: #fff; }

.sidenav { list-style: none; margin: 0; padding: 0; }
.sidenav li { padding: 3px 0; border-bottom: 1px dotted #ccc; }
.sidenav li:last-child { border-bottom: 0; }

/* ---------- Panels ---------- */

.panel-body p { margin: 0 0 8px; }
.panel-body > :last-child { margin-bottom: 0; }
.panel-body .table { margin-bottom: 0; }
.poll { margin: 0 0 4px !important; }
.poll input { vertical-align: middle; }

.post h2 {
  margin: 0 0 2px;
  font: bold 14px "Trebuchet MS", Verdana, Arial, sans-serif;
  color: var(--primary-darker);
}
.post .meta { margin: 0 0 6px; font-size: 10px; color: #666; }
.post .postlinks { font-size: 10px; }

.profile { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.photo {
  flex: 0 0 auto;
  width: 80px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: #fff;
  border: 1px solid #666;
}
.photo svg { width: 64px; height: 80px; }
.props { margin: 0; }
.props th { width: 70px; white-space: nowrap; }

.tablewrap { overflow-x: auto; }

.small { font-size: 10px; }

.text-center .counter { margin: 6px auto; }

.tagcloud { line-height: 1.9; text-align: center; }
.tagcloud a { margin: 0 3px; white-space: nowrap; }
.t1 { font-size: 10px; }
.t2 { font-size: 12px; }
.t3 { font-size: 15px; font-weight: bold; }
.t4 { font-size: 18px; font-weight: bold; }
.t5 { font-size: 22px; font-weight: bold; }

/* 80x15-Buttons, der kleine Bruder der 88x31 */
.b80s { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.b80 {
  box-sizing: border-box;
  width: 80px;
  height: 15px;
  display: inline-flex;
  border: 1px solid #666;
  font: bold 8px/1 Verdana, Arial, sans-serif;
  letter-spacing: 0;
}
.b80 .l { flex: 0 0 auto; display: flex; align-items: center; padding: 0 4px; background: #555; color: #fff; }
.b80 .r { flex: 1; display: flex; align-items: center; justify-content: center; background: #eee; color: #000; }
.b80.ff .r     { background: #ff8a00; color: #fff; }
.b80.xhtml .r  { background: #2a6fbf; color: #fff; }
.b80.css .r    { background: #2a6fbf; color: #fff; }
.b80.rss .l    { background: #f60; }
.b80.rss .r    { background: #fff; color: #f60; }
.b80.kaffee .r { background: #6f4e37; color: #fff; }
.b80.nojs .r   { background: #ffcc00; color: #000; }

.sitefoot { margin-top: 10px; border: 1px solid #ccc; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 760px) {
  .row, .col { display: block; width: 100%; }
  .site-header { flex-direction: column; align-items: flex-start; }
}
