/* Shared bilingual analytics controls, independent of page typography. */
.analytics-consent { position: fixed; z-index: 1000; bottom: 20px; left: 20px; width: min(520px, calc(100vw - 40px)); box-sizing: border-box; padding: 24px; border: 1px solid #38566b; border-radius: 12px; background: #112532; color: #edf3f8; box-shadow: 0 12px 40px #0007; font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.analytics-consent[hidden], .analytics-consent [hidden] { display: none !important; }
.analytics-consent h2, #pal-post .analytics-consent h2 { font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: 0; color: #edf3f8; margin: 0 0 10px; }
.analytics-consent p, #pal-post .analytics-consent p { font-size: 15px; line-height: 1.65; color: #bfd0dd; margin: 0 0 12px; }
.analytics-consent a { font-size: 13px; color: #80ded9; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; gap: 12px; margin-top: 18px; }
.analytics-consent button { flex: 1; min-height: 44px; padding: 10px 16px; border: 1px solid #60818f; border-radius: 7px; background: #1a3343; color: #edf3f8; font: 600 14px/1.5 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; cursor: pointer; }
.analytics-consent button.analytics-allow { background: #55dcd3; border-color: #55dcd3; color: #09151f; }
.analytics-consent button:hover { filter: brightness(1.12); }
.analytics-settings { padding: 0 24px 24px; text-align: center; }
.analytics-settings button { background: transparent; border: 0; padding: 10px; color: #a9bfcd; font: 400 13px/1.5 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.analytics-consent :is(button,a):focus-visible, .analytics-settings button:focus-visible { outline: 2px solid #f5ca7a; outline-offset: 4px; }
@media (max-width: 600px) { .analytics-consent { max-height: calc(100dvh - 32px); overflow-y: auto; bottom: 16px; left: 16px; width: calc(100vw - 32px); padding: 20px; } }
