/* TabiJapan · tabijapan.com */
#tj .hrt .gtranslate_wrapper {
  display:flex;
  align-items:center
}

#tj .hrt #gt_float_wrapper {
  position:static!important;
  z-index:auto!important
}

#tj .hrt .gt_float_switcher {
  font-family:inherit;
  font-size:12px;
  line-height:14px;
  border-radius:9px;
  background:rgba(10,7,16,.55);
  color:#fff;
  border:1.5px solid rgba(255,255,255,.28);
  box-shadow:none;
  overflow:visible;
  position:relative
}

#tj .hrt .gt_float_switcher:hover {
  border-color:#ff4d6d
}

#tj .hrt .gt_float_switcher .gt-selected {
  background:transparent;
  border-radius:9px
}

#tj .hrt .gt_float_switcher .gt-selected .gt-current-lang {
  padding:7px 7px 7px 9px;
  color:#fff;
  font-weight:700;
  letter-spacing:.05em;
  display:flex;
  align-items:center;
  gap:5px
}

#tj .hrt .gt_float_switcher img {
  width:18px;
  margin:0;
  border-radius:2px
}

#tj .hrt .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
  top:0
}

#tj .hrt .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
  height:12px;
  width:10px;
  background-size:9px;
  filter:invert(1);
  transform:rotate(0deg)
}

#tj .hrt .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow.gt_arrow_rotate {
  transform:rotate(-180deg)
}

#tj .hrt .gt_float_switcher .gt_options {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:190px;
  max-height:min(60vh,420px);
  background:#140d1f;
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.6);
  transform:translateY(-6px)
}

#tj .hrt .gt_float_switcher .gt_options:not(.gt-open) {
  visibility:hidden;
  pointer-events:none
}

#tj .hrt .gt_float_switcher .gt_options.gt-open {
  transform:none
}

#tj .hrt .gt_float_switcher .gt_options a {
  color:#e9e3f5;
  padding:8px 12px;
  font-size:13px
}

#tj .hrt .gt_float_switcher .gt_options a:hover {
  background:#BC002D;
  color:#fff
}

#tj .hrt .gt_float_switcher .gt_options::-webkit-scrollbar-track {
  background:#140d1f
}

@media(max-width:600px) {
  #tj .hrt .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    display:none
  }
  #tj .hrt .gt_float_switcher .gt-selected .gt-current-lang {
    padding:7px
  }
}
