.jurar-escape-game-app{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;
  color:#3d3338;
}
.jeg-loading,.jeg-card{
  background:#fff;
  border:1px solid #f1d9de;
  border-radius:24px;
  padding:20px;
  box-shadow:0 8px 24px rgba(80,40,60,.08);
}
.jeg-card h1,.jeg-card h2,.jeg-card h3{line-height:1.35;margin:0 0 12px}
.jeg-scene{
  position:relative;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  border:1px solid #ead6c6;
  box-shadow:0 8px 24px rgba(80,40,60,.08);
}
.jeg-scene-img{
  display:block;
  width:100%;
  height:auto;
}
.jeg-scene-footer{
  position:sticky;
  bottom:0;
  padding:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),#fff);
  text-align:center;
}
.jeg-btn{
  border:0;
  border-radius:999px;
  padding:14px 28px;
  font-weight:900;
  cursor:pointer;
  background:#f5a9b7;
  color:#fff;
  box-shadow:0 4px 12px rgba(80,40,60,.16);
  min-height:48px;
}
.jeg-btn.secondary{background:#cfe3bf;color:#3d3338}
.jeg-wide{display:block;width:100%;margin-top:16px}
.jeg-back{
  border:0;
  background:transparent;
  color:#7f6b72;
  font-weight:800;
  cursor:pointer;
  margin-bottom:12px;
}
.jeg-progress{
  font-weight:900;
  margin:0 0 12px;
}
.jeg-airplane-wrap{
  position:relative;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #ead6c6;
  background:#fff7f2;
}
.jeg-airplane-img{
  display:block;
  width:100%;
  height:auto;
}
.jeg-click-grid{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(3,1fr);
}
.jeg-map-cell{
  appearance:none;
  border:2px solid rgba(255,255,255,.78);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  padding:10px;
  text-align:left;
  font-weight:900;
  text-shadow:0 2px 5px rgba(0,0,0,.55);
}
.jeg-map-cell span{
  background:rgba(48,31,31,.68);
  border-radius:999px;
  padding:6px 10px;
  font-size:clamp(12px,2vw,18px);
}
.jeg-map-cell small{
  margin-top:6px;
  background:rgba(255,255,255,.84);
  color:#3d3338;
  border-radius:999px;
  padding:3px 8px;
  font-size:12px;
  text-shadow:none;
}
.jeg-map-cell:hover{
  background:rgba(255,230,235,.25);
}
.jeg-map-cell.is-clear{
  background:rgba(196,226,172,.35);
}
.jeg-dialog{
  background:#fff7f9;
  border-left:6px solid #f5a9b7;
  border-radius:16px;
  padding:12px 14px;
  margin:14px 0;
}
.jeg-dialog.is-ok{border-left-color:#a8cf83}
.jeg-dialog.is-ng{border-left-color:#f0b36a}
.jeg-dialog p{margin:.3em 0 0}
.jeg-event{
  font-weight:800;
  background:#fffaf2;
  border-radius:14px;
  padding:12px;
}
.jeg-question{
  margin-top:16px;
}
.jeg-choices{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}
.jeg-choice{
  border:1px solid #f0cfd6;
  border-radius:16px;
  padding:14px;
  background:#fff;
  color:#3d3338;
  font-weight:900;
  cursor:pointer;
  text-align:left;
  min-height:48px;
}
.jeg-choice:hover{
  background:#fff4f7;
}
.jeg-explain{
  font-weight:700;
}
@media(max-width:640px){
  .jurar-escape-game-app{padding:10px}
  .jeg-card{padding:16px;border-radius:20px}
  .jeg-map-cell{padding:5px}
  .jeg-map-cell span{font-size:11px;padding:4px 6px}
  .jeg-map-cell small{display:none}
  .jeg-choices{grid-template-columns:1fr}
  .jeg-btn{width:100%}
}
