/* Julokomi demo — CSS leggero, mobile-first */
:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.topbar{
  padding: 14px 16px;
}

.brand{
  max-width: 900px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap: 12px;
}

.logo{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius: 14px;
  background:#fff;
  box-shadow: var(--shadow);
  padding:6px;
}

.titles h1{
  margin:0;
  font-size: 22px;
  line-height:1.1;
}
.subtitle{
  margin:2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.wrap{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 24px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.scene{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height: 220px;
}

.character{
  width: min(260px, 70vw);
  height: auto;
}

.dialogue{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 12px;
}

#text{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
}

.actions{
  display:flex;
  justify-content:center;
  margin: 6px 0 0;
}

.btn{
  border:0;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 650;
  background:#111827;
  color:#fff;
}

.btn:active{ transform: translateY(1px); }

.hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.choices{
  display:flex;
  gap: 14px;
  justify-content:center;
}

.choice{
  border:0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  width: min(160px, 42vw);
}

.choice img{
  width:100%;
  height:auto;
  display:block;
}

.choice:active{ transform: translateY(1px); }

.feedback{
  min-height: 28px;
  text-align:center;
  color: var(--muted);
  font-weight: 600;
}
