/* ===== Blogger "Simple" style fan site ===== */

body {
  margin: 0;
  font: 12px Arial, Tahoma, Helvetica, FreeSans, sans-serif;
  color: #222;
  background: #66bbdd linear-gradient(to bottom, #a8dcf0 0, #66bbdd 600px) no-repeat;
  background-attachment: fixed;
}

a { color: #2288bb; text-decoration: none; }
a:hover { color: #33aaff; text-decoration: underline; }

/* ---- fake Blogger navbar ---- */
#navbar {
  height: 30px;
  background: linear-gradient(#f8f8f8, #e6e6e6);
  border-bottom: 1px solid #c9c9c9;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}
.nb-logo {
  background: #f57d00; color: #fff; font-weight: bold;
  width: 18px; height: 18px; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
}
#nb-search { display: flex; }
#nb-search input {
  width: 140px; height: 18px; border: 1px solid #bbb;
  border-right: 0; font-size: 11px; padding: 0 4px;
}
#nb-search button {
  height: 22px; border: 1px solid #bbb; background: #fff;
  cursor: pointer; font-size: 10px;
}
.nb-more { color: #333; font-size: 12px; }

/* ---- page shell ---- */
#outer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 30px;
}

/* ---- header banner ---- */
#header {
  position: relative;
  margin-top: 0;
  height: 180px;
  background:
    var(--banner, none) center/cover no-repeat,
    linear-gradient(135deg, #1d2b3a 0%, #3c5a78 45%, #9fd3ef 100%);
  overflow: hidden;
}
#header-link { display: block; height: 100%; padding: 18px 25px; color: #fff; text-decoration: none; }
#site-title {
  margin: 0;
  font: bold 30px Arial, sans-serif;
  color: #fff;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
#site-tagline {
  margin: 10px 0 0;
  font: bold 17px/1.35 Arial, sans-serif;
  color: #fff;
  max-width: 340px;
  text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
#header-corner {
  position: absolute; right: 12px; bottom: 10px;
  color: #fff; font: bold 13px Arial, sans-serif;
  text-shadow: 1px 1px 0 #000;
}

/* ---- tab bar ---- */
#tabs {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(#f5f5f5, #e3e3e3);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #ccc;
}
#tabs a {
  padding: 9px 14px;
  color: #999;
  font-size: 13px;
  border-left: 1px solid #fff;
  border-right: 1px solid #d6d6d6;
}
#tabs a:hover { color: #333; background: #eee; text-decoration: none; }
#tabs a.active { color: #000; background: #fff; }

/* ---- content columns ---- */
#content {
  display: flex;
  background: #fff;
  box-shadow: 0 0 40px rgba(0,0,0,.15);
}
#main { flex: 1; min-width: 0; padding: 15px 30px 30px 40px; }
#sidebar { width: 280px; padding: 25px 20px 30px 25px; border-left: 1px solid #f0f0f0; }

/* ---- posts ---- */
.date-header {
  margin: 20px 0 6px;
  font: bold 11px Arial, sans-serif;
  color: #000;
}
.post { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.post-title { margin: 0 0 14px; font: normal 22px Arial, sans-serif; color: #2288bb; }
.post-title a { color: #2288bb; }
.post-body { font-size: 13px; line-height: 1.45; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 12px auto; padding: 5px; background: #fff; border: 1px solid #eee; box-shadow: 1px 1px 5px rgba(0,0,0,.1); }
.post-body h2 { text-align: center; font-size: 22px; text-decoration: underline; margin: 6px 0 16px; }
.post-body .item-card { border: 1px solid #ccc; background: #fafafa; padding: 8px; margin: 10px 0; }
.post-footer {
  margin-top: 16px;
  padding: 6px 10px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 11px;
  line-height: 1.6;
}
.post-footer a { color: #2288bb; }

.status-msg {
  background: #f0f0f0; border: 1px solid #ddd;
  padding: 8px 10px; margin: 10px 0 20px; font-size: 12px;
}

.pager { display: flex; justify-content: space-between; margin: 10px 0; font-size: 13px; }
.pager .home { margin: 0 auto; }

/* ---- sidebar widgets ---- */
.widget { margin-bottom: 26px; }
.widget h2 { margin: 0 0 8px; font: bold 11px Arial, sans-serif; color: #000; }
.widget ul { margin: 0; padding-left: 16px; }
.widget li { margin: 4px 0; font-size: 12px; }
.widget .sep { color: #999; margin: 2px 0; }
.widget p { margin: 4px 0; }

.archive ul { list-style: none; padding-left: 0; }
.archive ul ul { padding-left: 14px; }
.archive .toggle { cursor: pointer; color: #999; display: inline-block; width: 12px; font-size: 10px; user-select: none; }
.archive .collapsed > ul { display: none; }

.counter {
  display: inline-block; background: #000; color: #0f0;
  font: bold 14px "Courier New", monospace; padding: 2px 6px;
  letter-spacing: 2px; border: 2px inset #666;
}

/* ---- footer ---- */
#footer {
  text-align: center;
  color: #fff;
  font-size: 11px;
  padding: 14px 0;
  text-shadow: 1px 1px 0 rgba(0,0,0,.3);
}
#footer a { color: #fff; text-decoration: underline; }

/* ---- small screens ---- */
@media (max-width: 760px) {
  #content { flex-direction: column; }
  #sidebar { width: auto; border-left: 0; border-top: 1px solid #eee; }
  #main { padding: 10px 15px; }
  #header { height: 150px; }
  #site-title { font-size: 24px; }
  #site-tagline { font-size: 14px; }
}