.w-100{width:100%}.pos-absolute{position:absolute}.pixelated{image-rendering:'pixelated'}.flex-column{flex-direction:column}.align-items-center{align-items:center}

/*global and common*/
* {
  box-sizing: border-box;
}
html,body{
  height: 100%;
  margin: 0;
  padding: 0;
}
html, body {
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
      /*font-family: sans-serif;*/
      overflow: hidden;
    }
.h-100{height: 100%}.w-100{width: 100%;}
.ov-auto{overflow:auto}.ov-hidden{overflow:hidden}.ov-visible{overflow:visible}
.relative{position: relative}.absolute{position: absolute;}.fixed{position:fixed}
.d-inline-flex{display: inline-flex}.d-block{display:block}.d-flex{display: flex;}.d-grid{display: grid;}.d-none{display: none;}
.justify-content-end{justify-content:flex-end}.justify-content-between{justify-content:space-between}.align-items-center{align-items:center}.justify-content-center{justify-content:center}
.m-0{margin:0}
.mt-2{margin-top:calc(1rem * 0.5)}
.mr-1{margin-right:calc(1rem * 0.25)}.mr-2{margin-right:calc(1rem * 0.5)}.mb-2{margin-bottom:calc(1rem * 0.5)}.mb-3{margin-bottom:calc(1rem * 0.75)}.mb-4{margin-bottom:calc(1rem * 1)}.my-3{margin-bottom:calc(1rem * 0.75);margin-top:calc(1rem * 0.75)}.mr-auto{margin-right:auto}
.py-2{padding-top:calc(1rem * 0.5);padding-bottom:calc(1rem * 0.5);}.px-2{padding-left:calc(1rem * 0.5);padding-right:calc(1rem * 0.5)}.p-2{padding:calc(1rem * 0.5)}.px-16{padding:0 16px}
.no-tap{-webkit-tap-highlight-color:transparent}    
.pointer{cursor:pointer}
.text-center{text-align:center}

.prevent-select {
  -moz-user-select: none; /* Safari */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

/* states */
.is--authorized .js-unauthorized {
    display: none;
}
body:not(.is--authorized) .js-authorized {
    display: none;
}


/* default styles */
.default-btn-style {
  padding: 6px 12px;
  border: 0;
  box-shadow: 0 0 1px 0px;
  border-radius: 4px;
  color: #1f1f1f;
  font-weight: bold;
  font-size: 0.8rem;
}
.default-btn-style:hover {
  background: #e8e8e8;
  cursor: pointer;
}

.material {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}


canvas {
  image-rendering: pixelated;
}
.game-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #181818;
  overflow: hidden;
}
.spin {
  -webkit-animation:spin 4s linear infinite;
  -moz-animation:spin 4s linear infinite;
  animation:spin 4s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(-360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(-360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(-360deg); 
        transform:rotate(-360deg); 
    } 
}

.inner-container {
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.inner-ui {
  padding: 1rem;
}
.ui {
  position: absolute;
  background: white;
  height: 100%;
  width: 100%;
  right: -100%;
  transition: 250ms;
  z-index: 1;
}
.ui.active {
  right: 0;
}
.ui-block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
}

.ui-bottom {
  position: absolute;
  background: white;
  height: 30px;
  width: 100%;
  bottom: -30px;
  transition: 250ms;
}
.ui-bottom.active {
  bottom: 0;
}

.ui-top, .ui-top-fixed {
  position: absolute;
  background: white;
  height: 30px;
  width: 100%;
  top: -30px;
  transition: 250ms;
}
.ui-top.active, .ui-top-fixed {
  top: 0;
}


.ui-top-fixed {
  background: #101010;
  color: white;
  height: 40px;
}

.window-body.loaded .ui-block {
  animation: test 300ms forwards;
}
.window-body {
  height: 100%;
  overflow: auto;
}

.panel-content > div {
    position: relative;
    transform: translateY(10px);
    opacity: 0;
}
.window-body.loaded .panel-content > div {
    animation: test2 250ms forwards;
    animation-timing-function: ease-out;
}


.blog-dialogue.loaded #js-loader-indicator {
 display: none; 
}

@keyframes test { 
  99% { 
      transform: scale(.7);
      opacity: 0;
      left: 0px;
  }
  100% { 
      left: 100%;
  } 
}

@keyframes test2 { 
  100% { 
    transform: translateY(0);
    opacity: 1;
  } 
}

    
    
    
    
.window-v2 {
  background: grey;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.window-v2.--hidden {
  display: none;
}
.window-v2 .__inner {
  display: grid;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.window-v2 .__content {
  background: white;
  height: 232px;
  width: 365px;
  max-width: 100%;
  max-height: 100%;
}


#js-txt-dialogue {
  position: absolute; z-index: 1; font-size: 13px; left: 55px; right: 55px; display: grid; gap: 0.3rem; opacity: 0.8; font-weight: bold; line-height: 1.2rem;
}

  
  
  
  
/*components*/
modal-v2, modal-default-v1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
modal-v2:not(.active), modal-default-v1:not(.active) {
  height: 0;
}
modal-v2.active, modal-default-v1.active {
  height: 100%;
}



/* section game dialogue*/
.btn-info {
    background: #161616;
    padding: 0.4rem 0.9rem;
    color: white;
    min-width: 50px;
    /* text-align: revert; */
    border-radius: 4px;
    position: relative;
    top: 1.6rem;
    /* transform: rotate(-2deg); */
    /* left: 0; */
    font-size: 0.8rem;
    justify-content: flex-end;
    /* display: flex; */
    border: 1px solid #f7eeff;
}


.chat-title {
  /*background: dodgerblue;*/
  padding: 0.5rem 1rem;
  color: white;
  min-width: 50px;
  text-align: center;
  border-radius: 1rem;
  position: relative;
  top: 1.6rem;
  transform: rotate(-2deg);
  /* left: 0; */
  font-size: 0.8rem;
}
.game-dialogue .modal {
  background: none;
}
.game-dialogue .dialogue-content, .blog-dialogue .dialogue-content {
  background: #f3ead9;
  border-radius: 0.5rem;
}
modal-default-v1.common-dialogue .modal {
  background: #323232;
}
.common-dialogue .dialogue-content {
  background: #ededed;
}
.game-dialogue .toggler-icon {
  border: 0;
  background: none;
  border-radius: 50%;
  transition: 250ms;
  /* cursor: pointer; */
  font-size: 0.8rem; 
  width: auto; 
  /* height: 30px; */
  box-sizing: border-box;
  opacity: 0.6;
  font-style: italic;
  /* color: white; */
}
        
        
        
/* section posts */
.post-container {margin-bottom:1rem}
.outer-thumbnail {
  height: 42px;
  width: 42px;
}
.post__date {
    opacity: 0.7;
    margin-top: 0.2rem;
    display: inline-block;
}
.post__summary:not(.is-shown) {
  display: none;
}
.post__summary.is-shown {
    padding: 1rem;
    background: #f9f9f9;
    word-break: break-word;
    line-height: 1.4rem;
    position: relative;
    font-size: 0.95rem;
    border-radius: 5%;
    color: #1e1e1e;
}

.post {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px;
  margin-bottom: 7px;
  /* border-bottom: 1px solid #e3e3e3; */
}

.thumbnail {
  width: 100%;
  height: 100%;
}

.post a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}


/* chat dialogue modal */
[data-name="game-dialogue-v2"] {
    top: auto;
    bottom: 0;
    height: auto!important;
    z-index: 1;
}
[data-name="game-dialogue-v2"] .modal {
  border: 2px solid black;
}


/* # container toolbar */
.container-toolbar {
  border-radius: 0 8px 0 0;
  border-top: 1px solid;
  border-right: 1px solid;
    
  & img {
    width: 28px;
  }
  & button {
    background: none;
    border: 0;
    padding: 0.5rem 0.5rem;
  }
  & button:hover {
    cursor: pointer;
    background: #e1e1e1;
  }
}