.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portal-wrap {
  --portal-ink: #183b3b;
  --portal-muted: #526965;
  --portal-border: #ccd8d2;
  margin: 2.5rem 0 5rem;
  color: var(--portal-ink);
}
.portal-auth-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #fbfcf8;
  border: 1px solid var(--portal-border);
  border-radius: 24px;
  overflow: hidden;
  max-width: 1040px;
  margin: auto;
  box-shadow: 0 20px 65px #163b3510;
}
.portal-story {
  padding: clamp(2rem, 5vw, 4rem);
  background: #163c3b;
  color: #f3f5ed;
  position: relative;
  overflow: hidden;
}
.portal-story .eyebrow,
.portal-story p {
  color: #d5e2d9;
}
.portal-story h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 2rem 0 1.5rem;
  letter-spacing: -0.04em;
}
.portal-story h2 em {
  color: #c5dfba;
  font-weight: 400;
}
.portal-story p {
  line-height: 1.7;
  max-width: 28rem;
}
.portal-orbit {
  margin: 3rem auto;
  width: 180px;
  height: 180px;
  border: 1px solid #a9c5b85c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transform: rotate(-20deg);
}
.portal-orbit::after {
  content: "";
  position: absolute;
  inset: 23px -35px;
  border: 1px solid #a9c5b85c;
  border-radius: 50%;
}
.portal-orbit span {
  font-size: 4rem;
  font-family: Georgia, serif;
  transform: rotate(20deg);
}
.portal-orbit i {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #d4dabb;
  border-radius: 50%;
  top: 14px;
  right: 27px;
}
.portal-orbit i:last-child {
  top: auto;
  bottom: 25px;
  right: auto;
  left: 12px;
  background: #89b2a4;
  width: 9px;
  height: 9px;
}
.portal-story-note {
  font-size: 0.85rem;
}
.portal-auth-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.portal-wrap h1 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.portal-wrap h2 {
  font-size: 1.35rem;
}
.portal-story h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}
.portal-lead,
.portal-hint {
  color: var(--portal-muted);
  line-height: 1.65;
}
.portal-hint {
  font-size: 0.85rem;
}
.portal-wrap fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.portal-field {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1.2rem 0;
}
.portal-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #9fafaa;
  border-radius: 8px;
  background: #fff;
  color: #183b3b;
  font: inherit;
  min-width: 0;
}
.portal-primary,
.portal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.2rem;
  border: 1px solid #214c44;
  border-radius: 8px;
  background: #214c44;
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.portal-auth-card .portal-primary {
  width: 100%;
  margin: 0.5rem 0;
}
.portal-secondary {
  background: transparent;
  color: #214c44;
}
.portal-link {
  font: inherit;
  color: #234e43;
  background: none;
  border: 0;
  padding: 0.6rem 0;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}
.portal-wrap button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.portal-wrap a {
  text-underline-offset: 3px;
}
.portal-wrap :is(input, select, textarea, button, a):focus-visible {
  outline: 3px solid #487b5d;
  outline-offset: 4px;
}
.portal-message:not(:empty) {
  padding: 1rem;
  background: #e7efe7;
  border-left: 3px solid #416e53;
  border-radius: 4px;
  line-height: 1.6;
}
.portal-message[data-error="true"] {
  background: #fff0eb;
  border-color: #a64028;
  color: #79331f;
}
.portal-app-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 3rem;
}
.portal-sidebar {
  border-right: 1px solid var(--portal-border);
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}
.portal-company {
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  margin: 0 0 1rem;
}
.portal-sidebar nav {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.portal-sidebar nav a {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.portal-sidebar nav a[aria-current] {
  background: #e0eadf;
  font-weight: 700;
}
.portal-content {
  min-width: 0;
}
.portal-banner {
  border: 1px solid #ccd8b8;
  background: #f0f3e6;
  border-radius: 12px;
  padding: 1rem 1.3rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.portal-product,
.portal-panel {
  background: #fbfcf8;
  padding: 1.5rem;
  border: 1px solid var(--portal-border);
  border-radius: 14px;
}
.portal-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}
.portal-product h2,
.portal-product p {
  margin: 0.3rem 0;
}
.portal-product p {
  color: var(--portal-muted);
  line-height: 1.6;
}
.portal-product a {
  margin-top: auto;
  padding-top: 0.8rem;
}
.portal-badge {
  background: #e7ede2;
  color: #344d37;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.portal-panel {
  margin: 1rem 0;
  overflow-wrap: anywhere;
}
.portal-panel dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.8rem;
}
.portal-panel dd {
  margin: 0;
}
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0;
}
@media (max-width: 760px) {
  .portal-auth-layout {
    grid-template-columns: 1fr;
  }
  .portal-story {
    padding: 1.5rem 2rem;
  }
  .portal-story h2 {
    font-size: 2rem;
    margin: 0.6rem 0;
  }
  .portal-story h2 br,
  .portal-orbit,
  .portal-story-note {
    display: none;
  }
  .portal-story p {
    margin: 0.5rem 0;
  }
  .portal-app-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .portal-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--portal-border);
    padding: 0 0 1rem;
    gap: 0.5rem;
  }
  .portal-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .portal-wrap {
    margin-top: 1.5rem;
  }
  .portal-panel dl {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .portal-panel dd {
    margin-bottom: 0.8rem;
  }
}

.portal-danger {
  border-color: #c8a6a0;
}
.portal-danger button {
  color: #812f26;
  border-color: #b58b84;
}
.portal-panel form {
  max-width: 32rem;
}

/* Minecraft hosting workspace */
.games-dashboard {
  --games-night: #102b2b;
  --games-deep: #173c38;
  --games-green: #3d7355;
  --games-mint: #dcebdd;
  --games-sand: #f4f1e8;
  display: grid;
  gap: 1.15rem;
}
.games-dashboard > * {
  margin: 0;
}
.games-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  overflow: hidden;
  min-height: 230px;
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: 24px;
  color: #f7faf4;
  background:
    linear-gradient(135deg, #102b2bf2, #245348e8),
    repeating-linear-gradient(45deg, #ffffff08 0 18px, #00000008 18px 36px);
  box-shadow: 0 24px 60px #133b3320;
}
.games-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -90px;
  border: 42px solid #b7d7b51b;
  transform: rotate(18deg);
}
.games-hero h2 {
  max-width: 650px;
  margin: 0.35rem 0 0.8rem;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.games-hero p {
  max-width: 650px;
  margin: 0;
  color: #d9e6df;
  line-height: 1.65;
}
.games-kicker {
  color: #b9d7bd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.games-hero-status {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.2rem 0.65rem;
  min-width: 180px;
  padding: 1rem 1.2rem;
  border: 1px solid #d7eadc30;
  border-radius: 16px;
  background: #0d2828a8;
  backdrop-filter: blur(10px);
}
.games-hero-status span {
  grid-row: span 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ee79f;
  box-shadow: 0 0 0 6px #9ee79f1d;
}
.games-hero-status small {
  color: #bcd0c7;
}
.games-dashboard > .portal-banner {
  padding: 0.85rem 1.1rem;
  border-color: #d8dfd5;
  background: #f8faf5;
  font-size: 0.88rem;
}
.games-screen-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.45rem;
  border: 1px solid #d8e1db;
  border-radius: 18px;
  background: #f0f4ef;
}
.games-screen-nav button {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 13px;
  color: #496158;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.games-screen-nav button span {
  color: #1a3830;
  font-weight: 800;
}
.games-screen-nav button small {
  color: inherit;
}
.games-screen-nav button[aria-current] {
  color: #c9ddd2;
  background: var(--games-night);
  box-shadow: 0 8px 20px #102b2b20;
}
.games-screen-nav button[aria-current] span {
  color: #fff;
}
.games-servers,
.games-config-panel,
.games-content,
.games-activity,
.games-recovery {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 20px;
}
.games-servers > h2,
.games-config-panel > h2,
.games-content h2,
.games-activity > h2 {
  margin-top: 0;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}
.games-content-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #dce4df;
}
.games-content-heading h2,
.games-content-heading p {
  margin: 0.35rem 0 0;
}
.games-content-heading p {
  max-width: 720px;
  color: var(--portal-muted);
  line-height: 1.55;
}
.games-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: start;
  gap: 1.4rem;
  margin-top: 1.35rem;
}
.games-content[data-content-edition="bedrock"] .games-content-layout {
  grid-template-columns: 1fr;
}
.games-content-layout h3 {
  margin: 0 0 0.8rem;
}
.games-catalogue-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.games-catalogue-intro h3,
.games-catalogue-intro p {
  margin: 0.3rem 0 0;
}
.games-catalogue-intro p {
  max-width: 520px;
  color: var(--portal-muted);
  line-height: 1.5;
}
.games-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.games-addon-card {
  position: relative;
  display: block;
  cursor: pointer;
}
.games-addon-card > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.games-addon-card-body {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid #d4ded7;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f5f8f4);
  box-shadow: 0 10px 25px #173c380b;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}
.games-addon-card:hover .games-addon-card-body {
  transform: translateY(-2px);
  border-color: #8cae9b;
  box-shadow: 0 15px 32px #173c3814;
}
.games-addon-card > input:focus-visible + .games-addon-card-body {
  outline: 3px solid #85c8a5;
  outline-offset: 3px;
}
.games-addon-card > input:checked + .games-addon-card-body {
  border-color: var(--games-leaf);
  box-shadow:
    inset 0 0 0 2px var(--games-leaf),
    0 15px 35px #173c3816;
}
.games-addon-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.games-addon-top > span:last-child {
  display: grid;
  gap: 0.18rem;
}
.games-addon-top small {
  color: #628073;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.games-addon-top strong {
  color: var(--games-night);
  font-size: 1.04rem;
}
.games-addon-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--games-leaf), var(--games-deep));
  font-weight: 900;
}
.games-addon-summary {
  margin: 0.9rem 0;
  color: #4a6259;
  line-height: 1.5;
}
.games-addon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}
.games-addon-meta span,
.games-catalogue-label {
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  color: #456057;
  background: #e9f0eb;
  font-size: 0.72rem;
  font-weight: 700;
}
.games-addon-select {
  margin-top: 0.85rem;
  color: var(--games-deep);
  font-size: 0.84rem;
  font-weight: 850;
}
.games-addon-card
  > input:checked
  + .games-addon-card-body
  .games-addon-select::before {
  content: "✓ ";
}
.games-selection-bar {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(260px, 1fr) auto;
  align-items: end;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  border-radius: 15px;
  background: var(--games-night);
}
.games-selection-bar .portal-field,
.games-selection-bar .games-review-consent {
  margin: 0;
  color: #dce9e2;
}
.games-selection-bar .portal-field input {
  width: 100%;
  min-height: 42px;
  margin-top: 0.3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #6f8c7e;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.games-selection-bar .portal-primary {
  white-space: nowrap;
}
.games-content-tabs {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: #edf2ed;
}
.games-content-tabs button {
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 9px;
  color: #456057;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.games-content-tabs button[aria-pressed="true"] {
  color: #fff;
  background: var(--games-deep);
}
.games-catalogue-empty,
.games-content-empty {
  margin: 0.9rem 0 1.4rem;
  padding: 1rem;
  border: 1px dashed #afc0b6;
  border-radius: 14px;
  color: #4c635b;
  background: #f7faf6;
}
.games-catalogue-empty p,
.games-content-empty p {
  margin: 0.4rem 0 0;
  line-height: 1.5;
}
#games-content-form {
  padding: 1.1rem;
  border: 1px solid #d7e0da;
  border-radius: 17px;
  background: #f7f9f6;
  box-shadow: 0 14px 32px #173c3810;
}
#games-content-form .portal-field {
  margin: 0 0 0.8rem;
  padding: 0;
}
#games-content-form input,
#games-content-form select,
#games-content-form textarea {
  width: 100%;
  min-width: 0;
  margin-top: 0.35rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid #aebfb5;
  border-radius: 9px;
  color: var(--portal-ink);
  background: #fff;
  font: inherit;
}
#games-content-form textarea {
  resize: vertical;
}
.games-review-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 1rem;
  color: #4d625b;
  font-size: 0.86rem;
  line-height: 1.45;
}
.games-review-consent input {
  width: auto !important;
  margin-top: 0.15rem !important;
}
.games-content-requests {
  display: grid;
  gap: 0.75rem;
}
.games-content-card {
  padding: 1rem;
  border: 1px solid #dbe3de;
  border-radius: 14px;
  background: #fff;
}
.games-content-card > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.games-content-card h4 {
  margin: 0;
}
.games-content-card dl {
  grid-template-columns: auto 1fr;
  margin: 0.8rem 0;
  font-size: 0.86rem;
}
.games-content-card small {
  display: block;
  margin-top: 0.55rem;
  color: var(--portal-muted);
}
.games-server-card {
  position: relative;
  gap: 0.8rem;
  overflow: hidden;
  padding: 1.35rem;
  border-color: #d9e1dc;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7faf6);
  box-shadow: 0 12px 35px #173c3810;
}
.games-server-card::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -36px;
  top: -36px;
  border: 16px solid #44735c12;
  transform: rotate(16deg);
}
.games-server-card h3 {
  margin: 0;
  font-size: 1.22rem;
}
.games-server-card dl {
  width: 100%;
  margin: 0.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid #e0e7e2;
  font-size: 0.9rem;
}
.games-server-card code,
.games-recovery code {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  color: #173a36;
  background: #e8efea;
}
.games-server-card .portal-actions {
  margin: 0.4rem 0 0;
}
.games-server-card .portal-actions .portal-secondary {
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
}
.games-config-panel {
  background: #f7f9f5;
}
.games-config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, 0.65fr);
  align-items: start;
  gap: 1.4rem;
  margin-top: 1.4rem;
}
.games-config-panel .games-config-layout form {
  display: block;
  max-width: none;
  margin: 0;
}
.games-config-panel .portal-field {
  margin: 0;
  padding: 1rem;
  border: 1px solid #d9e2dc;
  border-radius: 14px;
  background: #fff;
}
.games-config-panel .portal-field select,
.games-config-panel .portal-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #aebfb5;
  border-radius: 9px;
  color: var(--portal-ink);
  background: #fbfcfa;
  font: inherit;
}
.games-config-panel .portal-field:first-child,
.games-form-section,
.games-device-choices,
.games-config-panel form > .portal-primary {
  grid-column: 1 / -1;
}
.games-form-section {
  padding: 1.1rem;
  border: 1px solid #d9e2dc;
  border-radius: 16px;
  background: #fff;
}
.games-setup-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}
.games-setup-steps button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem;
  border: 0;
  border-radius: 10px;
  color: #64766e;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.games-setup-steps button span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #e4ebe6;
  font-size: 0.7rem;
}
.games-setup-steps button[aria-current] {
  color: #173d32;
  background: #e5eee7;
}
.games-setup-steps button[aria-current] span {
  color: #fff;
  background: var(--games-deep);
}
.games-edition-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.games-edition-cards label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #bdcbc3;
  border-radius: 13px;
  background: #f9fbf8;
  cursor: pointer;
}
.games-edition-cards label:has(input:checked) {
  border-color: #38674f;
  background: #e1ece2;
  box-shadow: inset 0 0 0 1px #38674f;
}
.games-edition-cards span,
.games-edition-cards small {
  display: block;
}
.games-edition-cards small,
.games-config-panel .portal-field small {
  margin-top: 0.28rem;
  color: var(--portal-muted);
  font-weight: 400;
  line-height: 1.35;
}
.games-section-heading {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.games-section-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  background: var(--games-deep);
  font-size: 0.75rem;
  font-weight: 800;
}
.games-section-heading h3,
.games-section-heading p {
  margin: 0;
}
.games-section-heading p {
  margin-top: 0.2rem;
  color: var(--portal-muted);
  font-size: 0.86rem;
}
.games-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.games-form-grid .portal-field {
  padding: 0;
  border: 0;
}
.games-device-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem !important;
  border: 1px solid #d9e2dc !important;
  border-radius: 16px;
  background: #fff;
}
.games-device-choices legend {
  width: 100%;
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.games-device-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #b9c8c0;
  border-radius: 999px;
  background: #f8faf7;
  cursor: pointer;
}
.games-device-choices label:has(input:checked) {
  border-color: #38674f;
  color: #183d31;
  background: #dceadd;
  box-shadow: inset 0 0 0 1px #38674f;
}
.games-config-panel form > .portal-primary {
  justify-self: start;
  min-width: 190px;
  border-radius: 10px;
}
.games-config-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.games-config-actions [data-config-position] {
  margin-right: auto;
}
.games-config-actions button {
  min-width: 110px;
}
.games-draft-review {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 13px;
  color: #dceae2;
  background: var(--games-night);
}
.games-draft-review h4 {
  margin: 0 0 0.8rem;
  color: #fff;
}
.games-draft-review dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}
.games-draft-review dt {
  color: #a9c6b8;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}
.games-draft-review dd {
  margin: 0;
}
#games-recommendation {
  position: sticky;
  top: 1rem;
  min-height: 180px;
  padding: 1.25rem;
  border-radius: 18px;
  color: #edf5ef;
  background: var(--games-night);
  box-shadow: 0 18px 35px #102b2b22;
}
#games-recommendation h3,
#games-recommendation h4 {
  color: #fff;
}
#games-recommendation h3 {
  margin-top: 0;
}
#games-recommendation dl {
  grid-template-columns: 1fr;
  gap: 0.2rem;
}
#games-recommendation dt {
  color: #a9c6b8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#games-recommendation dd {
  margin-bottom: 0.8rem;
}
#games-recommendation li,
#games-recommendation .portal-hint {
  color: #cedfd5;
  line-height: 1.5;
}
.games-activity ul {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}
.games-activity li {
  padding: 0.85rem 1rem;
  border: 1px solid #dfe6e1;
  border-radius: 11px;
  background: #fff;
}
.games-recovery {
  border-color: #d4ddd1;
  background: var(--games-sand);
}

@media (max-width: 980px) {
  .games-config-layout,
  .games-content-layout {
    grid-template-columns: 1fr;
  }
  #games-recommendation {
    position: static;
  }
  .games-selection-bar {
    grid-template-columns: 1fr 1.5fr;
  }
  .games-selection-bar .portal-primary {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .games-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .games-hero-status {
    width: fit-content;
  }
  .games-config-panel .games-config-layout form,
  .games-form-grid {
    grid-template-columns: 1fr;
  }
  .games-screen-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .games-screen-nav button small {
    display: none;
  }
  .games-setup-steps {
    grid-template-columns: repeat(4, auto);
  }
  .games-setup-steps button {
    justify-content: center;
    font-size: 0;
  }
  .games-setup-steps button span {
    font-size: 0.7rem;
  }
  .games-edition-cards {
    grid-template-columns: 1fr;
  }
  .games-addon-grid,
  .games-selection-bar {
    grid-template-columns: 1fr;
  }
  .games-selection-bar .portal-primary {
    grid-column: 1;
    white-space: normal;
  }
  .games-catalogue-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }
  .games-config-actions {
    flex-wrap: wrap;
  }
  .games-form-section,
  .games-device-choices,
  .games-config-panel form > .portal-primary {
    grid-column: 1;
  }
}
