.fishGridItem{position:relative}
.fishRecordStar{position:absolute;right:2px;bottom:2px;width:14px;height:14px;pointer-events:none;filter:drop-shadow(0 1px 1px #000)}
.fishRecordStar svg{display:block;width:100%;height:100%;shape-rendering:crispEdges}
.fishCatchRecord{display:block;margin-top:5px;color:#c7bba5}
.fishNewRecord{display:inline-block;margin-left:10px;color:#e5c56c}
.fishingRecordBook{margin:12px 0;font-size:12px;color:#c7bba5}
.fishingRecordBook summary{cursor:pointer;color:#dfcda5}
.fishingRecordBook dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px 20px;margin:12px 0}
.fishingRecordBook dl>div{display:flex;justify-content:space-between;gap:12px}
.fishingRecordBook dd{margin:0;color:#e8d4a4;font-variant-numeric:tabular-nums}
.fishingLureTargets{margin:6px 0 12px;line-height:1.5}
.fishingSupplyHeading{margin:20px 0 5px;color:#d9caa9}
#shopList .fishingVendorSection{min-width:0;margin:0 0 20px;padding:12px;border:1px solid var(--line);background:var(--panel,#1b1a18)}
#shopList .fishingVendorSection>.fishingSupplyHeading{margin:0 0 10px}
#shopList .fishingRodListings{display:grid;gap:10px;min-width:0}
#shopList .fishingRodListings>.shopRow{margin:0}
.fishingSupplyInfo{cursor:help;touch-action:pan-y}
.fishingSupplyInfo:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.fishingSupplyArt{display:block;width:32px;height:32px;flex:none;object-fit:contain;image-rendering:pixelated;pointer-events:none}
.fishingSupplyTooltip .detailName{display:flex;align-items:center;gap:8px}
.fishingSupplyTooltip .detailName .fishingSupplyArt{width:32px;height:32px}
.fishingSupplyTooltip p{font-size:12px;line-height:1.6;margin:9px 0}
.fishingSupplyTooltip .fishingSupplySpecies{color:#c7bba5}
#shopList .fishingSupplyOffer .vendorItemImage:empty{display:none}
#shopList .fishingSupplyOffer .vendorItemInfo:has(>.vendorItemImage:empty){grid-template-columns:minmax(0,1fr)}
/* Exact 2× native sprites; one aligned purchase column at each listing's end. */
#shopList .fishingSupplyOffer.vendorListing,#shopList .fishingRodOffer.vendorListing{--vendor-art-width:64px;--vendor-art-height:64px;--vendor-purchase-width:216px;grid-template-columns:minmax(0,1fr) var(--vendor-purchase-width);gap:12px 16px;padding:12px 14px}
#shopList .fishingRodOffer.vendorListing{--vendor-art-height:128px}
#shopList .fishingSupplyOffer .vendorItemInfo,#shopList .fishingRodOffer .vendorItemInfo{gap:12px}
#shopList .fishingSupplyOffer .vendorItemImage,#shopList .fishingRodOffer .vendorItemImage{border:0;box-shadow:none;background:transparent}
#shopList .fishingSupplyOffer .fishingSupplyArt{width:64px;height:64px;max-width:none;max-height:none;image-rendering:pixelated}
#shopList .fishingRodOffer .professionArt{width:64px;height:128px;max-width:none;max-height:none;image-rendering:pixelated}
#shopList .fishingSupplyOffer>.actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;justify-self:end}
#shopList .fishingSupplyOffer .vendorPurchaseRow,#shopList .fishingRodOffer .vendorPurchaseRow{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:8px;width:100%}
#shopList .fishingSupplyOffer .vendorPriceBox,#shopList .fishingRodOffer .vendorPriceBox{display:flex;justify-content:flex-end;gap:4px;min-height:0;padding:0;border:0;box-shadow:none;background:none;font-size:14px}
#shopList .fishingSupplyOffer .vendorPriceSlot[aria-hidden="true"],#shopList .fishingRodOffer .vendorPriceSlot[aria-hidden="true"]{display:none}
#shopList .fishingSupplyOffer .vendorBuyButton,#shopList .fishingRodOffer .vendorBuyButton{width:96px;min-height:44px;padding:9px 12px;font-size:14px}
@container(max-width:560px){
 #shopList .fishingSupplyOffer.vendorListing,#shopList .fishingRodOffer.vendorListing{grid-template-columns:minmax(0,1fr)}
 #shopList .fishingSupplyOffer>.actions,#shopList .fishingRodOffer>.vendorPurchaseRow{width:min(100%,var(--vendor-purchase-width));justify-self:end}
}
@media(max-width:600px){.fishNewRecord{margin-left:8px}}
/* Use the layout viewport's edges, including its scrollbar gutter. */
@media(max-width:760px){#detailGroup:has(#detail.fishingSupplyTooltip){left:8px!important;right:8px;width:auto}}

/* Keep the inventory beside the pond edge; setup controls stay above it. */
#fishingPanel .fishingControls{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:8px}
#fishingPanel .fishingControls #fishingStatus{margin:0;font-size:12px}
#fishingPanel .fishingControls .actions{margin:0;gap:6px}
#fishingPanel .fishingControls .fishingLureTargets{flex-basis:100%;margin:0}
#fishingPanel .fishingPondNavigator{margin-top:8px}
#fishingPanel .fishingInventoryToolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:8px 0}
#fishingPanel .fishInventoryHeading{flex:1 1 auto;margin:0;gap:8px}
#fishingPanel .fishInventoryHeading h3{margin:0}
#fishingPanel .fishBulkActions{margin:0;gap:6px}
#fishingPanel .fishBulkActions button{min-height:32px;padding:5px 9px}
#fishingPanel .fishingRecordBook{margin:0}
#fishingPanel .fishingRecordBook[open]{flex-basis:100%;order:1}

#fishingPanel .fishingInventoryTabs{margin:0;gap:6px}
#fishingPanel .fishInventory.fishingSupplyInventory{display:block;min-height:150px;aspect-ratio:auto}
.fishingSupplyCard{display:flex;align-items:stretch;gap:6px;margin:6px;min-width:0}
.fishingSupplyCard>.fishingSupplyInfo{flex:1;min-width:0;text-align:left;display:flex;align-items:center;gap:8px}
.fishingSupplyCard .fishingSupplyName{flex:1;min-width:0;overflow-wrap:anywhere}
.fishingSupplyCard .small{flex:none}
.fishingSupplyCard button{min-height:36px;font-size:12px;padding:6px 8px}
.fishingSupplyCard [aria-pressed="true"]{color:var(--gold);border-color:var(--gold)}
.fishingSupplyEmpty{padding:10px}
