.settings {
  display: block;
  max-width: 620px;
  margin: 100px auto 60px;
  padding: 0 16px;
}

.settings h1 { text-align: center; }

/* The sections sit in named groups (CMA-246): a group heading, then one card per setting. */
.settings h2.group { margin: 34px 0 0; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #555; }
.settings section h3 { margin: 12px 0 8px; font-size: 20px; }

.settings section {
  background: #fffa;
  border-radius: 8px;
  padding: 8px 20px 20px;
  margin: 18px 0;
  box-shadow: 0 1px 4px #0002;
}

.settings label { display: block; margin: 12px 0 4px; color: #555; }

.settings input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid #888;
  background: transparent;
}

.settings input:focus { outline: none; border-bottom-color: #000; }
.settings .hint { color: #666; font-size: 14px; }
.settings .field-err { display: block; min-height: 1.3em; color: #cd0200; }
.settings .status { margin-left: 10px; font-size: 14px; color: #555; }
.settings .api-key-list { padding-left: 0; list-style: none; }
.settings .api-key-row { font-size: 14px; padding: 4px 0; }
.settings .api-key-row .action-button-small { margin-left: 10px; }
.settings .api-key-secret { display: block; word-break: break-all; background: #f4f4f4; padding: 8px 10px; border-radius: 6px; }
.settings .action-button-small { font: inherit; margin-top: 12px; cursor: pointer; }
.settings .action-button-small:disabled { opacity: 0.5; cursor: default; }
.settings .banner.ok { background: #e8f6ec; border-left: 4px solid #1a7f37; padding: 10px 14px; }

.settings .danger { border: 1px solid #cd0200; }
.settings .danger h2 { color: #cd0200; }
.settings .danger-button { background: #cd0200; }

/* the eye candy control is in style.css: the play page uses it too (CMA-286) */
