/* Noob News — styled faithfully after Hacker News.
   Plain on purpose: one orange bar, beige page, Verdana, grey subtext. */

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #f6f6ef;
  color: #000;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 10pt;
}

a { color: #000; text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: #828282; }

/* layout wrapper — HN is 85% wide, centered, with a white-ish content table */
.page {
  width: 85%;
  max-width: 1000px;
  margin: 0 auto;
  background: #f6f6ef;
}

/* ---- top orange bar ---- */
.topbar {
  background: #ff6600;
  padding: 2px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 85%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2px;
}
.logo {
  border: 1px solid #fff;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: bold;
  font-size: 13px;
  color: #fff;
  margin-right: 2px;
  flex: 0 0 auto;
}
.sitename { font-weight: bold; font-size: 10pt; }
.sitename a, .sitename a:visited { color: #000; }
.nav { font-size: 10pt; }
.nav a, .nav a:visited { color: #000; }
.nav .sep { color: #000; }
.topbar .spacer { flex: 1; }
.topbar .tagline { color: #fff; font-size: 8pt; }

/* ---- story list ---- */
.itemlist { padding: 6px 4px 12px; }

.story { display: flex; align-items: baseline; margin: 0 0 2px; line-height: 1.3; }
.rank { color: #828282; width: 2.2em; text-align: right; flex: 0 0 auto; }
.upvote {
  color: #999;
  flex: 0 0 auto;
  width: 14px;
  text-align: center;
  cursor: default;
  font-size: 10px;
  position: relative;
  top: -1px;
}
.titleline { padding-left: 2px; }
.titleline a.storylink, .titleline a.storylink:visited { color: #000; font-size: 10pt; }
.titleline a.storylink:visited { color: #828282; }
.sitebit { color: #828282; font-size: 8pt; }
.sitebit a, .sitebit a:visited { color: #828282; }

.subtext {
  color: #828282;
  font-size: 7.5pt;
  padding: 0 0 6px 2.2em;
  margin-left: 16px;
}
.subtext a, .subtext a:visited { color: #828282; }

/* ---- detail / explanation page ---- */
.detail { padding: 10px 4px 24px; }
.detail .head { display: flex; align-items: baseline; }
.detail .titleline a.storylink { font-size: 12pt; }
.detail .subtext { padding-left: 16px; margin-left: 0; }
.article { padding: 10px 0 4px 16px; max-width: 640px; }
.article p { font-size: 10pt; line-height: 1.5; margin: 0 0 12px; }

.comment-head {
  padding: 14px 0 4px 16px;
  color: #828282;
  font-size: 8pt;
}
.comments { padding: 0 0 0 16px; max-width: 660px; }
.comment { margin: 0 0 14px; }
.comhead { color: #828282; font-size: 8pt; margin-bottom: 2px; }
.comhead a, .comhead a:visited { color: #828282; }
.comment .text { font-size: 9pt; line-height: 1.45; }

.backlink { padding: 12px 0 0 16px; font-size: 9pt; }

/* ---- footer ---- */
.footer {
  border-top: 2px solid #ff6600;
  margin: 16px 4px 0;
  padding: 10px 0 24px;
  text-align: center;
  font-size: 8pt;
  color: #828282;
}
.footer a, .footer a:visited { color: #828282; }

/* small screens */
@media (max-width: 640px) {
  body { font-size: 11pt; }
  .page, .topbar-inner { width: auto; padding-left: 6px; padding-right: 6px; }
  .topbar .tagline { display: none; }
  .article, .comments { padding-left: 8px; }
}
