:root{--ink:#173e52;--water:#d7ebef;--line:#b6cbd2}body{margin:0;background:#edf8fc;color:var(--ink);font-family:Arial,sans-serif}header{background:linear-gradient(115deg,#087fad,#1595b7);padding:12px max(14px,calc((100% - 1280px)/2 + 14px))}header a{color:#e7f6fb}header .brand{color:white}.wreck-main{max-width:1220px;margin:auto;padding:26px 24px 60px}.preview-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:1px;background:#fff1d4;border:1px solid #d8b875;color:#72511c;padding:7px 10px;border-radius:6px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:11px;color:#08798e;font-weight:700;margin-top:19px}h1{font-size:36px;line-height:1.1;margin:8px 0 14px}h2{font-size:23px;margin-top:0}.lead{font-size:17px;line-height:1.55;max-width:850px}.heritage{padding:14px 18px;border-left:4px solid #b78637;background:#fff6e6;font-size:13px;line-height:1.5;margin:22px 0}.toolbar{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:22px 0 12px}.toolbar label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.toolbar input,.toolbar select{font:14px Arial;padding:11px 10px;border:1px solid #98b6c1;border-radius:7px;background:white;color:var(--ink);min-width:0;max-width:100%}.measure,.map-key{font-size:12px;line-height:1.5;color:#4d6877}.counts{font-weight:700;color:#066c81;font-size:13px;margin:18px 0}.wreck-workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);gap:18px;align-items:start}.map-column{position:sticky;top:15px;min-width:0}#wreck-map{height:590px;border:1px solid #abc5cd;border-radius:13px;overflow:hidden;background:var(--water)}.wreck-detail{background:white;border:1px solid var(--line);border-radius:13px;padding:21px;min-width:0;max-height:670px;overflow:auto;box-sizing:border-box;overflow-wrap:anywhere;font-size:14px;line-height:1.5}.wreck-detail h2{font-size:24px;line-height:1.15}.wreck-detail h3{font-size:14px;margin:20px 0 4px}.wreck-detail .facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:18px 0}.facts div{padding:9px;background:#eef7f9;border-radius:6px;font-size:11px}.facts b{display:block;font-size:14px;margin-top:4px}.location-note{padding:10px;border-left:3px solid #15869a;background:#edf7f9;font-size:12px}.photo-credit{font-size:11px;line-height:1.45;overflow-wrap:anywhere}.wreck-photo{margin:18px 0}.wreck-photo img{width:100%;height:210px;object-fit:contain;background:#edf3f4;display:block}.wreck-photo figcaption{font-size:11px;margin-top:8px}.source-type{font-size:11px;color:#607b89}.wreck-catalogue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wreck-main>section{margin-top:30px}.wreck-card{display:block;text-align:left;width:100%;min-width:0;padding:15px;border:1px solid #bed0d6;border-radius:9px;background:white;color:var(--ink);font:14px/1.4 Arial;cursor:pointer}.wreck-card:hover,.wreck-card:focus-visible,.wreck-card.active{outline:2px solid #0d8a9f;outline-offset:1px;background:#e9f6f8}.wreck-card b{display:block;font-size:15px}.wreck-card span{display:block;font-size:12px;margin-top:5px;color:#53717e}.wreck-card em{display:inline-block;font-size:10px;margin-top:8px;font-style:normal;padding:3px 6px;background:#e8f1f5;border-radius:4px}.research,.sources{background:white;border:1px solid #c2d4da;padding:22px;border-radius:12px;font-size:13px;line-height:1.55}.forum-lead{border-top:1px solid #d7e3e7;padding:15px 0}.forum-lead:last-child{padding-bottom:0}.brown-dot,.blue-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin:0 4px 0 8px;background:#a16430}.blue-dot{background:#137d9d}.wreck-cluster{background:#123f56;color:white;border:3px solid white;border-radius:50%;box-shadow:0 1px 5px #143e5266;font:bold 13px/30px Arial;text-align:center}.wreck-label{font-size:11px;color:#244652;text-shadow:0 0 3px white,0 0 3px white;white-space:nowrap;pointer-events:none}.group-choice{display:block;padding:7px;margin:3px 0;width:100%;border:1px solid #9bb8c4;border-radius:4px;background:white;color:var(--ink);text-align:left;cursor:pointer}.leaflet-popup-content{max-height:270px;overflow:auto}.wreck-detail a,.wreck-main section a,.heritage a{color:#007593}.empty{padding:25px;background:white;border-radius:10px}.selected-tag{display:inline-block;background:#e2f2f6;color:#16627c;font-size:11px;border-radius:4px;padding:4px 7px}.nomedia{font-size:12px;border:1px dashed #b7ccd4;padding:12px;color:#5c7280}.map-reset{background:white;border:1px solid #8aa9b7;border-radius:5px;font:bold 12px Arial;padding:7px;color:#1f546d;cursor:pointer}
@media(max-width:760px){.wreck-main{padding:20px 14px 45px}h1{font-size:29px;max-width:340px}.lead{font-size:15px}.toolbar{grid-template-columns:1fr;gap:11px}.heritage{padding:12px 13px;font-size:12px}.wreck-workspace{display:flex;flex-direction:column;gap:12px}.map-column{position:static;width:calc(100% - 18px);margin-left:-3px}#wreck-map{height:440px}.wreck-detail{width:100%;max-height:580px;padding:17px}.wreck-catalogue{grid-template-columns:1fr 1fr;gap:8px}.wreck-card{padding:11px}.wreck-card b{font-size:13px}.wreck-card span{font-size:11px}.research,.sources{padding:17px}.wreck-detail .facts{grid-template-columns:1fr 1fr}.menu-top,.menu-utility{flex-wrap:wrap}}
@media(max-width:700px){header .menu-top{flex-wrap:wrap;gap:12px}header .menu-utility{min-width:0;width:100%;flex-basis:100%}header .news-tips-group{flex-wrap:wrap;justify-content:flex-end;white-space:normal!important;max-width:100%}.wreck-detail{max-height:none}}

.unconfirmed-banner{margin:0 0 15px!important;padding:11px 12px;border:1px solid #c58b2d;border-left:4px solid #b67713;border-radius:5px;background:#fff0cb;color:#68440e;font-size:12px;line-height:1.5}.unconfirmed-banner a{color:#744400;text-decoration:underline}.catalogue-unconfirmed{display:block!important;font-size:10px!important;margin:0 0 10px!important;padding:7px!important;color:#68440e!important}.unconfirmed-cluster{background:#fff0cb;color:#784b0d;border:3px dashed #ab5f00}

.map-selection-status{max-width:210px;background:#ffffffed;padding:6px 9px;border:1px solid #9bb8c4;border-radius:5px;font:11px/1.4 Arial;color:#173e52;overflow-wrap:anywhere}.wreck-pulse-marker{border:5px solid #ff9a00;background:#fff5b966;border-radius:50%;box-sizing:border-box;pointer-events:none}.wreck-detail p{margin:10px 0}.wreck-workspace{scroll-margin-top:16px}.wreck-flash{animation:wreck-pulse .65s ease-in-out 6;filter:drop-shadow(0 0 5px #ffbd00)}@keyframes wreck-pulse{0%,100%{opacity:1;filter:drop-shadow(0 0 2px #ffd200)}50%{opacity:.3;filter:drop-shadow(0 0 14px #ff6a00)}}@media(prefers-reduced-motion:reduce){.wreck-flash{animation:none;filter:drop-shadow(0 0 8px #f90);stroke:#ff9d00!important;stroke-width:6!important}}

.gold-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin:0 4px 0 8px;background:#edbe32;border:1px solid #705300}.wreck-cluster.fatal-cluster{background:#edbe32;color:#493600;border-color:#705300}.group-choice.fatal-choice{border-left:5px solid #c79610;background:#fff7d7}

.wide-map .minor-town{opacity:0}.wreck-stack-marker{background:transparent;border:0;position:absolute}.stack-dots{position:absolute;inset:0;display:block}.stack-dots i{position:absolute;top:2px;width:16px;height:16px;border:1.5px solid #593e1e;border-radius:50%;box-shadow:0 0 0 1px #fff}.stack-unconfirmed .stack-dots i{border-style:dashed}.stack-count{position:absolute;z-index:10;top:18px;left:50%;transform:translateX(-50%);min-width:22px;padding:0 4px;background:#fffdf4;border:1px solid #8c9486;border-radius:8px;font-size:13px;line-height:18px;color:#263c44;text-align:center;box-shadow:0 1px 2px #5676}.stack-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* Reuse the licensed full-size image as an uncropped heading thumbnail. */
.wreck-heading{margin:0 0 16px}.wreck-heading h2{margin:0 0 10px}.wreck-heading p{margin:0;overflow-wrap:anywhere}.wreck-heading.has-thumbnail{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px;align-items:start}.wreck-thumbnail{display:block;text-align:center;font-size:11px;line-height:1.3}.wreck-thumbnail img{display:block;width:100%;height:84px;object-fit:contain;background:#edf3f3;border:1px solid #bacdd2;border-radius:4px;box-sizing:border-box}.wreck-thumbnail span{display:block;margin-top:4px}@media(max-width:380px){.wreck-heading.has-thumbnail{grid-template-columns:minmax(0,1fr) 88px;gap:9px}.wreck-thumbnail img{height:72px}}

.wreck-filters{min-width:0;margin:0;padding:12px 14px;border:1px solid #98b6c1;border-radius:7px;background:#fff}.wreck-filters legend{font-size:12px;font-weight:700;padding:0 5px}.filter-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.toolbar .filter-choices label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;font-weight:400;line-height:1.4;min-height:36px;cursor:pointer}.toolbar .filter-choices input{width:18px;height:18px;flex:0 0 18px;padding:0;accent-color:#087b99;cursor:pointer}.filter-reset{margin-top:10px;padding:9px 13px;border:1px solid #087b99;border-radius:5px;background:#e7f5f8;color:#17546c;font:bold 12px Arial;cursor:pointer}.filter-reset:focus-visible,.filter-choices input:focus-visible{outline:3px solid #df9900;outline-offset:2px}.filter-hint{font-size:11px;line-height:1.5;margin:8px 0 0;color:#4d6877}@media(max-width:400px){.filter-choices{grid-template-columns:1fr}.toolbar .filter-choices label{min-height:38px}}
