.live-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.live-language {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #c4cedd;
}
.live-language select {
  font: inherit;
  color: #f3f5fa;
  background: #172130;
  border: 1px solid #53627b;
  border-radius: 6px;
  padding: 9px 10px;
  max-width: 190px;
}
.bar {
  flex-wrap: wrap;
  gap: 16px;
}
.bar nav {
  order: 3;
  flex-basis: 100%;
  overflow-x: auto;
  min-width: 0;
  white-space: nowrap;
}
.nav {
  flex-shrink: 0;
  white-space: nowrap;
}
.live-actions .admin {
  margin: 0;
}
.live-translation-bar {
  max-width: 1184px;
  margin: 18px auto 0;
  padding: 13px 18px;
  background: #201c32;
  border: 1px solid #5e4b7b;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #e1d5f6;
  font-size: 12px;
}
.live-translation-bar > span {
  flex: 1;
  min-width: 170px;
}
.live-translation-bar > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.live-translation-bar button {
  border: 1px solid #6f5b92;
  border-radius: 4px;
  background: transparent;
  color: #e8def9;
  padding: 5px 9px;
  font: inherit;
  cursor: pointer;
}
.live-translation-bar a {
  color: #e7be70;
  text-decoration: underline;
}
.live-translation-bar small {
  color: #b4a6cc;
  font-size: 10px;
}
.live-translation-credit {
  display: block;
  font-size: 11px;
  margin-top: 8px;
  color: #98a4b7;
}
.live-translation-credit a {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .live-actions {
    width: 100%;
    justify-content: space-between;
  }
  .live-language select {
    max-width: 200px;
  }
  .live-translation-bar {
    margin: 14px 18px 0;
    padding: 12px;
  }
  .live-translation-bar > span {
    min-width: 100%;
    flex-basis: 100%;
  }
  .live-actions .admin {
    font-size: 12px;
  }
  .live-language {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px;
  }
  .bar > .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  .bar > .admin {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    white-space: nowrap;
  }
  .bar > .live-actions {
    display: contents;
  }
  .live-actions .admin {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    white-space: nowrap;
  }
  .bar .live-language {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    font-size: 16px;
  }
  .live-language select {
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 44px;
    font-size: 16px;
  }
  .bar nav {
    grid-column: 1/-1;
    grid-row: 3;
    display: flex;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .bar .nav {
    min-height: 40px;
    border: 1px solid #354155;
    border-radius: 30px;
    padding: 8px 13px;
    line-height: 1.2;
    flex-shrink: 0;
  }
  .bar .nav.active {
    background: #e7be7018;
    border-color: #e7be70;
  }
  .live-translation-bar {
    margin: 14px 16px 0;
  }
}
@media (max-width: 760px) {
  .ticker b {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .ticker span {
    min-width: 0;
  }
  .bar nav {
    scrollbar-width: none;
    padding-bottom: 0;
  }
  .bar nav::-webkit-scrollbar {
    display: none;
  }
}
html[lang="vi"] .placement-preview:before {
  content: "VỊ TRÍ QUẢNG CÁO";
}
html[lang="en"] .placement-preview:before {
  content: "ADVERTISEMENT SPACE";
}
html[lang="id"] .placement-preview:before {
  content: "RUANG IKLAN";
}
html[lang="th"] .placement-preview:before {
  content: "พื้นที่โฆษณา";
}
