/* Fleet browser uses the existing wood/brass palette and cached thumbnails. */
#title:has(.bb-browser){width:min(1240px,96vw);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}
#harbor:has(.bb-browser){width:min(1240px,96vw);max-width:96vw}
.bb-browser{margin:14px 0;color:var(--helm-ink,#eee3cb);min-width:0}
.bb-tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.bb-tools label{display:grid;gap:5px;font-size:11px;color:var(--helm-muted,#b5bba9)}
.bb-tools input{width:210px;max-width:100%;box-sizing:border-box}
.bb-tools select{max-width:100%}.bb-tools [data-bb-count]{margin-left:auto;font-size:12px;padding-bottom:10px}
.bb-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.4fr);gap:18px;align-items:start}
.bb-list.boats{display:grid;grid-template-columns:1fr;gap:7px;max-height:660px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:3px 7px 3px 3px;align-content:start;scrollbar-width:thin}
.bb-list .bb-card{display:flex;width:100%;min-width:0;text-align:left;padding:6px;gap:10px;border:1px solid #635340;border-radius:8px;background:#1a241e;color:inherit;box-shadow:none;align-items:center;transform:none;cursor:pointer}
.bb-list .bb-card.sel{border-color:#d1ae6f;background:#303b2d;box-shadow:inset 3px 0 #d1ae6f}
.bb-list .bb-card:hover{background:#2c372b}.bb-list .bb-card:focus-visible{outline:2px solid #efd49b;outline-offset:1px}
.bb-list .bb-card img{width:100px;height:66px;object-fit:contain;margin:0;flex-shrink:0;border-radius:5px;background:#101b19}
.bb-card-text{display:grid;gap:3px;min-width:0;font-size:11px;line-height:1.3}
.bb-card-text b{font-size:13px;overflow-wrap:anywhere}.bb-card-text small{font-size:10px;color:#b6bfaf}
.bb-list .bb-card em{position:static;font-size:10px;font-style:normal;color:#e5c995;background:none;padding:0}
.bb-detail{min-width:0;border:1px solid #806141;border-radius:10px;padding:16px;background:#14201bcf;max-height:660px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.bb-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.bb-heading small{color:#c7b894;font-size:11px}.bb-heading h2{margin:5px 0;font-size:24px}.bb-heading strong{color:#dbc08d;white-space:nowrap}
.bb-detail .bb-hero{display:block;width:100%;height:160px;object-fit:contain;border-radius:8px;margin:10px 0;background:radial-gradient(ellipse at center,#36493b,#15251f 75%)}
.bb-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px;margin:15px 0}
.bb-specs dt{font-size:10px;color:#b6bfad}.bb-specs dd{margin:4px 0 0;font-size:15px;color:#f0d9ab;font-weight:600}
.bb-detail h3{margin:18px 0 8px;font-size:14px;color:#dfc18c}
.bb-note{font-size:11px;line-height:1.55;color:#aeb9a9;margin:9px 0}
.bb-equipment{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px;margin:12px 0 18px;padding-left:17px;font-size:12px;line-height:1.4}
.bb-equipment li::marker{color:#c7a46a}
.bb-access{border:1px solid #7e6947;background:#302c1e;padding:12px;border-radius:8px;margin:12px 0;font-size:12px;line-height:1.5}.bb-access.bb-earned{background:#203a2b;border-color:#648569}.bb-access h3{margin:0 0 6px}.bb-access p{margin:4px 0}
.bb-requirement{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin-top:12px}.bb-requirement small{color:#d3c39d}.bb-requirement progress{width:100%;height:7px;grid-column:1/-1;accent-color:#9fb77e}.bb-requirement p{grid-column:1/-1;font-size:10px;color:#bcbda7}
.bb-choice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;padding:12px 0;border-bottom:1px solid #6c5c3d;color:#cbbf9f;font-size:12px}.bb-choice .bb-status{flex-basis:100%;margin:0}.bb-choice .bb-status:empty{display:none}.bb-choice button{max-width:100%;white-space:normal}
.bb-engine{margin:12px 0;padding:12px;background:#0f1c18;border:1px solid #526049;border-radius:8px}.bb-engine-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:12px}.bb-engine-label small{font-size:10px;color:#b0bda9}.bb-sweet{font-size:12px;color:#b6d09d;margin:10px 0}
.bb-charts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bb-charts figure{margin:0;min-width:0}.bb-charts figcaption{font-size:11px}.bb-charts figcaption small{display:block;font-size:9px;color:#aebba6;margin-top:3px}.bb-charts svg{display:block;width:100%;height:auto;overflow:visible}.bb-charts text{font:11px system-ui;fill:#b6c2af}.bb-gridline{stroke:#40503c;stroke-width:1}.bb-curve{fill:none;stroke:#dfbe78;stroke-width:2.5}.bb-band{fill:#63884b;opacity:.25}.bb-cursor{stroke:#d6e2c8;stroke-dasharray:3 3;opacity:.6}.bb-dot{fill:#f9dfa2;stroke:#152018}
.bb-rpm{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px 12px;font-size:11px}.bb-rpm input{min-width:0;width:100%;padding:0;accent-color:#bba16b}.bb-rpm output{grid-column:1/-1;color:#dfc78f;font-variant-numeric:tabular-nums}
@media(max-width:850px){.bb-layout{grid-template-columns:minmax(210px,.7fr) minmax(0,1fr)}.bb-list .bb-card img{width:72px;height:58px}.bb-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-charts{grid-template-columns:1fr}.bb-detail{padding:12px}.bb-equipment{grid-template-columns:1fr}.bb-heading h2{font-size:21px}}
@media(max-width:600px){.bb-layout{grid-template-columns:1fr}.bb-list.boats{max-height:245px}.bb-detail{max-height:none;overflow:visible}.bb-tools{gap:8px}.bb-tools input{width:170px}.bb-tools [data-bb-count]{margin-left:0}.bb-heading strong{font-size:13px}.bb-detail .bb-hero{height:135px}.bb-charts{grid-template-columns:1fr}.bb-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-browser{margin-top:8px}}
