/* ==== 共通 ==== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ================= 表示画面 ================= */
.display-body {
  background: #000;
  overflow: hidden;
  height: 100vh;
  cursor: none;
}
.stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.is-hidden { display: none !important; }

.standby-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.standby-hint {
  position: fixed;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  padding: 0.5em 1.4em;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

.gacha-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.controls-note {
  position: fixed;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 12px;
  font-family: sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  z-index: 10;
}

/* ================= 運営管理画面 ================= */
.admin-body {
  background: #14161c;
  color: #e8eaf0;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  min-height: 100vh;
  padding-bottom: 40px;
}
.admin-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 24px;
  background: #1c1f27;
  border-bottom: 1px solid #2b2f3a;
}
.admin-header h1 { font-size: 1.25rem; margin: 0; }
.admin-date { color: #9aa0ad; font-size: 0.9rem; }

.admin-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px;
  display: grid;
  gap: 18px;
}

.card {
  background: #1c1f27;
  border: 1px solid #2b2f3a;
  border-radius: 12px;
  padding: 18px 20px;
}
.card h2 { margin: 0 0 12px; font-size: 1.05rem; }
.card--danger { border-color: #5a2b32; }
.hint { color: #9aa0ad; font-size: 0.82rem; margin: 0 0 12px; }

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.summary-table th, .summary-table td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid #2b2f3a;
}
.summary-table th:first-child, .summary-table td:first-child { text-align: left; }
.summary-table th { color: #9aa0ad; font-weight: 500; font-size: 0.82rem; }
.summary-table .muted { color: #5c6270; }
.row-total td { font-weight: 700; border-bottom: none; }

.cat { font-weight: 700; }
.cat--hazure { color: #9aa0ad; }
.cat--ur { color: #ffcf3f; }
.cat--ssr_a { color: #7fb2ff; }
.cat--ssr_b { color: #b98cff; }

.total-line { margin-top: 12px; font-size: 1rem; }
.total-line strong { font-size: 1.3rem; color: #fff; }

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.field label { flex: 0 0 220px; font-size: 0.9rem; }
.field input {
  width: 120px;
  padding: 7px 10px;
  background: #0f1116;
  border: 1px solid #333844;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
}
.field button, .btn, .btn-small {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  padding: 7px 14px;
  background: #2f3646;
  color: #fff;
  transition: background 0.15s, transform 0.05s;
}
.field button:hover, .btn:hover { filter: brightness(1.15); }
.field button:active { transform: scale(0.97); }
.field button.flash { background: #3a7d4c; }

.checkbox { display: block; margin-bottom: 12px; font-size: 0.9rem; }

.force-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.btn { font-size: 0.95rem; padding: 10px 18px; font-weight: 700; }
.btn--hazure { background: #3a4150; }
.btn--ur { background: #8a6d10; }
.btn--ssr_a { background: #244a86; }
.btn--ssr_b { background: #4a2f82; }
.btn--danger { background: #7a2f38; margin-top: 6px; }
.btn--danger:hover { background: #97323d; }

.force-status { font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.force-status strong { color: #ffcf3f; }
.btn-small { padding: 4px 10px; font-size: 0.78rem; background: #3a4150; }
