@font-face {
  font-family: "Martel";
  src: url("martel.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body.PortalBody {
  color: #f4ead5;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

body.PortalBody::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(173, 43, 56, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(124, 91, 33, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(2, 8, 14, 0.05) 0%, rgba(2, 8, 14, 0.52) 100%);
  z-index: 0;
}

#ArtworkHelper {
  min-width: 0 !important;
  min-height: 100vh;
  overflow: visible !important;
}

.ModBackgroundTitle {
  top: 140px;
  width: 1700px;
  margin-left: -850px;
  opacity: 0.78;
}

.ModBackgroundTitleLine {
  font-family: "Martel", Georgia, serif;
  font-size: clamp(44px, 5vw, 82px);
  letter-spacing: 0.38em;
}

.ModBackgroundTitleCrest {
  font-family: "Martel", Georgia, serif;
  font-size: clamp(110px, 11vw, 164px);
}

.PortalShell {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.PortalShell.is-scrolled .PortalNavFrame {
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.PortalHeader {
  position: sticky;
  top: 14px;
  z-index: 25;
  margin-bottom: 28px;
}

.PortalUtilityBar,
.PortalNavFrame,
.PortalPageHeader,
.PortalHero,
.PortalPanel,
.PortalSurface,
.PortalFooter {
  backdrop-filter: blur(10px);
}

.PortalUtilityBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 10px 16px;
  border: 1px solid rgba(212, 192, 161, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.88), rgba(6, 13, 21, 0.8));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.PortalUtilityStatus,
.PortalUtilityActions,
.PortalHeroActions,
.PortalPageHeaderActions,
.PortalFeatureLinks,
.PortalSectionHeading--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.PortalUtilityPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 192, 161, 0.16);
  background: rgba(8, 18, 28, 0.8);
  color: #f4ead5;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.PortalUtilityPillSprite {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.PortalUtilityPill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fb889;
  box-shadow: 0 0 10px rgba(143, 184, 137, 0.8);
}

.PortalUtilityPill.is-offline::before {
  background: #b84d56;
  box-shadow: 0 0 10px rgba(184, 77, 86, 0.75);
}

.PortalNavFrame {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(212, 192, 161, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 29, 42, 0.92), rgba(7, 15, 25, 0.86)),
    radial-gradient(circle at center, rgba(118, 24, 36, 0.12), transparent 52%);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.PortalBrand {
  min-width: 230px;
  text-decoration: none;
  color: #f8e9c6;
}

.PortalBrand:hover {
  text-decoration: none;
}

.PortalBrandTitle {
  display: block;
  font-family: "Martel", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.PortalBrandTag {
  display: block;
  margin-top: 4px;
  color: #d8c79a;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.PortalMenuToggle {
  display: none;
  margin-left: auto;
  padding: 10px 14px;
  border: 1px solid rgba(212, 192, 161, 0.2);
  border-radius: 14px;
  background: rgba(7, 14, 22, 0.78);
  color: #f4ead5;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.PortalNav {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex: 1;
}

.PortalNavGroup {
  position: relative;
}

.PortalNavTrigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #f4ead5;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.PortalNavGroup.is-active .PortalNavTrigger,
.PortalNavTrigger:hover,
.PortalNavTrigger:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.PortalNavChevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.PortalNavDropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 12px;
  border: 1px solid rgba(212, 192, 161, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 28, 39, 0.96), rgba(8, 16, 25, 0.94));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.PortalNavGroup:hover .PortalNavDropdown,
.PortalNavGroup:focus-within .PortalNavDropdown,
.PortalNavGroup.is-open .PortalNavDropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.PortalNavItem {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #f4ead5;
  text-decoration: none;
}

.PortalNavItem:hover,
.PortalNavItem.is-active {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.PortalNavItemOrigin {
  color: #b69354;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.PortalNavItemLabel {
  font-size: 14px;
}

.PortalMain {
  display: grid;
  gap: 26px;
}

.PortalPluginTop {
  margin-bottom: 4px;
}

.PortalHero,
.PortalPageHeader {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 192, 161, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(10, 21, 30, 0.94), rgba(8, 15, 24, 0.82)),
    radial-gradient(circle at top right, rgba(122, 21, 30, 0.22), transparent 38%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.PortalHero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  gap: 28px;
  padding: 40px;
}

.PortalHero::after,
.PortalPageHeader::after {
  content: "";
  position: absolute;
  inset: auto -12% -45% 48%;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(181, 58, 67, 0.2), transparent 64%);
  pointer-events: none;
}

.PortalHeroCopy,
.PortalPageHeaderCopy {
  position: relative;
  z-index: 1;
}

.PortalHeroCopy {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.PortalPageHeaderCopy {
  min-width: 0;
  max-width: min(760px, 100%);
  padding: 18px 22px 20px;
  border: 1px solid rgba(212, 192, 161, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(5, 12, 18, 0.56), rgba(5, 12, 18, 0.18)),
    radial-gradient(circle at top left, rgba(148, 40, 52, 0.08), transparent 48%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.PortalPageHeaderActions {
  position: relative;
  z-index: 1;
}

.PortalSectionEyebrow,
.PortalPanelKicker {
  display: inline-block;
  color: #d7ba77;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.PortalHero h1,
.PortalPageHeader h1,
.PortalSectionHeading h2,
.PortalPanel h3,
.PortalLeaderboardHeader h3 {
  margin: 10px 0 12px;
  font-family: "Martel", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

.PortalHero h1 {
  font-size: clamp(44px, 6vw, 74px);
  max-width: 11ch;
}

.PortalPageHeader h1 {
  color: #f8ecd3;
  margin-top: 6px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.PortalPageHeader .PortalSectionEyebrow {
  display: block;
  margin-bottom: 2px;
  color: #e3c989;
}

.PortalPageHeader .PortalPageHeaderCopy p {
  max-width: 58ch;
  color: #e4d4ae;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
}

.PortalHeroLead,
.PortalPageHeader p,
.PortalSectionHeading p,
.PortalPanel p,
.PortalFeaturedBody p,
.PortalUpdateCard span,
.PortalTickerList span,
.PortalEmptyState {
  color: #d8c79a;
  line-height: 1.72;
}

.PortalHeroLead {
  max-width: 60ch;
  margin: 0 auto 22px;
  font-size: 17px;
}

.PortalActionButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(212, 192, 161, 0.18);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.PortalActionButton:hover,
.PortalActionButton:focus-visible,
.PortalInlineLink:hover,
.PortalInlineLink:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
}

.PortalActionButton--primary {
  color: #1d1308;
  background: linear-gradient(180deg, #f0d697, #d8b667);
  border-color: rgba(255, 217, 134, 0.34);
}

.PortalActionButton--secondary {
  color: #f8ecd3;
  background: linear-gradient(180deg, rgba(131, 32, 42, 0.95), rgba(93, 20, 31, 0.95));
}

.PortalActionButton--ghost {
  color: #f4ead5;
  background: rgba(255, 255, 255, 0.04);
}

.PortalPageHeader .PortalActionButton--ghost {
  border-color: rgba(212, 192, 161, 0.26);
  background: rgba(7, 14, 22, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.PortalHeroMetrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}

.PortalHeroSideColumn {
  display: grid;
  align-content: start;
  justify-items: stretch;
  gap: 18px;
}

.PortalMetricCard {
  padding: 14px 16px;
  border: 1px solid rgba(212, 192, 161, 0.14);
  border-radius: 18px;
  background: rgba(5, 12, 18, 0.58);
  text-align: center;
}

.PortalMetricCard strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  color: #f7e3b1;
}

.PortalMetricCard small {
  display: block;
  margin-top: 6px;
  color: #c4af85;
}

.PortalCreatureSprite {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 10px auto 6px;
  padding: 8px;
  border: 1px solid rgba(212, 192, 161, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(20, 31, 42, 0.92), rgba(11, 19, 28, 0.9)),
    radial-gradient(circle at top, rgba(150, 45, 58, 0.18), transparent 54%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.PortalCreatureSprite img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}

.PortalHeroShrine {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.PortalHeroShrineFrame {
  position: absolute;
  inset: 18px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  overflow: hidden;
}

.PortalHeroShrineFrame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(212, 192, 161, 0.14);
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(17, 30, 43, 0.78), rgba(11, 17, 27, 0.86)),
    radial-gradient(circle at center, rgba(122, 21, 30, 0.1), transparent 56%);
}

.PortalHeroShrineGlow {
  position: absolute;
  inset: 24% 14% auto;
  height: 140px;
  z-index: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 230, 170, 0.18), transparent 62%);
  filter: blur(4px);
}

.PortalHeroLogo,
.PortalHeroPedestal,
.PortalHeroPedestalStatus {
  position: relative;
  z-index: 2;
}

.PortalHeroLogo {
  width: min(88%, 380px);
  height: auto;
  margin-top: -18px;
}

.PortalHeroPedestal {
  width: min(75%, 250px);
  margin-top: -6px;
}

.PortalHeroPedestalStatus {
  margin-top: -55px;
  text-align: center;
  color: #d0a600;
  text-shadow: 1px 1px 0 #010101;
}

.PortalHeroPedestalStatus span {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.PortalHeroPedestalStatus small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.PortalHeroStatue {
  position: absolute;
  top: 16px;
  z-index: 1;
  width: 74px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
  animation: PortalStatueFloat 5.8s ease-in-out infinite;
}

.PortalHeroStatue--left {
  left: 10px;
}

.PortalHeroStatue--right {
  right: 10px;
  animation-delay: -2.9s;
}

@keyframes PortalStatueFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.PortalSection {
  display: grid;
  gap: 16px;
}

.PortalSectionHeading {
  display: grid;
  gap: 4px;
}

.PortalSectionHeading h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.PortalSectionHeading--split {
  justify-content: space-between;
}

.PortalCardGrid {
  display: grid;
  gap: 16px;
}

.PortalCardGrid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.PortalCardGrid--stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.PortalFeatureLayout,
.PortalNewsLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
  gap: 16px;
}

.PortalNewsSide {
  display: grid;
  gap: 16px;
}

.PortalPanel,
.PortalSurface {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(212, 192, 161, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(11, 22, 32, 0.92), rgba(8, 16, 24, 0.84)),
    radial-gradient(circle at top right, rgba(122, 21, 30, 0.14), transparent 42%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.PortalPanel::after,
.PortalSurface::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 60%;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 132, 62, 0.12), transparent 68%);
  pointer-events: none;
}

.PortalPanel--stat {
  display: block;
  min-height: 132px;
  text-decoration: none;
  text-align: center;
}

.PortalPanel--stat strong {
  display: block;
  margin: 16px 0 8px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #f8ecd3;
}

.PortalPanel--feature h3,
.PortalPanel--featured h3,
.PortalPanel--ticker h3,
.PortalPanel--updates h3,
.PortalPanel--leaderboard h3 {
  font-size: 28px;
}

.PortalPanel--quickstart small,
.PortalPanel--feature small,
.PortalPanel--stat small,
.PortalLeaderboardMeta,
.PortalTickerList strong,
.PortalFeaturedBody small,
.PortalUpdateCard small {
  color: #b99f6a;
}

.PortalPanel--online {
  border-color: rgba(110, 168, 120, 0.2);
}

.PortalPanel--warning {
  border-color: rgba(180, 77, 86, 0.26);
}

.PortalPanel--ember {
  border-color: rgba(164, 74, 74, 0.24);
}

.PortalPanel--gold {
  border-color: rgba(182, 150, 84, 0.24);
}

.PortalPanel--mist {
  border-color: rgba(135, 153, 184, 0.22);
}

.PortalPanel--forest {
  border-color: rgba(102, 146, 112, 0.22);
}

.PortalInlineLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #f7d788;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.PortalInlineLink--muted {
  color: #d8c79a;
}

.PortalInlineLink::after {
  content: ">";
}

.PortalLeaderboardList,
.PortalTickerList {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.PortalLeaderboardList li + li,
.PortalTickerList li + li {
  margin-top: 12px;
}

.PortalLeaderboardList a,
.PortalTickerList a,
.PortalFeaturedLink,
.PortalUpdateCard {
  display: block;
  text-decoration: none;
  color: inherit;
}

.PortalLeaderboardName,
.PortalUpdateCard strong {
  display: block;
  color: #f8ecd3;
  font-size: 16px;
}

.PortalFeaturedLink {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.PortalFeaturedMedia {
  min-height: 250px;
  margin: -22px -22px 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.1), rgba(5, 8, 12, 0.74)),
    center center / cover no-repeat;
}

.PortalFeaturedBody {
  padding-top: 18px;
}

.PortalTickerList strong,
.PortalUpdateCard small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.PortalUpdateList {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.PortalUpdateCard {
  padding: 14px 16px;
  border: 1px solid rgba(212, 192, 161, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.PortalPageHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
}

.PortalLaunchBanner .PortalLaunchBannerTable,
.PortalLaunchBanner .PortalLaunchBannerTable td,
.PortalLaunchBanner .PortalLaunchBannerTable b,
.PortalLaunchBanner .PortalLaunchBannerTable span {
  color: #4e2a12;
  text-shadow: none;
}

.PortalLaunchBanner .PortalLaunchBannerTable a,
.PortalLaunchBanner .PortalLaunchBannerTable a:link,
.PortalLaunchBanner .PortalLaunchBannerTable a:visited {
  color: #004294;
  font-weight: bold;
  text-decoration: none;
}

.PortalLaunchBanner .PortalLaunchBannerTable a:hover,
.PortalLaunchBanner .PortalLaunchBannerTable a:focus-visible {
  color: #0063dc;
  text-decoration: underline;
}

.PortalLaunchBannerCell {
  line-height: 1.45;
}

.PortalHeroIntroCard {
  width: min(100%, 420px);
  justify-self: center;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(212, 192, 161, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 28, 39, 0.88), rgba(8, 16, 25, 0.82)),
    radial-gradient(circle at center, rgba(118, 24, 36, 0.1), transparent 54%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.PortalHeroIntroCard img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(212, 192, 161, 0.18);
}

.PortalPageHeader h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.PortalSurface {
  padding: 26px;
  color: #eadcc1;
}

.PortalSurface > *:first-child {
  margin-top: 0;
}

/* Chromium/Edge can incorrectly stretch the classic AAC caption wrapper to the
   full height of the surrounding portal section, which pushes the actual box
   content to the bottom and leaves a giant empty slab. Reset the legacy
   caption wrappers to auto height inside the portal shell. */
.PortalLaunchBanner .TableContainer .CaptionContainer,
.PortalLaunchBanner .TableContainer .CaptionContainer .CaptionInnerContainer,
.PortalSurface .TableContainer .CaptionContainer,
.PortalSurface .TableContainer .CaptionContainer .CaptionInnerContainer {
  height: auto;
}

/* Legacy inner pages still render mostly as parchment-toned MyAAC tables.
   Reset their typography here so the portal shell's light text does not
   leak into beige cells and default browser links. */
.PortalSurface table,
.PortalSurface .TableContent,
.PortalSurface .TableContent td,
.PortalSurface .LabelV,
.PortalSurface .LabelV120,
.PortalSurface .LabelV150,
.PortalSurface .LabelV200,
.PortalSurface .ff_info,
.PortalSurface .ff_infotext {
  color: #4e2a12;
}

.PortalSurface input,
.PortalSurface select,
.PortalSurface textarea {
  color: #4e2a12;
}

.PortalSurface a,
.PortalSurface a:link,
.PortalSurface a:visited {
  color: #004294;
  font-weight: bold;
  text-decoration: none;
}

.PortalSurface a:hover,
.PortalSurface a:focus-visible {
  color: #0063dc;
  text-decoration: underline;
}

.PortalSurface th,
.PortalSurface .TableContainer .CaptionContainer .Text,
.PortalSurface .white,
.PortalSurface .white *,
.PortalSurface tr.white td,
.PortalSurface td.white,
.PortalSurface .ff_white,
.PortalSurface .ff_white *,
.PortalSurface .ff_whitelarge {
  color: #efefef;
}

.PortalSurface .white a,
.PortalSurface .ff_white a,
.PortalSurface .ff_whitelarge a {
  color: #efefef;
}

.PortalSurface .AccountWelcomeBannerText,
.PortalSurface .AccountWelcomeBanner td[style*="font-size:17px"][style*="font-weight:bold"] {
  color: #f4ead5 !important;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.PortalNewsArticle,
.PortalNewsArchive {
  position: relative;
  z-index: 1;
}

.PortalNewsHeadlineCard,
.PortalNewsArchiveItem {
  border: 1px solid rgba(212, 192, 161, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 29, 40, 0.9), rgba(10, 18, 28, 0.82)),
    radial-gradient(circle at right center, rgba(122, 21, 30, 0.16), transparent 42%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.PortalNewsHeadlineCard {
  padding: 22px 24px;
  margin-bottom: 22px;
}

.PortalNewsMetaRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.PortalNewsMetaIcon,
.PortalNewsArchiveIcon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.PortalNewsMetaDate,
.PortalNewsMetaAuthor,
.PortalNewsArchiveCopy small {
  color: #c9b285;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.PortalNewsHeadlineCard h2,
.PortalNewsArchiveHeader h2 {
  margin: 0;
  font-family: "Martel", Georgia, serif;
  font-weight: 400;
  line-height: 1.14;
  color: #f8ecd3;
}

.PortalNewsHeadlineCard h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0.01em;
}

.PortalNewsArchiveHeader {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.PortalNewsArchiveHeader p {
  max-width: 64ch;
  margin: 0;
  color: #d8c79a;
}

.PortalNewsArticleBody {
  color: #e5d7b6;
  font-size: 17px;
  line-height: 1.88;
}

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

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

.PortalNewsArticleBody p,
.PortalNewsArticleBody ul,
.PortalNewsArticleBody ol,
.PortalNewsArticleBody blockquote,
.PortalNewsArticleBody table {
  margin: 0 0 1.25em;
}

.PortalNewsArticleBody h1,
.PortalNewsArticleBody h2,
.PortalNewsArticleBody h3,
.PortalNewsArticleBody h4 {
  margin: 1.8em 0 0.5em;
  font-family: "Martel", Georgia, serif;
  font-weight: 400;
  line-height: 1.18;
  color: #f5e7c8;
}

.PortalNewsArticleBody h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.PortalNewsArticleBody h3 {
  font-size: clamp(22px, 2.8vw, 30px);
}

.PortalNewsArticleBody strong,
.PortalNewsArticleBody b {
  color: #f8ecd3;
}

.PortalNewsArticleBody ul,
.PortalNewsArticleBody ol {
  padding-left: 1.4em;
}

.PortalNewsArticleBody li + li {
  margin-top: 0.4em;
}

.PortalNewsArticleBody blockquote {
  padding: 16px 18px;
  border-left: 3px solid rgba(214, 190, 124, 0.62);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.03);
  color: #d8c79a;
}

.PortalNewsArticleBody code,
.PortalNewsArticleBody pre {
  font-family: Consolas, "Courier New", monospace;
}

.PortalNewsArticleBody code {
  padding: 0.14em 0.38em;
  border-radius: 8px;
  background: rgba(4, 10, 17, 0.72);
  color: #f4d78c;
}

.PortalNewsArticleBody pre {
  overflow-x: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(4, 10, 17, 0.82);
  color: #eadcc1;
}

.PortalNewsArticleBody pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.PortalNewsArticleBody img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.PortalNewsArticleBody table,
.PortalNewsArticleBody td,
.PortalNewsArticleBody th {
  color: #e5d7b6;
}

.PortalSurface .PortalNewsArticle a,
.PortalSurface .PortalNewsArchive a {
  color: #f3d48a;
  font-weight: 600;
}

.PortalSurface .PortalNewsArticle a:hover,
.PortalSurface .PortalNewsArticle a:focus-visible,
.PortalSurface .PortalNewsArchive a:hover,
.PortalSurface .PortalNewsArchive a:focus-visible {
  color: #ffe7ab;
  text-decoration: underline;
}

.PortalNewsArticleFooter,
.PortalNewsBack {
  margin-top: 22px;
}

.PortalNewsArchiveList {
  display: grid;
  gap: 14px;
}

.PortalNewsArchiveItem {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
}

.PortalNewsArchiveItem strong {
  display: block;
  margin-top: 4px;
  color: #f8ecd3;
  font-size: 18px;
  line-height: 1.35;
}

.PortalNewsArchiveArrow {
  color: #f3d48a;
  font-size: 20px;
  line-height: 1;
}

.PortalFooter {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 20px 24px;
  border-radius: 26px;
  text-align: center;
}

.PortalFooterLinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.PortalFooterLinks a,
.PortalFooterMeta a {
  color: #f4ead5;
}

.PortalFooterTagline {
  color: #d8c79a;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.PortalFooterMeta {
  color: #b99f6a;
  font-size: 12px;
  line-height: 1.7;
}

.PortalEmptyState {
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .PortalShell {
    width: min(1320px, calc(100% - 30px));
  }

  .PortalCardGrid--stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .PortalFeatureLayout,
  .PortalNewsLayout,
  .PortalHero {
    grid-template-columns: 1fr;
  }

  .PortalHeroShrine {
    min-height: 300px;
  }

  .PortalHeroSideColumn {
    justify-items: center;
  }

  .PortalHeroMetrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .PortalMenuToggle {
    display: inline-flex;
  }

  .PortalNav {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 192, 161, 0.14);
  }

  .PortalNav.is-open {
    display: flex;
  }

  .PortalNavFrame {
    flex-wrap: wrap;
  }

  .PortalNavGroup {
    width: 100%;
  }

  .PortalNavTrigger {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
  }

  .PortalNavDropdown {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .PortalNavGroup.is-open .PortalNavDropdown {
    display: block;
  }

  .PortalCardGrid--three,
  .PortalCardGrid--features,
  .PortalHeroMetrics,
  .PortalPageHeader {
    grid-template-columns: 1fr;
  }

  .PortalPageHeader {
    flex-direction: column;
    align-items: flex-start;
  }

  .PortalPageHeaderCopy {
    width: 100%;
  }

  .PortalPageHeaderActions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .PortalShell {
    width: calc(100% - 20px);
    padding-top: 12px;
  }

  .PortalUtilityBar,
  .PortalNavFrame,
  .PortalHero,
  .PortalPageHeader,
  .PortalPanel,
  .PortalSurface,
  .PortalFooter {
    border-radius: 22px;
  }

  .PortalUtilityBar,
  .PortalNavFrame,
  .PortalHero,
  .PortalPageHeader,
  .PortalPanel,
  .PortalSurface {
    padding: 18px;
  }

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

  .PortalHero h1 {
    max-width: none;
  }

  .PortalHeroShrine {
    min-height: 240px;
  }

  .PortalHeroStatue {
    width: 58px;
  }

  .PortalFeaturedMedia {
    min-height: 200px;
  }

  .PortalNewsHeadlineCard,
  .PortalNewsArchiveItem {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .PortalUtilityBar,
  .PortalUtilityStatus,
  .PortalUtilityActions,
  .PortalHeroActions,
  .PortalHeroMetrics,
  .PortalFooterLinks {
    flex-direction: column;
    align-items: stretch;
  }

  .PortalCardGrid--stats {
    grid-template-columns: 1fr;
  }

  .PortalBrand {
    min-width: 0;
  }

  .PortalActionButton {
    width: 100%;
  }

  .PortalHero {
    gap: 18px;
  }

  .PortalHeroShrineFrame {
    inset: 8px;
  }

  .PortalSectionHeading h2,
  .PortalPanel--feature h3,
  .PortalPanel--featured h3,
  .PortalPanel--ticker h3,
  .PortalPanel--updates h3,
  .PortalPanel--leaderboard h3 {
    font-size: 24px;
  }

  .PortalNewsArchiveItem {
    grid-template-columns: auto 1fr;
  }

  .PortalNewsArchiveArrow {
    display: none;
  }
}

.PortalBreadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.PortalBreadcrumbs a {
  color: rgba(231, 220, 197, 0.82);
  text-decoration: none;
}

.PortalBreadcrumbs a:hover,
.PortalBreadcrumbs a:focus-visible {
  color: #fff3d6;
}

.PortalIntentLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.PortalIntentLink {
  border: 1px solid rgba(231, 220, 197, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(16, 25, 36, 0.62);
  color: #efe0be;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.PortalIntentLink:hover,
.PortalIntentLink:focus-visible {
  border-color: rgba(231, 220, 197, 0.38);
  background: rgba(27, 40, 56, 0.82);
  transform: translateY(-1px);
}

.SeoLandingHero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  gap: 22px;
}

.SeoLandingEyebrow {
  margin: 0 0 10px;
  color: #8fa9c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.SeoLandingLead,
.SeoLandingSummary,
.SeoLandingSection p,
.SeoLandingFaqItem p {
  margin: 0 0 14px;
  color: #4e2a12;
  font-size: 16px;
  line-height: 1.65;
}

.SeoLandingSummary {
  margin-bottom: 18px;
}

.SeoLandingCtas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.SeoLandingMediaGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.SeoLandingMediaCard {
  margin: 0;
  border: 1px solid rgba(63, 44, 31, 0.18);
  background: rgba(255, 248, 234, 0.58);
}

.SeoLandingMediaCard img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.SeoLandingMediaCard figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}

.SeoLandingMediaCard strong,
.SeoLandingFaqItem h3,
.SeoLandingRelatedLink {
  color: #5a3215;
}

.SeoLandingMediaCard span {
  color: #6b4528;
  font-size: 14px;
  line-height: 1.5;
}

.SeoLandingFaqList {
  display: grid;
  gap: 16px;
}

.SeoLandingFaqItem {
  padding: 14px 16px;
  border: 1px solid rgba(92, 62, 31, 0.14);
  background: rgba(255, 250, 240, 0.54);
}

.SeoLandingFaqItem h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.SeoLandingFaqItem p {
  margin-bottom: 0;
}

.SeoLandingRelated {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.SeoLandingRelatedLink {
  padding: 10px 14px;
  border: 1px solid rgba(97, 68, 36, 0.18);
  background: rgba(245, 232, 202, 0.72);
  text-decoration: none;
  font-weight: 700;
}

.SeoLandingRelatedLink:hover,
.SeoLandingRelatedLink:focus-visible {
  background: rgba(255, 241, 209, 0.92);
}

@media (max-width: 900px) {
  .SeoLandingHero,
  .SeoLandingMediaGrid {
    grid-template-columns: 1fr;
  }
}
