
#nekoone-strawberry-memory-test-controller-root{
  position:relative;
  z-index:999999;
}

.nekoone-strawberry-test-launcher{
  position:fixed;
  right:14px;
  bottom:18px;
  z-index:999998;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:10px 15px;
  background:rgba(49,18,41,.94);
  color:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.35);
  font-weight:800;
  letter-spacing:.04em;
  -webkit-tap-highlight-color:transparent;
}

.nekoone-strawberry-test-panel{
  position:fixed;
  right:12px;
  bottom:66px;
  z-index:999999;
  width:min(390px,calc(100vw - 24px));
  max-height:min(78vh,760px);
  overflow:auto;
  padding:12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(28,14,29,.97);
  color:#fff;
  box-shadow:0 16px 44px rgba(0,0,0,.48);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.nekoone-strawberry-test-panel[hidden]{
  display:none!important;
}

.nekoone-strawberry-test-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.nekoone-strawberry-test-head > div{
  display:grid;
  gap:2px;
}

.nekoone-strawberry-test-head strong{
  font-size:14px;
}

.nekoone-strawberry-test-head span{
  font-size:10px;
  color:#cdb7c9;
}

.nekoone-strawberry-test-close{
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
  line-height:1;
}

.nekoone-strawberry-test-warning{
  margin:10px 0;
  padding:9px 10px;
  border-radius:12px;
  background:rgba(255,197,73,.09);
  border:1px solid rgba(255,197,73,.22);
  color:#ffe5a3;
  font-size:10px;
  line-height:1.5;
}

.nekoone-strawberry-test-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.nekoone-strawberry-test-summary > div{
  display:grid;
  gap:3px;
  padding:9px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}

.nekoone-strawberry-test-summary span{
  font-size:9px;
  color:#cdb7c9;
}

.nekoone-strawberry-test-summary strong{
  font-size:12px;
  color:#fff4f8;
}

.nekoone-strawberry-test-values{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:5px;
  margin-top:9px;
}

.nekoone-strawberry-test-values button,
.nekoone-strawberry-test-next-button,
.nekoone-strawberry-test-play,
.nekoone-strawberry-test-footer-actions button{
  border:1px solid rgba(255,255,255,.14);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  color:#fff;
  min-height:34px;
  font-size:10px;
  font-weight:700;
}

.nekoone-strawberry-test-values button{
  padding:6px 2px;
}

.nekoone-strawberry-test-next-button{
  width:100%;
  margin-top:7px;
  background:rgba(255,108,151,.16);
  border-color:rgba(255,108,151,.30);
}

.nekoone-strawberry-test-scenes{
  display:grid;
  gap:7px;
  margin-top:10px;
}

.nekoone-strawberry-test-scene{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:8px;
  padding:9px;
  border-radius:13px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.07);
}

.nekoone-strawberry-test-scene.is-test-unlocked{
  border-color:rgba(255,102,151,.35);
  background:rgba(255,102,151,.08);
}

.nekoone-strawberry-test-scene.is-production-saved{
  box-shadow:inset 3px 0 0 rgba(124,231,165,.75);
}

.nekoone-strawberry-test-scene-info{
  display:grid;
  gap:3px;
  min-width:0;
}

.nekoone-strawberry-test-scene-info > strong{
  font-size:11px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.nekoone-strawberry-test-scene-info > span{
  font-size:9px;
  color:#cdb7c9;
}

.nekoone-strawberry-test-badges{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}

.nekoone-strawberry-test-badges em{
  display:inline-block;
  padding:3px 6px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#d9c8d7;
  font-size:8px;
  font-style:normal;
}

.nekoone-strawberry-test-play{
  padding:6px 10px;
  white-space:nowrap;
  background:rgba(140,93,255,.18);
  border-color:rgba(140,93,255,.32);
}

.nekoone-strawberry-test-footer-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:10px;
}

.nekoone-strawberry-test-footer-actions .is-danger{
  color:#ffd0d0;
  background:rgba(190,56,56,.12);
  border-color:rgba(225,92,92,.25);
}

.nekoone-strawberry-test-status{
  margin:9px 0 0;
  min-height:1.4em;
  color:#d8c7d5;
  font-size:9px;
  line-height:1.45;
}

.nekoone-strawberry-test-status[data-mode="ok"]{
  color:#bdf2ce;
}

.nekoone-strawberry-test-status[data-mode="error"]{
  color:#ffc1c1;
}

@media(max-width:520px){
  .nekoone-strawberry-test-panel{
    right:8px;
    bottom:62px;
    width:calc(100vw - 16px);
    max-height:76vh;
  }

  .nekoone-strawberry-test-launcher{
    right:10px;
    bottom:14px;
  }

  .nekoone-strawberry-test-values{
    grid-template-columns:repeat(3,1fr);
  }

  .nekoone-strawberry-test-summary{
    grid-template-columns:1fr;
  }
}


/* v1.0.1: p=2506で必ず見えるインライン版 */
.nekoone-strawberry-test-inline-panel{
  width:100%;
  box-sizing:border-box;
  margin:10px 0 12px;
  padding:12px;
  border:1px solid rgba(255,110,160,.30);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(61,22,49,.96),rgba(34,18,38,.96));
  color:#fff;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}

.nekoone-strawberry-test-inline-panel .nekoone-strawberry-test-help{
  margin:8px 0 0;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  color:#ffeaf4;
  font-size:10px;
  line-height:1.45;
}

.nekoone-strawberry-test-inline-panel .nekoone-strawberry-test-values{
  margin-top:8px;
}

.nekoone-strawberry-test-inline-panel .nekoone-strawberry-test-scene{
  background:rgba(255,255,255,.05);
}

.nekoone-strawberry-test-inline-panel .nekoone-strawberry-test-play{
  min-width:72px;
}
