* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa;
  color: #222;
}

#app {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
}

.hidden {
  display: none;
}

/* =====================
   質問画面
===================== */

.progress {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

#questionBox {
  margin-top: 24px;
}

.question-text {
  font-size: 18px;
  margin-bottom: 16px;
}

.answer-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.answer-btn:disabled {
  opacity: 0.5;
}

.answer-btn.active {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* =====================
   結果画面
===================== */

#screen-result h1 {
  margin: 6px 0 0;
  font-size: 26px;
}

.result-illust {
  text-align: center;
  margin-bottom: 8px;
}

.result-illust img {
  width: 120px;
  max-width: 40%;
  height: auto;
  opacity: 0.95;
}




.type-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

/* サイコパスラベル */
.psycho-label {
  font-size: 12px;
  color: #b00020;
  margin-bottom: 6px;
}

/* 注文サマリ */
.order-summary {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}

.order-base {
  font-weight: 600;
  margin-bottom: 4px;
}

.order-meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.order-summary ul {
  padding-left: 18px;
  margin: 0;
}

/* 金額 */
.price {
  font-size: 22px;
  margin-top: 12px;
  font-weight: 600;
}

/* 説明文 */
#description {
  margin-top: 16px;
  line-height: 1.6;
}

/* サイコパス注釈 */
.psycho-note {
  font-size: 12px;
  color: #777;
  margin-top: 20px;
}

/* =====================
   シェア
===================== */

.share-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 14px;
  background: #1da1f2;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}


/* =====================
   カレー画像キャンバス
===================== */

.curry-canvas {
  position: relative;
  width: 240px;
  max-width: 100%;
  margin: 0 auto 12px;
}

/* 共通レイヤー */
.curry-canvas .layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* ベースカレー */
.curry-canvas .layer.base {
  position: relative;
  z-index: 1;
}

/* トッピング共通 */
.curry-canvas .layer.topping {
  z-index: 2;
  transform-origin: center center;
}

/* =====================
   トッピング個別調整
   （必要に応じて増やす）
===================== */

/* カツ */
.topping-katsu {
  transform: translate(0px, -2px) scale(0.95);
}

/* エビ */
.topping-shrimp {
  transform: translate(0px, -6px) scale(0.95) rotate(-5deg);
}

/* チキン */
.topping-chicken {
  transform: translate(0px, -4px) scale(0.9);
}

/* ソーセージ */
.topping-wieners {
  transform: translate(6px, 4px) scale(0.9) rotate(8deg);
}

/* 野菜 */
.topping-veg {
  transform: translate(-6px, 4px) scale(0.95);
}

/* コーン */
.topping-corn {
  transform: translate(4px, 6px) scale(0.85);
}

/* たまご */
.topping-egg {
  transform: translate(-4px, -6px) scale(0.85);
}


