body {
  background: #100 url("assets/bground.jpg") repeat;
  color: #f6f5e1;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 11px;
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
  text-decoration: none;
}

a:link,
a:visited {
  color: #f6f5e1;
  text-decoration: none;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

h1 {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 8px;
}

h2 {
  color: #ff9999;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.25;
  margin: 0;
}

p {
  font-size: 15px;
  font-weight: bold;
}

.site-header,
.archive-page,
.site-footer,
.restore-note,
.game-page,
.plain-page,
.content-page,
.top-nav {
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}

.top-nav {
  align-items: center;
  background: rgba(25, 10, 10, 0.86);
  border: 1px solid rgba(246, 245, 225, 0.45);
  box-sizing: border-box;
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
  padding: 8px;
}

.top-nav a {
  border: 1px solid transparent;
  color: #f6f5e1;
  font-size: 12px;
  font-weight: bold;
  padding: 7px 12px;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: #3b201f;
  border-color: #a76d58;
  color: #fff000;
  text-decoration: none;
}

.site-header {
  background: linear-gradient(180deg, rgba(59, 32, 31, 0.78), rgba(22, 8, 8, 0.38));
  border: 1px solid rgba(246, 245, 225, 0.35);
  box-sizing: border-box;
  margin-top: 8px;
  padding: 24px 28px 18px;
  text-align: center;
}

.site-header p {
  margin: 8px 0;
}

.week-game a {
  color: #dfdc33;
  font-size: 12px;
  text-decoration: underline;
}

.green,
.featured a:link,
.featured a:visited {
  color: #00ff00;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.hero-stats span {
  background: rgba(246, 245, 225, 0.08);
  border: 1px solid rgba(246, 245, 225, 0.24);
  box-sizing: border-box;
  color: #f6f5e1;
  display: inline-flex;
  gap: 6px;
  padding: 7px 10px;
}

.hero-stats strong {
  color: #fff000;
}

.ad-box {
  border: 1px solid #f6f5e1;
  box-sizing: border-box;
  height: 96px;
  margin: 0 auto 8px;
  padding-top: 38px;
  text-align: center;
  width: 730px;
}

.ad-box span,
.ad-placeholder {
  color: #c6b7a7;
  font-weight: bold;
}

.link-table {
  align-items: flex-start;
  background: rgba(10, 4, 4, 0.32);
  border: 1px solid rgba(246, 245, 225, 0.65);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 0;
  width: 960px;
}

.oszlop {
  width: 190px;
}

.doboz {
  background: rgba(20, 9, 9, 0.86);
  border: 1px solid rgba(246, 245, 225, 0.66);
  box-sizing: border-box;
  margin: 6px;
  width: 170px;
}

.doboz:hover {
  border-color: #fff000;
}

.doboz .fejlec {
  background-color: #3b201f;
  box-sizing: border-box;
  color: #ea8b80;
  font-weight: bold;
  padding: 5px 4px;
  text-align: center;
  width: 168px;
}

.doboz .main {
  padding: 10px;
}

.doboz ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doboz li {
  font-weight: bold;
  line-height: 1.25;
  margin: 0 0 6px;
}

.doboz .main .title a:link,
.doboz .main .title a:visited,
.doboz .main li a:link,
.doboz .main li a:visited {
  color: #f6f5e1;
  font-weight: bold;
}

.doboz .main li.featured a:link,
.doboz .main li.featured a:visited {
  color: #00ff00;
}

.doboz .main li a:hover {
  color: #fff000;
  font-weight: bold;
  text-decoration: none;
}

.site-footer {
  align-items: stretch;
  border: 1px solid #f6f5e1;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 88px 1fr 120px;
  margin-top: 8px;
  min-height: 104px;
}

.badges,
.footer-links {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 8px;
  text-align: center;
}

.badges span {
  border: 1px solid #7fa5cf;
  color: #d9ecff;
  display: block;
  font-size: 10px;
  line-height: 1.1;
  padding: 5px 4px;
  width: 70px;
}

.footer-main {
  background: #241312 url("assets/alul.jpg") center/cover;
  padding: 16px 20px;
  text-align: center;
}

.footer-main p {
  color: #ffffff;
  font-size: 12px;
  margin: 6px 0 0;
}

.footer-links a {
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: 14px;
}

.restore-note {
  color: #bba99b;
  font-size: 10px;
  font-weight: normal;
  line-height: 1.4;
  padding-bottom: 24px;
  text-align: center;
}

.game-page,
.plain-page,
.content-page {
  box-sizing: border-box;
  min-height: 520px;
  padding: 88px 205px 24px;
}

.content-page {
  padding-left: 48px;
  padding-right: 48px;
}

.content-page h1,
.plain-page h1,
.game-page h1 {
  font-size: 22px;
}

.content-page > p {
  color: #eeeee0;
  font-size: 13px;
  line-height: 1.6;
  max-width: 720px;
}

.feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-grid article,
.timeline article {
  background: rgba(20, 9, 9, 0.88);
  border: 1px solid rgba(246, 245, 225, 0.52);
  box-sizing: border-box;
  padding: 16px;
}

.feature-grid h2,
.timeline h2 {
  color: #fff000;
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-grid p,
.timeline p {
  color: #eeeee0;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.55;
  margin: 0;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.timeline span {
  color: #00ff00;
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.game-frame {
  border: 1px solid #f6f5e1;
  box-sizing: border-box;
  color: #eeeee0;
  min-height: 260px;
  padding: 72px 40px;
  text-align: center;
}

.game-copy,
.plain-page p {
  color: #eeeee0;
  font-size: 13px;
  line-height: 1.55;
}

kbd {
  background: #2a1716;
  border: 1px solid #f6f5e1;
  border-radius: 2px;
  color: #ffffff;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  padding: 1px 5px;
}

.site-footer.compact {
  display: block;
  min-height: auto;
}

@media (max-width: 980px) {
  .site-header,
  .archive-page,
  .site-footer,
  .restore-note,
  .game-page,
  .plain-page,
  .content-page,
  .top-nav,
  .link-table {
    width: calc(100% - 20px);
  }

  .ad-box {
    width: min(730px, 100%);
  }

  .link-table {
    justify-content: center;
  }

  .game-page,
  .plain-page,
  .content-page {
    padding: 48px 20px 24px;
  }
}

@media (max-width: 560px) {
  .top-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .doboz,
  .doboz .fejlec {
    width: 100%;
  }

  .doboz {
    max-width: 260px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
