#oracle-game[data-stage=cosmic] .adventure,#oracle-game[data-stage=cosmic] .world-book,#oracle-game[data-stage=cosmic] .records-layout,#oracle-game[data-stage=cosmic] .result-panel,#oracle-game[data-stage=cosmic] .journey-tabs{display:none}
#oracle-game[data-stage=cosmic] .intro h1{font-family:Galmuri,monospace;font-size:29px;color:#e5d8b7;font-weight:400}
#oracle-game[data-stage=cosmic] .origin-panel{background:#1c2a3a;border-color:#424d67}
#oracle-game[data-stage=cosmic] .journey-side{border-color:#8e8975}
#oracle-game[data-stage=cosmic] .oracle-heading h2{font-size:20px}
.cosmic-panel{position:sticky;top:18px;min-width:0;border:1px solid #536076;background:#131f31;border-radius:5px;overflow:hidden;box-shadow:0 15px 45px #0003}
.cosmic-panel[data-speaker=hero] .cosmic-conversation{background:linear-gradient(110deg,#263e43,#20313f)}.cosmic-panel[data-speaker=hero] #cosmic-speaker{color:#b6d9c9}.cosmic-dialogue-actions{display:flex;gap:20px;flex-wrap:wrap;margin-top:10px}.cosmic-dialogue-actions button{font-size:11px;color:#d9cead}.cosmic-conversation .cosmic-error{color:#efb8a3;font-size:12px}.cosmic-history{border-top:1px solid #3a4c60;padding:12px 20px;color:#8fa7b7;font-size:11px}.cosmic-history summary{cursor:pointer}.cosmic-history summary span{color:#d2c394;margin-left:6px}.cosmic-history ol{list-style:none;padding:0;margin:14px 0 0;max-height:300px;overflow:auto;overscroll-behavior:contain}.cosmic-history li{padding:12px 14px;margin-bottom:8px;border-left:2px solid #c1ac7c;background:#243247}.cosmic-history li[data-speaker=hero]{border-color:#9dbfb3;background:#243b41}.cosmic-history strong{color:#cfc6a6;font-weight:400;font-size:10px}.cosmic-history p{color:#d4ddd7;line-height:1.8;margin:5px 0 0;overflow-wrap:anywhere}
.cosmic-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #4b5a6b;background:#1c2a3c;font-size:12px;color:#ded4b2}
.cosmic-top>div{display:flex;align-items:center;gap:10px}.cosmic-star{color:#d9bd82}.cosmic-top small{font-size:8px;letter-spacing:1.5px;color:#8fa4b5;margin-left:5px}.cosmic-place{font-size:10px;color:#9aaebd}
.cosmic-stage{position:relative;background:#101a2e;overflow:hidden;line-height:0}.cosmic-stage>canvas{width:100%;height:auto;aspect-ratio:16/11;display:block;image-rendering:pixelated}
@media(min-width:901px){.cosmic-stage>canvas{max-height:50vh;object-fit:contain}}
.cosmic-location{position:absolute;left:22px;top:20px;display:flex;flex-direction:column;gap:7px;line-height:1.5;pointer-events:none}.cosmic-location span{font-size:8px;letter-spacing:2px;color:#8ca3b4}.cosmic-location strong{font-family:Galmuri,monospace;font-size:12px;color:#c7cdbd;font-weight:400}
.cosmic-god-name{position:absolute;left:0;right:0;bottom:18px;display:flex;justify-content:center;align-items:center;gap:12px;line-height:1.5;pointer-events:none;text-shadow:0 2px 4px #101526}.cosmic-god-name>span{color:#e0c78f;font:17px Georgia,serif;letter-spacing:5px}.cosmic-god-name small{color:#b6c1c5;font-size:10px}.cosmic-god-name i{width:30px;height:1px;background:#a8a68c55}
.cosmic-seals{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #425168;border-bottom:1px solid #425168;background:#1c2b40}.cosmic-seals>div{position:relative;padding:13px 12px 13px 45px;border-right:1px solid #40516866}.cosmic-seals>div:last-child{border:0}.cosmic-seals span{position:absolute;left:18px;top:17px;font:19px Georgia;color:#788c9f}.cosmic-seals strong{font-size:11px;font-weight:400;color:#c1c6be;display:block}.cosmic-seals small{font-size:9px;color:#8095a8}.cosmic-seals [data-active=true]{background:#2b3c50}.cosmic-seals [data-active=true] span,.cosmic-seals [data-sealed=true] span{color:#ecd398}.cosmic-seals [data-sealed=true]{box-shadow:inset 0 -2px #d3bd80}.cosmic-seals [data-sealed=true] small{color:#cfc49b}
.cosmic-conversation{display:flex;align-items:start;gap:16px;padding:21px 23px;background:linear-gradient(110deg,#253348,#1a283d);min-height:145px}.cosmic-conversation>canvas{flex-shrink:0;width:43px;height:55px;image-rendering:pixelated;background:#182439;border:1px solid #6a6c76}.cosmic-conversation>div{min-width:0}.cosmic-conversation strong{font-size:11px;letter-spacing:.04em;color:#ddc994;font-weight:400}.cosmic-conversation p{font-size:13px;line-height:1.9;color:#d6ded9;margin:8px 0;overflow-wrap:anywhere;word-break:keep-all}.cosmic-conversation small{font-size:10px;line-height:1.7;color:#91a7b7}
.cosmic-footer{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #3a4c60;color:#819caf;font-size:10px}.cosmic-footer>div{display:flex;align-items:center;gap:12px}.cosmic-footer label{display:flex;align-items:center;gap:5px;white-space:nowrap}.cosmic-footer input{accent-color:#ccb27a}.cosmic-footer button{font-size:10px;color:#c6cdbf}
@media(max-width:1100px){.cosmic-top{padding:13px}.cosmic-place{display:none}.cosmic-seals>div{padding:12px 8px 12px 32px}.cosmic-seals span{left:10px}.cosmic-seals strong{font-size:10px}.cosmic-conversation{padding:17px;gap:12px}}
@media(max-width:900px){.cosmic-panel{position:static}#oracle-game[data-stage=cosmic] .intro h1{font-size:25px}.cosmic-stage>canvas{max-height:640px;object-fit:contain}.cosmic-conversation{min-height:120px}}
@media(max-width:580px){.cosmic-top small{font-size:7px}.cosmic-location{left:12px;top:12px}.cosmic-location span{font-size:6px}.cosmic-location strong{font-size:9px}.cosmic-god-name{bottom:12px;gap:8px}.cosmic-god-name>span{font-size:13px}.cosmic-god-name small{font-size:8px}.cosmic-seals>div{padding-left:27px}.cosmic-seals span{left:8px;font-size:15px}.cosmic-seals strong{font-size:9px}.cosmic-seals small{font-size:8px}.cosmic-conversation p{font-size:12px}.cosmic-footer{flex-wrap:wrap}.cosmic-footer>div{margin-left:auto}#oracle-game[data-stage=cosmic] .intro h1{font-size:22px}}
