/* Admin Give — Asterion hub styling */

.give-body .adm-main {
  max-width: 1120px;
}

.give-back-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: #eaf6ff;
  background: linear-gradient(135deg, #2f8fff 0%, #1a5fbf 55%, #134a96 100%);
  border: 1px solid rgba(120, 190, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(20, 60, 120, 0.35), 0 8px 22px rgba(20, 90, 180, 0.28);
  transition: transform 0.15s, filter 0.15s;
}
.give-back-map:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}
.give-back-map-ico {
  font-size: 11px;
  opacity: 0.9;
}

.give-inline {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 10px;
}
.give-inline input,
.adm-card select,
.adm-card input[type='text'],
.adm-card input[type='number'] {
  width: 100%;
  background: #0b1220;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  box-sizing: border-box;
}
.give-inline input { flex: 1; min-width: 0; }
.adm-card select { margin-bottom: 10px; }

.give-suggest {
  max-height: 220px;
  overflow: auto;
  margin: 0 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0b1220;
}
.give-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid rgba(36, 48, 68, 0.9);
  background: transparent;
  color: var(--text);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 12px;
}
.give-suggest button:hover {
  background: rgba(58, 160, 255, 0.12);
}
.give-suggest button:last-child { border-bottom: none; }
.give-suggest .meta {
  color: var(--muted);
  font-size: 11px;
}

.give-player {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(58, 160, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(58, 160, 255, 0.1), transparent 55%),
    #0b1220;
  font-size: 13px;
  line-height: 1.55;
}
.give-player.empty {
  color: var(--muted);
  border-color: var(--border);
  background: #0b1220;
}
.give-player strong {
  color: #9fd0ff;
  font-size: 14px;
}

.give-btn-primary {
  min-width: 180px;
  background: linear-gradient(135deg, #3aa0ff, #1f6ec0);
  box-shadow: 0 6px 18px rgba(40, 120, 220, 0.28);
}

.give-log-wrap {
  overflow: auto;
  padding: 0;
}
.give-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.give-table th,
.give-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.give-table th {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.18);
}
.give-table tr:hover td {
  background: rgba(58, 160, 255, 0.05);
}

/* Embed mode (inside lobby iframe) */
.give-body.is-embed .adm-nav,
.give-body.is-embed .adm-hero {
  display: none;
}
.give-body.is-embed .adm-app {
  grid-template-columns: 1fr;
}
.give-body.is-embed .adm-main {
  padding: 14px 16px 28px;
  max-width: none;
}
.give-embed-bar {
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(58, 160, 255, 0.28);
  background: rgba(12, 20, 34, 0.92);
}
.give-body.is-embed .give-embed-bar {
  display: flex;
}
.give-embed-back {
  border: 1px solid rgba(58, 160, 255, 0.4);
  background: rgba(58, 160, 255, 0.12);
  color: #cfe8ff;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}
.give-embed-back:hover {
  background: rgba(58, 160, 255, 0.22);
  color: #fff;
}
.give-embed-title {
  color: #ffd080;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (max-width: 960px) {
  .give-split { grid-template-columns: 1fr; }
}

.adm-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  font-size: 13px;
  color: #c8d6e5;
  cursor: pointer;
}
.adm-check input { width: 16px; height: 16px; }
