/* Local additions to the current live ShipWeb styles. */
.clones-page [hidden] { display:none !important; }
.clones-filters { display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, .8fr); gap:18px; }
.clones-query .players-input-wrap { display:flex; align-items:center; }
.clones-query input { min-width:0; width:100%; }
.clones-page .ships-listing-filter-field > span { font-size:.875rem; }
.clones-page .ships-category-copy small { font-size:.875rem; }
.clones-sections { display:grid; gap:28px; }
.clones-page .ships-category-card[aria-current="true"] { border-color:var(--accent-gold); background:var(--fh-accent-tint-12, rgba(197,160,89,.12)); }
.clones-page .ships-category-card:focus-visible,
.clones-page button:focus-visible { outline:2px solid var(--accent-gold); outline-offset:4px; }
.clones-page .ships-select { appearance:none; padding-right:36px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%2399a4b2' stroke-width='2'/%3E%3C/svg%3E"); background-position:right 14px center; background-repeat:no-repeat; }
.clones-class-section { min-width:0; scroll-margin-top:110px; }
/* Reuse the native clan ranking table and the player's 88 x 56 ship cells. */
.clones-table-wrap { min-width:0; }
.clones-table { table-layout:fixed; min-width:640px; }
.clones-table th, .clones-table td { width:50%; vertical-align:middle; }
.clones-table td { white-space:normal; }
.clones-table tbody tr:nth-child(odd of :not([hidden])) { background:var(--fh-raised, rgba(255,255,255,.035)); }
.clones-table tbody tr:hover { background:var(--fh-accent-tint-8, rgba(197,160,89,.08)); }
.clones-table thead button { display:flex; justify-content:space-between; align-items:center; width:100%; padding:0; background:transparent; border:0; color:inherit; font:inherit; text-transform:inherit; letter-spacing:inherit; cursor:pointer; text-align:left; }
.clones-table thead th.is-enhanced > span { display:none; }
.clones-table ul { list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.clones-table .hp-ship-name > div { min-width:0; }
.clones-table .hp-ship-name a { display:inline; overflow-wrap:anywhere; }
.clones-table .hp-ship-name a svg { display:inline-block; vertical-align:middle; margin-left:3px; }
.clones-table li a { color:var(--fh-ink, #fff) !important; }
.clones-table li a:hover { color:var(--accent-gold) !important; }
.clones-table .hp-ship-name small { display:block; color:var(--text-muted); font-size:.875rem; font-weight:400; margin-top:3px; }
.clones-table .hp-ship-name .clones-ship-meta { display:flex; align-items:center; gap:6px; }
.clones-table .hp-ship-name .clones-nation-flag { width:18px; height:18px; flex:0 0 18px; object-fit:contain; }
.clones-table .hp-ship-name .clones-meta-link { color:var(--text-muted) !important; font-size:inherit; }
.clones-table .hp-ship-name .clones-meta-link:hover { color:var(--accent-gold) !important; }
.clones-table .hp-ship-name .clones-ship-note { max-width:36ch; font-style:italic; }
.clones-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#clones-status { margin:0; color:var(--text-muted); font-size:.875rem; }
@media(max-width:850px) { .clones-filters { grid-template-columns:1fr 1fr; } .clones-query { grid-column:1 / -1; } }
@media(max-width:480px) { .clones-filters { grid-template-columns:1fr; } .clones-table th, .clones-table td { padding:16px 12px; } .hybrid-clones .hybrid-preview-bar nav { flex-wrap:wrap; gap:12px; } }
.clones-data-note { color:var(--text-muted); font-size:.875rem; margin-top:28px; }
