*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.contribute-page {
  background: #0d0f14;
  color: #e8ebf1;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.4;
}

.contribute-main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  display: grid;
  gap: 1.25rem;
  width: 100%;
}

.contribute-header {
  border-bottom: 0.0625rem solid #2b3040;
  padding-bottom: 0.75rem;
}
.contribute-header h1 {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contribute-form {
  display: grid;
  gap: 1rem;
}

.form-section {
  display: grid;
  gap: 0.55rem;
  border: 0.0625rem solid #2f3546;
  background: #121723;
  padding: 1rem;
}
.form-section h2 {
  font-size: 1em;
  font-weight: 600;
  color: #d7deea;
  margin-bottom: 0.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid #2a3040;
}
.form-section label {
  font-size: 0.84em;
  color: #b8c0d0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.form-section input,
.form-section select,
.form-section textarea,
.form-section button {
  width: 100%;
  border: 0.0625rem solid #3a4257;
  background: #0d1320;
  color: #eef2f7;
  padding: 0.6rem 0.65rem;
  font: inherit;
  border-radius: 0;
}
.form-section input[type=file] {
  padding: 0.4rem 0.5rem;
}
.form-section textarea {
  min-height: 8rem;
  resize: vertical;
}
.form-section button {
  margin-top: 0.25rem;
  border-color: #5a6c93;
  background: #1a2948;
  font-weight: 600;
  cursor: pointer;
}
.form-section button:disabled {
  cursor: default;
  opacity: 0.9;
}
.form-section .submit-spinner {
  width: 1em;
  height: 1em;
  border: 0.125rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  -webkit-animation: submit-spin 0.8s linear infinite;
          animation: submit-spin 0.8s linear infinite;
}

@-webkit-keyframes submit-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes submit-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.line-checkboxes {
  display: grid;
  gap: 0.4rem;
  border: 0.0625rem solid #3a4257;
  background: #0d1320;
  padding: 0.6rem 0.65rem;
}
.line-checkboxes.station-mode {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  border: 0;
  background: transparent;
  padding: 0;
}

#line-group,
#station-group,
#new-station-group,
#new-sound-group {
  gap: 0.45rem;
}
#line-group:not(.hidden),
#station-group:not(.hidden),
#new-station-group:not(.hidden),
#new-sound-group:not(.hidden) {
  display: grid;
}

.label-row {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.4rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.label-info-btn {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 1rem !important;
  min-width: 1rem !important;
  max-width: 1rem;
  height: 1rem;
  aspect-ratio: 1/1;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  border: 0.0625rem solid #4a5264 !important;
  border-radius: 999rem !important;
  background: transparent;
  color: #9ea8bc;
  font-size: 0.62em !important;
  font-weight: 600;
  line-height: 1 !important;
  cursor: pointer;
  opacity: 0.82;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.label-info-btn:hover {
  border-color: #6a7590;
  color: #c9d5eb;
  opacity: 1;
}

.label-info-tip {
  position: absolute;
  left: calc(100% + 0.35rem);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  min-width: 14rem;
  max-width: 22rem;
  padding: 0.45rem 0.5rem;
  border: 0.0625rem solid #3a4257;
  background: #0b101b;
  color: #c4cde0;
  font-size: 0.8em;
  line-height: 1.35;
  display: none;
  z-index: 4;
}

.label-row:hover .label-info-tip,
.label-row:focus-within .label-info-tip {
  display: block;
}

.system-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.45rem;
}

.system-option {
  border: 0.0625rem solid #3a4257;
  background: #0d1320;
  color: #e1e7f3;
  padding: 0.55rem 0.65rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  min-width: 0;
  position: relative;
  -webkit-transition: background 120ms ease, border-color 120ms ease;
  transition: background 120ms ease, border-color 120ms ease;
}
.system-option:hover {
  border-color: #566489;
  background: #131c2f;
}
.system-option img {
  width: 1.15rem;
  height: 1.15rem;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.system-option span {
  min-width: 0;
  word-break: break-word;
  text-align: center;
}
.system-option.active {
  border-color: #9ab3e8;
  background: #21345c;
  color: #f2f6ff;
  -webkit-box-shadow: inset 0 0 0 0.0625rem #9ab3e8;
          box-shadow: inset 0 0 0 0.0625rem #9ab3e8;
}

.line-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 0.6rem;
  color: #e1e7f3;
  font-size: 0.92em;
  min-width: 0;
  border: 0.0625rem solid #3a4257;
  background: #0d1320;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}
.line-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.line-option-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.line-option-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.2rem;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.line-option-icons img {
  width: 1.1rem;
  height: 1.1rem;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
.line-option-text {
  min-width: 0;
  word-break: break-word;
}
.line-option-mark {
  width: 0.9rem;
  height: 0.9rem;
  border: 0.0625rem solid #5a657c;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.line-option.active {
  border-color: #6e84b4;
  background: #18243f;
  color: #f2f6ff;
}
.line-checkboxes.station-mode .line-option {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
.line-checkboxes.station-mode .line-option-mark {
  display: none;
}
.line-checkboxes.line-mode .line-option.active .line-option-mark {
  background: #f2f6ff;
  border-color: #f2f6ff;
}

.line-multi-hint {
  font-size: 0.82em;
  color: #aeb7c8;
}

.inline-check {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  text-transform: none;
}
.inline-check input {
  width: auto;
  margin: 0;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.other-lines-list {
  display: grid;
  gap: 0.45rem;
}

.other-line-row {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr 8rem 6rem;
}
.other-line-row .secondary-btn {
  margin-top: 0;
  height: 100%;
  -ms-flex-item-align: stretch;
      align-self: stretch;
}

.secondary-btn {
  border: 0.0625rem solid #3a4257;
  background: #101626;
  color: #d8deea;
  cursor: pointer;
}
.secondary-btn.active {
  border-color: #9ab3e8;
  background: #21345c;
  color: #f2f6ff;
}

.station-picker,
.sound-picker {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.station-picker select,
.station-picker input,
.sound-picker select,
.sound-picker input {
  height: 100%;
}
.station-picker .secondary-btn,
.sound-picker .secondary-btn {
  width: 8.5rem;
  height: 100%;
  margin: 0;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  white-space: nowrap;
}

.field-hint {
  font-size: 0.8em;
  color: #aeb8cc;
}

.inline-warning {
  font-size: 0.84em;
  color: #ff8c8c;
}

#sound-category-description.field-hint {
  border: 0.0625rem solid #30384a;
  background: #0b101b;
  color: #c4cde0;
  padding: 0.5rem 0.55rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  line-height: 1.35;
}

#new-sound-description.field-hint {
  border: 0.0625rem solid #30384a;
  background: #0b101b;
  color: #c4cde0;
  padding: 0.5rem 0.55rem;
  min-height: 4.5rem;
  resize: vertical;
}

.file-caption {
  font-size: 0.82em;
  color: #aeb7c8;
}

.file-warning {
  font-size: 0.84em;
  color: #ff8c8c;
}

.audio-dropzone {
  border: 0.0625rem dashed #4a546d;
  background: #0d1320;
  color: #d8deea;
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
}
.audio-dropzone p:last-child {
  color: #aeb7c8;
  font-size: 0.9em;
}
.audio-dropzone.drag-over {
  border-color: #7f93be;
  background: #111a2b;
}

.audio-input {
  position: absolute;
  left: -9999rem;
  width: 0.0625rem;
  height: 0.0625rem;
  opacity: 0;
  pointer-events: none;
}

.guidelines {
  border: 0.0625rem solid #2f3546;
  background: #121723;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}
.guidelines h2 {
  font-size: 1.08em;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid #2a3040;
}
.guidelines p {
  color: #b8c0d0;
  font-size: 0.93em;
}
.guidelines ul {
  list-style: square outside;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
  color: #d4d9e3;
  font-size: 0.92em;
}
.guidelines ul li {
  line-height: 1.45;
}
.guidelines ul ul {
  list-style: circle outside;
  margin-top: 0.25rem;
  margin-left: 0.35rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.22rem;
  color: #aeb8cc;
  font-size: 0.9em;
}
.guidelines h3 {
  font-size: 0.95em;
  font-weight: 600;
  color: #d7deea;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}
.guidelines pre {
  overflow-x: auto;
  border: 0.0625rem solid #323a4d;
  background: #0b101b;
  padding: 0.75rem;
  color: #dce3ef;
  font-size: 0.86em;
}

.hidden {
  display: none;
}

.required-label::after {
  content: " *";
  color: #ff8c8c;
}/*# sourceMappingURL=contribute.css.map */