.j240-source-index{margin:1rem 0;padding:1rem;border:1px solid #655078;border-radius:14px;background:#211330;color:#f3e8ff;min-width:0;overflow-wrap:anywhere}.j240-source-index h3{color:#ffcb72;margin:0 0 .6rem}.j240-source-index p{font-size:.9rem;line-height:1.5}.j240-controls{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));min-width:0}.j240-controls>*{width:100%;min-width:0;box-sizing:border-box;min-height:44px;color:inherit;background:#352044;border:1px solid #846784;border-radius:8px;padding:.6rem;font:inherit}.j240-controls button:disabled{opacity:.5}.j240-source-index ol{max-height:24rem;overflow:auto;padding-left:1.6rem}.j240-source-index li{padding:.55rem .15rem;border-bottom:1px solid #503452}.j240-source-index small{display:block;line-height:1.5;color:#e9d9fb}.j240-source-index a{color:#ffd17b}

.j241-source-pins{position:absolute;inset:0;pointer-events:none;z-index:2}.j241-source-pins[hidden]{display:none}.j241-source-pin{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);width:22px;height:22px;border:1.5px solid #ffe3a0;background:#46245d;color:#ffdf85;border-radius:50%;font-size:13px;line-height:1;display:grid;place-items:center;padding:0;box-shadow:0 1px 4px #13091e;cursor:pointer}.j241-source-pin[aria-pressed=true],.j241-source-pin:focus-visible{background:#ffd07d;color:#231329;outline:2px solid white;z-index:3}.j241-source-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.j241-source-route polyline{stroke:#ffcb72;stroke-width:.5;fill:none;stroke-linejoin:round;stroke-linecap:round}.j241-source-detail{background:#251735;color:#f7e8ff;border:1px solid #d3a268;border-radius:10px;padding:12px;margin-top:10px;overflow-wrap:anywhere}.j241-source-detail button,.j240-source-index li button{margin:6px;padding:7px 10px;background:#46245d;color:#ffe5ac;border:1px solid #b68bb8;border-radius:8px}.j241-source-detail a{color:#ffd17b}.j241-source-detail p,#j241-alignment{font-size:.85rem;line-height:1.5}

.j240-source-index select:focus-visible,.j240-source-index input:focus-visible,.j240-source-index button:focus-visible,.j241-source-detail button:focus-visible{outline:2px solid #ffdb9b;outline-offset:3px}.j241-source-pin{touch-action:manipulation}.j241-source-pin:focus-visible{outline-offset:2px}

/* Elario original pointed map symbols; no borrowed publisher marker icon sets. */
.j241-source-pin{border-radius:12px 12px 12px 3px;transform:translate(-50%,-100%) rotate(-45deg);width:24px;height:24px;background:#582d79;border:2px solid #f4bb63;color:#fff2d6;box-shadow:0 2px 6px #150a20;}.j241-source-pin[aria-pressed=true],.j241-source-pin:focus-visible{background:#ffc96d;color:#2b163e}.j249-pin[data-category="Services"]{background:#76408d}.j249-pin[data-category="Transport"]{background:#765029}.j249-pin[data-category="Safehouses and hideouts"]{background:#3a2961}#j249-calibrate{margin:12px 0;padding:12px;border:1px solid #795287;border-radius:10px}#j249-calibrate summary{color:#ffcf83;cursor:pointer}#j249-selected{padding:10px;background:#251735;border:1px solid #b38a6b;border-radius:10px;color:#f3dfb9}.j249-picking{cursor:crosshair!important;touch-action:none}

#j250-map-view{margin:12px 0}#j250-map-view button,#j250-map-view>a{display:block;box-sizing:border-box;max-width:100%;margin:.55rem 0;padding:12px;border:1px solid #bd8b58;border-radius:9px;background:#3d2254;color:#ffe2a7;font:inherit;cursor:pointer}#j250-external iframe{display:block;width:100%;height:min(72vh,720px);min-height:360px;border:1px solid #6b487d;border-radius:9px;background:#170c25}#j250-external[hidden]{display:none}

#j249-selected button{display:block;min-height:44px;padding:9px 14px;background:#46245d;color:#ffe5ac;border:1px solid #b68bb8;border-radius:8px}#j249-selected[hidden]{display:none}.j241-source-pin{transform:translate(-50%,-100%);border-radius:13px 13px 13px 13px;isolation:isolate}.j241-source-pin::after{content:"";position:absolute;bottom:-5px;left:calc(50% - 4px);width:8px;height:8px;background:inherit;border-bottom:2px solid #f4bb63;border-right:2px solid #f4bb63;transform:rotate(45deg);z-index:-1}.j241-source-pin:focus-visible{outline-offset:4px}

#classicViewport[data-personal-image-mismatch="true"] #classicMarkerLayer{display:none}

/* Source progress is separate from personal guide slots. */
.j271-source-progress{margin:12px 0;padding:12px;border:1px solid #936ca4;border-radius:12px;background:#301b41;color:#f6e9ff;min-width:0}.j271-source-progress>strong{color:#ffdf9f}.j271-source-progress label{display:block;line-height:1.5}.j271-source-progress .j240-controls{margin-top:10px}.j271-source-progress input[type=file]{width:100%;max-width:100%;font:inherit;box-sizing:border-box}.j271-mark{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.j271-mark[aria-pressed=true]{background:#225643!important;color:#fff4d9!important;border-color:#9ac9a3!important}.j241-source-pin[data-found=true]{background:#225643;color:#f7ffda;border-color:#9ac9a3}.j241-source-pin[data-found=true]::after{border-color:#9ac9a3}

/* Player-placed CTW map pins remain visually distinct from source-aligned references. */
#j273-camera-pins .j241-source-pin[data-personal="true"]{background:#653474;border-color:#ffe08d;box-shadow:0 0 0 2px #211126,0 0 10px #ffce69ab}#j283-toggle-pins{font-weight:760}#j273-camera-list li button{min-height:40px}

/* Classic source legend uses one shared category selection; no duplicate map layers. */
.j402-category-legend{min-width:0;margin:12px 0;padding:10px;border:1px solid #936ca4;border-radius:10px}.j402-category-legend legend{padding:0 6px;color:#ffdf9f;font-weight:700}.j402-legend-actions,.j402-legend-rows{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:6px}.j402-legend-actions{margin-bottom:8px}.j402-legend-actions button,.j402-legend-rows label{box-sizing:border-box;min-height:44px;min-width:0;padding:8px;border:1px solid #846784;border-radius:8px;background:#352044;color:#f6e9ff;font:inherit;overflow-wrap:anywhere}.j402-legend-rows label{display:flex;align-items:center;gap:8px;cursor:pointer}.j402-legend-rows input{flex:none;width:18px;height:18px;accent-color:#ffcb72}.j402-legend-actions button:disabled{opacity:.5}.j402-legend-rows label:focus-within{outline:2px solid #ffdb9b;outline-offset:2px}
