code {
  font-family: 'PT Mono', 'Courier new', monospace;
}
pre {
  position: relative;
  display: block;
  padding: 6px 0;
  background: rgba(248, 248, 255, 0.6);
  box-shadow: 0 0 10px 0 #cccccc;
  border-radius: 4px;
  background-clip: padding-box;
  color: #000;
  font: normal 0.9em 'PT Mono', 'Courier new', monospace;
  line-height: 1.5em;
  overflow: visible;
  white-space: normal;
  counter-reset: code;
  clear: right;
}
pre.empty {
  padding: 10px 15px;
}
pre code {
  position: relative;
  display: block;
  padding: 0 10px;
  white-space: pre-wrap;
  line-height: 1.6em;
}
pre code:empty {
  padding: 0 10px;
}
pre code:empty:after {
  content: ' ';
}
pre code .line-numbers {
  position: absolute;
  top: 0;
  left: -35px;
  width: 25px;
  user-select: none;
  pointer-events: none;
}
pre code .line-numbers i {
  display: block;
  font-style: normal;
  counter-increment: code;
  pointer-events: none;
}
pre code .line-numbers i:before {
  display: block;
  color: #b9b9b9;
  text-align: right;
  content: counter(code, decimal-leading-zero);
}
.hljs-comment,
.hljs-template_comment,
.diff .hljs-header,
.hljs-javadoc {
  color: #998;
  font-style: italic;
}
.hljs-keyword,
.css .rule .hljs-keyword,
.hljs-winutils,
.javascript .hljs-title,
.nginx .hljs-title,
.hljs-subst,
.hljs-request,
.hljs-status {
  color: #333;
  font-weight: bold;
}
.hljs-number,
.hljs-hexcolor,
.ruby .hljs-constant {
  color: #099;
}
.hljs-string,
.hljs-tag .hljs-value,
.hljs-phpdoc,
.tex .hljs-formula {
  color: #d14;
}
.hljs-title,
.hljs-id,
.coffeescript .hljs-params,
.scss .hljs-preprocessor {
  color: #900;
  font-weight: bold;
}
.javascript .hljs-title,
.lisp .hljs-title,
.clojure .hljs-title,
.hljs-subst {
  font-weight: normal;
}
.hljs-class .hljs-title,
.haskell .hljs-type,
.vhdl .hljs-literal,
.tex .hljs-command {
  color: #458;
  font-weight: bold;
}
.hljs-tag,
.hljs-tag .hljs-title,
.hljs-rules .hljs-property,
.django .hljs-tag .hljs-keyword {
  color: #000080;
  font-weight: normal;
}
.hljs-attribute,
.hljs-variable,
.lisp .hljs-body {
  color: #008080;
}
.hljs-regexp {
  color: #009926;
}
.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.lisp .hljs-keyword,
.tex .hljs-special,
.hljs-prompt {
  color: #990073;
}
.hljs-built_in,
.lisp .hljs-title,
.clojure .hljs-built_in {
  color: #0086b3;
}
.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-doctype,
.hljs-shebang,
.hljs-cdata {
  color: #999;
  font-weight: bold;
}
.hljs-deletion {
  background: #fdd;
}
.hljs-addition {
  background: #dfd;
}
.diff .hljs-change {
  background: #0086b3;
}
.hljs-chunk {
  color: #aaa;
}
.snippet {
  padding: 20px 0;
}
.snippet .notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
.snippet h2 {
  margin: 0 0 1em;
  font-size: 1.17em;
}
.snippet .params h2 { grid-column: 1 / -1; }
.snippet .params,
.snippet .result {
  min-width: 0;
  padding: 20px 0;
}
.snippet .params {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 4px;
  align-content: start;
  border-right: 1px dotted #ececec;
  padding-right: 50px;
}
.snippet .result {
  padding-left: 50px;
}
.snippet .result h2 {
  margin-bottom: 15px;
}
.snippet .result .head {
  display: none;
  margin-top: 1.5em;
  font-style: italic;
  font-size: 0.8em;
}
.snippet .result .head.show {
  display: block;
}
.snippet .desc {
  grid-column: 1 / -1;
  display: none;
}
.snippet label {
  align-self: center;
  min-width: 0;
}
.snippet input {
  width: 300px;
  max-width: 100%;
  min-width: 0;
  padding: 4px 6px;
  color: #333333;
}
.snippet input:required {
  box-shadow: none;
}
.snippet .description {
  grid-column: 2;
  margin: 2px 0 8px;
  color: #ececec;
  font-size: 0.8em;
}
.snippet input:focus {
  background-color: #ffffeb;
}
.snippet input:focus + .description {
  color: #333333;
}
.snippet pre {
  margin: 0;
  padding: 0;
  overflow: auto;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  background-clip: padding-box;
}
.snippet .result pre {
  max-width: 450px;
}
.snippet .result pre code:not(:empty) {
  white-space: nowrap;
}
.snippet .result pre:after {
  content: 'Заполните форму, чтобы получить код';
  display: block;
  padding: 40px 0;
  color: #e4e4e4;
  font: normal 1.8em 'PT Sans';
}
.snippet .result pre.show:after {
  display: none;
}
.snippet .info {
  margin: 0 0 1.2em;
  font-size: 0.9em;
}
.snippet .info button {
  border: 0;
  font: inherit;
  color: inherit;
  /* Keep the original inline control's line box while retaining its painted padding. */
  margin-block: -1px;
  padding: 1px 4px;
  background-color: #ececec;
  border-radius: 4px;
  background-clip: padding-box;
  font-style: normal;
  cursor: pointer;
  user-select: none;
}
.snippet .info button[aria-pressed=true] {
  background-color: #b5edff;
}
.preview {
  padding-top: 15px;
}
.preview div {
  width: 200px;
  min-height: 250px;
  margin: 0 auto;
  break-inside: avoid;
}
.preview div small {
  display: block;
}
.preview h3 {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
  font-family: inherit;
}
.preview h3 a {
  background-color: transparent;
}
.preview .link {
  display: inline-block;
  margin-top: 8px;
}
.preview img {
  border: 1px solid #999999;
  border-radius: 4px;
  background-clip: padding-box;
}
.post .share {
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 2px solid #b3b3b3;
  border-bottom: none;
}
.faq dl {
  font-size: 0.95em;
}
.faq dt {
  font-size: 1.15em;
}
.faq dd {
  margin: 5px 0 25px 0;
  padding: 0;
}
.preview section {
  column-count: 4;
  column-gap: 25px;
}
.faq dl {
  column-count: 3;
  column-gap: 60px;
  font-size: 0.9em;
}
.faq dt {
  font-size: 1.1em;
}
.faq code {
  font-size: 0.8em;
}
#zero {
  display: none;
  margin-left: 15px;
  padding: 1px 2px;
  border: 0;
  border-bottom: 1px dotted #333333;
  background: transparent;
  color: #333333;
  font: normal 0.75em 'PT Sans';
  cursor: pointer;
}
#zero.show {
  display: inline;
}
#zero:hover,
#zero:active {
  border-radius: 4px;
  background-clip: padding-box;
  border-bottom: 0;
}
#zero:hover {
  background-color: #b5edff;
}
#zero:active {
  color: #fff;
  background-color: #00aee8;
}
@media (max-width: 650px) {
  .snippet h2 { font-size: 1em; }
}
@media (max-width: 1050px) {
  .snippet input { width: 250px; }
  .snippet .result pre { max-width: 100%; }
  .snippet .result pre:after { font-size: 1.6em; }
}
@media (max-width: 950px) {
  .snippet .params { grid-template-columns: 100px minmax(0, 1fr); }
  .snippet input { width: 200px; }
  .snippet label { font-size: 0.9em; }
  .snippet .info { font-size: 0.8em; }
  .snippet .result pre:after { font-size: 1.4em; }
}
@media (max-width: 900px) {
  .snippet .notes { grid-template-columns: minmax(0, 1fr); }
  .snippet .params {
    grid-template-columns: 110px minmax(0, 1fr);
    border-right: none;
    border-bottom: 1px dotted #d3d3d3;
    padding-right: 0;
  }
  .snippet .result { padding-left: 0; }
  .snippet input { width: 500px; }
  .snippet label { font-size: 1em; }
  .snippet .info { font-size: 0.9em; }
  .preview section { column-count: 2; }
  .faq dl { column-count: 2; }
}
@media (max-width: 720px) {
  .snippet input { width: 400px; }
}
@media (max-width: 600px) {
  .snippet .params { grid-template-columns: minmax(0, 1fr); }
  .snippet label { margin-bottom: 5px; }
  .snippet .description { grid-column: 1; }
  .snippet .info .nobr { white-space: normal; }
  .preview section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
  }
  .faq dl { column-count: 1; }
  .faq code { white-space: normal; }
}
