.usage-notice { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.usage-notice > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 33px; cursor: pointer; list-style: none; }
.usage-notice > summary::-webkit-details-marker { display: none; }
.usage-notice-heading { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.35; }
.usage-notice-heading .claim-icon { color: var(--muted); }
.usage-notice-toggle { flex: none; gap: 6px; }
.usage-notice:not([open]) .notice-when-open, .usage-notice[open] .notice-when-closed { display: none; }
.usage-notice[open] .usage-notice-toggle svg { transform: rotate(180deg); }
.usage-notice-content { margin-top: 12px; color: var(--muted); line-height: 1.7; font-size: 14px; overflow-wrap: anywhere; }
.usage-notice-content p, .usage-notice-content div { margin: 0 0 12px; white-space: pre-line; }
.usage-notice-content ul, .usage-notice-content ol { margin: 0 0 12px; padding-left: 24px; }
.usage-notice-content li { margin: 7px 0; }
.usage-notice-content h3, .usage-notice-content h4 { margin: 16px 0 8px; color: #28394e; }
.usage-notice-content hr { margin: 22px 0; border: 0; border-top: 1px dashed #8792a0; }
.usage-notice-content blockquote { margin: 12px 0; padding-left: 14px; border-left: 3px solid #b4d6f8; }
.usage-notice-content .notice-red { color: #f01818; }
.usage-notice-content .notice-highlight-red { color: #fff; background: #ff1515; padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.usage-notice-content .notice-highlight-green { color: #fff; background: #67c62b; padding: 1px 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.usage-notice-content > :last-child { margin-bottom: 0; }
.frontend-popup[open] { display: flex; flex-direction: column; gap: 16px; width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 20px; }
.frontend-popup > .section-head, .frontend-popup-actions { flex: none; }
.frontend-popup-content { min-height: 0; margin-top: 0; overflow-y: auto; overscroll-behavior: contain; }
.frontend-popup-actions { justify-content: flex-end; }
.frontend-options { gap: 16px; }
.frontend-options label { display: inline-flex; align-items: center; gap: 7px; }
.frontend-options input[type="checkbox"] { width: 16px; height: 16px; min-height: 0; margin: 0; }
.frontend-options select { width: auto; min-width: 120px; }
.frontend-code { font-family: Consolas, "Microsoft YaHei UI", monospace; font-size: 13px; line-height: 1.6; tab-size: 2; resize: vertical; }
.frontend-preview { margin-top: 20px; border-top: 1px solid #e4e9ef; padding-top: 16px; }
.frontend-preview > summary { color: #566475; cursor: pointer; font-weight: 650; }
