/* 📖 내 별명 그림책 (js/play-story.js) */
.st { padding: 18px 0 40px; background: linear-gradient(180deg, #FFF6EA 0%, #FFFDF9 260px); }
.st-top h1 { margin: 0; font-size: 26px; }
.st-lead { margin: 6px 0 14px; color: var(--color-text-sub); font-size: 15px; line-height: 1.6; }
.st-nick { margin-bottom: 14px; }
.st-nick-form { background: #fff; border: 2px dashed #F2C9A8; border-radius: 18px; padding: 14px; }
.st-nick-form label { display: block; font-size: 15px; margin-bottom: 8px; }
.st-nick-row { display: flex; gap: 8px; }
.st-nick-row input { flex: 1; min-width: 0; font: inherit; font-size: 18px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid #E3D5C6; }
.st-nick-note { margin: 8px 0 0; font-size: 13px; color: #B4592A; }
.st-nick-now { margin: 0; font-size: 15px; }
.st-link { border: 0; background: none; color: #B4592A; font: inherit; font-weight: 700; cursor: pointer; padding: 4px; }
.st-done { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #E9F6E1; color: #3F7A2C; font-weight: 700; }
.st-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .st-list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .st-list { grid-template-columns: repeat(5, 1fr); } }
.st-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 12px; border-radius: 20px; background: #fff; border: 1.5px solid #F0E2D3;
  text-decoration: none; color: inherit; text-align: center; box-shadow: 0 4px 12px rgba(120, 90, 60, .07); min-height: 132px; }
.st-card:active { transform: scale(.98); }
.st-card-ic { font-size: 46px; line-height: 1.1; }
.st-card b { font-size: 15px; line-height: 1.35; }
.st-card small { font-size: 12px; color: var(--color-text-sub); }

.st-read-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.st-back { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #E3D3C2; background: #fff; color: #5b4339; font: inherit; font-weight: 700; cursor: pointer; }
.st-title { font-size: 16px; color: #5b4339; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-page { background: #fff; border-radius: 26px; padding: 18px 18px 16px; box-shadow: 0 8px 24px rgba(120, 90, 60, .10); border: 1.5px solid #F0E2D3; text-align: center; }
.st-turn { animation: stTurn .35s ease; }
@keyframes stTurn { from { opacity: .3; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.st-pic { font-size: 96px; line-height: 1.15; margin: 4px 0 8px; }
.st-text { margin: 0 0 14px; font-size: 21px; line-height: 1.7; color: #2b2b2b; word-break: keep-all; }
.st-magnet { border-top: 1.5px dashed #F0E2D3; padding-top: 12px; }
.st-magnet-h { margin: 0 0 8px; font-size: 14px; color: #886A60; }
.st-magnet-h b { color: #2b2b2b; }
.st-word { border: 0; background: none; cursor: pointer; padding: 4px; }
.st-word span { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.st-syl { display: inline-flex; gap: 4px; }
.st-syl i { font-style: normal; display: inline-grid; place-items: center; width: 46px; height: 52px; border-radius: 10px; background: #fff; border: 2px solid #EDE3D9;
  box-shadow: 0 3px 0 #E9DDD0; font-size: 28px; font-weight: 900; }
.st-c { color: #E2391F; } .st-v { color: #123E93; }
.st-dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0; }
.st-dots i { width: 8px; height: 8px; border-radius: 50%; background: #E6D8CA; }
.st-dots i.on { background: #5b4339; width: 22px; border-radius: 999px; }
.st-nav { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; }
.st-nav button { min-height: 56px; border-radius: 18px; border: 2px solid #E3D3C2; background: #fff; color: #5b4339; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.st-nav .st-say { background: #FFF6EC; border-color: #F2C9A8; }
.st-nav .st-next { background: #5b4339; color: #fff; border-color: #5b4339; }
.st-nav button:disabled { opacity: .4; }
@media (max-width: 380px) { .st-text { font-size: 19px; } .st-pic { font-size: 80px; } .st-syl i { width: 40px; height: 46px; font-size: 24px; } }
.kid-on .st-nick-now .st-link, .kid-on .st-nick-form { display: none; }
