বিষয়বস্তুতে চলুন

মিডিয়াউইকি:SilsilaExplorer.css: সংশোধিত সংস্করণের মধ্যে পার্থক্য

সুফিবাংলা থেকে
ঊর্ধ্বমুখী শাজরার নকশা
SILSILA-MAP2: শাখা-রঙের নমুনা, তরিকা-বিন্দু ও হাইলাইট-রেখার ব্যাখ্যা
 
(একই ব্যবহারকারী দ্বারা সম্পাদিত ৫টি মধ্যবর্তী সংশোধন দেখানো হচ্ছে না)
১৯২ নং লাইন: ১৯২ নং লাইন:
#silsila-explorer .sx-ut-parents + .sx-ut-node, #silsila-explorer .sx-ut-note + .sx-ut-node { padding-top: 18px; }
#silsila-explorer .sx-ut-parents + .sx-ut-node, #silsila-explorer .sx-ut-note + .sx-ut-node { padding-top: 18px; }
#silsila-explorer .sx-ut-parents + .sx-ut-node::before, #silsila-explorer .sx-ut-note + .sx-ut-node::before { content: ''; position: absolute; top: 0; left: 50%; height: 18px; border-left: 2px solid var(--sx-gold); }
#silsila-explorer .sx-ut-parents + .sx-ut-node::before, #silsila-explorer .sx-ut-note + .sx-ut-node::before { content: ''; position: absolute; top: 0; left: 50%; height: 18px; border-left: 2px solid var(--sx-gold); }
#silsila-explorer .sx-ut-note { font-size: .82rem; text-align: center; }
#silsila-explorer .sx-ut-note { font-size: .82rem; text-align: center; white-space: nowrap; }
#silsila-explorer .sx-ut-node .sx-node-link { display: inline-block; }
#silsila-explorer .sx-ut-node .sx-node-link { display: inline-block; }
/* প্রশাসকের সংযোগ-যোগ বাক্স */
#silsila-explorer .sx-adm { margin-top: 10px; border-top: 1px dashed var(--sx-gold); padding-top: 8px; }
#silsila-explorer .sx-adm > summary { cursor: pointer; font-weight: 600; color: #1f5a3a; }
#silsila-explorer .sx-adm-row { margin: 6px 0; }
#silsila-explorer .sx-adm-sel, #silsila-explorer .sx-adm-in { width: 100%; box-sizing: border-box; font: inherit; padding: 5px 8px; border: 1px solid var(--sx-line); border-radius: 6px; }
#silsila-explorer .sx-adm-list { list-style: none; margin: 2px 0 0; padding: 0; max-height: 190px; overflow-y: auto; border-radius: 6px; }
#silsila-explorer .sx-adm-list:not(:empty) { border: 1px solid var(--sx-line); background: #fff; }
#silsila-explorer .sx-adm-list li { padding: 5px 8px; cursor: pointer; margin: 0; }
#silsila-explorer .sx-adm-list li:hover { background: var(--sx-gold-light); }
#silsila-explorer .sx-adm-msg { font-size: .88rem; color: #1f5a3a; min-height: 1em; }
#silsila-explorer .sx-adm-note { font-size: .78rem; }
/* এই পাতায় পুরো প্রস্থ ব্যবহার */
.mw-page-container { max-width: none !important; }
.vector-column-end { display: none !important; }
#silsila-explorer .sx-graph { height: min(86vh, 1100px); }
/* পূর্ণ পর্দা */
#silsila-explorer:fullscreen { background: var(--sx-bg, #fbfaf4); overflow: auto; padding: 12px 16px; box-sizing: border-box; }
#silsila-explorer:fullscreen .sx-graph { height: calc(100vh - 150px); }
#silsila-explorer:fullscreen .sx-stage { position: static; }
/* বংশ-চিহ্ন */
#silsila-explorer .sx-node.sx-ahl .sx-box { stroke: #d4af37; stroke-width: 3.2; }
#silsila-explorer .sx-box-ahl2 { fill: none; stroke: #f3dc8a; stroke-width: 1.3; pointer-events: none; }
#silsila-explorer .sx-node.sx-sayyid .sx-box { stroke: #3b82c4; stroke-width: 3.2; }
#silsila-explorer .sx-node-link.sx-ahl { box-shadow: 0 0 0 2px #d4af37, 0 0 0 4px #f3dc8a; }
#silsila-explorer .sx-node-link.sx-sayyid { box-shadow: 0 0 0 2px #3b82c4; }
#silsila-explorer .sx-lg-box.sx-lg-ahl { border: 3px double #d4af37 !important; }
#silsila-explorer .sx-lg-box.sx-lg-sayyid { border: 2px solid #3b82c4 !important; }
/* ---------- মানচিত্র (পুরো সিলসিলা) — পাতাজুড়ে, বাক্স ছাড়া; পাশে ভাসমান প্যানেল ---------- */
#silsila-explorer.sx-mapmode .sx-main { display: block;}
#silsila-explorer.sx-mapmode .sx-stage { position: static;}
#silsila-explorer.sx-mapmode .sx-stage > .sx-legend { display: none;}
#silsila-explorer .sx-mapwrap { position: relative; margin: 0; box-sizing: border-box;}
#silsila-explorer .sx-map { position: relative; height: calc(100vh - 60px); height: calc(100dvh - 60px); min-height: 420px; border: 0; border-radius: 0;
  background: radial-gradient(ellipse at 50% 0, #fffdf3 0, var(--sx-bg) 75%); overflow: hidden;}
#silsila-explorer:fullscreen { background: var(--sx-bg); overflow: auto;}
#silsila-explorer.sx-mapmode:fullscreen .sx-map { height: 100vh;}
#silsila-explorer .sx-map-cv { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;}
#silsila-explorer .sx-map-cv.sx-hand { cursor: pointer;}
#silsila-explorer .sx-map-cv.sx-grabbing { cursor: grabbing;}
#silsila-explorer .sx-map-cv:focus-visible { box-shadow: inset 0 0 0 2px var(--sx-gold);}
/* নিয়ন্ত্রণ: ডান-নিচে জুম, তার নিচে পুরো মানচিত্র */
#silsila-explorer .sx-map .sx-zoom { z-index: 6; top: auto; bottom: 58px; right: 12px;}
#silsila-explorer .sx-map-fit { position: absolute; right: 12px; bottom: 12px; z-index: 6; font-size: .9rem; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--sx-gold); background: var(--sx-green); color: var(--sx-gold-t); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.18);}
#silsila-explorer .sx-map-fit:hover { background: var(--sx-gold); color: var(--sx-green-d);}
#silsila-explorer .sx-map-hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 4; font-size: 12px; color: #4d6153; background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 8px; pointer-events: none; white-space: nowrap;}
/* ভাসমান প্যানেল */
#silsila-explorer .sx-mp { position: absolute; top: 10px; bottom: 10px; z-index: 8; display: none; flex-direction: column; background: rgba(255,255,255,.97); border: 1px solid var(--sx-line); border-top: 3px solid var(--sx-gold); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); box-sizing: border-box;}
#silsila-explorer .sx-mp-left { left: 10px; width: 320px;}
#silsila-explorer .sx-mp-right { right: 10px; width: 290px; bottom: auto; max-height: calc(100% - 80px);}
#silsila-explorer .sx-map.sx-l-open .sx-mp-left, #silsila-explorer .sx-map.sx-r-open .sx-mp-right { display: flex;}
#silsila-explorer .sx-mp-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 12px; font-weight: 700; color: var(--sx-green); border-bottom: 1px solid var(--sx-line); flex: none;}
#silsila-explorer .sx-mp-x { font: inherit; font-size: 18px; line-height: 1; width: 32px; height: 30px; border: 1px solid var(--sx-line); border-radius: 6px; background: #fff; color: var(--sx-green); cursor: pointer;}
#silsila-explorer .sx-mp-body { overflow: auto; padding: 10px; flex: 1 1 auto; -webkit-overflow-scrolling: touch;}
#silsila-explorer .sx-mp-body .sx-search { display: flex; gap: 6px;}
#silsila-explorer .sx-mp-body .sx-search .sx-inputwrap { flex: 1 1 auto; min-width: 0;}
#silsila-explorer .sx-mp-body .sx-search .sx-btn { padding-left: 10px; padding-right: 10px;}
#silsila-explorer .sx-mp-body .sx-bar { flex-wrap: wrap; gap: 6px;}
#silsila-explorer .sx-mp-body .sx-start { margin: 8px 0;}
#silsila-explorer .sx-mp-body .sx-side { width: auto; margin-top: 10px; position: static; max-height: none;}
#silsila-explorer .sx-mp-tog { position: absolute; top: 10px; z-index: 7; font: inherit; font-size: .9rem; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--sx-gold); background: var(--sx-green); color: var(--sx-gold-t); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.18);}
#silsila-explorer .sx-mp-tog:hover { background: var(--sx-gold); color: var(--sx-green-d);}
#silsila-explorer .sx-mp-tog-l { left: 10px;}
#silsila-explorer .sx-mp-tog-r { right: 12px;}
#silsila-explorer .sx-map.sx-l-open .sx-mp-tog-l, #silsila-explorer .sx-map.sx-r-open .sx-mp-tog-r { display: none;}
/* পরিচিতি-কার্ড: ডান দিকে ভাসমান (মোবাইলে নিচের শিট) */
#silsila-explorer .sx-map .sx-card { z-index: 15;}
#silsila-explorer .sx-map .sx-card:not(.sx-card-sheet) { left: auto; right: 10px; top: 10px; width: 300px; max-height: calc(100% - 130px);}
/* ব্যাখ্যা */
#silsila-explorer .sx-map-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: .85rem;}
#silsila-explorer .sx-mlg-lbl { color: #555; flex-basis: 100%;}
#silsila-explorer .sx-mlg-chip { font: inherit; font-size: .8rem; border: 1px solid var(--sx-line); background: #fff; border-radius: 14px; padding: 2px 10px 2px 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: #333;}
#silsila-explorer .sx-mlg-chip i { display: inline-block; width: 11px; height: 11px; border-radius: 50%;}
#silsila-explorer .sx-mlg-chip:hover { border-color: var(--sx-gold);}
#silsila-explorer .sx-mlg-chip.sx-on { border-color: var(--sx-green); background: var(--sx-gold-light); font-weight: 600;}
#silsila-explorer .sx-mlg-static { cursor: default;}
#silsila-explorer .sx-mlg-opt { font-size: .82rem; display: inline-flex; align-items: center; gap: 4px; flex-basis: 100%;}
#silsila-explorer .sx-mlg-boxes { display: flex; flex-wrap: wrap; gap: 4px 12px; flex-basis: 100%; font-size: .8rem;}
#silsila-explorer .sx-mlg-note { flex-basis: 100%; font-size: .8rem; line-height: 1.45;}
@media (max-width: 640px) {
  #silsila-explorer .sx-map { height: calc(100vh - 96px); height: calc(100dvh - 96px); min-height: 360px;}
  #silsila-explorer .sx-map-hint { display: none;}
  #silsila-explorer .sx-mp-left { left: 0; top: 0; bottom: 0; width: min(88vw, 340px); border-radius: 0 10px 10px 0;}
  #silsila-explorer .sx-mp-right { right: 0; top: 0; width: min(88vw, 320px); max-height: 100%; bottom: 0; border-radius: 10px 0 0 10px;}
  #silsila-explorer .sx-mp-tog { top: 8px; padding: 8px 11px;}
  #silsila-explorer .sx-mp-tog-l { left: 8px;}
  #silsila-explorer .sx-mp-tog-r { right: 8px;}
  #silsila-explorer .sx-map .sx-zb { width: 42px; height: 42px;}
  #silsila-explorer .sx-map .sx-zoom { bottom: 62px; right: 8px;}
  #silsila-explorer .sx-map-fit { right: 8px; bottom: 10px;}
}
#silsila-explorer .sx-mapwrap, #silsila-explorer .sx-map { max-width: none !important;}
/* SILSILA-MAP2: শাখা-রঙের নমুনা ও হাইলাইট-রেখার ব্যাখ্যা */
#silsila-explorer .sx-mlg-pal { display: flex; flex-wrap: wrap; gap: 5px; flex-basis: 100%; margin: 1px 0 4px;}
#silsila-explorer .sx-mlg-pal i { display: inline-block; width: 28px; height: 5px; border-radius: 3px;}
#silsila-explorer .sx-lg-ln { display: inline-block; width: 24px; height: 0; border-top: 4px solid #999; vertical-align: middle;}
#silsila-explorer .sx-lg-ln.sx-lg-chain { border-top-color: #c99a1c; border-top-width: 5px;}
#silsila-explorer .sx-lg-ln.sx-lg-kids { border-top-color: #2e9e5e;}
#silsila-explorer .sx-lg-ln.sx-lg-sec { border-top: 2px dashed #7b3fb0;}

০৯:০১, ১০ নভেম্বর ২০২৬ তারিখে সম্পাদিত সর্বশেষ সংস্করণ

/* সিলসিলা খুঁজুন — MediaWiki:SilsilaExplorer.js-এর সঙ্গে ব্যবহৃত (সবুজ-সোনালি থিম) */
#silsila-explorer { --sx-green: var(--sb-green, #1f5a3a); --sx-green-d: #143f28; --sx-gold: #d4af37; --sx-gold-t: #ecd27a;
	--sx-gold-light: var(--sb-gold-light, #f7efd4); --sx-bg: #fbfaf4; --sx-line: #ddd5b8;
	margin: 12px 0 18px; font-size: 15px; position: relative; }
#silsila-explorer.sx-loading { padding: 24px; text-align: center; color: #555; background: var(--sx-bg); border: 1px dashed var(--sx-line); border-radius: 10px; }
.sx-fallback-hidden { display: none; }

/* খোঁজ */
.sx-search { display: flex; gap: 8px; align-items: stretch; margin-bottom: 10px; }
.sx-inputwrap { position: relative; flex: 1; }
.sx-input { width: 100%; box-sizing: border-box; font-size: 1.05rem; padding: 9px 12px; border: 2px solid var(--sx-green); border-radius: 8px; background: #fff; color: #1d2a1d; }
.sx-input:focus { outline: none; border-color: var(--sx-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .3); }
.sx-sugg { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #fff;
	border: 1px solid var(--sx-line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); max-height: 320px; overflow: auto; }
.sx-sugg li { margin: 0; padding: 7px 12px; cursor: pointer; color: #1d2a1d; }
.sx-sugg li small { color: #777; }
.sx-sugg li:hover, .sx-sugg li.sx-active { background: var(--sx-gold-light); }
.sx-btn { font: inherit; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--sx-green); background: #fff; color: var(--sx-green); cursor: pointer; text-decoration: none; display: inline-block; }
.sx-btn:hover { background: var(--sx-gold-light); text-decoration: none; }
.sx-btn-primary, a.sx-btn-primary, a.sx-btn-primary:visited { background: var(--sx-green); color: var(--sx-gold-t); border-color: var(--sx-gold); }
.sx-btn-primary:hover, a.sx-btn-primary:hover { background: var(--sx-green-d); color: #f3dc8a; }
.sx-btn-gold { background: var(--sx-gold); color: var(--sx-green-d); border-color: var(--sx-gold); font-weight: 600; }
.sx-btn-gold:hover { background: #e2c25a; }

/* শুরুর দ্রুত-বোতাম */
.sx-start { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 0 0 10px; }
.sx-start[hidden] { display: none; }
.sx-start-lbl { color: #555; font-size: .92rem; }
.sx-quick { font: inherit; font-size: .95rem; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--sx-gold); background: var(--sx-green); color: var(--sx-gold-t); cursor: pointer; }
.sx-quick:hover { background: var(--sx-gold); color: var(--sx-green-d); }

/* নিয়ন্ত্রণ-সারি */
.sx-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 8px; }
.sx-select { font: inherit; padding: 6px 10px; border: 1px solid var(--sx-green); border-radius: 8px; background: #fff; color: var(--sx-green); }
.sx-tabs { display: inline-flex; border: 1px solid var(--sx-green); border-radius: 8px; overflow: hidden; }
.sx-tab { font: inherit; border: 0; background: #fff; color: var(--sx-green); padding: 6px 16px; cursor: pointer; }
.sx-tab-on { background: var(--sx-green); color: var(--sx-gold-t); }
.sx-opts { position: relative; }
.sx-opts summary { cursor: pointer; list-style: none; padding: 6px 12px; border: 1px solid var(--sx-line); border-radius: 8px; background: #fff; color: #444; }
.sx-opts summary::-webkit-details-marker { display: none; }
.sx-opts summary::after { content: ' ▾'; }
.sx-opts-body { position: absolute; z-index: 25; top: 110%; left: 0; background: #fff; border: 1px solid var(--sx-line); border-radius: 8px; padding: 8px 12px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.sx-crumb { flex: 1; color: #444; font-size: .92rem; min-width: 160px; }
.sx-link { font: inherit; border: 0; background: none; color: var(--sx-green); cursor: pointer; padding: 0; text-decoration: underline; }
.sx-status { min-height: 1.2em; color: #8a5a12; font-size: .92rem; }
.sx-muted { color: #6f6f62; font-size: .9rem; }

/* প্যানেল + মঞ্চ */
.sx-main { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; align-items: start; }
.sx-side { background: var(--sx-green); border: 1px solid var(--sx-gold); border-radius: 12px; padding: 10px 10px 12px; color: var(--sx-gold-t);
	}
.sx-side-group + .sx-side-group { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(212, 175, 55, .45); }
.sx-side h3 { margin: 0 0 6px; padding: 0; font-size: 1rem; color: var(--sx-gold); border: 0; font-weight: 700; }
.sx-side-list { display: flex; flex-direction: column; gap: 4px; }
.sx-side-btn { font: inherit; text-align: left; display: grid; grid-template-columns: auto 1fr auto; column-gap: 7px; align-items: center; width: 100%;
	padding: 5px 8px; border-radius: 8px; border: 1px solid rgba(212, 175, 55, .35); background: rgba(255, 255, 255, .04); color: var(--sx-gold-t); cursor: pointer; }
.sx-side-btn:hover, .sx-side-btn:focus { background: rgba(212, 175, 55, .16); border-color: var(--sx-gold); outline: none; }
.sx-side-btn.sx-on { background: var(--sx-gold); color: var(--sx-green-d); border-color: var(--sx-gold); }
.sx-side-btn .sx-sb-main { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.sx-side-btn small { grid-column: 2 / 4; font-size: .8rem; color: #cfe0d2; line-height: 1.25; }
.sx-side-btn.sx-on small { color: var(--sx-green); }
.sx-side-count { grid-template-columns: 1fr auto; padding: 3px 8px; }
.sx-side-count .sx-sb-main { font-size: .92rem; }
.sx-count { background: var(--sx-gold); color: var(--sx-green-d); border-radius: 999px; padding: 0 8px; font-size: .85rem; font-weight: 700; }
.sx-side-btn.sx-on .sx-count { background: var(--sx-green); color: var(--sx-gold-t); }
.sx-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid var(--sx-gold); }
.sx-side-search .sx-input { font-size: .98rem; padding: 7px 10px; border-color: var(--sx-gold); }
.sx-hint { margin: 4px 0 6px; font-size: .82rem; color: #cfe0d2; }
.sx-side-search .sx-btn { width: 100%; }

/* শাজরা-চিত্র */
.sx-stage { min-width: 0; position: sticky; top: 64px; }
.sx-side-tq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.sx-side-tq .sx-side-btn { padding: 4px 6px; column-gap: 5px; min-width: 0; }
.sx-side-tq .sx-sb-main { font-size: .9rem; }
.sx-side-tq .sx-side-btn small { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-graph { position: relative; height: min(80vh, 820px); min-height: 500px; border: 1px solid var(--sx-line); border-top: 3px solid var(--sx-gold); border-radius: 12px;
	background: radial-gradient(circle at 50% 0, #fffdf3 0, var(--sx-bg) 70%); overflow: hidden; }
.sx-svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.sx-svg:active { cursor: grabbing; }
.sx-edge { fill: none; stroke: #7fa58b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sx-edge.sx-rel-i { stroke: #a7b3a9; }
.sx-edge.sx-edge-chain { stroke: #6f9a7d; }
.sx-edge.sx-edge-root { stroke: var(--sx-gold); stroke-width: 2.4; }
.sx-panel { fill: rgba(31, 90, 58, .05); stroke: #c9b97a; stroke-width: 1; stroke-dasharray: 5 4; }
.sx-panel-title { font-size: 14px; font-weight: 600; fill: var(--sx-green); }
.sx-node { cursor: pointer; }
.sx-node:focus { outline: none; }
.sx-node .sx-box { fill: var(--sx-green); stroke: var(--sx-gold); stroke-width: 1.2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18)); }
.sx-node:hover .sx-box, .sx-node:focus .sx-box { fill: #276b46; stroke-width: 2; }
.sx-label { font-size: 16px; font-weight: 600; fill: var(--sx-gold-t); pointer-events: none; }
.sx-sub { font-size: 12.5px; fill: #d5e6d9; pointer-events: none; }
.sx-dotc { stroke: var(--sx-gold); stroke-width: 1; }
.sx-node.sx-ghost .sx-box { fill: #eef3ee; stroke: #8aa894; stroke-dasharray: 4 3; }
.sx-node.sx-ghost .sx-label { fill: var(--sx-green); font-style: italic; }
.sx-node.sx-ghost .sx-sub { fill: #5d6f62; }
.sx-node.sx-focus .sx-box { fill: var(--sx-gold); stroke: var(--sx-green-d); stroke-width: 2.5; filter: drop-shadow(0 2px 6px rgba(120, 90, 0, .35)); }
.sx-node.sx-focus .sx-label { fill: var(--sx-green-d); }
.sx-node.sx-focus .sx-sub { fill: #2e4a36; }
.sx-node.sx-focus .sx-dotc { stroke: var(--sx-green-d); }
.sx-node.sx-k-root .sx-box { fill: var(--sx-green-d); stroke: var(--sx-gold); stroke-width: 2.5; }
.sx-node.sx-k-root .sx-box2 { fill: none; stroke: var(--sx-gold); stroke-width: 1; }
.sx-node.sx-k-root .sx-label { font-size: 17px; font-weight: 700; fill: #f3d77a; }
.sx-node.sx-k-gap .sx-box { fill: var(--sx-gold-light); stroke: var(--sx-gold); stroke-dasharray: 5 3; stroke-width: 1.5; }
.sx-node.sx-k-gap .sx-label { fill: var(--sx-green); }
.sx-node.sx-k-gap .sx-sub { fill: #7a5d10; }
.sx-node.sx-k-more .sx-box { fill: #fff; stroke: var(--sx-gold); stroke-width: 1.5; }
.sx-node.sx-k-more .sx-label { fill: var(--sx-green); font-size: 15px; }
.sx-node.sx-k-more:hover .sx-box, .sx-node.sx-k-gap:hover .sx-box { fill: #fff3cf; }
.sx-incomplete rect { fill: #fff6e0; stroke: var(--sx-gold); stroke-dasharray: 3 2; }
.sx-incomplete text { font-size: 12px; fill: #7a5208; }

.sx-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 5px; }
.sx-zb { width: 36px; height: 36px; font-size: 19px; line-height: 1; border-radius: 8px; border: 1px solid var(--sx-gold); background: var(--sx-green); color: var(--sx-gold-t); cursor: pointer; }
.sx-zb:hover { background: var(--sx-gold); color: var(--sx-green-d); }

.sx-card { position: absolute; z-index: 15; left: 10px; top: 10px; width: 290px; box-sizing: border-box; background: #fff; border: 1px solid var(--sx-line); border-top: 4px solid var(--sx-gold);
	border-radius: 10px; padding: 12px 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); font-size: .92rem; max-height: calc(100% - 20px); overflow: auto; }
.sx-card.sx-card-sheet { left: 6px; right: 6px; bottom: 6px; width: auto; top: auto; max-height: 62%; }
.sx-card h4 { margin: 0 24px 6px 0; font-size: 1.08rem; color: var(--sx-green); }
.sx-card dl { margin: 0 0 8px; }
.sx-card dt { font-weight: bold; color: #555; font-size: .85rem; margin-top: 5px; }
.sx-card dd { margin: 0; }
.sx-thumb { float: right; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; margin: 0 0 6px 8px; border: 1px solid var(--sx-line); }
.sx-card-close { position: absolute; right: 6px; top: 4px; border: 0; background: none; font-size: 20px; cursor: pointer; color: #666; }
.sx-card-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; clear: both; }

/* তালিকা */
.sx-list { border: 1px solid var(--sx-line); border-top: 3px solid var(--sx-gold); border-radius: 12px; padding: 10px 14px; background: var(--sx-bg); }
.sx-list h3 { font-size: 1.05rem; margin: 8px 0 4px; color: var(--sx-green); }
.sx-outline, .sx-outline ul { list-style: none; margin: 0; padding-left: 0; }
.sx-outline ul { padding-left: 16px; border-left: 2px solid #cfe0d2; margin-left: 8px; }
.sx-outline li { margin: 5px 0; }
.sx-node-link, a.sx-node-link, a.sx-node-link:visited { display: inline-block; padding: 3px 10px; border-left: 5px solid #999; background: var(--sx-green); color: var(--sx-gold-t);
	border-radius: 6px; text-decoration: none; font-weight: 600; }
a.sx-node-link:hover { background: #276b46; text-decoration: none; }
a.sx-ghost-link, a.sx-ghost-link:visited { background: #eef3ee; color: var(--sx-green); font-style: italic; font-weight: normal; }
a.sx-root-link, a.sx-root-link:visited { background: var(--sx-green-d); color: #f3d77a; outline: 1px solid var(--sx-gold); }
a.sx-focus-link, a.sx-focus-link:visited { background: var(--sx-gold); color: var(--sx-green-d); }
.sx-rel { display: inline-block; font-size: .78rem; color: #6b6b5a; margin-right: 6px; }
.sx-inc-tag { display: inline-block; margin-left: 6px; font-size: .8rem; color: #7a5208; background: #fff6e0; border: 1px dashed var(--sx-gold); border-radius: 999px; padding: 0 8px; }
.sx-list summary { cursor: pointer; color: #555; font-size: .88rem; margin: 2px 0 2px 6px; }

.sx-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 8px 0; font-size: .86rem; color: #333; }
.sx-lg { display: inline-flex; align-items: center; gap: 4px; }
.sx-lg-line { stroke: #6f9a7d; stroke-width: 2.2; }
.sx-lg-box { width: 22px; height: 13px; border-radius: 4px; display: inline-block; }
.sx-lg-node { background: var(--sx-green); border: 1px solid var(--sx-gold); }
.sx-lg-focus { background: var(--sx-gold); border: 1px solid var(--sx-green-d); }
.sx-lg-ghost { background: #eef3ee; border: 1.5px dashed #8aa894; }
.sx-chiprow { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.sx-chip { font: inherit; font-size: .9rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--sx-line); background: #fff; color: #333; cursor: pointer; }
.sx-chip:hover { border-color: var(--sx-gold); }
.sx-heads { margin-top: 10px; }
.sx-heads summary { cursor: pointer; color: var(--sx-green); font-weight: 600; }

@media (max-width: 640px) {
	.sx-main { display: block; }
	.sx-stage { position: static; }
	.sx-side-tq { display: flex; }
	.sx-side { max-height: none; overflow: visible; padding: 8px; margin-bottom: 10px; }
	.sx-side-list { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
	.sx-side-btn { width: auto; flex: 0 0 auto; white-space: nowrap; }
	.sx-side-btn small { white-space: nowrap; }
	.sx-side-group + .sx-side-group { margin-top: 8px; padding-top: 8px; }
	.sx-graph { height: 64vh; min-height: 380px; }
	.sx-search { flex-direction: column; }
	.sx-bar { gap: 6px; }
	.sx-crumb { flex-basis: 100%; order: 5; }
	.sx-legend { font-size: .8rem; }
}

/* শাজরা-তালিকা: ওপর থেকে নিচে, মাঝে সোনালি সংযোগ-রেখা */
.sx-shajra { list-style: none; margin: 8px 0 18px; padding: 0; display: flex; flex-direction: column; align-items: center; }
.sx-shajra li { list-style: none; position: relative; margin: 0 0 20px; text-align: center; }
.sx-shajra li:last-child { margin-bottom: 0; }
.sx-shajra li:not(:last-child)::after { content: ''; position: absolute; left: 50%; top: 100%; height: 20px; border-left: 2px solid var(--sx-gold); }
.sx-shajra .sx-node-link { display: inline-block; }
.sx-shajra-box { margin: 6px 0 12px; }
.sx-shajra-box > summary { cursor: pointer; font-weight: 600; color: #1f5a3a; }
#silsila-explorer ol.sx-shajra li { list-style: none !important; }
/* ঊর্ধ্বমুখী শাজরা: নিচে কেন্দ্র, ওপরে শায়খরা পাশাপাশি, সোনালি রেখায় যুক্ত */
#silsila-explorer .sx-uptree { overflow-x: auto; padding: 8px 4px 6px; }
#silsila-explorer .sx-ut { display: flex; flex-direction: column; align-items: center; }
#silsila-explorer .sx-ut-parents { display: flex; align-items: flex-end; justify-content: center; }
#silsila-explorer .sx-ut-parents > .sx-ut { position: relative; padding: 0 8px 18px; }
#silsila-explorer .sx-ut-parents > .sx-ut::after { content: ''; position: absolute; bottom: 0; left: 50%; height: 18px; border-left: 2px solid var(--sx-gold); }
#silsila-explorer .sx-ut-multi > .sx-ut::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; border-top: 2px solid var(--sx-gold); }
#silsila-explorer .sx-ut-multi > .sx-ut:first-child::before { left: 50%; }
#silsila-explorer .sx-ut-multi > .sx-ut:last-child::before { right: 50%; }
#silsila-explorer .sx-ut-node { position: relative; text-align: center; white-space: nowrap; }
#silsila-explorer .sx-ut-parents + .sx-ut-node, #silsila-explorer .sx-ut-note + .sx-ut-node { padding-top: 18px; }
#silsila-explorer .sx-ut-parents + .sx-ut-node::before, #silsila-explorer .sx-ut-note + .sx-ut-node::before { content: ''; position: absolute; top: 0; left: 50%; height: 18px; border-left: 2px solid var(--sx-gold); }
#silsila-explorer .sx-ut-note { font-size: .82rem; text-align: center; white-space: nowrap; }
#silsila-explorer .sx-ut-node .sx-node-link { display: inline-block; }
/* প্রশাসকের সংযোগ-যোগ বাক্স */
#silsila-explorer .sx-adm { margin-top: 10px; border-top: 1px dashed var(--sx-gold); padding-top: 8px; }
#silsila-explorer .sx-adm > summary { cursor: pointer; font-weight: 600; color: #1f5a3a; }
#silsila-explorer .sx-adm-row { margin: 6px 0; }
#silsila-explorer .sx-adm-sel, #silsila-explorer .sx-adm-in { width: 100%; box-sizing: border-box; font: inherit; padding: 5px 8px; border: 1px solid var(--sx-line); border-radius: 6px; }
#silsila-explorer .sx-adm-list { list-style: none; margin: 2px 0 0; padding: 0; max-height: 190px; overflow-y: auto; border-radius: 6px; }
#silsila-explorer .sx-adm-list:not(:empty) { border: 1px solid var(--sx-line); background: #fff; }
#silsila-explorer .sx-adm-list li { padding: 5px 8px; cursor: pointer; margin: 0; }
#silsila-explorer .sx-adm-list li:hover { background: var(--sx-gold-light); }
#silsila-explorer .sx-adm-msg { font-size: .88rem; color: #1f5a3a; min-height: 1em; }
#silsila-explorer .sx-adm-note { font-size: .78rem; }
/* এই পাতায় পুরো প্রস্থ ব্যবহার */
.mw-page-container { max-width: none !important; }
.vector-column-end { display: none !important; }
#silsila-explorer .sx-graph { height: min(86vh, 1100px); }
/* পূর্ণ পর্দা */
#silsila-explorer:fullscreen { background: var(--sx-bg, #fbfaf4); overflow: auto; padding: 12px 16px; box-sizing: border-box; }
#silsila-explorer:fullscreen .sx-graph { height: calc(100vh - 150px); }
#silsila-explorer:fullscreen .sx-stage { position: static; }
/* বংশ-চিহ্ন */
#silsila-explorer .sx-node.sx-ahl .sx-box { stroke: #d4af37; stroke-width: 3.2; }
#silsila-explorer .sx-box-ahl2 { fill: none; stroke: #f3dc8a; stroke-width: 1.3; pointer-events: none; }
#silsila-explorer .sx-node.sx-sayyid .sx-box { stroke: #3b82c4; stroke-width: 3.2; }
#silsila-explorer .sx-node-link.sx-ahl { box-shadow: 0 0 0 2px #d4af37, 0 0 0 4px #f3dc8a; }
#silsila-explorer .sx-node-link.sx-sayyid { box-shadow: 0 0 0 2px #3b82c4; }
#silsila-explorer .sx-lg-box.sx-lg-ahl { border: 3px double #d4af37 !important; }
#silsila-explorer .sx-lg-box.sx-lg-sayyid { border: 2px solid #3b82c4 !important; }

/* ---------- মানচিত্র (পুরো সিলসিলা) — পাতাজুড়ে, বাক্স ছাড়া; পাশে ভাসমান প্যানেল ---------- */
#silsila-explorer.sx-mapmode .sx-main { display: block;}
#silsila-explorer.sx-mapmode .sx-stage { position: static;}
#silsila-explorer.sx-mapmode .sx-stage > .sx-legend { display: none;}
#silsila-explorer .sx-mapwrap { position: relative; margin: 0; box-sizing: border-box;}
#silsila-explorer .sx-map { position: relative; height: calc(100vh - 60px); height: calc(100dvh - 60px); min-height: 420px; border: 0; border-radius: 0;
  background: radial-gradient(ellipse at 50% 0, #fffdf3 0, var(--sx-bg) 75%); overflow: hidden;}
#silsila-explorer:fullscreen { background: var(--sx-bg); overflow: auto;}
#silsila-explorer.sx-mapmode:fullscreen .sx-map { height: 100vh;}
#silsila-explorer .sx-map-cv { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;}
#silsila-explorer .sx-map-cv.sx-hand { cursor: pointer;}
#silsila-explorer .sx-map-cv.sx-grabbing { cursor: grabbing;}
#silsila-explorer .sx-map-cv:focus-visible { box-shadow: inset 0 0 0 2px var(--sx-gold);}
/* নিয়ন্ত্রণ: ডান-নিচে জুম, তার নিচে পুরো মানচিত্র */
#silsila-explorer .sx-map .sx-zoom { z-index: 6; top: auto; bottom: 58px; right: 12px;}
#silsila-explorer .sx-map-fit { position: absolute; right: 12px; bottom: 12px; z-index: 6; font-size: .9rem; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--sx-gold); background: var(--sx-green); color: var(--sx-gold-t); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.18);}
#silsila-explorer .sx-map-fit:hover { background: var(--sx-gold); color: var(--sx-green-d);}
#silsila-explorer .sx-map-hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; z-index: 4; font-size: 12px; color: #4d6153; background: rgba(255,255,255,.85); padding: 3px 10px; border-radius: 8px; pointer-events: none; white-space: nowrap;}
/* ভাসমান প্যানেল */
#silsila-explorer .sx-mp { position: absolute; top: 10px; bottom: 10px; z-index: 8; display: none; flex-direction: column; background: rgba(255,255,255,.97); border: 1px solid var(--sx-line); border-top: 3px solid var(--sx-gold); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); box-sizing: border-box;}
#silsila-explorer .sx-mp-left { left: 10px; width: 320px;}
#silsila-explorer .sx-mp-right { right: 10px; width: 290px; bottom: auto; max-height: calc(100% - 80px);}
#silsila-explorer .sx-map.sx-l-open .sx-mp-left, #silsila-explorer .sx-map.sx-r-open .sx-mp-right { display: flex;}
#silsila-explorer .sx-mp-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 12px; font-weight: 700; color: var(--sx-green); border-bottom: 1px solid var(--sx-line); flex: none;}
#silsila-explorer .sx-mp-x { font: inherit; font-size: 18px; line-height: 1; width: 32px; height: 30px; border: 1px solid var(--sx-line); border-radius: 6px; background: #fff; color: var(--sx-green); cursor: pointer;}
#silsila-explorer .sx-mp-body { overflow: auto; padding: 10px; flex: 1 1 auto; -webkit-overflow-scrolling: touch;}
#silsila-explorer .sx-mp-body .sx-search { display: flex; gap: 6px;}
#silsila-explorer .sx-mp-body .sx-search .sx-inputwrap { flex: 1 1 auto; min-width: 0;}
#silsila-explorer .sx-mp-body .sx-search .sx-btn { padding-left: 10px; padding-right: 10px;}
#silsila-explorer .sx-mp-body .sx-bar { flex-wrap: wrap; gap: 6px;}
#silsila-explorer .sx-mp-body .sx-start { margin: 8px 0;}
#silsila-explorer .sx-mp-body .sx-side { width: auto; margin-top: 10px; position: static; max-height: none;}
#silsila-explorer .sx-mp-tog { position: absolute; top: 10px; z-index: 7; font: inherit; font-size: .9rem; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--sx-gold); background: var(--sx-green); color: var(--sx-gold-t); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.18);}
#silsila-explorer .sx-mp-tog:hover { background: var(--sx-gold); color: var(--sx-green-d);}
#silsila-explorer .sx-mp-tog-l { left: 10px;}
#silsila-explorer .sx-mp-tog-r { right: 12px;}
#silsila-explorer .sx-map.sx-l-open .sx-mp-tog-l, #silsila-explorer .sx-map.sx-r-open .sx-mp-tog-r { display: none;}
/* পরিচিতি-কার্ড: ডান দিকে ভাসমান (মোবাইলে নিচের শিট) */
#silsila-explorer .sx-map .sx-card { z-index: 15;}
#silsila-explorer .sx-map .sx-card:not(.sx-card-sheet) { left: auto; right: 10px; top: 10px; width: 300px; max-height: calc(100% - 130px);}
/* ব্যাখ্যা */
#silsila-explorer .sx-map-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: .85rem;}
#silsila-explorer .sx-mlg-lbl { color: #555; flex-basis: 100%;}
#silsila-explorer .sx-mlg-chip { font: inherit; font-size: .8rem; border: 1px solid var(--sx-line); background: #fff; border-radius: 14px; padding: 2px 10px 2px 7px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; color: #333;}
#silsila-explorer .sx-mlg-chip i { display: inline-block; width: 11px; height: 11px; border-radius: 50%;}
#silsila-explorer .sx-mlg-chip:hover { border-color: var(--sx-gold);}
#silsila-explorer .sx-mlg-chip.sx-on { border-color: var(--sx-green); background: var(--sx-gold-light); font-weight: 600;}
#silsila-explorer .sx-mlg-static { cursor: default;}
#silsila-explorer .sx-mlg-opt { font-size: .82rem; display: inline-flex; align-items: center; gap: 4px; flex-basis: 100%;}
#silsila-explorer .sx-mlg-boxes { display: flex; flex-wrap: wrap; gap: 4px 12px; flex-basis: 100%; font-size: .8rem;}
#silsila-explorer .sx-mlg-note { flex-basis: 100%; font-size: .8rem; line-height: 1.45;}
@media (max-width: 640px) {
  #silsila-explorer .sx-map { height: calc(100vh - 96px); height: calc(100dvh - 96px); min-height: 360px;}
  #silsila-explorer .sx-map-hint { display: none;}
  #silsila-explorer .sx-mp-left { left: 0; top: 0; bottom: 0; width: min(88vw, 340px); border-radius: 0 10px 10px 0;}
  #silsila-explorer .sx-mp-right { right: 0; top: 0; width: min(88vw, 320px); max-height: 100%; bottom: 0; border-radius: 10px 0 0 10px;}
  #silsila-explorer .sx-mp-tog { top: 8px; padding: 8px 11px;}
  #silsila-explorer .sx-mp-tog-l { left: 8px;}
  #silsila-explorer .sx-mp-tog-r { right: 8px;}
  #silsila-explorer .sx-map .sx-zb { width: 42px; height: 42px;}
  #silsila-explorer .sx-map .sx-zoom { bottom: 62px; right: 8px;}
  #silsila-explorer .sx-map-fit { right: 8px; bottom: 10px;}
}

#silsila-explorer .sx-mapwrap, #silsila-explorer .sx-map { max-width: none !important;}

/* SILSILA-MAP2: শাখা-রঙের নমুনা ও হাইলাইট-রেখার ব্যাখ্যা */
#silsila-explorer .sx-mlg-pal { display: flex; flex-wrap: wrap; gap: 5px; flex-basis: 100%; margin: 1px 0 4px;}
#silsila-explorer .sx-mlg-pal i { display: inline-block; width: 28px; height: 5px; border-radius: 3px;}
#silsila-explorer .sx-lg-ln { display: inline-block; width: 24px; height: 0; border-top: 4px solid #999; vertical-align: middle;}
#silsila-explorer .sx-lg-ln.sx-lg-chain { border-top-color: #c99a1c; border-top-width: 5px;}
#silsila-explorer .sx-lg-ln.sx-lg-kids { border-top-color: #2e9e5e;}
#silsila-explorer .sx-lg-ln.sx-lg-sec { border-top: 2px dashed #7b3fb0;}