.sc-opts { margin-top: 12px; padding: 12px 16px; }
.sc-opts summary { cursor: pointer; font-weight: 600; }
.sc-opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.sc-opt-grid .field { margin: 0; }

.sc-file { display: grid; grid-template-columns: 200px 1fr; gap: 18px; margin-top: 14px; align-items: start; }
.sc-file img { width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); }
.sc-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.sc-zoom-hint { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; font-size: .75rem;
                background: rgba(0, 0, 0, .65); color: #fff; pointer-events: none; }
.sc-zoom { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0;
           background: rgba(0, 0, 0, .88); overflow: auto; }
.sc-zoom::backdrop { background: rgba(0, 0, 0, .6); }
.sc-zoom img { display: block; margin: 0 auto; cursor: zoom-in; }
.sc-zoom.fit img { max-width: 100%; max-height: 100vh; object-fit: contain; margin-top: 0; }
.sc-zoom:not(.fit) img { max-width: none; cursor: zoom-out; }
.sc-zoom-close { position: fixed; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
                 background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.1rem; cursor: pointer; z-index: 2; }
.sc-zoom-tip { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px;
               background: rgba(0, 0, 0, .6); color: #fff; font-size: .8rem; white-space: nowrap; pointer-events: none; }
.sc-file-side { min-width: 0; }

.sc-verdict { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--radius-sm); }
.sc-verdict b { font-size: 1.15rem; }
.sc-verdict span { font-size: .88rem; }
.sc-verdict.ok { background: var(--ok-soft); color: var(--ok); }
.sc-verdict.warn { background: var(--gold-soft); color: var(--gold); }
.sc-verdict.bad { background: var(--bad-soft); color: var(--bad); }

.sc-checks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sc-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; }
.sc-checks i { font-style: normal; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: #fff; margin-top: 2px; }
.sc-checks .ok i { background: var(--ok); }
.sc-checks .warn i { background: var(--gold); }
.sc-checks .bad i { background: var(--bad); }
.sc-checks .info i { background: var(--muted); }
.sc-checks b { display: block; font-weight: 600; }
.sc-checks small { color: var(--muted); word-break: break-word; }

.sc-facts { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .9rem; }
.sc-facts th, .sc-facts td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sc-facts th { width: 40%; font-weight: 400; color: var(--muted); }
.sc-facts td { word-break: break-all; }

.sc-warn { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--gold-soft);
           border: 1px solid var(--gold); font-size: .9rem; }
.sc-warn > b { color: var(--gold); font-size: 1rem; }
.sc-warn ul { margin: 6px 0 0; padding-left: 20px; }
.sc-warn li { margin: 2px 0; }
.sc-disclaim { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--gold); }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; text-decoration: underline; }

@media (max-width: 640px) {
  .sc-opt-grid, .sc-file { grid-template-columns: 1fr; }
  .sc-thumb { order: 2; }
  .sc-file img { max-height: 220px; }
}
