.img-center {
  margin: 0 auto;
}

.centered {
  text-align: center;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.42857143;
  color: #aaa;
  background-color: #1a1a1a;
}

html {
  /* this prevents the appearance of the vscroll offsetting the entire page left/right slightly */
  overflow-y: scroll;
}

a {
  color: #3893e8;
  text-decoration: none;
  cursor: pointer;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}

a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.hover-button,
.hover-button:link,
.hover-button:visited,
.hover-button-birth {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #c9a96e;
  text-shadow: 0 1px 3px #000, 0 0 10px rgba(200, 140, 30, 0.25);
  text-decoration: none;
  background-image:
    linear-gradient(rgba(24, 20, 14, 0.94), rgba(24, 20, 14, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #181410;
  border: 2px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 210, 100, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 3px 10px rgba(0, 0, 0, 0.75);
  padding: 5px 30px;
  text-align: center;
  display: inline-block;
  margin-top: 10px;
  cursor: pointer;
}

.hover-button:hover,
.hover-button:active,
.hover-button-birth:hover,
.hover-button-birth:active {
  color: #e8ca82;
  text-decoration: none;
  background-image:
    linear-gradient(rgba(42, 36, 24, 0.94), rgba(42, 36, 24, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  cursor: pointer;
}

img {
  vertical-align: middle;
}

.warning-banner {
  background-color: #800;
  width: 100%;
  border-radius: 8px;
  border-color: red;
  border-style: solid;
  border-width: 1px;
  padding: 5px 10px 5px 10px;
  color: white;
}

.error-image {
  width: 300px;
}

p {
  margin: 0 0 10px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul.no-bullet {
  list-style-type: none;
}

code.inline {
  font-family: monospace;
  font-size: 22px;
  color: #ccc;
}

code.block {
  background-color: #333333;
  padding: 10px;
  font-family: 'Courier New', Courier, monospace;
  width: 100%;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
}

.hype-metric {
  font-size: 18px;
  background-color: #444;
  margin: 10px;
  padding: 5px;
  text-align: center;
  width: 380px;
  float: left;
}

.hype-metric-container {
  height: 115px;
}

.job-container {
  border-top: solid;
  margin-top: 80px;
  border-top-width: 10px;
  border-top-color: green;
}

.json-container {
  display: block;
  white-space: pre-wrap;
  font-family: monospace;
  background-color: black;
  color: white;
  padding: 5px 20px 5px 20px;
  font-size: 12px;
  width: 100%;
}

code :not(.inline) {
  white-space: pre;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-left: 3px solid #f36d33;
  color: #666;
  page-break-inside: avoid;
  font-family: monospace;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1em 1.5em;
  display: block;
  word-wrap: break-word;
}

h1 {
  font-size: 36px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  color: #ccc;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.radio-option-container {
  display: block;
}

div.error-page {
  margin: 0 auto;
  margin-top: 50px;
  text-align: center;
}

.img-center {
  margin: 0 auto;
}

.learn-table {
  width: 100%;
  text-align: center;
  padding: 30px;
  font-size: 30px;
  color: #ccc;
}

.learn-table th {
  padding: 20px;
}

.learn-image {
  margin: 20px auto 50px auto;
  width: 60%;
  text-align: center;
  display: block;
}

.ai-image {
  margin: 20px auto 20px auto;
  width: 90%;
  text-align: center;
  display: block;
}

.ai-image-equation {
  margin: 20px auto 20px auto;
  width: 100%;
  text-align: center;
  display: block;
}

.image-caption {
  font-size: 14px;
  color: #ccc;
  text-align: center;
}

.container,
.wide-container,
.thin-container,
.very-thin-container,
.design-container {
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
}

.wide container {
  width: 400px;
}

.container {
  width: 400px;
}

.thin-container {
  width: 400px;
}

.very-thin-container {
  width: 300px;
}

.link-button-container {
  display: inline-block;
}

.link-button {
  float: left;
  margin-left: 10px;
  padding: 5px 15px 5px 15px;
  background-color: #444;
  border-color: #000;
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  margin-bottom: 5px;
}

.link-button:hover {
  background-color: #222;
  text-decoration: none;
}

.banner-center {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 30px;
}

.contact-email {
  height: 25px;
  display: block;
  margin-bottom: 10px;
}

a.admin-garb {
  width: 430px;
  display: block;
  background-color: black;
  padding: 5px;
  border-radius: 4px;
  border-style: solid;
  border-width: 2px;
  border-color: white;
  height: 268px;
  float: left;
  margin-left: 23px;
  margin-right: 23px;
  margin-bottom: 20px;
}

.admin-garb {
  width: 200px;
  height: 200px;
}

.admin-garbs {
  width: 100%;
  margin-top: 30px;
}

.admin-garb.error {
  display: block;
}

.admin-garb.error>img {
  width: 100px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 50px;
}

.admin-garb.error>div {
  color: #ffaaaa;
  text-decoration: none;
  text-align: center;
  font-size: 32px;
}

.admin-garb-title {
  text-align: center;
  width: 100%;
  height: 55px;
  font-size: 32px;
}

.admin-content-rating-image {
  width: 50px;
  position: inherit;
  float: right;
}

.admin-garb-background,
.admin-garb-foreground {
  position: absolute;
  width: 200px;
}

.admin-header>.link-button-container {
  width: 100%;
}

.admin-garb.left {
  float: left;
}

.admin-garb.right {
  float: right;
}

a.admin {
  display: inherit;
  width: 32%;
}

#q-count,
#q-before,
#q-after,
#q-type,
#q-report-id,
#q-version {
  width: 30%;
  left: -25%;
  position: relative;
}

.search-group {
  width: 50%;
  float: left;
  box-sizing: border-box;
}

.search-group>input::placeholder {
  opacity: 0.5;
  color: grey;
}

.brs,
.drs {
  display: inline-block;
}

.brs-input,
.brs-label,
.drs-input,
.drs-label {
  display: block;
  margin-top: 5px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.brs>div>input[type="checkbox"],
.drs>div>input[type="checkbox"] {
  width: 30px;
  height: 30px;
  margin-left: 40px;
  margin-top: 30px;
}

input.brs-show-hidden,
input.drs-show-all {
  display: inline-block;
}

label.brs-show-hidden,
label.drs-show-all {
  display: inline-block;
  vertical-align: super;
}

.invalid-search-explain {
  font-weight: bold;
  color: #bb0000;
  font-size: 18px;
  text-align: center;
  position: relative;
  left: 596px;
  top: -198px;
  width: 178px;
}

div.admin-header,
div.brs,
div.drs {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: grey;
  background-color: rgb(39, 39, 39);
  width: 100%;
}

div.admin-header-text {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  color: white;
  padding-top: 5px;
}

img.admin-header {
  width: 200px;
  display: block;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

img.admin-button {
  width: 30px;
  margin-right: 10px;
}

.link-button.admin {
  width: 100%;
}

.img-center {
  margin-left: auto;
  margin-right: auto;
}

.large-center-image {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 30px;
  margin-bottom: 30px;
}

.faq-center-image {
  width: 80px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

.chesscraft-banner {
  width: 512px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.youtube-embed {
  margin-top: 15px;
  text-align: center;
}

.navigation-banner {
  height: 40px;
  width: auto;
  float: left;
  margin-left: 20px;
  margin-right: 50px;
  display: block;
  padding: 10px 0px 10px 0px;
}

.navigation-buttons {
  margin-top: 10px;
}

.navigation-panel {
  color: #aaa;
  background-color: #303030;
  font-size: 20px;
  width: 100%;
  position: relative;

  border: solid;
  border-width: 1px;
  border-color: #3d3d3d;
}

/*FOOTER
The chosen method is to wrap everything on the page in .not-footer, except .footer.
Then set a minimum height, and .footer-push does the padding if necessary.
 */
html,
body {
  height: 100%;
  margin: 0;
}

.not-footer {
  min-height: 100%;
  margin-bottom: -500px;
}

.footer-push,
.footer {
  height: 500px;
}

@media only screen and (min-width: 768px) {
  .not-footer {
    margin-bottom: -320px;
  }

  .footer-push,
  .footer {
    height: 350px;
  }
}

.footer-left {
  position: relative;
  padding-right: 20px;
}

.footer-right {
  position: relative;
  text-align: right;
  padding-left: 20px;
  padding-top: 0px;
}

.footer-logo {
  width: 200px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.footer {
  color: #aaa;
  background-color: #303030;
  font-size: 18px;

  border: solid;
  border-width: 1px;
  border-color: #3d3d3d;

  margin-bottom: -280px;
  width: 100%;
  display: inline-block;
}

.fdr-img {
  width: 200px;
}

.bug-reports {
  margin-top: 50px;
}

.fused-design-reports,
.bug-reports {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 150px;
}

.fused-design-report,
.bug-report {
  width: 100%;
  margin-top: 20px;
  background-color: rgb(39, 39, 39);
  border-radius: 3px;
  border-width: 2px;
  border-color: white;
}

.fused-design-report-container {
  width: 100%;
  display: inline-flex;
}

.fdr-1,
.fdr-2,
.fdr-3,
.fdr-4 {
  border-right-style: solid;
  border-right-width: 2px;
  border-right-color: #2d2d2d;
}

.fdr-1 {
  width: 20%;
  text-align: center;
}

.fdr-2 {
  width: 18%;
}

.fdr-3 {
  width: 15%;
}

.fdr-4 {
  width: 37%;
}

.fdr-5 {
  width: 10%;
}

.fdr-content-rating {
  width: 50px;
}

.fdr-design-img {
  width: 100px;
}

.dr-name {
  font-size: 20px;
  font-weight: bold;
}

.dr-author {
  font-size: 12px;
}

.dr-description {
  font-size: 14px;
}

.content-rating-buttons {
  position: absolute;
  right: 16%;
}

.content-rating-button {
  width: 80px;
  margin: 10px;
  cursor: pointer;
}

.dr {
  display: block;
  padding: 10px;
}

.dr-reason-text,
.dr-datestamp,
.dr-reason-label {
  display: inline-block;
}

.dr-details {
  display: block;
}

.fdr {
  vertical-align: top;
  padding: 10px;
}

.display-none {
  display: none;
}

.display-inline-block {
  display: inline-block;
}

.dr-datestamp,
.dr-details {
  color: #666666;
  margin-right: 10px;
}

.br-tags>div:not(.br-client_ip):not(.br-bug_type) {
  color: #999999;
  background-color: #444444;
}

.br-tags>div {
  padding: 5px 20px 5px 20px;
  border-radius: 50px;
  border-style: solid;
  border-width: 1px;
  text-align: center;
  display: inline-block;
  margin: 0px 0px 10px 6px;
}

.br-exception {
  background-color: #6d3f3a;
  border-color: #ad5e57;
}

.br-error {
  background-color: rgb(102, 83, 47);
  border-color: #ac7c4f;
}

.br-user {
  background-color: rgb(15, 131, 35);
  border-color: rgb(17, 167, 42);
}

.br-client_ip {
  cursor: pointer;
  background-color: #444466;
  border-color: #5a5a88;
}

.br-client_ip:hover {
  background-color: #33334d;
  border-color: #434366;
}

.br-client_ip>a {
  text-decoration: none;
  color: inherit;
}

.br-client_ip>a:hover {
  text-decoration: none;
  color: inherit;
}

.br-tags {
  display: inline-block;
  width: 90%;
}

.br-text {
  max-height: 600px;
  overflow-y: auto;
  white-space: pre-line;
  background-color: #2d2d2d;
  color: #8e8e8e;
  padding: 20px 20px 20px 20px;
  width: 100%;
  border-bottom: #dddddd;
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.br-json-text {
  white-space: pre-line;
  max-height: 600px;
  overflow-y: auto;
  white-space: pre-line;
}

.br-left {
  width: 85%;
  display: inline-block;
}

.br-right {
  width: 14%;
  display: inline-block;
  margin-top: 15px;
}

.br-summary {
  color: #bbbbbb;
  font-size: 24px;
  font-weight: bold;
  padding: 20px 0px 10px 20px;
  width: 100%;
}

.dr-button,
.br-button {
  width: 100%;
}

.dr-button,
.br-button,
.brs-search-button {
  padding: 5px 15px 5px 15px;
  background-color: #444;
  border-color: #000;
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  margin-bottom: 5px;
  text-align: center;
}

.brs-search-button {
  margin-top: 10px;
  margin-bottom: 10px;
  width: 100px;
  left: 9%;
  position: relative;
}

.unhide-button-container {
  width: 100%;
  display: inline-block;
  height: 32px;
}

.unhide-button {
  width: 10%;
  margin-left: auto;
  top: -15px;
  position: relative;
}

.dr-button:hover,
.br-button:hover,
.brs-search-button:hover {
  background-color: #222;
  text-decoration: none;
  cursor: pointer;
}

.dr-tag {
  border-radius: 12px;
  border-width: 2px;
  border-style: solid;
  padding: 2px 6px 2px 6px;
  color: black;
  margin: 3px;
  text-align: center;
  display: inline-block;
}

.dr-id:hover {
  text-decoration: none;
  color: black;
  background-color: #e7a6ff;
}

.dr-id {
  background-color: #f1cbff;
  border-color: #e7a7ff;
}

.dr-child:hover {
  text-decoration: none;
  color: black;
  background-color: #5fd2ff;
}

.dr-child {
  background-color: #8fdfff;
  border-color: #6cd5ff;
}

.dr-label {
  background-color: #c9c9ff;
  border-color: #adadff;
}

.dr-text {
  font-size: 12px;
}

.dr-reason-label {
  background-color: #808853;
  border-color: #798340;
  width: 100px;
  text-align: center;
}

.json-container {
  background-color: #3d3d3d;
  color: #efefef;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 15px;
  white-space: pre-wrap;
  overflow-x: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.json-container::-webkit-scrollbar {
  width: 8px;
}

.json-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.json-container::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.report-popup-radio-container {
  float: left;
  width: 100%;
}

input {
  border: 1px solid #ccc;
  border-radius: 3px;
}

.report-popup-input-text {
  width: 400px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.report-popup-age-image {
  width: 60px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.analytics-stats-image {
  margin-top: 10px;
  margin-bottom: 30px;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.store-button-image {
  width: 100%;
}

.store-button-text {
  color: white;
}

.store-button-container {
  width: 33%;
}

.store-button-container-1 {
  float: left;
}

.store-button-container-2 {
  margin-left: auto;
  margin-right: auto;
}

.store-button-container-3 {
  float: right;
}

.store-buttons-container {
  width: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  margin-top: 45px;
  margin-bottom: 75px;
}

.store-button {
  width: 150px;
  height: 125px;
  text-align: center;
  margin: 0px 10px 0px 10px;
}

.social-button {
  width: 44px;
  height: auto;
  margin: 3px;
  z-index: 10;
}

.social-buttons {
  padding: 20px;
  top: 75px;
}

.carousel-slide {
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

input[type="radio"] {
  margin-top: -1px;
  vertical-align: middle;
}

label {
  margin-right: 20px;
  cursor: pointer;
}

.content-rating-table {
  width: 100%;
}

.content-rating-table-cell1 {
  width: 20%;
}

.content-rating-table-cell2 {
  width: 60%;
}

.content-rating-table-cell3 {
  width: 20%;
}

.content-rating-image {
  width: 100px;
}

.content-rating-explain {
  font-size: 12px;
}

.submit-report-button {
  margin-top: 30px;
  float: right;
}

.cancel-report-button {
  margin-top: 30px;
  float: left;
}

.popup-background,
.birth-popup-background,
.report-popup-background {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.birth-popup-background {
  background-color: rgba(0, 0, 0, 1);
  display: flex;
}

.birth-popup-content {
  top: 80px;
  width: 580px;
  height: 400px;
  text-align: center;
  position: absolute;
}

#birth-select-container {
  width: 100%;
}

.birth-select {
  border-style: solid;
  border-color: grey;
  border-width: 2px;
  border-radius: 10px;
  background-color: #444;
  margin: 60px;
  font-size: 32px;
  color: white;
  padding-top: 10px;
  padding-left: 20px;
}

.birth-select:hover {
  cursor: pointer;
  background-color: #333;
}

.birth-button {
  margin: 50px;
  display: block;
}

#birth-submit-container {
  display: block;
  width: 60%;
  margin: auto;
}

.report-popup-background {
  background-color: rgba(0, 0, 0, 0.4);
}

.report-popup,
.report-popup-success,
.report-popup-content {
  position: absolute;
  background-color: #3a3a3a;
  padding: 20px 90px 20px 90px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 8px;
}

.report-popup-success {
  top: 180px;
  width: 400px;
  height: 300px;
  padding-top: 90px;
  text-align: center;
}

.report-popup-content {
  top: 80px;
  width: 580px;
  height: 770px;
}

.report-popup-table-left {
  width: 150px;
}

.report-popup-table-right {
  width: 100%;
}

.analytics-stats-image {
  width: 100%;
}

@media only screen and (min-width: 1000px) {
  .wide-container {
    width: 1000px;
  }
}

.codex-mini-screenshot {
  width: 200px;
  display: block;
  margin: 0 auto 1em;
  border: 6px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
}

.codex-book-icon {
  width: 512px;
  height: 512px;
  display: block;
  margin: 0 auto 1em;
  image-rendering: pixelated;
}

.codex-mini-screenshot-wide {
  width: 400px;
  display: block;
  margin: 0 auto 1em;
  border: 6px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
}

.codex-screenshot-trio {
  margin: 0 auto 1.5em;
  border-collapse: separate;
  border-spacing: 20px 0;
}

.codex-screenshot-caption {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  padding: 0 1em;
  max-width: 200px;
}

.codex-intro {
  text-align: center;
  margin-bottom: 1.5em;
}

.codex-empty-note {
  text-align: center;
  color: #888;
}

.codex-container {
  width: 80%;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
}

.codex-text-container {
  max-width: 800px;
  margin-top: 30px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.codex-formula {
  display: block;
  width: fit-content;
  margin: 0.5em auto 1.25em;
  padding: 0.5em 1.5em;
  background-color: #2e2e2e;
  color: #e0e0e0;
  font-family: monospace;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  border: 4px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
}

.codex-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1em;
}

.codex-nav .link-button {
  float: none;
  margin-left: 0;
}

.augments-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.augments-table {
  width: 100%;
  border-collapse: collapse;
  color: #ccc;
  font-size: 14px;
}

.augments-table thead tr {
  background-color: #2a2a2a;
}

.augments-table th {
  color: #fff;
  font-weight: 600;
  padding: 9px 12px;
  text-align: left;
  white-space: nowrap;
  border: 1px solid #4a4a4a;
  border-bottom: 2px solid #666;
}

.augments-table td {
  padding: 6px 12px;
  border: 1px solid #333;
  vertical-align: top;
}

.augments-table tbody tr:nth-child(odd) td {
  background-color: #1e1e1e;
}

.augments-table tbody tr:nth-child(even) td {
  background-color: #272727;
}

.augments-table tbody tr:hover td {
  background-color: #313131;
}

.aug-desc-col {
  min-width: 280px;
}

.aug-range-col {
  white-space: nowrap;
  min-width: 80px;
}

.augments-section {
  margin-bottom: 2.5em;
}

h2.augment-category {
  border-bottom: 1px solid #444;
  padding-bottom: 4px;
  margin-top: 1.5em;
}

.champion-section {
  margin-bottom: 3em;
  border-bottom: 1px solid #333;
  padding-bottom: 2em;
}

h2.champion-name {
  border-bottom: 1px solid #444;
  padding-bottom: 4px;
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}

.champion-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  margin-bottom: 1em;
}

.champion-portrait-bg {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
  border: 6px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
}

.champion-portrait {
  width: 120px;
  height: auto;
  position: relative;
}

.champion-header-text {
  flex: 1;
}

.champion-description {
  color: #ccc;
  margin-bottom: 0.4em;
}

.champion-primary-stat {
  color: #aaa;
  font-size: 15px;
  margin-bottom: 0;
}

.champion-attack-speed-note {
  color: #aaa;
  font-size: 14px;
  margin-top: 0.6em;
}

.champion-stats-table {
  width: auto;
}

.champion-stats-group-header {
  text-align: center;
  background-color: #222;
  color: #999;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: none;
}

.champion-stats-lpc-header {
  background-color: #1e1e1e;
  color: #777;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: none;
}

.item-categories-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2em;
}

.item-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5em;
}

.item-category-nav .link-button.active {
  background-color: #555;
  border-color: #888;
  color: #fff;
}

.item-section {
  margin-bottom: 2em;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 1.5em;
  display: flex;
  justify-content: center;
}

.item-card {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.item-image-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.item-images-row {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  align-items: flex-start;
}

.item-img-bg {
  display: inline-block;
  position: relative;
  line-height: 0;
  border: 6px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
}

.item-img-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  filter: brightness(0.45);
}

.item-img {
  display: block;
  position: relative;
  image-rendering: pixelated;
}

.item-img-w1 { width: 100px; }
.item-img-w2 { width: 200px; }
.item-img-h1 { height: 100px; }
.item-img-h2 { height: 200px; }
.item-img-h3 { height: 300px; }
.item-img-h4 { height: 400px; }

.item-name {
  margin-top: 6px;
  color: #ccc;
  font-size: 13px;
  text-align: center;
}

.item-stats-col {
  flex: 1;
  overflow-x: auto;
}

.item-note {
  caption-side: bottom;
  padding-top: 0.6em;
  color: #aaa;
  font-size: 13px;
  font-style: italic;
  text-align: left;
}

.item-stats-table {
  width: auto;
  min-width: 300px;
}

@media only screen and (min-width: 768px) {
  .ai-image {
    width: 300px;
  }

  .footer-left {
    float: left;
    width: 380px;
  }

  .footer-right {
    float: right;
    width: 420px;
  }

  .container {
    width: 800px;
  }

  .thin-container {
    width: 800px;
  }

  .very-thin-container {
    width: 500px;
  }

  .social-button {
    margin: 6px;
  }

  .social-buttons {
    display: grid;
    top: 100px;
    position: fixed;
  }
}

/* ================================================================
   STONE THEME
   Requires: static/img/stone-tileable-background.png
             (copy from assets/Sprites/stone-tileable-background.png)
   Optional: static/img/stone-button-border.png
             (9-slice border image, 40x40px, 10px corner regions —
              dark grey stone edges with a thin warm amber/gold line
              along the inner rim; transparent center)
   ================================================================ */

body {
  background-image:
    linear-gradient(rgba(6, 5, 4, 0.80), rgba(6, 5, 4, 0.80)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #0a0807;
}

.navigation-panel,
.footer {
  background-image:
    linear-gradient(rgba(10, 8, 6, 0.90), rgba(10, 8, 6, 0.90)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #0d0b08;
  border-color: #2a2318;
}

.container,
.thin-container,
.very-thin-container,
.wide-container,
.design-container,
.codex-container {
  background-image:
    linear-gradient(rgba(40, 36, 30, 0.82), rgba(40, 36, 30, 0.82)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #1a1814;
  border: 6px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
  box-shadow:
    inset 5px 0 0 rgba(0, 0, 0, 0.85),
    inset -5px 0 0 rgba(0, 0, 0, 0.85),
    inset 14px 0 12px rgba(0, 0, 0, 0.40),
    inset -14px 0 12px rgba(0, 0, 0, 0.40);
  padding: 24px 32px;
}

/* --- Cinzel Headings --- */

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
}

/* --- Footer (flex sticky-footer replacing the old negative-margin technique) --- */

html {
  height: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
}

.not-footer {
  flex: 1 0 auto;
  min-height: 0;
  margin-bottom: 0;
}

.footer {
  flex-shrink: 0;
  height: auto;
  min-height: 0;
  margin-bottom: 0;
}

.footer-push {
  display: none;
}

.footer .wide-container {
  display: flow-root;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* --- Navbar button centering --- */

.navigation-panel {
  position: relative;
  min-height: 40px;
}

.navigation-banner {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  float: none;
  margin: 0;
  padding: 0;
}

.navigation-panel .link-button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px 0 8px;
}

.navigation-panel .link-button-container .link-button {
  float: none;
  margin-left: 0;
}

/* --- Popular page button rows --- */

.popular-link-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.popular-link-container .link-button {
  float: none;
  margin-left: 0;
}

/* --- Stone Navigation / Link Buttons --- */

.link-button,
.link-button:link,
.link-button:visited {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #c9a96e;
  text-shadow: 0 1px 3px #000, 0 0 10px rgba(200, 140, 30, 0.25);
  text-decoration: none;
  background-image:
    linear-gradient(rgba(24, 20, 14, 0.94), rgba(24, 20, 14, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #181410;
  border-radius: 0;
  border: 2px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 210, 100, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 3px 10px rgba(0, 0, 0, 0.75);
}

.link-button:hover,
.link-button:active {
  color: #e8ca82;
  background-image:
    linear-gradient(rgba(42, 36, 24, 0.94), rgba(42, 36, 24, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 218, 120, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 3px 14px rgba(0, 0, 0, 0.80),
    0 0 18px rgba(200, 140, 40, 0.10);
}

/* --- Social Buttons Sidebar --- */

.social-buttons {
  background: none;
  border: none;
  box-shadow: none;
  padding: 4px 2px;
}

.social-buttons a {
  display: block;
  background-image:
    linear-gradient(rgba(24, 20, 14, 0.94), rgba(24, 20, 14, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #181410;
  border: 2px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 210, 100, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 3px 10px rgba(0, 0, 0, 0.75);
  padding: 4px;
  margin: 4px 2px;
  line-height: 0;
}

.social-buttons a:hover {
  background-image:
    linear-gradient(rgba(42, 36, 24, 0.94), rgba(42, 36, 24, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 218, 120, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 3px 14px rgba(0, 0, 0, 0.80),
    0 0 18px rgba(200, 140, 40, 0.18);
}

/* --- Hype metrics --- */

.hype-metric-container {
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}

.hype-metric {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #999;
  background-image:
    linear-gradient(rgba(24, 20, 14, 0.94), rgba(24, 20, 14, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #181410;
  border: 2px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 210, 100, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 3px 10px rgba(0, 0, 0, 0.75);
  float: none;
  width: calc(50% - 5px);
  padding: 10px 20px;
  margin: 0;
}

/* --- Bullet list marker --- */

ul:not(.no-bullet):not(.list-unstyled) li {
  list-style: none;
  padding-left: 24px;
  position: relative;
}

ul:not(.no-bullet):not(.list-unstyled) li::before,
.faq-toc li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.3em;
  width: 14px;
  height: 14px;
  background-image: url('../img/list-bullet.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.faq-toc li {
  list-style: none;
  padding-left: 24px;
  position: relative;
}

/* --- Tables --- */

.augments-table thead tr,
.champion-stats-table thead tr,
.item-stats-table thead tr {
  background-color: rgba(0, 0, 0, 0.50);
}

.augments-table th {
  color: #c9a96e;
  border-color: rgba(122, 96, 53, 0.40);
  border-bottom-color: rgba(122, 96, 53, 0.65);
}

.augments-table td {
  border-color: rgba(0, 0, 0, 0.35);
}

.augments-table tbody tr:nth-child(odd) td,
.champion-stats-table tbody tr:nth-child(odd) td,
.item-stats-table tbody tr:nth-child(odd) td {
  background-color: rgba(0, 0, 0, 0.30);
}

.augments-table tbody tr:nth-child(even) td,
.champion-stats-table tbody tr:nth-child(even) td,
.item-stats-table tbody tr:nth-child(even) td {
  background-color: rgba(0, 0, 0, 0.08);
}

.augments-table tbody tr:hover td,
.champion-stats-table tbody tr:hover td,
.item-stats-table tbody tr:hover td {
  background-color: rgba(180, 130, 40, 0.12);
}

.champion-stats-group-header {
  background-color: rgba(0, 0, 0, 0.45);
  color: #a08040;
}

.champion-stats-lpc-header {
  background-color: rgba(0, 0, 0, 0.32);
}

.learn-table {
  background-color: transparent;
}

h2.augment-category,
h2.champion-name {
  border-bottom-color: rgba(122, 96, 53, 0.45);
}

/* --- Design Page Share Buttons (macro) --- */

.design-share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 24px 5px;
  width: 100%;
}

.design-share-buttons a {
  display: block;
  background-image:
    linear-gradient(rgba(24, 20, 14, 0.94), rgba(24, 20, 14, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #181410;
  border: 2px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.70),
    inset 0 1px 0 rgba(255, 210, 100, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 3px 10px rgba(0, 0, 0, 0.75);
  padding: 4px;
  line-height: 0;
}

.design-share-buttons a:hover {
  background-image:
    linear-gradient(rgba(42, 36, 24, 0.94), rgba(42, 36, 24, 0.94)),
    url('../img/unity-sprites/stone-tileable-background.png');
}

/* --- Narrow codex table wrapper --- */

.codex-crow {
  width: 128px;
  height: 128px;
  display: block;
  margin: 0 auto 1em;
  image-rendering: pixelated;
  background-image:
    linear-gradient(rgba(20, 17, 12, 0.6), rgba(20, 17, 12, 0.6)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #14110c;
  border: 6px solid #7a6035;
  border-image: url('../img/stone-button-border.png') 10 round;
}

.codex-narrow-wrap {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Home Banner --- */

.home-banner {
  display: block;
  margin: 24px auto 0;
  max-width: 600px;
  width: 90%;
  image-rendering: pixelated;
}

/* --- Piece Rules Codex --- */

.piece-rules-warning {
  color: #c9a84c;
  font-style: italic;
}

.piece-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.2em;
  margin-top: 1.5em;
}

.piece-rule-card {
  background-image:
    linear-gradient(rgba(20, 17, 12, 0.88), rgba(20, 17, 12, 0.88)),
    url('../img/unity-sprites/stone-tileable-background.png');
  background-color: #14110c;
  border: 2px solid #3a3020;
  border-image: url('../img/stone-button-border.png') 10 round;
  padding: 1em 0.8em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.piece-rule-img {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  margin-bottom: 0.6em;
}

.piece-rule-img-placeholder {
  width: 64px;
  height: 64px;
  margin-bottom: 0.6em;
}

.piece-rule-name {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: #e2c97e;
  font-size: 14px;
  margin-bottom: 0.4em;
}

.piece-rule-desc {
  color: #b0a090;
  font-size: 13px;
  line-height: 1.4;
}