/* e689 · UX-487 · ADMIN_CONSOLE_A11Y='e689-UX-487' · 홈 #scr-home 무손 */
.admin-pin-modal,
.admin-dashboard-modal {
  position: fixed;
  inset: 0;
  z-index: 1000002;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  background: #FFFFFF;
  padding: 0;
}
.admin-pin-modal.show,
.admin-dashboard-modal.show {
  display: flex;
}
.admin-pin-modal[hidden],
.admin-dashboard-modal[hidden] {
  display: none !important;
}

.admin-pin-modal {
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-pin-card {
  width: min(420px, 100%);
  border-radius: 0;
  padding: 28px 20px 20px;
  background: #FFFFFF;
  border: 2px solid #000000;
  box-shadow: none;
  color: #000000;
  position: relative;
}
.admin-pin-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 28px;
  cursor: pointer;
}
.admin-pin-title {
  font-size: 24px;
  font-weight: 800;
  color: #000000;
  text-align: center;
}
.admin-pin-sub {
  margin: 8px 0 16px;
  font-size: 16px;
  text-align: center;
  color: #000000;
}
.admin-pin-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.admin-pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #000000;
  background: transparent;
}
.admin-pin-dot.filled {
  background: #000000;
  border-color: #000000;
}
.admin-pin-msg {
  min-height: 22px;
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
  color: #000000;
}
.admin-pin-msg.err { color: #B00000; }
.admin-pin-msg.ok { color: #006600; }
.admin-pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.admin-pin-key {
  height: 56px;
  border: 2px solid #000000;
  border-radius: 0;
  background: #FFFFFF;
  color: #000000;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}
.admin-pin-key.spacer { visibility: hidden; }

.admin-dash-sheet {
  width: 100%;
  height: 100%;
  max-height: none;
  overflow: hidden;
  border-radius: 0;
  background: #FFFFFF;
  border: 0;
  box-shadow: none;
  color: #000000;
  display: flex;
  flex-direction: column;
}
.admin-dash-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  background: #FFFFFF;
  border-bottom: 2px solid #000000;
  flex-shrink: 0;
}
.admin-dash-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  color: #000000;
}
.admin-dash-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-theme-toggle.outdoor-day-toggle {
  width: 40px;
  height: 40px;
}
.admin-icon-btn {
  border: 2px solid #000000;
  background: #FFFFFF;
  color: #000000;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.admin-icon-btn-close {
  border-color: #000000;
  color: #000000;
}
.admin-dash-zoom {
  flex: 1;
  min-height: 0;
  overflow: auto;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.admin-dash-body {
  padding: 16px 16px 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.admin-sec {
  margin-bottom: 28px;
}
.admin-sec h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #000000;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.admin-kpi-card {
  border-radius: 0;
  padding: 14px;
  background: #FFFFFF;
  border: 2px solid #000000;
}
.admin-kpi-ico { font-size: 26px; }
.admin-kpi-val {
  font-size: 34px;
  font-weight: 800;
  color: #000000;
  margin: 6px 0;
}
.admin-kpi-lbl {
  font-size: 16px;
  color: #000000;
  line-height: 1.4;
}
.admin-filter-lab {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
  margin-bottom: 12px;
  color: #000000;
}
.admin-filter-lab select {
  height: 48px;
  border-radius: 0;
  border: 2px solid #000000;
  background: #FFFFFF;
  color: #000000;
  padding: 0 12px;
  font-size: 16px;
}
.admin-country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.admin-country-card {
  border-radius: 0;
  padding: 12px;
  background: #FFFFFF;
  border: 2px solid #000000;
}
.admin-cc-flag { font-size: 26px; }
.admin-cc-name { font-weight: 800; margin: 4px 0 8px; font-size: 18px; color: #000000; }
.admin-cc-row {
  font-size: 16px;
  color: #000000;
}
.admin-cc-row b { color: #000000; }
.admin-feed-note {
  font-size: 15px;
  color: #000000;
  margin: 0 0 10px;
}
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 0;
  border: 2px solid #000000;
}
.admin-ticket-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.admin-ticket-table th,
.admin-ticket-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #000000;
  text-align: left;
  vertical-align: top;
  color: #000000;
}
.admin-ticket-table th {
  color: #000000;
  background: #FFFFFF;
  font-size: 16px;
}
.admin-empty { text-align: center; color: #000000; }
.admin-game-chip {
  display: block;
  margin-bottom: 4px;
  color: #000000;
}
.admin-game-chip b { color: #000000; }
.admin-thumb-btn,
.admin-del-btn,
.admin-tool-btn {
  border: 2px solid #000000;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  background: #FFFFFF;
  color: #000000;
}
.admin-banner-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.admin-banner-form input {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  border-radius: 0;
  border: 2px solid #000000;
  background: #FFFFFF;
  color: #000000;
  padding: 0 12px;
  font-size: 16px;
}
.admin-tool-btn {
  padding: 12px 14px;
}
.admin-tool-msg {
  min-height: 20px;
  font-size: 16px;
  margin-top: 10px;
  color: #000000;
}
.admin-tool-msg.ok { color: #006600; }
.admin-tool-msg.err { color: #B00000; }

.admin-thumb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000003;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-thumb-modal[hidden] { display: none !important; }
.admin-thumb-modal img {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 0;
  border: 2px solid #FFFFFF;
}
.admin-thumb-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  font-size: 32px;
}

.admin-live-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #000000;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  padding: 8px 12px;
  pointer-events: none;
}
.admin-live-banner[hidden] { display: none !important; }

.admin-dashboard-modal.admin-theme-light,
.admin-pin-modal.admin-theme-light {
  background: #FFFFFF;
}
.admin-dashboard-modal.admin-theme-dark,
.admin-pin-modal.admin-theme-dark {
  background: var(--pages-dark-ov0, #334155);
}
.admin-theme-dark .admin-dash-sheet,
.admin-theme-dark .admin-pin-card {
  background: var(--pages-dark-ov0, #334155);
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.admin-theme-dark .admin-dash-header {
  background: var(--pages-dark-ov1, #243044);
  border-bottom-color: #FFFFFF;
}
.admin-theme-dark .admin-dash-title,
.admin-theme-dark .admin-pin-title,
.admin-theme-dark .admin-pin-sub,
.admin-theme-dark .admin-pin-msg,
.admin-theme-dark .admin-sec h3,
.admin-theme-dark .admin-kpi-val,
.admin-theme-dark .admin-kpi-lbl,
.admin-theme-dark .admin-filter-lab,
.admin-theme-dark .admin-cc-name,
.admin-theme-dark .admin-cc-row,
.admin-theme-dark .admin-cc-row b,
.admin-theme-dark .admin-feed-note,
.admin-theme-dark .admin-ticket-table th,
.admin-theme-dark .admin-ticket-table td,
.admin-theme-dark .admin-empty,
.admin-theme-dark .admin-game-chip,
.admin-theme-dark .admin-game-chip b,
.admin-theme-dark .admin-tool-msg,
.admin-theme-dark .admin-pin-close,
.admin-theme-dark .admin-icon-btn {
  color: #FFFFFF;
}
.admin-theme-dark .admin-kpi-card,
.admin-theme-dark .admin-country-card,
.admin-theme-dark .admin-table-wrap,
.admin-theme-dark .admin-filter-lab select,
.admin-theme-dark .admin-banner-form input,
.admin-theme-dark .admin-icon-btn,
.admin-theme-dark .admin-thumb-btn,
.admin-theme-dark .admin-del-btn,
.admin-theme-dark .admin-tool-btn,
.admin-theme-dark .admin-pin-key {
  background: var(--pages-dark-page, #163252);
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.admin-theme-dark .admin-ticket-table th {
  background: var(--pages-dark-ov1, #243044);
}
.admin-theme-dark .admin-pin-dot {
  border-color: #FFFFFF;
}
.admin-theme-dark .admin-pin-dot.filled {
  background: #FFFFFF;
  border-color: #FFFFFF;
}
.admin-theme-dark .admin-pin-msg.err { color: #FFB4B4; }
.admin-theme-dark .admin-pin-msg.ok,
.admin-theme-dark .admin-tool-msg.ok { color: #B6F2B6; }
.admin-theme-dark .admin-tool-msg.err { color: #FFB4B4; }

@media (min-width: 900px), html.admin-dash-wide {
  .admin-kpi-grid { grid-template-columns: repeat(4, 1fr); }
  .admin-country-grid { grid-template-columns: repeat(4, 1fr); }
  .admin-dash-title { font-size: 24px; }
}
