@media (max-width:1200px), (max-height:600px){
  body {
	background-image: none !important;   /* Hide Miku if browser not big enough */
  }
}

@media (min-height:984px){
  body {
	background-size: auto auto !important;  /* Don't scale Miku if the browser has enough height */

  }
}

body {
        background: #FFF;
        background-image:
                url("https://media.8kun.top/file_dl/e7643955a1cc7e52e884624f6ab2231a2708b63e4680aa25273fb5980f0046f7.png");
        background-size: auto 90%;
        background-position: top right;
        background-repeat: no-repeat;
        background-attachment: fixed;
}

div.banner {
        background-color: #FF2592;
}
img.banner,img.board_image {

        border: 0px solid #a9a9a9;
}

form table tr th {
        background: #6FAAAE;
}
table tbody tr:nth-of-type( even ) {
	background: #B8D8D9;
}
div.post.reply {
        background: #B8D8D9;     /* Edited by /hover/ */
        border-color: #2B8F9F;
        max-width: 94%!important;
}

div.post.reply.highlighted {
        background: #B1D1D3;
        border-color: #FF2592;
}

hr {
        border-top: 1px solid #B7C5D9;
}

a,a:visited {
        color: #50586B;
}

a:hover,p.intro a.post_no:hover {
        color: #F51450;
}

h1 {
        font-family: sans-serif;
}

header div.subtitle,h1 {
        color: #FF2592;
}

h2 {
        color: #FF2592;
}

div.banner,div.banner a {
        color: #F3F7FA;
}

div.banner a:hover {
        color: #A8AEBC;
}

.unimportant.board-settings {
        color: #2B8F9F;
}

p.intro span.subject {
        color: #50586B;
}

p.intro span.name {
        color: #2B8F9F;
}

p.intro span.capcode,p.intro a.capcode,p.intro a.nametag {
        color: #F51450;
}

span.trip {
        color: #006582;
}

p.intro a.email span.name {
        color: #50586B;
}

p.intro a.email:hover span.name {
        color: #F51450;
}

div.post.reply div.body {
        color: #000;
}

div.post.reply div.body a {
        color: #F51450;
}

span.quote {
        color: #FF2592;
}

span.spoiler {
        background: #50586B;
        color: #50586B;
}

span.spoiler:hover,div.post.reply div.body span.spoiler:hover a {
        color: #F3F7FA;
}

div.boardlist {
        color: #000;  /* Edited by /hover/ */
}

div.boardlist a {
        text-decoration: none;
        color: #000;  /* Edited by /hover/ */
}

span.public_ban {
        color: #F51450;
}

div.blotter {
        color: #F51450;
}

.desktop-style div.boardlist:nth-child(1) {
        box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
        background-color: #8FBABE;  /* Edited by /hover/ */
}

.theme-catalog div.thread {
        background: rgba(190, 216, 218, 0.75);
        border: 2px solid rgba(43, 143, 159, 0.5);
        color: #000;
}

.theme-catalog div.thread:hover {
        background: #7DB1B5;
        border-color: #FF2592;
}

.theme-catalog div.thread img {
        float: none!important;
        box-shadow: 0 0 6px rgba(0,0,0,0.55);
        border: 2px solid rgba(153,153,153,0);
}

#options_handler, #alert_handler {
        color: #50586B;
}

#options_background, #alert_background {
        background: #50586B;
        opacity: 0.8;
}

#options_tablist {
        border-right: 1px solid #50586B;
}

.options_tab_icon {
        color: #50586B;
}

.options_tab_icon.active {
        color: #FF2592;
}

div.post.op hr {
        border-color: #D9BFB7;
}

div.post_modified {
        margin-left: 1.8em;
}

div.post_modified div.content-status {
        color: #2B8F9F;
}

div.module,
div.ban {
        background: #75CFC5;
}

div.ban p,div.ban h2 {
        padding: 3px 7px;
}

div.ban h2 {
        background: #2B8F9F;
        color: #50586B;
}

span.heading {
        color: #FF2592;
}

div.post.reply div.body span.spoiler a {
        color: #50586B;
}

div.pages {
        color: #50586B; /*Might wanna lower the numbers for links and text to make it more readable*/
        background: #B8D8D9; /*Changed color*/
        border-right: 1px solid #2B8F9F;
        border-bottom: 1px solid #2B8F9F;
}

/* Edited by /hover/ Lapidapi*/
div.post.reply {
        background: #B8E6E8;
        border-color: #2B8F9F;
        max-width: 94%!important;
}

div.post.reply.highlighted {
        background: #C1F1F0;
        border-color: #FF2592;
}

form table tr th {
        background: #6FBCC8;
}

.desktop-style div.boardlist:nth-child(1) {
        box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
        background-color: #6FBCC8;
}

#options_div, #alert_div {
        background-color: #A8D6D8;
        border: 1px solid #2B8F9F;
}

div.pages {
        color: #50586B;
        background: #B8E6E8;
        border-right: 1px solid #2B8F9F;
        border-bottom: 1px solid #2B8F9F;
}

table tbody tr:nth-of-type( even ) {
	background: #A8D6D8;
}

span.detected {
    background: none;
    color: inherit;
    padding: 0px;
}

/* Custom Emojis */

/* a -> gakupo */
img[class="emoji"][alt="🇦"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989271076.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* b -> gumi */
img[class="emoji"][alt="🇧"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989302631.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* c -> ia */
img[class="emoji"][alt="🇨"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989349672.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* d -> kaito */
img[class="emoji"][alt="🇩"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989426330.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* e -> len */
img[class="emoji"][alt="🇪"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989503597.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* f -> lily */
img[class="emoji"][alt="🇫"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989556666.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* g -> luka */
img[class="emoji"][alt="🇬"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989581677.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* h -> meiko */
img[class="emoji"][alt="🇭"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989629384.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* i -> miku */
img[class="emoji"][alt="🇮"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989721896.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* j -> rin */
img[class="emoji"][alt="🇯"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989869521.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* k -> teto */
img[class="emoji"][alt="🇰"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990197272.png)no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* l -> yukari */
img[class="emoji"][alt="🇱"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990307416.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* m -> yukaboard */
img[class="emoji"][alt="🇲"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457988056276.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* n -> negi */
img[class="emoji"][alt="🇳"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457988160237.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* o -> neru */
img[class="emoji"][alt="🇴"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989852924.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* p -> haku */
img[class="emoji"][alt="🇵"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989333737.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* q -> pmp */
img[class="emoji"][alt="🇶"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457988221602.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* r -> ryuto */
img[class="emoji"][alt="🇷"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990036425.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* s -> cul */
img[class="emoji"][alt="🇸"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457988973619.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* t -> miki */
img[class="emoji"][alt="🇹"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989653926.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* u -> yuki */
img[class="emoji"][alt="🇺"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990375525.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* v -> kiyoteru */
img[class="emoji"][alt="🇻"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989461246.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* w -> iroha */
img[class="emoji"][alt="🇼"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989407025.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* x -> ritsu */
img[class="emoji"][alt="🇽"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989909430.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* y -> ruko */
img[class="emoji"][alt="🇾"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989941143.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* z -> tei */
img[class="emoji"][alt="🇿"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990149991.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 11:30 -> lapis */
img[class="emoji"][alt="🕦"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989482255.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 11:00 -> sasara */
img[class="emoji"][alt="🕚"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990110522.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 10:30 -> iku */
img[class="emoji"][alt="🕥"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989377232.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 10:00 -> yufu */
img[class="emoji"][alt="🕙"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990266852.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 9:30 -> defoko */
img[class="emoji"][alt="🕤"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990219831.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 9:00 -> momo */
img[class="emoji"][alt="🕘"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457989792005.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 8:30 -> onion */
img[class="emoji"][alt="🕣"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1461619785042.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 8:00 -> carrot */
img[class="emoji"][alt="🕗"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1461619770883.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 7:30 -> miko */
img[class="emoji"][alt="🕢"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1462234421460.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 7:00 -> mayu */
img[class="emoji"][alt="🕖"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1462599810723.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 6:30 -> piko */
img[class="emoji"][alt="🕡"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1462599594577.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 6:00 -> rion */
img[class="emoji"][alt="🕕"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1462599732544.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 5:30 -> oliver */
img[class="emoji"][alt="🕠"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1462600012757.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 5:00 -> seeu */
img[class="emoji"][alt="🕔"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1462599793349.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 4:30 -> zunko */
img[class="emoji"][alt="🕟"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1477775967409.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 4:00 -> maki */
img[class="emoji"][alt="🕓"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1477776851205.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 3:30 -> haruka nana */
img[class="emoji"][alt="🕞"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1521543769560.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 3:00 -> reserved */

/* 2:30 -> macne nana */
img[class="emoji"][alt="🕝"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1521543802238.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 2:00 -> aoi */
img[class="emoji"][alt="🕑"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1525138251949.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 1:30 -> akane */
img[class="emoji"][alt="🕜"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1525138265845.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 1:00 -> sad miku */
img[class="emoji"][alt="🕐"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1526310516054.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 12:30 -> akari */
img[class="emoji"][alt="🕧"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1527648027257.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* 12:00 -> kiritan (last clock emoji) */
img[class="emoji"][alt="🕛"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1534363105903.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* chainsaw */
img[class="emoji"][alt="👶"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457997088587.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* baguette */
img[class="emoji"][alt="👦"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457987975941.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* jii */
img[class="emoji"][alt="👧"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1548052186817.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* miku dayo */
img[class="emoji"][alt="👱"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1548052168032.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* tako luka */
img[class="emoji"][alt="👨"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457990136199.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* append miku */
img[class="emoji"][alt="👩"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1485084015915.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* brs */
img[class="emoji"][alt="👴"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1457988908072.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* cat miku */
img[class="emoji"][alt="👵"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1469401206407.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* golden rin */
img[class="emoji"][alt="🙍"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1485083720765.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}
/* seyana */
img[class="emoji"][alt="🙎"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1553992759142.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* dayone */
img[class="emoji"][alt="🙅"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1556169439651.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* mini elu */
img[class="emoji"][alt="🙆"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1548111420876.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}

/* sad teto */
img[class="emoji"][alt="💁"] {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(https://media.8kun.top/static/custom-flags/miku/1563028166256.png) no-repeat;
    width: 16px;
    height: 16px;
    padding-left: 16px;
}
