@font-face { font-family:UjuNoto; src:url(media/NotoSansKR-Regular.otf) format('opentype'); font-display:swap; }
.mini-uju { margin:28px 0 12px; overflow:hidden; border:1px solid #d4d0c7; border-radius:8px; background:#f3f0e9; color:#333; font-family:UjuNoto,sans-serif; }
.mini-space { position:relative; height:450px; aspect-ratio:auto; overflow:hidden; touch-action:none; }
.mini-map { display:block; width:100%; height:100%; }
.mini-world { transform-origin:0 0; }
.mini-world line { stroke:#777; stroke-width:1; }
.mini-world .mini-hull { fill:none; stroke:#ccc; stroke-width:2; stroke-dasharray:10 8; stroke-linejoin:round; pointer-events:none; }
.mini-world .mini-label { fill:#333; font:12px UjuNoto,sans-serif; text-anchor:middle; pointer-events:none; }
.mini-world .mini-group-label { font:20px UjuNoto,sans-serif; fill:#555; text-anchor:middle; cursor:pointer; }
.mini-node { cursor:grab; outline:none; }
.mini-node:focus-visible .node-area { stroke:#777; stroke-width:2; }
.mini-node .node-area { fill:#e5c33e; opacity:0; }
.mini-node:hover .node-area,.mini-node.is-selected .node-area { opacity:.2; }
.mini-node .node-orbit { fill:#e5c33e; fill-opacity:.05; stroke:#e5c33e; opacity:0; }
.mini-node:hover .node-orbit,.mini-node.is-selected .node-orbit,.mini-node.is-target .node-orbit { opacity:1; }
.mini-node.is-planet .node-orbit { display:none; }
.mini-node.is-planet .node-area { fill:#8e8e8e; }
.mini-node .node-core { fill:#e5c33e; }.mini-node.is-planet .node-core { fill:#8e8e8e; }
.mini-node.is-planet .mini-label { font-size:10px; }
.mini-ghost { opacity:.2; fill:#e5c33e; }.mini-world .mini-tether { stroke:#ccc; stroke-dasharray:10 8; stroke-width:2; }
.mini-menu,.mini-add { position:absolute; display:grid; place-items:center; border:0; background:#4d4d4d; color:white; cursor:pointer; }
.mini-menu { left:16px; top:16px; z-index:3; width:36px; height:36px; border-radius:8px; font-size:19px; }
.mini-add { right:18px; bottom:18px; width:48px; height:48px; border-radius:50%; z-index:2; }
.mini-add svg { width:24px; height:24px; }.mini-add[aria-pressed=true] { outline:2px solid #e5c33e; outline-offset:3px; }
.mini-logo { position:absolute; left:18px; bottom:20px; width:70px; height:auto; pointer-events:none; }
.mini-blackhole { position:absolute; right:-60px; top:-60px; width:120px; height:120px; border-radius:50%; background:#000; pointer-events:none; transition:width 100ms,height 100ms,right 100ms,top 100ms; }
.mini-blackhole.is-near { width:160px; height:160px; top:-80px; right:-80px; }
.mini-zoom { position:absolute; right:20px; top:38%; width:26px; height:116px; border-radius:8px; background:#e5e5e1; box-shadow:0 0 4px #0001; display:grid; place-items:center; }
.mini-zoom input { width:100px; height:20px; transform:rotate(-90deg); accent-color:#4d4d4d; }
.mini-directory { position:absolute; inset:0 auto 0 0; width:190px; background:#4d4d4d; color:#fff; padding:64px 16px 20px; z-index:2; overflow:auto; font-size:12px; }
.mini-directory button { display:block; text-align:left; color:inherit; border:0; background:none; font:inherit; padding:6px; cursor:pointer; }
.mini-directory .planet-item { padding-left:32px; color:#ccc; }.mini-directory strong { font-size:14px; display:block; margin-bottom:16px; }
.mini-note { position:absolute; z-index:4; right:16px; top:16px; bottom:16px; width:36%; min-width:190px; padding:16px; border-radius:12px; background:#fff; box-shadow:0 0 10px #0001; display:flex; flex-direction:column; gap:14px; color:#333; }
.mini-note.is-expanded { inset:0; width:auto; border-radius:0; padding-inline:18%; }
.mini-note-tools { display:flex; gap:10px; }.mini-note-tools button { border:0; background:none; padding:2px; color:#333; font-size:20px; cursor:pointer; }
.mini-note-tools [data-note-delete] { color:#e53935; }.mini-note-tools [data-note-close] { margin-left:auto; }
.mini-note .mini-note-title { width:100%; min-width:0; color:#333; border:0; background:none; font:700 20px/1.5 UjuNoto,sans-serif; padding:0; }
.mini-note-preview { overflow:auto; flex:1; font:14px/1.6 UjuNoto,sans-serif; cursor:text; }
.mini-note-preview h3 { font-size:16px; margin:12px 0; }.mini-note-preview p { margin:8px 0; color:#333; font:inherit; }
.mini-note textarea { flex:1; width:100%; min-height:150px; background:none; color:#333; border:0; resize:none; font:14px/1.6 UjuNoto,sans-serif; }
.mini-uju [hidden] { display:none!important; }
.mini-uju .mini-status { padding:10px 14px; margin:0; min-height:40px; border-top:1px solid #d8d4ca; color:#666; font-size:11px; background:#f3f0e9; }
.mini-space.is-adding { cursor:crosshair; }
@media(max-width:600px){.mini-note { width:48%; min-width:160px; padding:12px; right:10px; }.mini-note.is-expanded {width:auto;padding:20px;right:0;}.mini-space{height:430px;}}
@media(prefers-reduced-motion:reduce){.mini-uju *{transition:none!important;}}

.mini-uju .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mini-note-tools button svg { width:17px; height:17px; display:block; }

/* Small centered identity, a clear add action and a vertical zoom control. */
.mini-logo { top:18px; bottom:auto; left:50%; transform:translateX(-50%); width:46px; }
.mini-uju .mini-status { position:absolute; width:1px; height:1px; min-height:0; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); border:0; }
.mini-zoom { right:20px; top:50%; transform:translateY(-50%); width:28px; height:120px; padding:12px 0; box-sizing:border-box; display:flex; justify-content:center; align-items:center; }
.mini-zoom input { appearance:none; -webkit-appearance:none; writing-mode:vertical-lr; direction:rtl; transform:none; width:4px; min-width:4px; height:92px; margin:0; padding:0; background:#c5c5c5; border:0; border-radius:2px; cursor:pointer; outline-offset:7px; }
.mini-zoom input::-webkit-slider-runnable-track { width:4px; border-radius:2px; background:#c5c5c5; }
.mini-zoom input::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:12px; height:12px; border-radius:50%; background:#4d4d4d; margin:0 -4px; }
.mini-zoom input::-moz-range-track { width:4px; background:#c5c5c5; }
.mini-zoom input::-moz-range-thumb { width:12px; height:12px; border:0; border-radius:50%; background:#4d4d4d; }
