:root {
  color-scheme: light;
  background: #f4f3eb;
}

@font-face {
  font-family: "Lotus Community Symbol";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/fonts/lotus-community-symbol.woff2") format("woff2");
  unicode-range: U+1F5EB;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: #f4f3eb;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f4f3eb;
  color: #313a32;
  font-family:
    Arial,
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;
}

.site-header {
  width: 100%;
  border-top: 2px solid #e2e1da;
  border-bottom: 1px solid #e2e1da;
  background: #fbfaf5;
}

.site-header__inner {
  display: flex;
  width: 100%;
  min-height: 136px;
  margin: 0 auto;
  padding: 20px clamp(22px, 2.5vw, 48px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header__logo img {
  display: block;
  width: auto;
  height: 72px;
  max-width: 132px;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 #a9b2a9);
}

.site-nav {
  display: flex;
  flex: 1 1 390px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-nav__link {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 12px;
  align-items: center;
  border: 1px solid transparent;
  color: #3f4940;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover {
  border-color: #a9b2a9;
  background: #eef5df;
  color: #24562c;
}

.site-nav__link:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: 2px;
}

.site-nav__link--active {
  border-color: #24562c;
  background: #24562c;
  color: #ffffff;
  box-shadow: 3px 3px 0 #a9b2a9;
}

.site-nav__link--active:hover {
  border-color: #24562c;
  background: #34763a;
  color: #ffffff;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.account-widget {
  min-width: 0;
}

.account-login-form__fields {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.account-login-form label {
  display: block;
  margin-bottom: 7px;
  color: #24562c;
  font-size: 14px;
  font-weight: 800;
}

.account-login-form input {
  display: block;
  width: min(100%, 260px);
  min-width: 0;
  min-height: 46px;
  padding: 9px 11px;
  border: 2px solid #889189;
  border-radius: 5px;
  background: #ffffff;
  color: #202721;
  font: inherit;
}

.account-login-form input:focus {
  border-color: #3478bd;
  outline: 2px solid rgba(52, 120, 189, 0.18);
}

.account-login-form--header input {
  width: 230px;
}

.account-login-button {
  min-height: 46px;
  padding: 9px 15px;
  border: 2px solid #24562c;
  border-radius: 5px;
  background: #eef5df;
  color: #24562c;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.account-login-button:hover {
  background: #e1edcb;
}

.account-login-button:focus-visible,
.account-logout-button:focus-visible,
.account-login-form input:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: 2px;
}

.account-error {
  display: block;
  margin-top: 5px;
  color: #8b3030;
  font-size: 12px;
  line-height: 1.3;
}

.account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #3f4940;
  font-size: 14px;
}

.account-summary strong {
  color: #24562c;
}

.account-summary--header {
  padding: 10px 12px;
  border: 1px solid #c2c8bf;
  border-radius: 5px;
  background: #ffffff;
}

.account-logout-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #a43a3a;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

.site-header__basket {
  display: inline-flex;
  min-width: 160px;
  min-height: 64px;
  padding: 15px 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #55b85a;
  border-radius: 0;
  background: #55b85a;
  color: #07152d;
  font-size: 22px;
  font-family: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.site-header__basket:hover {
  border-color: #24562c;
  background: #65c66a;
  transform: translateY(-1px);
}

.site-header__basket:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: 3px;
}

.site-header__basket-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #07152d;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.page-shell {
  width: calc(100% - 32px);
  margin: 24px auto;
}

.page-shell--home {
  max-width: 940px;
}

.page-shell--ranks {
  max-width: 1080px;
}

.page-shell--content {
  max-width: 980px;
}

.content-page-hero {
  margin-bottom: 24px;
  padding: clamp(24px, 5vw, 42px);
  border: 2px solid #24562c;
  border-top-width: 8px;
  background: #fbfaf2;
  box-shadow: 8px 8px 0 #24562c;
}

.content-page-hero__kicker {
  color: #3478bd;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.content-page-hero h1 {
  margin: 7px 0 0;
  color: #24562c;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: clamp(31px, 6vw, 48px);
  line-height: 1.05;
}

.content-page-hero p {
  max-width: 720px;
  margin: 13px 0 0;
  color: #525b53;
  font-size: 17px;
  line-height: 1.65;
}

.content-page-hero__links,
.guide-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.rank-path-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.server-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.server-info-card {
  min-width: 0;
  margin: 0;
  padding: 17px 13px;
  border: 1px solid #a9b2a9;
  border-bottom: 4px solid #55b85a;
  background: #ffffff;
  box-shadow: 4px 4px 0 #a9b2a9;
}

.server-info-card dt {
  color: #667067;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.server-info-card dd {
  margin: 6px 0 0;
  color: #24562c;
  font-size: clamp(17px, 3vw, 21px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.server-info-card code {
  color: inherit;
  font-family: "Courier New", monospace;
}

.server-map-actions,
.faq-answer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.server-map-temporary {
  margin: 16px 0 0;
  color: #667067;
  font-size: 13px;
}

.server-map-temporary a {
  color: #24562c;
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.supporter-ranks-intro {
  margin: 34px 0 14px;
}

.supporter-ranks-intro__kicker {
  margin-bottom: 5px;
  color: #3478bd;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.supporter-ranks-intro h2 {
  margin: 0;
  color: #24562c;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  font-size: clamp(25px, 4vw, 32px);
}

.supporter-ranks-intro p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #525b53;
  line-height: 1.6;
}

.text-link-button {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 14px;
  align-items: center;
  border: 2px solid #24562c;
  background: #eef5df;
  box-shadow: 3px 3px 0 #24562c;
  color: #24562c;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link-button:hover {
  background: #dfecc8;
}

.text-link-button:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: 3px;
}

.text-link-button--primary {
  background: #55b85a;
  color: #ffffff;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.info-panel {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid #a9b2a9;
  border-top: 5px solid var(--panel-accent, #55b85a);
  background: #fbfaf2;
  box-shadow: 6px 6px 0 #a9b2a9;
}

.info-panel h2,
.info-panel h3 {
  margin-top: 0;
  color: #24562c;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
}

.info-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(23px, 4vw, 30px);
}

.info-panel h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.info-panel p {
  color: #525b53;
  line-height: 1.65;
}

.info-panel > :last-child {
  margin-bottom: 0;
}

.info-panel a:not(.text-link-button) {
  color: #24562c;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-section-kicker,
.rules-card__range {
  margin-bottom: 6px;
  color: #3478bd;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.guide-command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.guide-command-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid #c5cbc3;
  background: #ffffff;
}

.guide-command-group h3 {
  padding-bottom: 8px;
  border-bottom: 2px dashed #cbd1c9;
}

.guide-command-group p:last-child {
  margin-bottom: 0;
}

.command-list {
  display: grid;
  gap: 9px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.command-list li {
  display: grid;
  gap: 7px;
  padding: 11px 13px;
  border-left: 4px solid var(--panel-accent, #55b85a);
  background: #f0f6e8;
  color: #59625a;
  line-height: 1.5;
}

.command-syntax {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 9px;
}

.command-syntax code {
  display: inline-block;
  padding: 2px 5px;
  border: 1px solid #d2dcc8;
  background: #ffffff;
  white-space: nowrap;
}

.command-syntax > span {
  color: #788078;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.command-description {
  display: block;
}

.command-list code,
.guide-note code,
.vote-rank-card code,
.faq-answer code {
  color: #24562c;
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.guide-note {
  margin-top: 18px;
  padding: 15px 17px;
  border-left: 5px solid #3478bd;
  background: #edf5fa;
  color: #43525c;
  line-height: 1.55;
}

.guide-steps {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 34px;
}

.guide-steps li {
  padding: 4px 0 4px 7px;
  color: #525b53;
  line-height: 1.6;
}

.guide-steps li::marker {
  color: #24562c;
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.guide-steps code,
.guide-detail code {
  color: #24562c;
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.guide-steps--compact {
  gap: 7px;
  margin-top: 12px;
}

.guide-detail {
  margin-top: 16px;
  border: 1px solid #a9b2a9;
  border-left: 5px solid var(--panel-accent, #55b85a);
  background: #ffffff;
}

.guide-detail summary {
  padding: 15px 18px;
  color: #24562c;
  font-weight: 800;
  cursor: pointer;
}

.guide-detail summary:hover {
  background: #eef5df;
}

.guide-detail summary:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: -3px;
}

.guide-detail__body {
  padding: 0 18px 18px;
}

.guide-detail__body > :first-child {
  margin-top: 0;
}

.guide-subheading {
  margin-top: 26px !important;
}

.guide-inline-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 14px;
  border: 1px solid #a9b2a9;
  background: #ffffff;
}

.guide-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.guide-image-grid figure {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #a9b2a9;
  background: #ffffff;
}

.guide-image-grid img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: #f4f3eb;
}

.guide-image-grid figcaption {
  margin-top: 9px;
  color: #667067;
  font-size: 12px;
  line-height: 1.45;
}

.guide-final-note {
  text-align: center;
}

.guide-final-note p {
  font-size: 17px;
}

.info-panel[id],
.vote-ranks-section,
.rank-grid[id],
.supporter-ranks-intro {
  scroll-margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-item {
  border: 1px solid #a9b2a9;
  border-left: 5px solid #55b85a;
  background: #fbfaf2;
  box-shadow: 4px 4px 0 #a9b2a9;
}

.faq-item summary {
  padding: 18px 48px 18px 18px;
  color: #24562c;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.faq-item summary:hover {
  background: #eef5df;
}

.faq-item summary:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: -3px;
}

.faq-answer {
  padding: 0 20px 20px;
  color: #525b53;
  line-height: 1.65;
}

.faq-answer > :first-child {
  margin-top: 0;
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.faq-answer__actions {
  justify-content: flex-start;
}

.overflow-examples {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 14px;
  margin-top: 18px;
}

.overflow-example {
  margin: 0;
  padding: 10px;
  border: 1px solid #a9b2a9;
  background: #ffffff;
}

.overflow-example img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f4f3eb;
}

.overflow-example figcaption {
  margin-top: 9px;
  color: #667067;
  font-size: 12px;
  line-height: 1.4;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rules-card {
  padding: 22px;
  border: 1px solid #a9b2a9;
  border-top: 5px solid var(--panel-accent, #55b85a);
  background: #ffffff;
  box-shadow: 5px 5px 0 #a9b2a9;
}

.rules-card h2 {
  margin: 0 0 13px;
  color: #24562c;
  font-size: 22px;
}

.rules-card__range {
  color: var(--panel-accent, #3478bd);
}

.rules-list {
  margin: 0;
  padding-left: 30px;
}

.rules-list li {
  padding: 7px 0 7px 5px;
  color: #465047;
  line-height: 1.55;
}

.rules-list li::marker {
  color: #24562c;
  font-family: "Courier New", monospace;
  font-weight: 800;
}

.vote-ranks-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 3px dashed #a9b2a9;
}

.vote-ranks-intro {
  padding: 23px 25px;
  border: 1px solid #a9b2a9;
  border-left: 5px solid #55b85a;
  background: #fbfaf2;
  box-shadow: 5px 5px 0 #a9b2a9;
}

.vote-ranks-intro__kicker {
  color: #3478bd;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.vote-ranks-intro h2 {
  margin: 5px 0 0;
  color: #24562c;
  font-size: 28px;
}

.vote-ranks-intro p {
  max-width: 780px;
  margin: 8px 0 0;
  color: #525b53;
  line-height: 1.6;
}

.vote-rank-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.vote-rank-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #a9b2a9;
  border-top: 5px solid var(--vote-color);
  background: #ffffff;
  box-shadow: 6px 6px 0 #a9b2a9;
}

.vote-rank-card__head {
  padding: 17px 16px 14px;
  border-bottom: 2px dashed #cbd1c9;
  background: var(--vote-tint);
}

.vote-rank-card__eyebrow {
  color: var(--vote-dark);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.vote-rank-card__head h3 {
  margin: 3px 0 0;
  color: #24562c;
  font-size: 23px;
}

.vote-rank-card__points {
  margin-top: 5px;
  color: #313a32;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 800;
}

.vote-rank-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.vote-rank-card__stats {
  width: 100%;
  border-collapse: collapse;
  color: #3f4940;
  font-size: 13px;
}

.vote-rank-card__stats td {
  padding: 5px 0;
  border-bottom: 1px solid #e1e5e1;
}

.vote-rank-card__stats td:last-child {
  color: var(--vote-dark);
  font-weight: 800;
  text-align: right;
}

.vote-rank-card__perks {
  margin-top: 13px;
  color: #59625a;
  font-size: 13px;
  line-height: 1.55;
}

.vote-rank-card__perks strong {
  color: #24562c;
}

.vote-ranks-note {
  margin-top: 17px;
  padding: 13px 15px;
  border-left: 5px solid #3478bd;
  background: #edf5fa;
  color: #43525c;
  font-size: 13px;
  line-height: 1.55;
}

.voting-comparison-title {
  margin-top: 28px;
  color: #24562c;
  font-size: 22px;
  font-weight: 800;
}

.comparison-description {
  margin: 5px 0 14px;
  color: #667067;
  font-size: 14px;
}

.voting-comparison-wrap {
  overflow-x: auto;
  border: 1px solid #a9b2a9;
  background: #ffffff;
}

.rank-comparison-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  color: #313a32;
  font-size: 13px;
  text-align: center;
}

.rank-comparison-table th,
.rank-comparison-table td {
  min-width: 116px;
  padding: 10px 9px;
  border-right: 1px solid #e1e5e1;
  border-bottom: 1px solid #d5d9d5;
  vertical-align: top;
}

.rank-comparison-table thead th {
  border-bottom: 4px solid var(--column-color, #24562c);
  background: #eef5df;
  color: #24562c;
}

.rank-comparison-table thead th:first-child,
.rank-comparison-table tbody th {
  min-width: 170px;
  text-align: left;
}

.rank-comparison-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fbfaf2;
  color: #24562c;
}

.rank-comparison-table tbody tr:nth-child(even) td {
  background: #fafaf7;
}

.rank-comparison-table__perks td {
  color: #59625a;
  line-height: 1.55;
  text-align: left;
}

.rank-comparison-table code {
  color: #24562c;
  font-family: "Courier New", monospace;
  font-weight: 800;
  white-space: nowrap;
}

.store-status,
.payment-complete {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid #a9b2a9;
  border-left: 5px solid #3478bd;
  border-radius: 6px;
  background: #edf5fa;
  color: #34434d;
  font-size: 14px;
  line-height: 1.5;
}

.store-status[data-tone="warning"] {
  border-left-color: #c98a20;
  background: #fff7e3;
  color: #6a4a12;
}

.store-status[data-tone="error"] {
  border-left-color: #b64141;
  background: #fff0f0;
  color: #722b2b;
}

.payment-complete {
  border-left-color: #55b85a;
  background: #eef8e8;
  color: #24562c;
  font-weight: 700;
}

.live-price {
  margin-top: 6px;
  color: #313a32;
  font-size: 16px;
  font-weight: 800;
}

.rank-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.rank-action,
.store-primary-button,
.store-text-button,
.store-dialog__close {
  font: inherit;
}

.rank-action {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--rank-shadow);
  border-radius: 5px;
  background: var(--rank-color);
  box-shadow: 0 3px 0 var(--rank-shadow);
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.rank-action:hover:not(:disabled) {
  filter: brightness(1.07);
}

.rank-action:focus-visible,
.store-primary-button:focus-visible,
.store-text-button:focus-visible,
.store-dialog__close:focus-visible {
  outline: 3px solid #3478bd;
  outline-offset: 3px;
}

.rank-action:disabled {
  cursor: wait;
  filter: grayscale(0.65);
  opacity: 0.6;
}

.rank-action--bubble {
  --rank-color: #48abd4;
  --rank-shadow: #2f7897;
}

.rank-action--tadpole {
  --rank-color: #6331c7;
  --rank-shadow: #492398;
}

.rank-action--seagrass {
  --rank-color: #ae49f4;
  --rank-shadow: #7b28b0;
}

.rank-action--lillypad {
  --rank-color: #e0629a;
  --rank-shadow: #a43a68;
}

.store-dialog {
  width: min(640px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: auto;
  border: 1px solid #8e978f;
  border-radius: 10px;
  background: #fbfaf2;
  box-shadow: 0 22px 70px rgba(20, 35, 23, 0.3);
  color: #313a32;
}

.store-dialog::backdrop {
  background: rgba(16, 27, 18, 0.66);
  backdrop-filter: blur(2px);
}

.store-dialog__surface {
  padding: 24px;
}

.store-dialog__close-row {
  display: flex;
  margin: -10px -8px 0 0;
  justify-content: flex-end;
}

.store-dialog__close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4f5950;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

.store-dialog__close:hover {
  background: #e7eadf;
}

.store-dialog__eyebrow {
  color: #3478bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.store-dialog__title {
  margin: 4px 0 0;
  color: #24562c;
  font-size: clamp(27px, 5vw, 36px);
  line-height: 1.15;
}

.store-dialog__price {
  margin-top: 8px;
  color: #313a32;
  font-size: 20px;
  font-weight: 800;
}

.package-description {
  margin: 20px 0;
  color: #3f4940;
  line-height: 1.65;
}

.package-description img {
  max-width: 100%;
  height: auto;
}

.package-description > :first-child {
  margin-top: 0;
}

.package-description > :last-child {
  margin-bottom: 0;
}

.account-panel {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #c2c8bf;
  border-left: 5px solid #3478bd;
  border-radius: 6px;
  background: #f4f8fa;
}

.store-primary-button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 2px solid #24562c;
  border-radius: 5px;
  background: #55b85a;
  box-shadow: 0 3px 0 #24562c;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.store-primary-button:hover:not(:disabled) {
  background: #65c66a;
}

.store-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.basket-empty {
  margin-top: 18px;
  padding: 18px;
  border-radius: 6px;
  background: #eef5df;
  color: #59625a;
  line-height: 1.55;
}

.basket-summary {
  display: flex;
  margin-top: 18px;
  padding: 16px 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #cbd1c9;
  border-bottom: 1px solid #cbd1c9;
}

.basket-summary__price {
  margin-top: 4px;
  color: #24562c;
  font-weight: 800;
}

.store-text-button {
  padding: 6px;
  border: 0;
  background: transparent;
  color: #a43a3a;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-form {
  margin-top: 20px;
}

.checkout-form label {
  display: block;
  margin-bottom: 7px;
  color: #24562c;
  font-weight: 800;
}

.checkout-form input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #889189;
  border-radius: 5px;
  background: #ffffff;
  color: #202721;
  font: inherit;
}

.checkout-form input:focus {
  border-color: #3478bd;
  outline: 2px solid rgba(52, 120, 189, 0.18);
}

.checkout-form__hint {
  margin: 8px 0 18px;
  color: #667067;
  font-size: 13px;
  line-height: 1.45;
}

.checkout-error {
  margin: 0 0 15px;
  padding: 10px 12px;
  border-left: 4px solid #b64141;
  background: #fff0f0;
  color: #722b2b;
  font-size: 14px;
  line-height: 1.45;
}

/* Retro web presentation: layout and texture only; the existing palette stays intact. */
body {
  font-family:
    Tahoma,
    Verdana,
    Arial,
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif;
}

.retro-page-frame,
.rank-intro,
.retro-subpanel {
  font-family:
    Tahoma,
    Verdana,
    Arial,
    "Segoe UI Emoji",
    "Apple Color Emoji",
    "Noto Color Emoji",
    sans-serif !important;
}

.site-header {
  border-top-width: 3px;
  border-bottom: 3px solid #a9b2a9;
  box-shadow: 0 4px 0 #24562c;
}

.site-header__logo:focus-visible {
  outline: 2px dotted #24562c;
  outline-offset: 5px;
}

.site-header__basket,
.account-login-button,
.rank-action,
.store-primary-button {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.site-header__basket {
  box-shadow: 5px 5px 0 #24562c;
}

.site-header__basket:active,
.account-login-button:active,
.rank-action:active:not(:disabled),
.store-primary-button:active:not(:disabled) {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #24562c;
}

.site-header__basket-count {
  border-radius: 0;
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.account-login-form input,
.checkout-form input {
  border-radius: 0;
  box-shadow:
    inset 2px 2px 0 #c2c8bf,
    inset -2px -2px 0 #ffffff;
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.account-login-button {
  box-shadow: 3px 3px 0 #24562c;
  font-family: "Courier New", monospace;
}

.account-summary,
.account-summary--header,
.account-panel {
  border-radius: 0;
}

.account-summary--header,
.account-panel {
  box-shadow: 3px 3px 0 #a9b2a9;
}

.account-summary strong,
.live-price,
.store-dialog__eyebrow,
.store-dialog__price,
.basket-summary__price {
  font-family: "Courier New", monospace;
}

.content-panel,
.retro-card,
.retro-callout,
.retro-subpanel,
.retro-widget,
.rank-card,
.retro-notice,
.comparison-wrap {
  border-radius: 0 !important;
}

.content-panel {
  box-shadow: 7px 7px 0 #a9b2a9 !important;
}

.content-panel--hero {
  box-shadow: 8px 8px 0 #24562c !important;
}

.retro-card {
  box-shadow: 4px 4px 0 #a9b2a9;
}

.feature-icon {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #313a32;
  font-family:
    "Segoe UI Symbol",
    "Noto Sans Symbols 2",
    "Arial Unicode MS",
    sans-serif;
  font-variant-emoji: text;
  line-height: 1;
}

.feature-icon--community {
  color: #313a32;
  font-family: "Lotus Community Symbol", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-variant-emoji: text;
}

.retro-callout {
  outline: 1px dotted #24562c;
  outline-offset: -7px;
}

.retro-callout a {
  border-radius: 0 !important;
  box-shadow: 4px 4px 0 #24562c !important;
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.retro-subpanel {
  box-shadow: 4px 4px 0 #a9b2a9 !important;
}

.retro-widget {
  box-shadow: 6px 6px 0 #24562c;
}

.retro-widget iframe {
  border-radius: 0 !important;
}

.store-status,
.payment-complete,
.retro-notice {
  border-radius: 0;
  box-shadow: 3px 3px 0 #a9b2a9;
  font-family: "Courier New", monospace;
}

.rank-grid {
  padding: 4px 6px 10px 0;
}

.rank-card {
  box-shadow: 6px 6px 0 #a9b2a9 !important;
}

.rank-card > div:first-child,
.rank-image {
  border-bottom-width: 2px !important;
  border-bottom-style: dashed !important;
}

.rank-card code,
.comparison-wrap code {
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.rank-action {
  box-shadow: 4px 4px 0 var(--rank-shadow);
  font-family: "Courier New", monospace;
}

.section-title {
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.comparison-wrap {
  border-width: 2px !important;
  box-shadow: 6px 6px 0 #a9b2a9;
}

.comparison-wrap th {
  font-family: "Courier New", monospace;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.comparison-wrap th:not(:last-child),
.comparison-wrap td:not(:last-child) {
  border-right: 1px dotted #cbd1c9;
}

.store-dialog {
  border-width: 3px;
  border-radius: 0;
  box-shadow: 9px 9px 0 #24562c;
}

.store-dialog::backdrop {
  backdrop-filter: none;
}

.store-dialog__surface {
  outline: 1px dotted #a9b2a9;
  outline-offset: -10px;
}

.store-dialog__close {
  border: 2px solid #8e978f;
  border-radius: 0;
  box-shadow: 2px 2px 0 #a9b2a9;
  font-family: "Courier New", monospace;
}

.store-dialog__title {
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  letter-spacing: 0.5px;
}

.store-primary-button {
  box-shadow: 4px 4px 0 #24562c;
  font-family: "Courier New", monospace;
}

@media (max-width: 1080px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header__logo {
    order: 1;
  }

  .site-header__actions {
    order: 2;
  }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px 0 2px;
    border-top: 1px solid #d8dcd4;
  }

  .vote-rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .content-grid,
  .rules-grid,
  .guide-image-grid,
  .overflow-examples {
    grid-template-columns: 1fr;
  }

  .server-info-grid {
    grid-template-columns: 1fr;
  }

  .guide-image-grid img {
    height: auto;
    max-height: 520px;
  }

  .overflow-example img {
    height: auto;
    max-height: 420px;
  }
}

@media (max-width: 620px) {
  .site-header__inner {
    min-height: 100px;
    padding: 15px 16px;
    flex-wrap: wrap;
  }

  .site-header__logo img {
    height: 58px;
    max-width: 100px;
  }

  .site-header__basket {
    min-width: 0;
    min-height: 50px;
    padding: 12px 16px;
    font-size: 17px;
  }

  .site-header__actions {
    flex: 1 1 100%;
    align-items: stretch;
  }

  .site-nav {
    margin-inline: -2px;
  }

  .site-nav__link {
    padding-inline: 11px;
  }

  .account-widget {
    flex: 1 1 auto;
  }

  .account-login-form--header input {
    width: 100%;
  }

  .account-summary--header {
    min-height: 50px;
  }

  .page-shell {
    width: calc(100% - 20px);
    margin-top: 14px;
  }

  .store-dialog__surface {
    padding: 19px;
  }

  .content-page-hero {
    padding: 23px 20px;
    box-shadow: 5px 5px 0 #24562c;
  }

  .vote-rank-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-header__actions {
    flex-wrap: nowrap;
  }

  .account-login-form--header,
  .account-login-form--header .account-login-form__fields {
    width: 100%;
  }

  .account-login-form--header .account-login-form__fields {
    flex-wrap: nowrap;
  }

  .account-login-form--header input {
    width: 0;
    flex: 1 1 auto;
  }

  .account-login-form--header .account-login-button {
    width: auto;
    padding-inline: 10px;
  }

  .site-header__basket {
    width: auto;
    min-width: 94px;
    padding-inline: 11px;
    font-size: 15px;
  }

  .site-nav {
    justify-content: space-between;
    gap: 0;
    overflow-x: visible;
  }

  .site-nav__link {
    min-height: 38px;
    padding: 8px 6px;
    font-size: 11px;
  }
}
