.fleet-buttons{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.fleet-mark,.fleet-buttons .fav-star{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:34px;height:34px;min-width:34px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--muted)}
.fleet-buttons .fav-star{position:static;margin:0}
.fleet-mark:hover,.fleet-buttons .fav-star:hover{border-color:var(--accent);color:var(--ink)}
.fleet-mark.wishlist.marked{color:#b14e65;border-color:#b14e6580;background:color-mix(in srgb,#b14e65 9%,var(--paper))}
.fleet-mark.owned.marked{color:#25816e;border-color:#25816e80;background:color-mix(in srgb,#25816e 9%,var(--paper))}
.fleet-buttons.labeled button{width:auto;padding:8px 11px;height:38px;font-size:13px}
.tile>.fleet-buttons{position:absolute;right:9px;top:9px;z-index:3}
.ship-tools .fleet-buttons{gap:3px;flex-wrap:nowrap}
.ship-tools .fleet-buttons button{width:26px;min-width:26px;height:27px;border-radius:6px}
.ship-tools .fleet-buttons .icon{width:15px;height:15px}
.fleet-scopes{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 15px}
.fleet-intro{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:26px 28px;margin:20px 0 24px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 5%,var(--paper)),var(--paper))}
.fleet-intro small,.wish-shared-hero>small{font-size:10px;letter-spacing:.15em;font-weight:700;color:var(--accent)}
.fleet-intro h2{font-size:28px;line-height:1.2;margin:7px 0 9px;overflow-wrap:anywhere}
.fleet-intro p{margin:0;color:var(--muted);max-width:610px}
.fleet-intro-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:440px}
.fleet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fleet-grid .tile{border-radius:14px;display:flex;flex-direction:column;overflow:hidden}
.fleet-grid .tile-img{height:205px;padding-top:36px}
.fleet-grid .tile-img .ship-art{height:calc(100% - 40px);bottom:8px}
.fleet-grid .tile-body{padding:19px;display:flex;flex-direction:column;flex:1;gap:8px}
.fleet-grid .tile-name{font-size:25px;line-height:1.15}
.fleet-grid .tile-metrics{margin:3px 0}
.fleet-grid .tile-add{margin-top:auto;width:100%}
.fleet-route{display:flex;flex-direction:column;gap:5px;padding:13px 0;border-top:1px solid var(--line);margin-top:8px;text-align:left}
.fleet-route small{text-transform:uppercase;letter-spacing:.12em;font-size:9px;color:var(--muted)}
.fleet-route strong{font-size:16px;font-weight:650;line-height:1.35}
.fleet-route>span{font-size:12px;color:var(--muted)}
.fleet-route .quiet{padding:5px 0;align-self:flex-start;color:var(--accent);font-size:12px}
.wish-priority{display:flex;gap:6px;align-items:center;color:#b14e65;font-size:12px;font-weight:600}
.wish-note{margin:0;color:var(--ink);font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.wish-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;border-top:1px solid var(--line);padding-top:7px}
.wish-controls>.quiet{padding:6px 0;text-align:left;font-size:11px;color:var(--muted)}
.wish-controls>div{display:flex;gap:4px}
.wish-controls .round{width:30px;height:32px;min-width:30px}
.fleet-undo{display:flex;gap:15px;align-items:center;margin:0 0 18px;font-size:13px}
.fleet-undo .quiet{color:var(--accent);font-weight:600}
.fleet-editor{padding:22px;display:grid;gap:16px}
.fleet-editor label{display:grid;gap:8px;font-size:14px}
.fleet-editor input:not([type=checkbox]),.fleet-editor textarea{width:100%;font:inherit;padding:12px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;resize:vertical;box-sizing:border-box}
.fleet-editor .wish-check{display:flex;align-items:center;gap:8px}
.fleet-editor small,.fleet-storage{color:var(--muted);font-size:12px;line-height:1.6}
.fleet-storage{margin:25px 0 10px}
.wish-shared-hero{text-align:center;margin:20px auto 35px;max-width:780px;padding:24px 10px}
.wish-emblem{display:flex;justify-content:center;color:#b14e65;margin:0 auto 18px}
.wish-emblem .icon{width:35px;height:35px;stroke-width:1.3}
.wish-shared-hero h1{font-size:clamp(29px,4vw,48px);line-height:1.1;margin:12px 0 15px;letter-spacing:-.025em;overflow-wrap:anywhere}
.wish-shared-hero p{color:var(--muted);font-size:13px;margin:0 0 20px}
.shared-art{position:relative;height:210px;background:linear-gradient(150deg,color-mix(in srgb,#7a9ba9 10%,var(--paper)),var(--paper));overflow:hidden}
.shared-art .ship-art{position:absolute;width:96%;height:180px;bottom:0;left:2%;object-fit:contain}
.wish-position{position:absolute;top:14px;left:18px;font:12px var(--mono);color:var(--muted);opacity:.7}
.shared-shipname{display:flex;align-items:center;gap:9px}
.shared-shipname h2{font-size:25px;margin:0;line-height:1.2;overflow-wrap:anywhere}
.acq-freshness{display:flex;justify-content:flex-end;align-items:flex-start;gap:10px;margin-top:12px;color:var(--muted);font-size:12px}
.acq-freshness details{position:relative}
.acq-freshness summary{list-style:none;display:grid;place-items:center;border:1px solid var(--line);width:25px;height:25px;border-radius:50%;cursor:pointer;font-family:Georgia,serif;font-style:italic}
.acq-freshness summary::-webkit-details-marker{display:none}
.acq-freshness details p{position:absolute;z-index:5;right:0;bottom:30px;width:min(260px,65vw);padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:9px;box-shadow:0 5px 20px #0002;margin:0}
.shelf-tabs{flex-wrap:wrap;gap:5px}
.shelf-tabs button{white-space:nowrap}
@media(min-width:1400px){.fleet-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.fleet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-intro{padding:22px}.fleet-intro-actions{max-width:240px}.fleet-grid .tile-img{height:180px}}
@media(max-width:610px){.fleet-grid{grid-template-columns:1fr;gap:16px}.fleet-intro{display:block;padding:20px;margin-top:14px}.fleet-intro h2{font-size:25px}.fleet-intro-actions{max-width:none;justify-content:flex-start;margin-top:18px}.fleet-grid .tile-img{height:200px}.fleet-grid .tile-body{padding:18px}.fleet-grid .ship-symbols{flex-wrap:wrap}.shelf-tabs{overflow:visible}.shelf-tabs button{font-size:12px;padding:9px 10px}.resultshead{flex-wrap:wrap;gap:12px}.rank-control{max-width:100%;flex-wrap:wrap}.fleet-buttons.labeled{width:100%}.shared-art{height:200px}.tile>.fleet-buttons{gap:4px}.tile>.fleet-buttons button{width:31px;min-width:31px;height:32px}.fleet-scopes .chip{font-size:12px}.fleet-storage{font-size:11px}}
@media print{.mast,footer,.wish-shared-hero button,.shared-grid button,.fleet-storage{display:none}.shared-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{break-inside:avoid}}
