.nekoone-strawberry-scene-open {
  overflow: hidden;
}

.nekoone-strawberry-scene-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(19, 8, 20, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.nekoone-strawberry-scene-panel {
  width: min(100%, 760px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(58,22,44,0.98), rgba(28,14,29,0.98));
  box-shadow: 0 22px 80px rgba(0,0,0,0.42);
  color: #fff7fb;
}

.nekoone-strawberry-scene-hero {
  padding: 20px 20px 10px;
}

.nekoone-strawberry-scene-image {
  display: block;
  width: 100%;
  border-radius: 22px;
  background: #291523;
  border: 1px solid rgba(255,255,255,0.14);
}

.nekoone-strawberry-scene-hero-text {
  padding: 14px 4px 0;
}

.nekoone-strawberry-scene-subtitle {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #ffd2ea;
  opacity: 0.94;
}

.nekoone-strawberry-scene-title {
  margin: 8px 0 8px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.22;
}

.nekoone-strawberry-scene-badge {
  margin: 0;
  color: #ffe0ef;
  font-size: 14px;
}

.nekoone-strawberry-scene-body {
  padding: 0 20px 22px;
}

.nekoone-strawberry-scene-caption {
  margin: 0 0 16px;
  line-height: 1.8;
  color: #fff2f9;
}

.nekoone-strawberry-scene-dialogues {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.nekoone-strawberry-scene-line {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.1);
  line-height: 1.8;
}

.nekoone-strawberry-scene-state {
  margin: 0 0 18px;
  color: #ffd9ea;
  font-size: 13px;
}

.nekoone-strawberry-scene-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nekoone-strawberry-scene-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #b34a76, #7e3254);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.nekoone-strawberry-scene-button.is-secondary {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}


/* v0.1.1: 背景ページを永久ロックしない */
body.nekoone-strawberry-scene-open,
html.nekoone-strawberry-scene-open {
  overflow: auto !important;
}

.nekoone-strawberry-scene-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  overscroll-behavior: contain;
}

.nekoone-strawberry-scene-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nekoone-strawberry-scene-panel {
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.nekoone-strawberry-scene-top-close {
  position: sticky;
  top: 10px;
  float: right;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin: 12px 12px -54px 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(28,14,29,.78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.nekoone-strawberry-scene-state{white-space:pre-wrap;}


/* =========================================================
   v0.3.0 CINEMATIC MESSAGE OVERLAY
   スチール画像そのものは文字なし。
   台詞だけをゲーム側で重ね、順番に流す。
========================================================= */
.nekoone-strawberry-scene-hero{
  position:relative;
  overflow:hidden;
}

.nekoone-strawberry-scene-message-overlay{
  position:absolute;
  left:5%;
  right:5%;
  bottom:5%;
  z-index:5;
  box-sizing:border-box;
  margin:0;
  padding:12px 14px;
  border-radius:14px;
  background:
    linear-gradient(
      180deg,
      rgba(18,10,21,.42),
      rgba(18,10,21,.76)
    );
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    0 8px 26px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  color:#fff7fb;
  font-size:clamp(13px,3.4vw,18px);
  font-weight:600;
  line-height:1.7;
  letter-spacing:.02em;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
  opacity:0;
  transform:translateY(8px);
  transition:
    opacity .42s ease,
    transform .42s ease;
  pointer-events:none;
}

.nekoone-strawberry-scene-message-overlay.is-visible{
  opacity:1;
  transform:translateY(0);
}

.nekoone-strawberry-scene-message-overlay[hidden]{
  display:none!important;
}


/* =========================================================
   v0.3.1
   スチール本文の重複表示を停止。
   表示する台詞は、画像上を1行ずつ流れるoverlayだけ。
========================================================= */
.nekoone-strawberry-scene-caption,
.nekoone-strawberry-scene-dialogues,
.nekoone-strawberry-scene-dialogues[hidden]{
  display:none!important;
}


/* =========================================================
   v0.4.1
   猫One〜台詞を「タイトル直下」に表示。
   画像中央の会話ボックス方式は廃止。
========================================================= */
.nekoone-strawberry-scene-hero .nekoone-strawberry-scene-message-overlay{
  position:static!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  z-index:auto!important;
  display:block;
  box-sizing:border-box;
  width:100%;
  margin:7px 0 9px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;

  color:#fff7fb;
  font-size:clamp(13px,3.25vw,17px);
  font-weight:600;
  line-height:1.65;
  letter-spacing:.02em;
  text-shadow:
    0 2px 6px rgba(0,0,0,.82),
    0 0 12px rgba(0,0,0,.34);

  opacity:0;
  transform:translateY(5px);
  transition:
    opacity .38s ease,
    transform .38s ease;
  pointer-events:none;
}

.nekoone-strawberry-scene-hero .nekoone-strawberry-scene-message-overlay.is-visible{
  opacity:1;
  transform:translateY(0);
}

.nekoone-strawberry-scene-hero .nekoone-strawberry-scene-message-overlay[hidden]{
  display:none!important;
}


/* =========================================================
   v0.4.2
   猫One〜のセリフだけ特別感を出す。
   タイトル側の色・フォント・配置は変更しない。
========================================================= */
.nekoone-strawberry-scene-hero .nekoone-strawberry-scene-message-overlay{
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif!important;

  color:#ffd7e7!important;
  font-size:clamp(15px,3.8vw,19px)!important;
  font-weight:600!important;
  line-height:1.75!important;
  letter-spacing:.045em!important;

  text-shadow:
    0 0 10px rgba(255,128,181,.26),
    0 2px 6px rgba(0,0,0,.82),
    0 0 18px rgba(255,190,220,.10)!important;
}


/* =========================================================
   v0.4.3
   猫One〜のセリフを「可愛い紫」へ調整
========================================================= */
.nekoone-strawberry-scene-hero .nekoone-strawberry-scene-message-overlay{
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif!important;

  color:#e7c8ff!important;
  font-size:clamp(15px,3.8vw,19px)!important;
  font-weight:600!important;
  line-height:1.75!important;
  letter-spacing:.045em!important;

  text-shadow:
    0 0 10px rgba(179,123,255,.34),
    0 2px 6px rgba(0,0,0,.82),
    0 0 18px rgba(224,178,255,.18)!important;
}
