/* Birth Constellation — styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #060810;
    color: #e8ecf6;
    -webkit-user-select: none; user-select: none;
    -webkit-tap-highlight-color: transparent;
}
#app { position: relative; width: 100vw; height: 100vh; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }

.topbtns { position: fixed; top: 12px; right: 12px; z-index: 10; display: flex; gap: 8px; }
.icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(9,12,20,.6); color: #ccd6f0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(6px);
    transition: background .2s, transform .15s;
}
.icon-btn:hover { background: rgba(30,40,64,.75); transform: scale(1.06); }
.icon-btn.sm { width: 28px; height: 28px; font-size: 17px; line-height: 1; }

#status {
    position: fixed; left: 12px; bottom: 12px; z-index: 8;
    font-size: 11.5px; letter-spacing: .04em; color: rgba(205,215,245,.55);
    text-shadow: 0 1px 3px rgba(0,0,0,.7); pointer-events: none;
}
#hint {
    position: fixed; top: 14px; left: 50%; transform: translate(-50%, -8px);
    z-index: 9; font-size: 12.5px; color: #dce6ff;
    background: rgba(10,14,26,.85); padding: 7px 14px; border-radius: 20px;
    border: 1px solid rgba(160,185,245,.3); opacity: 0; pointer-events: none;
    transition: opacity .4s, transform .4s; max-width: 88vw; text-align: center;
}
#hint.show { opacity: 1; transform: translate(-50%, 0); }

#panel {
    position: fixed; inset: 0; z-index: 20;
    background: rgba(4,6,12,.65); backdrop-filter: blur(4px);
    display: flex; align-items: flex-end; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
#panel.open { opacity: 1; pointer-events: auto; }
.sheet {
    width: 100%; max-width: 400px;
    background: #0e1322; border-radius: 18px 18px 0 0;
    border: 1px solid rgba(160,185,245,.16); border-bottom: 0;
    padding: 14px 18px 26px;
    transform: translateY(30px); transition: transform .28s;
}
#panel.open .sheet { transform: translateY(0); }
.sheet-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px; font-weight: 600; margin-bottom: 10px;
}
.lbl { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #98a8d0; margin: 12px 0 6px; text-align: center; }
#bdate {
    display: block; margin: 0 auto; width: 200px;
    background: #0a0e1a; color: #e8ecf6;
    border: 1px solid rgba(160,185,245,.25); border-radius: 10px;
    padding: 9px 12px; font: 14px "Segoe UI", sans-serif;
}
#bdate:focus { outline: none; border-color: rgba(160,185,245,.6); }
#signs { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.chip {
    padding: 7px 10px; border-radius: 14px; font-size: 12px;
    border: 1.5px solid rgba(160,185,245,.25); background: rgba(18,24,44,.7);
    color: #c8d4f0; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: rgba(160,185,245,.6); }
.chip.sel { background: #5a6ec8; color: #fff; border-color: #5a6ec8; }
