/* SAFE V129 — AFTER 화면 5단계 실력 레벨 바 · 저장 완료 토스트 표현 전용 스타일.
   마크업/저장 로직/시트/결제 로직은 건드리지 않습니다. 다크 테마 대비 기준(#232327/#ececf1). */

.after-skill-level-safe-v129 {
  margin: 6px 0 10px;
  padding: 10px 12px;
  border: 1px solid #3c3c42;
  border-radius: 13px;
  background: #232327;
}
.after-skill-level-safe-v129:empty {
  display: none;
}
.after-skill-hint-safe-v129 {
  margin: 0;
  font-size: 12px;
}
.after-skill-head-safe-v129 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.after-skill-head-safe-v129 b {
  color: #f5f5f6;
  font-size: 13px;
}
.after-skill-head-safe-v129 .muted {
  font-size: 11px;
}
.after-skill-pills-safe-v129 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-pill-safe-v129 {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #48484f;
  background: #2c2c31;
  color: #ececf1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.skill-pill-safe-v129.is-active-safe-v129 {
  border-color: #7fb697;
  background: #2f4436;
  color: #e3f6e9;
  box-shadow: inset 0 0 0 1px #7fb697;
}
.skill-pill-none-safe-v129 {
  color: #c3c3cb;
}
.skill-pill-none-safe-v129.is-active-safe-v129 {
  border-color: #8d8d97;
  background: #3a3a41;
  color: #f3f3f5;
  box-shadow: inset 0 0 0 1px #8d8d97;
}
.skill-pill-safe-v129:focus-visible {
  outline: 2px solid #a6d3b5;
  outline-offset: 2px;
}
.after-skill-status-safe-v129 {
  margin: 6px 0 0;
  font-size: 11px;
  color: #9fd3b1;
  min-height: 14px;
}
.after-skill-status-safe-v129:empty {
  display: none;
}

/* 저장 완료 안내 토스트 — 화면을 닫은 뒤에도 안내가 남도록 body 에 붙입니다. */
.after-toast-safe-v129 {
  position: fixed;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  max-width: min(92vw, 26rem);
  padding: 12px 16px;
  border: 1px solid #7fb697;
  border-radius: 14px;
  background: #1f2b23;
  color: #e3f6e9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.after-toast-safe-v129.is-visible-safe-v129 {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 560px) {
  .skill-pill-safe-v129 {
    flex: 1 1 auto;
    min-width: 58px;
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .after-toast-safe-v129 {
    transition: none;
  }
}
