@font-face {
  font-family: Cinzel;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/cinzel-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
  font-family: Cinzel;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/cinzel-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF;
}

body.ffe-site {
  position: relative;
  isolation: isolate;
  color-scheme: dark;
  min-height: 100vh;
  --body: #0b1321;
  --chrome: #0b1424;
  --panel: #111c2f;
  --panel-deep: #0e1728;
  --panel-raised: #1b2d49;
  --line: #3b5274;
  --line-soft: #2b405d;
  --rim: #5b7ca6;
  --accent: #aacfff;
  --accent-light: #dbeaff;
  --text: #e5edf9;
  --muted: #b0c0d7;
  --on-accent: #101f39;
  --heading: Cinzel, Georgia, serif;
}

body.ffe-portal {
  background: linear-gradient(180deg, #101b30, #0b1321 60%, #080f1b);
  color: var(--text);
}

.ffe-portal a:hover { color: #f3f8ff; }
.ffe-portal :focus-visible { outline: 2px solid #a9d3ff; outline-offset: 3px; }
.ffe-portal ::selection { background: var(--accent); color: var(--on-accent); }

.ffe-site .wrap { width: min(1184px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 10; padding: 12px; transform: translateY(-150%); background: var(--accent); color: var(--on-accent); }
.skip:focus { transform: none; }
.skip:hover { color: var(--on-accent); }
.world-art { position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(680px, 64vw, 1040px); overflow: hidden; pointer-events: none; }
.world-art picture, .world-art img { display: block; width: 100%; height: 100%; }
.world-art img { object-fit: cover; object-position: 48% top; }
.world-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #08111da8 0%, #08111d00 17%, #08111d08 40%, #0a132359 66%, #0b1321 100%);
}

.site-header { position: relative; z-index: 2; border-bottom: 1px solid #4c6c97; background: linear-gradient(180deg, #0a1322f2, #12213ad9); }
.header-inner { display: flex; align-items: stretch; min-height: 61px; }
.mobile-home { display: none; }
.main-nav { display: flex; align-items: stretch; gap: clamp(7px, 1.4vw, 23px); }
.main-nav a { display: inline-flex; align-items: center; padding: 0 6px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 0.87rem; font-weight: 650; }
.main-nav a:hover { color: var(--accent-light); }
.main-nav a[aria-current] { color: var(--accent); border-color: #7fb4f2; }
.header-actions { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 18px); margin-left: auto; }
.account-link { padding: 9px 13px; border: 1px solid var(--rim); background: linear-gradient(180deg, #294064, #162640); color: var(--accent-light); font-weight: 700; }
.account-link:hover { background: var(--panel-raised); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.language-picker { position: relative; }
.language-picker summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px; color: var(--accent-light); font-weight: 700; list-style: none; cursor: pointer; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary .chevron { transform: rotate(135deg); }
.language-picker[open] summary .chevron { transform: rotate(-45deg); }
.language-picker nav { position: absolute; z-index: 2; top: calc(100% + 4px); right: 0; min-width: 174px; padding: 4px; border: 1px solid var(--rim); background: var(--panel-deep); }
.language-picker nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-inline: 10px; }
.language-picker nav a span { color: var(--muted); font-size: 0.75rem; }
.language-picker nav a:hover, .language-picker nav a[aria-current] { background: var(--panel-raised); color: var(--accent-light); }
.mobile-menu { display: none; }
.chevron { display: inline-block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; }

.game-banner { position: relative; }
.world-intro { display: grid; align-items: center; justify-items: end; min-height: clamp(228px, 24vw, 355px); }
.hero-brand { position: relative; isolation: isolate; width: min(42%, 374px); margin-right: clamp(8px, 7vw, 92px); }
.hero-brand::before {
  content: ""; position: absolute; z-index: -1; inset: -29% -20%; pointer-events: none;
  background: radial-gradient(ellipse at 51% 51%, #627b9e73 0%, #3f587c52 35%, #2e446333 54%, #263a5600 75%);
}
.hero-brand img { width: 100%; height: auto; filter: saturate(0.82) brightness(0.92); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: url("assets/fight-for-empire-web.webp") center / contain no-repeat;
    filter: brightness(1.5) saturate(0.82);
    mask: linear-gradient(111deg, transparent 43%, #000 50%, transparent 57%) 100% center / 240% 100% no-repeat;
  }

  .hero-brand:hover::after {
    animation: logo-reflection 820ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
  }
}

@keyframes logo-reflection {
  from { mask-position: 100% center; opacity: 0; }
  25%, 65% { opacity: 0.52; }
  to { mask-position: 0% center; opacity: 0; }
}

.playbar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 73px; padding: 12px 20px;
  border: 1px solid var(--rim); border-top-color: #92b5e5;
  background: linear-gradient(110deg, #2d4770 0%, #1b2e4d 42%, #111f36 72%, #21395a 100%);
}
.playbar .ffe-server-title { font-size: clamp(1.07rem, 2vw, 1.35rem); font-weight: 700; line-height: 1.2; }
.play-actions { display: flex; gap: 10px; }
.play-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px;
  padding: 8px 17px; border: 1px solid var(--rim); background: linear-gradient(180deg, #2a4568, #1a2b46);
  color: var(--accent-light); text-align: center; font-weight: 720;
  transition: border-color 160ms ease-out, color 160ms ease-out;
}
.play-button:hover { border-color: #bee0ff; color: #f4f9ff; }
.play-button.primary { border-color: #afd3fb; background: linear-gradient(180deg, #cee6ff 0%, #a3cdfb 40%, #77a6df 100%); color: var(--on-accent); }
.play-button.primary:hover { border-color: #e7f2ff; background: linear-gradient(180deg, #edf7ff, #a1caf7); color: var(--on-accent); }
.download-platform { display: none; }
.download-icon { position: relative; width: 13px; height: 14px; flex: 0 0 auto; border-bottom: 1px solid currentColor; }
.download-icon::before { position: absolute; content: ""; height: 8px; top: 0; left: 6px; border-left: 1px solid currentColor; }
.download-icon::after { position: absolute; content: ""; width: 7px; height: 7px; top: 3px; left: 3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.quick-links { display: none; }

@media (max-width: 940px) {
  .header-inner { min-height: 54px; align-items: center; justify-content: space-between; }
  .mobile-home { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 5px; color: var(--accent-light); font-weight: 700; }
  .main-nav, .account-link { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; gap: 9px; min-height: 44px; padding-inline: 9px; color: var(--accent-light); font-weight: 700; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .burger { display: inline-block; position: relative; width: 16px; height: 1px; background: currentColor; }
  .burger::before, .burger::after { position: absolute; content: ""; inset: -5px 0 auto; border-top: 1px solid currentColor; }
  .burger::after { inset: 5px 0 auto; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; padding: 3px 12px; border-block: 1px solid var(--rim); background: var(--panel-deep); }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 45px; padding-inline: 7px; }
  .mobile-menu nav a + a { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .ffe-site .wrap { width: calc(100% - 26px); }
  .world-art { height: clamp(460px, 123vw, 650px); }
  .world-art img { object-position: 25% top; }
  .world-intro { min-height: clamp(171px, 47vw, 250px); align-items: end; }
  .hero-brand { width: min(57%, 245px); margin: 0 3% 17px 0; }
  .hero-brand::before { inset: -24% -10%; }
  .playbar { display: block; min-height: 0; padding: 10px 9px 11px; text-align: center; }
  .play-actions { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 7px; margin-top: 9px; }
  .play-button { gap: 5px; padding-inline: 4px; font-size: 0.83rem; }
  .download-platform { display: block; margin-top: 2px; font-size: 0.69rem; font-weight: 620; }
  .quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 7px; border: 1px solid var(--line); background: var(--panel-deep); }
  .quick-links a { display: grid; place-items: center; min-height: 43px; padding-inline: 3px; color: var(--accent); font-size: 0.81rem; font-weight: 650; line-height: 1.2; text-align: center; }
  .quick-links a + a { border-left: 1px solid var(--line); }
}
@media (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  .world-art::before {
    content: ""; position: absolute; z-index: 1; inset: 6% -20% 34%; opacity: 0;
    background: linear-gradient(110deg, transparent 43%, #b0d9ff25 51%, transparent 59%);
    animation: moonlight-arrival 1050ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@keyframes moonlight-arrival {
  0% { transform: translateX(-28%); opacity: 0; }
  33% { opacity: 0.7; }
  100% { transform: translateX(26%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .play-button { transition: none; }
}

.ffe-portal .hero-brand img { display: block; }
.ffe-portal .playbar .ffe-server-title { margin: 0; color: var(--accent-light); font-family: var(--heading); }
.ffe-site .site-header a,
.ffe-portal .playbar a,
.ffe-portal .quick-links a { text-decoration: none; }
.ffe-site .mobile-menu nav a { color: var(--text); }
.ffe-site .header-inner { position: static; }
.ffe-site .header-actions { flex-shrink: 0; }
.ffe-site .language-picker nav a { color: var(--text); }
.ffe-legacy .site-header { z-index: 20; }
.ffe-portal .wrapper { width: auto; }
.ffe-portal .container.ffe-layout {
  display: grid;
  grid-template-columns: minmax(224px, 1fr) minmax(0, 2.65fr) minmax(211px, .96fr);
  align-items: start;
  gap: 14px;
  max-width: none;
  min-height: 0;
  margin: 18px auto 32px;
  padding: 0;
  font-size: 14px;
}
.ffe-portal .container.ffe-layout::before,
.ffe-portal .container.ffe-layout::after { content: none; }
.ffe-portal .ffe-layout > :is(.left-sidebar, .right-sidebar, .content) {
  width: auto;
  min-width: 0;
  margin-bottom: 0;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #192b47, #111d31 45%, #0d1728);
  color: var(--text);
}
.ffe-portal .ffe-layout > .content :is(img, video, iframe) { max-width: 100%; }
.ffe-portal .ffe-layout video { height: auto; }
.ffe-portal .ffe-layout .section { min-width: 0; overflow-wrap: break-word; }
.ffe-portal .ffe-layout .first-new .first-news-info {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding: 14px;
}
.ffe-portal .ffe-layout .first-news-info h2 {
  font: 600 clamp(1.02rem, 1.85vw, 1.2rem)/1.35 var(--heading);
}
.ffe-portal .ffe-layout .first-news-info h2 a { color: var(--accent-light); }
.ffe-portal .ffe-layout .first-news-info p { text-align: start; }
.ffe-portal .ffe-layout .date-more .date { color: var(--muted); }
.ffe-portal .ffe-layout .date-more .date1 a { color: var(--accent); }
.ffe-portal .ffe-layout :is(.left-sidebar, .right-sidebar) a,
.ffe-portal .ffe-layout .content p a { color: var(--accent); }
.ffe-portal .ffe-layout .list-group-item { background: var(--panel-deep); border-color: var(--line); }
.ffe-portal .ffe-layout .list-group-item:hover { background: var(--panel-raised); }
.ffe-portal .ffe-layout .list-group-item-danger { color: #ffd4d9; }
.ffe-portal .ffe-layout .login-block-title {
  min-height: 43px;
  padding: 6px 11px;
  background: linear-gradient(105deg, #2a436b, #192b4a 64%, #1d3457);
  border-bottom: 1px solid var(--line);
  color: var(--accent-light);
}
.ffe-portal .ffe-layout .login-block-title span { color: inherit; font-family: var(--heading); }
.ffe-portal .ffe-layout .login-block { margin-inline: 0; }
.ffe-portal .ffe-layout .left-sidebar { display: flex; flex-direction: column; }
.ffe-portal .ffe-layout .left-sidebar :is(#ffe2-account, .ffe-account-form) { order: -1; }
.ffe-site .ffe-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 5px 10px;
  min-height: 45px;
  padding: 10px 13px;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(110deg, #213654, #1a2b45);
}
.ffe-site .ffe-panel-head h2 {
  margin: 0;
  color: var(--accent-light);
  font: 650 .96rem/1.35 var(--heading);
  overflow-wrap: anywhere;
}
.ffe-site .ffe-panel-head a {
  color: var(--accent);
  font-size: .8rem;
  text-underline-offset: .18em;
}
.ffe-site .ffe-account-form {
  container-type: inline-size;
  padding: 13px;
  border-bottom: 1px solid var(--line-soft);
  background: #122036;
}
.ffe-site .ffe-account-form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin: 0;
}
.ffe-site .ffe-account-form form p { margin: 0; }
.ffe-site .ffe-account-form input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #0d192c;
  color: var(--text);
  font: inherit;
}
.ffe-site .ffe-account-form input::placeholder { color: #a7bad5; }
.ffe-site .ffe-account-form input:hover { border-color: var(--rim); }
.ffe-site .ffe-account-captcha { height: 59px; }
.ffe-site .ffe-account-captcha .g-recaptcha { transform: scale(.75); transform-origin: top left; }
@container (width < 228px) {
  .ffe-site .ffe-account-captcha .g-recaptcha { transform: scale(.6); }
}
@container (width < 184px) {
  .ffe-site .ffe-account-captcha .g-recaptcha { transform: scale(.54); }
}
.ffe-site .ffe-account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  text-align: center;
}
.ffe-site .ffe-account-actions .play-button { box-sizing: border-box; width: 100%; min-height: 42px; cursor: pointer; }
.ffe-site .ffe-account-actions a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding-inline: 4px;
  color: var(--accent);
  font-size: .83rem;
  text-underline-offset: .18em;
}
.ffe-site .ffe-shop-action { padding: 0 8px 10px; }
.ffe-site .ffe-shop-action .play-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  color: var(--accent-light);
  text-decoration: none;
}
.ffe-portal :is(#top-players, #top-guilds) .p-block2 {
  padding: 0;
  border: 0;
  background: none !important;
}
.ffe-portal :is(#top-players, #top-guilds) .login-block-title { margin: 0; border-top: 1px solid var(--line-soft); }
.ffe-portal :is(#top-players, #top-guilds) .login-block-title a { flex-shrink: 0; }
.ffe-portal .ffe-layout .top-player { gap: 5px; }
.ffe-portal .ffe-layout .top-player .nickname { min-width: 0; overflow-wrap: anywhere; }
.ffe-portal .ffe-layout .top-player .kills { flex-shrink: 0; color: var(--text); }
.ffe-portal .ffe-layout :is(.download-block, .download-block2) {
  height: auto;
  padding: 8px;
  background: none;
}
.ffe-portal .ffe-layout :is(.download-block, .download-block2) a {
  display: block;
  min-height: 48px;
  padding: 7px;
  border: 1px solid var(--rim);
  background: linear-gradient(145deg, #304d77, #172943 72%);
  color: var(--accent-light);
  text-align: center;
}
.ffe-portal .ffe-layout :is(.download-block, .download-block2) a span {
  display: block;
  padding: 0;
  color: var(--accent-light);
  font-family: var(--heading);
  font-size: 15px;
}
.ffe-site .container .download-block2 a {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  left: 0;
  min-height: 48px;
  padding: 8px;
  text-align: center;
}
.ffe-portal .ffe-layout .stats { padding: 6px 10px 12px; background: none; }
.ffe-portal .ffe-layout .stats span {
  position: static;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ffe-portal .ffe-layout .stats span b,
.ffe-portal .ffe-layout .stats span p { margin: 0; padding: 0; color: var(--muted); }
.ffe-portal .ffe-layout .stats span p { color: var(--accent-light); font-variant-numeric: tabular-nums; }
.ffe-portal .ffe-layout .right-sidebar iframe { display: block; max-width: calc(100% - 16px); margin: 0 auto 8px; border: 0; }
.ffe-site .ffe-feature-art { display: block; border-bottom: 1px solid var(--line); background: #0a1425; }
.ffe-site .ffe-feature-art img {
  display: block;
  width: 100%;
  height: clamp(132px, 17vw, 220px);
  object-fit: cover;
  object-position: center;
}
.ffe-portal iframe[data-ffe-src] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.ffe-site .ffe-footer {
  display: grid;
  gap: 12px;
  padding: 16px 8px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}
.ffe-site .ffe-footer :is(nav, .ffe-footer-meta) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
}
.ffe-site .ffe-footer a { color: var(--accent); text-underline-offset: .18em; }
.ffe-site .ffe-footer a:hover { color: var(--accent-light); }
.ffe-site .ffe-footer .ffe-geo-credit { color: var(--muted); font-size: .76rem; }
.ffe-portal #itemShop .modal-dialog { max-width: min(1052px, 100% - 26px); }
.ffe-portal #itemShop .modal-content { border-color: var(--line); background: var(--panel); color: var(--text); }
.ffe-portal #itemShop .close { color: var(--text); }
.ffe-portal #fancybox-frame { display: block; max-width: 100%; max-height: 75vh; }

.ffe-site .ffe-ranking-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  margin: 8px;
  border: 1px solid var(--line);
  background: var(--panel-deep);
}
.ffe-site .ffe-ranking-switch a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 6px 4px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}
.ffe-site .ffe-ranking-switch a:hover,
.ffe-site .ffe-ranking-switch a[aria-current] {
  border-color: var(--rim);
  background: var(--panel-raised);
  color: var(--accent-light);
}

.ffe-site .ffe-global-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 14px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #233956, #16253d);
}
.ffe-site .ffe-global-heading h2 {
  margin: 0;
  color: var(--accent-light);
  font: 650 clamp(1rem, 2vw, 1.3rem)/1.35 var(--heading);
  overflow-wrap: anywhere;
}
.ffe-site .ffe-global-tabs { flex: 0 1 auto; min-width: min(100%, 174px); margin: 0; }
.ffe-site .ffe-global-tabs a { padding-inline: 9px; }
.ffe-site .ffe-global-ranking[aria-busy="true"] .ffe-ranking-table { opacity: .72; }
.ffe-site .ffe-ranking-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 13px;
}
.ffe-site .ffe-ranking-search input {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #0d192c;
  color: var(--text);
  font: inherit;
}
.ffe-site .ffe-ranking-search input::placeholder { color: var(--muted); }
.ffe-site .ffe-ranking-search button { min-height: 42px; cursor: pointer; }
.ffe-site .ffe-ranking-table { max-width: 100%; overflow-x: auto; }
.ffe-site .ffe-ranking-table .table { min-width: 430px; margin: 0; }
.ffe-site .ffe-global-ranking .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 10px 0;
  padding: 2px 8px;
}
.ffe-site .ffe-global-ranking .pagination a { color: var(--accent); }
.ffe-site .ffe-global-ranking .pagination .active a { color: var(--accent-light); }

.ffe-portal .ffe-download { padding: clamp(16px, 3vw, 30px); }
.ffe-download h1,
.ffe-download h2 { color: var(--accent-light); font-family: var(--heading); }
.ffe-download h1 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.ffe-download h2 { margin: 0 0 10px; font-size: 1.1rem; }
.ffe-download .ffe-download-platform { margin: 7px 0 20px; color: var(--muted); }
.ffe-download .ffe-download-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ffe-download .ffe-download-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.ffe-download .ffe-download-list strong { min-width: 0; color: var(--text); overflow-wrap: anywhere; }
.ffe-download .ffe-download-list a { max-width: 100%; text-decoration: none; }
.ffe-download .ffe-download-help { margin-top: 27px; }
.ffe-download .ffe-download-help details {
  padding: 0 11px;
  margin-bottom: 7px;
  border: 1px solid var(--line);
  background: var(--panel-deep);
}
.ffe-download .ffe-download-help summary {
  min-height: 44px;
  align-content: center;
  padding-block: 9px;
  color: var(--accent-light);
  font-weight: 650;
  cursor: pointer;
}
.ffe-download .ffe-download-help details p { margin: 0 0 10px; }
.ffe-download .ffe-download-help img { height: auto; margin-bottom: 12px; }
.ffe-download .ffe-download-partner { display: inline-block; margin-top: 9px; color: var(--accent); }
.ffe-download .ffe-download-empty { padding: 12px; border: 1px solid var(--line); }

@media (max-width: 900px) {
  .ffe-portal .container.ffe-layout { grid-template-columns: minmax(0, 1fr) minmax(213px, .48fr); }
  .ffe-portal .ffe-layout > .content { grid-area: 1 / 1 / span 2; }
  .ffe-portal .ffe-layout > .left-sidebar { grid-area: 1 / 2; }
  .ffe-portal .ffe-layout > .right-sidebar { grid-area: 2 / 2; }
}

@media (max-width: 680px) {
  .ffe-portal .container.ffe-layout { display: flex; flex-direction: column; }
  .ffe-portal .ffe-layout > :is(.left-sidebar, .right-sidebar, .content) { width: 100%; }
  .ffe-portal .ffe-layout > .content { order: -1; }
}
