/* Haven Island: piece grids and group tabs, the pop-up, piece facts and sources, level tables, the park box, the Treasure Cube and the Shop; prisoners' tiles and cards. */
.hv-grid{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}
a.hv-tile{padding:10px 6px;gap:6px;align-content:start}
.hv-tile .pa-pic{width:72px;height:72px;box-sizing:border-box;padding:3px;border:2px solid var(--iq, var(--border));border-radius:10px;background:var(--surface-2)}
.hv-tile strong{font-size:.82rem;line-height:1.2;overflow-wrap:anywhere}
.hv-tile small{font-size:.72rem}
a.hv-piece,.hv-good{border-color:color-mix(in srgb,var(--iq, var(--border)) 60%,var(--border));background:color-mix(in srgb,var(--iq, var(--surface)) 13%,var(--surface))}
a.hv-piece:hover{background:color-mix(in srgb,var(--iq, var(--surface)) 22%,var(--surface))}
.hv-group[hidden]{display:none}
.hv-subtabs{margin:12px 0 4px}
.hv-shop{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}
.hv-good{display:grid;justify-items:center;text-align:center}
.hv-good .hv-price{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.hv-cube-link{margin:16px 0}
.hv-tabs a.hv-tile[aria-current=true]{border-color:var(--iq, var(--accent));background:color-mix(in srgb,var(--iq, var(--accent)) 18%,var(--surface));box-shadow:0 0 0 2px var(--iq, var(--accent))}
.hv-cards>.hv-card{scroll-margin-top:16px;margin:12px 0}
.hv-cards:not([data-js]):not(:has(:target))>.hv-card:not(:first-child){display:none}
.hv-cards:not([data-js]):has(:target)>.hv-card:not(:target){display:none}
.hv-card .pa-head{margin-bottom:12px}
.hv-card .pa-costline,.hv-work{margin:0 0 10px}
.hv-help{margin:12px 0}
.hv-help p{margin:0 0 8px}
.hv-help p:last-child{margin-bottom:0}
.hv-facts{display:grid;gap:2px;margin:8px 0 12px}
.hv-get{padding-inline-start:18px;margin:0 0 12px;display:grid;gap:6px}
.hv-attrs{list-style:none;padding:0;margin:0;display:grid;gap:2px}
.hv-cname{font-size:.85rem}
.hv-item{white-space:normal}
.hv-item>*{vertical-align:middle}
.hv-table td{vertical-align:middle}
.hv-table td .pa-cost+.pa-cost{margin-inline-start:10px}
.hv-cube{display:flex;gap:16px;align-items:center;margin:8px 0 12px}
.hv-cube p{margin:0 0 6px}
.hv-q{font-size:.7em;font-weight:400}
.fs-tabs,.fs-seasons{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.fs-tab,.fs-season{display:inline-flex;gap:8px;align-items:center;padding:5px 14px;border:2px solid var(--border);border-radius:99px;background:var(--surface);color:inherit;font:inherit;font-weight:600;cursor:pointer}
.fs-tab{padding-inline-start:6px}
.fs-tab img{width:32px;height:32px;object-fit:contain}
.fs-tab[aria-pressed=true],.fs-season[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,var(--surface))}
.hv-dialog .tree-title{--iq: var(--iq1)}
.hv-dialog .tree-title>span{color:var(--iq)}
.hv-table td.hv-item{text-align:start}
.hv-levels{width:100%}
.hv-levels th,.hv-levels td{text-align:end;white-space:nowrap}
.hv-levels th:first-child,.hv-levels td:first-child{text-align:start}
.hv-levels th.bp-wrap{white-space:normal}
.hv-levels td{vertical-align:middle}
.hv-btable{width:100%}
.hv-btable th.bp-wrap{white-space:normal;min-width:6em;text-align:end}
.hv-btable th.pa-group{text-align:center}
.hv-park{display:flex;gap:16px;align-items:flex-start;margin:20px 0;border:2px solid var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
.hv-park>div{flex:1;min-width:0}
.hv-park p{margin:0 0 8px}
.hv-park-head{font-weight:700;font-size:1.1rem}
.hv-park-pic img{width:72px;height:72px;object-fit:contain}
.hv-park-up{color:var(--accent)}
@media(max-width:480px){.hv-park-pic{display:none}}
.hv-levels .pa-cost{display:flex;justify-content:flex-end}
.hv-src{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 10px;vertical-align:middle}
.hv-fact{display:inline-flex;align-items:center;gap:6px}
.fs-intro{display:flex;gap:16px;align-items:flex-start;margin:0 0 16px}
.fs-intro .pa-pic{flex:0 0 auto}
.fs-sibs{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 16px;font-weight:600}
.fs-sib-here{color:var(--accent)}
.fs-stars{letter-spacing:.05em;color:var(--gold)}
.fs-kind{display:flex;gap:12px;align-items:center;margin:0 0 12px;padding:12px}
.fs-group[hidden]{display:none}
.fs-tile[hidden]{display:none}
.fs-roles{display:grid;gap:16px}
.fs-role{padding:16px}
.fs-pop{display:grid;gap:8px}
.fs-pop-head{display:flex;gap:12px;align-items:center}
