/* app-real.css — NEXTAGE本番用Webアプリケーション専用のレスポンシブスタイル */

/* 1. アプリ全体の全画面土台設定
   ブラウザの縦横100%を余白なく使い、滑らかにスクロールできるようにします。
   （例えるなら、机の上にぴったり隙間なく敷き詰めた作業マット） */
html, body, #root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--em-ll, #f7faf8);
  -webkit-tap-highlight-color: transparent;
}

/* 2. 本番アプリのルートコンテナ
   モックの端末枠を外し、画面全体を作業エリアとして開放します */
.real-app-root {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 3. メインビュー領域（LP、管理画面、受講者画面がここに展開されます） */
.real-view-container {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 4. スライドの画像表示対応
   オーナーがアップロードした実際の画像スライドを綺麗に16:9で表示するためのスタイル */
.slide-real-image {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0f0e;
}

.slide-real-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
}

/* 5. 画面切り替え用の控えめなクイックナビゲーション（アプリ体験用）
   開発中やデモ時に「受講者画面」「オーナー管理画面」「LP」を迷わず行き来できるようにします */
.quick-dock {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(15, 31, 25, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 11.5px;
  font-family: var(--jp);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quick-dock.minimized {
  padding: 6px 10px;
  background: rgba(15, 31, 25, 0.6);
}

.quick-dock-btn {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.quick-dock-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.quick-dock-btn.active {
  background: var(--em);
  color: #fff;
  box-shadow: 0 0 10px rgba(31, 174, 127, 0.5);
}

.quick-dock-toggle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  padding: 2px 4px;
}

/* 6. 受講者画面のフルスクリーン強化
   スマートフォンでのピンチズームやPCでの広々としたスライド体験 */
.learner-fullscreen-view {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #050706;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: none;
}

/* 7. アニメーション演出のスムーズな表示設定 */
.fx-layer {
  pointer-events: none;
}
