#ocsee-shell .ocsee-language { position: relative; flex: 0 0 auto; }
#ocsee-shell .ocsee-language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 50px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(12px);
  color: #171717;
  font: 700 10px/1 Inter, Arial, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
#ocsee-shell .ocsee-language-trigger:hover { background: #fff; transform: translateY(-2px); }
#ocsee-shell .ocsee-language-trigger[aria-expanded=true] { border-color: #97124e; background: #fff; color: #97124e; }
#ocsee-shell .ocsee-language-trigger svg { width: 18px; height: 18px; flex: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#ocsee-shell .ocsee-language-trigger:focus-visible,
#ocsee-shell .ocsee-language-option:focus-visible { outline: 3px solid #97124e; outline-offset: 3px; }
#ocsee-shell .ocsee-language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: -52px;
  z-index: 3;
  width: min(290px, calc(100vw - 32px));
  max-height: min(480px, calc(100dvh - 94px));
  overflow: hidden;
  border: 1px solid #e2d8d0;
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: 0 18px 52px rgba(38, 24, 30, .18);
  color: #252024;
  font-family: Inter, Arial, sans-serif;
  animation: ocsee-language-enter .24s cubic-bezier(.22, 1, .36, 1) both;
}
#ocsee-shell .ocsee-language-menu[hidden] { display: none; }
#ocsee-shell .ocsee-language-heading { display: grid; gap: 4px; padding: 19px 20px 15px; border-bottom: 1px solid #ece3db; }
#ocsee-shell .ocsee-language-heading span { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
#ocsee-shell .ocsee-language-heading small { color: #6d6362; font-size: 11px; font-weight: 400; }
#ocsee-shell .ocsee-language-options { max-height: min(404px, calc(100dvh - 170px)); overflow-y: auto; overscroll-behavior: contain; padding: 7px; scrollbar-color: #c6b5bc transparent; scrollbar-width: thin; }
#ocsee-shell .ocsee-language-option { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; color: #30292b; text-align: left; font: 500 12px/1.3 Inter, Arial, sans-serif; cursor: pointer; transition: background .15s ease; }
#ocsee-shell .ocsee-language-option:hover { background: #f7f0ed; }
#ocsee-shell .ocsee-language-option[aria-pressed=true] { background: #f3e4e9; color: #75123f; font-weight: 700; }
#ocsee-shell .ocsee-language-tag { display: grid; place-items: center; width: 26px; height: 22px; flex: none; border-radius: 5px; background: #efe7e2; color: #6c5a5f; font-size: 9px; font-weight: 700; letter-spacing: .02em; }
#ocsee-shell .ocsee-language-option[aria-pressed=true] .ocsee-language-tag { background: #e7cad6; color: #75123f; }
#ocsee-shell .ocsee-language-name { flex: 1; min-width: 0; }
#ocsee-shell .ocsee-language-option::after { content: ''; width: 14px; height: 14px; flex: none; opacity: 0; background: #97124e; -webkit-mask: url('/h5/icons/check.svg') center/contain no-repeat; mask: url('/h5/icons/check.svg') center/contain no-repeat; }
#ocsee-shell .ocsee-language-option[aria-pressed=true]::after { opacity: 1; }
body.is-night #ocsee-shell .ocsee-language-trigger { background: rgba(26, 26, 31, .82); color: #f5f2ea; border-color: rgba(245, 242, 234, .22); }
body.is-night #ocsee-shell .ocsee-language-trigger[aria-expanded=true] { background: #fffdfa; color: #97124e; }
@keyframes ocsee-language-enter { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 600px) { #ocsee-shell .ocsee-language-trigger { width: 44px; } #ocsee-shell .ocsee-language-menu { right: -50px; } }
@media (max-width: 360px) { #ocsee-shell .ocsee-language-trigger { gap: 3px; } #ocsee-shell .ocsee-language-trigger svg { width: 17px; height: 17px; } }
@media (prefers-reduced-motion: reduce) { #ocsee-shell .ocsee-language-menu { animation: none; } #ocsee-shell .ocsee-language-trigger, #ocsee-shell .ocsee-language-option { transition: none; } }
