main#sw_codeaccess { margin: 20px auto 20px auto; width: min(680px, 92vw); background: #121723; border: 1px solid #1f2940; border-radius: 16px; padding: 28px; box-shadow: 0 6px 30px rgba(0,0,0,.35); }
p.title { margin: 0 0 8px; font-size: 20px; font-weight: 650; text-align: left; }
p.note { margin: 0 0 18px; color: #a8b0c2; font-size: 14px; text-align: left; }
.inputs { display: grid; grid-template-columns: repeat(8, var(--code_size)); gap: var(--code_gap); justify-content: center; }
.code-input {
  width: var(--code_size); height: var(--code_hsize); text-align: center; font-size: 28px; font-weight: 700; letter-spacing: 0;
  color: #e9eef8; background: #101520; border: 1px solid #26324a; border-radius: var(--code_radius);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.code-input:focus { border-color: #6aa0ff; box-shadow: 0 0 0 3px rgba(80,140,255,.25); }
/*.code-input[aria-invalid="true"] { border-color: #ff5a7a; box-shadow: 0 0 0 3px rgba(255,90,122,.2); }*/
.box_error { color: #ff93a8; font-size: 17px; min-height: 18px; margin-top: 10px; text-align: center; }
#code_actions { display: flex; gap: 12px; margin-top: 10px; align-items: center; justify-content: space-between; }
#code_actions button { background: #4d7cff; border: 1px solid #3a63d9; color: #fff; font-weight: 650; border-radius: 12px; padding: 10px 40px; cursor: pointer; font-size: 20px; }
#code_actions button.sw_link { background: none;  border: 0px; font-size: 14px; font-weight: normal; padding: 10px 0px; color: #a2bafa; }
#code_actions button.disabled { background-color: #313e5c; border-color: #313e5c; color: #97a2ba; }
#code_actions button:active { transform: translateY(1px); }
.result { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; margin-top: 8px; color: #9fb3ff; font-size: 13px; min-height: 18px; }

#audio-list { display: flex; flex-direction: column; margin-bottom: 40px; }
#audio-list .audio-player, #audio-list .audio-player-controls { display: flex; flex-direction: column; width: 100%; }
.audio-player-actions { display: flex; flex-direction: row; justify-content: right; width: 100%; margin: 10px auto; }
.audio-player-actions span { display: flex; }
.audio-player-actions span a { display: flex; flex-direction: column; cursor: pointer; text-decoration: none; border-radius: 12px; border: 1px solid #334370; background-color: #202c4b; color: #ffffff; width: auto; min-width: 120px; height: 40px; padding: 0px 20px; text-align: center; justify-content: center; margin-left: 20px; transition: background-color .30s ease, transform .05s ease; }
.audio-player-actions span a:hover { background-color: #2f3f6a; }

.audioContentLyrics p.title { color: #e6edff; font-weight: 500; font-size: 15px; }
.audioContentLyrics div.content { color: #e6edff; font-weight: 500; font-size: 15px; background-color: black; border-radius: 12px; padding: 20px; line-height: 150%; font-family: monospace; }

@media (max-width: 780px) {
  :root { --code_size: 40px; --code_hsize: 55px; --code_gap: 12px; --code_radius: 8px; }
  .singingwishes_code_input { width: min(450px, 92vw); }
  .code-input { font-size: 22px; }
}
@media (max-width: 620px) {
  :root { --code_size: 9vw; --code_hsize: 42px; --code_gap: 1vw; --code_radius: 8px; }
  .singingwishes_code_input { width: 90vw; }
  .code-input { font-size: 16px; }
}
