@font-face {
  font-family: Inter;
  src: url('/Inter-VariableFont_opsz,wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #7288b9 #0d121c;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #7288b9 #0d121c;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #0d121c;
}
::-webkit-scrollbar-thumb {
  border: 2px solid #0d121c;
  border-radius: 999px;
  background: linear-gradient(#8aa5de, #6276a7);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#a7c1f2, #7a90c5);
  background-clip: padding-box;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0c0f15;
  color: #e0e5ec;
  line-height: 1.6;
}
main { flex: 1 0 auto; }
a { text-decoration: none; color: #7aa2f7; transition: color .2s; }
a:hover { color: #bb9af7; text-decoration: underline; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(26, 30, 38, .96);
  border-bottom: 2px solid #2a2f3a;
  flex-wrap: wrap;
  gap: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px -32px #000;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover { text-decoration: none; }
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #7aa2f7;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c0caf5, #9aa5ce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 24px; align-items: center; font-weight: 600; flex-wrap: wrap; }
.nav-links a, .link-button { color: #c0caf5; }
.nav-links a:hover, .link-button:hover { color: #7dcfff; text-decoration: none; }
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #53607d;
  border-radius: 999px;
  background: #202638;
  color: #c0caf5;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 28px -22px #7aa2f7;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  border-color: #7aa2f7;
  color: #ffffff;
  outline: none;
}
.mobile-menu-toggle i {
  color: #7dcfff;
}
.nav-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #53607d;
  background: #202638;
  color: #c0caf5 !important;
  box-shadow: 0 12px 28px -22px #7aa2f7;
}
.nav-back-link:hover {
  border-color: #7aa2f7;
  background: #263049;
  color: #ffffff !important;
}
.admin-nav-link {
  color: #ffbd6b !important;
  font-weight: 900;
}
.play-center-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7aa2f7, #bb9af7);
  color: #10131a;
  font-weight: 900;
  border: 1px solid #c0caf566;
  box-shadow: 0 16px 34px -24px #bb9af7;
}
.play-center-btn:hover {
  color: #10131a;
  text-decoration: none;
  transform: translateX(-50%) translateY(-1px);
}
.link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.discord-btn {
  background-color: #5865f2;
  color: white !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.discord-btn:hover { background-color: #4752c4; text-decoration: none; }
.nav-social-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background-color: #5865f2;
  color: white !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid #7280ff;
  box-shadow: 0 10px 28px -18px #7280ff;
}
.nav-social-btn:hover {
  background-color: #4752c4;
  color: white !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.hero {
  margin-top: 70px;
  padding: 60px 0 40px;
  background: radial-gradient(circle at 72% 34%, #24324a, #111722 58%, #0c0f15);
}
.project-hero {
  margin-top: 70px;
  padding: 74px 0 56px;
  background: radial-gradient(circle at 72% 34%, #24324a, #111722 58%, #0c0f15);
}
.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 44px;
}
.project-hero-copy {
  max-width: 820px;
}
.project-hero-text {
  max-width: 760px;
  color: #c0caf5;
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.project-hero-text strong {
  color: #ffffff;
  font-weight: 900;
}
.project-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.project-hero-mark {
  display: flex;
  justify-content: center;
}
.project-hero-mark img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 34px;
  border: 4px solid #7aa2f7;
  box-shadow: 0 26px 42px -18px #000000b0;
}
.hero-grid { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-info { flex: 1 1 720px; }
.hero-badge {
  display: inline-block;
  background-color: #2a2f3a;
  border-radius: 40px;
  padding: 6px 16px;
  font-size: .9rem;
  color: #bb9af7;
  border: 1px solid #414b63;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3rem;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0;
}
.hero-title span {
  background: linear-gradient(145deg, #ff9e64, #bb9af7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .ukrainian-word {
  cursor: default;
  transition: filter .18s ease, text-shadow .18s ease;
}
.hero-title .ukrainian-word:hover {
  background: linear-gradient(180deg, #4d9cff 0 48%, #ffd84d 52% 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.12);
  text-shadow: 0 0 18px rgba(77, 156, 255, .22);
}
.hero-desc {
  font-size: 1.2rem;
  color: #a9b1d6;
  margin-bottom: 26px;
  max-width: 650px;
}
.ip-stack {
  display: flex;
  gap: 16px 12px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 720px;
}
.ip-box {
  background-color: #1e222b;
  border-radius: 60px;
  padding: 10px 10px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #2a3140;
  gap: 14px;
  width: fit-content;
  min-width: 306px;
}
.ip-box:first-child { min-width: 306px; }
.ip-break { flex-basis: 100%; height: 0; }
.ip-box:nth-child(3), .ip-box:nth-child(4) {
  min-width: 332px;
}
.ip-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #ffbd6b;
  font-size: 1.1rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.ip-text.small { font-size: 1rem; }
.copy-btn {
  border: 0;
  border-radius: 40px;
  padding: 7px 16px;
  background: #293142;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #53607d;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.copy-btn:hover { background: #7aa2f7; color: #10131a; text-decoration: none; }
.copy-btn.copied {
  background: #9ece6a;
  color: #10131a;
}
.hero-meta { margin-top: 18px; color: #9aa5ce; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-icon { flex: 0 0 260px; text-align: center; }
.hero-icon img {
  width: 200px;
  height: 200px;
  border-radius: 30px;
  border: 4px solid #7aa2f7;
  box-shadow: 0 20px 30px -10px #00000080;
  object-fit: cover;
}
.actions, .join-actions, .oauth-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 40px;
  background: #7aa2f7;
  color: #10131a;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}
.btn:hover, .button:hover { background: #7dcfff; color: #10131a; text-decoration: none; }
.btn.secondary, .button.ghost, .button.oauth {
  background: transparent;
  color: #c0caf5;
  border-color: #414b63;
}
.btn.secondary:hover, .button.ghost:hover, .button.oauth:hover { background: #222938; color: white; }
.button.disabled { opacity: .45; pointer-events: none; }
section { margin: 72px 0; }
.section-title {
  font-size: 2.2rem;
  margin-bottom: 28px;
  color: #c0caf5;
  position: relative;
}
.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  border-radius: 8px;
  background: linear-gradient(90deg, #7aa2f7, #bb9af7);
  margin-top: 10px;
}
.section-title {
  text-align: center;
}
.section-title:after {
  margin-left: auto;
  margin-right: auto;
}
.about-card {
  background: #131721;
  border: 1px solid #2d3440;
  border-radius: 32px;
  padding: 28px;
  color: #b8c0dc;
}
.about-card p + p { margin-top: 14px; }
#join { scroll-margin-top: 260px; }
@media (max-width: 760px) { #join { scroll-margin-top: 100px; } }
.about-card strong { color: #c0caf5; }
.online-widget {
  background: #131721;
  border: 1px solid #2d3440;
  border-radius: 28px;
  padding: 22px;
  margin: 34px 0 64px;
}
.online-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.stat-icon { flex: 0 0 auto; font-size: 2rem; line-height: 1; }
.stat-info { min-width: 0; }
.stat-info h4 { margin: 0; color: #c0caf5; font-size: 1rem; }
.stat-info p { margin: 4px 0 0; color: #9aa5ce; }
.stat-link { border-radius: 10px; color: inherit; padding: 6px; margin: -6px; transition: background-color .2s, color .2s; }
.stat-link:hover { background: rgba(122, 162, 247, .1); color: inherit; text-decoration: none; }
.stat-link:hover h4 { color: #7dcfff; }
@media (max-width: 980px) { .online-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .online-stats { grid-template-columns: 1fr; gap: 16px; } }
.online-count { color: #9ece6a !important; font-weight: 800; }
.software-badge {
  background: #2a2f3a;
  color: #bb9af7;
  border: 1px solid #414b63;
  border-radius: 40px;
  padding: 8px 16px;
  font-weight: 800;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.monitoring-section {
  margin: 0 0 72px;
}
.monitoring-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.25fr);
  gap: 22px;
}
.monitoring-card {
  background: #171d29;
  border: 1px solid #34405a;
  border-radius: 24px;
  padding: 24px;
  color: #b8c0dc;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.monitoring-card:hover {
  transform: translateY(-3px);
  border-color: #7aa2f7;
  box-shadow: 0 24px 42px -32px #7aa2f7, inset 0 0 0 1px #7aa2f755;
  text-decoration: none;
}
.monitoring-card-primary {
  background: linear-gradient(145deg, #20283a, #171d29);
}
.monitoring-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7dcfff;
  background: #20283a;
  border: 1px solid #34405a;
  font-size: 1.25rem;
}
.monitoring-card strong {
  color: #c0caf5;
  font-size: 1.35rem;
}
.monitoring-card p {
  line-height: 1.55;
}
.monitoring-action {
  margin-top: 4px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0f1117;
  background: #7aa2f7;
  font-weight: 900;
}
.allmc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #273142;
}
.allmc-stat-row b {
  color: #9ece6a;
  font-size: 1.25rem;
}
.allmc-top-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.allmc-top-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #111722;
  border: 1px solid #273142;
  border-radius: 12px;
  padding: 8px 10px;
}
.allmc-top-list b {
  color: #ffbd6b;
}
.allmc-stats-card small {
  color: #7aa2f7;
}
.project-section {
  margin-top: 76px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.project-card {
  min-height: 250px;
  background: #1a1e27;
  border: 1px solid #2d3440;
  border-radius: 24px;
  padding: 26px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: #7aa2f7;
  text-decoration: none;
  box-shadow: 0 24px 42px -32px #7aa2f7, inset 0 0 0 1px #7aa2f766;
}
.project-card.primary {
  background: linear-gradient(145deg, #20283a, #181d28);
  border-color: #53607d;
}
.project-card.primary:hover,
.muted-card:hover {
  border-color: #8fb3ff;
  box-shadow: 0 24px 42px -32px #7aa2f7, inset 0 0 0 1px #8fb3ff88;
}
.project-card-icon {
  font-size: 2.3rem;
  line-height: 1;
}
.project-card-image-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px #00000066);
}
.project-card span {
  color: #ffbd6b;
  font-weight: 850;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.project-card h3 {
  color: #c0caf5;
  font-size: 1.45rem;
}
.project-card p {
  color: #9aa5ce;
}
.project-choice-panel {
  width: min(820px, 100%);
}
.compact-project-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
}
.communities-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 800px) {
  .communities-project-grid {
    grid-template-columns: 1fr;
  }
}
.compact-project-grid .project-card {
  min-height: 210px;
}
.project-card-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.project-card-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #232a3a;
  border: 1px solid #414b63;
  font-weight: 800;
}
.project-card-links a:hover {
  text-decoration: none;
  background: #2a3448;
}
.muted-card {
  opacity: .88;
}
.shop-hero {
  margin-top: 70px;
  padding: 76px 0;
  background: radial-gradient(circle at 72% 34%, #24324a, #111722 58%, #0c0f15);
}
.shop-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  align-items: center;
  gap: 56px;
}
.shop-hero-copy .hero-title {
  margin-top: 14px;
  max-width: 760px;
}
.shop-lead {
  color: #c0caf5;
  font-size: 1.35rem;
  line-height: 1.55;
  max-width: 680px;
}
.shop-avatar-card {
  justify-self: center;
  width: 250px;
  height: 250px;
  border-radius: 34px;
  border: 4px solid #7aa2f7;
  overflow: hidden;
  background: #111722;
  box-shadow: 0 24px 58px -36px #7aa2f7;
}
.shop-avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-page {
  padding-bottom: 28px;
}
.shop-section {
  margin: 70px 0;
}
.shop-info-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #2d3440;
  background: #131721;
  color: #b8c0dc;
  font-size: 1.08rem;
  line-height: 1.75;
}
.shop-info-card p + p {
  margin-top: 12px;
}
.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.shop-product-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #3a465d;
  background:
    radial-gradient(circle at top left, #283249 0, #1a1f2b 46%, #151923 100%);
  box-shadow: 0 22px 46px -38px #7aa2f7;
}
.shop-product-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.shop-product-title i {
  color: #7dcfff;
  font-size: 1.55rem;
}
.shop-product-title h3 {
  color: #c0caf5;
  font-size: 1.35rem;
}
.shop-product-card p {
  color: #aab6df;
  line-height: 1.55;
}
.shop-product-description {
  display: grid;
  gap: 8px;
}
.strong-description p {
  color: #d7ddff;
  font-size: 1.02rem;
  font-weight: 800;
}
.strong-description .shop-product-note {
  color: #9aa5ce;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.38;
}
.shop-product-card strong {
  color: #d7ddff;
}
.shop-buy-btn {
  width: fit-content;
  min-width: 150px;
  margin-top: auto;
  align-self: flex-end;
  border: 1px solid #34d399;
  border-radius: 16px;
  padding: 12px 16px;
  background: #16a34a;
  color: white;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s, filter .2s;
  text-align: center;
}
.shop-buy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: white;
  text-decoration: none;
}
.shop-buy-btn:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}
.shop-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 4px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #53607d;
  background: #20283a;
  color: #7dcfff;
  font-weight: 900;
}
.shop-detail-btn:hover {
  background: #7aa2f7;
  color: #10131a;
  text-decoration: none;
}
.support-buy-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #34d399;
  border-radius: 14px;
  padding: 10px 14px;
  background: #16a34a;
  color: white;
  font-size: .9rem;
  font-weight: 900;
  text-align: center;
  transition: transform .2s, filter .2s;
}
.support-buy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: white;
  text-decoration: none;
}
.support-size-button {
  margin-top: 14px;
}
.support-duration-picker {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #34405a;
  border-radius: 18px;
  background: #10151f;
}
.support-duration-picker > span {
  color: #c0caf5;
  font-weight: 850;
}
.support-duration-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.support-duration-controls strong {
  min-width: 96px;
  display: inline-flex;
  justify-content: center;
  border: 1px solid #53607d;
  border-radius: 14px;
  padding: 11px 16px;
  background: #151b27;
  color: #d7ddff;
  font-size: 1.05rem;
}
.duration-step {
  width: 42px;
  height: 42px;
  border: 1px solid #53607d;
  border-radius: 999px;
  background: #20283a;
  color: #d7ddff;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s, border-color .2s, filter .2s;
}
.duration-step:hover {
  transform: translateY(-1px);
  border-color: #7aa2f7;
  filter: brightness(1.08);
}
.support-duration-picker small {
  color: #8fa1d1;
  font-weight: 750;
}
.support-saving {
  min-height: 0;
}
.shop-select-label {
  color: #c0caf5;
  font-weight: 800;
}
.boost-menu {
  position: relative;
  width: 100%;
}
.boost-menu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #53607d;
  border-radius: 14px;
  background: #10151f;
  color: #d7ddff;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
}
.boost-menu.open .boost-menu-toggle {
  border-color: #7aa2f7;
}
.boost-menu-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 330px);
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid #53607d;
  border-radius: 16px;
  background: #10151f;
  box-shadow: 0 24px 50px -32px #000;
}
.boost-menu.open .boost-menu-list {
  display: grid;
}
.hosting-month-list {
  width: min(280px, 100%);
  grid-template-columns: 1fr;
}
.tariff-modal-panel {
  width: min(1100px, calc(100vw - 36px));
  max-height: calc(100vh - 72px);
}
.tariff-duration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.tariff-duration-tabs button {
  border: 1px solid #53607d;
  border-radius: 999px;
  background: #151b27;
  color: #d7ddff;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s, border-color .2s, filter .2s;
}
.tariff-duration-tabs button:hover,
.tariff-duration-tabs button.active {
  transform: translateY(-1px);
  border-color: #7aa2f7;
  filter: brightness(1.08);
}
.tariff-duration-tabs span {
  display: inline-flex;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 189, 107, .14);
  color: #ffbd6b;
  font-size: .72rem;
}
.tariff-extra-card,
.tariff-card,
.tariff-empty-state {
  border: 1px solid #2d3440;
  border-radius: 18px;
  background: #151a24;
}
.tariff-extra-card {
  padding: 18px;
  margin-bottom: 16px;
}
.tariff-extra-card h3 {
  color: #dbe7ff;
  margin-bottom: 12px;
}
.tariff-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}
.tariff-extra-grid p {
  color: #d7def5;
  margin: 0;
}
.tariff-extra-grid i {
  color: #7dcfff;
  margin-right: 6px;
}
.tariff-extra-grid strong {
  color: #ffbd6b;
}
.tariff-grid {
  display: grid;
  gap: 14px;
}
.tariff-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
}
.tariff-card h3 {
  color: #dbe7ff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.tariff-card h3 span {
  color: #ffbd6b;
}
.tariff-card ul {
  display: grid;
  gap: 4px;
  margin: 0 0 10px 18px;
  color: #d7def5;
}
.tariff-card p {
  color: #aab6df;
  margin: 0;
  line-height: 1.5;
}
.tariff-rent-btn {
  min-width: 168px;
  white-space: nowrap;
}
.custom-tariff-card {
  border-color: #53607d;
}
.tariff-empty-state {
  padding: 28px;
  color: #aab6df;
  font-weight: 850;
  text-align: center;
}
@media (max-width: 760px) {
  .tariff-card {
    grid-template-columns: 1fr;
  }

  .tariff-rent-btn {
    justify-self: start;
  }

  .tariff-extra-grid {
    grid-template-columns: 1fr;
  }
}
.boost-menu-column {
  display: grid;
  gap: 5px;
}
.boost-menu-column strong {
  color: #d7ddff;
  font-size: .82rem;
  margin-bottom: 2px;
}
.boost-menu-column button {
  border: 0;
  border-radius: 10px;
  padding: 7px 8px;
  background: transparent;
  color: #aab6df;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.boost-menu-column button:hover {
  background: #20283a;
  color: white;
}
.shop-saving {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #facc15;
  border-radius: 14px;
  padding: 10px 14px;
  background: #facc1520;
  color: #fde68a;
  font-weight: 900;
}
.shop-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.shop-benefit {
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #2d3440;
  background: linear-gradient(145deg, #20283a, #181d28);
}
.shop-benefit i {
  color: #7dcfff;
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.shop-benefit h3,
.shop-faq-item h3 {
  color: #c0caf5;
  margin-bottom: 10px;
}
.shop-benefit p,
.shop-faq-item p {
  color: #9aa5ce;
  line-height: 1.65;
}
.shop-faq-list {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.shop-faq-item {
  padding: 24px 26px;
  border-radius: 22px;
  border: 1px solid #2d3440;
  background: #131721;
  border-left: 4px solid #bb9af7;
}
.shop-auth-gate,
.shop-checkout {
  max-width: 760px;
}
.shop-checkout-panel {
  display: grid;
  gap: 18px;
  color: #c0caf5;
}
.shop-checkout-panel p {
  color: #aab6df;
  line-height: 1.6;
}
.shop-auth-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.checkout-summary,
.checkout-price {
  border: 1px solid #2d3440;
  border-radius: 18px;
  padding: 16px;
  background: #10151f;
}
.checkout-summary span,
.checkout-price span {
  display: block;
  color: #9aa5ce;
  font-weight: 800;
  margin-bottom: 6px;
}
.checkout-summary strong,
.checkout-price strong {
  color: #d7ddff;
  font-size: 1.2rem;
}
.checkout-price strong {
  color: #9ece6a;
}
.contact-choice-field {
  display: grid;
  gap: 10px;
}
.field-label {
  color: #c0caf5;
  font-weight: 850;
}
.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-choice {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #34405a;
  border-radius: 16px;
  background: linear-gradient(145deg, #151b27, #10151f);
  color: #c0caf5;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.contact-choice i {
  color: #7dcfff;
  font-size: 1.1rem;
}
.contact-choice:hover,
.contact-choice.active {
  transform: translateY(-1px);
  border-color: #7aa2f7;
  background: linear-gradient(145deg, #20283a, #151b27);
  color: white;
  box-shadow: 0 18px 34px -28px #7aa2f7;
}
.contact-choice.active {
  box-shadow: inset 0 0 0 1px #7aa2f7, 0 18px 34px -28px #7aa2f7;
}
.checkout-note {
  border-left: 3px solid #7aa2f7;
  padding-left: 12px;
}
.checkout-warning {
  border: 1px solid #f7768e88;
  border-radius: 16px;
  padding: 14px 16px;
  background: #2a1420;
  color: #ffc0cb;
  font-weight: 800;
}
.support-scale-field {
  display: grid;
  gap: 12px;
}
.support-scale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.support-scale-option {
  cursor: pointer;
}
.support-scale-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.support-scale-option span {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #34405a;
  border-radius: 14px;
  background: #10151f;
  color: #c0caf5;
  font-weight: 900;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.support-scale-option input:checked + span {
  border-color: #9ece6a;
  background: #17251b;
  box-shadow: inset 0 0 0 1px #9ece6a88;
  color: #d9ffbe;
}
.shop-payment .payment-message {
  height: 66px;
  min-height: 66px;
  padding: 21px 16px;
  resize: vertical;
  line-height: 1.35;
  color: #d7ddff;
  font-weight: 800;
}
.shop-payment .shop-auth-actions .button {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}
.checkout-payment-button {
  font-size: 1.1rem;
  font-weight: 900;
}
.feature-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 12px;
  row-gap: 12px;
  background-color: #1a1e27;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #2d3440;
  color: inherit;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: #7aa2f7; text-decoration: none; }
.feature-icon { grid-column: 1; grid-row: 1; font-size: 2.2rem; line-height: 1; }
.feature-card h3 { grid-column: 2; margin: 0; font-size: 1.35rem; color: #c0caf5; }
.feature-card p { grid-column: 1 / -1; margin: 0; color: #9aa5ce; }
.mechanics-card {
  background: linear-gradient(145deg, #20283a, #181d28);
  border-color: #53607d;
}
.mechanics-card h3 { color: #7dcfff; }
.mechanics-card:hover {
  border-color: #7dcfff;
  box-shadow: 0 16px 36px -24px #7dcfff;
}
.info-button-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 38px 0 50px;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #101722, #171c29);
  border: 1px solid #36415a;
  box-shadow: 0 24px 60px -42px #7aa2f7;
}
.info-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 76px;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, #20283a, #181d28);
  border: 1px solid #61729c;
  color: #ffffff;
  font-weight: 900;
  box-shadow: inset 0 1px 0 #ffffff12, 0 18px 34px -28px #7dcfff;
}
.info-button span {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7aa2f7;
  color: #10131a;
  box-shadow: 0 10px 24px -16px #7dcfff;
  font-size: 1.2rem;
}
.info-button strong {
  font-size: 1.05rem;
}
.rules-info-button span {
  background: #9ece6a;
  box-shadow: 0 10px 24px -16px #9ece6a;
}
.commands-info-button span {
  background: #7dcfff;
  box-shadow: 0 10px 24px -16px #7dcfff;
}
.support-info-button span {
  background: #e0af68;
  box-shadow: 0 10px 24px -16px #e0af68;
}
.rules-info-button:hover { border-color: #9ece6a; }
.commands-info-button:hover { border-color: #7dcfff; }
.support-info-button:hover { border-color: #e0af68; }
.info-button:hover {
  border-color: #7dcfff;
  background: linear-gradient(145deg, #26324a, #1c2333);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #ffffff18, 0 22px 42px -24px #7dcfff;
}
.mechanics-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mechanics-modal:target { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, .82);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(82vh, 820px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: #131721;
  border: 1px solid #53607d;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 28px 80px -36px #000;
}
.modal-panel::-webkit-scrollbar-track {
  margin: 20px 0;
}
.modal-panel h2 {
  color: #c0caf5;
  font-size: 2rem;
  margin-bottom: 16px;
}
.modal-panel p { color: #9aa5ce; font-size: 1.1rem; }
.modal-intro {
  max-width: 720px;
  margin-bottom: 24px;
}
.old-wipes-panel {
  width: min(1060px, 100%);
}
.old-wipes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.old-wipe-card {
  display: flex;
  min-width: 0;
  min-height: 164px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #2d3440;
  border-radius: 16px;
  background: #151a24;
}
.old-wipe-card h3 {
  color: #dbe7ff;
  font-size: 1.15rem;
}
.old-wipe-card p {
  margin-top: 6px;
  color: #9aa5ce;
  font-size: 1rem;
}
.old-wipe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.old-wipe-actions .mechanic-more {
  margin-top: 0;
}
.old-wipe-card > .mechanic-more {
  margin-top: auto;
}
@media (max-width: 700px) {
  .old-wipes-grid {
    grid-template-columns: 1fr;
  }
}
.mechanics-list {
  display: block;
}
.mechanics-panel {
  width: min(1420px, 100%);
  max-height: min(88vh, 980px);
}
.mechanics-panel .modal-intro {
  max-width: none;
  margin-bottom: 16px;
  color: #c0caf5;
  font-weight: 700;
  white-space: nowrap;
}
.mechanics-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.mechanics-shortcuts a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  color: #c0caf5;
  font-size: 1.08rem;
  font-weight: 800;
  border: 1px solid #536f9d;
  border-radius: 14px;
  background: #1a2232;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mechanics-shortcuts a:hover,
.mechanics-shortcuts a:focus-visible {
  color: #ffffff;
  border-color: #7dcfff;
  background: #26324a;
  box-shadow: 0 10px 24px -16px #7dcfff;
  transform: translateY(-1px);
}
.mechanics-other-list {
  margin-top: 0;
}
.mechanics-panel .mechanics-other-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}
.mechanics-panel .mechanics-list {
  display: block;
}
.mechanics-panel .mechanic-item {
  min-width: 0;
  height: 100%;
  padding: 22px;
  background: #151a24;
  border: 1px solid #2d3440;
  border-radius: 18px;
}
.mechanics-panel .mechanic-item:first-child {
  border-top: 1px solid #2d3440;
}
.mechanics-panel .mechanic-item > div {
  min-width: 0;
  width: 100%;
}
.mechanics-panel .mechanic-shot {
  width: 100%;
  max-width: 520px;
}
.mechanics-panel .mechanic-shot.wide-shot {
  width: 100%;
  max-width: 620px;
}
.mechanics-panel .mechanic-gallery {
  max-width: 100%;
}
.mechanics-panel .mechanic-gallery img:nth-child(3) {
  transform: none;
}
@media (max-width: 920px) {
  .mechanics-panel {
    max-height: min(86vh, 900px);
  }
  .mechanics-panel .mechanics-other-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .mechanics-panel .modal-intro {
    white-space: normal;
  }
}
.crafts-page {
  min-height: calc(100vh - 150px);
  margin: 0;
  padding: 48px 0 64px;
}
.crafts-page .container {
  max-width: 1160px;
}
.crafts-page-header {
  margin-bottom: 26px;
}
.crafts-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #9dbdff;
  font-weight: 700;
  text-decoration: none;
}
.crafts-back-link:hover,
.crafts-back-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}
.crafts-page h1 {
  margin: 0 0 8px;
  color: #c0caf5;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.crafts-page-header p {
  max-width: none;
  margin: 0;
  color: #9aa5ce;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}
.crafts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.craft-card {
  display: block;
  min-width: 0;
  background: #151a24;
  border: 1px solid #2d3440;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#beehive-upgrade-token {
  scroll-margin-top: 110px;
}
.craft-card:hover {
  border-color: #6689ca;
  box-shadow: 0 18px 34px -26px #7dcfff;
  transform: translateY(-2px);
}
.craft-card > div {
  padding: 16px 18px 18px;
}
.craft-card h2 {
  margin: 0 0 7px;
  color: #c0caf5;
  font-size: 1.14rem;
  line-height: 1.3;
}
.craft-card p {
  margin: 0;
  color: #9aa5ce;
  font-size: .92rem;
  line-height: 1.5;
}
.craft-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-bottom: 1px solid #2d3440;
  border-radius: 0;
  background: #0f131b;
  cursor: zoom-in;
}
.drink-recipes-page .container {
  max-width: 1320px;
}
.drink-recipe-section + .drink-recipe-section {
  margin-top: 42px;
}
.drink-recipe-section-title {
  margin: 0 0 18px;
  color: #c0caf5;
  font-size: 1.45rem;
}
.drink-recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.drink-recipe-card {
  min-width: 0;
  padding: 20px;
  background: #151a24;
  border: 1px solid #2d3440;
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.drink-recipe-card:hover {
  border-color: #6689ca;
  box-shadow: 0 18px 34px -26px #7dcfff;
  transform: translateY(-2px);
}
.drink-recipe-card h3 {
  margin: 0 0 16px;
  color: #c0caf5;
  font-size: 1.16rem;
  line-height: 1.3;
}
.drink-recipe-card dl {
  display: grid;
  gap: 11px;
  margin: 0;
}
.drink-recipe-card dl > div {
  display: grid;
  gap: 3px;
}
.drink-recipe-card dt {
  color: #7dcfff;
  font-size: .78rem;
  font-weight: 800;
}
.drink-recipe-card dd {
  margin: 0;
  color: #d7def5;
  font-size: .92rem;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .crafts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .drink-recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .crafts-page {
    padding: 34px 0 48px;
  }
  .crafts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .drink-recipe-section + .drink-recipe-section {
    margin-top: 34px;
  }
  .drink-recipes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.mechanic-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 24px 0;
  border-bottom: 1px solid #2d3440;
}
.mechanic-item:first-child {
  border-top: 1px solid #2d3440;
}
.mechanic-item span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #20283a;
  font-size: 1.45rem;
}
.mechanic-item h3 {
  color: #c0caf5;
  font-size: 1.22rem;
  margin-bottom: 8px;
}
.mechanic-item p {
  color: #9aa5ce;
  font-size: 1rem;
  line-height: 1.55;
}
.mechanic-shot {
  width: min(520px, 100%);
  max-height: 220px;
  object-fit: contain;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid #2d3440;
  background: #0f131b;
}
.mechanic-shot.wide-shot {
  width: min(760px, 100%);
  max-height: 300px;
}
.mechanic-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  max-width: 520px;
}
.mechanic-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #2d3440;
  background: #0f131b;
  cursor: zoom-in;
}
.mechanic-gallery img:nth-child(3) {
  transform: translateX(14px);
}
.mechanic-shot,
.photo-grid img {
  cursor: zoom-in;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.photo-grid.single {
  grid-template-columns: minmax(0, 1fr);
}
.photo-grid figure {
  background: #151a24;
  border: 1px solid #2d3440;
  border-radius: 18px;
  padding: 12px;
  margin: 0;
}
.photo-grid img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 14px;
  background: #0d111a;
  display: block;
}
.photo-grid figcaption {
  color: #dbe7ff;
  font-weight: 850;
  text-align: center;
  margin-top: 10px;
}
.mechanic-more,
.mechanic-subdetails summary {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #20283a;
  color: #7dcfff;
  font-weight: 800;
  border: 1px solid #53607d;
  cursor: pointer;
  list-style: none;
}
.mechanic-subdetails summary::-webkit-details-marker { display: none; }
.mechanic-more:hover,
.mechanic-subdetails summary:hover {
  background: #7aa2f7;
  color: #10131a;
  text-decoration: none;
}
.mechanic-subdetails[open] summary { margin-bottom: 14px; }
.mechanic-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.mechanic-detail-grid div {
  background: #1a1e27;
  border: 1px solid #2d3440;
  border-radius: 16px;
  padding: 16px;
}
.mechanic-detail-grid h4 {
  color: #7dcfff;
  margin-bottom: 6px;
}
.beehive-levels {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
  color: #d7def5;
  font-size: .94rem;
  line-height: 1.45;
}
.beehive-levels li::marker {
  color: #e0af68;
}
.rules-content {
  display: grid;
  gap: 16px;
}
.rules-intro-card {
  background: #1a1e27;
  border: 1px solid #2d3440;
  border-radius: 18px;
  padding: 18px;
}
.rules-intro-card p,
.rule-section-body p,
.rule-list-items li {
  color: #d7def5;
  font-size: 1rem;
  line-height: 1.62;
}
.rules-intro-card p + p,
.rule-section-body p + p {
  margin-top: 8px;
}
.rules-list {
  display: grid;
  gap: 12px;
}
.rule-section {
  background: #151a24;
  border: 1px solid #2d3440;
  border-radius: 18px;
  overflow: hidden;
}
.rule-section summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  color: #c0caf5;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.rule-section summary::-webkit-details-marker { display: none; }
.rule-section summary span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7aa2f7;
  color: #10131a;
  flex: 0 0 auto;
}
.rule-section[open] summary {
  border-bottom: 1px solid #2d3440;
}
.rule-section-body {
  padding: 18px;
  display: grid;
  gap: 16px;
}
.rule-subsection {
  background: #111722;
  border: 1px solid #2d3440;
  border-radius: 16px;
  padding: 18px;
}
.rule-section-body h4 {
  color: #dbe7ff;
  font-size: 1.12rem;
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid #7aa2f7;
}
.rule-lead {
  color: #ffffff !important;
  font-weight: 850;
  margin-top: 10px;
}
.rule-list-items {
  margin: 8px 0 12px 22px;
  padding-left: 14px;
}
.rule-list-items li {
  padding-left: 4px;
}
.rule-list-items li + li {
  margin-top: 4px;
}
.rule-punishment,
.rule-label {
  color: #e0af68 !important;
  font-weight: 850;
  margin-top: 12px;
}
.rule-punishment strong {
  color: #ffbd6b;
}
.info-content {
  display: grid;
  gap: 14px;
}
.info-section {
  background: #151a24;
  border: 1px solid #2d3440;
  border-radius: 18px;
  padding: 18px;
  margin: 0;
}
.info-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.info-section-head span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #20283a;
  color: #7dcfff;
  border: 1px solid #34405a;
  flex: 0 0 auto;
}
.info-section h3 {
  color: #dbe7ff;
  font-size: 1.18rem;
  margin: 0;
}
.info-section h4 {
  color: #7dcfff;
  margin: 0 0 8px;
}
.info-section p,
.info-list li,
.command-list p {
  color: #d7def5;
  font-size: 1rem;
  line-height: 1.62;
}
.info-section p + p {
  margin-top: 8px;
}
.command-list,
.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.command-list li {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.6fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  background: #111722;
  border: 1px solid #273142;
  border-radius: 14px;
}
.command-list code {
  color: #ffbd6b;
  background: #0d111a;
  border: 1px solid #34405a;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 850;
  white-space: normal;
  word-break: break-word;
}
.info-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #20283a;
  border: 1px solid #34405a;
}
.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.info-columns > div,
.info-list li {
  background: #111722;
  border: 1px solid #273142;
  border-radius: 14px;
  padding: 14px;
}
.info-list li.support-order-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.highlight-section {
  border-color: #7aa2f7;
  background: #172033;
}
.highlight-section a {
  color: #ffbd6b;
  font-weight: 900;
  word-break: break-word;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #1e242e;
  color: #c0caf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2d3440;
}
.modal-close:hover {
  background: #7aa2f7;
  color: #0f1117;
  text-decoration: none;
}
.confirm-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.confirm-dialog.open {
  display: flex;
}
.confirm-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, .78);
  backdrop-filter: blur(7px);
}
.confirm-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, #26324a 0, #151a24 52%, #10141d 100%);
  border: 1px solid #53607d;
  box-shadow: 0 28px 80px -36px #000;
}
.confirm-dialog-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7768e22;
  color: #f7768e;
  border: 1px solid #f7768e66;
  font-size: 1.35rem;
}
.confirm-dialog-copy h2 {
  color: #d7ddff;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.confirm-dialog-copy p {
  color: #aab6df;
  line-height: 1.55;
}
.confirm-dialog-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.confirm-dialog-submit {
  min-height: 44px;
  padding-inline: 18px;
}
.launcher-card {
  background: linear-gradient(145deg, #1e2635, #151b26);
  border-radius: 36px;
  padding: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px 0;
  border: 1px solid #2d3440;
}
.launcher-info { flex: 2 1 300px; }
.launcher-info h3 { font-size: 2rem; margin-bottom: 16px; color: #c0caf5; }
.launcher-info p { font-size: 1.1rem; color: #b2b9d4; margin-bottom: 20px; }
.inline-logo { width: 40px; height: 40px; vertical-align: middle; border-radius: 12px; margin-right: 8px; }
.launcher-logo { flex: 0 0 120px; text-align: center; }
.launcher-logo img {
  width: 120px;
  height: 120px;
  border-radius: 30px;
  background: white;
  padding: 8px;
  object-fit: contain;
}
.form-container {
  background: #131721;
  border-radius: 32px;
  padding: 28px;
  border: 1px solid #2d3440;
}
.form-container#join { position: relative; }
.form-container#join::before {
  content: '';
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 1px solid #7dcfff;
  border-radius: inherit;
  box-shadow: 0 0 7px rgba(125, 207, 255, .3);
  opacity: .38;
  pointer-events: none;
  animation: join-accent-pulse 3s ease-in-out infinite;
}
@keyframes join-accent-pulse {
  0%, 100% { border-color: rgba(125, 207, 255, .42); box-shadow: 0 0 7px rgba(125, 207, 255, .28); opacity: .42; }
  50% { border-color: #7dcfff; box-shadow: 0 0 18px rgba(125, 207, 255, .85); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .form-container#join::before { animation: none; opacity: .7; } }
.form-container p { color: #a9b1d6; font-size: 1.08rem; }
.form-container#join > p {
  color: #d7ddff;
  font-weight: 650;
  line-height: 1.65;
}
.join-note { margin-top: 18px; }
.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 40px 0 60px;
}
.social-item {
  background-color: #1e242e;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  border: 1px solid #2d3440;
}
.social-item i { font-size: 1.8rem; }
.social-item:hover {
  background-color: #7aa2f7;
  border-color: #7aa2f7;
  color: #0f1117;
  transform: scale(1.08);
  text-decoration: none;
}
.auth, .form-page, .layout, .content.full {
  max-width: 920px;
  margin: 60px auto;
  padding: 0 24px;
}
.auth-page {
  width: min(100% - 48px, 520px);
  margin: 72px auto;
  padding: 0;
}
.auth-page-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}
.auth-page-heading h1 {
  color: #e7ecff;
  font-size: 2rem;
}
.auth-page-heading p,
.auth-oauth > span,
.auth-switch {
  color: #9aa5ce;
}
.auth-panel {
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
}
.auth-panel input {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 14px;
}
.auth-panel .password-field input {
  padding-right: 48px;
}
.auth-panel .password-toggle {
  width: 34px;
  height: 34px;
}
.auth-oauth {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.auth-oauth > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 750;
}
.auth-oauth > span::before,
.auth-oauth > span::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #2d3440;
}
.auth-oauth .oauth-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.auth-oauth .button.oauth {
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
}
.auth-oauth .button.oauth i { color: #9db7ff; }
.auth-switch { margin-top: 16px; }
.content.full.admin-page {
  max-width: 1320px;
}
.layout {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
}
.panel, .profile, .application-card {
  background: #131721;
  border: 1px solid #2d3440;
  border-radius: 24px;
  padding: 24px;
}
.panel { display: grid; gap: 16px; }
.panel.wide { margin-top: 22px; }
.form-lead { margin-top: 10px; }
.rules-open-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  margin-top: -8px;
  border-radius: 999px;
  background: #20283a;
  border: 1px solid #53607d;
  color: #7dcfff;
  font-weight: 850;
}
.rules-open-btn:hover {
  background: #7aa2f7;
  color: #10131a;
  text-decoration: none;
}
label { display: grid; gap: 8px; color: #c0caf5; font-weight: 700; }
.form-label {
  color: #c0caf5;
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #2d3440;
  border-radius: 16px;
  background: #0f131b;
  color: #e0e5ec;
  padding: 13px 14px;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #7aa2f766; border-color: #7aa2f7; }
textarea { resize: vertical; }
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 52px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid #2d3440;
  border-radius: 12px;
  background: #171d2a;
  color: #9db7ff;
  cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  border-color: #7aa2f7;
  color: #ffffff;
  outline: none;
}
.small-note {
  font-size: .92rem;
}
.profile-picker {
  position: relative;
}
.profile-picker-toggle {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #2d3440;
  border-radius: 16px;
  background: #0f131b;
  color: #e0e5ec;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.profile-picker-toggle:hover,
.profile-picker-toggle:focus-visible,
.profile-picker.open .profile-picker-toggle {
  border-color: #7aa2f7;
  outline: 2px solid #7aa2f733;
}
.profile-picker-toggle i {
  color: #9db7ff;
  transition: transform .18s ease;
}
.profile-picker.open .profile-picker-toggle i {
  transform: rotate(180deg);
}
.profile-picker-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  display: none;
  max-height: 250px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #3a4560;
  border-radius: 18px;
  background: #0f131b;
  box-shadow: 0 22px 60px -30px #000;
}
.profile-picker.open .profile-picker-menu {
  display: grid;
  gap: 8px;
}
.profile-picker-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #e0e5ec;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.profile-picker-option:hover,
.profile-picker-option.active {
  border-color: #7aa2f7;
  background: #182238;
}
.profile-picker-option span {
  display: grid;
  gap: 2px;
}
.profile-picker-option small {
  color: #9aa5ce;
  font-weight: 700;
}
.profile-picker-option i {
  color: #ffdb70;
}
.profile { align-self: start; display: grid; gap: 12px; }
.profile-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.emoji-link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #20283a;
  border: 1px solid #53607d;
  color: #7dcfff;
  text-decoration: none;
  box-shadow: 0 10px 30px -18px #7aa2f7;
}
.emoji-link:hover {
  background: #7aa2f7;
  color: #10131a;
  border-color: #a9b8ff;
  text-decoration: none;
}
.small-form-link,
.auth-lead {
  color: #aab6df;
}
.small-form-link {
  width: fit-content;
  font-weight: 800;
}
.inline-resend-form {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}
.link-button.underlined {
  color: #7aa2f7;
  text-decoration: underline;
}
.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.account-modal:target {
  display: flex;
}
.account-modal-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, #26324a 0, #151a24 52%, #10141d 100%);
  border: 1px solid #53607d;
  box-shadow: 0 28px 80px -36px #000;
}
.account-modal-panel h2 {
  color: #d7ddff;
  padding-right: 48px;
}
.mini-form {
  display: grid;
  gap: 14px;
}
.application-card { margin-bottom: 14px; }
.application-card div { display: flex; justify-content: space-between; gap: 16px; color: #9aa5ce; }
.application-card strong { color: #c0caf5; }
.application-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.application-card-footer .status {
  margin-top: 0;
}
.minecraft-profile-card {
  display: grid;
  gap: 10px;
}
.minecraft-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.minecraft-profile-name {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #20283a;
  border: 1px solid #53607d;
  color: #d7ddff;
  font-size: .84rem;
  font-weight: 900;
}
.platform-badge.java {
  border-color: #7aa2f766;
  color: #7dcfff;
}
.platform-badge.bedrock {
  border-color: #9ece6a77;
  color: #9ece6a;
}
.minecraft-profile-actions,
.minecraft-profile-actions form {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.minecraft-profile-actions form:last-child {
  margin-left: auto;
}
.compact-select {
  width: auto;
  min-width: 130px;
  padding: 8px 12px;
  border-radius: 999px;
}
.cabinet-subtitle { margin-top: 32px; }
.muted { color: #9aa5ce; }
.status { display: inline-flex; margin-top: 8px; color: #e0af68; }
.status.sent { color: #9ece6a; }
.status.failed { color: #f7768e; }
.status.review { color: #e0af68; }
.status.accepted { color: #9ece6a; }
.status.rejected { color: #f7768e; }
.status.pending { color: #e0af68; }
.status.confirmed { color: #9ece6a; }
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-scale-form {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 4px;
}
.admin-scale-form label {
  display: grid;
  gap: 4px;
  margin: 0;
  min-width: 132px;
}
.admin-scale-form label span {
  color: #9aa5ce;
  font-size: .78rem;
  font-weight: 850;
}
.admin-scale-form select {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
}
.role-form {
  margin: 0;
}
.role-select {
  width: auto;
  min-width: 132px;
  min-height: 36px;
  padding: 7px 36px 7px 12px;
  border-radius: 999px;
  background-color: #0f131b;
  border-color: #53607d;
  color: #d7ddff;
  font-weight: 850;
}
.role-select:hover,
.role-select:focus {
  border-color: #7aa2f7;
}
.action-btn {
  border: 1px solid #2d3440;
  border-radius: 999px;
  padding: 8px 12px;
  color: #10131a;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.action-btn.accept {
  background: #9ece6a;
  border-color: #9ece6a;
}
.action-btn.reject {
  background: #f7768e;
  border-color: #f7768e;
}
.action-btn.delete {
  background: #2a2f3a;
  border-color: #53607d;
  color: #d7ddff;
}
.action-btn:hover {
  filter: brightness(1.08);
}
.admin-note {
  display: block;
  margin-top: 4px;
  color: #737aa0;
  white-space: nowrap;
}
.flash {
  max-width: 1300px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid #2d3440;
  border-radius: 18px;
  background: #131721;
  color: #c0caf5;
}
.flash.success { border-color: #9ece6a88; }
.flash.error { border-color: #f7768e88; }
table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #131721;
  border: 1px solid #2d3440;
  border-radius: 18px;
  overflow: hidden;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #2d3440;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}
th { color: #9aa5ce; }
.admin-page table {
  font-size: .94rem;
}
.admin-page th,
.admin-page td {
  padding: 10px;
}
.shop-orders-table th:first-child,
.shop-orders-table td:first-child {
  width: 42px;
  text-align: center;
}
.shop-orders-table th:nth-child(2),
.shop-orders-table td:nth-child(2) {
  width: 120px;
}
.admin-date-cell {
  white-space: normal;
}
.admin-money-cell {
  width: 74px;
  white-space: nowrap;
  font-weight: 850;
}
.admin-wrap-cell {
  min-width: 0;
}
.admin-row-check {
  width: 18px;
  height: 18px;
  accent-color: #7aa2f7;
}
.admin-bulk-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #2d3440;
  border-radius: 18px;
  background: #131721;
}
.admin-check-all {
  width: auto;
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  color: #c0caf5;
}
.admin-check-all input {
  width: 18px;
  height: 18px;
  accent-color: #7aa2f7;
}
.month-row td {
  background: #20283a;
  color: #ffbd6b;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-page h1 {
  color: #c0caf5;
  margin-bottom: 18px;
  text-align: center;
}
.admin-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 24px 0 34px;
}
.admin-menu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #131721;
  border: 1px solid #2d3440;
  border-radius: 20px;
  padding: 20px;
  color: #c0caf5;
}
.admin-menu-card:hover {
  border-color: #7aa2f7;
  background: #182030;
  text-decoration: none;
}
.admin-menu-card span {
  font-weight: 850;
}
.admin-menu-card strong {
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7aa2f7;
  color: #10131a;
}
.admin-month-groups {
  display: grid;
  gap: 14px;
}
.admin-month-group {
  overflow: hidden;
  border: 1px solid #2b354a;
  border-radius: 16px;
  background: #111722;
}
.admin-month-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  background: #20283a;
  color: #ffbd6b;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-month-group summary::-webkit-details-marker {
  display: none;
}
.admin-month-group summary::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #7aa2f7;
  transition: transform .18s ease;
}
.admin-month-group[open] summary::before {
  transform: rotate(90deg);
}
.admin-month-group summary span {
  flex: 1;
}
.admin-month-group summary strong {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #7aa2f7;
  color: #0b1020;
  font-size: .95rem;
}
.admin-month-group table {
  border: 0;
  border-radius: 0;
}
.admin-role-groups {
  display: grid;
  gap: 18px;
}
.admin-role-group {
  margin: 0;
  overflow: hidden;
  border: 1px solid #2b354a;
  border-radius: 16px;
  background: #111722;
}
.admin-role-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #2b354a;
  background: #151d2b;
}
.admin-role-heading h3 {
  margin: 0;
  color: #c0caf5;
  font-size: 1.05rem;
}
.admin-role-heading strong {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #7aa2f7;
  color: #0b1020;
  font-size: .95rem;
}
.admin-role-group.role-admin .admin-role-heading {
  border-left: 4px solid #ffbd6b;
}
.admin-role-group.role-moderator .admin-role-heading {
  border-left: 4px solid #7aa2f7;
}
.admin-role-group.role-user .admin-role-heading {
  border-left: 4px solid #9ece6a;
}
.admin-role-group table {
  border: 0;
  border-radius: 0;
}
.admin-role-group .muted {
  padding: 0 18px 16px;
}
.legacy-application-row {
  background: rgba(122, 162, 247, .035);
}
.legacy-import-note {
  color: #7aa2f7;
}
.legacy-import-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #3a4662;
  border-radius: 999px;
  color: #9aa5ce;
  font-weight: 800;
  font-size: .9rem;
}
.admin-section {
  margin-top: 34px;
  overflow-x: visible;
  scroll-margin-top: 90px;
}
.admin-section h2 { color: #c0caf5; margin-bottom: 14px; }
.admin-hint { margin: -6px 0 16px; }
.footer {
  margin-top: auto;
  background-color: #0c0f15;
  padding: 40px 0;
  border-top: 1px solid #262c37;
  text-align: center;
  color: #737aa0;
}
.footer p + p { margin-top: 8px; }
.footer a { color: #7aa2f7; text-decoration: underline; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: .9rem;
}
.legal-page {
  width: min(100% - 48px, 920px);
  margin: 56px auto 72px;
}
.legal-page-header {
  margin-bottom: 24px;
}
.legal-page-header h1 {
  margin: 0;
  color: #e7ecff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}
.legal-page-header p {
  max-width: 700px;
  margin-top: 12px;
  color: #b9c6eb;
  font-size: 1.05rem;
}
.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #8fa3d6;
  font-size: .92rem;
}
.legal-stack {
  display: grid;
  gap: 14px;
}
.legal-card {
  padding: 24px;
  border: 1px solid #2d3952;
  border-radius: 18px;
  background: #131a28;
}
.legal-card h2 {
  margin: 0 0 10px;
  color: #dfe7ff;
  font-size: 1.25rem;
}
.legal-card p,
.legal-card li {
  color: #c0caf5;
}
.legal-card p + p { margin-top: 12px; }
.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0 20px;
}
.legal-card strong { color: #ffffff; }
.legal-contact {
  border-color: #4d6fb2;
  background: #17233a;
}
@media (max-width: 800px) {
  .legal-page {
    width: min(100% - 32px, 920px);
    margin: 34px auto 48px;
  }
  .legal-card { padding: 18px; }
}
@media (max-width: 800px) {
  .navbar {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 12px 16px;
  }
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .logo-text {
    font-size: 1.32rem;
    white-space: nowrap;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .play-center-btn {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    min-height: 46px;
    order: 3;
  }
  .play-center-btn:hover { transform: translateY(-1px); }
  .nav-links {
    display: none;
    width: 100%;
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid #2f3a55;
    border-radius: 18px;
    background: #111722;
    box-shadow: 0 18px 44px -34px #7aa2f7;
  }
  .navbar.menu-open .nav-links {
    display: grid;
  }
  .navbar.menu-open .play-center-btn {
    display: inline-flex;
  }
  .nav-links a,
  .nav-links form,
  .nav-links .link-button {
    width: 100%;
  }
  .nav-links a,
  .nav-links .link-button {
    display: flex;
    align-items: center;
    min-height: 44px;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #2d3440;
    border-radius: 14px;
    background: #151b28;
    text-align: center;
  }
  .nav-links a:hover,
  .nav-links .link-button:hover {
    border-color: #7aa2f7;
    background: #1a2335;
  }
  .nav-links .discord-btn {
    border-color: #7280ff;
    background: #5865f2;
    color: white !important;
  }
  .nav-links .nav-back-link {
    box-shadow: none;
  }
  .nav-social-btn {
    width: 100%;
    height: 44px;
    font-size: 1.2rem;
  }
  .hero-title { font-size: 2.2rem; }
  .project-hero-grid { grid-template-columns: 1fr; }
  .shop-hero-grid { grid-template-columns: 1fr; }
  .shop-avatar-card { justify-self: start; width: 190px; height: 190px; }
  .shop-products-grid { grid-template-columns: 1fr; }
  .boost-menu-list { grid-template-columns: 1fr; width: 100%; }
  .shop-benefits-grid { grid-template-columns: 1fr; }
  .contact-choice-grid { grid-template-columns: 1fr; }
  .monitoring-grid { grid-template-columns: 1fr; }
  .project-hero-mark { justify-content: flex-start; }
  .project-hero-text { font-size: 1.1rem; }
  .ip-box { flex-direction: column; align-items: stretch; border-radius: 32px; padding: 16px; }
  .copy-btn { justify-content: center; }
  .layout { grid-template-columns: 1fr; }
  .command-list li { grid-template-columns: 1fr; }
}
@media (min-width: 1120px) {
  .mechanics-card {
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

/* Keep navigation usable on laptop and compact desktop widths before links can overlap. */
@media (min-width: 801px) and (max-width: 1840px) {
  .navbar {
    gap: 12px;
    padding: 12px 24px;
  }
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    order: 3;
    flex: 0 0 auto;
  }
  .play-center-btn {
    position: static;
    order: 2;
    flex: 0 0 auto;
    transform: none;
  }
  .play-center-btn:hover {
    transform: translateY(-1px);
  }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid #2f3a55;
    border-radius: 14px;
    background: #111722;
    box-shadow: 0 18px 44px -34px #7aa2f7;
  }
  .navbar.menu-open .nav-links {
    display: grid;
  }
  .nav-links a,
  .nav-links form,
  .nav-links .link-button {
    width: 100%;
  }
  .nav-links a,
  .nav-links .link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #2d3440;
    border-radius: 10px;
    background: #151b28;
    text-align: center;
  }
  .nav-links a:hover,
  .nav-links .link-button:hover {
    border-color: #7aa2f7;
    background: #1a2335;
  }
  .nav-links .nav-back-link {
    box-shadow: none;
  }
  .nav-social-btn {
    width: 100%;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* Hosting service selector and tariff catalogue */
.hosting-offerings { max-width: 1160px; margin-inline: auto; }
.hosting-service-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 auto 24px; }
.hosting-service-choice { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid #38425a; border-radius: 10px; background: #151a24; color: #c7d2ff; font: inherit; font-weight: 850; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s; }
.hosting-service-choice i { color: #70c4ff; font-size: 1.1rem; }
.hosting-service-choice:hover, .hosting-service-choice.active { border-color: #7aa2f7; background: #202c49; color: #ffffff; }
.hosting-service-choice:hover { transform: translateY(-1px); }
.hosting-service-panel { min-width: 0; }
.hosting-offerings .tariff-duration-tabs { justify-content: center; margin: 0 0 20px; }
.hosting-offerings .hosting-tariff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.hosting-offerings .tariff-card { grid-template-columns: 1fr; align-content: space-between; min-height: 352px; padding: 20px; }
.hosting-offerings .tariff-card h3 { display: grid; gap: 6px; font-size: 1.12rem; }
.hosting-offerings .tariff-card h3 span { font-size: 1rem; }
.hosting-offerings .tariff-card ul { margin-left: 16px; }
.hosting-offerings .tariff-rent-btn { width: 100%; min-width: 0; margin-top: 18px; }
.hosting-service-info { margin-top: 18px; padding: 18px 20px; border-left: 3px solid #7aa2f7; background: #151a24; color: #d7def5; }
.hosting-service-info p { margin: 0; line-height: 1.55; }
.hosting-service-info p + p { margin-top: 8px; }
.hosting-service-info .shop-detail-btn { display: inline-flex; margin-left: 6px; vertical-align: middle; }
.hosting-offerings .tariff-extra-card { margin-top: 18px; margin-bottom: 0; }
@media (max-width: 920px) { .hosting-offerings .hosting-tariff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .hosting-service-selector, .hosting-offerings .hosting-tariff-grid { grid-template-columns: 1fr; } .hosting-service-choice { min-height: 52px; } .hosting-offerings .tariff-card { min-height: 0; } .hosting-offerings .tariff-duration-tabs { justify-content: flex-start; } }

.hosting-offerings .tariff-duration-tabs button[data-tariff-month="3"] { border-color: rgba(255, 189, 107, .65); }
.hosting-offerings .tariff-duration-tabs button[data-tariff-month="6"] { border-color: rgba(86, 213, 167, .75); }
.hosting-offerings .tariff-period-badge { margin-left: 6px; }
.hosting-offerings .tariff-period-badge.popularity { background: rgba(255, 189, 107, .18); color: #ffbd6b; }
.hosting-offerings .tariff-period-badge.best-value { background: rgba(86, 213, 167, .18); color: #56d5a7; }

.hosting-offerings .tariff-duration-tabs button.active { color: #ffffff; box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.22); }
.hosting-offerings .tariff-duration-tabs button[data-tariff-month="1"].active { background: #263761; border-color: #7aa2f7; }
.hosting-offerings .tariff-duration-tabs button[data-tariff-month="3"].active { background: rgba(255, 189, 107, .23); border-color: #ffbd6b; }
.hosting-offerings .tariff-duration-tabs button[data-tariff-month="6"].active { background: rgba(86, 213, 167, .24); border-color: #56d5a7; }
.hosting-extras { padding: 0; overflow: hidden; }
.hosting-extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hosting-extra-column { padding: 20px; }
.hosting-extra-column + .hosting-extra-column { border-left: 1px solid #2d3440; }
.hosting-extra-column h3 { margin: 0 0 14px; color: #dbe7ff; }
.hosting-extra-column h3 i { color: #7dcfff; margin-right: 8px; }
.hosting-extra-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; color: #d7def5; }
.hosting-extra-option + .hosting-extra-option { border-top: 1px solid rgba(83, 96, 125, .34); }
.hosting-extra-option strong { color: #ffbd6b; }
.hosting-extra-buy { min-width: 104px; padding: 8px 12px; font-size: .9rem; }
@media (max-width: 620px) { .hosting-extras-grid { grid-template-columns: 1fr; } .hosting-extra-column + .hosting-extra-column { border-top: 1px solid #2d3440; border-left: 0; } }

.hosting-offerings .tariff-card h3 .tariff-monthly-price { color: #aab6df; font-size: .92rem; font-weight: 750; }
.hosting-offerings .tariff-card { transition: border-color .2s, box-shadow .2s; }
.hosting-offerings .tariff-card:hover { border-color: #7aa2f7; box-shadow: 0 24px 42px -32px #7aa2f7, inset 0 0 0 1px #7aa2f766; }
.hosting-offerings .custom-tariff-card:hover { border-color: #8fb3ff; box-shadow: 0 24px 42px -32px #7aa2f7, inset 0 0 0 1px #8fb3ff88; }

.hosting-extra-note { margin: 12px 0 0; color: #8fa1d1; font-size: .88rem; font-weight: 700; }
.hosting-extras-config { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-top: 1px solid #2d3440; background: rgba(15, 21, 34, .35); }
.hosting-extras-config h3 { margin: 0 0 5px; color: #e4edff; font-size: 1rem; }
.hosting-extras-config p { margin: 0; color: #aebee8; line-height: 1.45; }
.hosting-extras-config-link { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 620px) { .hosting-extras-config { align-items: flex-start; flex-direction: column; gap: 12px; } .hosting-extras-config-link { width: 100%; } }

.hosting-offerings .hosting-service-info-in-grid { grid-column: span 2; min-height: 0; margin-top: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; border: 1px solid #2d3440; border-left: 3px solid #7aa2f7; }
@media (max-width: 620px) { .hosting-offerings .hosting-service-info-in-grid { grid-column: span 1; } }

.hosting-offerings .hosting-extras-in-grid { grid-column: span 2; min-height: 0; margin-top: 0; align-self: stretch; }
@media (max-width: 620px) { .hosting-offerings .hosting-extras-in-grid { grid-column: span 1; } }
