/*
Theme Name: Liminal Space Experience
Theme URI: https://example.com/
Author: Your Name
Description: A custom minimal theme for creating a liminal space experience on WordPress.
Version: 3.0.0
*/

/* 全体リセット & スクロール・バウンス無効化 */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  background-color: #ffffff !important; /* テーマの黒背景を上書き */
  font-family: monospace;
  user-select: none;
  touch-action: none;
  transition: background-color 3s ease;
}

.morse-guide {
  font-size: 2.5rem;
  letter-spacing: 1rem;
  color: #000000 !important; /* 文字をクッキリした黒にする */
  margin-bottom: 20px;
  transition: opacity 1s ease;
}

/* 削れた後に見えてくる「裏側」の暗闇領域 */
.underworld {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0d0d0d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* 裏側にひっそり配置される不気味なテキスト */
.void-text {
  color: #333333;
  font-family: monospace;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  user-select: none;
}

/* 表面の真っ白な膜（Canvas） */
#scratch-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  cursor: crosshair;
}

/* TOPページ（投稿一覧）用のスタイル */
.top-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333333;
}
.post-card {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eeeeee;
}
.post-card a {
  color: #222222;
  text-decoration: none;
}