body {
  background: var(--bg) !important;
  color: #e6e6e6;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "ELGR" 1, "ELSH" 2;
  font-weight: 400;
  margin: 0;
  min-height: 100vh
}

body.has-current .container {
  justify-content: center;
  padding-top: 0
}

body.has-current .current-section {
  min-height: 18.75rem
}

body.has-current .drop-card {
  height: 18.75rem
}

label.small {
  color: #a0a0a0;
  font-size: 1rem;
  margin: 0 0.3125rem 0 0
}

.access-row {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 0.875rem
}

.card {
  background: #171a1f;
  border-radius: 1.125rem
}

.choose-btn {
  -webkit-tap-highlight-color: transparent;
  background: var(--accent);
  border-radius: 0.625rem;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  margin-top: 1.25rem;
  outline: none;
  padding: 0.75rem 1.125rem
}

.terms-hint {
  color: #9a9a9a;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center
}

.terms-link-inline {
  color: #b7d36a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px
}

.terms-link-inline:hover {
  color: #d7ee90
}

.choose-btn::-moz-focus-inner {
  border: 0
}

.choose-btn:hover {
  filter: brightness(1.05);
  outline: none
}

.combined-card {
  background: #262626;
  border-radius: 1.125rem;
  border: 0.0625rem solid #515151;
  overflow: hidden;
  padding: 0
}

.combined-grid {
  align-items: stretch;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%
}

.combined-wrapper {
  margin-top: 0.5rem;
  position: relative
}

.combined-wrapper .bg-layer {
  border-radius: 1.125rem;
  pointer-events: none;
  position: absolute
}

.combined-wrapper .bg0 {
  background: #424242;
  bottom: 0.375rem;
  left: 3rem;
  right: 3rem;
  top: -0.5625rem;
  z-index: 0
}

.combined-wrapper .bg1 {
  background: #424242;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  top: -0.9375rem;
  z-index: 0
}

.combined-wrapper .bg2 {
  background: #616161;
  bottom: 0.5625rem;
  filter: brightness(0.95);
  left: 2.75rem;
  right: 2.75rem;
  top: -1.6875rem;
  z-index: 0
}

.combined-wrapper .combined-card {
  position: relative;
  z-index: 1
}

.container {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  min-height: calc(100vh - 5rem);
  padding: 1rem 1.5rem 0 1.5rem
}

.current-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem
}

.current-audio-icon,
.current-file-icon,
.current-image-icon,
.current-video-icon {
  display: block;
  height: 1.875rem;
  width: 1.875rem
}

.current-badge {
  background: #464848;
  border-radius: 0.5rem;
  color: #cfcfcf;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.625rem
}

.current-grid {
  box-sizing: border-box;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  width: 100%
}

.current-image-icon {
  filter: brightness(0) saturate(100%) invert(27%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(90%)
}

.current-item {
  align-items: center;
  background: #181a1b;
  border-radius: 0.625rem;
  border: 0.0625rem solid #464848;
  box-sizing: border-box;
  display: flex;
  height: 4rem;
  justify-content: space-between;
  overflow: hidden;
  padding: 0.625rem 0.75rem;
  width: 100%;
  transition: border-color 0.3s ease, background-color 0.3s ease
}

.current-item.error-highlight {
  border: 0.125rem solid #ff4444;
  background: rgba(255, 68, 68, 0.1);
  animation: error-pulse 2s ease-in-out
}

@keyframes error-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.current-left {
  align-items: center;
  color: #b7c2cf;
  display: flex;
  font-size: 0.8125rem;
  gap: 0.625rem;
  min-width: 0
}

.current-left>div {
  overflow: hidden
}

.current-left>div>div:first-child {
  max-width: 11.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.current-meta {
  color: #8f8f8f;
  font-size: 0.75rem;
  white-space: nowrap
}

.current-remove {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  background: transparent;
  border-radius: 0.375rem;
  border: 0.0625rem solid #464848;
  cursor: pointer;
  display: inline-block;
  line-height: 0;
  margin: 0;
  outline: none;
  padding: 0.75rem
}

.current-remove img {
  display: block;
  height: 1rem;
  transform: none;
  transition: transform .12s ease;
  width: 1rem
}

.current-remove:hover {
  outline: none
}

.current-remove:hover img {
  transform: scale(1.06)
}

.current-section {
  margin-top: 1rem;
  width: 100%
}

.current-title {
  color: #e6e6e6;
  font-weight: 700;
  margin: 0 0 0.75rem 0.375rem
}

.drop-card {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  height: clamp(20rem, 37.5vw, 37.5rem);
  justify-content: center;
  transition: height .25s ease;
  width: 100%
}

.drop-icon {
  height: 4rem;
  display: block;
  opacity: 0.9;
  width: 4rem;
  background: #789d2a;
  -webkit-mask-image: url("/static/image/feed-file-icon.svg");
  mask-image: url("/static/image/feed-file-icon.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain
}

.drop-inner {
  align-items: center;
  background: #181a1b;
  border-radius: 1rem;
  border: 0.0625rem dashed #464848;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  transition: all 0.3s ease;
  width: 100%
}

.drop-inner.disabled {
  background: #2a2a2a;
  border-color: #666;
  cursor: not-allowed;
  opacity: 0.5
}

.drop-inner.disabled .choose-btn {
  background: #666;
  cursor: not-allowed;
  opacity: 0.5
}

.drop-inner.disabled .drop-title {
  color: #999
}

.drop-sub {
  color: #7d7d7d;
  font-size: 0.875rem;
  margin-top: 0.625rem
}

.drop-title {
  color: #cfcfcf;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.03125rem;
  margin-top: 1.125rem
}

.form-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem
}

.access-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem
}

.access-buttons {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%
}

.access-option {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  width: 100%
}

.access-option input {
  display: none
}

.access-option span {
  align-items: center;
  background: #181a1b;
  box-sizing: border-box;
  border-radius: 0.625rem;
  border: 0.0625rem solid #464848;
  color: #b7c2cf;
  cursor: pointer;
  display: flex;
  gap: 0.375rem;
  font-size: 1.2rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.15;
  min-height: 2.25rem;
  min-width: 0;
  overflow: hidden;
  padding: 0.375rem 0.5rem;
  text-align: center;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
  white-space: normal;
  word-break: break-word;
  width: 100%
}

.access-option-icon {
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  height: 1.15rem;
  pointer-events: none;
  width: 1.15rem
}

.access-option input:checked+span {
  background: rgba(183, 211, 106, 0.16);
  border-color: var(--accent);
  color: #fff
}

.access-option span:hover {
  border-color: #5a5d63
}

.input,
.textarea {
  background: #181a1b;
  border-radius: 0.625rem;
  border: 0.0625rem solid #464848;
  box-sizing: border-box;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  outline: none;
  padding: 0.75rem 1.5rem 0.75rem 0.875rem;
  width: 100%
}

.input:focus,
.textarea:focus {
  border-color: var(--accent)
}

.left-pane {
  background: transparent;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 1.5rem
}

.not-for-stream-wrap {
  align-items: center;
  display: flex;
  gap: 0.5rem
}

.under-access-toggle {
  margin-left: 0.125rem
}

.primary-btn {
  background: var(--accent);
  border-radius: 0.75rem;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  width: 100%
}

.primary-btn:hover {
  filter: brightness(1.05)
}

.primary-btn.disabled,
.primary-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  filter: none;
}

.radio-row {
  align-items: center;
  color: #b7c2cf;
  display: flex;
  gap: 1.125rem
}

.submit-row {
  margin-top: auto
}

.radio-row input {
  accent-color: var(--accent);
  margin: 0.3125rem;
  transform: scale(1.5);
  vertical-align: middle
}

.radio-row label {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5rem;
  vertical-align: middle
}

.right-pane {
  background: transparent;
  box-sizing: border-box;
  padding: 1.5rem
}

.row {
  margin-bottom: 1.125rem
}

.row.flex {
  align-items: center;
  display: flex;
  gap: 0.75rem
}

.textarea {
  min-height: 11.25rem;
  resize: none
}

.toggle {
  appearance: none;
  background: #989898;
  border-radius: 0.75rem;
  border: 0.0625rem solid #464848;
  cursor: pointer;
  height: 1.5rem;
  outline: none;
  position: relative;
  width: 2.625rem
}

.toggle:before {
  background: #0e1116;
  border-radius: 50%;
  content: '';
  height: 1.125rem;
  left: 0.1875rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .18s ease, background-color .18s ease;
  width: 1.125rem
}

.toggle:checked {
  background: var(--accent)
}

.toggle:checked:before {
  background: #ffffff;
  transform: translate(0.875rem, -50%)
}

.upload-grid {
  box-sizing: border-box;
  margin: 0.75rem auto 0 auto;
  max-width: min(75rem, 95vw);
  width: 100%
}

@media (max-width: 480px) {
  .bg0 {
    left: 1.5rem;
    right: 1.5rem
  }

  .bg1 {
    left: 0.5rem;
    right: 0.5rem
  }

  .bg2 {
    left: 1.25rem;
    right: 1.25rem
  }

  .choose-btn {
    padding: 0.625rem 0.875rem
  }

  .combined-card {
    border-width: 0.0625rem
  }

  .container {
    padding: 0 0.75rem 6rem 0.75rem
  }

  .current-grid {
    box-sizing: border-box !important;
    display: grid !important;
    gap: 0.5rem !important;
    grid-template-columns: 1fr !important;
    width: 100% !important
  }

  .current-item {
    margin-bottom: 0.5rem !important;
    width: 100% !important
  }

  .drop-card {
    height: 16.25rem
  }

  .drop-inner {
    box-sizing: border-box;
    padding: 0.625rem
  }

  .drop-sub {
    font-size: 0.6875rem;
    text-align: center
  }

  .drop-title {
    font-size: 1rem;
    text-align: center
  }

  .textarea {
    min-height: 8.75rem
  }
}

@media (max-width: 900px) {
  body.has-current .drop-card {
    height: 13.75rem
  }

  .combined-grid {
    grid-template-columns: 1fr
  }

  .current-grid {
    grid-template-columns: 1fr !important
  }

  .drop-card {
    height: 20rem
  }

  .left-pane {
    padding: 1rem
  }

  .right-pane {
    padding: 1rem
  }

  .access-buttons {
    grid-template-columns: 1fr
  }
}

.upload-progress-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2rem;
  height: 2rem
}

.upload-progress-circle svg {
  transform: rotate(-90deg);
  width: 2rem;
  height: 2rem
}

.upload-progress-circle .progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 3
}

.upload-progress-circle .progress-bar {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s ease
}

.upload-progress-circle .progress-text {
  position: absolute;
  font-size: 0.5rem;
  font-weight: 700;
  color: #fff
}