:root {
  --bg: #000000;
  --surface: #767676;
  --surface-soft: #6e6e6e;
  --text: #ffffff;
  --muted: #d0d0d0;
  --border: #d5d5d5;
  --pill-dark: #767676;
  --yellow: #f0e05d;
  --green: #66ea6e;
  --blue: #79b3ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #222222;
  scroll-behavior: smooth;
}

.container {
  width: min(1220px, 94vw);
  margin-inline: auto;
}

.topbar {
  padding: 0.6rem 0;
}

.topbar-inner {
  background: #000;
  border: 1px solid #2a2a2a;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 72px;
  padding: 0 1rem;
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-pills {
  display: flex;
  gap: 0.42rem;
}

.nav-pills a {
  color: #f3f3f3;
  background: #0f0f0f;
  border: 1px solid #2f2f2f;
  border-radius: 7px;
  min-width: 88px;
  text-align: center;
  padding: 0.56rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-pills a:hover {
  background: #1c1c1c;
}

.nav-pills a[hidden] {
  display: none !important;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-self: stretch;
}

.nav-dropdown__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #f3f3f3;
  background: #0f0f0f;
  border: 1px solid #2f2f2f;
  border-radius: 7px;
  min-width: 88px;
  padding: 0.56rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
}

.nav-dropdown__btn:hover,
.nav-dropdown__btn[aria-expanded="true"] {
  background: #1c1c1c;
}

.nav-dropdown__caret {
  font-size: 0.75em;
  transition: transform 0.2s ease;
}

.nav-dropdown__btn[aria-expanded="true"] .nav-dropdown__caret {
  transform: rotate(180deg);
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: 0.35rem;
  background: #0a0a0a;
  border: 1px solid #d4af37;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-dropdown__panel[hidden] {
  display: none !important;
}

.nav-dropdown__link {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 7px;
  color: #f2e4a2;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-dropdown__link:hover {
  background: #161616;
  border-color: #3a3a3a;
}

.nav-dropdown__link[aria-current="page"] {
  background: #141414;
  border-color: #5c4a1e;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: #0f0f0f;
  color: #f3f3f3;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 1.1rem;
}

.top-icons {
  display: inline-flex;
  gap: 0.4rem;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #111;
  cursor: pointer;
}

a.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-account-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.06rem;
  min-height: 32px;
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #d4af37;
  background: #141414;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.auth-account-btn:hover {
  border-color: #f0e05d;
  background: #1a1a1a;
}

.auth-account-btn__primary {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.auth-account-btn__hint {
  font-size: 0.58rem;
  font-weight: 600;
  color: #c9a227;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-content {
  padding: 4rem 0 2rem;
}

.page-content--home-tight {
  padding-top: 3.25rem;
}

.home-subscribe-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  padding: 1.25rem 1.35rem;
  background: #191919;
  border: 1px solid #d4af37;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.home-subscribe-banner__text {
  flex: 1;
  min-width: min(100%, 260px);
}

.home-subscribe-banner__title {
  margin: 0 0 0.45rem;
  font-size: clamp(0.92rem, 2.1vw, 1.12rem);
  font-weight: 700;
  color: #f0e05d;
  line-height: 1.32;
}

.home-subscribe-banner__lead {
  margin: 0;
  max-width: min(100%, 96ch);
}

.home-subscribe-banner__lead-p {
  margin: 0;
  font-size: 0.82rem;
  color: #d8d8d8;
  line-height: 1.52;
}

.home-subscribe-banner__lead-p + .home-subscribe-banner__lead-p {
  margin-top: 0.4rem;
}

.home-subscribe-banner__cta {
  flex-shrink: 0;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 560px) {
  .home-subscribe-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .home-subscribe-banner__cta {
    width: 100%;
  }
}

.page-title {
  margin: 0.6rem 0 0.9rem;
  font-size: 2rem;
  color: #fff;
}

.mods-list {
  display: grid;
  gap: 2.4rem;
}

.mod-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  background: #191919;
  border: 1px solid #d4af37;
  border-radius: 14px;
  padding: 1.12rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: center;
}

.mod-card:hover {
  transform: scale(1.015);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
}

.mod-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  align-self: start;
}

.mod-icon {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  display: grid;
  place-items: center;
  background: #191919;
  color: #f2d980;
  font-weight: 700;
}

.mod-icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.subscription-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #d4af37;
  background: radial-gradient(circle, #fff1b8 28%, #f2da86 60%, #d4af37 100%);
  color: #111111;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.subscription-pill.free-pill {
  border-color: #3d9f52;
  background: radial-gradient(circle, #e8ffec 28%, #9fe9ae 60%, #3d9f52 100%);
  color: #0f2414;
}

.price-pill,
.popular-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
}

.price-pill {
  background: #f0e772;
  color: #222;
}

.popular-pill {
  background: #f3f8af;
  color: #2b2d26;
}

.mod-body h2 {
  margin: 0.05rem 0 0.45rem;
  font-size: 1.48rem;
  color: #c9a227;
}

.mod-body {
  display: flex;
  flex-direction: column;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-bottom: 0.45rem;
}

.tag {
  border-radius: 999px;
  font-size: 0.79rem;
  padding: 0.28rem 0.66rem;
  font-weight: 700;
  color: #111111;
}

.tag.yellow {
  background: var(--yellow);
}

.tag.green {
  background: var(--green);
}

.tag.blue {
  background: var(--blue);
}

.tag.gray {
  background: #c8ccd5;
}

.mod-body ul {
  margin: 0.25rem 0 0.62rem;
  padding-left: 1rem;
  color: #ffffff;
}

.info-content {
  max-height: 3.1em;
  opacity: 1;
  overflow: hidden;
  margin: 0.25rem 0 0.62rem;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease;
}

.info-content.open {
  max-height: 700px;
  opacity: 1;
  margin: 0.25rem 0 0.62rem;
}

.info-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.info-toggle::after {
  content: "▾";
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.info-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.mod-body li {
  margin: 0.15rem 0;
  font-size: 1.04rem;
}

.info-gallery-wrap {
  list-style: none;
  margin-left: -1rem;
}

.info-gallery {
  display: grid;
  grid-template-columns: repeat(6, 86px);
  gap: 0.55rem;
  margin-top: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.info-photo-btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: 86px;
  height: 86px;
  cursor: zoom-in;
}

.info-photo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #4f4f4f;
  background: #5e5e5e;
}

.info-thumb-video {
  display: block;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  border: 2px solid #d4af37;
  background: #111;
}

.lightbox-video {
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  border: 2px solid #d4af37;
  background: #111;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;
  width: 48px;
  height: 80px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #5f5f5f;
  background: rgba(28, 28, 28, 0.88);
  color: #f2e4a2;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.lightbox-nav:hover {
  background: rgba(48, 48, 48, 0.95);
  border-color: #d4af37;
}

.lightbox-nav--prev {
  left: max(12px, env(safe-area-inset-left, 0px));
}

.lightbox-nav--next {
  right: max(12px, env(safe-area-inset-right, 0px));
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #5f5f5f;
  background: #1f1f1f;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

.action-row button {
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  background: #191919;
  color: #f2e4a2;
  font-weight: 600;
  font-size: 0.89rem;
  padding: 0.5rem 0.88rem;
  cursor: pointer;
}

.action-row button:hover {
  background: #121212;
}

.action-row a.action-row-btn {
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  background: #191919;
  color: #f2e4a2;
  font-weight: 600;
  font-size: 0.89rem;
  padding: 0.5rem 0.88rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.action-row a.action-row-btn:hover {
  background: #121212;
}

.site-footer {
  background: #1f1f1f;
  border-top: 1px solid #292929;
  padding: 0.9rem 0 1.2rem;
  margin-top: 1.1rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  text-align: center;
  flex-direction: column;
}

.site-footer p {
  color: var(--muted);
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #d9d9d9;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-pills {
    position: absolute;
    top: 78px;
    right: 4vw;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-pills.open {
    display: flex;
  }

  .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown__btn {
    width: 100%;
  }

  .nav-dropdown__panel {
    position: static;
    margin-top: 0.35rem;
    box-shadow: none;
    border-color: #333;
  }

  .top-icons {
    display: none;
  }
}

@media (max-width: 660px) {
  .mod-card {
    grid-template-columns: 1fr;
  }

  .mod-left {
    flex-direction: row;
    justify-content: flex-start;
  }
}

.contact-page {
  max-width: 900px;
}

.contact-hero {
  margin-bottom: 1.5rem;
}

.contact-title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: #c9a227;
}

.contact-lead {
  margin: 0;
  color: #d0d0d0;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.6fr;
    align-items: start;
  }
}

.contact-card {
  background: #191919;
  border: 1px solid #d4af37;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
  color: #ffffff;
}

.contact-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  color: #c9a227;
}

.contact-muted {
  margin: 0;
  color: #d0d0d0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-inline-link {
  color: #f2e4a2;
  font-weight: 600;
  text-decoration: none;
}

.contact-inline-link:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d0d0d0;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #121212;
  color: #ffffff;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #d4af37;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-actions {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
}

.contact-submit {
  border: 1px solid #d4af37;
  border-radius: 8px;
  background: #191919;
  color: #f2e4a2;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
}

.contact-submit:hover {
  background: #121212;
}

@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.auth-page {
  max-width: 820px;
}

.auth-hero {
  margin-bottom: 1.25rem;
}

.auth-title {
  margin: 0 0 0.45rem;
  font-size: 1.85rem;
  color: #c9a227;
}

.auth-lead {
  margin: 0;
  color: #d0d0d0;
  line-height: 1.55;
  max-width: 60ch;
}

.auth-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .auth-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-card {
  background: #191919;
  border: 1px solid #d4af37;
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.auth-card-wide {
  max-width: 820px;
}

.auth-card-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: #c9a227;
}

.auth-muted {
  margin: 0 0 1rem;
  color: #d0d0d0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.portal-sub-actions {
  margin-top: 0.75rem;
}

.portal-patreon-row {
  margin: 0.75rem 0 0;
}

.portal-patreon-label {
  display: block;
  font-size: 0.85rem;
  color: #a8a8a8;
  margin-bottom: 0.35rem;
}

.portal-patreon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.portal-patreon-input {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 420px;
}

.portal-patreon-status {
  margin: 0.4rem 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
}

.portal-patreon-success-banner {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #d7f0da;
  background: rgba(46, 125, 50, 0.18);
  border: 1px solid rgba(76, 175, 80, 0.45);
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid #d4af37;
  cursor: pointer;
  font-family: inherit;
}

.auth-btn-primary {
  background: #191919;
  color: #f2e4a2;
}

.auth-btn-primary:hover {
  background: #121212;
}

.auth-btn-ghost {
  background: transparent;
  color: #f2e4a2;
  border-color: #5a5a5a;
}

.auth-btn-ghost:hover {
  border-color: #d4af37;
}

.auth-btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.auth-footnote {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: #a8a8a8;
  line-height: 1.5;
  max-width: 65ch;
}

.auth-footnote code {
  color: #e8d88a;
  font-size: 0.85em;
}

.auth-callback-body {
  min-height: 100vh;
  background: #222222;
}

.subscribe-page {
  max-width: 960px;
}

.subscribe-hero {
  margin-bottom: 1.75rem;
}

.subscribe-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: #c9a227;
}

.subscribe-lead {
  margin: 0;
  color: #d0d0d0;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 62ch;
}

.subscribe-section-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #c9a227;
}

.subscribe-includes {
  margin-bottom: 2rem;
}

.subscribe-includes-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #e8e8e8;
  line-height: 1.6;
}

.subscribe-includes-list li {
  margin: 0.35rem 0;
}

.subscribe-plans {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .subscribe-plans {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.subscribe-plan {
  position: relative;
  background: #191919;
  border: 1px solid #d4af37;
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}

.subscribe-plan--featured {
  border-color: #e6c55a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.subscribe-plan-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111;
  background: #f0e05d;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
}

.subscribe-plan-name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: #fff;
}

.subscribe-plan-price {
  margin: 0 0 0.5rem;
}

.subscribe-price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #f2e4a2;
}

.subscribe-price-term {
  font-size: 1rem;
  color: #a8a8a8;
}

.subscribe-plan-note {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #b8b8b8;
  line-height: 1.45;
}

.subscribe-plan-note-secondary {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: #9a9a9a;
  line-height: 1.4;
}

.subscribe-discord-cta {
  width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  padding: 0.65rem 0.85rem;
}

.subscribe-discord-cta__title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.subscribe-discord-cta__hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: #a89868;
  line-height: 1.3;
}

.subscribe-plan-features {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #d8d8d8;
  font-size: 0.92rem;
  line-height: 1.5;
  flex-grow: 1;
}

.subscribe-plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.subscribe-faq {
  margin-bottom: 2rem;
}

.subscribe-faq-item {
  background: #191919;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  color: #d0d0d0;
}

.subscribe-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #f2e4a2;
}

.subscribe-faq-item p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.portal-page {
  max-width: 900px;
}

.portal-hint {
  margin-top: 0.35rem;
}

.portal-card {
  margin-bottom: 1.15rem;
}

.portal-status-line {
  margin: 0.5rem 0 0;
}

.portal-status {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #111;
}

.portal-status--ok {
  background: #66ea6e;
}

.portal-status--pending {
  background: #f0e05d;
}

.portal-download-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.portal-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.65rem;
  background: #121212;
  border: 1px solid #333;
  border-radius: 8px;
}

.portal-download-name {
  font-weight: 600;
  color: #f2e4a2;
}

.portal-dl-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin-download-mods {
  margin-top: 0.35rem;
}

.admin-dm-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-dm-row {
  padding: 0.45rem 0.55rem;
  background: #121212;
  border: 1px solid #333;
  border-radius: 8px;
}

.admin-dm-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
}

.portal-whitelist-product {
  margin: 0.5rem 0 0.75rem;
}

.portal-whitelist-product code {
  color: #d4af37;
  font-size: 0.9em;
}

.portal-slot-info {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.portal-whitelist-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.85rem;
  color: #a8a8a8;
}

.portal-whitelist-tier-row {
  margin: 0.65rem 0 0;
}

.portal-whitelist-tier-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: #a8a8a8;
}

.portal-whitelist-select {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-bottom: 0.5rem;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 0.5rem 0.55rem;
  font-family: inherit;
  font-size: 0.92rem;
  background: #121212;
  color: #fff;
}

.portal-whitelist-status {
  margin: 0.5rem 0 0;
  min-height: 1.25em;
  font-size: 0.88rem;
  color: #8fbc8f;
}

.portal-whitelist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
  align-items: center;
}

.portal-whitelist-input {
  flex: 1 1 200px;
  min-width: 180px;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #121212;
  color: #fff;
}

.portal-whitelist-input:focus {
  outline: none;
  border-color: #d4af37;
}

.converter-page {
  max-width: 920px;
}

.converter-panel {
  background: #191919;
  border: 1px solid #d4af37;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  margin-bottom: 1.35rem;
}

.converter-panel--muted {
  border-color: #333;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.converter-panel-title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: #c9a227;
}

.converter-panel p,
.converter-panel li {
  margin: 0;
  color: #d0d0d0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.converter-panel p + p {
  margin-top: 0.65rem;
}

.converter-panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.converter-panel li + li {
  margin-top: 0.35rem;
}

.converter-panel code {
  color: #e8d88a;
  font-size: 0.88em;
}

.converter-panel__checklist-intro {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  color: #e4e4e4;
}

.converter-form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .converter-form-grid {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.converter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.converter-field span,
.converter-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d0d0d0;
}

.converter-field input,
.converter-field select {
  width: 100%;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #121212;
  color: #ffffff;
}

.converter-field input:focus,
.converter-field select:focus {
  outline: none;
  border-color: #d4af37;
}

.converter-field-full {
  grid-column: 1 / -1;
}

.converter-file-input {
  padding: 0.65rem;
  border-style: dashed;
  cursor: pointer;
}

.converter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.25rem;
}

.converter-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: #a8d4a8;
  min-height: 1.25em;
}

.converter-status--err {
  color: #f0a8a8;
}

.converter-results {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.converter-result-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: #121212;
  border: 1px solid #333;
  border-radius: 8px;
}

.converter-result-name {
  font-weight: 600;
  color: #f2e4a2;
  font-size: 0.9rem;
}

.converter-warnings {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #554433;
  background: rgba(80, 60, 30, 0.25);
  color: #e8d4a8;
  font-size: 0.85rem;
  line-height: 1.45;
}

.converter-warnings[hidden] {
  display: none !important;
}

.converter-warnings strong {
  color: #f2e4a2;
}

.portal-whitelist-list-title {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e8d78b;
}

.portal-ip-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  min-height: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.portal-ip-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background: #121212;
  border: 1px solid #333;
  border-radius: 8px;
}

.portal-ip-item--suspended {
  border-color: #554433;
}

.portal-ip-item--suspended .portal-ip-text {
  color: #b8a878;
}

.portal-ip-text {
  font-family: ui-monospace, monospace;
  color: #e8e8e8;
}

.portal-ip-remove {
  border: none;
  background: transparent;
  color: #f2e4a2;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.portal-ip-empty {
  color: #d4d4d4;
  font-size: 0.95rem;
  padding: 0.5rem 0.55rem;
  border: 1px dashed #4a4a4a;
  border-radius: 8px;
  background: #161616;
}

