body { padding-bottom: var(--analytics-consent-space, 0px); }
.analytics-preferences { margin-top: 12px; text-align: right; }
.analytics-settings { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: 400 .8125rem/1.5 NotoJP,sans-serif; text-decoration: underline; text-underline-offset: .25em; }
.analytics-consent { position: fixed; z-index: 150; bottom: 12px; left: 50%; transform: translateX(-50%); width: min(760px,calc(100% - 24px)); max-height: calc(100svh - 24px); overflow: auto; padding: 20px 24px; color: var(--text); background: #03172d; border: 1px solid #56759a; box-shadow: 0 12px 48px #0006; font-family: NotoJP,sans-serif; }
.analytics-consent h2 { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; font-weight: 600; }
.analytics-consent-copy { font-size: .875rem; line-height: 1.8; }
.analytics-consent-detail { margin-top: 8px; color: #bdcce0; font-size: .8125rem; line-height: 1.75; }
.analytics-consent-details {margin-top:4px;font-size:.8125rem;color:#bdcce0}
.analytics-consent-details summary {min-height:44px;display:list-item;align-content:center;cursor:pointer;color:#b2d5ff;text-decoration:underline;text-underline-offset:.2em}
.analytics-consent a { color: #b2d5ff; text-decoration: underline; text-underline-offset: .2em; }
.analytics-consent-status { color: #bdcce0; font-size: .8125rem; margin-top: 6px; }
.analytics-consent-status:empty { display: none; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.analytics-consent-actions button { min-height: 44px; min-width: 120px; padding: 10px 18px; border: 1px solid #86b8ee; background: #082443; color: #f0f6ff; font-size: .875rem; line-height: 1.5; }
.analytics-consent-actions button:is(:hover,:focus-visible) { background: #153b66; }
@media (max-width: 620px) { .analytics-preferences {text-align:left} .analytics-consent {padding:16px} .analytics-consent-actions {gap:10px} .analytics-consent-actions button {flex:1;min-width:110px} }
