/* ============ practice.css ============
   担当B所有: 瞬間英作文(並べ替え方式) / シャドーイング案内モード
   トークンは css/app.css :root を使う(このファイルでは定義しない) */

/* ---------- 瞬間英作文: 並べ替えタイル ---------- */
.tile-slot-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  min-height: 52px; padding: 10px 12px;
  border: 2px dashed var(--line); border-radius: 14px;
  margin-bottom: 14px;
}
.tile-slot-hint { padding: 6px 4px; }
.tile-punct { font-size: 20px; font-weight: 900; color: var(--ink); padding: 0 2px; }

.tile-bank { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; }

.tile {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 14px;
  border-radius: 12px; font-family: var(--font); font-size: 15px; font-weight: 800;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 3px 0 var(--line);
  color: var(--ink); cursor: pointer; transition: transform .12s ease;
}
.tile.bank:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.tile.placed {
  background: var(--brand-soft); border-color: #DCD5FA; color: var(--brand-deep);
  box-shadow: 0 3px 0 #DCD5FA;
}
.tile.placed:active { transform: translateY(2px); box-shadow: 0 1px 0 #DCD5FA; }
.tile.tile-ok {
  background: var(--good-soft); border-color: var(--good); color: var(--good-deep);
  box-shadow: 0 3px 0 var(--good); cursor: default;
}
.tile.tile-bad {
  background: var(--bad-soft); border-color: var(--bad); color: var(--bad-deep);
  box-shadow: 0 3px 0 var(--bad); cursor: default;
}

.tile-correct-answer {
  background: var(--bg); border-radius: 12px; padding: 10px 14px;
  font-size: 14px; font-weight: 700; margin-top: 10px; text-align: left;
}
.tile-msg { font-size: 14px; font-weight: 800; text-align: center; margin-top: 10px; }
.tile-msg.ok { color: var(--good-deep); }
.tile-msg.ng { color: var(--bad-deep); }

/* ---------- シャドーイング: 案内モード(Shadow.guide) ---------- */
.gcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 32px 20px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  text-align: center; margin-bottom: 6px;
}
.gcard .g-en { font-size: 21px; font-weight: 800; line-height: 1.6; }
.gcard .g-en.g-hide { filter: blur(9px); user-select: none; }
.gcard .g-ja { font-size: 14px; color: var(--muted); line-height: 1.6; }

.guide-hint { font-size: 14px; font-weight: 800; color: var(--brand-deep); margin-bottom: 8px; min-height: 20px; }

@media (max-width: 480px) {
  .gcard .g-en { font-size: 18px; }
  .gcard { padding: 26px 16px; min-height: 190px; }
}
