h1.site {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
}
  h1.site {
    background: transparent;
    margin: 0.5em 0;
    padding: 0;
    font-size: 80%;
    line-height: 1.0;
  }
  h1.site a {
    color: black;
    text-decoration: none;
  }
  h1.site img {
    display: block;
  }

  h1, h2 {
    padding: 0.3em;
    font-size: 100%;
    color: white;
    background-color: #5279e7;
  }

  body > h1 {
    margin: 0 0 0.5em 0;
    padding: 0.5em;
    font-size: 170%;
    line-height: 1.5;
    background-color: #1841ce;
    background: -moz-linear-gradient(left, #1841CE, #fff);
    background: -webkit-gradient(linear, left top, right top, from(#1841CE), to(#fff));
  }

  section section h1 {
    color: black;
    background-color: #a1d1ee;
  }

  section section section h1 {
    color: black;
    background-color: #e1f1fe;
  }

footer.site {
  margin-top: 1em;
  padding: 1em;
  background: #eee;
  color: black;
}

footer.site > .links {
  text-align: center;
}

#about {
  font-size: 80%;
}

footer.site a[rel=top] {
  color: inherit;
  text-decoration: none;
}

.suggest {
  margin: 2rem 3rem;
  font-size: 200%;
}

.suggest a {
  text-decoration: none;
}

table {
  width: 100%;
}

  tr:hover {
    background: #efecf2;
  }
  th {
    text-align: left;
  }
  th, td {
    padding-right: 0.5em;
  }
  th:first-child {
    padding-left: 0.5em;
  }
  .category th {
    padding: 0.3em;
    background-color: #C0C0C0;
  }
  input[type=text] {
    width: 80%;
  }
  .pattern-1 { background-color: #ffdddd }
  .pattern-2 { background-color: #ffffdd }
  .pattern-3 { background-color: #ddffdd }
  .pattern-4 { background-color: #dde5ff }
  .pattern-5 { background-color: #ffcccc }
  .pattern-6 { background-color: #cc99cc }
  .pattern-7 { background-color: #FFEFD5 }
  .pattern-8 { background-color: #E0FFFF }
  .pattern-9 { background-color: #98FB98 }
  .pattern-10 { background-color: #ADD8E6 }
  .pattern-11 { background-color: #F0E68C }
  .pattern-12 { background-color: #FFA07A }
  .error {
    color: red;
  }

.target-char {
  font-family: serif;
  font-size: 500%;
}

.char-info td {
  text-align: center;
}

th.in-set {
  background-color: green;
}

th.not-in-set {
  background-color: red;
}

th.in-set a, th.not-in-set a {
  color: white;
}

th.error a {
  color: red;
}

td.in-set {
  color: green;
}

td.not-in-set {
  font-weight: bolder;
  color: white;
  background: red;
}

.char-escapes td {
  padding: 0 0.5em;
}

#chars p, .map-entries p, .map-entries table {
  margin: 1em;
  line-height: 2.0;
  text-align: justify;
}

#fonts p {
  margin: 1em;
}

.set-list p {
  margin: 1em;
}

.set-list ul {
  margin: 1em;
}

.set-list ul li {
  display: inline;
  margin-right: 1em;
  word-wrap: break-word;
  line-height: 2.0;
}

#chars-table {
  margin: 1rem 2rem;
  width: auto;
}

#chars-table tbody tr:hover {
  cursor: pointer;
}

#chars-table th,
#chars-table td {
  padding: .5rem .2rem;
}

#chars-table th,
#chars-table td:first-child,
#chars-table td:nth-child(2) {
  text-align: center;
}

#chars-table th {
  color: black;
  background-color: #e1f1fe;
}

#chars-table .char {
  font-size: 150%;
}

.set-comparison thead th,
.set-comparison td {
  text-align: center;
}

.set-comparison th, .set-comparison td {
  padding: .3rem;
}

.set-comparison .code-item {
  display: inline-block;
}

.set-comparison .code-item .code-points {
  font-size: 90%;
}

.set-comparison .code-item > a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.set-comparison .code-item > a:only-child {
  font-size: 200%;
}

div.seq-list {
  margin: 0 0.5rem;
}

.seq-list ul,
ul.seq-list {
  padding: 0;
}

.char-item,
.seq-list li {
  display: inline-block;
  margin: 0 1em 0 0;
  padding: 0;
  font-size: 150%;
  line-height: 2;
  min-width: 2em;
  text-align: center;
}

@font-face {
  font-family: 'css-wf-NotoEmoji';
  src: url(/fonts/NotoEmoji-Regular.ttf);
}

.char-item > a,
.seq-list li > a {
  display: block;
  font-family: sans-serif, "css-wf-NotoEmoji";
  color: inherit;
  background: transparent;
  text-decoration: none;
}

.char-item .code-points,
.seq-list .code-points {
  display: block;
  font-size: .7rem;
  color: gray;
  line-height: 1;
  margin-bottom: .5rem;
}

#key_to_char main,
#key_to_seq main {
  -webkit-column-width: 10em;
  -moz-column-width: 10em;
  column-width: 10em;
}

#key_to_char main > ul,
#key_to_seq main > ul {
  display: block;
  margin: 0;
  padding: 0;
}

#key_to_char main > ul > li,
#key_to_seq main > ul > li {
  display: block;
  margin: 1em;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
}

#key_to_char main > ul > li > code,
#key_to_seq main > ul > li > code {
  display: block;
  font-weight: bolder;
}

#fonts section > div {
  -webkit-column-width: 15em;
  -moz-column-width: 15em;
  column-width: 15em;
}

#fonts section > div > table {
  display: block;
}

#fonts section > div > table > tbody {
  display: block;
}

#fonts tr {
  display: block;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  column-break-inside: avoid;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
}

#fonts tr th,
#fonts tr td {
  display: block;
  padding: 0.2rem 0.5rem;
}

#fonts td data {
  margin: 0;
  border-style: none;
  padding: 0;
  font-size: 300%;
  background: #f9f9f9;
  color: black;
  line-height: 1.0;
}

#fonts #\32 ch-aa-fonts td data {
  font-size: 16px;
}

#fonts #\32 ch-aa-fonts td output {
  display: block;
  margin-top: .2rem;
  font-size: 80%;
}

#form p {
  margin: 0;
}

#variables ul {
  -webkit-column-width: 15em;
  -moz-column-width: 15em;
  column-width: 15em;
}

#variables ul > li {
  display: block;
  word-wrap: break-word;
}

.char-top section ul {
  -webkit-column-width: 5em;
  column-width: 5em;
  margin: 1em;
  padding: 0;
}

.char-top section ul > li {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

dl {
  margin: 1em;
  line-height: 1.5;
}

dt {
  font-weight: bolder;
}

dd + dt {
  margin-top: 1em;
}

dd {
  margin-left: 1.5em;
  padding-left: 0;
}

menu li a {
  display: block;
  padding: .5rem;
}

input {
  width: 70%;
}

code {
  word-wrap: break-word;
  font-family: "Courier New", monospace;
}

  .charname {
    
  }

code.char-range var {
  font-style: normal;
  font-size: 70%;
  letter-spacing: .2em;
}

.toc {
  margin: .3rem 0;
  padding: 0;
}

.toc > li {
  display: inline-block;
  margin: .1rem .3em .1rem .1rem;
  padding: .1rem;
}

.toc > li > a {
  display: block;
  text-decoration: none;
  border-bottom: 1px dashed;
  padding-bottom: .1rem;
}

.toc > li > a::before {
  content: "\A7  ";
}

  aside.ads {
    display: block;
    text-align: center;
  }

  @media screen and (min-width: 600px) {
    section#char, section#form, .has-ads {
      position: relative;
      padding-right: 300px;
      min-height: 320px;
    }

    aside.ads {
      display: block;
      position: absolute;
      right: 0;
      top: 0;
    }
  }

button.copy {
  font-size: 80%;
  cursor: pointer;
  border-style: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  line-height: 1.4;
}

button.copy:not(:hover) {
  background: transparent;
  color: gray;
}

a[rel~=bookmark] {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: black;
  background: yellow;
}