/* Arrest hub, stages (chapter folds, first/idle switch), felons and Contraband Search. */
.ar-stages{position:relative}
.ar-stages>input{position:absolute;opacity:0;pointer-events:none}
.ar-switch{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.ar-switch label{padding:6px 14px;border:2px solid var(--border);border-radius:99px;background:var(--surface);cursor:pointer;font-weight:600}
#ar-first:checked~.ar-switch label[for=ar-first],#ar-idle:checked~.ar-switch label[for=ar-idle]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,var(--surface))}
#ar-first:focus-visible~.ar-switch label[for=ar-first],#ar-idle:focus-visible~.ar-switch label[for=ar-idle]{outline:2px solid var(--accent);outline-offset:2px}
#ar-first:checked~.ar-ch .ar-i,#ar-idle:checked~.ar-ch .ar-f{display:none}
.ar-note{margin:0 0 12px;font-size:.85rem}
.ar-ch{margin:0 0 8px}
.ar-ch>summary{cursor:pointer;padding:8px 4px}
.ar-ch>summary img,.ar-fl img{vertical-align:middle;border-radius:50%}
.ar-sf{font-size:.85rem}
.ar-t{width:100%}
.ar-t th,.ar-t td{text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums}
.ar-t th:first-child,.ar-t td:first-child{text-align:start}
.ar-t th img{display:block;margin:0 0 2px auto}
.ar-t th small{display:block;font-weight:400;color:var(--muted);white-space:normal}
.ar-t td.ar-it{text-align:start;white-space:normal}
.ar-t td.ar-it a,.ar-t td.ar-it span{margin-inline-end:8px}
.ar-fl{display:inline-flex;align-items:center;gap:6px;color:inherit}
.ar-sum td,.ar-sum th{vertical-align:middle}
.ar-sk>span{display:inline-flex;align-items:center;gap:8px}
.ar-heads{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.ar-heads a{display:block;border:2px solid var(--border);border-radius:50%;overflow:hidden;width:48px;height:48px;background:var(--surface-2);line-height:0}
.ar-heads a[aria-current=page]{border-color:var(--accent)}
.ar-heads img{display:block;width:44px;height:44px;object-fit:cover}
.ar-felon{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:16px;align-items:start}
.ar-felon>.hv-card{min-width:0}
.ar-body{position:sticky;top:12px;margin:0;text-align:center;background:#1a1410}
.ar-body.is-live{background:transparent}
.ar-body>input{position:absolute;opacity:0;pointer-events:none}
.ar-body .ar-switch{justify-content:center}
.ar-body .ar-switch label{padding:5px 12px;font-size:.9rem}
#ar-cover:checked~.ar-switch label[for=ar-cover],#ar-uncover:checked~.ar-switch label[for=ar-uncover],#ar-lens:checked~.ar-switch label[for=ar-lens]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,var(--surface))}
#ar-cover:focus-visible~.ar-switch label[for=ar-cover],#ar-uncover:focus-visible~.ar-switch label[for=ar-uncover],#ar-lens:focus-visible~.ar-switch label[for=ar-lens]{outline:2px solid var(--accent);outline-offset:2px}
.ar-body img{display:block;width:100%;height:auto;max-height:80vh;object-fit:contain}
#ar-cover:checked~.ar-uncover,#ar-uncover:checked~.ar-cover{display:none}
.ar-body:not(.is-live) .ar-live-only,.ar-body.is-live img{display:none}
.ar-body canvas{display:block;width:100%;aspect-ratio:var(--ar-aspect,1/3);max-height:80vh;max-width:calc(80vh * var(--ar-ratio,.34));margin-inline:auto;cursor:pointer;touch-action:manipulation}
.ar-body canvas:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#ar-lens:checked~canvas{cursor:crosshair;touch-action:none}
.ar-body figcaption{margin-top:6px;font-size:.85rem;color:var(--muted)}
.ar-ch>summary .muted{margin-inline:6px;font-weight:400}
.ar-skill{display:flex;gap:10px;align-items:flex-start;margin:0 0 12px}
.ar-skill img{flex:none}
.ar-lv th,.ar-lv td{text-align:end;white-space:nowrap}
.ar-lv th:first-child,.ar-lv td:first-child,.ar-lv th.ar-buff,.ar-lv td:nth-child(2),.ar-lv td:nth-child(3){text-align:start}
.ar-cost{white-space:nowrap}
.ar-chips{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;vertical-align:middle}
.ar-old{display:flex;gap:10px;align-items:center;margin:12px 0 0}
.ar-old img{flex:none;border-radius:8px}
.ar-search{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.ar-st{display:flex;gap:16px;align-items:flex-start;scroll-margin-top:16px}
.ar-st-pic{flex:none;width:120px}
.ar-st-pic img{width:120px;height:120px;object-fit:contain}
.ar-st-name{margin:0 0 6px;font-size:1.15rem}
.ar-st-name .muted{margin-inline-end:8px}
.ar-obj{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.ar-obj img{width:44px;height:44px;object-fit:contain;border-radius:8px;background:var(--surface-2)}
.ar-replay{font-size:.85rem}
@media(max-width:760px){.ar-felon{grid-template-columns:1fr}
.ar-body{position:static}
.ar-body img,.ar-body canvas{max-height:60vh}
.ar-body canvas{max-width:calc(60vh * var(--ar-ratio,.34))}}
@media(max-width:640px){.ar-st{flex-direction:column;align-items:center;text-align:center}
.ar-obj{justify-content:center}
.ar-st .pa-costline{justify-content:center}}
