.language-switcher {
  position: relative;
  display: inline-block;
  font-family: Inter, "Noto Sans", "Noto Sans SC", "Noto Sans KR", "Noto Sans JP", system-ui, sans-serif;
}

.language-switcher summary {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid #ffffff45;
  border-radius: 9px;
  background: #07111db8;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 24px #07111d26;
}

.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover { border-color: #ff8b70; background: #152436e6; }
.language-switcher summary:focus-visible { outline: 3px solid #ff5b3540; outline-offset: 2px; }
.language-switcher summary img { display: block; width: 100%; height: 100%; object-fit: contain; }

.language-switcher nav {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 142px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
  background: white;
  box-shadow: 0 16px 42px #07111d33;
}

.language-switcher nav a {
  display: block;
  padding: 9px 11px;
  border-radius: 7px;
  color: #263548;
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher nav a:hover { background: #fff2ee; color: #d94322; }
.language-switcher nav a[aria-current="true"] { background: #fff2ee; color: #d94322; font-weight: 700; }

