@layer bdr-base {
[data-view-panel="gallery"].gallery-premium {
  color: var(--theme-text);
}
.gallery-premium .gal-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 285px;
  overflow: hidden;
  border: 1px solid var(--theme-control-border);
  border-radius: 18px;
  background: linear-gradient(90deg,rgba(4,20,37,.94),rgba(4,20,37,.25)),
    linear-gradient(var(--theme-hero-tint), var(--theme-hero-tint)), var(--theme-admin-hero, linear-gradient(110deg, var(--theme-login-start), var(--theme-login-end))) center/cover no-repeat;
}
.gallery-premium .gal-hero-content {
  position: relative;
  width: 100%;
  max-width: 850px;
  padding: 38px 42px;
}
.gallery-premium .gal-kicker {
  color: var(--theme-highlight);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}
.gallery-premium .gal-hero h1 {
  color: #fff;
  font-size: clamp(34px,4vw,54px);
  line-height: 1.1;
  margin: 14px 0;
}
.gallery-premium .gal-hero h1 em {
  color: var(--theme-link);
  font-style: normal;
}
.gallery-premium .gal-description {
  max-width: 550px;
  color: var(--theme-muted);
  line-height: 1.7;
}
.gallery-premium .gal-hero-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  color: var(--theme-link);
  font-size: 11px;
  font-weight: 800;
}
.gallery-premium .gal-section-heading,
.gallery-premium .gal-library-heading {
  margin: 30px 0 18px;
}
.gallery-premium .gal-section-heading h2,
.gallery-premium .gal-library-heading h2 {
  color: #fff;
  font-size: 27px;
  margin: 8px 0;
}
.gallery-premium .gal-section-heading p:not(.eyebrow) {
  color: #a8c9dd;
}
.gallery-premium .gal-upload {
  padding: 26px;
  background: linear-gradient(145deg,var(--theme-surface),#091f35);
  border: 1px solid #386783;
  border-radius: 18px;
  box-shadow: 0 12px 35px #00112435;
}
.gallery-premium .gal-upload-heading {
  padding-bottom: 20px;
  margin-bottom: 23px;
  border-bottom: 1px solid #31546d;
}
.gallery-premium .gal-section-icon {
  color: #40d4ee;
  font-size: 26px;
  font-weight: 800;
}
.gallery-premium .gal-upload-heading h3 {
  color: #fff;
  font-size: 22px;
  margin: 9px 0;
}
.gallery-premium .gal-upload-heading p {
  color: #a8c9dd;
  font-size: 13px;
}
.gallery-premium #mediaForm .form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
.gallery-premium #mediaForm label {
  color: #e8f4ff;
  font-size: 13px;
  font-weight: 750;
}
.gallery-premium #mediaForm input,
.gallery-premium #mediaForm select {
  width: 100%;
  max-width: 100%;
  min-height: 45px;
  margin-top: 9px;
  border: 1px solid #3b6985;
  border-radius: 10px;
  background: #081c30;
  color: #fff;
}
.gallery-premium .gal-file-hint {
  color: #9cbfd4;
  margin: 20px 0;
  line-height: 1.6;
}
.gallery-premium .gal-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gallery-premium .gal-upload-button {
  background: linear-gradient(115deg,#0786b9,#10bfd8);
  border: 1px solid #3bd0e9;
  font-weight: 800;
}
.gallery-premium #mediaAdmin {
  margin-top: 18px;
}
.gallery-premium #mediaAdmin .content-card {
  background: linear-gradient(145deg,var(--theme-surface),var(--theme-bg));
  border: 1px solid var(--theme-control-border);
  border-radius: 15px;
  box-shadow: 0 10px 28px #00112435;
}
@media (max-width: 760px) {
.gallery-premium .gal-hero {
  min-height: 245px;
}
.gallery-premium .gal-hero-content {
  padding: 26px 20px;
}
.gallery-premium .gal-upload {
  padding: 17px;
}
.gallery-premium #mediaForm .form-grid {
  grid-template-columns: 1fr;
}
.gallery-premium .gal-section-heading h2,
  .gallery-premium .gal-library-heading h2 {
  font-size: 23px;
}
}
}
@layer bdr-legacy-priority {
.gallery-premium #deleteGalleryAlbum[hidden] {
  display: none;
}
}
