#godMode { margin-top: 32px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
#godMode .experiment-category { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.god-mode > header, .experiment-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#godMode > header { flex-wrap: wrap; }
#godMode > header > div { flex: 1; min-width: 130px; }
.god-mode h3 { white-space: nowrap; }
.god-mode h3 { margin: 4px 0; }
#godModeCount { font-size: 12px; color: var(--muted); white-space: nowrap; }
.experiment-notice { margin: 16px 0; padding: 12px 14px; background: var(--panel); color: var(--muted); border-left: 3px solid var(--accent); border-radius: 4px; font-size: 12px; line-height: 1.6; }
.god-mode-toolbar { display: grid; grid-template-columns: minmax(0,2fr) minmax(120px,1fr); gap: 14px; margin: 20px 0; }
.experiment-category { margin-top: 20px; }
.experiment-category h4 { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 600; }
.experiment-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; min-width: 0; }
.experiment-option > label { display: flex; align-items: center; gap: 12px; margin: 0; min-width: 0; cursor: pointer; }
.experiment-option strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.experiment-option small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; margin-top: 2px; }
.experiment-option input[role="switch"] { appearance: none; width: 34px; height: 20px; min-height: 20px; border-radius: 12px; padding: 2px; background: var(--line); border: 1px solid var(--muted); flex-shrink: 0; cursor: pointer; }
.experiment-option input[role="switch"]::before { content: ''; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--panel-solid); transition: transform .12s ease; }
.experiment-option input[role="switch"]:checked { background: var(--accent); }
.experiment-option input[role="switch"]:checked::before { transform: translateX(13px); }
.experiment-option input[role="switch"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.experiment-option button { flex-shrink: 0; }
.experiment-option button:disabled { opacity: .4; cursor: not-allowed; }
.experiment-dialog { width: min(860px,calc(100vw - 32px)); max-height: 88vh; overflow: auto; padding: 24px; color: var(--text); background: var(--panel-solid); border: 1px solid var(--line); border-radius: 8px; }
.experiment-dialog h3 { font-size: 20px; margin: 4px 0; }
.experiment-dialog header small { color: var(--muted); font-size: 12px; }
.experiment-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 20px 0; }
.experiment-form > label { min-width: 0; margin: 0; }
.experiment-form > label:has(textarea), .experiment-form > .experiment-notice, .experiment-form-actions { grid-column: 1 / -1; }
.experiment-form-actions { display: flex; justify-content: flex-end; }
.experiment-table-wrap { max-width: 100%; overflow: auto; margin: 16px 0; }
.experiment-table { border-collapse: collapse; width: 100%; font-size: 12px; }
.experiment-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 90px; overflow-wrap: anywhere; }
.experiment-table tr:first-child { font-weight: 600; }
.experiment-total { font-weight: 600; font-variant-numeric: tabular-nums; }
#experimentStatus { font-size: 12px; color: var(--muted); line-height: 1.5; }
body.experiment-large-text .view { font-size: 18px; }
body.experiment-large-text .view label, body.experiment-large-text .view button, body.experiment-large-text .view input { font-size: 16px; }
body.experiment-high-contrast { --muted: #424242; --line: #777; }
body[data-appearance="dark"].experiment-high-contrast { --muted: #e0e0e0; --line: #aaa; }
body.experiment-reduced-motion *, body.experiment-reduced-motion *::before, body.experiment-reduced-motion *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
@media (max-width: 600px) {
  .god-mode-toolbar { grid-template-columns: minmax(0,1fr); }
  .experiment-dialog { padding: 16px; }
  .experiment-form { grid-template-columns: minmax(0,1fr); }
}
