/* Same glass, capsule buttons and icon treatment as the site navigation. */
#gs-cookie-ui { font-family:var(--font-primary, Inter),"PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; line-height:1.6; color:#222e3d; }
#gs-cookie-ui *, #gs-cookie-ui *::before, #gs-cookie-ui *::after { box-sizing:border-box; }
#gs-cookie-ui [hidden] { display:none!important; }
#gs-cookie-ui h2, #gs-cookie-ui h3, #gs-cookie-ui p { margin:0; }
#gs-cookie-ui h2 { font-size:18px; line-height:1.5; font-weight:600; letter-spacing:0; }
#gs-cookie-ui h3 { font-size:15px; line-height:1.5; font-weight:600; }
#gs-cookie-ui button, #gs-cookie-ui input { font:inherit; }
#gs-cookie-ui button { cursor:pointer; }
#gs-cookie-ui img { display:block; flex-shrink:0; }
#gs-cookie-ui a { color:#4b5f75; text-decoration:underline; text-underline-offset:3px; }
#gs-cookie-ui a:hover { color:#0077fd; }
#gs-cookie-ui :is(button,a,input,summary):focus-visible { outline:2px solid #0077fd; outline-offset:4px; }
#gs-cookie-ui .gsc-glass { background:rgb(255 255 255 / 80%); border:1px solid #0000000d; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); box-shadow:0 12px 16px -4px #11111114,0 4px 6px -2px #11111108,0 2px 2px -1px #1111110a; border-radius:8px; }
#gs-cookie-ui .gsc-icon { width:40px; height:40px; display:flex; align-items:center; justify-content:center; flex:0 0 40px; border-radius:50%; background:linear-gradient(to bottom in oklab,#4b5f75,#222e3d); }
#gs-cookie-ui .gsc-banner { position:fixed; z-index:100; bottom:max(20px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); width:min(1152px,calc(100% - 48px)); padding:24px 26px; display:grid; grid-template-columns:40px minmax(0,1fr) 290px; align-items:start; gap:18px; max-height:calc(100dvh - 40px); overflow-y:auto; overscroll-behavior:contain; }
#gs-cookie-ui .gsc-banner-content p { margin:7px 0 9px; color:#657282; }
#gs-cookie-ui .gsc-policy-links { display:flex; flex-wrap:wrap; gap:8px 20px; font-size:12px; line-height:1.6; }
#gs-cookie-ui .gsc-banner-actions { padding-top:2px; }
#gs-cookie-ui .gsc-equal-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
#gs-cookie-ui .gsc-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; width:100%; padding:9px 14px; border:1px solid #4b5f75; border-radius:999px; background:transparent; color:#222e3d; font-weight:600; line-height:1.4; }
#gs-cookie-ui .gsc-button:hover { color:#0077fd; border-color:#0077fd; }
#gs-cookie-ui .gsc-primary { background:linear-gradient(to bottom in oklab,#4b5f75,#222e3d); color:#fff; border-color:transparent; box-shadow:0 4px 6px -1px #1111111a,0 2px 4px -2px #1111110f; }
#gs-cookie-ui .gsc-primary:hover { filter:brightness(1.08); color:#fff; border-color:transparent; }
#gs-cookie-ui .gsc-customize { display:flex; align-items:center; justify-content:center; gap:6px; width:100%; min-height:44px; padding:8px 0 0; border:0; background:none; color:#4b5f75; font-weight:500; }
#gs-cookie-ui .gsc-customize img { transform:rotate(-90deg); }
#gs-cookie-ui .gsc-customize:hover { color:#0077fd; }
#gs-cookie-ui .gsc-dialog { position:fixed; inset:0; margin:auto; padding:0; width:min(540px,calc(100% - 48px)); max-width:none; max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); color:#222e3d; overflow:hidden; }
#gs-cookie-ui .gsc-dialog[open] { display:flex; flex-direction:column; }
#gs-cookie-ui .gsc-dialog::backdrop { background:rgb(14 19 26 / 18%); }
#gs-cookie-ui .gsc-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:24px 24px 14px; flex-shrink:0; }
#gs-cookie-ui .gsc-heading { display:flex; align-items:center; gap:12px; min-width:0; }
#gs-cookie-ui .gsc-heading h2:focus { outline:none; }
#gs-cookie-ui .gsc-close { display:flex; align-items:center; justify-content:center; padding:0; width:44px; height:44px; border:0; background:none; border-radius:999px; flex-shrink:0; }
#gs-cookie-ui .gsc-close:hover { background:#4b5f7510; }
#gs-cookie-ui .gsc-dialog-body { padding:0 24px 18px; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#4b5f7580 transparent; }
#gs-cookie-ui #gsc-intro { color:#657282; margin:0 0 18px; }
#gs-cookie-ui .gsc-category { padding:16px 0; border-top:1px solid #4b5f7520; }
#gs-cookie-ui .gsc-category-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#gs-cookie-ui .gsc-category>p { color:#657282; margin:7px 0 8px; font-size:13px; }
#gs-cookie-ui .gsc-always { display:flex; align-items:center; gap:5px; color:#657282; font-size:12px; white-space:nowrap; }
#gs-cookie-ui .gsc-always svg { width:13px; height:13px; }
#gs-cookie-ui .gsc-switch { display:flex; align-items:center; justify-content:center; position:relative; min-width:48px; min-height:44px; cursor:pointer; }
#gs-cookie-ui .gsc-switch input { position:absolute; width:100%; height:100%; margin:0; inset:0; opacity:0; cursor:pointer; }
#gs-cookie-ui .gsc-switch span { width:42px; height:24px; border:1px solid #4b5f7540; border-radius:999px; background:#4b5f751a; pointer-events:none; }
#gs-cookie-ui .gsc-switch span::after { content:""; display:block; width:18px; height:18px; margin:2px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #11111126; }
#gs-cookie-ui .gsc-switch input:checked+span { background:linear-gradient(to bottom in oklab,#4b5f75,#222e3d); border-color:#4b5f75; }
#gs-cookie-ui .gsc-switch input:checked+span::after { transform:translateX(18px); }
#gs-cookie-ui .gsc-switch input:focus-visible+span { outline:2px solid #0077fd; outline-offset:4px; }
#gs-cookie-ui .gsc-category summary { display:flex; align-items:center; gap:5px; min-height:32px; color:#4b5f75; font-size:12px; width:max-content; max-width:100%; cursor:pointer; list-style:none; }
#gs-cookie-ui .gsc-category summary::-webkit-details-marker { display:none; }
#gs-cookie-ui .gsc-category details[open] summary img { transform:rotate(180deg); }
#gs-cookie-ui .gsc-detail { color:#657282; font-size:12px; padding:8px 0 2px; overflow-wrap:anywhere; }
#gs-cookie-ui .gsc-detail p+p { margin-top:6px; }
#gs-cookie-ui .gsc-dialog-footer { padding:16px 24px 20px; border-top:1px solid #4b5f7520; flex-shrink:0; }
#gs-cookie-ui .gsc-dialog-footer .gsc-equal-actions { margin-top:10px; }
#gs-cookie-ui .gsc-retention { margin-top:10px; text-align:center; color:#657282; font-size:12px; }
#gs-cookie-ui .gsc-status { position:fixed; z-index:101; left:50%; transform:translateX(-50%); bottom:max(20px,env(safe-area-inset-bottom)); width:max-content; max-width:calc(100% - 32px); padding:12px 18px; color:#4b5f75; font-size:13px; text-align:center; pointer-events:none; }
.gs-cookie-policy-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 24px; padding:24px; font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif; font-size:14px; }
.gs-cookie-policy-footer a { color:#4b5f75; text-underline-offset:3px; }
@media(max-width:900px) {
  #gs-cookie-ui .gsc-banner { grid-template-columns:40px minmax(0,1fr); gap:12px; }
  #gs-cookie-ui .gsc-banner-actions { grid-column:2; }
}
@media(max-width:600px) {
  #gs-cookie-ui .gsc-banner { width:calc(100% - 24px); bottom:max(12px,env(safe-area-inset-bottom)); padding:18px; grid-template-columns:34px minmax(0,1fr); max-height:calc(100dvh - 24px); gap:10px 12px; }
  #gs-cookie-ui .gsc-icon { width:34px; height:34px; flex-basis:34px; }
  #gs-cookie-ui .gsc-icon img { width:19px; height:19px; }
  #gs-cookie-ui h2 { font-size:16px; }
  #gs-cookie-ui .gsc-banner-content p { font-size:12px; }
  #gs-cookie-ui .gsc-banner-actions { grid-column:1 / -1; padding-top:3px; }
  #gs-cookie-ui .gsc-button { font-size:13px; padding:9px 12px; }
  #gs-cookie-ui .gsc-dialog { inset:auto 12px max(12px,env(safe-area-inset-bottom)); margin:0; width:calc(100% - 24px); max-height:calc(100dvh - 24px); }
  #gs-cookie-ui .gsc-dialog-header { padding:16px 18px 10px; }
  #gs-cookie-ui .gsc-dialog-body { padding:0 18px 14px; font-size:13px; }
  #gs-cookie-ui .gsc-dialog-footer { padding:14px 18px max(16px,env(safe-area-inset-bottom)); }
  #gs-cookie-ui .gsc-retention { font-size:11px; }
}
@media(max-height:400px) {
  #gs-cookie-ui .gsc-dialog-header { padding-top:10px; padding-bottom:6px; }
  #gs-cookie-ui .gsc-dialog-footer { padding-top:8px; padding-bottom:10px; }
  #gs-cookie-ui .gsc-dialog-footer .gsc-equal-actions { margin-top:6px; }
  #gs-cookie-ui .gsc-retention { margin-top:6px; }
}
@media(prefers-reduced-motion:no-preference) {
  #gs-cookie-ui .gsc-button { transition:color .15s,border-color .15s,filter .15s; }
  #gs-cookie-ui .gsc-switch span::after { transition:transform .15s; }
}
