.pt-switcher { box-sizing: border-box; background: #0b3f7a; color: #fff; padding: 25px 20px 20px; }
.pt-bar { width: calc(100vw - 32px); max-width: 1600px; position: relative; left: 50%; transform: translateX(-50%); }
.pt-items { display: flex; align-items: flex-start; gap: 18px; overflow-x: auto; overflow-y: hidden; padding: 12px 4px 8px; scrollbar-width: thin; }
.pt-item { color: #fff !important; text-decoration: none !important; display: flex; flex: 0 0 76px; min-width: 0; flex-direction: column; align-items: center; gap: 9px; font-size: 14px; line-height: 1.2; text-transform: lowercase; }
.pt-flag-wrap { position: relative; display: block; width: 68px; height: 68px; border-radius: 50%; box-shadow: 0 7px 9px #001b3c8a, 0 1px 2px #001b3c; transition: transform .2s ease, box-shadow .2s ease; }
.pt-flag-wrap::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient(ellipse at 29% 18%, #fff9 0%, #fff5 12%, transparent 43%); box-shadow: inset 0 -7px 9px #00142991, inset 0 2px 3px #fff9; }
.pt-flag { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pt-item:hover .pt-flag-wrap, .pt-item:focus-visible .pt-flag-wrap { transform: translateY(-8px) scale(1.1); box-shadow: 0 12px 13px #001b3cb0, 0 1px 2px #001b3c; }
.pt-dropdown { display: inline-block; position: relative; padding: 0; background: transparent; color: inherit; }
.pt-dropdown .pt-current { display: flex; align-items: center; gap: 8px; padding: 7px 10px; cursor: pointer; }
.pt-dropdown .pt-current .pt-flag-wrap { width: 36px; height: 36px; }
.pt-dropdown .pt-items { display: none; position: absolute; z-index: 9999; right: 0; top: 100%; min-width: 220px; max-height: 65vh; overflow: auto; background: #0b3f7a; padding: 12px; box-shadow: 0 6px 18px #0005; }
.pt-dropdown:hover .pt-items, .pt-dropdown:focus-within .pt-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .pt-flag-wrap { width: 56px; height: 56px; } .pt-item { flex-basis: 70px; } }
@media (max-width: 600px) { .pt-bar { padding: 10px; } .pt-items { gap: 10px; } .pt-flag-wrap { width: 48px; height: 48px; } .pt-item { flex-basis: 60px; font-size: 12px; } }

/* 菜单内语言切换（1.1.0） */
.pt-menu-ls { display: flex; align-items: center; gap: 10px; list-style: none; }
.pt-menu-ls .pt-menu-ls-item { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 4px 6px; line-height: 1; }
.pt-menu-ls .pt-menu-ls-item .pt-flag-wrap { width: 20px; height: 20px; box-shadow: none; }
.pt-menu-ls .pt-menu-ls-item .pt-flag-wrap::after { display: none; }
.pt-menu-ls .pt-menu-ls-item:hover .pt-flag-wrap,
.pt-menu-ls .pt-menu-ls-item:focus-visible .pt-flag-wrap { transform: none; box-shadow: none; }
.pt-menu-ls .pt-menu-ls-item.is-current { font-weight: 600; }
@media (max-width: 900px) { .pt-menu-ls { flex-wrap: wrap; justify-content: center; gap: 8px; } }

/* 语言名保持原文大小写（父级容器可能设了 text-transform:lowercase） */
.pt-switcher,.pt-switcher *{text-transform:none!important;}
