/* FILE: public/assets/style.css */
:root{
  --bg:#0b1020;
  --panel:rgba(0,0,0,.55);
  --border:rgba(255,255,255,.20);
  --text:#e9eefc;
  --muted:rgba(233,238,252,.65);
  --hint:#ffe55c;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:linear-gradient(180deg,#080c18,#050714 60%,#050714);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

#app{height:100%;display:flex;flex-direction:column}
#topbar{
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.15);
}
#brand .title{font-weight:800;letter-spacing:.2px}
#brand .sub{font-size:12px;color:var(--muted);margin-top:2px}

#stage{position:relative;flex:1;overflow:hidden}
#game{
  position:absolute;inset:0;
  width:100%;height:100%;
  display:block;
}

#hud{position:absolute;inset:0;pointer-events:none}

.panel{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px;
  pointer-events:auto;
  backdrop-filter: blur(6px);
}

.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.spacer{width:28px;height:1px}

button,select{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  color:var(--text);
  padding:7px 10px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
}
button:hover,select:hover{background:rgba(255,255,255,.12)}
button:active{transform:translateY(1px)}
select{padding:7px 8px}

#toolbar{position:absolute;left:12px;top:10px}
.dropdown{position:relative}
.menu{
  position:absolute;left:0;top:40px;
  display:flex;flex-direction:column;gap:6px;
  padding:8px;
  min-width:120px;
  z-index:10;
}
.hidden{display:none !important}

.chip{
  position:absolute;
  left:12px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.14);
  padding:6px 10px;
  border-radius:999px;
  pointer-events:none;
  font-weight:700;
}
#toolchip{top:72px;color:rgba(200,255,255,.95)}
#peoplechip{top:108px}

.hint{
  position:absolute;
  left:12px;
  top:148px;
  background:rgba(255,229,92,.92);
  color:#0b0f1f;
  border-radius:12px;
  padding:10px 12px;
  font-size:18px;
  font-weight:800;
  max-width:min(740px, 92vw);
  pointer-events:none;
}

#savehud{position:absolute;right:12px;bottom:12px}
.label{font-weight:800}
.muted{color:var(--muted);font-weight:600}
.small{font-size:12px}

.toast{
  position:absolute;
  left:50%;
  bottom:64px;
  transform:translateX(-50%);
  background:rgba(0,0,0,.70);
  border:1px solid rgba(255,255,255,.15);
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  pointer-events:none;
}

.minimap{
  position:absolute;
  right:12px;
  top:12px;
  width:290px;
  pointer-events:auto;
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.20);
  border-radius:14px;
  padding:10px;
}
.minimapHeader{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
#minimap{
  width:256px;
  height:256px;
  display:block;
  border-radius:10px;
  background:rgba(0,0,0,.22);
}

#help{
  padding:10px 14px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.12);
}
