/* Moss-green, landscape-first portal with restrained oriental ornament. */
:root {
  --portal-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23b6aa7c' stroke-width='1' stroke-opacity='.055'%3E%3Cpath d='M0 60h22c0 24 18 24 30 0s30-24 30 0-18 24-30 0H0m240 120h-22c0-24-18-24-30 0s-30 24-30 0 18-24 30 0h52M60 0v22c24 0 24 18 0 30s-24 30 0 30 24-18 0-30V0m120 240v-22c-24 0-24-18 0-30s24-30 0-30-24 18 0 30v52'/%3E%3Cpath d='M120 60l60 60-60 60-60-60zM120 82l38 38-38 38-38-38z'/%3E%3Ccircle cx='120' cy='120' r='18'/%3E%3C/g%3E%3C/svg%3E");
}

html,
body {
  background: #111a16 !important;
  color: #eee5d0;
}

body {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  overflow-x: hidden;
}

.container.wrap {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  background: #111a16;
  box-shadow: none !important;
}

.newscontent,
#goTop,
.m-float-thukey {
  display: none !important;
}

.headEd {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px !important;
  padding: 10px max(24px, calc((100vw - 1320px) / 2)) !important;
  display: flex;
  align-items: center;
  background: rgba(7, 18, 20, .84) !important;
  border-bottom: 1px solid rgba(218, 176, 94, .24);
  backdrop-filter: blur(12px);
}

.headEdLogo {
  display: flex;
  align-items: center;
  float: none;
  gap: 12px;
}

.headEdLogo dt {
  float: none;
  width: 56px;
  height: 56px;
  padding: 0;
}

.headEdLogo dd {
  float: none;
}

.headEdLogo dd h1 {
  padding: 0;
  color: #f3c66e;
  font: 700 21px/1.2 "Be Vietnam Pro", "Segoe UI", sans-serif;
  letter-spacing: .02em;
}

.headEdLogo dd h2 {
  padding-top: 4px;
  color: #d8c6a5;
  font: 400 12px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.headEd .menu {
  top: 50% !important;
  right: max(24px, calc((100vw - 1320px) / 2)) !important;
  width: auto;
  min-width: 122px;
  height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transform: translateY(-50%) !important;
  border: 1px solid rgba(245, 205, 119, .42);
  border-radius: 999px;
  background: #a9701e !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .3);
  color: #fff1cc;
  font: 700 12px/1 "Be Vietnam Pro", "Segoe UI", sans-serif;
  letter-spacing: .05em;
  cursor: pointer;
}

.headEd .menu:hover,
.headEd .menu:focus-visible {
  background: #bd842d !important;
  border-color: #f0ce7c;
  outline: none;
}

.account-menu-icon {
  font-size: 19px;
  line-height: 1;
}

.sli_list {
  top: 72px;
  right: max(24px, calc((100vw - 1320px) / 2));
  left: auto;
  width: 260px;
  border: 1px solid rgba(218, 176, 94, .35);
  border-radius: 12px;
  background: rgba(9, 26, 28, .98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  z-index: 10000;
}

.sli_list_ul {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 6px 12px;
}

.sli_list_ul li {
  box-sizing: border-box;
  width: auto !important;
  height: auto !important;
  min-height: 0;
  padding: 0 !important;
  border-bottom: 1px solid rgba(232, 208, 158, .11);
}

.sli_list_ul li:last-child {
  border-bottom: 0;
}

.sli_list_ul li a {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  padding: 11px 8px !important;
  display: block;
  color: #e8d7b6;
  font: 500 13px/1.35 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-align: left !important;
}

.sli_list_ul li a small.auth-user-name {
  margin-top: 4px;
  display: block;
  color: #d3b466;
  font: 600 11px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.sli_list_ul li.account-menu-logout a {
  color: #eea59b;
}

.sli_list_ul li.auth-menu-guest a {
  color: #f0ce7c;
  font-weight: 700;
}

.sli_list_ul li.n1 {
  border-top: 1px solid rgba(232, 208, 158, .11);
}

.mainSwiper,
.mainSwiper .main_wrap {
  width: 100%;
  height: auto !important;
  min-height: 100vh;
  background: transparent;
}

.mainSwiper .section0,
.mainSwiper .section2,
.mainSwiper .section3,
.mainSwiper .section4 {
  display: none !important;
}

.mainSwiper .section1 {
  box-sizing: border-box;
  display: block !important;
  width: 100%;
  min-height: 100vh;
  height: auto !important;
  overflow: visible;
  display: flex !important;
  align-items: flex-start;
  padding: 82px 0 36px;
  background-color: #111a16;
  background-image:
    radial-gradient(ellipse at 20% 12%, rgba(70, 91, 55, .19), transparent 48%),
    radial-gradient(ellipse at 88% 65%, rgba(38, 73, 56, .2), transparent 46%),
    linear-gradient(135deg, rgba(12, 22, 18, .08), rgba(45, 61, 42, .11)),
    var(--portal-motif);
  background-size: auto, auto, auto, 320px 320px;
}

.mainSwiper .section1 .bg_1 {
  position: absolute;
  inset: 82px 0 0;
  width: 100%;
  height: auto !important;
  background-position: center 38% !important;
  background-size: cover !important;
  opacity: .13;
  filter: saturate(.65) brightness(.65);
  pointer-events: none;
}

.mainSwiper .section1 .news {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  top: auto;
  left: auto;
  transform: none;
  width: min(1360px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 24px 0 0;
}

.portal-feature-strip {
  margin: 22px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(221, 185, 116, .2);
}

.portal-feature-heading {
  margin: 0 0 9px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-align: left;
}

.portal-feature-heading .portal-eyebrow {
  margin: 0;
}

.portal-feature-heading h2 {
  margin: 0;
  color: #f5eddb;
  font: 700 18px/1.25 "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.portal-feature-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 1px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(222, 183, 102, .58) rgba(255, 255, 255, .06);
  scrollbar-width: thin;
}

.portal-feature-card {
  box-sizing: border-box;
  flex: 0 0 clamp(112px, 10.6vw, 146px);
  aspect-ratio: 620 / 830;
  overflow: hidden;
  border: 1px solid rgba(223, 182, 99, .56);
  border-radius: 8px;
  background: #142224;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  scroll-snap-align: start;
  transition: transform .18s ease, border-color .18s ease;
}

.portal-feature-card:hover {
  transform: translateY(-4px);
  border-color: #edc871;
}

.portal-feature-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-heading {
  min-height: 54px;
  margin: 0 0 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.portal-eyebrow {
  margin: 0 0 5px;
  color: #d1a95e;
  font: 700 10px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
  letter-spacing: .16em;
}

.portal-heading h1 {
  margin: 0;
  color: #f5eddb;
  font: 700 25px/1.2 "Be Vietnam Pro", "Segoe UI", sans-serif;
  letter-spacing: -.02em;
}

.portal-all-news {
  padding: 8px 0;
  color: #e7c17a;
  font: 600 13px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-decoration: none;
}

.portal-all-news:hover,
.portal-secondary:hover {
  color: #fff0c7;
}

.mainSwiper .section1 .news .title,
.mainSwiper .section1 .news .hdzt {
  display: none !important;
}

.mainSwiper .section1 .newsslide {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr) minmax(250px, .82fr);
  grid-template-rows: minmax(0, auto);
  align-items: stretch;
  gap: 14px 20px;
  clear: none;
}

.mainSwiper .section1 .news .banner {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  float: none;
  width: 100%;
  height: auto;
  aspect-ratio: 702 / 374;
  overflow: hidden;
  border: 1px solid rgba(223, 182, 99, .66);
  border-radius: 10px;
  background: #172326;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}

@media (min-width: 1041px) {
  .mainSwiper .section1 .newsslide {
    min-height: clamp(330px, 25vw, 360px);
  }

  .mainSwiper .section1 .news .banner {
    height: clamp(330px, 25vw, 360px);
    aspect-ratio: auto;
  }
}

.mainSwiper .section1 .news .banner .swiper-container,
.mainSwiper .section1 .news .banner .swiper-wrapper,
.mainSwiper .section1 .news .banner .swiper-slide,
.mainSwiper .section1 .news .banner .swiper-slide a {
  width: 100%;
  height: 100%;
}

.mainSwiper .section1 .news .banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mainSwiper .section1 .news .banner .swiper-container-horizontal > .swiper-pagination-bullets,
.mainSwiper .section1 .news .banner .swiper-pagination-custom,
.mainSwiper .section1 .news .banner .swiper-pagination-fraction {
  left: auto;
  right: 16px;
  bottom: 13px;
  width: auto;
}

.mainSwiper .section1 .news .banner .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 4px;
  background: rgba(245, 235, 211, .6);
}

.mainSwiper .section1 .news .banner .swiper-pagination-bullet-active {
  background: #e5b95d;
}

.mainSwiper .section1 .news .newsHd {
  box-sizing: border-box;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(221, 185, 116, .28);
}

.portal-news-panel {
  box-sizing: border-box;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(223, 182, 99, .36);
  border-radius: 10px;
  background-color: #101b16;
  background-image:
    linear-gradient(155deg, rgba(18, 34, 25, .93), rgba(12, 24, 19, .96)),
    var(--portal-motif);
  background-size: auto, 280px 280px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.portal-news-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(221, 185, 116, .24);
}

.portal-news-tab {
  min-width: 0;
  min-height: 42px;
  padding: 8px 5px;
  border: 1px solid rgba(221, 185, 116, .18);
  border-radius: 7px;
  color: #c8c2b1;
  background: rgba(4, 13, 10, .28);
  font: 700 12px/1.2 "Be Vietnam Pro", "Segoe UI", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.portal-news-tab:hover {
  border-color: rgba(221, 185, 116, .5);
  color: #f4e3bc;
}

.portal-news-tab.is-active {
  border-color: rgba(231, 191, 102, .64);
  color: #f5d78e;
  background: linear-gradient(180deg, rgba(128, 96, 39, .36), rgba(68, 59, 30, .3));
  box-shadow: inset 0 0 18px rgba(231, 191, 102, .06), 0 5px 16px rgba(0, 0, 0, .14);
}

.mainSwiper .section1 .news .newsHd,
.mainSwiper .section1 .news .swiper-containerNews {
  display: none !important;
}

.mainSwiper .section1 .news .swh-ul {
  width: 100%;
  display: flex;
  float: none;
  gap: 8px;
}

.mainSwiper .section1 .news .swh-ul li,
.mainSwiper .section1 .news .swh-ul li.swh-li1,
.mainSwiper .section1 .news .swh-ul li.swh-li2,
.mainSwiper .section1 .news .swh-ul li.swh-li3 {
  box-sizing: border-box;
  width: auto;
  margin: 0;
  padding: 0;
  flex: 1 1 0;
}

.mainSwiper .section1 .news .swh-ul li a,
.mainSwiper .section1 .news .swh-ul li.swh-ligl a {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 10px 4px;
  display: block;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #b9b3a4;
  font: 600 12px/1.2 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-align: center;
  text-indent: 0;
  background: transparent !important;
}

.mainSwiper .section1 .news .swh-ul li a.on {
  border-color: rgba(221, 185, 116, .34);
  color: #f0d08d;
  background: rgba(197, 146, 55, .12) !important;
}

.mainSwiper .section1 .news .newsHd .line {
  display: none;
}

.mainSwiper .section1 .news .swiper-containerNews {
  box-sizing: border-box;
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: 348px;
  padding: 4px 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(221, 185, 116, .2);
  border-radius: 8px;
  background: rgba(13, 31, 33, .86);
}

.mainSwiper .section1 .news .swiper-containerNews .swiper-wrapper,
.mainSwiper .section1 .news .swiper-containerNews .swiper-slide,
.mainSwiper .section1 .news .newBox {
  width: 100%;
  height: 100%;
}

.mainSwiper .section1 .news .newList {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: none;
  border-bottom: 1px solid rgba(230, 215, 184, .1);
  line-height: 1.3;
  font-size: 13px;
}

.mainSwiper .section1 .news .newList dt {
  display: none;
}

.mainSwiper .section1 .news .newList dd {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1;
  height: auto;
  margin: 0;
  overflow: hidden;
}

.mainSwiper .section1 .news .newList dd > a {
  width: 100%;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
}

.mainSwiper .section1 .news .newList dt,
.mainSwiper .section1 .news .newList dd {
  box-sizing: border-box;
  float: none;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
}

.mainSwiper .section1 .news .newList .cla {
  box-sizing: border-box;
  width: 64px;
  height: 24px;
  margin: 0;
  padding: 0;
  line-height: 24px;
  text-indent: -9999px;
}

.mainSwiper .section1 .news .newList dd h3 {
  width: 100%;
  height: auto;
  overflow: hidden;
  color: #e7decc;
  font: 500 13px/1.35 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mainSwiper .section1 .news .newList dd h3 font {
  color: #edc778;
}

.mainSwiper .section1 .news .newList p {
  grid-column: 2;
  grid-row: 1;
  float: none;
  margin: 0;
  color: #9e998d;
  font: 400 11px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
  white-space: nowrap;
}

.mainSwiper .section1 .news .swiper-paginationNews {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.mainSwiper .section1 .news .swiper-paginationNews .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0;
  background: rgba(244, 227, 190, .48);
}

.mainSwiper .section1 .news .swiper-paginationNews .swiper-pagination-bullet-active {
  background: #dfb55f;
}

.portal-actions {
  box-sizing: border-box;
  grid-column: 3;
  grid-row: 1;
  min-height: 0;
  height: 100%;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(224, 183, 100, .42);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(10, 28, 30, .9), rgba(9, 22, 24, .97)),
    url("../img/bg_04.jpg") center / cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

.portal-actions-mark {
  margin-bottom: 12px;
  color: #d4ae67;
  font: 700 10px/1.4 "Be Vietnam Pro", "Segoe UI", sans-serif;
  letter-spacing: .18em;
}

.portal-actions h2 {
  margin: 0;
  color: #fff4df;
  font: 800 clamp(21px, 2vw, 28px)/1.2 "Be Vietnam Pro", "Segoe UI", sans-serif;
  letter-spacing: .035em;
}

.portal-actions .portal-server-hint {
  margin: 9px 0 16px;
  color: #c4bdad;
  font: 400 12px/1.55 "Be Vietnam Pro", "Segoe UI", sans-serif;
}

.portal-server-list {
  width: 100%;
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(222, 183, 102, .65) rgba(255, 255, 255, .06);
  scrollbar-width: thin;
}

.portal-server-loading {
  display: block;
  padding: 14px 10px;
  color: #c4bdad;
  font: 400 12px/1.5 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-align: center;
}

.portal-server {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(229, 191, 112, .54);
  border-radius: 7px;
  color: #fff3dc;
  background: linear-gradient(110deg, rgba(146, 100, 32, .42), rgba(22, 48, 47, .84));
  text-align: left;
  cursor: pointer;
}

.portal-server:hover:not(:disabled) {
  border-color: #f0ce7c;
  background: linear-gradient(110deg, rgba(184, 128, 43, .58), rgba(31, 69, 62, .94));
}

.portal-server:disabled {
  cursor: default;
}

.portal-server-name {
  overflow: hidden;
  font: 700 13px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-server-state {
  color: #9de0ae;
  font: 600 10px/1.2 "Be Vietnam Pro", "Segoe UI", sans-serif;
  white-space: nowrap;
}

.portal-server.is-offline .portal-server-state {
  color: #e3a29a;
}

.portal-server-arrow {
  color: #e6c577;
  font-size: 18px;
}

.portal-primary,
.portal-secondary {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  font: 700 13px/1.25 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-decoration: none;
}

.portal-primary {
  border: 1px solid #edc871;
  color: #261b0b;
  background: linear-gradient(180deg, #f0cf7f, #c08b32);
  box-shadow: 0 7px 18px rgba(176, 121, 34, .24);
}

.portal-primary:hover {
  filter: brightness(1.08);
  color: #261b0b;
}

.portal-secondary {
  margin-top: 12px;
  justify-content: center;
  border: 1px solid rgba(222, 191, 132, .3);
  color: #e0c688;
  background: rgba(255, 255, 255, .035);
}

.portal-footer {
  padding: 12px 24px 18px;
  color: rgba(229, 218, 194, .56);
  font: 400 10px/1.4 "Be Vietnam Pro", "Segoe UI", sans-serif;
  text-align: center;
}

.footer {
  padding: 8px 0 14px;
  background: transparent;
  color: rgba(229, 218, 194, .56);
}

.footer .bd {
  padding: 0;
  line-height: 1.4;
  font: 400 10px/1.4 "Be Vietnam Pro", "Segoe UI", sans-serif;
}

@media (max-width: 1040px) {
  .mainSwiper .section1 .news {
    width: min(980px, calc(100vw - 40px));
  }

  .mainSwiper .section1 .newsslide {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .9fr);
    grid-template-rows: auto;
  }

  .portal-news-panel {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    height: auto;
    padding: 11px 12px;
  }

  .portal-news-tabs {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .portal-news-tab {
    min-height: 40px;
  }

  .mainSwiper .section1 .news .banner {
    grid-column: 1;
    grid-row: 1;
  }

  .portal-actions {
    grid-column: 2;
    grid-row: 1;
    height: 100%;
    min-height: 0;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .portal-actions-mark,
  .portal-actions h2 {
    margin: 0;
  }

  .portal-actions p {
    margin: 9px 0 16px;
  }

  .portal-secondary {
    margin-top: 12px;
  }

  .footer {
    display: none;
  }
}

@media (max-width: 700px) {
  .headEd {
    height: 68px !important;
    padding: 8px 14px !important;
  }

  .headEdLogo dt {
    width: 46px;
    height: 46px;
  }

  .headEdLogo dd h1 {
    font-size: 15px;
  }

  .headEdLogo dd h2 {
    display: none;
  }

  .headEd .menu {
    right: 14px !important;
    min-width: 0;
    width: auto;
    height: 38px;
    padding: 0 12px;
  }

  .mainSwiper .section1 {
    display: block !important;
    padding: 68px 0 24px;
  }

  .mainSwiper .section1 .news {
    width: calc(100vw - 28px);
    padding-top: 18px;
  }

  .portal-heading {
    min-height: 0;
    margin-bottom: 14px;
  }

  .portal-heading h1 {
    font-size: 20px;
  }

  .portal-eyebrow {
    font-size: 8px;
  }

  .portal-all-news {
    font-size: 11px;
  }

  .mainSwiper .section1 .newsslide {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .mainSwiper .section1 .news .banner {
    grid-column: 1;
    grid-row: 1;
  }

  .portal-news-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .mainSwiper .section1 .news .newsHd {
    grid-column: 1;
    grid-row: 2;
  }

  .mainSwiper .section1 .news .swiper-containerNews {
    grid-column: 1;
    grid-row: 3;
    height: 300px;
  }

  .portal-actions {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: 20px;
  }

  .portal-feature-strip {
    margin-top: 20px;
    padding-top: 12px;
  }

  .portal-feature-heading {
    margin-bottom: 8px;
  }

  .portal-feature-card {
    flex-basis: 116px;
  }

  .portal-actions h2 {
    font-size: 23px;
  }

  .portal-actions p {
    margin: 10px 0 14px;
  }

  .portal-server-list {
    grid-column: 1;
    grid-row: auto;
  }

  .portal-primary,
  .portal-secondary {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Community shortcuts in the home header */
.community-links {
  position: absolute;
  left: auto;
  right: max(160px, calc((100vw - 1320px) / 2 + 136px));
  top: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateY(-50%);
}
.community-link {
  box-sizing: border-box;
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.24);
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.community-link:hover,
.community-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 7px 16px rgba(0,0,0,.3);
  outline: 2px solid rgba(241,213,140,.62);
  outline-offset: 2px;
}
.community-link svg { width: 11px; height: 11px; display: block; fill: currentColor; }
.community-link--facebook { background: #1877f2; }
.community-link--facebook svg { width: 12px; height: 12px; }
.community-link--zalo { background: #0068ff; }
.community-link--zalo span { font: 800 7px/1 Arial, sans-serif; letter-spacing: -.3px; }
.community-link--telegram { background: #229ed9; }
.community-link--telegram svg { width: 11px; height: 11px; margin: 1px 1px 0 0; }
.community-toast {
  position: fixed;
  z-index: 10001;
  top: 94px;
  left: 50%;
  padding: 10px 18px;
  color: #f7e8c2;
  background: rgba(8,24,22,.96);
  border: 1px solid rgba(218,176,94,.48);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
  font: 650 14px/1.3 "Be Vietnam Pro", "Segoe UI", sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.community-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
@media (max-width:700px) {
  .community-links {
    left: auto;
    right: 58px;
    gap: 3px;
    transform: translateY(-50%);
  }
  .community-link { width: 16px; height: 16px; }
  .community-link svg,.community-link--facebook svg,.community-link--telegram svg { width: 8px; height: 8px; }
  .community-link--zalo span { font-size: 6px; }
  .headEd .menu > span:not(.account-menu-icon) { display: none; }
  .headEd .menu { width: 38px; height: 38px; padding: 0 9px; }
  .community-toast { top: 78px; }
}
