.gp-language { position: relative; display: inline-block; color: #151126; font: inherit; }
.gp-language summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .75rem; cursor: pointer; list-style: none; border: 1px solid #E7E2EF; border-radius: .5rem; background: #FFFFFF; }
.gp-language summary::-webkit-details-marker { display: none; }
.gp-language summary:focus-visible, .gp-language a:focus-visible { outline: 2px solid var(--gp-brand, #5B35E8); outline-offset: 3px; }
.gp-language ul { position: absolute; z-index: 1100; inset-inline-end: 0; top: 100%; width: 15rem; max-width: calc(100vw - 2rem); margin: .4rem 0 0; padding: .4rem; list-style: none; border: 1px solid #E7E2EF; border-radius: .5rem; background: #FFFFFF; }
.gp-language li { display: block; margin: 0; padding: 0; }
.gp-language a { display: flex; align-items: center; min-height: 44px; padding: .5rem .75rem; color: #151126; white-space: normal; overflow-wrap: anywhere; }
.gp-language a[aria-current] { color: var(--gp-brand, #5B35E8); background: #F5F1FF; font-weight: 600; }
.gp-language--mobile { display: none; }
.gp-i18n-content { padding: .75rem 1rem; border-inline-start: 3px solid #5B35E8; background: #F5F1FF; color: #151126; }
.gp-auth-shell button, #gptdl-top button { white-space: normal; overflow-wrap: anywhere; height: auto; min-height: 44px; }
.gp-auth-shell input, #gptdl-top input { min-width: 0; max-width: 100%; }
.gp-auth-shell :lang(ja), #gptdl-top:lang(ja) { line-height: 1.6; }
.gp-auth-shell :lang(ko), #gptdl-top:lang(ko) { line-height: 1.6; }
@media (max-width: 991.98px) {
  .gp-language--desktop { display: none; }
  .gp-language--mobile { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) { .gp-language, .gp-language * { transition: none; animation: none; } }

.gp-auth-intro h1, .gp-auth-switch a, #gptdl-top h1, #gptdl-top h2 { overflow-wrap: anywhere; }
.gp-auth-password { flex-wrap: wrap; }
.gp-auth-password button { position: static; transform: none; margin-inline-start: auto; }
.gp-auth-password input { flex-basis: 100%; }
@media (max-width: 480px) { .gp-auth-code { flex-wrap: wrap; } .gp-auth-code button { flex: 1 1 100%; } }
