
.cd{color:#163145;background:#fff;min-width:0;max-width:100%;font-family:system-ui,sans-serif;line-height:1.7}
.cd *{box-sizing:border-box}.cd a{color:#0879ac}.cd-nav{display:flex;flex-wrap:wrap;gap:10px;padding:14px;border:1px solid #d8e5eb;border-radius:12px;margin-bottom:20px}.cd-panel{padding:18px;border:1px solid #d8e5eb;border-radius:16px;background:#f6fafc;margin:16px 0}.cd-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.cd-controls label{display:flex;flex-direction:column;gap:5px;flex:1 1 170px;min-width:0}.cd input,.cd select{font:inherit;max-width:100%;min-width:0;width:100%;padding:10px;border:1px solid #9bb8c8;background:#fff;color:#163145;border-radius:8px}.cd label.cd-check{flex-direction:row;align-items:center}.cd-check input{width:auto}.cd button{padding:10px 14px;border:1px solid #0573a8;border-radius:8px;background:#087eb5;color:#fff;font:600 14px system-ui;cursor:pointer}.cd button:hover{background:#065b84}.cd-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cd-target{background:white;border:1px solid #d3e2e9;border-radius:12px;padding:14px;min-width:0}.cd-target h3{font-size:18px;margin:0 0 7px}.cd-target p{font-size:13px;margin:5px 0;color:#34586d}.cd-note{font-size:13px;line-height:1.6;color:#426377}.cd [data-detail]{border-left:4px solid #168fc5;padding:14px;margin:14px 0;background:#eaf5fb}.cd-article{max-width:900px;margin:32px auto}.cd-article h2{color:#14354a;font-size:25px;margin-top:32px}.cd-article p{font-size:16px;color:#25465a}.cd figure{margin:28px 0;padding:0}.cd figure img{width:100%;height:auto;max-height:580px;object-fit:contain;display:block;background:#061321;border-radius:12px}.cd figcaption{font-size:12px;color:#426377;padding:8px 0}.cd .stsky-card{margin:15px 0}.cd .stsky-controls{display:flex;flex-wrap:wrap}.cd .stsky-view{touch-action:none;overflow:hidden}.cd .stsky-view canvas{touch-action:none}.cd .stsky-head{flex-wrap:wrap}.cd .stsky-where{overflow-wrap:anywhere}.cd .stsky-readout{flex-wrap:wrap}.cd .stsky-source{color:#9cc2d7}
@media(max-width:900px){.cd-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.cd-result-grid{grid-template-columns:1fr}.cd-panel{padding:12px}.cd-controls label{flex-basis:100%}.cd .stsky-view{height:420px}.cd-article h2{font-size:22px}}

/* ST_CD_SITE_COLORS_V1: reuse the existing site palette; colours only. */
.cd{color:var(--text,#eef6ff);background:transparent}
.cd a{color:var(--accent,#42c4ff)}
.cd-nav{background:var(--surface-soft,#0b1726);border-color:var(--border,#21364d)}
.cd-panel{background:var(--surface,#0d1b2b);border-color:var(--border,#21364d)}
.cd input,.cd select{background:var(--background-2,#091524);color:var(--text,#eef6ff);border-color:var(--border,#21364d);color-scheme:dark}
.cd button{background:linear-gradient(135deg,#36bdf8,#41a6ff);color:#03111c;border-color:var(--accent,#42c4ff)}
.cd button:hover{background:linear-gradient(135deg,#36bdf8,#41a6ff)}
.cd-target{background:var(--surface-alt,#112338);border-color:var(--border,#21364d)}
.cd-target h3,.cd-article h2{color:var(--text,#eef6ff)}
.cd-target p,.cd-note,.cd figcaption{color:var(--text-muted,#91a4b9)}
.cd [data-detail]{background:var(--surface-alt,#112338);border-left-color:var(--accent,#42c4ff)}
.cd-article p{color:var(--text,#eef6ff)}


/* ST_CONSTELLATION_CARDS_V12: 88-card imagery + information + Planetarium links. */
.cd-result-grid{gap:18px}
.cd-constellation-card{padding:0 0 14px;overflow:hidden}
.cd-constellation-card>h3{padding:13px 14px 0;margin-bottom:10px;text-align:center;color:#ffd36b;font-size:19px}
.cd-thumb-wrap{position:relative;background:#02070d;border-top:1px solid var(--border,#21364d);border-bottom:1px solid var(--border,#21364d)}
.cd-constellation-thumb{display:block;width:100%;height:auto;aspect-ratio:8/5;background:#02070d}
.cd-thumb-wrap>span{position:absolute;left:8px;bottom:7px;padding:3px 7px;border-radius:999px;background:rgba(3,11,19,.76);color:#9fc5d8;font-size:10px;letter-spacing:.02em;pointer-events:none}
.cd-constellation-card .cd-coords,.cd-constellation-card .cd-status{padding:0 14px;margin:8px 0}
.cd-coords{font-variant-numeric:tabular-nums}
.cd-status{display:flex;align-items:center;gap:7px}
.cd-status-dot{display:inline-block;width:12px;height:12px;border:2px solid currentColor;border-radius:50%;flex:0 0 12px}
.cd-status-dot.high{color:#36db62}.cd-status-dot.low{color:#ffbf2e}.cd-status-dot.down{color:#ff4747}.cd-status-dot.unknown{color:#91a4b9}
.cd-card-actions{display:flex;flex-wrap:wrap;gap:8px;padding:4px 14px 0;align-items:center}
.cd-card-actions button,.cd-card-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 11px;border-radius:8px;font:700 12px system-ui;text-decoration:none}
.cd-card-actions .cd-secondary{background:transparent;color:var(--accent,#42c4ff);border-color:var(--border,#2a5068)}
.cd-card-actions .cd-planetarium{background:#101c2b;border:1px solid #d5a832;color:#ffd36b}
.cd-card-actions .cd-planetarium:hover{background:#17263a;color:#ffe495}
.cd-inline-info{margin:12px 14px 0;padding:12px;border:1px solid var(--border,#21364d);border-radius:10px;background:var(--background-2,#091524)}
.cd-inline-info p{margin:0 0 9px;color:var(--text-muted,#a7bacb);font-size:12.5px;line-height:1.55}.cd-inline-info p:last-child{margin-bottom:0}
.cd-detail-actions{display:flex;flex-wrap:wrap;gap:8px 12px}
@media(max-width:560px){.cd-card-actions>*{flex:1 1 100px}.cd-constellation-card>h3{font-size:18px}.cd-thumb-wrap>span{font-size:9px}}

/* ST_DEEPSKY_NASA_V15: exact-object NASA imagery. Never substitute an unrelated object photo. */
.cd-deep-card{padding:0 0 14px;overflow:hidden}
.cd-deep-card>h3{padding:13px 14px 0;margin-bottom:10px;text-align:center;color:#ffd36b;font-size:19px}
.cd-deep-thumb-wrap{min-height:220px}
.cd-deep-photo{position:relative;display:block;width:100%;aspect-ratio:8/5;background:#02070d;overflow:hidden}
.cd-deep-photo img{display:block;width:100%;height:100%;object-fit:cover;background:#02070d}
.cd-deep-photo-placeholder{display:flex;min-height:100%;height:100%;padding:24px;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;background:radial-gradient(circle at 50% 38%,#122b48 0,#07131f 48%,#02070d 100%);color:#dcefff}
.cd-deep-photo-placeholder strong{font-size:24px;letter-spacing:.03em;color:#fff}
.cd-deep-photo-placeholder span{font-size:12px;max-width:290px;color:#a8bed0;line-height:1.45}
.cd-no-nasa-image{background:linear-gradient(145deg,#081522,#03080d);border:1px dashed rgba(145,164,185,.26)}
.cd-no-nasa-image:before{content:'✦';font-size:32px;line-height:1;color:#7fa9c7;opacity:.8}
.cd-deep-photo-credit{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:7px 9px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#eef7ff;font-size:10px;line-height:1.3}
.cd-deep-photo-credit a{color:#9edcff;text-decoration:none;white-space:nowrap}
.cd-deep-image-status{max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-deep-card .cd-coords,.cd-deep-card .cd-status{padding:0 14px;margin:8px 0}
@media(max-width:560px){.cd-deep-photo-placeholder strong{font-size:21px}.cd-deep-photo-credit{font-size:9px}}
