:root {
    --gridPoseHeight: 320px;
    --gridPoseWidth: 216px;
}

#chika {
    position: absolute;
    z-index: 10;
}


#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
}

.yt-container {
    position: absolute;
    z-index: 2;
    width: 60%;
    height: 65%;
    margin-top: 2%;
    margin-left: 20%;
}

.gridWrapper {
    display: grid;
    overflow-y: scroll;
    overflow-x: hidden
}

@font-face {
    font-family: Gothic;
}

* {
	padding: 0px;
	margin: 0px;
    font-family: 'Roboto', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #000 !important; 
    overscroll-behavior: none; 
    touch-action: pan-x pan-y pinch-zoom !important;
    overflow: auto !important;
}

body[app="coordinator"] {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body[app="eso"] {
    overflow: auto;
}

.snowLayer {
    background-size: 100% 100%;
    background-position: center;
}

.snowball {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    background-position: center;

    background-size: 50px 50px;
    background-repeat: no-repeat;
    transition: all 0.4s ease-in-out;
}

.snowballBreak {
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 450px 450px;
}

.snowball .circleAnim {
    animation: circle 2s ease-in-out;
}

.class_fadein {
    animation: m_fadein linear;
    animation-fill-mode: forwards;
}

.class_fadeout {
    animation: m_fadeout linear normal forwards;
    animation-fill-mode: forwards;
}

@keyframes m_fadein {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes m_fadeout {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes circle {
    0% {
        transform:rotate(0deg) transform(0%) rotate(0deg);
  
    }
    100% {
        transform: rotate(90deg) transform(40%) rotate(-90deg);
    }
}

.fullsize {
	width: 100%;
	height: 100%;
}

.layer {
	position: absolute;
    width: 100%;
	height: 100%;
    overflow: hidden;
}

.background {
	width: 100%;
    height: 100%;
    margin: auto;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.layer[top="1"] {
    z-index: 2;
}

.layer[bg="1"] {
    margin: auto;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.character {
	position: absolute;
	width: 100%;
	height: 100%;
    background-size: auto 100%;
    background-position: 50% 100%;
    background-repeat: no-repeat;
	transition: transform 1s ease-in-out;
}

.character-transition-ghost {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto 100%;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    z-index: 5; 
    opacity: 1;
    transition: opacity 0.2s ease-in-out; 
    pointer-events: none; 
}

.character-transition-ghost.fading {
    opacity: 0;
}

.screens {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    overflow: hidden; 
    pointer-events: none; 
}


.screens > * {
    pointer-events: auto;
}
body[screenmode="fixed16x9"] .background, body[screenmode="fixed16x9"] .screens {
	position: absolute;
	width: 1920px;
    height: 1080px;
	top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.move-screen {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.chat {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
    overflow: hidden;
}

.messages-wrapper {
    position: absolute;
    width: 100%;
    bottom: 32px;
    bottom: 1.7em;
    margin-bottom: 0px;
}

.messages-wrapper .messages {
	position: relative;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
    scrollbar-width: none;
}

.messages::-webkit-scrollbar {
    display: none;
}
.messages::-webkit-scrollbar-thumb {
    display: none;
}
.messages::-webkit-scrollbar-track {
    display: none;
}

.messages .msg {
    word-wrap: break-word;
	font-size: 1.5em;
    display: block;
    padding: 0em 0.5em;
    width: 94%;
    max-width: 94%;
    text-shadow: 1.5px 1.5px 0 #000;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    animation-fill-mode: forwards;
}

.chat-history-window .messages .msg {
    background: transparent;
}

.msg a {
    color: #e9b627;
    text-decoration: underline;
}

.chat .input {
	background-color: rgba(0,0,0,0.75);
    position: absolute;
    bottom: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
}

.chat .title {
    font-size: 28px;
    line-height: 32px;
    color: #ffdd7d;
    text-shadow: 2px 2px 0 #000;
    padding: 0 0 0 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.chat .input input {
	width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: rgba(0,0,0,0);
    border: 0;
    padding: 0 5px;
    color: #ffdd7d;
    text-shadow: 2px 2px 0 #000;
    font-size: 1.5em;
}

.chat input:focus {
    outline: none;
    border: 0;
}

.chat .input input::-webkit-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}
.chat .input input:-ms-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}
.chat .input input::-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}
.chat .input input:-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
    font-family: 'Roboto', sans-serif;
}

.chat .yt-icon {
    display: inline-block;
    width: 1em;
}

.chat .chat-track-title {}

.chat .chat-track-title:hover {
    color: blue;
}


.leaf {
    position: absolute;
    right: 0%;
    top: 16%;
    width: 34px;
    height: 34px;
    z-index: 2;
}

.chat-history-window {
    width: 90%;
    height: 80%;
}

.context-menu-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    max-height: 70%;
    z-index: 2;
}

.context-menu {
    width: max-content;
    height: auto; 
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 50%;
    left: 50%;
    text-shadow: 2px 2px 0px #000;
    transform: translate(-50%, -50%);
}

.context-menu .button {
    font-weight: bold;
    display: inline-block;
    width: 150px;
    height: 24px;
    padding-top: 72px;
    font-size: 1.3em;
    text-align: center;
    background-repeat: no-repeat;
    background-size: 62px 62px;
    background-position: 50% 0px;
    transition: all 0.1s;
}


.context-menu .button:hover {
    filter: brightness(120%);
    transform: scale(1.1);
}

.context-menu-wrapper-old {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.context-menu-old {
    width: max-content;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    top: 50%;
    left: 50%;
    font-size: 1.5em;
    line-height: 1.9em;
    color: rgba(255,221,125,1);
    text-shadow: 2px 2px 0px #000;
    transform: translate3d(-50%, -50%, 0);
    z-index: 5;
}

.context-menu-old .button {
  
	display: block;
    padding-left: 48px;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 4px 50%;
	transition: all 0.1s;
}

.context-menu-old .button:hover {
	background-size: auto 48px;
    background-position: 0px 50%;
	filter: brightness(120%);
	padding-left: 52px;
    padding-right: 0px;
}

.context-menu-old .button:before {
    margin-top: 20px;
}

.context-info-top-bar {
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent);
    height: 18%;
    z-index: 3;
    margin: 0;
    padding: 0;

}

.context-info-inner-wrapper {
    padding-top: 1%;
    padding-left: 1%;
    padding-right: 1%;
    top: 0;
    left: 0;
    height: 100%;
    display: grid;
    grid-template-rows: min-content min-content;
    grid-template-columns: min-content 1% min-content 1% auto 20% min-content;
    grid-template-areas: 
    "clockbar gap-one metainfo-bar gap-two infobar-first-filler player-title-bar player-control-bar"
    "shit-1 shit-2 shit-3 shit-4 infobar-second-filler shit-6 rp-controls";
}

/* harold.jpg */
.shit-1 {}
.shit-2 {}
.shit-3 {}
.shit-4 {}
.shit-5 {}
.shit-6 {}

.infobar-gap-1 {
    grid-area: gap-one;
}

.infobar-gap-2 {
    grid-area: gap-two;
}

.infobar-gap-3 {
    grid-area: gap-three;
}

.infobar-center-filler {
    grid-area: infobar-first-filler;
}

.infobar-left-filler {
    grid-area: infobar-second-filler;
}

.clock-info-bar {
    grid-area: clockbar;
    font-size: 1.9em;
}

.metainfo-bar {
    font-size: 1.4em;
    grid-area: metainfo-bar;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
}

.player-title-bar {
    grid-area: player-title-bar;
    font-size:  1.5em;
}

.player-title-bar marquee {
    width: 100%;
}

.player-control-bar {
    grid-area: player-control-bar;
    height: 2em;
    display: grid;
    grid-template-columns: auto auto auto auto;
}

.rp-control-bar {
    grid-area: rp-controls;
    display: grid;
    grid-template-columns: auto auto auto auto;
    width: min-content;
}

.rp-control-bar .infobar-controls-icon {
    width: 2.5em;
    height: 2.5em;
}

.infobar-controls-icon {
    width: 2em;
    height: 2em;
    background-size: cover;
    margin-right: 0.5em;
}

.infobar-controls-icon:hover {
    filter: brightness(120%);
    transform: scale(1.1);
}

.map {
    position: absolute;
	left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.map .counter {
    position: relative;
    text-shadow: 2.4px 2.4px 0 #000;
    font-size: 1.6em;
    padding-top: 0.7%;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.map .counter .inner-text {
    margin-right: 0.7%;
}

.map .mappoint {
	position: absolute;
    width: 64px;
    height: 64px;
    background-color: rgba(255, 0, 0, 0);
    border: solid rgba(0,0,0,0) 2px;
    box-shadow: 0px 0px 10px rgba(255,0,0,0);
    border-radius: 8px;
    transition: all 0.1s;
}

.map .mappoint:hover {
    background-color: rgba(255, 0, 0, 0.1);
    border: solid #ff0000 2px;
    box-shadow: 0px 0px 10px rgba(255,0,0,1);
}

.map .mappoint .point {
    width: 32px;
    height: 32px;
	margin: auto;
	margin-top: -15px;
    background-color: #F00;
    box-shadow: inset 0px 0px 0px 2px #FFF;
    border-radius: 50%/2% 50% 50% 50%;
    transform: rotate(215deg);
}

.map .mappoint .point::before{
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    content: attr(online);
    transform: rotate(-225deg);
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #FFF;
    font-weight: 600;
    text-shadow: 2px 2px 0px #F00;
}

.pose-selector {
    width: 70%;
    height: 400px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: auto;
    transform: translate3d(-50%, -50%, 0);
}

.startscreen .pose-selector {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: relative;
    transform: none;
    top: 0%;
    left: 0%;
    margin: auto;
}

.startscreen .header {
    width: 100%;
    height: 10%;
    position: relative;
    display: grid;
}

.header input {
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    border-bottom: 2px solid;
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 12pt;
    margin: 1.5% auto;
    outline: none;
    width: min-content;
    width: 100%;
    position: absolute;
    z-index: 2;
}

.char-search-bar {
    margin-top: 1%;
    place-self: center;
    width: 19% !important;
    height: 40%;
    font-size: 12pt;
    text-align: center;
}

.char-grid {
    left: 50%;
    display: grid;
    overflow-y: scroll;
    overflow-x: hidden;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-row-gap: 30px;
}

.pose-selector::-webkit-scrollbar {
    display: none;
}

.pose-selector .pose {
    width: 100%;
    height: 320px;
    background-size: auto 100%;
    background-position: 50% 0%;
    display: inline-block;
    filter: brightness(50%);
    transition: filter 0.1s;
    margin: 30px auto 30px auto;
    background-repeat: no-repeat;
    
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 1;
}

.pose .char-info-button {
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 0;
    right: 15%;
    filter: brightness(50%);
    opacity: 0.5;
}

.pose:hover .char-info-button {
    opacity: 1;
    filter: brightness(100%);
}


.pose-selector .pose:hover {
	filter: brightness(100%);
}

.grecaptcha-badge {
    visibility: hidden;
}

.character-editor {
	width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.character-editor .recaptcha-text {
    position: absolute;
    color: white;
    margin: 10px;
}

.recaptcha-text a {
    color: white;
}

.character-editor .pose-selector {
	background-color: unset;
    box-shadow: unset;
}

.character-editor .settings_title {
	position: absolute;
    width: 100%;
    text-align: center;
    top: 93px;
    font-size: 60px;
    line-height: 60px;
    letter-spacing: 2.6px;
    color: #FFF;
}

.character-editor .settings_title img {
    margin: 0 20px;
    transform: translateY(5px);
}

.character-editor .settings_link {
    font-size: 60px;
    letter-spacing: 2.6px;
    color: #909ca3;
    user-select: none;
    text-shadow: 2px 2px 0 #000;
}

.character-editor .gui-wrapper {
    position: absolute;
    bottom: 4%;
    height: max-content;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.character-editor .buttons-box {
    width: 96%;
    height: max-content;
    margin: 0 2% 0 2%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.character-editor .link_lb {
}

.character-editor .link_center {
}

.character-editor .link_rb {
}

.character-editor .settings_link .link_lb:hover {
    color: #ffffff;
}
.character-editor .settings_link .link_rb:hover {
    color: #ffffff;
}

.character-editor .settings_link .link_center:hover {
    color: #ffffff;
}

.character-editor .charbg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: 50% 0;
    transform: translateX(-30%) translateZ(0); 
    -webkit-transform: translateX(-30%) translateZ(0);
}

.pose-selector-mini {
    width: max-content;
    max-width: 100%;
    height: unset;
    text-align: center;
}

.pose-selector-mini .pose {
    width: 128px;
    height: 180px;
}


.pose-selector .pose .face-grid {
    display: grid;
}

.pose-selector .pose .face-wrapper {
    display: inline-flex;
    flex-direction: column;
    height: 100%;
}

.pose-selector .pose .face {
    background-size: auto 600%;
    opacity: 0;
    transition: opacity 0.1s;
	transition: opacity 0.1s;
    background-repeat: no-repeat;
}

.pose-selector .pose:hover .face {
	opacity: 0.75;
}

.pose-selector .pose .face:hover {
	opacity: 1;
}

.pose-selector .title {
    background-size: auto 100%;
    background-repeat: no-repeat;
    padding-left: 32px;
    width: 300px;
    font-size: 28px;
    line-height: 32px;
    height: 32px;
    color: #ffdd7d;
    text-align: left;
    text-shadow: 2px 2px 0 #000;
    margin-top: 16px;
}

.pose-selector input {
	display: block;
    width: 500px;
    height: 40px;
    background-color: rgba(0,0,0,0);
    border: 0;
    text-align: center;
    color: #ffdd7d;
    text-shadow: 2px 2px 0 #000;
    font-size: 35px;
}

.pose-selector .inputfield {
	background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid white;
    width: 300px;
}

.pose-selector input::-webkit-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}
.pose-selector input:-ms-input-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}
.pose-selector input::-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}
.pose-selector input:-moz-placeholder {
	color: #ffdd7d;
	opacity: 0.25;
}

.pose-selector .title span {
	position: absolute;
}

.pose-selector .title input {
	width: 300px;
    height: 32px;
    opacity: 0;
    position: absolute;
}

#notify {
	max-width: 768px;
    height: auto;
    padding: 10px 20px;
    background-color: rgba(0,0,0,0.75);
    box-shadow: 0 0 20px 20px rgba(0,0,0,0.75);
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 28px;
    line-height: 28px;
    color: rgba(255,221,125,1);
    text-shadow: 2px 2px 0px #000;
}

.fade {
	position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
	animation-name: show;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
.fadein {
	animation-name: hide;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}
.fadeout {
	animation-name: show;
    animation-duration: 0.5s;
	transition: unset !important;
}

@keyframes show {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes hide {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
@keyframes hidetext {
    0% {transform:translateX(0px); opacity: 1;}
    100% {transform:translateX(-100%); opacity: 0;}
}
@keyframes redAlert {
    0% {background-color: rgba(255,0,0,1);}
    100% {background-color: rgba(255,0,0,0);}
}

.context-menu .context-flex-window {
    width: 100%;
    height: 100%;
    display: flex;
}

.context-flex-window .context-flex-container {
    display: flex;
}

.settings-window {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    user-select: none;
}

.settings-window .settings-container {
    width: 100%;
    height: min-content;
    display: flex;
    justify-content: center;
}

.settings-container .settings-title {
    font-size: 1.5em;
}

.settings-container .progress-bar {
    background: transparent;
    margin-left: 10px;
}

.settings-container .icheckbox {
    margin-left: 10px;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
}

.settings-container .icheckbox-checked {
    box-shadow: inset 0 0 10px #454030;
}

input[type=range] {
  -webkit-appearance: none;
  width: 30%;
}
input[type=range]:focus {
  outline: none;
}


.brightness10 .character {
    filter: brightness(10%);
}
.brightness20 .character {
    filter: brightness(20%);
}
.brightness30 .character {
    filter: brightness(30%);
}
.brightness40 .character {
    filter: brightness(40%);
}
.brightness50 .character {
    filter: brightness(50%);
}
.brightness60 .character {
    filter: brightness(60%);
}
.brightness70 .character {
    filter: brightness(70%);
}
.brightness80 .character {
    filter: brightness(80%);
}
.brightness90 .character {
    filter: brightness(90%);
}
.brightness100 .character {
    filter: brightness(100%);
}

.brightness10 .glow {
    filter: brightness(20%) drop-shadow(0px 0px 10px #FFF);
}
.brightness20 .glow {
    filter: brightness(30%) drop-shadow(0px 0px 10px #FFF);
}
.brightness30 .glow {
    filter: brightness(40%) drop-shadow(0px 0px 10px #FFF);
}
.brightness40 .glow {
    filter: brightness(50%) drop-shadow(0px 0px 10px #FFF);
}
.brightness50 .glow {
    filter: brightness(60%) drop-shadow(0px 0px 10px #FFF);
}
.brightness60 .glow {
    filter: brightness(70%) drop-shadow(0px 0px 10px #FFF);
}
.brightness70 .glow {
    filter: brightness(80%) drop-shadow(0px 0px 10px #FFF);
}
.brightness80 .glow {
    filter: brightness(90%) drop-shadow(0px 0px 10px #FFF);
}
.brightness90 .glow {
    filter: brightness(100%) drop-shadow(0px 0px 10px #FFF);
}
.brightness100 .glow {
    filter: brightness(110%) drop-shadow(0px 0px 10px #FFF);
}
.glow {
    filter: brightness(110%) drop-shadow(0px 0px 10px #FFF);
}

.context-menu .title {
    display: block;
    width: 400px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 4px 50%;
}

.context-menu .radio {
    display: inline-block;
    text-align: center;
    width: 50%;
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 4px 50%;
    transition: all 0.1s;
}

.context-menu .radio:hover {
    transform: scale(1.1);
}

.context-menu .checked {
    color: #92ff00;
    transform: scale(1.1);
}

.context-menu .hbar {
	-webkit-appearance: none;
	display: block;
	background: linear-gradient(0deg, rgba(100,165,68,1) 0%, rgba(191,238,128,1) 100%), linear-gradient(0deg, rgba(207,153,101,1) 0%, rgba(157,105,69,1) 100%);
	background-size: 10% 100%, 100% 100%;
	background-repeat: no-repeat;
	width: 250px;
	float: right;
	height: 24px;
	transform: translateY(5px);
	margin-top: 10px;
}

.context-menu .help {
	width: 140px;
	display: inline-block;
	text-align: right;
}

.context-menu .hbar::-webkit-slider-thumb{
    -webkit-appearance: none;
    background-size: 100%;
    width: 24px;
    height: 24px;
    border-radius: 0px;
}

.context-menu .hbar::-moz-range-thumb{
    background-size: 100%;
    width: 24px;
    height: 24px;
	border: 0;
    border-radius: 0px;
}

.spritepacks {
}

.spritepacks .pack {
    text-align: left;
    display: inline-block;
    width: 380px;
    height: 140px;
    transition: all 0.1s;
}

.spritepacks .pack img {
    position: absolute;
    display: inline-block;
    width: 128px;
    height: 128px;
    margin: 6px;
}

.spritepacks .pack .desc {
    display: inline-block;
    /*font-family: Calibri;*/
    font-size: 25px;
    line-height: 26px;
    position: absolute;
    margin-left: 140px;
    margin-top: 6px;
    width: 240px;
    height: 32px;
    color: #ffdd7d;
    text-align: left;
    text-shadow: 2px 2px 0 #000;
}

.spritepacks .pack .mod_thumbnail {
    position: absolute;
    width: 380px;
    height: 140px;
}

.spritepacks .pack .switch {
    display: inline-block;
    font-size: 25px;
    line-height: 26px;
    position: absolute;
    width: 370px;
    margin-top: 108px;
    text-align: right;
    height: 32px;
    color: #ffdd7d;
    text-align: right;
    text-shadow: 2px 2px 0 #000;
}

@-webkit-keyframes markquee_slide {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    100% {
        -webkit-transform: translate(-100%, 0);
        transform: translate(-100%, 0)
    }
}
 
@-moz-keyframes markquee_slide {
    0% {
        -moz-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    100% {
        -moz-transform: translate(-100%, 0);
        transform: translate(-100%, 0)
    }
}
 
@keyframes markquee_slide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0)
    }
}
 
.marquee {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}
 
.marquee span {
    display: inline-block;
    padding-left: 100%;
    -webkit-animation: markquee_slide 5s infinite linear;
    -moz-animation: markquee_slide 5s infinite linear;
    animation: markquee_slide 5s infinite linear;
}

.mini-img {
    max-height: 64px;
    max-width: 64px;
}

.img-preview {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 49%;
    max-height: 100%;
    z-index:99;
}



@media screen and (max-width: 850px) {
    .context-info-top-bar {
        height: auto !important; 
        min-height: 100px;
        pointer-events: none;
    }
    
    .context-info-inner-wrapper {
        display: block !important; 
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .context-info-inner-wrapper > * {
        pointer-events: auto; 
    }

    
    .clock-info-bar {
        position: absolute !important;
        top: 10px !important;
        left: 15px !important;
        font-size: 1.4em !important;
        grid-area: unset !important;
    }
    
    .metainfo-bar {
        position: absolute !important;
        top: 40px !important;
        left: 15px !important;
        font-size: 1.1em !important;
        grid-area: unset !important;
        white-space: normal !important;
        max-width: 55%;
        line-height: 1.2em;
    }
    
  
    .player-control-bar {
        position: absolute !important;
        top: 10px !important;
        right: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        grid-area: unset !important;
        width: auto !important;
    }
    
    .rp-control-bar {
        position: absolute !important;
        top: 55px !important;
        right: 15px !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        grid-area: unset !important;
        width: auto !important;
    }
    
 
    .infobar-controls-icon, .rp-control-bar .infobar-controls-icon {
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important; 
    }


    .player-title-bar {
        display: none !important; 
    }
    
 
    .infobar-gap-1, .infobar-gap-2, .infobar-gap-3,
    .infobar-center-filler, .infobar-left-filler,
    .shit-1, .shit-2, .shit-3, .shit-4, .shit-5, .shit-6 {
        display: none !important;
    }
}


@media screen and (max-width: 850px) and (orientation: landscape) {
    .context-info-top-bar {
        min-height: 60px;
    }
    .metainfo-bar {
        top: 10px !important;
        left: 100px !important; 
    }
    .player-control-bar {
        top: 5px !important;
        right: 15px !important;
    }
    .rp-control-bar {
        top: 42px !important;
        right: 15px !important;
    }
    .infobar-controls-icon, .rp-control-bar .infobar-controls-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

.pose, .face, .charbg, .inputfield, .character, .button, .msg {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, opacity; 
}


.char-grid, .messages, .historyBox-chatStory, .settings-window, .pose-selector {
    -webkit-overflow-scrolling: touch;
}
