/* =========================================================
   base.css
   ---------------------------------------------------------
   リセット・ボディ・背景デコレーション・ゲーム全体レイアウト
   ========================================================= */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* 背景グラデーション */
.bg {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #ffd865 0%, #ffe98d 35%, #fff4c5 100%);
}

/* 斜めパネル装飾 */
.panel {
  position: absolute;
  left: 60px;
  right: -80px;
  top: 120px;
  bottom: 70px;
  background: #f7f4eb;
  background-image: repeating-linear-gradient(
    -45deg,
    #f7f4eb 0px, #f7f4eb 18px,
    #f3efe4 18px, #f3efe4 36px
  );
  transform: skewY(-3deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 虹バンド装飾 */
.rainbow {
  position: absolute;
  left: -100px;
  top: 45%;
  transform: rotate(38deg);
}

.band {
  position: absolute;
  width: 2000px;
  height: 90px;
  border-radius: 12px;
  border: 14px solid #f7f4eb;
}

.band.green  { background: #5ad864; left: -50px;  top: 0px;   }
.band.blue   { background: #4b8bea; left: -20px;  top: 90px;  }
.band.pink   { background: #ff6578; left: -60px;  top: 180px; }
.band.yellow { background: #dddd66; left: -100px; top: 270px; }

/* 下部ライン装飾 */
.bottom-line {
  position: absolute;
  left: 0; right: 0; bottom: 60px;
  height: 12px;
  background: #00d420;
}

.bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background: #5fd96d;
}

/* ゲーム全体コンテナ */
.game {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}
