
/* NUJIZ FAVICON STUDIO V1 */

#nfsStudio{
  --nfs-card:#f5f6fb;
  --nfs-text:#202438;
  --nfs-muted:#505a70;
  --nfs-line:#d9deea;
  display:grid;
  gap:15px;
}

html[data-theme="dark"] body #nfsStudio{
  --nfs-card:#202737;
  --nfs-text:#f5f7ff;
  --nfs-muted:#c0c9dd;
  --nfs-line:#414c63;
}

html body #nfsStudio [hidden]{
  display:none!important;
}

html body #nfsStudio h4{
  font-size:16px!important;
  font-weight:800!important;
  margin:16px 0 10px!important;
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
}

#nfsStudio .nfs-heading{
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px;
  border-radius:16px;
  background:linear-gradient(135deg,#392477,#7545dc);
}

#nfsStudio .nfs-heading i{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:12px;
  background:#ffffff22;
  font-size:25px;
}

html body #nfsStudio .nfs-heading *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

#nfsStudio .nfs-heading strong{
  display:block;
  font-size:19px;
}

#nfsStudio .nfs-heading small{
  display:block;
  font-size:13px;
  margin-top:5px;
}

#nfsStudio .nfs-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

html body #nfsStudio .nfs-grid button{
  min-width:0;
  min-height:75px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 4px;
  background:var(--nfs-card)!important;
  border:1px solid var(--nfs-line)!important;
  border-radius:12px;
  cursor:pointer;
  box-shadow:none;
}

html body #nfsStudio .nfs-grid button *{
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
}

#nfsStudio .nfs-grid strong{
  font-size:13px!important;
  white-space:nowrap;
}

#nfsStudio .nfs-grid small{
  font-size:11px!important;
}

html body #nfsStudio .nfs-grid button.selected{
  background:linear-gradient(135deg,#7950ed,#5430b6)!important;
  border:2px solid #ac91ff!important;
}

html body #nfsStudio .nfs-grid button.selected *{
  color:white!important;
  -webkit-text-fill-color:white!important;
}

#nfsStudio .nfs-shape{
  display:block;
  width:30px;
  height:30px;
  border:2px solid #a58aff;
  background:#8257e455;
}

#nfsStudio .nfs-shape.rounded{
  border-radius:8px;
}

#nfsStudio .nfs-shape.circle{
  border-radius:50%;
}

#nfsStudio .nfs-preview{
  display:grid;
  justify-items:center;
  gap:12px;
  padding:20px;
  border:1px solid var(--nfs-line);
  background:var(--nfs-card);
  border-radius:14px;
}

#nfsStudio canvas{
  display:block;
  background:repeating-conic-gradient(
    #b9bfcb 0% 25%,#e9ecf2 0% 50%
  ) 0 0/16px 16px;
}

#nfsStudio #nfsMainPreview{
  width:144px;
  height:144px;
  max-width:100%;
  border-radius:4px;
}

#nfsStudio .nfs-browser{
  margin-top:12px;
  padding:10px;
  border-radius:12px;
  background:#282d3b;
  direction:ltr;
}

#nfsStudio .nfs-tab{
  display:flex;
  align-items:center;
  gap:8px;
  background:#41495b;
  padding:10px;
  border-radius:8px 8px 0 0;
}

#nfsStudio .nfs-tab span:last-child{
  margin-left:auto;
}

#nfsStudio .nfs-address{
  background:#151925;
  border-radius:7px;
  padding:10px;
  font-size:11px;
  margin-top:5px;
  overflow-wrap:anywhere;
}

html body #nfsStudio .nfs-browser *{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

#nfsStudio .nfs-mini{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:12px;
}

#nfsStudio .nfs-mini>div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  padding:12px 4px;
  border:1px solid var(--nfs-line);
  border-radius:10px;
  background:var(--nfs-card);
}

html body #nfsStudio label span,
html body #nfsStudio label b,
html body #nfsStudio .nfs-mini small,
html body #nfsStudio #nfsDimensions{
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
  font-size:14px!important;
}

html body #nfsStudio .nfs-number{
  width:85px!important;
  min-height:35px;
  border-radius:8px;
  text-align:center;
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
  background:var(--nfs-card)!important;
  border:1px solid var(--nfs-line)!important;
}

html body #nfsStudio .nfs-reset{
  padding:12px;
  border:1px solid var(--nfs-line);
  border-radius:10px;
  background:var(--nfs-card)!important;
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

#nfsStudio .control-grid{
  gap:10px;
}

@media(max-width:480px){
  #nfsStudio .nfs-grid strong{
    font-size:12px!important;
  }
  #nfsStudio .control-grid{
    grid-template-columns:1fr;
  }
}


/* NUJIZ FAVICON CARD PREVIEW V2 */

html body #nfsStudio .nfs-sizes button{
  min-height:124px!important;
  padding:12px 5px!important;
  gap:8px!important;
  position:relative;
  overflow:hidden;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

html body #nfsStudio .nfs-card-preview{
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  flex-shrink:0;
  padding:3px;
  border-radius:9px;
  background:
    repeating-conic-gradient(
      #d0d5df 0% 25%,
      #f1f3f7 0% 50%
    ) 0 0/12px 12px;
  border:1px solid #ffffff40;
  overflow:hidden;
}

html body #nfsStudio .nfs-card-preview canvas{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

html body #nfsStudio .nfs-sizes button strong{
  font-size:14px!important;
  font-weight:800!important;
  direction:ltr;
}

html body #nfsStudio .nfs-sizes button small{
  font-size:12px!important;
  opacity:1!important;
}

html body #nfsStudio .nfs-sizes button.selected{
  box-shadow:
    0 4px 18px #7045df35!important;
}

html body #nfsStudio .nfs-sizes button.selected::after{
  content:"✓";
  position:absolute;
  top:5px;
  inset-inline-end:5px;
  display:grid;
  place-items:center;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#fff;
  color:#5733b7!important;
  -webkit-text-fill-color:#5733b7!important;
  font-size:12px;
  font-weight:900;
}

html body #nfsStudio .nfs-preview[hidden]{
  display:none!important;
}

@media(max-width:480px){

  html body #nfsStudio .nfs-sizes button{
    min-height:110px!important;
    padding:9px 3px!important;
  }

  html body #nfsStudio .nfs-card-preview{
    width:46px;
    height:46px;
  }

  html body #nfsStudio .nfs-sizes button strong{
    font-size:12px!important;
  }

  html body #nfsStudio .nfs-sizes button small{
    font-size:11px!important;
  }
}



/* NUJIZ FAVICON CLEAN INTERFACE V3 */

html body .nfs-browser,
html body .nfs-mini {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

html body .nfs-grid {
    margin-bottom: 16px;
}

html body .nfs-sizes button {
    transition:
        border-color .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

html body .nfs-sizes button strong {
    font-size: 14px !important;
    font-weight: 800 !important;
}

html body .nfs-sizes button small {
    font-size: 12px !important;
    line-height: 1.5 !important;
}

html[data-theme="dark"] body .nfs-sizes button strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body .nfs-sizes button small {
    color: #cbd5e1 !important;
    -webkit-text-fill-color: #cbd5e1 !important;
}

/* END NUJIZ FAVICON CLEAN INTERFACE V3 */



/* NUJIZ FAVICON MAIN PREVIEW V4 */

html body .canvas-stage.nfs-live-stage{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:380px!important;
    padding:48px 24px 65px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    background:#f1f3f8!important;
}

html[data-theme="dark"] body
.canvas-stage.nfs-live-stage{
    background:#10151f!important;
}

html body .nfs-live-stage #previewCanvas{
    display:block!important;
    width:min(100%,340px)!important;
    height:auto!important;
    max-width:340px!important;
    max-height:340px!important;
    aspect-ratio:1/1!important;
    object-fit:contain!important;
    border-radius:8px!important;
    background:repeating-conic-gradient(
        #cbd0da 0% 25%,
        #f1f3f7 0% 50%
    ) 0 0/20px 20px!important;
    box-shadow:0 8px 35px #00000026!important;
    image-rendering:auto;
}

html body #nfsLiveInfo{
    position:absolute;
    bottom:16px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:10px 16px;
    border:1px solid #d6dce7;
    border-radius:12px;
    background:#ffffff!important;
    white-space:nowrap;
    font-size:13px;
    z-index:3;
}

html body #nfsLiveInfo,
html body #nfsLiveInfo *{
    color:#253047!important;
    -webkit-text-fill-color:#253047!important;
}

html[data-theme="dark"] body #nfsLiveInfo{
    background:#202938!important;
    border-color:#414c60!important;
}

html[data-theme="dark"] body #nfsLiveInfo,
html[data-theme="dark"] body #nfsLiveInfo *{
    color:#f4f7ff!important;
    -webkit-text-fill-color:#f4f7ff!important;
}

html body #nfsLiveInfo .nfs-live-dot{
    display:block;
    width:9px;
    height:9px;
    flex-shrink:0;
    border-radius:50%;
    background:#22c55e!important;
    box-shadow:0 0 0 4px #22c55e22;
}

html body #nfsLiveSize{
    font-weight:800!important;
    font-variant-numeric:tabular-nums;
}

@media(max-width:600px){

    html body .canvas-stage.nfs-live-stage{
        min-height:290px!important;
        padding:25px 18px 65px!important;
    }

    html body .nfs-live-stage #previewCanvas{
        width:min(100%,240px)!important;
        max-width:240px!important;
        max-height:240px!important;
    }

    html body #nfsLiveInfo{
        font-size:12px!important;
        padding:9px 12px;
    }

}

/* END NUJIZ FAVICON MAIN PREVIEW V4 */



/* NUJIZ FAVICON EXPORT V5 */

#nfsExportV5 {
  margin-top:20px;
  display:grid;
  gap:12px;
}

#nfsExportV5 [hidden] {
  display:none!important;
}

#nfsExportV5 .nfs-export-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}

#nfsExportV5 [data-nfs-export] {
  min-width:0;
  min-height:96px;
  border:1px solid #d4d8e2;
  border-radius:12px;
  background:#f7f8fc;
  color:#202538;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
  font-family:inherit;
}

#nfsExportV5 [data-nfs-export] i {
  font-size:25px;
  font-style:normal;
  color:#7852ef;
}

#nfsExportV5 [data-nfs-export] strong {
  font-size:14px;
  font-weight:800;
}

#nfsExportV5 [data-nfs-export] small {
  font-size:11px;
  line-height:1.6;
  text-align:center;
}

html[data-theme="dark"] body
#nfsExportV5 [data-nfs-export] {
  background:#202736;
  border-color:#414b61;
}

html[data-theme="dark"] body
#nfsExportV5 [data-nfs-export] strong,
html[data-theme="dark"] body
#nfsExportV5 [data-nfs-export] small {
  color:#f3f5ff!important;
  -webkit-text-fill-color:#f3f5ff!important;
}

html body #nfsExportV5 [data-nfs-export].active {
  background:linear-gradient(135deg,#7950ed,#542db8)!important;
  border-color:#b39aff!important;
  box-shadow:0 0 0 1px #a88aff;
}

html body #nfsExportV5 [data-nfs-export].active * {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

#nfsVectorOptions {
  display:grid;
  gap:12px;
  padding:14px;
  border:1px solid #8c74c64d;
  border-radius:14px;
}

#nfsVectorPreviewButton {
  padding:12px;
  background:#6942ce;
  border:0;
  border-radius:10px;
  font-weight:800;
  cursor:pointer;
}

html body #nfsVectorPreviewButton {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

#nfsVectorPreview {
  padding:16px;
  text-align:center;
  border-radius:12px;
  background:#dfe3eb;
}

#nfsVectorImage {
  display:block;
  width:100%;
  max-width:240px;
  height:auto;
  margin:auto;
  background:repeating-conic-gradient(
    #fff 0% 25%,#d2d6df 0% 50%
  ) 0 0/16px 16px;
}

#nfsExportV5 .nfs-export-note {
  font-size:12px;
  line-height:1.8;
  padding:12px;
  background:#7852ef12;
  border-radius:9px;
}

html body #nfsExportV5 .nfs-export-note {
  color:#343b50!important;
  -webkit-text-fill-color:#343b50!important;
}

html[data-theme="dark"] body
#nfsExportV5 .nfs-export-note {
  color:#dce2f4!important;
  -webkit-text-fill-color:#dce2f4!important;
}

#nfsExportStatus {
  font-size:12px;
  font-weight:700;
  min-height:18px;
}



/* NUJIZ FAVICON STUDIO V6 */

#nfsStudio .nfs-v6-modes{
  display:grid;
  gap:10px;
}

html body #nfsStudio .nfs-v6-mode{
  display:flex!important;
  align-items:center;
  gap:12px;
  padding:15px;
  border:1px solid var(--nfs-line);
  border-radius:12px;
  background:var(--nfs-card)!important;
  cursor:pointer;
}

#nfsStudio .nfs-v6-mode input{
  width:19px!important;
  height:19px!important;
  flex-shrink:0;
  accent-color:#7950ed;
}

#nfsStudio .nfs-v6-mode:has(input:checked){
  border-color:#9674ff!important;
  box-shadow:0 0 0 1px #9674ff;
}

html body #nfsStudio .nfs-v6-mode strong{
  display:block;
  font-size:14px!important;
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
}

html body #nfsStudio .nfs-v6-mode small{
  display:block;
  font-size:12px!important;
  line-height:1.7;
  margin-top:5px;
  color:var(--nfs-muted)!important;
  -webkit-text-fill-color:var(--nfs-muted)!important;
}

html body #nfsV6Notice{
  padding:12px;
  border-radius:10px;
  background:#7852ef14;
  font-size:13px;
  line-height:1.8;
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
}

html body #nfsV6Stats:not([hidden]){
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px;
  border:1px solid #22c55e55;
  background:#22c55e12;
  border-radius:10px;
}

html body #nfsV6Stats *{
  color:var(--nfs-text)!important;
  -webkit-text-fill-color:var(--nfs-text)!important;
}

html body #nfsV6LargeImage{
  display:none!important;
}

html body .nfs-live-stage.nfs-v6-show
#nfsV6LargeImage{
  display:block!important;
  width:min(100%,340px)!important;
  height:auto!important;
  aspect-ratio:1;
  object-fit:contain;
  border-radius:10px;
  background:repeating-conic-gradient(
    #cbd0da 0% 25%,
    #f1f3f7 0% 50%
  ) 0 0/16px 16px;
}

html body .nfs-live-stage.nfs-v6-show
#previewCanvas{
  display:none!important;
}

html body #nfsV6Compare{
  display:none!important;
}

html body .nfs-live-stage.nfs-v6-compare
#nfsV6Compare{
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  display:flex!important;
  gap:5px;
  padding:5px;
  background:#202737;
  border:1px solid #46516a;
  border-radius:10px;
  z-index:5;
}

html body #nfsV6Compare button{
  border:0;
  border-radius:7px;
  padding:9px 15px;
  background:transparent!important;
  color:#f1f5ff!important;
  -webkit-text-fill-color:#f1f5ff!important;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  white-space:nowrap;
}

html body #nfsV6Compare button.active{
  background:#7145dc!important;
}

html body .nfs-live-stage.nfs-v6-compare{
  padding-top:65px!important;
}

html body:has(#videoDownloadButton.visible)
#nfsV6Compare,
html body:has(#downloadButton.visible)
#nfsV6Compare{
  display:none!important;
}

html body:has(#downloadButton.visible)
#nfsV6LargeImage{
  display:none!important;
}

html body:has(#downloadButton.visible)
.nfs-live-stage.nfs-v6-show #previewCanvas{
  display:block!important;
}

@media(max-width:600px){
  html body .nfs-live-stage.nfs-v6-show
  #nfsV6LargeImage{
    max-width:240px!important;
  }
}

/* END NUJIZ FAVICON STUDIO V6 */

