/* Escolhas visuais do painel, sem os checkboxes nativos do navegador. */
.admin-card .platform-picker {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
  align-items: stretch !important;
  column-gap: 12px !important;
  row-gap: 14px !important;
  margin-top: 6px;
}

.admin-card .platform-picker label.choice {
  position: relative;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: center !important;
  min-height: 48px;
  padding: 12px 13px !important;
  margin: 0 0 14px !important;
  gap: 10px !important;
  color: #dbeaff;
  border: 1px solid rgba(151, 190, 247, .22);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(11, 30, 57, .95), rgba(9, 23, 46, .95));
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.admin-card .platform-picker label.choice:last-child {
  margin-bottom: 0 !important;
}

.admin-card .platform-picker label.choice:hover {
  border-color: rgba(57, 230, 255, .62);
  background: #102747;
  transform: translateY(-1px);
}

.admin-card .platform-picker label.choice input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.choice-check {
  display: grid !important;
  grid-column: 1;
  grid-row: 1;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(163, 199, 247, .56);
  border-radius: 6px;
  color: transparent;
  background: #07172d;
  transition: all .18s ease;
}

.choice-check::after { content: '✓'; font-size: 13px; font-weight: 900; }
.admin-card .platform-picker label.choice > span:last-child { grid-column: 2; grid-row: 1; line-height: 1.25 !important; }
.admin-card .platform-picker label.choice:has(input:checked) { border-color: var(--profile-accent, #39e6ff); background: linear-gradient(135deg, rgba(23, 72, 111, .82), rgba(10, 31, 61, .98)); box-shadow: inset 3px 0 0 var(--profile-accent, #39e6ff); }
.admin-card .platform-picker label.choice:has(input:checked) .choice-check { border-color: var(--profile-accent, #39e6ff); color: #061225; background: var(--profile-accent, #39e6ff); box-shadow: 0 0 14px color-mix(in srgb, var(--profile-accent, #39e6ff) 38%, transparent); }
.admin-card .platform-picker label.choice:has(input:focus-visible) { outline: 3px solid rgba(108, 168, 255, .42); outline-offset: 2px; }

/* O seletor de cor usa o mesmo campo moderno da tela de adicionar jogo. */
.admin-card select {
  width: 100%;
  appearance: none;
  min-height: 45px;
  padding: 11px 42px 11px 13px;
  color: #eaf2ff;
  border: 1px solid rgba(161, 193, 241, .32);
  border-radius: 10px;
  background: #0b1c36 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%239cc5ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 13px center/16px;
  font: 600 14px Manrope, sans-serif;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.admin-card select:focus { border-color: #6ca8ff; box-shadow: 0 0 0 3px rgba(76,143,255,.16); }
.admin-card select option { color: #eaf2ff; background: #0b1c36; }

.connection-status-panel{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border:1px solid rgba(151,190,247,.22);border-radius:10px;background:#0b1c36}.connection-status-panel strong{color:#eef5ff}.connection-status-panel span{padding:5px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#b9c9e5;font-size:12px;font-weight:700}.connection-status-panel span.is-connected{border-color:rgba(91,231,166,.55);color:#9ff1be;background:rgba(41,155,92,.13)}.connection-status-panel a{margin-left:auto;color:#65dff7;font-size:13px;font-weight:800}
.appearance-preview{display:grid;gap:5px;min-height:116px;margin-top:18px;padding:20px;border:1px solid color-mix(in srgb,var(--preview-accent,#39e6ff) 58%,#253b5a);border-radius:12px;color:#eef7ff;background:linear-gradient(120deg,color-mix(in srgb,var(--preview-accent,#39e6ff) 20%,#0a1223),#101a2f 56%,#070b12);box-shadow:inset 4px 0 0 var(--preview-accent,#39e6ff),0 16px 30px rgba(0,0,0,.18)}.appearance-preview[data-theme="ember"]{background:linear-gradient(120deg,color-mix(in srgb,var(--preview-accent,#fb3d4c) 19%,#1b090d),#161014 56%,#080809)}.appearance-preview[data-theme="violet"]{background:linear-gradient(120deg,color-mix(in srgb,var(--preview-accent,#9b7bff) 22%,#100b25),#121027 56%,#070713)}.appearance-preview span{color:var(--preview-accent,#39e6ff);font-size:11px;font-weight:900;letter-spacing:.13em}.appearance-preview strong{font-size:20px}.appearance-preview small{color:#b9c9e5;font-size:13px}

@media (max-width: 650px) {
  .admin-card .platform-picker { grid-template-columns: 1fr !important; }
  .connection-status-panel a{width:100%;margin-left:0}
}
.privacy-picker .choice{align-items:flex-start}.privacy-picker .choice>span:last-child{display:grid;gap:3px}.privacy-picker .choice strong{font-size:14px}.privacy-picker .choice small{color:var(--muted);font-size:12px;font-weight:500;line-height:1.45}
