body {
  zoom: 0.96;
  transform: scale(0.96);
  transform-origin: top left;
  width: 105%;
  height: 105%;
  overflow: visible;
  margin-left: -5px;
}

@font-face {
  font-family: 'Splatoon1';
  src: url('Splatoon1.otf') format('opentype');
}

@font-face {
  font-family: 'RegularFont';
  src: url('regular.otf') format('opentype');
}

* {
  box-sizing: border-box;
}

.splatnet-sidebar {
  width: 330px;
  background-color: black;
  display: inline-block;
  padding: 0 24px 32px;
  position: relative;
  border-radius: 0;
  z-index: 1;
}

.splatnet-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 30px;
  height: 100%;
  background-image: url('assets/en/svg/ui/bg_menu_right_wave-c8ca7628fe4a702b3985b66f59c365748d266db743ec3a7a7e68211c81c74ec1.svg');
  background-repeat: repeat-y;
  background-size: contain;
  z-index: 2;
}

.splatnet-sidebar::before {
  content: "";
  position: absolute;
  bottom: -48px;
  left: 0;
  width: 345px;
  height: 30px;
  background-image: url('assets/en/svg/ui/bg_menu_bottom_wave-03056ad08bac76d5bf1d0bc2895f30cda65a731d9d69789719da70a084be31cb.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 2;
}

.corner-patch {
  position: absolute;
  bottom: -28px;
  right: -15px;
  width: 360px;
  height: 48px;
  background-color: black;
  z-index: 1;
  border-bottom-right-radius: 20px;
}

.icon-header-logo {
  width: 300px;
  height: 138px;
  margin: 0 auto 10px;
  background-image: url('assets/en/ui-scf41f55f26-b7d4baf19342db013cc20bb9d1dd2bfddc4817ace5a1c86f5e14705cd514311f.png');
  background-position: 0 -1134px;
  background-repeat: no-repeat;
  position: relative;
  display: block;
  z-index: 2;
}

.menu-item {
  position: relative;
  width: 266px; 
  height: 54px; 
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  padding-left: 22px; 
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
  background-image: url('assets/en/ui-scf41f55f26-b7d4baf19342db013cc20bb9d1dd2bfddc4817ace5a1c86f5e14705cd514311f.png');
  background-repeat: no-repeat;
  background-position: 0 -1564px;
}

.menu-item.friend:hover, .menu-item.friend.active { background-position: 0 -1508px !important; }
.menu-item.rank:hover, .menu-item.rank.active { background-position: 0 -1620px !important; }
.menu-item.equipment:hover, .menu-item.equipment.active { background-position: 0 -1452px !important; }
.menu-item.stage:hover, .menu-item.stage.active { background-position: 0 -1676px !important; }

.menu-item img {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.menu-item .icon {
  left: 20px;
  width: 32px;
  height: 32px;
}

.menu-item .label {
  position: absolute;
  left: 62px;
  height: 28px;
  top: 13px; 
  pointer-events: none;
  z-index: 1;
}

.equipment .label {
  height: 62px; 
  left: 60px;
  top: -3px;
}

.menu-item .hover-state {
  display: none !important;
}

.menu-item:hover .default,
.menu-item.active .default {
  display: none !important;
}

.menu-item:hover .hover-state,
.menu-item.active .hover-state {
  display: block !important;
}

.twitterbgbox {
  width: 280px;
  height: 170px;
  background-color: #333333;
  border-radius: 40px;
  margin: 60px auto 0;
  position: relative;
  z-index: 2;
}

.mii-icon-container {
  position: absolute;
  width: 60px;
  height: 60px;
  top: -20px;
  left: -20px;
  background-color: white;
  border-radius: 50%;
  z-index: 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #333333;
}

#mii-img {
  width: 110%;
  height: auto;
  display: none;
}

.twitterbgbox::before {
  display: none;
}

.profile-name-label {
  position: absolute;
  top: 12px;
  left: 48px;
  color: white;
  font-family: 'RegularFont', sans-serif;
  font-weight: normal;
  font-size: 18px;
  z-index: 1;
}

.button-container {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.box-btn {
  width: 85%;
  background-color: #919191;
  color: white;
  border: none;
  padding: 10px 0;
  border-radius: 15px;
  font-family: 'Splatoon1', sans-serif;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.box-btn.twitter-btn { background-color: #00a0f3; }

.btn-icon, .btn-label-img {
  height: 18px;
  filter: brightness(0) invert(1);
}

.lang-options {
  width: 220px;
  margin: 20px auto 0;
  position: relative;
  z-index: 10;
}

.image-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 10px;
  padding: 5px;
  background: transparent;
}

.image-dropdown-toggle img:first-child {
  height: 24px;
}

.dropdown-arrow-icon {
  height: 12px;
}

.image-dropdown-options {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  padding: 10px;
  list-style: none;
  margin: 0;
  width: max-content;
}

.image-dropdown-options.show {
  display: block !important;
  z-index: 9999;
}

.image-dropdown-options li {
  padding: 8px 15px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.image-dropdown-options li:hover {
  opacity: 0.7;
  background-color: #333;
}

.image-dropdown-options img {
  height: 24px;
  display: block;
}

.websiteredirect-link-container {
  margin-top: 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 15px;
  z-index: 2;
}

.websiteredirect-link-container img {
  width: 180px;
  height: auto;
  display: block;
}

.nintylogo-static {
  width: 90px;      
  height: 15px;     
  overflow: hidden; 
  position: relative;
  margin-top: 20px;
  margin-bottom: 0px;
}

.nintylogo-static img {
  width: 180px;     
  height: auto;
  position: absolute;
  top: 0;           
  left: 0;          
}