/* =========================================================
   EN•joy 生きたマスコット「エンちゃん」統合スタイル（patch_enchan.css v5）
   ・名刺3枚目(.en-prof-slide:3) のぞき窓（縦幅+0px） ⇄ タップで「巣の詳細ルーム」
   ・3段階表示モード（にぎやか / ひかえめ / シンプルOFF）完全対応
   ・ご縁Lv(巣が4段階進化) / なつき度ゲージ / マイラボのたまご棚 / 遊びに来る仲間
   ========================================================= */

.en-ec-svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -0.2em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.en-ec-svg.sm { width: 12px; height: 12px; }

/* =========================================================
   🐾 生きた透過SVGエンちゃん モーション（60fps・おもち物理）
   ========================================================= */
.en-live-enchan {
  display: inline-block;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.en-live-enchan svg.en-char-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 7px rgba(45, 32, 22, 0.18));
}

.en-char-body-rig { transform-origin: 60px 104px; transition: transform 0.18s ease; }
.en-char-foot-l { transform-origin: 43px 102px; }
.en-char-foot-r { transform-origin: 77px 102px; }
.en-char-eyes-norm { transform-origin: 60px 51px; }

.en-live-enchan[data-mood="normal"] .en-char-body-rig { animation: ecBreathe 3.2s ease-in-out infinite; }
.en-live-enchan[data-mood="normal"] .en-char-eyes-norm,
.en-live-enchan[data-mood="walk"] .en-char-eyes-norm { animation: ecBlink 4.6s infinite; }
.en-live-enchan[data-mood="walk"] .en-char-body-rig { animation: ecWaddle 0.56s ease-in-out infinite; }
.en-live-enchan[data-mood="walk"] .en-char-foot-l { animation: ecFootL 0.56s ease-in-out infinite; }
.en-live-enchan[data-mood="walk"] .en-char-foot-r { animation: ecFootR 0.56s ease-in-out infinite; }
.en-live-enchan[data-mood="happy"] .en-char-body-rig { animation: ecHappyJump 0.58s cubic-bezier(.28, .84, .42, 1) infinite; }
.en-live-enchan[data-mood="happy"] .en-fx-happy { animation: ecFxFloat 0.9s ease-in-out infinite; }
.en-live-enchan[data-mood="angry"] .en-char-body-rig { animation: ecAngryPuff 0.36s ease-in-out infinite; }
.en-live-enchan[data-mood="angry"] .en-char-foot-l { animation: ecFootL 0.22s ease-in-out infinite; }
.en-live-enchan[data-mood="angry"] .en-char-foot-r { animation: ecFootR 0.22s ease-in-out infinite; }
.en-live-enchan[data-mood="angry"] .en-fx-angry { animation: ecAngryPop 0.45s ease-in-out infinite; }
.en-live-enchan[data-mood="sad"] .en-char-body-rig { animation: ecSadDroop 2.4s ease-in-out infinite; }
.en-live-enchan[data-mood="sad"] .en-fx-sad { animation: ecSadDrop 1.8s ease-in-out infinite; }
.en-live-enchan[data-mood="sleep"] .en-char-body-rig { animation: ecSleepBreathe 3.8s ease-in-out infinite; }
.en-live-enchan[data-mood="sleep"] .en-fx-sleep-1 { animation: ecZzz 2.6s ease-in-out infinite; }
.en-live-enchan[data-mood="sleep"] .en-fx-sleep-2 { animation: ecZzz 2.6s ease-in-out 0.9s infinite; }
.en-live-enchan[data-mood="surprise"] .en-char-body-rig { animation: ecSurprise 0.34s cubic-bezier(.22, 1, .36, 1) 1 forwards; }

.en-live-enchan[data-dir="left"] svg.en-char-svg { transform: scaleX(-1); }
.en-live-enchan[data-dir="left"] .en-char-n-mark,
.en-live-enchan[data-dir="left"] .en-fx-layer {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleX(-1);
}

.en-face-set { display: none; }
.en-live-enchan[data-mood="normal"] .en-face-normal,
.en-live-enchan[data-mood="walk"] .en-face-normal { display: inline; }
.en-live-enchan[data-mood="happy"] .en-face-happy { display: inline; }
.en-live-enchan[data-mood="angry"] .en-face-angry { display: inline; }
.en-live-enchan[data-mood="sad"] .en-face-sad { display: inline; }
.en-live-enchan[data-mood="sleep"] .en-face-sleep { display: inline; }
.en-live-enchan[data-mood="surprise"] .en-face-surprise { display: inline; }

.en-fx-group { display: none; }
.en-live-enchan[data-mood="happy"] .en-fx-happy { display: inline; }
.en-live-enchan[data-mood="angry"] .en-fx-angry { display: inline; }
.en-live-enchan[data-mood="sad"] .en-fx-sad { display: inline; }
.en-live-enchan[data-mood="sleep"] .en-fx-sleep { display: inline; }
.en-live-enchan[data-mood="surprise"] .en-fx-surprise { display: inline; }

@keyframes ecBreathe { 0%, 100% { transform: scale(1, 1) rotate(0deg); } 45% { transform: scale(1.03, 0.965) rotate(-1deg); } 75% { transform: scale(0.985, 1.02) rotate(1.4deg); } }
@keyframes ecBlink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.08); } }
@keyframes ecWaddle { 0%, 100% { transform: translateY(0) rotate(-4.5deg) scale(1.02, 0.97); } 25% { transform: translateY(-4px) rotate(0deg) scale(0.97, 1.04); } 50% { transform: translateY(0) rotate(4.5deg) scale(1.02, 0.97); } 75% { transform: translateY(-4px) rotate(0deg) scale(0.97, 1.04); } }
@keyframes ecFootL { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(-14deg); } }
@keyframes ecFootR { 0%, 100% { transform: translateY(-4px) rotate(14deg); } 50% { transform: translateY(0) rotate(0deg); } }
@keyframes ecHappyJump { 0%, 100% { transform: translateY(0) scale(1.09, 0.89); } 42% { transform: translateY(-16px) scale(0.93, 1.09); } 65% { transform: translateY(-12px) scale(0.96, 1.05); } }
@keyframes ecAngryPuff { 0%, 100% { transform: translateX(-1.5px) scale(1.11, 0.91); } 50% { transform: translateX(1.5px) scale(1.14, 0.89); } }
@keyframes ecSadDroop { 0%, 100% { transform: translateY(3px) scale(1.07, 0.9); } 50% { transform: translateY(5px) scale(1.1, 0.87); } }
@keyframes ecSleepBreathe { 0%, 100% { transform: translateY(4px) scale(1.06, 0.91); } 50% { transform: translateY(2px) scale(1.01, 0.97); } }
@keyframes ecSurprise { 0% { transform: scale(1.12, 0.86); } 45% { transform: translateY(-14px) scale(0.9, 1.13); } 100% { transform: translateY(0) scale(1, 1); } }
@keyframes ecFxFloat { 0%, 100% { transform: translateY(0); opacity: 0.95; } 50% { transform: translateY(-5px); opacity: 1; } }
@keyframes ecAngryPop { 0%, 100% { transform: scale(0.92); } 50% { transform: scale(1.15); } }
@keyframes ecSadDrop { 0% { transform: translateY(-2px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes ecZzz { 0% { transform: translate(0, 4px) scale(0.75); opacity: 0; } 30% { opacity: 0.95; } 100% { transform: translate(8px, -14px) scale(1.1); opacity: 0; } }
@keyframes ecEggWobble { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }

/* =========================================================
   🚶 1. サイト内お散歩エンちゃん（にぎやかモード時のみ出現・背景透過）
   ========================================================= */
#en-roam-layer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  height: 112px;
  pointer-events: none;
  z-index: 9050;
  overflow: visible;
}
html.en-pc-mode #en-roam-layer { bottom: 18px; }

.en-roam-actor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 68px;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: left 2.4s linear, opacity 0.35s ease, transform 0.35s ease;
  will-change: left, transform;
}
.en-roam-actor.is-running-home { transition: left 0.95s cubic-bezier(.42, 0, .58, 1), opacity 0.45s ease 0.55s; }
.en-roam-actor.is-peeking { transition: left 0.8s cubic-bezier(.22, 1, .36, 1), transform 0.45s ease; }

.en-roam-bubble {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%) scale(0.92);
  min-width: 120px;
  max-width: 220px;
  padding: 6px 10px;
  border-radius: 14px;
  background: #ffffff;
  color: #3a291f;
  border: 2px solid #4b3629;
  box-shadow: 0 6px 16px rgba(45, 32, 22, 0.16);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(.22, 1, .36, 1);
}
.en-roam-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border-right: 2px solid #4b3629;
  border-bottom: 2px solid #4b3629;
  transform: translateX(-50%) rotate(45deg);
}
.en-roam-actor.has-bubble .en-roam-bubble { opacity: 1; transform: translateX(-50%) scale(1); }

/* =========================================================
   🪪 2. 名刺3枚目(.en-prof-slide) ＝ のぞき窓（縦幅+0px）
   ========================================================= */
.en-slide3-peep {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #ffffff;
}
.en-slide3-nest-mini {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}
.en-slide3-char-box {
  width: 56px;
  height: 56px;
  margin-bottom: -11px;
  z-index: 2;
}
.en-slide3-twig {
  width: 68px;
  height: 18px;
  z-index: 2;
  display: block;
}
.en-slide3-out-tag {
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  padding: 4px 5px;
  margin-bottom: 2px;
  border-radius: 8px;
  background: rgba(255, 251, 235, 0.95);
  color: #92400e;
  z-index: 2;
}

.en-slide3-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.en-slide3-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.en-slide3-kicker {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.85;
}
.en-slide3-open-pill {
  padding: 2.5px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #1c1917;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.en-slide3-title {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.en-slide3-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.en-slide3-g-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 9.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}
.en-slide3-g-track {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.en-slide3-g-track > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #fde047, #ffffff);
}
.en-slide3-sub {
  font-size: 10.5px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* シンプル（OFF）モード時の実用3枚目カード */
.en-slide3-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.en-slide3-simple-stat {
  padding: 6px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  text-align: center;
}
.en-slide3-simple-stat strong { display: block; font-size: 15px; line-height: 1.1; color: #ffffff; }
.en-slide3-simple-stat span { font-size: 9.5px; opacity: 0.88; color: #ffffff; }

/* =========================================================
   🪺 3. タップで開く「エンちゃんの巣（詳細ルームモーダル）」
   ========================================================= */
#en-nest-modal {
  position: fixed;
  inset: 0;
  z-index: 10055;
  background: rgba(9, 13, 24, 0.68);
  backdrop-filter: blur(7px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
#en-nest-modal.open { display: flex; }
html.en-pc-mode #en-nest-modal { align-items: center; padding: 20px; }

.en-nest-modal-shell {
  width: 100%;
  max-width: 520px;
  max-height: 90dvh;
  background: var(--en-bg, #f7f4ec);
  color: var(--en-text);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--en-border);
  box-shadow: 0 -16px 46px rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: enFadeUp 0.22s cubic-bezier(.22, 1, .36, 1);
}
html.en-pc-mode .en-nest-modal-shell {
  max-width: 620px;
  border-radius: 22px;
  border: 1px solid var(--en-border);
}

.en-nest-mhead {
  height: 48px;
  flex-shrink: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--en-surface);
  border-bottom: 1px solid var(--en-border);
}
.en-nest-mbody {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 13px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 3段階モード切替ピル */
.en-mode-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  border-radius: 13px;
  background: var(--en-surface-2);
  border: 1px solid var(--en-border);
}
.en-mode-seg-btn {
  border: none;
  background: transparent;
  color: var(--en-muted);
  border-radius: 10px;
  padding: 6.5px 4px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.en-mode-seg-btn small { font-size: 9px; font-weight: 700; opacity: 0.78; }
.en-mode-seg-btn.active {
  background: var(--en-surface);
  color: var(--en-accent);
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.1);
}

/* 進化する「エンちゃんの巣」メインステージ（Lvで背景進化！） */
.en-nest-room-stage {
  position: relative;
  min-height: 176px;
  border-radius: 20px;
  border: 1.5px solid var(--en-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 14px 12px;
  overflow: hidden;
  cursor: pointer;
}
.en-nest-room-stage[data-tier="1"] {
  background: radial-gradient(circle at 50% 25%, rgba(254, 243, 199, 0.7), transparent 62%), var(--en-surface);
}
.en-nest-room-stage[data-tier="2"] {
  background: radial-gradient(circle at 50% 20%, rgba(187, 247, 208, 0.45), transparent 58%),
              linear-gradient(180deg, rgba(254, 249, 195, 0.35), var(--en-surface));
}
.en-nest-room-stage[data-tier="3"] {
  background: radial-gradient(circle at 50% 18%, rgba(253, 230, 138, 0.48), transparent 58%),
              linear-gradient(180deg, rgba(180, 136, 92, 0.16), var(--en-surface));
}
.en-nest-room-stage[data-tier="4"] {
  background: radial-gradient(circle at 50% 15%, rgba(251, 146, 60, 0.25), transparent 55%),
              linear-gradient(180deg, rgba(45, 74, 58, 0.18), var(--en-surface));
}

.en-nest-tier-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--en-surface);
  border: 1px solid var(--en-border);
  font-size: 9.5px;
  font-weight: 800;
  color: var(--en-muted);
}
.en-nest-speech {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--en-text);
  background: var(--en-surface);
  border: 1.5px solid var(--en-border);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  z-index: 3;
}
.en-nest-actor-slot { position: relative; z-index: 2; width: 96px; height: 96px; margin-bottom: -16px; }
.en-nest-twig-svg { position: relative; z-index: 2; width: 158px; height: 34px; display: block; pointer-events: none; }
.en-nest-note {
  position: relative; z-index: 2; margin-bottom: 6px; padding: 8px 14px; border-radius: 12px;
  background: #fffbeb; color: #78350f; border: 1.5px dashed #d97706;
  font-size: 11.5px; font-weight: 800; text-align: center; line-height: 1.45;
}

/* 2大ゲージカード（ご縁Lv / なつき度） */
.en-nest-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.en-nest-stat-card {
  padding: 10px 11px;
  border-radius: 14px;
  background: var(--en-surface);
  border: 1px solid var(--en-border);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.en-nest-bar-track {
  height: 7px;
  border-radius: 99px;
  background: var(--en-surface-2);
  overflow: hidden;
}
.en-nest-bar-track > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--en-accent), #f59e0b);
}
.en-nest-bar-track.green > i {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.en-nest-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.en-nest-mini-btn {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--en-border);
  background: var(--en-surface);
  color: var(--en-text);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.en-nest-mini-btn.primary { background: var(--en-accent); border-color: var(--en-accent); color: #ffffff; }

/* マイラボのたまご棚 ＆ 遊びに来ている仲間 */
.en-nest-sec {
  padding: 12px;
  border-radius: 16px;
  background: var(--en-surface);
  border: 1px solid var(--en-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.en-egg-shelf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.en-egg-card {
  padding: 9px;
  border-radius: 13px;
  background: var(--en-surface-2);
  border: 1px solid var(--en-border);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.en-egg-card:hover { border-color: var(--en-accent); }
.en-egg-icon-box {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.en-egg-svg.is-wobble { animation: ecEggWobble 2.2s ease-in-out infinite; transform-origin: 50% 85%; }
.en-egg-txt { min-width: 0; flex: 1; }
.en-egg-name { font-size: 11.5px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-egg-sub { font-size: 10px; color: var(--en-muted); font-weight: 700; }

.en-guest-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.en-guest-chip {
  flex-shrink: 0;
  width: 124px;
  padding: 8px;
  border-radius: 13px;
  background: var(--en-surface-2);
  border: 1px solid var(--en-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  cursor: pointer;
}
.en-guest-chip:hover { border-color: var(--en-accent); }
.en-guest-name { font-size: 11px; font-weight: 900; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-guest-role { font-size: 9.5px; color: var(--en-muted); font-weight: 700; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- 4. ヘッダー案内ボタン --- */
.en-hdr-enchan-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 3px;
  border-radius: 999px;
  border: 1.5px solid var(--en-border);
  background: var(--en-surface);
  color: var(--en-text);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.en-hdr-enchan-btn * { pointer-events: none; }
.en-hdr-enchan-ava { width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; }

/* --- 5. 空状態フォロー（シンプルOFF時は出さない） --- */
.en-empty-enchan { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 2px; }
.en-empty-enchan-actor { width: 60px; height: 60px; cursor: pointer; }
.en-empty-enchan-say {
  padding: 3px 10px; border-radius: 999px; background: var(--en-surface);
  border: 1px solid var(--en-border); font-size: 10.5px; font-weight: 800; color: var(--en-accent);
}

/* --- 6. 初回3コマ案内ガイドモーダル --- */
#en-enchan-guide-modal {
  position: fixed; inset: 0; z-index: 10060;
  background: rgba(9, 13, 24, 0.68); backdrop-filter: blur(7px);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
#en-enchan-guide-modal.open { display: flex; }
.en-guide-card {
  width: 100%; max-width: 400px; border-radius: 24px;
  background: var(--en-surface); color: var(--en-text);
  border: 1.5px solid var(--en-border); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36);
  overflow: hidden; display: flex; flex-direction: column;
  animation: enFadeUp 0.24s cubic-bezier(.22, 1, .36, 1);
}
.en-guide-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px 0; }
.en-guide-step-pill { padding: 3px 10px; border-radius: 999px; background: var(--en-accent-soft); color: var(--en-accent); font-size: 10.5px; font-weight: 900; }
.en-guide-skip { border: none; background: transparent; color: var(--en-muted); font-size: 11.5px; font-weight: 800; cursor: pointer; padding: 4px 6px; }
.en-guide-stage { padding: 14px 20px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; touch-action: pan-y; }
.en-guide-visual { position: relative; width: 116px; height: 116px; display: grid; place-items: center; }
.en-guide-title { font-size: 18px; font-weight: 900; line-height: 1.35; color: var(--en-text); margin: 0; }
.en-guide-desc { font-size: 12.5px; line-height: 1.6; color: var(--en-muted); margin: 0; }
.en-guide-points {
  width: 100%; display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding: 10px 12px; border-radius: 14px; background: var(--en-surface-2);
  border: 1px solid var(--en-border); font-size: 11.5px; font-weight: 700; color: var(--en-text);
}
.en-guide-point-row { display: flex; align-items: center; gap: 6px; }
.en-guide-point-row svg { color: var(--en-accent); }
.en-guide-mode-hint {
  font-size: 10.5px;
  color: var(--en-muted);
  padding: 0 18px 4px;
  text-align: center;
}
.en-guide-dots { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 0 8px; }
.en-guide-dot { width: 8px; height: 8px; border-radius: 99px; border: none; padding: 0; background: var(--en-border); cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.en-guide-dot.active { width: 24px; background: var(--en-accent); }
.en-guide-foot { padding: 8px 16px 16px; display: flex; align-items: center; gap: 8px; }
.en-guide-btn {
  height: 42px; border-radius: 13px; border: 1px solid var(--en-border); background: var(--en-surface-2);
  color: var(--en-text); font-size: 12.5px; font-weight: 900; padding: 0 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.en-guide-btn.primary {
  flex: 1; border: none; background: linear-gradient(135deg, var(--en-accent), var(--en-accent-2, #f59e0b));
  color: #ffffff; box-shadow: 0 6px 16px rgba(224, 109, 31, 0.34);
}