/* Shared card structure, with the selected theme's own palette. */
body[data-tool=hunteds]{--hunted-line:#b7986d;--hunted-muted:#725334;--hunted-tag-bg:#e8d4b0;--hunted-tag-fg:#644119;--hunted-success:#185724}
html[data-theme=arcana] body[data-tool=hunteds]{--hunted-line:#514366;--hunted-muted:#c4b6d5;--hunted-tag-bg:#39304d;--hunted-tag-fg:#e7d6fc;--hunted-success:#9be1af}
html[data-theme=blue] body[data-tool=hunteds]{--hunted-line:#325c77;--hunted-muted:#b5cede;--hunted-tag-bg:#153448;--hunted-tag-fg:#d0ebff;--hunted-success:#83e2b4}
body[data-tool=hunteds] .hunted-grid{align-items:start;gap:14px}
body[data-tool=hunteds] .hunted-card{padding:14px;gap:0;line-height:1.45}
body[data-tool=hunteds] .hunted-card .hunted-character{min-height:0;margin:12px 0 14px;gap:6px}
body[data-tool=hunteds] .hunted-card .hunted-character strong{font-size:18px;line-height:1.25}
body[data-tool=hunteds] .hunted-card .hunted-character span{font-size:12px;line-height:1.5}
body[data-tool=hunteds] .hunted-card .hunted-prize{padding:10px 0;margin:0 0 8px;font-size:25px;border-color:var(--hunted-line)}
body[data-tool=hunteds] .hunted-card .hunted-death-row{margin:0 0 12px;font-size:12px}
body[data-tool=hunteds] .hunted-death-row strong{display:block;font-size:13px}
body[data-tool=hunteds] .hunted-card>details{flex:0 0 auto;margin:0 0 12px;min-width:0}
body[data-tool=hunteds] .hunted-card>details>summary{display:flex;align-items:center;gap:6px;list-style:none;padding:7px 0;font-size:12px;line-height:1.35;min-height:20px}
body[data-tool=hunteds] .hunted-card>details>summary::-webkit-details-marker{display:none}
body[data-tool=hunteds] .hunted-card>details>summary:before{content:'▸';flex:0 0 9px}
body[data-tool=hunteds] .hunted-card>details[open]>summary:before{content:'▾'}
body[data-tool=hunteds] .hunted-sponsor-count{flex:0 0 auto;margin-left:auto;min-width:20px;text-align:center;border:1px solid var(--hunted-line);border-radius:3px;font-size:11px}
body[data-tool=hunteds] .hunted-sponsor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;margin-top:4px;padding-top:8px;border-color:var(--hunted-line);font-size:12px}
body[data-tool=hunteds] .hunted-sponsor>small{grid-column:1/-1;color:var(--hunted-muted);font-size:11px}
body[data-tool=hunteds] .hunted-card .hunted-coins{gap:4px;vertical-align:middle;white-space:nowrap}
body[data-tool=hunteds] .hunted-card .hunted-coins img{width:18px;height:18px;flex:0 0 18px}
body[data-tool=hunteds] .hunted-card .hunted-prize .hunted-coins img{width:24px;height:24px;flex-basis:24px}
body[data-tool=hunteds] .hunted-claim-split{border-top:1px solid var(--hunted-line);padding-top:12px;margin-top:0}
body[data-tool=hunteds] .hunted-claim-split>h3{margin:0 0 7px;padding:0;background:none;border:0;font-family:inherit;font-weight:700;font-size:13px;line-height:1.4;color:inherit;box-shadow:none}
body[data-tool=hunteds] .hunted-split-list{padding:0;margin:0;list-style:none}
body[data-tool=hunteds] .hunted-split-list>li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:9px 0;border-bottom:1px dashed var(--hunted-line)}
body[data-tool=hunteds] .hunted-split-player{min-width:0;overflow-wrap:anywhere}
body[data-tool=hunteds] .hunted-split-player strong{font-size:12px;font-weight:600;display:block}
body[data-tool=hunteds] .hunted-split-player small{display:block;font-size:11px;color:var(--hunted-muted);margin-top:2px}
body[data-tool=hunteds] .hunted-split-share{text-align:right;font-size:13px;white-space:nowrap}
body[data-tool=hunteds] .hunted-payment-state{display:block;margin-top:3px;font-size:10px;font-weight:600;color:var(--hunted-muted)}
body[data-tool=hunteds] .hunted-payment-state[data-state=paid]{color:var(--hunted-success)}
body[data-tool=hunteds] .hunted-no-share{display:inline-block;padding:2px 6px;background:var(--hunted-tag-bg);color:var(--hunted-tag-fg);border-radius:3px;font-size:11px}
body[data-tool=hunteds] .hunted-card .hunted-split-note{font-size:11px;line-height:1.5;color:var(--hunted-muted);margin:10px 0 0}
body[data-tool=hunteds] .hunted-card>.action{margin-top:2px}

body[data-tool=hunteds] .visit-district{display:block;font-size:11px;line-height:1.5;margin-top:5px;color:var(--hunted-muted)}
body[data-tool=hunteds] .visit-map{display:inline-flex;align-items:center;margin-top:6px;padding:4px 7px;border:1px solid var(--hunted-line);border-radius:3px;font-size:11px;text-decoration:none;line-height:1.4}

body[data-tool=hunteds] .visit-location{min-width:0;overflow-wrap:anywhere}
body[data-tool=hunteds] .visit-provider,body[data-tool=hunteds] .visit-reference{display:block;margin-top:5px;font-size:11px;line-height:1.5}
body[data-tool=hunteds] .visit-extra{margin:6px 0;font-size:11px;line-height:1.5;min-width:0}
body[data-tool=hunteds] .visit-extra summary{cursor:pointer;text-decoration:underline;text-underline-offset:2px}
body[data-tool=hunteds] .visit-extra dl{margin:6px 0}
body[data-tool=hunteds] .visit-extra dl>div{padding:4px 0;border-bottom:1px solid var(--hunted-line)}
body[data-tool=hunteds] .visit-extra dt{font-weight:bold}
body[data-tool=hunteds] .visit-extra dd{margin:0;overflow-wrap:anywhere}
