.tsp-china { --tsp-accent: #225588; --tsp-soft: #eaf2fa; }
.tsp-equip { --tsp-accent: #136139; --tsp-soft: #ebf6ed; }
.tsp-global { --tsp-accent: #075d59; --tsp-soft: #eaf6f4; }
#tsp-footer { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 0 14px; max-width: 1216px; margin-inline: auto; padding: 0 16px 8px; background: transparent; color: inherit; }
#tsp-footer.tsp-china { padding-inline: 0; }
#tsp-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.tsp-cookie { display: inline-grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 0; padding: 0; color: var(--tsp-accent); background: transparent; cursor: pointer; position: relative; }
.tsp-cookie::before { content: ''; position: absolute; inset: 5px; border: 1px solid currentColor; border-radius: 50%; background: var(--tsp-soft); }
.tsp-cookie > svg { position: relative; }
.tsp-cookie:hover::before { border-width: 2px; }
.tsp-cookie[hidden], .tc-analytics-choices[hidden], #tsp-preferences[hidden] { display: none !important; }
.tsp-chat-withdrawn #toption-chat-launcher { display: none !important; }
#tsp-preferences { position: fixed; z-index: 9900; inset-inline-start: 16px; inset-block-end: max(20px, env(safe-area-inset-bottom)); width: min(395px, calc(100vw - 32px)); max-height: min(480px, 75vh); overflow-y: auto; box-sizing: border-box; background: #fff; color: #1c2d27; border: 1px solid #cbdcd4; border-top: 3px solid var(--tsp-accent); border-radius: 12px; box-shadow: 0 12px 34px #102f2233; padding: 14px 16px 12px; }
.tsp-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#tsp-preferences h2 { margin: 0; font: inherit; font-weight: 700; font-size: 1rem; color: inherit; }
#tsp-preferences p { margin: 6px 0; font-size: .875rem; line-height: 1.5; }
#tsp-preferences a { color: var(--tsp-accent); text-decoration: underline; }
#tsp-preferences button { min-height: 44px; color: var(--tsp-accent); background: var(--tsp-soft); border: 1px solid currentColor; border-radius: 6px; cursor: pointer; padding: 4px 10px; font: inherit; font-size: .875rem; }
#tsp-preferences .tsp-close { background: none; border: 0; width: 44px; flex: 0 0 44px; font-size: 1.3rem; }
.tsp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-block: 8px; }
.tsp-actions button { flex: 1; }
#tsp-preferences .tsp-status:empty { display: none; }
#tsp-preferences :focus-visible, #tsp-footer :focus-visible { outline: 2px solid var(--tsp-accent); outline-offset: 3px; }
@media (max-width: 640px) { #tsp-preferences { inset-block-end: calc(66px + env(safe-area-inset-bottom)); } }
