:root {
  --st-beta-bg: #fff2d9;
  --st-beta-border: #f0b95a;
  --st-beta-text: #5c3600;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .28rem .58rem;
  border: 1px solid #f2ad43;
  border-radius: 999px;
  background: #fff1d8;
  color: #834500;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.portal-brand .beta-badge,
.smd-brand .beta-badge,
.brand-heading .beta-badge {
  display: inline-flex;
}

.st-beta-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: .8rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--st-beta-border);
  border-radius: 14px;
  background: var(--st-beta-bg);
  box-shadow: 0 8px 20px rgba(43, 35, 16, .06);
  color: var(--st-beta-text);
}

.st-beta-bar strong {
  white-space: nowrap;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.st-beta-bar p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
}

.st-beta-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .55rem .8rem;
  border: 1px solid #bc7516;
  border-radius: 9px;
  color: #713d00;
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.st-language-control {
  display: grid;
  gap: .2rem;
  color: #5c3600;
  font-size: .67rem;
  font-weight: 850;
  text-transform: uppercase;
}

.st-language-control select {
  min-width: 118px;
  min-height: 38px;
  padding: .45rem 1.8rem .45rem .55rem;
  border: 1px solid #c28a37;
  border-radius: 9px;
  background: #fff;
  color: #273641;
  font: inherit;
  font-size: .78rem;
  text-transform: none;
}

.translation-scope-note {
  max-width: 1180px;
  margin: -.45rem auto 1rem;
  color: #5d6a73;
  font-size: .74rem;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 760px) {
  .st-beta-bar {
    grid-template-columns: 1fr auto;
    margin-inline: 12px;
  }

  .st-beta-bar p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .st-beta-feedback {
    grid-column: 1;
    grid-row: 3;
  }

  .st-language-control {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
  }

  .translation-scope-note {
    margin-inline: 12px;
    text-align: left;
  }
}

@media (max-width: 460px) {
  .st-beta-bar {
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    padding: .65rem;
  }

  .st-beta-bar strong {
    grid-column: 1 / -1;
  }

  .st-beta-bar p {
    display: none;
  }

  .st-beta-feedback {
    grid-column: 1;
    grid-row: auto;
    min-height: 42px;
    padding-inline: .55rem;
    white-space: normal;
    text-align: center;
  }

  .st-language-control {
    grid-column: 2;
    grid-row: auto;
  }

  .st-language-control select,
  .st-beta-feedback {
    width: 100%;
  }
}

.ad-slot[hidden] {
  display: none !important;
}

.ad-slot:not([hidden]) {
  display: grid;
  place-items: center;
  width: min(100%, 1180px);
  min-height: 100px;
  margin: 1rem auto;
  overflow: hidden;
  border: 1px solid #d8e1e7;
  border-radius: 14px;
  background: #fff;
}

.ad-slot .adsbygoogle {
  width: 100%;
  min-height: 90px;
}

.st-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .8rem;
  margin-top: .45rem;
  font-size: .78rem;
}

.st-legal-links a {
  color: inherit;
}

.st-page-footer {
  width: min(100% - 24px, 1180px);
  margin: 1.2rem auto;
  padding: .8rem;
  color: #5d6a73;
  text-align: center;
}

.st-page-counter {
  display: block;
  width: max-content;
  margin: .55rem auto 0;
  padding: .18rem .5rem;
  border: 1px solid #d8e1e7;
  border-radius: 999px;
  color: #74818a;
  background: rgba(255, 255, 255, .55);
  font-size: .68rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.st-footer-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.st-electro-access {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: .25rem auto 0;
  border-radius: 50%;
  color: #8d989f;
  font: 400 1rem/1 Georgia, serif;
  text-decoration: none;
  opacity: .58;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s ease, opacity .15s ease, background .15s ease;
}

.st-electro-access:hover,
.st-electro-access:focus-visible {
  color: #5f7f20;
  background: rgba(104, 139, 33, .08);
  opacity: 1;
  outline: none;
}

.st-analytics-access {
  margin-top: 0;
  color: #71849a;
  font-style: italic;
}

.st-backlog-access {
  margin-top: 0;
  color: #98722b;
}

.st-rating-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 86;
  width: min(330px, calc(100vw - 24px));
  padding: 14px;
  border: 1px solid rgba(0, 200, 255, .42);
  border-radius: 19px;
  color: #f4f8ff;
  background: linear-gradient(145deg, rgba(13, 27, 45, .97), rgba(5, 12, 22, .98));
  box-shadow: 0 22px 65px rgba(0, 0, 0, .42), 0 0 32px rgba(0, 200, 255, .08);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  opacity: 0;
  transform: translateY(24px) scale(.97);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(16px);
}

.st-rating-widget.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.st-rating-close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #8094ac;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
}

.st-rating-close:hover,
.st-rating-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.st-rating-question {
  display: grid;
  gap: 3px;
  padding-right: 28px;
}

.st-rating-question > span {
  width: max-content;
  padding: 3px 6px;
  border-radius: 5px;
  color: #061017;
  background: #00ead0;
  font-size: .55rem;
  font-weight: 950;
  letter-spacing: .09em;
}

.st-rating-question strong {
  font-size: .86rem;
}

.st-rating-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.st-rating-vote {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 6px 9px;
  border: 1px solid #28405e;
  border-radius: 12px;
  color: #c4d1e1;
  background: #081321;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.st-rating-vote:hover { transform: translateY(-1px); }
.st-rating-vote i { font-size: 1rem; font-style: normal; }
.st-rating-vote span { font-size: .65rem; font-weight: 850; }
.st-rating-vote b {
  min-width: 27px;
  padding: 4px 6px;
  border-radius: 8px;
  color: #9fb2c8;
  background: rgba(255, 255, 255, .055);
  font-size: .65rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.st-rating-like.is-selected {
  border-color: rgba(81, 255, 125, .65);
  color: #dfffe8;
  background: rgba(81, 255, 125, .1);
  box-shadow: 0 0 22px rgba(81, 255, 125, .08);
}

.st-rating-dislike.is-selected {
  border-color: rgba(255, 63, 167, .65);
  color: #ffe0f1;
  background: rgba(255, 63, 167, .1);
  box-shadow: 0 0 22px rgba(255, 63, 167, .08);
}

.st-rating-status {
  min-height: 0;
  margin: 8px 2px 0;
  color: #8fa4bc;
  font-size: .63rem;
  line-height: 1.4;
}

.st-rating-status:empty { display: none; }

.st-rating-feedback {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #223752;
}

.st-rating-feedback > strong { color: #ff9bd1; font-size: .78rem; }
.st-rating-feedback > p { margin: 4px 0 8px; color: #91a4ba; font-size: .64rem; line-height: 1.4; }
.st-rating-feedback textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 72px;
  max-height: 150px;
  padding: 9px 10px;
  border: 1px solid #2b4565;
  border-radius: 10px;
  color: #f4f8ff;
  background: #050c16;
  font: inherit;
  font-size: .7rem;
  outline: none;
}

.st-rating-feedback textarea:focus {
  border-color: #ff3fa7;
  box-shadow: 0 0 0 3px rgba(255, 63, 167, .1);
}

.st-rating-feedback > div { display: flex; gap: 7px; margin-top: 8px; }
.st-rating-feedback button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #2a4361;
  border-radius: 9px;
  color: #c5d3e3;
  background: #0a1727;
  font-size: .64rem;
  font-weight: 850;
  cursor: pointer;
}
.st-rating-feedback button[type="submit"] { border: 0; color: #17000d; background: linear-gradient(135deg, #ff3fa7, #ff8bc9); }
.st-rating-widget button:disabled { cursor: wait; opacity: .55; }

@media (prefers-reduced-motion: no-preference) {
  .st-rating-widget.is-visible:not(:focus-within) { animation: st-rating-attention .65s ease 3.35s 1; }
}

@keyframes st-rating-attention {
  0%, 100% { box-shadow: 0 22px 65px rgba(0, 0, 0, .42), 0 0 32px rgba(0, 200, 255, .08); }
  50% { box-shadow: 0 22px 65px rgba(0, 0, 0, .42), 0 0 38px rgba(0, 234, 208, .25); }
}

@media (max-width: 640px) {
  .st-rating-widget {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
    padding: 12px;
  }
}

@media print {
  .ad-slot,
  .st-page-counter,
  .st-rating-widget,
  .st-electro-access,
  .st-page-footer {
    display: none !important;
  }
}
:where(.st-visually-hidden){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
