
:root {
  --theme: #2f9e8f;
  --bg: #f2fbf8;
  --ink: #23413c;
  --ink-soft: #5b7a74;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(60rem 30rem at 110% -10%, color-mix(in srgb, var(--theme) 16%, transparent), transparent 60%),
    radial-gradient(50rem 26rem at -20% 110%, color-mix(in srgb, var(--theme) 12%, transparent), transparent 60%),
    var(--bg);
}


.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  text-align: center;
  background: var(--card);
  border-radius: 24px;
  padding: 56px 40px 48px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--theme) 22%, transparent);
}

.card__mark {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--theme);
}

.card__title {
  margin: 0;
  font-size: clamp(32px, 8vw, 48px);
  letter-spacing: 0.02em;
  color: var(--ink);
  
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.card__soon {
  margin: 14px 0 0;
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 600;
  color: var(--theme);
  letter-spacing: 0.08em;
}


.card__dots span {
  animation: dot-blink 1.8s infinite;
}
.card__dots span:nth-child(2) { animation-delay: 0.3s; }
.card__dots span:nth-child(3) { animation-delay: 0.6s; }
@keyframes dot-blink {
  0%, 60%, 100% { opacity: 1; }
  30% { opacity: 0.15; }
}
@media (prefers-reduced-motion: reduce) {
  .card__dots span { animation: none; }
}

.card__note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}


.foot {
  padding: 20px;
  text-align: center;
}

.foot__brand {
  display: inline-block;
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  
  user-select: none;
  -webkit-user-select: none;
}


.dlg {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  box-shadow: 0 24px 80px rgba(20, 60, 54, 0.35);
}
.dlg::backdrop {
  background: rgba(20, 50, 45, 0.45);
}
.dlg--admin {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.dlg__inner {
  position: relative;
  padding: 28px 24px 24px;
}
.dlg__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #eef4f2;
  color: var(--ink-soft);
  font-size: 18px;
  cursor: pointer;
}
.dlg__close:hover { background: #e0ebe8; }
.dlg__title {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--ink);
}
.dlg__note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 8px 0 12px;
}
.dlg__hash {
  width: 100%;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  border: 1px solid #cfe0dc;
  border-radius: 10px;
  background: #f7fbfa;
  color: var(--ink);
}
.dlg__actions {
  margin-top: 14px;
  text-align: center;
}
.dlg__btn {
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: var(--theme);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.dlg__btn:hover { filter: brightness(1.05); }


.adm-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.adm-mock {
  font-size: 12px;
  color: #a05a00;
  background: #fff4e0;
  border-radius: 8px;
  padding: 8px 10px;
}
.adm-panel {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4eeec;
}
.adm-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.adm-panel__title {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
}
.adm-btn {
  padding: 6px 14px;
  border: 1px solid #cfe0dc;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}
.adm-btn:hover { background: #f2f8f7; }
.adm-hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 10px 0 0;
}


.adm-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.adm-tile {
  background: #f4faf8;
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
}
.adm-tile__label {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
}
.adm-tile__num {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  color: var(--theme);
}


.adm-chart {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 140px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.adm-bar {
  flex: 1 1 0;
  min-width: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

button.adm-bar { cursor: pointer; border-radius: 8px; }
button.adm-bar:hover { background: #eef6f4; }


.adm-chart--hourly .adm-bar { min-width: 20px; }
.adm-bar__val {
  font-size: 10px;
  color: var(--ink-soft);
}
.adm-bar__stick {
  width: 70%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--theme) 85%, #fff), var(--theme));
}
.adm-bar__label {
  font-size: 10px;
  color: var(--ink-soft);
  white-space: nowrap;
}


.adm-list { display: grid; gap: 6px; }
.adm-row {
  display: grid;
  grid-template-columns: 7.5em 1fr 3.5em;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.adm-row__key {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-row__meter {
  height: 10px;
  border-radius: 999px;
  background: #edf4f2;
  overflow: hidden;
}
.adm-row__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--theme);
}
.adm-row__count {
  text-align: right;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
