/* 管理画面の Arcade Dashboard(/kanri/arcade) */
.arcade-dashboard {
  --ad-text: #0b0b0b;
  --ad-text-sub: #52514e;
  --ad-line: #e1e0d9;
  --ad-series: #2a78d6;
  color: var(--ad-text);
}

.arcade-dashboard h2 { font-size: 1.1rem; margin-bottom: 12px; }
.arcade-dashboard .ad-muted { color: var(--ad-text-sub); font-size: 0.85rem; }

.arcade-dashboard .ad-card {
  background: #fcfcfb;
  border: 1px solid var(--ad-line);
  border-radius: 8px;
  padding: 16px;
}
.arcade-dashboard .ad-value { font-size: 2rem; font-weight: 600; line-height: 1.3; }
.arcade-dashboard .ad-scroll { overflow-x: auto; }

/* 推移(縦棒) */
.arcade-dashboard .ad-columns { display: flex; }
.arcade-dashboard .ad-column { flex: 1 1 0; min-width: 0; padding: 0 1px; }
.arcade-dashboard .ad-column-plot {
  height: 160px;
  padding-top: 20px; /* 最大値のラベルの分 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--ad-line);
}
.arcade-dashboard .ad-column-bar {
  width: 100%;
  max-width: 24px;
  flex-shrink: 0;
  background: var(--ad-series);
  border-radius: 4px 4px 0 0;
}
.arcade-dashboard .ad-cap { font-size: 0.75rem; line-height: 18px; }
.arcade-dashboard .ad-column:hover .ad-column-bar,
.arcade-dashboard .ad-column:focus .ad-column-bar { filter: brightness(1.15); }
.arcade-dashboard .ad-tick {
  display: flex;
  justify-content: center; /* 棒より広い文字も棒の中心にそろえる */
  height: 20px;
  white-space: nowrap;
  color: var(--ad-text-sub);
  font-size: 0.75rem;
  line-height: 20px;
}

/* 人気のゲーム(横棒つきの表) */
.arcade-dashboard .ad-ranking th { white-space: nowrap; font-size: 0.85rem; }
.arcade-dashboard .ad-num { text-align: right; font-variant-numeric: tabular-nums; }
.arcade-dashboard .ad-bar-cell { width: 35%; min-width: 120px; }
.arcade-dashboard .ad-bar {
  height: 14px;
  min-width: 2px;
  background: var(--ad-series);
  border-radius: 0 4px 4px 0;
}

/* ゲーム×日付のヒートマップ */
.arcade-dashboard .ad-heatmap { border-collapse: separate; border-spacing: 2px; font-size: 0.75rem; }
.arcade-dashboard .ad-heatmap thead th {
  color: var(--ad-text-sub);
  font-weight: normal;
  text-align: center;
  line-height: 1.2;
}
/* 横スクロールしてもゲーム名の列を残す */
.arcade-dashboard .ad-heatmap thead th:first-child,
.arcade-dashboard .ad-heatmap tbody th {
  position: sticky;
  left: 0;
  padding-right: 8px;
  background: #fcfcfb;
  font-weight: normal;
  white-space: nowrap;
}
.arcade-dashboard .ad-heatmap td {
  min-width: 28px;
  height: 28px;
  border-radius: 4px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.arcade-dashboard .ad-heatmap td:hover { outline: 2px solid var(--ad-text); }
.arcade-dashboard .heat-0 { background: #f0efec; }
.arcade-dashboard .heat-1 { background: #cde2fb; }
.arcade-dashboard .heat-2 { background: #9ec5f4; }
.arcade-dashboard .heat-3 { background: #5598e7; }
.arcade-dashboard .heat-4 { background: #256abf; color: #fff; }
.arcade-dashboard .heat-5 { background: #104281; color: #fff; }

.arcade-dashboard .ad-tooltip {
  position: fixed;
  z-index: 10;
  padding: 4px 8px;
  border-radius: 4px;
  background: #0b0b0b;
  color: #fff;
  font-size: 0.8rem;
  pointer-events: none;
}
.arcade-dashboard .ad-tooltip strong { margin-right: 6px; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

footer{
    margin-top: 36px;
    text-align: center;
}

.for-admin{
    background-color: #eee;
}

.video{
    font-family: verdana, arial, helvetica sans-serif;
}
    
