/* ============================================================
 * style.css — 메뉴와 팝업의 모양
 * 크기는 전부 em 단위라서 화면이 커지거나 작아져도 같이 맞춰집니다.
 * ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #161a17;
  overflow: hidden;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 46%, #303831, #171c19 64%, #111512);
}

#app {
  position: relative;
  width: 540px; height: 960px; font-size: 16px;
  overflow: hidden;
  background: #253630;
  box-shadow: 0 0 60px rgba(0, 0, 0, .6);
}
#stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#ui { position: absolute; inset: 0; pointer-events: none; color: #fff; }
.screen { position: absolute; inset: 0; pointer-events: auto; display: flex; flex-direction: column; }
.hidden { display: none !important; }

/* ---------- 버튼 ---------- */
.btn {
  font: inherit; font-weight: 800; font-size: 1.2em; line-height: 1.2;
  border: 1px solid #db956f; border-radius: .62em; padding: .75em 1.4em;
  color: #fff6de; background: linear-gradient(145deg, #b2503b, #8d3c2e);
  box-shadow: inset 0 0 0 .15em #ffffff11, 0 .21em 0 #61322a;
  cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
}
.btn:active { transform: translateY(.15em); box-shadow: 0 .1em 0 #61322a; }
.btn.big { font-size: 1.6em; padding: .7em 2.2em; }
.btn.small { font-size: .95em; padding: .6em 1em; }
.btn.teal { background: linear-gradient(145deg, #3d7770, #24554f); border-color: #82a698; box-shadow: 0 .21em 0 #1d3832; }
.btn.teal:active { box-shadow: 0 .1em 0 #1d3832; }
.btn.ghost { background: #393f35; border-color: #a88b5d; box-shadow: 0 .21em 0 rgba(0, 0, 0, .35); }
.btn.ghost-dark { background: #e9d6b2; color: #5a4630; box-shadow: 0 .25em 0 #c7ae82; }
.btn.off, .btn:disabled { background: #cdbfa6; color: #8d7f69; box-shadow: 0 .25em 0 #b0a188; cursor: default; }

.coin {
  position: relative;
  display: inline-block; width: 1em; height: 1em; border-radius: 50%; vertical-align: -.12em;
  background: radial-gradient(circle at 35% 30%, #fff0b6, #d49b46 66%, #855938);
  box-shadow: inset 0 0 0 .1em #a77542, inset 0 0 0 .17em #f4cc7e;
}
.coin::after { content: ""; position: absolute; inset: 34%; background: #573e2c; }

/* ---------- 제목 화면 ---------- */
#scr-title { align-items: center; justify-content: space-between; padding: 4.2em 2em 3.4em; text-align: center; }
.logo-wrap { position: relative; padding: .65em 1.15em 1.2em; }
.logo {
  font-family: "Batang", "Nanum Myeongjo", "Noto Serif CJK KR", "Malgun Gothic", serif;
  font-size: 4em; font-weight: 900; letter-spacing: -.055em; color: #f7e2ad;
  text-shadow: 0 .045em 0 #784d36, 0 .09em .17em #15201c;
}
.logo-sub {
  margin-top: 1em; display: inline-block; font-weight: 800; font-size: 1.05em;
  background: #304540; padding: .42em 1.1em; border-block: 1px solid #ae945e; color: #fae8bb;
}
.title-btns { display: flex; flex-direction: column; align-items: center; gap: 1.2em; }
.row { display: flex; gap: .7em; }

/* ---------- 지도 ---------- */
.map-head {
  display: flex; align-items: center; gap: .7em; padding: .8em .9em;
  background: #263a33ed; border-bottom: 2px solid #aa8859;
}
.map-title { flex: 1; font-size: 1.35em; font-weight: 900; color: #fff4dc; }
.stat {
  display: flex; align-items: center; gap: .35em; font-size: 1em;
  background: rgba(255, 255, 255, .12); padding: .35em .75em; border-radius: 2em;
}
.stat .star { color: #ffc928; }
.map-body { flex: 1; overflow-y: auto; padding: 1em .9em; display: flex; flex-direction: column; gap: 1em; }
.map-foot { display: flex; gap: .7em; padding: .9em; background: #263a33ed; border-top: 2px solid #aa8859; }
.map-foot .btn { flex: 1; }

.area {
  border-radius: .9em; padding: .85em 1em 1.2em; color: #302720;
  background: linear-gradient(145deg, #fff0d0, #e9d1a4);
  box-shadow: inset 0 0 0 1px #b28a55, 0 .35em 0 rgba(0, 0, 0, .3);
}
.area0 { border-top: .35em solid #6f8b67; }
.area1 { border-top: .35em solid #637c90; }
.area2 { border-top: .35em solid #af624a; }
.area.closed { opacity: .82; }
.area-h { display: flex; align-items: center; gap: .65em; margin-bottom: .75em; }
.area-h canvas { flex: none; width: 3.4em; height: 3.4em; }
.area-h span { display: block; margin-top: .2em; }
.area-h b { font-size: 1.2em; font-weight: 900; }
.area-h span { font-size: .85em; color: #67523d; }
.nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; }
.node {
  font: inherit; border: 1px solid #89a094; cursor: pointer; border-radius: .68em; padding: .7em 0 .5em;
  background: #3c736a; color: #fff7e3; box-shadow: inset 0 0 0 .13em #ffffff18, 0 .2em 0 #28504c;
  display: flex; flex-direction: column; align-items: center; gap: .25em;
}
.node:active { transform: translateY(.15em); box-shadow: 0 .1em 0 #1c7d70; }
.node .num { font-size: 1.5em; font-weight: 900; line-height: 1.2; }
.node.boss { background: #9e4c3e; border-color: #cf946b; box-shadow: 0 .2em 0 #6d362b; }
.node.boss .num { font-size: 1.05em; line-height: 1.75; }
.node.fresh { outline: .2em solid #ffc928; outline-offset: .12em; }
.node.locked { background: #d6c4a1; border-color: #bdab89; color: #71634c; box-shadow: 0 .2em 0 #b7a788; cursor: default; }
.node.locked .num { font-size: .95em; line-height: 1.9; }

.stars i { font-style: normal; color: rgba(0, 0, 0, .22); }
.stars i.on { color: #ffc928; text-shadow: 0 .05em 0 #a87400; }
.stars.mini { font-size: .8em; letter-spacing: -.05em; }
.node .stars i { color: rgba(0, 0, 0, .25); }
.stars.big { display: block; font-size: 3.6em; line-height: 1.1; margin: .1em 0; }

/* ---------- 팝업 ---------- */
#modal {
  position: absolute; inset: 0; pointer-events: auto;
  background: rgba(4, 12, 16, .74);
  display: flex; align-items: center; justify-content: center; padding: 1.4em;
}
.card {
  width: 100%; max-height: 94%; overflow-y: auto; text-align: center;
  background: linear-gradient(145deg, #fff3d7, #efdab0); color: #302720; border-radius: 1em; padding: 1.5em 1.3em;
  border: .19em double #a77c49;
  box-shadow: 0 .38em 0 #795941, 0 1em 2.5em rgba(0, 0, 0, .55);
}
.card h2 { font-size: 1.9em; font-weight: 900; line-height: 1.2; }
.card h2.win { font-size: 2.6em; color: #e0802a; }
.card h2.lose { font-size: 2.2em; color: #7a6a8a; }
.card .tag {
  display: inline-block; font-size: .8em; font-weight: 800; color: #fff;
  background: #2fb8a6; padding: .25em .8em; border-radius: 2em; margin-bottom: .5em;
}
.card .sub { font-size: .95em; color: #7a664c; margin: .5em 0; line-height: 1.5; }
.card .reward { font-size: 1.3em; font-weight: 900; margin: .4em 0; }
.card .reward small { font-size: .6em; font-weight: 600; color: #8a7458; }
.card .ending { font-weight: 800; color: #e0802a; padding: .4em 0; }
.btns { display: flex; gap: .7em; justify-content: center; margin-top: 1.1em; flex-wrap: wrap; }
.btns.col { flex-direction: column; align-items: stretch; }

.chip {
  display: inline-block; font-size: .78em; font-weight: 800; color: #fff;
  padding: .2em .7em; border-radius: 2em; border: .14em solid; margin: .15em .15em 0 0;
  text-shadow: 0 .06em 0 rgba(0, 0, 0, .35);
}

.chip.plain { background: #9a8b74; border-color: #6e604c; }
.card h3 { font-size: 1.1em; font-weight: 900; text-align: left; margin: 1em 0 0; color: #7a664c; }
.goal-list { list-style: none; margin: .7em 0 .2em; display: flex; flex-direction: column; gap: .35em; }
.goal-list li { background: #2fb8a6; color: #fff; font-weight: 800; border-radius: .8em; padding: .45em .8em; }
.moves-line { font-size: 1em; color: #5a4630; margin-top: .4em; }
.moves-line b { font-size: 1.3em; color: #d2502f; }

.mon-list { display: flex; flex-direction: column; gap: .6em; margin-top: .9em; text-align: left; }
.mon-row { display: flex; align-items: center; gap: .8em; background: #f5e3c0; border-radius: 1em; padding: .5em .8em; }
.mon-row canvas { width: 4.4em; height: 4.4em; flex: none; }
.mon-info b { font-size: 1.05em; }
.mon-info em { font-style: normal; font-size: .7em; color: #fff; background: #ff6f59; padding: .1em .5em; border-radius: 1em; vertical-align: .15em; }
.mon-info small { display: block; font-size: .8em; color: #7a664c; margin-top: .25em; line-height: 1.35; }

.help { text-align: left; list-style: none; margin-top: .8em; display: flex; flex-direction: column; gap: .55em; }
.help li { background: #f5e3c0; border-radius: .8em; padding: .6em .8em; font-size: .95em; line-height: 1.45; }
.help b { color: #d2502f; }

.up-list { display: flex; flex-direction: column; gap: .6em; margin: .8em 0; text-align: left; }
.up-row { display: flex; align-items: center; gap: .8em; background: #f5e3c0; border-radius: 1em; padding: .7em .8em; }
.up-info { flex: 1; }
.up-info em { font-style: normal; font-size: .8em; color: #2a9a8a; }
.up-info small { display: block; font-size: .82em; color: #7a664c; margin-top: .15em; }

.cx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6em; margin-top: .9em; }
.cx { background: #f5e3c0; border-radius: 1em; padding: .6em .5em .8em; }
.cx canvas { width: 5.6em; height: 5.6em; }
.cx b { display: block; font-size: 1em; }
.cx small { display: block; font-size: .76em; color: #7a664c; margin-top: .3em; line-height: 1.35; }
.cx.unseen { opacity: .7; }

.map-body::-webkit-scrollbar, .card::-webkit-scrollbar { width: .4em; }
.map-body::-webkit-scrollbar-thumb, .card::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .25); border-radius: 1em; }

/* ---------- 캐릭터, 부스터, 연승 ---------- */
.hero-bar {
  font: inherit; text-align: left; cursor: pointer; border: 0; width: 100%;
  display: flex; align-items: center; gap: .8em; padding: .6em .9em; border-radius: 1.2em;
  background: #fff4dc; color: #2b2118; box-shadow: 0 .3em 0 rgba(0, 0, 0, .3);
}
.hero-bar canvas { width: 3.4em; height: 3.4em; flex: none; }
.hero-bar span { flex: 1; font-size: 1.05em; }
.hero-bar small { display: block; font-size: .78em; color: #7a664c; margin-top: .15em; }
.hero-bar em { font-style: normal; font-weight: 800; font-size: .85em; color: #fff; background: #ff6f59; padding: .35em .8em; border-radius: 2em; }

.hero-list { display: flex; flex-direction: column; gap: .6em; margin: .8em 0; text-align: left; }
.hero-row { display: flex; align-items: center; gap: .7em; background: #f5e3c0; border-radius: 1em; padding: .6em .7em; border: .18em solid transparent; }
.hero-row.sel { border-color: #2fb8a6; background: #e6f6ee; }
.hero-row canvas { width: 4.4em; height: 4.4em; flex: none; }
.hero-info { flex: 1; min-width: 0; }
.hero-info em { font-style: normal; font-size: .75em; color: #8a7458; font-weight: 600; }
.hero-info small { display: block; font-size: .8em; color: #5a4630; margin-top: .25em; line-height: 1.35; }

.boost {
  font: inherit; cursor: pointer; width: 100%; margin-top: .8em; text-align: left;
  display: flex; align-items: center; gap: .7em; padding: .6em .8em; border-radius: 1em;
  background: #f5e3c0; color: #2b2118; border: .16em solid #d9b98a;
}
.boost.on { background: #fff0b8; border-color: #f0a020; }
.boost:disabled { opacity: .5; cursor: default; }
.boost .box { width: 1.5em; height: 1.5em; border-radius: .4em; background: #fff; border: .14em solid #b89a6a; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #d2502f; flex: none; }
.boost span:nth-child(2) { flex: 1; }
.boost small { display: block; font-size: .78em; color: #7a664c; }
.boost em { font-style: normal; font-weight: 800; }
.streak { margin-top: .6em; font-size: .88em; font-weight: 800; color: #b8402d; background: #ffe6d8; border-radius: .8em; padding: .45em .7em; }
.card .sub.left { text-align: left; font-size: .85em; background: #f5e3c0; border-radius: .8em; padding: .6em .8em; }
.map-foot .btn { font-size: 1.05em; padding: .7em .4em; }

/* ---------- 행동 예고·정화·도감 보강 ---------- */
.area.pure { box-shadow: 0 .35em 0 rgba(0, 0, 0, .3), 0 0 1.5em rgba(255, 214, 110, .8); background: linear-gradient(#fff8e6, #ffeec4); }
.area.pure .area-h span { color: #b06a10; font-weight: 700; }
.pure-tag {
  font-style: normal; font-weight: 800; font-size: .72em; color: #5a3200; background: #ffd66e; cursor: pointer;
  padding: .2em .65em; border-radius: 2em; box-shadow: 0 0 .7em rgba(255, 200, 60, .9); white-space: nowrap;
}
.card canvas.cut { width: 100%; height: auto; border-radius: 1em; margin-top: .7em; display: block; }
.pure-line { margin-top: .5em; font-weight: 800; color: #b06a10; background: #fff0b8; border-radius: .8em; padding: .45em .7em; line-height: 1.4; }
.mon-info em.new { background: #2fb8a6; }
.mon-info small.tip, .cx small.tip { color: #1c7d70; }
.cx small.lore { color: #8a5a2a; }
.mon-info small b, .cx small b { font-weight: 800; }
#dev-box { display: flex; flex-direction: column; align-items: center; gap: .5em; font-size: .8em; color: rgba(255, 255, 255, .8); text-align: center; }

/* ---------- 주사위 판: 목표 아이콘과 만드는 조건 ---------- */
.goal-list li { display: flex; align-items: center; gap: .55em; text-align: left; padding: .3em .7em .3em .4em; }
.goal-list li canvas { width: 2.3em; height: 2.3em; flex: none; background: rgba(0, 0, 0, .22); border-radius: .55em; }
.goal-list li span { flex: 1; }
.recipe-list { margin-top: .5em; background: #2a3440; border-radius: 1em; padding: .5em .7em .6em; text-align: left; }
.recipe-h { color: #ffe27a; font-weight: 800; font-size: .85em; margin-bottom: .2em; }
.recipe { display: flex; align-items: center; gap: .5em; }
.recipe canvas { width: 11.6em; height: 2.75em; flex: none; }
.recipe span { color: #fff; font-size: .9em; line-height: 1.25; }
.recipe small { display: block; color: #ffe27a; font-size: .85em; }
.cx small b { display: inline; }

/* ---------- 컷신(이야기)과 펫 ---------- */
#story {
  position: absolute; inset: 0; pointer-events: auto; z-index: 5;
  background: linear-gradient(160deg, #2a4239, #1e2925 72%); display: flex; flex-direction: column; padding: 1.2em 1.1em 1.4em; gap: .9em;
}
.story-top { display: flex; align-items: center; justify-content: space-between; }
.story-top b { font-size: 1.35em; font-weight: 900; color: #ffe27a; }
#story-canvas { width: 100%; height: auto; border-radius: .75em; box-shadow: 0 0 0 .14em #aa8957; cursor: pointer; }
.story-box {
  flex: 1; background: linear-gradient(145deg, #fff3d7, #efdab0); color: #302720; border: .19em double #a77c49;
  border-radius: .8em; padding: 1.1em 1.2em; text-align: left; cursor: pointer;
  box-shadow: 0 .4em 0 #d9b98a; overflow-y: auto;
}
#story-who { display: inline-block; font-weight: 900; color: #fff4d9; background: #9e4c3e; border-radius: .36em; padding: .15em .9em; margin-bottom: .5em; }
#story-text { font-size: 1.25em; line-height: 1.6; font-weight: 600; }
#story-text b { color: #b8402d; }
#story-note { margin-top: .8em; font-weight: 800; color: #1c7d70; background: #dff5ee; border-radius: .8em; padding: .5em .8em; line-height: 1.45; }
.story-foot { display: flex; align-items: center; justify-content: space-between; }
#story-page { color: rgba(255, 255, 255, .6); font-weight: 700; }
.story-list { display: flex; flex-direction: column; gap: .45em; margin: .7em 0; }
.story-list .btn { justify-content: flex-start; }
.hero-row .lock { font-size: .75em; font-weight: 700; color: #8a7458; text-align: center; line-height: 1.35; flex: none; }
.pet-get { display: flex; align-items: center; gap: .7em; text-align: left; background: #dff5ee; border-radius: 1em; padding: .5em .8em; margin-top: .6em; }
.pet-get canvas { width: 3.6em; height: 3.6em; flex: none; }
.pet-get b { display: block; color: #1c7d70; }
.pet-get small { display: block; font-size: .8em; color: #3a5a52; line-height: 1.35; margin-top: .15em; }
.map-foot .btn { font-size: .98em; padding: .7em .2em; }
.map-foot { gap: .5em; }
.hero-info i.native { font-style: normal; font-size: .68em; font-weight: 800; color: #fff; background: #2fb8a6; border-radius: 1em; padding: .1em .5em; vertical-align: .15em; }

/* ---------- 주인공 도운: 지도 막대의 도운과 펫 얼굴, 주인공 소개 카드, 결과 화면의 그림 ---------- */
.hero-bar canvas.buddy { width: 2.3em; height: 2.3em; margin: 0 -.2em 0 -1.7em; align-self: flex-end; background: #fff4dc; border-radius: 50%; box-shadow: 0 0 0 .12em #d9c49a; }
.lead-card { display: flex; align-items: center; gap: .7em; text-align: left; background: #e6f3ee; border: .12em solid #9cc9c0; border-radius: 1em; padding: .5em .7em; margin: .6em 0 .2em; }
.lead-card canvas { width: 4.6em; height: 4.6em; flex: none; }
.lead-card span { flex: 1; min-width: 0; }
.lead-card em { font-style: normal; font-size: .75em; color: #4d7a72; font-weight: 700; }
.lead-card small { display: block; font-size: .8em; color: #5a4630; margin-top: .25em; line-height: 1.35; }
.lead-pic { display: block; width: 5.2em; height: 5.5em; margin: .2em auto -.3em; }

/* ---------- 주사위 강화 (강화 화면의 색별 줄, 단계 보기 창) ---------- */
.dice-list { display: flex; flex-direction: column; gap: .5em; margin: .6em 0 .4em; text-align: left; }
.dice-row { display: flex; align-items: center; gap: .6em; background: #f5e3c0; border-radius: 1em; padding: .5em .6em; }
.dice-face { flex: none; border: 0; background: none; padding: 0; cursor: pointer; line-height: 0; }
.dice-face canvas { width: 3.5em; height: 3.5em; }
.dice-info { flex: 1; min-width: 0; }
.dice-info > b { display: block; line-height: 1.3; }
.dice-info em { font-style: normal; font-size: .78em; color: #8a7458; font-weight: 700; }
.dice-info i.lv { font-style: normal; font-size: .78em; font-weight: 800; color: #fff; background: #b8402d; border-radius: 1em; padding: .1em .55em; white-space: nowrap; vertical-align: .1em; }
.dice-info small { display: block; font-size: .8em; color: #7a664c; margin-top: .2em; line-height: 1.35; }
.dice-info small b { color: #1c7d70; }
.dice-btns { flex: none; display: flex; flex-direction: column; gap: .3em; align-items: stretch; }
.dice-btns .btn.small { font-size: .82em; padding: .5em .7em; }
.tier-list { display: flex; flex-direction: column; gap: .4em; margin: .7em 0; text-align: left; }
.tier-row { display: flex; align-items: center; gap: .7em; background: #f5e3c0; border-radius: 1em; padding: .45em .7em; border: .18em solid transparent; }
.tier-row canvas { width: 3.2em; height: 3.2em; flex: none; }
.tier-row.done { background: #e6f6ee; }
.tier-row.now { background: #e6f6ee; border-color: #2fb8a6; }
.tier-row.next { border-color: #e0a63a; }
.tier-row.locked { opacity: .78; }
.tier-info { flex: 1; min-width: 0; }
.tier-info > b { display: block; }
.tier-info em { font-style: normal; font-size: .72em; font-weight: 800; color: #fff; background: #2fb8a6; border-radius: 1em; padding: .1em .5em; vertical-align: .15em; }
.tier-info em.next { background: #e0a63a; }
.tier-info small { display: block; font-size: .82em; color: #7a664c; margin-top: .15em; line-height: 1.4; }
.tier-info small b { color: #b8402d; }
.tier-cost { flex: none; font-weight: 900; font-size: .9em; color: #7a664c; white-space: nowrap; }
.tier-row.done .tier-cost, .tier-row.now .tier-cost { color: #2fb8a6; font-size: 1.2em; }

/* 펫: 튜토리얼로 받은 펫 표시 (펫 세션 — 누르는 기술) */
.hero-info i.native.gift { background: #e0962a; }

/* 펫 친밀도 (길동무 → 단짝 → 영물): 단계 표시, 펫 화면의 막대, 결과 창의 축하 (펫 친밀도 세션) */
i.bond-tag { font-style: normal; font-size: .78em; font-weight: 900; border-radius: 1em; padding: .05em .5em; color: #6b5a40; background: #eadbbd; white-space: nowrap; }
i.bond-tag.lv2 { color: #fff; background: #e0607a; }
i.bond-tag.lv3 { color: #5a3a00; background: linear-gradient(90deg, #ffe27a, #ffc93c); box-shadow: 0 0 .5em rgba(255, 200, 60, .7); }
.hero-bar i.bond-tag { font-size: .9em; }
.bond-line { display: block; font-size: .78em; font-weight: 700; color: #6b5a40; margin: .2em 0 .25em; line-height: 1.4; }
.bond-bar { display: block; height: .45em; background: #e3d2b0; border-radius: 1em; overflow: hidden; margin-top: .2em; }
.bond-bar span { display: block; height: 100%; background: linear-gradient(90deg, #ff9db0, #e0607a); border-radius: 1em; }
.bond-perk { display: block; color: #c04a64; font-size: .95em; }
.bond-up { position: relative; display: flex; align-items: center; gap: .7em; text-align: left; border-radius: 1em; padding: .6em .8em; margin-top: 1.9em;
           background: #ffe6ec; border: .15em solid #e0607a; animation: bondPop .6s cubic-bezier(.2, 1.6, .4, 1) both, bondGlow 1.6s ease-in-out .6s infinite alternate; }
.bond-up.lv3 { background: #fff4cc; border-color: #f2b422; }
.bond-up canvas { width: 4.2em; height: 4.2em; flex: none; animation: bondHop .5s ease-out .35s 2; }
.bond-up b { display: block; color: #b8304e; font-size: 1.1em; }
.bond-up.lv3 b { color: #96650a; }
.bond-up small { display: block; font-size: .8em; color: #5a4038; line-height: 1.35; margin-top: .15em; }
.bond-say { position: absolute; left: .4em; top: -1.7em; background: #fffdf2; border: .14em solid #3a2a1a; border-radius: 1em; padding: .15em .7em; font-weight: 900; font-size: .9em; color: #3a2a1a; white-space: nowrap;
            animation: bondPop .5s cubic-bezier(.2, 1.6, .4, 1) .25s both; }
.bond-say::after { content: ''; position: absolute; left: 1.6em; bottom: -.45em; width: .7em; height: .7em; background: #fffdf2; border-right: .14em solid #3a2a1a; border-bottom: .14em solid #3a2a1a; transform: rotate(45deg); }
@keyframes bondPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bondGlow { from { box-shadow: 0 0 .3em rgba(224, 96, 122, .35); } to { box-shadow: 0 0 1.2em rgba(255, 200, 80, .85); } }
@keyframes bondHop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.5em); } }
