/* DenFur Billboard */

.bb-main {
  padding-bottom: 48px;
}

.bb-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.bb-jump {
  flex: 0 0 auto;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--purple);
  color: #fff !important;
  font-weight: 950;
  text-decoration: none;
}

.bb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 36px;
}

.bb-empty {
  grid-column: 1 / -1;
  padding: 28px 20px;
  border-radius: 10px;
  border: 1px dashed rgba(143, 164, 200, 0.35);
  background: rgba(21, 29, 46, 0.75);
  text-align: center;
}

.bb-empty strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.bb-empty p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.bb-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(143, 164, 200, 0.28);
  background: rgba(21, 29, 46, 0.92);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.bb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 166, 107, 0.55);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.bb-card-media {
  aspect-ratio: 1;
  background: #041018;
}

.bb-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-card-body {
  display: grid;
  gap: 4px;
  padding: 12px 12px 14px;
  min-width: 0;
}

.bb-card-body strong {
  font-size: 0.98rem;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-card-by {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
}

.bb-card-link {
  color: #8fa4c8;
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-submit {
  border: 1px solid rgba(143, 164, 200, 0.28);
  border-radius: 12px;
  background: rgba(21, 29, 46, 0.92);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.bb-submit-head {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(143, 164, 200, 0.2);
  background: linear-gradient(180deg, rgba(36, 53, 80, 0.95), rgba(26, 39, 64, 0.92));
}

.bb-submit-head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.bb-submit-head p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
  line-height: 1.4;
}

.bb-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.bb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bb-field {
  display: grid;
  gap: 6px;
  font-weight: 850;
}

.bb-field-wide {
  grid-column: 1 / -1;
}

.bb-field em {
  font-style: normal;
  color: var(--ink-soft);
  font-weight: 700;
}

.bb-field input {
  height: 42px;
  border: 2px solid rgba(143, 164, 200, 0.24);
  border-radius: 6px;
  padding: 0 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-weight: 800;
}

.bb-field input:focus {
  outline: none;
  border-color: rgba(61, 95, 154, 0.85);
  box-shadow: 0 0 0 3px rgba(61, 95, 154, 0.22);
}

.bb-dropzone {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  padding: 28px 16px;
  border: 2px dashed rgba(143, 164, 200, 0.45);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(61, 95, 154, 0.12), rgba(8, 12, 22, 0.45));
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bb-dropzone.is-drag,
.bb-dropzone:hover {
  border-color: rgba(201, 166, 107, 0.7);
  background: linear-gradient(180deg, rgba(201, 166, 107, 0.12), rgba(8, 12, 22, 0.45));
}

.bb-dropzone input[type="file"] {
  display: none;
}

.bb-dropzone-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(61, 95, 154, 0.28);
  color: #fff;
  font-size: 1.1rem;
}

.bb-dropzone strong {
  font-size: 1rem;
}

.bb-dropzone span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.bb-picked {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.bb-preview {
  width: min(220px, 100%);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(143, 164, 200, 0.28);
}

.bb-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.bb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bb-btn {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 0 16px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.bb-btn.primary {
  background: var(--purple);
  color: #fff;
}

.bb-btn.primary:disabled {
  opacity: 0.65;
  cursor: wait;
}

.bb-btn.ghost {
  background: rgba(143, 164, 200, 0.14);
  color: var(--ink);
}

.bb-fineprint {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.bb-error,
.bb-ok {
  margin: 0;
  font-weight: 850;
}

.bb-error {
  color: #ff8fa3;
}

.bb-ok {
  color: #7dd3c0;
}

.bb-error[hidden],
.bb-ok[hidden],
.bb-picked[hidden],
.bb-preview[hidden] {
  display: none !important;
}

.req {
  color: #ff8fa3;
}

@media (max-width: 700px) {
  .bb-form-grid {
    grid-template-columns: 1fr;
  }
}
