/* ShoreBuilds staged homepage/navigation update. Normal visitors do not see this while the release flag is false. */
.future-homepage { display: none; }

html.shore-big-update-active body { min-height: 100vh; }
html.shore-big-update-active .future-homepage { display: block !important; min-height: 100vh; }
html.shore-big-update-active:not([data-big-update-subpage="true"]) body > .page { display: none !important; }
html.shore-big-update-active body > .donut-smp-content,
html.shore-big-update-active body > #tutorialChoice,
html.shore-big-update-active body > #tutorialGuide { display: none !important; }

.future-topbar {
  position: sticky;
  top: 0;
  z-index: 9000;
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr) 240px;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 12px 28px;
  border-bottom: 3px solid #276b98;
  background: rgba(186, 232, 255, .97);
  box-shadow: 0 4px 18px rgba(27, 82, 119, .12);
}
.future-brand {
  color: #1769aa;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 25px;
  text-decoration: none;
  white-space: nowrap;
}
.future-nav { display: flex; align-items: center; gap: 6px; }
.future-nav a {
  padding: 10px 11px;
  border-radius: 6px;
  color: #164f76;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.future-nav a:hover { background: rgba(255,255,255,.58); transform: translateY(-1px); }
.future-nav-search { min-width: 0; margin: 0; }
.future-nav-search input {
  width: 100%;
  height: 42px;
  border: 2px solid #2e709d;
  border-radius: 7px;
  outline: none;
  padding: 0 13px;
  background: #f8fdff;
  color: #123b5d;
  font: inherit;
}
.future-nav-search input:focus { border-color: #1769aa; box-shadow: 0 0 0 3px rgba(23,105,170,.12); }
.future-account-space { width: 240px; }

html.shore-big-update-active .account-area {
  position: fixed !important;
  z-index: 9500 !important;
  top: 17px !important;
  right: 27px !important;
  width: 220px;
}
html.shore-big-update-active .discord-login-button,
html.shore-big-update-active .account-profile-button { width: 100%; max-width: 220px; }

.future-home-main { width: min(1240px, calc(100% - 54px)); margin: 0 auto; padding: 76px 0 90px; }
.future-hero { max-width: 720px; text-align: left; }
.future-eyebrow { color: #3e87ae; font-family: "Minecraft Ten", sans-serif; font-size: 12px; letter-spacing: .12em; }
.future-hero h1 { margin: 10px 0 12px; color: #1769aa; font-family: "Minecraft Ten", sans-serif; font-size: clamp(44px, 7vw, 82px); line-height: .98; }
.future-hero p { margin: 0 0 22px; color: #245d7d; font-family: "Minecraft Ten", sans-serif; font-size: 19px; }
.future-home-empty { margin-top: 70px; padding: 26px; border: 2px solid rgba(39,107,152,.28); border-radius: 10px; background: rgba(255,255,255,.28); }
.future-home-empty div { display: flex; flex-direction: column; gap: 6px; color: #2f647f; }
.future-home-empty strong { color: #175c88; font-family: "Minecraft Ten", sans-serif; font-size: 15px; }
.future-home-empty span { font-size: 13px; }

/* Future subpages */
body.big-update-subpage { padding-top: 84px; }
body.big-update-subpage .future-subpage-topbar { position: fixed; inset: 0 0 auto 0; }
body.big-update-subpage .shorebuild-intro { display: none !important; }
body.big-update-subpage .search-row .search-box { display: none !important; }
body.big-update-subpage .page { padding-top: 28px; }

.future-simple-page { width: min(980px, calc(100% - 42px)); margin: 60px auto; }
.future-simple-page h1 { color: #1769aa; font-family: "Minecraft Ten", sans-serif; font-size: 48px; }
.future-simple-page p { color: #315f77; line-height: 1.65; }

@media (max-width: 1050px) {
  .future-topbar { grid-template-columns: auto 1fr 190px; gap: 12px; }
  .future-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
  .future-account-space { width: 190px; }
  html.shore-big-update-active .account-area { width: 180px; }
}
@media (max-width: 650px) {
  .future-topbar { position: relative; grid-template-columns: 1fr; padding: 15px; }
  .future-brand { font-size: 22px; }
  .future-nav { grid-column: auto; grid-row: auto; overflow-x: auto; }
  .future-nav-search { width: 100%; }
  .future-account-space { display: none; }
  html.shore-big-update-active .account-area { position: relative !important; top: auto !important; right: auto !important; width: auto; margin: 10px 15px 0; }
  .future-home-main { width: min(100% - 30px, 1240px); padding-top: 48px; }
  .future-hero h1 { font-size: 45px; }
}
.future-nav a.active { background: rgba(255,255,255,.72); color: #0f5f94; }
body.big-update-subpage .legacy-build-controls .search-box { display: none !important; }

/* Owner-only staged release gate */
html[data-big-update-subpage="true"].shore-big-update-checking body {
  visibility: hidden !important;
}


/* v43 owner-preview refinements */
html.shore-big-update-active:not([data-big-update-subpage="true"]),
html.shore-big-update-active:not([data-big-update-subpage="true"]) body {
  height: 100%;
  overflow: hidden;
}
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-homepage {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main {
  height: calc(100vh - 78px);
  padding-top: clamp(42px, 8vh, 92px);
  padding-bottom: 24px;
  box-sizing: border-box;
}
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-empty { display:none !important; }

.future-topbar.v43-topbar {
  grid-template-columns: minmax(0, auto) minmax(140px, 1fr) 240px;
}
.future-topbar.v43-topbar .future-nav { min-width: 0; }
.future-nav-search-button {
  height: 42px;
  min-width: 145px;
  border: 2px solid #2e709d;
  border-radius: 7px;
  padding: 0 15px;
  background: #f8fdff;
  color: #164f76;
  font-family: "Minecraft Ten", "Press Start 2P", monospace;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgba(23,105,170,.08);
}
.future-nav-search-button:hover { background:#fff; border-color:#1769aa; }

/* Builds page: keep the actual build catalog and categories visible. */
body.big-update-subpage .shorebuild-intro { display:none !important; }
body.big-update-subpage .legacy-build-controls { display:none !important; }
body.big-update-subpage .categories,
body.big-update-subpage .builds,
body.big-update-subpage .pagination { visibility:visible !important; opacity:1 !important; }

/* Search popup */
.future-search-popup[hidden] { display:none !important; }
.future-search-popup {
  position:fixed; inset:0; z-index:12000; display:grid; place-items:start center;
  padding:110px 18px 30px; background:rgba(6,25,38,.56); backdrop-filter:blur(5px);
}
.future-search-card {
  width:min(680px,100%); max-height:min(650px,calc(100vh - 150px)); overflow:hidden;
  border:3px solid #2a78a7; border-radius:12px; background:#dff4ff;
  box-shadow:0 22px 70px rgba(14,66,100,.30); padding:18px;
}
.future-search-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:13px; }
.future-search-head strong { color:#1769aa; font-family:"Minecraft Ten",monospace; font-size:18px; }
.future-search-close { border:0; background:transparent; color:#245d7d; font-size:28px; cursor:pointer; }
.future-search-input {
  width:100%; height:48px; box-sizing:border-box; border:2px solid #2e709d; border-radius:7px;
  padding:0 14px; outline:none; background:#fff; color:#123b5d;
  font-family:"Minecraft Ten", "Press Start 2P", monospace; font-size:14px;
}
.future-search-input:focus { border-color:#1769aa; box-shadow:0 0 0 3px rgba(23,105,170,.12); }
.future-search-results { margin-top:12px; max-height:430px; overflow:auto; display:flex; flex-direction:column; gap:7px; }
.future-search-result {
  width:100%; display:flex; align-items:center; gap:11px; border:1px solid rgba(39,107,152,.30); border-radius:7px;
  padding:10px 11px; background:rgba(255,255,255,.62); color:#174e72; text-decoration:none; cursor:pointer;
}
.future-search-result:hover { background:#fff; border-color:#2a78a7; }
.future-search-result img { width:35px; height:35px; border-radius:5px; object-fit:cover; image-rendering:auto; }
.future-search-result-copy { min-width:0; display:flex; flex-direction:column; gap:2px; }
.future-search-result-copy strong { font-family:"Minecraft Ten",monospace; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.future-search-result-copy span { color:#5d859b; font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.future-search-empty { padding:24px 8px; color:#507990; text-align:center; font-family:"Minecraft Ten",monospace; font-size:12px; }

/* Roles */
.future-role-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:25px; }
.future-role-card { display:flex; align-items:center; gap:12px; min-height:68px; padding:14px 16px; border:2px solid rgba(39,107,152,.26); border-radius:9px; background:rgba(255,255,255,.38); }
.future-role-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:7px; background:#b8e6fa; color:#1769aa; font-family:"Minecraft Ten",monospace; font-size:15px; }
.future-role-card strong { color:#175c88; font-family:"Minecraft Ten",monospace; font-size:13px; }
.future-role-card span { display:block; margin-top:3px; color:#568097; font-size:11px; }

/* Catalog categories */
.future-catalog-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:25px; }
.future-catalog-card { display:block; padding:22px; border:2px solid rgba(39,107,152,.26); border-radius:10px; background:rgba(255,255,255,.38); text-decoration:none; }
.future-catalog-card:hover { background:rgba(255,255,255,.68); border-color:#2e709d; }
.future-catalog-card strong { display:block; color:#1769aa; font-family:"Minecraft Ten",monospace; font-size:17px; }
.future-catalog-card span { display:block; margin-top:7px; color:#527a90; font-size:12px; }

@media (max-width:700px) {
  .future-topbar.v43-topbar { grid-template-columns:1fr; }
  .future-role-grid,.future-catalog-grid { grid-template-columns:1fr; }
  .future-search-popup { padding-top:70px; }
}

/* v44 — owner build/card + live Discord role controls */
.future-open-target {
  outline: 3px solid #1769aa !important;
  outline-offset: 4px;
  animation: future-open-pulse .8s ease-in-out 2;
}
@keyframes future-open-pulse { 50% { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(23,105,170,.24); } }
.future-role-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: .16s ease;
}
.future-role-card:hover { transform: translateY(-1px); border-color:#2e709d; background:rgba(255,255,255,.68); }
.future-role-card.enabled { border-color:#2b9b69; background:rgba(221,255,237,.62); }
.future-role-card:disabled { opacity:.62; cursor:wait; transform:none; }
.future-role-copy { min-width:0; flex:1; }
.future-role-state {
  margin-left:auto !important;
  padding:7px 9px;
  border:1px solid rgba(23,105,170,.25);
  border-radius:6px;
  color:#1769aa !important;
  background:rgba(255,255,255,.58);
  font-family:"Minecraft Ten",monospace;
  font-size:10px !important;
  white-space:nowrap;
}
.future-role-card.enabled .future-role-state { color:#17633f !important; border-color:rgba(43,155,105,.35); }
.future-role-status { margin-top:16px; min-height:20px; color:#48748c !important; font-size:12px; }
.future-role-status.error { color:#b43d4c !important; }

/* Keep the complete owner Builds experience visible after owner access resolves. */
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .categories,
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .builds,
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .pagination {
  visibility: visible !important;
  opacity: 1 !important;
}


/* v45: owner staged pages stay visible and account menu opens below the top bar. */
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage > .page {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .categories,
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .builds,
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .pagination {
  display: grid;
  visibility: visible !important;
  opacity: 1 !important;
}
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage .pagination {
  display: flex;
}
html.shore-big-update-active .account-dropdown {
  top: calc(100% + 10px);
  bottom: auto;
  transform-origin: top right;
  transform: translateY(-8px) scale(.96);
}
html.shore-big-update-active .account-dropdown.show {
  transform: translateY(0) scale(1);
}


/* v46 homepage + roles cleanup */
.future-nav .future-home-link,
.future-nav .future-home-link.active {
  background: transparent !important;
  color: #164f76;
  box-shadow: none !important;
}
.future-nav .future-home-link:hover {
  background: rgba(32, 117, 170, .10) !important;
  color: #0f5f94;
}
.roles-page-main {
  width: min(1180px, calc(100% - 42px));
  margin: 72px auto 40px;
}
.roles-page .roles-page-selector {
  max-width: 1140px;
  margin: 0 auto;
}
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-hero > .future-eyebrow { display:none !important; }


/* v47 — consistent staged overhead, catalog changelog, and edge scroll behavior */
html, body {
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}
body.big-update-subpage,
body.marketplace-owner-shell {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.big-update-subpage > main:last-of-type,
body.marketplace-owner-shell > main:last-of-type {
  margin-bottom: 0 !important;
}

/* Marketplace keeps its public layout, but Owner sees the same overhaul header. */
.marketplace-owner-shell .marketplace-future-topbar { display: none; }
html.shore-big-update-active .marketplace-owner-shell .marketplace-future-topbar { display: grid; }
html.shore-big-update-active .marketplace-owner-shell .marketplace-page {
  padding-top: 34px;
}
html.shore-big-update-active .marketplace-owner-shell .marketplace-back { display: none; }

/* Roles/Catalog use the exact same top account placement as Builds. */
html.shore-big-update-active body.roles-page .account-area,
html.shore-big-update-active body.catalog-page .account-area,
html.shore-big-update-active body.marketplace-owner-shell .account-area {
  position: fixed !important;
  z-index: 9500 !important;
  top: 17px !important;
  right: 27px !important;
  width: 220px;
}

/* Update Catalog / large-update history */
.update-catalog-page { max-width: 980px; }
.update-catalog-intro { max-width: 760px; margin-bottom: 28px; }
.update-entry {
  margin-top: 24px;
  padding: 26px 28px;
  border: 2px solid rgba(39,107,152,.32);
  border-radius: 12px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 8px 24px rgba(24,90,130,.08);
}
.update-entry-heading { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.update-version,
.update-tag {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border:1px solid rgba(39,107,152,.28);
  border-radius:6px;
  font-family:"Minecraft Ten",monospace;
  font-size:10px;
  letter-spacing:.05em;
}
.update-version { background:#1769aa; color:#fff; }
.update-tag { background:#fff8cf; color:#174e72; }
.update-entry h2 {
  margin:17px 0 8px;
  color:#1769aa;
  font-family:"Minecraft Ten",monospace;
  font-size:clamp(20px,3vw,31px);
  line-height:1.2;
}
.update-entry p { margin:0 0 12px; }
.update-entry ul { margin:0; padding-left:23px; color:#315f77; line-height:1.75; }
.update-entry li + li { margin-top:4px; }

@media (max-width: 650px) {
  html.shore-big-update-active body.roles-page .account-area,
  html.shore-big-update-active body.catalog-page .account-area,
  html.shore-big-update-active body.marketplace-owner-shell .account-area {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: auto;
    margin: 10px 15px 0;
  }
  .update-entry { padding:20px 18px; }
}

/* v48 — keep every Owner-preview page in a readable light-blue range while scrolling */
html.shore-big-update-active,
html.shore-big-update-active body,
html.shore-big-update-active body.big-update-subpage,
html.shore-big-update-active body.marketplace-owner-shell {
  background: linear-gradient(180deg, #c8efff 0%, #b8e8fb 42%, #a9ddf4 100%) !important;
  background-attachment: fixed !important;
  color: #174e72;
}

/* Prevent legacy dark page backgrounds/sections from taking over farther down a page. */
html.shore-big-update-active body.big-update-subpage > .page,
html.shore-big-update-active body.big-update-subpage main,
html.shore-big-update-active body.catalog-page .future-simple-page,
html.shore-big-update-active body.roles-page .roles-page-main,
html.shore-big-update-active body.marketplace-owner-shell .marketplace-page {
  background-color: transparent !important;
  background-image: none !important;
}

/* Catalog stays light and readable from top to bottom. */
html.shore-big-update-active body.catalog-page .update-catalog-page,
html.shore-big-update-active body.catalog-page .update-catalog-intro,
html.shore-big-update-active body.catalog-page .update-entry {
  color: #245d7d;
}
html.shore-big-update-active body.catalog-page .update-entry {
  background: rgba(239, 249, 255, .72) !important;
  border-color: rgba(39, 107, 152, .34);
}
html.shore-big-update-active body.catalog-page .update-entry p,
html.shore-big-update-active body.catalog-page .update-entry ul,
html.shore-big-update-active body.catalog-page .update-entry li,
html.shore-big-update-active body.catalog-page .update-catalog-intro p {
  color: #2d6687 !important;
}

/* Keep the page edge itself light if content is shorter than the viewport. */
html.shore-big-update-active body.big-update-subpage::before,
html.shore-big-update-active body.big-update-subpage::after,
html.shore-big-update-active body.marketplace-owner-shell::before,
html.shore-big-update-active body.marketplace-owner-shell::after {
  background: transparent !important;
}

/* v49 — Builds controls restored and page bottoms tightened */
html.shore-big-update-active body.builds-page .shorebuild-intro,
html.shore-big-update-active body.builds-page .donutsmp-logo {
  display: none !important;
}
html.shore-big-update-active body.builds-page > .page {
  min-height: 0 !important;
  padding-top: 28px !important;
  padding-bottom: 24px !important;
  margin-bottom: 0 !important;
}
html.shore-big-update-active body.builds-page .restored-build-controls {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto 14px;
}
html.shore-big-update-active body.builds-page .restored-build-controls .search-box {
  flex: 1;
  margin: 0 !important;
}
html.shore-big-update-active body.builds-page .restored-build-controls .search-box input,
html.shore-big-update-active body.builds-page .sort-select {
  min-height: 48px;
  border: 3px solid #164c72;
  border-radius: 8px;
  background: #f8fdff;
  color: #174c70;
  box-shadow: 0 4px 0 #164c72;
  font-family: "Minecraft Ten", "Press Start 2P", monospace;
  font-size: 13px;
  font-weight: 800;
}
html.shore-big-update-active body.builds-page .restored-build-controls .search-box input {
  width: 100%;
  padding: 0 16px;
}
html.shore-big-update-active body.builds-page .sort-select {
  width: 190px;
  padding: 0 12px;
  cursor: pointer;
}
html.shore-big-update-active body.builds-page .categories {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto 34px !important;
}
html.shore-big-update-active body.builds-page .categories .category-btn {
  width: auto !important;
  min-width: 105px;
  margin: 0 !important;
}
html.shore-big-update-active body.builds-page .pagination {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* Anything below pagination is modal/legacy helper UI and must not add document height. */
html.shore-big-update-active body.builds-page .shorebuild-install-callout,
html.shore-big-update-active body.builds-page .donutsmp-mode {
  display: none !important;
}
html.shore-big-update-active body.builds-page {
  padding-bottom: 0 !important;
}

/* Contact page */
.contact-page-main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 40px !important;
}
.contact-content-card {
  padding: 34px;
  border: 2px solid rgba(31,107,151,.35);
  border-radius: 14px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 8px 0 rgba(25,91,132,.16);
}
.contact-content-card h1,
.contact-content-card h2 {
  font-family: "Minecraft Ten", "Press Start 2P", monospace;
  color: #1769aa;
}
.contact-content-card h1 { margin: 0 0 30px; font-size: clamp(34px, 5vw, 58px); }
.contact-content-card h2 { margin: 26px 0 10px; font-size: 18px; }
.contact-content-card p,
.contact-content-card li {
  color: #2e6788;
  font-size: 16px;
  line-height: 1.65;
}
.contact-content-card a { color: #1769aa; font-weight: 800; }
.contact-methods { padding-left: 24px; }
.contact-methods li + li { margin-top: 18px; }
.contact-people { display: grid; gap: 6px; margin-top: 10px; }
.contact-people span { font-weight: 800; color: #195c86; }
.contact-people small { font-weight: 600; color: #5f8498; }
.contact-discord-box {
  margin-top: 30px;
  padding: 20px 22px;
  border: 2px solid rgba(31,107,151,.28);
  border-radius: 10px;
  background: rgba(232,248,255,.72);
}
.contact-discord-box h2 { margin-top: 0; }
@media (max-width: 700px) {
  html.shore-big-update-active body.builds-page .restored-build-controls { flex-direction: column; }
  html.shore-big-update-active body.builds-page .sort-select { width: 100%; }
  .contact-content-card { padding: 22px 18px; }
}


/* v50 — keep the dedicated Builds/Stock search visible on /builds.
   This is separate from the global search button in the header. */
html.shore-big-update-active body.builds-page .restored-build-controls .search-box,
html.shore-big-update-active body.big-update-subpage.builds-page .restored-build-controls .search-box,
body.big-update-subpage.builds-page .legacy-build-controls .search-box,
body.big-update-subpage.builds-page .search-row .search-box {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1 1 520px !important;
  min-width: 280px;
}
html.shore-big-update-active body.builds-page .restored-build-controls {
  flex-wrap: wrap;
}
html.shore-big-update-active body.builds-page .restored-build-controls .search-box input {
  display: block !important;
  width: 100% !important;
}
@media (max-width: 720px) {
  html.shore-big-update-active body.builds-page .restored-build-controls .search-box {
    flex-basis: 100% !important;
    min-width: 0;
  }
  html.shore-big-update-active body.builds-page .sort-select {
    width: 100% !important;
  }
}


/* v51 — staged My Orders navigation. While the overhaul is Owner-only,
   My Orders lives in the top navigation instead of the profile dropdown. */
html.shore-big-update-active #ordersButton { display: none !important; }

html.shore-big-update-active body.my-orders-page {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #b9eaff 0%, #a9ddf4 52%, #9fd4eb 100%) !important;
  color: #103f5f;
}
html.shore-big-update-active body.my-orders-page .orders-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 64px;
}
html.shore-big-update-active body.my-orders-page .orders-page h1 {
  margin: 0 0 8px;
  color: #0c5f96;
  font-family: "Minecraft Ten", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
}
html.shore-big-update-active body.my-orders-page .orders-intro,
html.shore-big-update-active body.my-orders-page .orders-message {
  color: #315f78;
}
html.shore-big-update-active body.my-orders-page .orders-back { display: none; }
html.shore-big-update-active body.my-orders-page .orders-list {
  gap: 15px;
  margin-top: 24px;
}
html.shore-big-update-active body.my-orders-page .customer-order-card {
  border: 2px solid #2785b5;
  border-radius: 12px;
  background: rgba(239, 250, 255, .86);
  box-shadow: 0 5px 0 rgba(19, 78, 112, .18);
  color: #123f59;
}
html.shore-big-update-active body.my-orders-page .customer-order-card:hover,
html.shore-big-update-active body.my-orders-page .customer-order-card:focus-visible {
  border-color: #0c6da7;
  background: #f7fdff;
  transform: translateY(-2px);
}
html.shore-big-update-active body.my-orders-page .customer-order-card h2 { color: #103f5f; }
html.shore-big-update-active body.my-orders-page .customer-order-card p { color: #47738a; }
html.shore-big-update-active body.my-orders-page .customer-order-total { color: #0c6da7; }

@media (max-width: 900px) {
  html.shore-big-update-active body.my-orders-page .orders-page { padding-top: 28px; }
}

/* v51 shared orders route: public users keep the current legacy My Orders page;
   only the staged Owner preview gets the new navigation and light-blue shell. */
html:not(.shore-big-update-active) body.my-orders-page {
  padding-top: 0 !important;
  background: linear-gradient(180deg, #0b2638 0%, #0b1d2a 62%, #071522 100%) !important;
}
html:not(.shore-big-update-active) body.my-orders-page > .future-topbar,
html:not(.shore-big-update-active) body.my-orders-page > .account-area {
  display: none !important;
}
html:not(.shore-big-update-active) body.my-orders-page .orders-back { display: inline-block !important; }


/* V52 — mobile account avatar floats at bottom-right on the staged redesign. */
@media (max-width: 700px) {
  html[data-big-update-subpage="true"] .account-area,
  body.big-update-home .account-area {
    position: static !important;
  }
  html[data-big-update-subpage="true"] .account-info,
  body.big-update-home .account-info {
    position: fixed !important;
    right: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    top: auto !important;
    left: auto !important;
    z-index: 120 !important;
  }
  html[data-big-update-subpage="true"] .account-profile-button,
  body.big-update-home .account-profile-button {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    padding: 5px !important;
    border-radius: 18px !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 8px 24px rgba(16, 70, 108, .25) !important;
  }
  html[data-big-update-subpage="true"] .account-profile-button #accountAvatar,
  body.big-update-home .account-profile-button #accountAvatar {
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    border-radius: 13px !important;
  }
  html[data-big-update-subpage="true"] .account-profile-button #accountUsername,
  html[data-big-update-subpage="true"] .account-profile-button #mobileAccountUsername,
  html[data-big-update-subpage="true"] .account-profile-button .account-arrow,
  body.big-update-home .account-profile-button #accountUsername,
  body.big-update-home .account-profile-button #mobileAccountUsername,
  body.big-update-home .account-profile-button .account-arrow {
    display: none !important;
  }
  html[data-big-update-subpage="true"] .account-dropdown,
  body.big-update-home .account-dropdown {
    position: absolute !important;
    right: 0 !important;
    bottom: 68px !important;
    top: auto !important;
    min-width: 220px !important;
  }
}


/* =========================================================
   V71 — HOMEPAGE FEATURED FAREX + DYNAMIC CATALOG
========================================================= */
.dynamic-catalog-updates {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.dynamic-update-information {
  white-space: pre-wrap;
}

html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main {
  position: relative;
  min-height: 540px;
}

.future-featured-build-card {
  position: absolute;
  top: 40px;
  right: 0;
  width: min(390px, 34vw);
  overflow: hidden;
  border: 3px solid #276b98;
  border-radius: 14px;
  background: rgba(234,249,255,.94);
  box-shadow:
    0 14px 28px rgba(29,91,128,.18),
    0 5px 0 rgba(39,107,152,.16);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.future-featured-build-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 34px rgba(29,91,128,.22),
    0 5px 0 rgba(39,107,152,.16);
}

.future-featured-build-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #ccefff;
}

.future-featured-build-info {
  padding: 13px 15px 16px;
}

.future-featured-build-info .build-category {
  color: #397a9d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.future-featured-build-info h2 {
  margin: 5px 0 0;
  color: #1769aa;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 22px;
}

.future-featured-build-price {
  display: inline-block;
  margin-top: 7px;
  color: #245d7d;
  font-weight: 900;
}

@media (max-width: 980px) {
  html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main {
    min-height: auto;
  }

  .future-featured-build-card {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 430px);
    margin-top: 34px;
  }
}


/* =========================================================
   V72 — MOST FEATURED FAREX CARD
   Matches the tall portrait card shown in the reference.
========================================================= */
.future-featured-build-card {
  position: absolute !important;
  top: 18px !important;
  right: 4.2vw !important;
  width: clamp(300px, 24vw, 455px) !important;
  min-height: 0 !important;
  border: 3px solid #159be0 !important;
  border-radius: 44px !important;
  overflow: hidden !important;
  background: #d8f2ff !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
}

.future-featured-build-card:hover {
  transform: translateY(-3px) scale(1.006) !important;
  box-shadow: 0 14px 30px rgba(16, 112, 165, .18) !important;
}

.future-featured-build-card > img {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 0.72 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 40px 40px 0 0 !important;
  background: #b9e9fb;
}

.future-featured-build-info {
  padding: 8px 12px 14px !important;
  background: #d8f2ff !important;
}

.future-featured-build-info .build-category {
  margin: 0 !important;
  color: #1075ae !important;
  font-family: "Minecraft Ten", "Trebuchet MS", Arial, sans-serif !important;
  font-size: clamp(18px, 1.35vw, 28px) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.future-featured-build-info h2 {
  margin: 10px 0 0 !important;
  color: #15283a !important;
  font-family: "Minecraft Ten", "Trebuchet MS", Arial, sans-serif !important;
  font-size: clamp(24px, 2vw, 38px) !important;
  line-height: .95 !important;
}

.future-featured-build-price {
  display: none !important;
}

/* Special callout at the top of the normal build popup. */
.featured-build-popup-banner {
  margin: 0 42px 14px 0;
  padding: 11px 14px;
  border: 2px solid #2495cf;
  border-radius: 10px;
  background: #d9f4ff;
  color: #125d8d;
  font-family: "Minecraft Ten", "Trebuchet MS", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  letter-spacing: .01em;
}

.featured-build-popup-banner[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .future-featured-build-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: min(88vw, 410px) !important;
    margin: 34px auto 0 !important;
  }
}


/* V73 — Owner preview: featured Farex must never vanish with grid pagination. */
html.shore-big-update-active .future-featured-build-card {
  visibility: visible !important;
  opacity: 1 !important;
}


/* =========================================================
   V74 — FEATURED FAREX VISIBILITY / FIT
========================================================= */

/*
  The homepage preview is intentionally locked to one viewport.
  Size the IMAGE by viewport height instead of aspect-ratio so the
  STASH + FAREX STASH text always remains inside the visible homepage.
*/
.future-featured-build-card {
  display: block !important;
  height: auto !important;
  max-height: calc(100vh - 150px) !important;
}

.future-featured-build-card > img {
  width: 100% !important;
  height: clamp(350px, 54vh, 515px) !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

.future-featured-build-info,
.future-featured-build-card .build-info {
  display: block !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 92px !important;
  padding: 9px 14px 16px !important;
  background: #d8f2ff !important;
  overflow: visible !important;
}

.future-featured-build-info .build-category {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 0 9px !important;
  color: #0874a8 !important;
  font-size: clamp(17px, 1.25vw, 25px) !important;
  line-height: 1 !important;
}

.future-featured-build-info h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  color: #142536 !important;
  font-size: clamp(25px, 1.9vw, 36px) !important;
  line-height: 1 !important;
}

/* Clear hover/focus feedback so the card feels clickable. */
.future-featured-build-card:focus-visible {
  outline: 4px solid rgba(21,157,224,.42) !important;
  outline-offset: 5px;
}

/* Featured popup callout must be visible whenever JS un-hides it. */
.featured-build-popup-banner:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 3;
}

@media (max-height: 760px) and (min-width: 981px) {
  .future-featured-build-card > img {
    height: 390px !important;
  }

  .future-featured-build-info,
  .future-featured-build-card .build-info {
    min-height: 82px !important;
  }
}


/* =========================================================
   V75 — FEATURED POPUP GUARANTEE
========================================================= */
#buildPopup.show {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#buildPopup.show .popup-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#featuredBuildPopupBanner:not([hidden]) {
  display: block !important;
  width: auto !important;
  margin: 0 44px 14px 0 !important;
  padding: 12px 14px !important;
  border: 2px solid #159be0 !important;
  border-radius: 10px !important;
  background: #d8f2ff !important;
  color: #0c6597 !important;
  font-family: "Minecraft Ten", "Trebuchet MS", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* =========================================================
   V76 — OWNER-ONLY FEATURED FAREX + POPUP HARD FIX
========================================================= */

/* Special homepage build is hidden unless owner access explicitly reveals it. */
#featuredCustomBuildCard[hidden] {
  display: none !important;
}

html.shore-big-update-active #featuredCustomBuildCard:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 100 !important;
}

/* Make the ENTIRE featured card one click target. */
#featuredCustomBuildCard,
#featuredCustomBuildCard * {
  cursor: pointer !important;
}

#featuredCustomBuildCard img,
#featuredCustomBuildCard .future-featured-build-info,
#featuredCustomBuildCard .build-category,
#featuredCustomBuildCard h2 {
  pointer-events: none !important;
}

/* Popup is moved to <body> in Owner preview so it isn't trapped inside
   the hidden legacy .page element. */
body > #buildPopup.show {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 30000 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body > #buildPopup.show .popup-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 30001 !important;
}

body > #buildPopup.show #featuredBuildPopupBanner:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 44px 14px 0 !important;
  padding: 12px 14px !important;
  border: 2px solid #159be0 !important;
  border-radius: 10px !important;
  background: #d8f2ff !important;
  color: #0b5f91 !important;
  font-family: "Minecraft Ten", "Trebuchet MS", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  text-align: center !important;
}


/* =========================================================
   V77 — #1 REQUESTED BUILD BADGE
========================================================= */
#featuredCustomBuildCard {
  position: absolute !important;
}

.featured-requested-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 2px solid #0f78b3;
  border-radius: 999px;
  background: rgba(223, 247, 255, .96);
  color: #0a5f91;
  font-family: "Minecraft Ten", "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1;
  box-shadow: 0 5px 0 rgba(19, 105, 154, .14);
  pointer-events: none;
  user-select: none;
}

#featuredCustomBuildCard[hidden] .featured-requested-tag {
  display: none !important;
}

/* The old featured text belongs on the card now, never inside the popup. */
#featuredBuildPopupBanner {
  display: none !important;
}


/* =========================================================
   V78 — HOMEPAGE HERO STATS + ACTIONS + DISCORD POPUP
========================================================= */
.future-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 16px;
}

.future-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 2px solid #1769aa;
  border-radius: 999px;
  background: rgba(224, 246, 255, .92);
  color: #125a89;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(23, 105, 170, .13);
}

.future-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.future-hero-button {
  min-height: 48px;
  padding: 0 20px;
  border: 3px solid #103f63;
  border-radius: 8px;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 rgba(16, 63, 99, .18);
  transition: transform .14s ease, box-shadow .14s ease;
}

.future-hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(16, 63, 99, .18);
}

.future-discord-button {
  background: #fff7cb;
  color: #123d5d;
}

.future-browse-button {
  background: #1769aa;
  color: #fff;
}

.shore-discord-invite-popup {
  position: fixed;
  inset: 0;
  z-index: 40000;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(6, 30, 45, .52);
  backdrop-filter: blur(7px);
}

.shore-discord-invite-popup.show {
  display: grid !important;
}

.shore-discord-invite-popup[hidden] {
  display: none !important;
}

.shore-discord-invite-card {
  position: relative;
  width: min(540px, 94vw);
  padding: 26px;
  border: 3px solid #1769aa;
  border-radius: 18px;
  background: #ddf5ff;
  color: #103f63;
  box-shadow: 0 18px 45px rgba(8, 52, 78, .26);
  font-family: "Minecraft Ten", sans-serif;
  text-align: center;
}

.shore-discord-invite-card h2 {
  margin: 8px 36px 12px;
  color: #1769aa;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 26px;
}

.shore-discord-invite-card p {
  margin: 0;
  color: #356a89;
  line-height: 1.55;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 12px;
}

.shore-discord-eyebrow {
  color: #347fa8;
  font-size: 10px;
  letter-spacing: .09em;
}

.shore-discord-invite-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 2px solid #1769aa;
  border-radius: 8px;
  background: #f6fcff;
  color: #1769aa;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 20px;
  cursor: pointer;
}

.shore-discord-invite-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0;
}

.shore-discord-invite-stats span {
  padding: 7px 10px;
  border: 2px solid rgba(23,105,170,.38);
  border-radius: 999px;
  background: #eefbff;
  color: #175c88;
  font-size: 10px;
}

.shore-discord-join-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 3px solid #103f63;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-family: "Minecraft Ten", sans-serif;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 5px 0 rgba(16,63,99,.18);
}

html.shore-discord-popup-open,
body.shore-discord-popup-open {
  overflow: hidden !important;
}

@media (max-width: 700px) {
  .future-hero-tags,
  .future-hero-actions {
    justify-content: center;
  }

  .future-hero-button {
    width: min(100%, 300px);
  }
}


/* =========================================================
   V79 — HOME NAV ACTIVE BOX
========================================================= */
.future-nav .active-home-nav,
.future-nav a.active-home-nav,
.future-nav button.active-home-nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 58px !important;
  padding: 0 22px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .86) !important;
  color: #0e5c8e !important;
  box-shadow: none !important;
}


/* =========================================================
   V86 — FULL SCROLLABLE HOMEPAGE
========================================================= */

/* Previous staged homepage intentionally locked itself to one viewport.
   V86 turns it into a real landing page. */
html.shore-big-update-active:not([data-big-update-subpage="true"]),
html.shore-big-update-active:not([data-big-update-subpage="true"]) body {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-homepage {
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
}

html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main {
  position: relative !important;
  width: min(1240px, calc(100% - 54px)) !important;
  height: auto !important;
  min-height: 720px !important;
  padding-top: clamp(42px, 8vh, 92px) !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

/* Hero remains the first-screen experience. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-hero {
  min-height: 620px;
}

/* Existing Farex feature card stays in the hero, not in the scrolling grid. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) #featuredCustomBuildCard {
  top: 38px !important;
}

/* All new sections begin after the hero/Farex area. */
.shore-home-scroll-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 14px;
  padding-bottom: 36px;
}

.shore-home-section {
  margin: 0 0 86px;
}

.shore-home-section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.shore-home-section-heading > span,
.shore-home-feature-card > span,
.shore-home-community-card > div > span,
.shore-home-trust-copy > span {
  display: block;
  margin-bottom: 8px;
  color: #3486b3;
  font-family: "Minecraft Ten", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .09em;
}

.shore-home-section-heading h2,
.shore-home-community-card h2,
.shore-home-trust-copy h2 {
  margin: 0 0 10px;
  color: #155f91;
  font-family: "Minecraft Ten", Arial, sans-serif;
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.06;
}

.shore-home-section-heading p,
.shore-home-community-card p,
.shore-home-trust-copy p {
  margin: 0;
  color: #47738b;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.shore-home-heading-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* QUICK ACCESS */
.shore-home-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shore-home-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
  border: 2px solid rgba(39, 107, 152, .28);
  border-radius: 16px;
  background: rgba(239, 250, 255, .86);
  color: #153f59;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(39, 107, 152, .08);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.shore-home-quick-card:hover {
  transform: translateY(-4px);
  border-color: #42a8d9;
  box-shadow: 0 15px 28px rgba(39, 107, 152, .14);
}

.shore-home-card-kicker {
  color: #4d93b7;
  font-size: 9px;
  letter-spacing: .08em;
}

.shore-home-quick-card strong {
  margin-top: 13px;
  color: #1769aa;
  font-size: 19px;
  line-height: 1.12;
}

.shore-home-quick-card p {
  margin: 10px 0 18px;
  color: #55798c;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.shore-home-quick-card em {
  margin-top: auto;
  color: #1769aa;
  font-style: normal;
  font-size: 10px;
}

/* PROCESS */
.shore-home-process-section {
  padding: 58px 28px;
  border: 2px solid rgba(39, 107, 152, .18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.56), rgba(222,246,255,.72));
}

.shore-home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.shore-home-process-card {
  min-height: 250px;
  padding: 22px;
  border: 2px solid rgba(42, 121, 166, .23);
  border-radius: 16px;
  background: rgba(255,255,255,.76);
}

.shore-home-process-card b {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 19px;
  border: 2px solid #4fa8d3;
  border-radius: 10px;
  color: #1769aa;
  background: #e6f8ff;
  font-size: 14px;
}

.shore-home-process-card strong {
  display: block;
  color: #1b638f;
  font-size: 16px;
}

.shore-home-process-card p {
  min-height: 73px;
  margin: 10px 0 18px;
  color: #537486;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.shore-home-process-card a {
  color: #1769aa;
  font-size: 9px;
  text-decoration: none;
}

/* FEATURE CARDS */
.shore-home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.shore-home-feature-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border: 2px solid rgba(38, 111, 153, .24);
  border-radius: 18px;
  background: rgba(235, 249, 255, .82);
  box-shadow: 0 10px 24px rgba(31, 93, 129, .08);
}

.shore-home-feature-wide {
  grid-column: 1 / -1;
  min-height: 250px;
  justify-content: space-between;
  background:
    radial-gradient(circle at 80% 20%, rgba(91,195,235,.18), transparent 35%),
    rgba(236,250,255,.92);
}

.shore-home-feature-card h3 {
  margin: 4px 0 10px;
  color: #175f8c;
  font-size: 20px;
  line-height: 1.15;
}

.shore-home-feature-card p {
  max-width: 720px;
  margin: 0 0 22px;
  color: #55798c;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.shore-home-feature-card a {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 12px;
  border: 2px solid #377fa8;
  border-radius: 8px;
  background: #f6fcff;
  color: #1769aa;
  font-size: 9px;
  text-decoration: none;
}

/* TRUST/STATS */
.shore-home-trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 3px solid #2675a4;
  border-radius: 22px;
  background: #dff5ff;
  box-shadow: 0 11px 0 rgba(39,107,152,.10);
}

.shore-home-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.shore-home-stat-grid div {
  min-height: 110px;
  padding: 17px;
  border: 2px solid rgba(38,117,164,.22);
  border-radius: 13px;
  background: rgba(255,255,255,.66);
}

.shore-home-stat-grid strong {
  display: block;
  color: #1769aa;
  font-size: 25px;
}

.shore-home-stat-grid span {
  display: block;
  margin-top: 7px;
  color: #5b7d8f;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

/* UPDATES */
.shore-home-updates-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  align-items: end;
}

.shore-home-updates-heading > div {
  max-width: 720px;
}

.shore-home-updates-heading > a {
  flex: 0 0 auto;
  color: #1769aa;
  font-size: 10px;
  text-decoration: none;
}

.shore-home-update-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.shore-home-update-card {
  min-height: 205px;
  padding: 20px;
  border: 2px solid rgba(44, 118, 160, .22);
  border-radius: 16px;
  background: rgba(248,253,255,.78);
}

.shore-home-update-card > span {
  color: #3b8db7;
  font-size: 8px;
  letter-spacing: .08em;
}

.shore-home-update-card > strong {
  display: block;
  margin: 12px 0 10px;
  color: #1769aa;
  font-size: 15px;
  line-height: 1.25;
}

.shore-home-update-card p {
  margin: 0;
  color: #56798b;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.shore-home-update-card time {
  display: block;
  margin-top: 18px;
  color: #7898a8;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.shore-home-update-card a {
  display: inline-block;
  margin-top: 18px;
  color: #1769aa;
  font-size: 9px;
  text-decoration: none;
}

/* COMMUNITY CTA */
.shore-home-community-card {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 34px;
  border: 3px solid #2b739e;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 22%, rgba(255,255,255,.56), transparent 28%),
    #bfeaff;
}

.shore-home-community-card > div:first-child {
  max-width: 700px;
}

.shore-home-community-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
}

.shore-home-community-actions button,
.shore-home-community-actions a {
  min-height: 46px;
  padding: 0 16px;
  border: 3px solid #163f5c;
  border-radius: 9px;
  font-family: "Minecraft Ten", Arial, sans-serif;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.shore-home-community-actions button {
  background: #5865f2;
  color: #fff;
}

.shore-home-community-actions a {
  display: grid;
  place-items: center;
  background: #fff9d5;
  color: #153f59;
}

/* FOOTER */
.shore-home-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0 10px;
  border-top: 2px solid rgba(39,107,152,.18);
}

.shore-home-footer > a {
  color: #1769aa;
  font-size: 13px;
  text-decoration: none;
}

.shore-home-footer > div {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.shore-home-footer > div a,
.shore-home-footer > span {
  color: #638599;
  font-size: 8px;
  text-decoration: none;
}

/* Keep the existing account dropdown and popup layers above the long page. */
.future-topbar {
  position: sticky !important;
  top: 0;
  z-index: 5000 !important;
}

/* Responsive */
@media (max-width: 1000px) {
  html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-hero {
    min-height: 530px;
    max-width: 58%;
  }

  .shore-home-quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shore-home-process-grid {
    grid-template-columns: 1fr;
  }

  .shore-home-process-card {
    min-height: 0;
  }

  .shore-home-process-card p {
    min-height: 0;
  }

  .shore-home-update-grid {
    grid-template-columns: 1fr;
  }

  .shore-home-trust-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main {
    width: min(100% - 28px, 1240px) !important;
    padding-top: 34px !important;
  }

  html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-hero {
    max-width: none;
    min-height: 520px;
    text-align: center;
  }

  html.shore-big-update-active:not([data-big-update-subpage="true"]) #featuredCustomBuildCard {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: min(100%, 390px) !important;
    margin: -40px auto 72px;
  }

  .shore-home-scroll-content {
    margin-top: 0;
  }

  .shore-home-section {
    margin-bottom: 62px;
  }

  .shore-home-quick-grid,
  .shore-home-feature-grid,
  .shore-home-stat-grid {
    grid-template-columns: 1fr;
  }

  .shore-home-feature-wide {
    grid-column: auto;
  }

  .shore-home-process-section {
    padding: 34px 17px;
  }

  .shore-home-trust-panel,
  .shore-home-community-card {
    padding: 24px 18px;
  }

  .shore-home-community-card {
    flex-direction: column;
    align-items: stretch;
  }

  .shore-home-community-actions {
    min-width: 0;
  }

  .shore-home-updates-heading {
    display: block;
  }

  .shore-home-updates-heading > a {
    display: inline-block;
    margin-top: 15px;
  }

  .shore-home-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
}



/* =========================================================
   V87 — STRONGER SCROLLING + DARKER HOMEPAGE DEPTH
========================================================= */

/* Make sure NO homepage wrapper traps vertical scrolling. */
html.shore-big-update-active:not([data-big-update-subpage="true"]),
html.shore-big-update-active:not([data-big-update-subpage="true"]) body,
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-homepage,
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main,
html.shore-big-update-active:not([data-big-update-subpage="true"]) .shore-home-scroll-content {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
}

html.shore-big-update-active:not([data-big-update-subpage="true"]) body {
  min-height: 100vh !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
  background:
    linear-gradient(
      180deg,
      rgb(var(--shore-home-r1, 196) var(--shore-home-g1, 236) var(--shore-home-b1, 255)) 0%,
      rgb(var(--shore-home-r2, 173) var(--shore-home-g2, 224) var(--shore-home-b2, 250)) 48%,
      rgb(var(--shore-home-r3, 135) var(--shore-home-g3, 202) var(--shore-home-b3, 239)) 100%
    ) fixed !important;
  transition: background .18s linear;
}

/* Let the staged homepage inherit the changing page background. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-homepage,
html.shore-big-update-active:not([data-big-update-subpage="true"]) .future-home-main {
  background: transparent !important;
}

/* Subtle depth overlay that gets stronger farther down the page. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 8%, rgba(255,255,255,.42), transparent 28%),
    radial-gradient(circle at 88% 36%, rgba(29,119,171,.14), transparent 30%),
    linear-gradient(
      180deg,
      rgba(255,255,255,.16),
      rgba(18,96,145,var(--shore-home-depth, .05))
    );
}

/* Stronger outlines across homepage content. */
.shore-home-quick-card,
.shore-home-process-card,
.shore-home-feature-card,
.shore-home-update-card,
.shore-home-stat-grid div,
.shore-home-process-section,
.shore-home-trust-panel,
.shore-home-community-card {
  border-color: #1b5f8c !important;
}

.shore-home-quick-card,
.shore-home-process-card,
.shore-home-feature-card,
.shore-home-update-card {
  box-shadow:
    0 0 0 1px rgba(10, 62, 95, .12),
    0 10px 24px rgba(18, 74, 108, .12) !important;
}

.shore-home-quick-card:hover,
.shore-home-feature-card:hover,
.shore-home-update-card:hover {
  border-color: #0f4f79 !important;
  box-shadow:
    0 0 0 2px rgba(12, 73, 109, .10),
    0 14px 30px rgba(18, 74, 108, .17) !important;
}

/* Slightly richer section backgrounds as the page progresses. */
.shore-home-quick-section {
  padding: 26px;
  border: 2px solid rgba(19, 85, 125, .40);
  border-radius: 20px;
  background: rgba(234, 248, 255, .64);
}

.shore-home-process-section {
  background:
    linear-gradient(
      145deg,
      rgba(242, 251, 255, .90),
      rgba(205, 236, 250, .82)
    ) !important;
}

.shore-home-feature-section {
  padding: 28px;
  border: 2px solid rgba(19, 85, 125, .38);
  border-radius: 22px;
  background:
    linear-gradient(
      155deg,
      rgba(219, 244, 255, .78),
      rgba(192, 229, 247, .72)
    );
}

.shore-home-trust-panel {
  background:
    linear-gradient(
      145deg,
      #c7ecff,
      #a9daf4
    ) !important;
  border-width: 3px !important;
}

.shore-home-updates-section {
  padding: 28px;
  border: 2px solid rgba(19, 85, 125, .40);
  border-radius: 22px;
  background:
    linear-gradient(
      150deg,
      rgba(196, 232, 249, .82),
      rgba(168, 216, 241, .78)
    );
}

.shore-home-community-card {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.36), transparent 30%),
    linear-gradient(145deg, #a7ddf7, #88caec) !important;
  border-width: 3px !important;
}

.shore-home-footer {
  border-top-color: rgba(12, 67, 102, .50) !important;
}

/* Slightly darker text hierarchy for better contrast. */
.shore-home-section-heading h2,
.shore-home-feature-card h3,
.shore-home-community-card h2,
.shore-home-trust-copy h2,
.shore-home-quick-card strong,
.shore-home-process-card strong {
  color: #0e507d !important;
}

.shore-home-section-heading p,
.shore-home-community-card p,
.shore-home-trust-copy p,
.shore-home-feature-card p,
.shore-home-process-card p,
.shore-home-quick-card p,
.shore-home-update-card p {
  color: #345f78 !important;
}

/* Keep header usable while scrolling up/down. */
.future-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 7000 !important;
  backdrop-filter: blur(10px);
  background: rgba(190, 234, 255, .90) !important;
  border-bottom: 2px solid #185a84 !important;
}

/* Mobile safety: the long page must always remain scrollable. */
@media (max-width: 760px) {
  html.shore-big-update-active:not([data-big-update-subpage="true"]),
  html.shore-big-update-active:not([data-big-update-subpage="true"]) body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .shore-home-quick-section,
  .shore-home-feature-section,
  .shore-home-updates-section {
    padding: 18px;
  }
}


/* =========================================================
   V88 — OWNER PREVIEW INTERNAL SCROLLER
========================================================= */

/*
  Keep the staged update completely hidden unless the existing Owner gate
  adds .shore-big-update-active. Normal visitors continue using the legacy
  homepage and cannot see the staged update.
*/
#futureHomepage,
.future-homepage {
  display: none !important;
}

/* Use normal document scrolling. The former fixed 100dvh inner scroller could
   initialize at the wrong height until a resize/fullscreen event forced layout. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) body > #futureHomepage {
  display: block !important;
  position: relative !important;
  z-index: 1000 !important;

  width: 100% !important;
  height: auto !important;
  min-height: 100dvh !important;
  max-height: none !important;

  overflow: visible !important;

  scrollbar-gutter: stable;
  background:
    linear-gradient(
      180deg,
      rgb(var(--shore-home-r1, 202) var(--shore-home-g1, 239) var(--shore-home-b1, 255)) 0%,
      rgb(var(--shore-home-r2, 181) var(--shore-home-g2, 228) var(--shore-home-b2, 250)) 48%,
      rgb(var(--shore-home-r3, 153) var(--shore-home-g3, 213) var(--shore-home-b3, 242)) 100%
    ) !important;
}

/* The released homepage participates in the normal document flow. */
html.shore-big-update-active:not([data-big-update-subpage="true"]),
html.shore-big-update-active:not([data-big-update-subpage="true"]) body {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: auto !important;
}

/* Nothing inside the update can impose an old viewport-height cap. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) #futureHomepage .future-home-main,
html.shore-big-update-active:not([data-big-update-subpage="true"]) #futureHomepage .shore-home-scroll-content {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Keep the navigation at the top while the update itself scrolls. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) #futureHomepage .future-topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 8000 !important;
}

/* Ensure the bottom of the update always has enough room to scroll past. */
html.shore-big-update-active:not([data-big-update-subpage="true"]) #futureHomepage .shore-home-footer {
  margin-bottom: 60px !important;
}

/* Mobile keeps native document scrolling and safe bottom room. */
@media (max-width: 760px) {
  html.shore-big-update-active:not([data-big-update-subpage="true"]) body > #futureHomepage {
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  html.shore-big-update-active:not([data-big-update-subpage="true"]) #futureHomepage .future-topbar {
    position: sticky !important;
    top: 0 !important;
  }

  html.shore-big-update-active:not([data-big-update-subpage="true"]) #futureHomepage .shore-home-scroll-content {
    padding-bottom: 90px !important;
  }
}



/* =========================================================
   V89 — PUBLIC RELEASE GATE
========================================================= */

/*
  Before the scheduled release this stays hidden for normal visitors.
  After Supabase marks the target release as `released`, the JS adds
  shore-big-update-active + data-shorebuild-public-release and this exact
  staged UI becomes the public homepage.
*/
html[data-shorebuild-public-release="true"] body > #futureHomepage {
  display: block !important;
}

/* Preserve full internal scrolling after the UI becomes public. */
html[data-shorebuild-public-release="true"] body > #futureHomepage {
  overflow: visible !important;
  touch-action: pan-y;
}

@media (max-width: 760px) {
  html[data-shorebuild-public-release="true"] body > #futureHomepage {
    height: auto !important;
    min-height: 100dvh !important;
    max-height: none !important;
  }
}


/* =========================================================
   V90 — FAREX PUBLIC AFTER RELEASE
========================================================= */
html[data-shorebuild-public-release="true"]
#featuredCustomBuildCard:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}


/* =========================================================
   V91 — RETIRED LEGACY HOMEPAGE
========================================================= */

/*
  Public launch has completed.
  Keep legacy homepage markup inaccessible only as an internal data source
  for existing build-popup code. It must never paint to the screen.
*/
html[data-shorebuild-public-release="true"]:not([data-big-update-subpage="true"]) body > .page,
html.shore-big-update-active:not([data-big-update-subpage="true"]) body > .page {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Subpages like /builds use .page for their REAL content.
   Never hide or collapse that content after public release. */
html[data-big-update-subpage="true"].shore-big-update-active body.big-update-subpage > .page,
html[data-big-update-subpage="true"][data-shorebuild-public-release="true"] body.big-update-subpage > .page {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Released homepage is the ONLY homepage UI. */
html[data-shorebuild-public-release="true"] body > #futureHomepage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* =========================================================
   V92 — DISCORD AUTH + DISCORD POPUPS ON RELEASED UI
========================================================= */

/* Account/auth control is part of the new top navigation. */
html[data-shorebuild-public-release="true"] .account-area,
html.shore-big-update-active .account-area {
  display: block !important;
  position: fixed !important;
  top: 14px !important;
  right: 24px !important;
  bottom: auto !important;
  z-index: 12000 !important;
  width: 220px !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

html[data-shorebuild-public-release="true"] .discord-login-button,
html[data-shorebuild-public-release="true"] .account-profile-button,
html.shore-big-update-active .discord-login-button,
html.shore-big-update-active .account-profile-button {
  width: 100% !important;
  min-height: 48px !important;
  border: 2px solid #184f76 !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 0 rgba(15, 63, 93, .16) !important;
  font-family: "Minecraft Ten", Arial, sans-serif !important;
}

html[data-shorebuild-public-release="true"] .discord-login-button,
html.shore-big-update-active .discord-login-button {
  background: #5865f2 !important;
  color: #fff !important;
}

html[data-shorebuild-public-release="true"] .account-profile-button,
html.shore-big-update-active .account-profile-button {
  background: #164f76 !important;
  color: #fff !important;
}

html[data-shorebuild-public-release="true"] .account-dropdown,
html.shore-big-update-active .account-dropdown {
  top: calc(100% + 10px) !important;
  right: 0 !important;
  bottom: auto !important;
  z-index: 12500 !important;
  transform-origin: top right !important;
}

/* Login popup is global now, not trapped in retired .page. */
.discord-login-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 37, 58, .46) !important;
  backdrop-filter: blur(8px);
}

.discord-login-popup.show {
  display: flex !important;
}

.discord-login-popup-content {
  position: relative;
  width: min(430px, calc(100vw - 32px)) !important;
  padding: 30px 28px 26px !important;
  border: 3px solid #185a84 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(145deg, #eaf9ff, #c9ecff) !important;
  box-shadow:
    0 0 0 1px rgba(11, 67, 101, .14),
    0 22px 50px rgba(13, 54, 80, .26) !important;
  color: #164f76 !important;
  text-align: center;
}

.discord-login-popup-content h2 {
  margin: 0 0 10px !important;
  color: #125987 !important;
  font-family: "Minecraft Ten", Arial, sans-serif !important;
  font-size: 28px !important;
}

.discord-login-popup-content p {
  margin: 0 0 22px !important;
  color: #446f88 !important;
  font-family: Arial, sans-serif !important;
  line-height: 1.5;
}

.discord-login-popup-close {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 2px solid #185a84 !important;
  border-radius: 9px !important;
  background: #f7fdff !important;
  color: #185a84 !important;
  font-size: 23px !important;
  cursor: pointer;
}

.discord-popup-login-button {
  width: 100% !important;
  min-height: 50px !important;
  border: 3px solid #283896 !important;
  border-radius: 10px !important;
  background: #5865f2 !important;
  color: #fff !important;
  font-family: "Minecraft Ten", Arial, sans-serif !important;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(36, 48, 126, .22);
}

/* Join Discord popup on the released UI. */
.shore-discord-invite-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 30000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 37, 58, .46) !important;
  backdrop-filter: blur(8px);
}

.shore-discord-invite-popup.show {
  display: flex !important;
}

.shore-discord-invite-card {
  position: relative;
  width: min(520px, calc(100vw - 32px)) !important;
  padding: 31px 28px 27px !important;
  border: 3px solid #185a84 !important;
  border-radius: 19px !important;
  background:
    radial-gradient(circle at 90% 12%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(145deg, #e9f9ff, #bfe8fb) !important;
  box-shadow:
    0 0 0 1px rgba(11,67,101,.13),
    0 23px 54px rgba(13,54,80,.28) !important;
}

.shore-discord-invite-card h2 {
  color: #125987 !important;
  font-family: "Minecraft Ten", Arial, sans-serif !important;
}

.shore-discord-invite-card p {
  color: #416e86 !important;
  font-family: Arial, sans-serif !important;
  line-height: 1.55;
}

.shore-discord-invite-stats {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 20px;
}

.shore-discord-invite-stats span {
  padding: 8px 10px;
  border: 2px solid #367ba5;
  border-radius: 8px;
  background: rgba(255,255,255,.68);
  color: #175b85;
  font-size: 9px;
}

.shore-discord-join-link {
  display: grid !important;
  place-items: center;
  min-height: 50px;
  border: 3px solid #283896 !important;
  border-radius: 10px !important;
  background: #5865f2 !important;
  color: #fff !important;
  font-family: "Minecraft Ten", Arial, sans-serif !important;
  text-decoration: none !important;
}

.shore-discord-invite-close {
  position: absolute;
  top: 11px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 2px solid #185a84 !important;
  border-radius: 9px !important;
  background: #f7fdff !important;
  color: #185a84 !important;
  font-size: 23px !important;
  cursor: pointer;
}

@media (max-width: 760px) {
  html[data-shorebuild-public-release="true"] .account-area,
  html.shore-big-update-active .account-area {
    top: 10px !important;
    right: 10px !important;
    width: 160px !important;
  }

  html[data-shorebuild-public-release="true"] .discord-login-button,
  html[data-shorebuild-public-release="true"] .account-profile-button,
  html.shore-big-update-active .discord-login-button,
  html.shore-big-update-active .account-profile-button {
    min-height: 42px !important;
    font-size: 9px !important;
  }

  .discord-login-popup,
  .shore-discord-invite-popup {
    padding: 14px !important;
  }

  .discord-login-popup-content,
  .shore-discord-invite-card {
    width: 100% !important;
    max-height: calc(100svh - 28px);
    overflow-y: auto;
  }
}


/* =========================================================
   V93 — BUILDS SUBPAGE CONTENT RESTORE
========================================================= */
html[data-big-update-subpage="true"] body.builds-page > .page {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html[data-big-update-subpage="true"] body.builds-page .builds {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html[data-big-update-subpage="true"] body.builds-page .categories {
  visibility: visible !important;
  opacity: 1 !important;
}

html[data-big-update-subpage="true"] body.builds-page .pagination {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* V151 homepage Custom Builds feature card */
#featuredCustomBuildCard.future-custom-build-card{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#featuredCustomBuildCard .featured-custom-build-copy{margin:9px 0 0;color:#456f86;font:700 clamp(12px,1vw,15px)/1.35 Arial,sans-serif}
#featuredCustomBuildCard .featured-build-bottom strong{font-size:clamp(13px,1.15vw,18px)}
#featuredCustomBuildCard .featured-view-build{white-space:nowrap}
