/* JBS UNIFIED TRUST UI 1B */
body.jbs-unified-active{
  min-height:100vh;
  overflow-x:hidden;
}

body.jbs-unified-active .ui-panel{
  display:none !important;
}

#jbsUnifiedShell{
  position:fixed;
  z-index:36;
  top:138px;
  left:54px;
  width:850px;
  max-width:calc(100vw - 820px);
  min-width:620px;
  color:#e5e7eb;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jbs-unified-card,
.jbs-unified-advanced,
#resultPanel.jbs-unified-verdict-panel{
  background:
    radial-gradient(circle at 0% 0%, rgba(0,255,213,.14), transparent 28%),
    linear-gradient(135deg, rgba(4,12,22,.92), rgba(2,6,14,.86));
  border:1px solid rgba(0,255,213,.34);
  box-shadow:
    0 0 0 1px rgba(148,163,184,.08) inset,
    0 0 34px rgba(0,255,213,.10),
    0 24px 80px rgba(0,0,0,.42);
  border-radius:28px;
  backdrop-filter:blur(8px);
}

.jbs-unified-card{
  padding:42px 44px 34px;
}

.jbs-unified-head{
  display:flex;
  align-items:center;
  gap:26px;
  margin-bottom:24px;
}

.jbs-unified-logo{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  color:#00f5d4;
  border:2px solid rgba(0,245,212,.82);
  border-radius:18px;
  font-size:34px;
  text-shadow:0 0 18px rgba(0,245,212,.45);
}

.jbs-unified-title{
  margin:0;
  font-size:44px;
  line-height:1.05;
  font-weight:950;
  letter-spacing:.04em;
  color:#f8fafc;
  text-shadow:0 6px 24px rgba(0,0,0,.65);
}

.jbs-unified-title:after{
  content:"";
  display:block;
  width:54px;
  height:3px;
  margin-top:22px;
  background:#00f5d4;
  box-shadow:0 0 16px rgba(0,245,212,.85);
}

.jbs-unified-input-wrap{
  position:relative;
  margin:22px 0 28px;
}

#jbsUnifiedInput{
  width:100%;
  height:70px;
  padding:0 68px 0 28px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.45);
  background:rgba(2,6,15,.68);
  color:#f8fafc;
  font-size:20px;
  outline:none;
  box-sizing:border-box;
}

#jbsUnifiedInput::placeholder{
  color:rgba(226,232,240,.70);
}

#jbsUnifiedPaste{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#00f5d4;
  font-size:26px;
  cursor:pointer;
}

.jbs-unified-buttons{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:28px;
}

.jbs-unified-btn{
  height:70px;
  border-radius:14px;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}

#jbsUnifiedFast{
  border:0;
  color:#06121d;
  background:linear-gradient(135deg, #08e7dd, #00f5c8);
  box-shadow:0 12px 36px rgba(0,245,212,.18);
}

#jbsUnifiedDeep{
  border:2px solid rgba(0,245,212,.90);
  color:#00f5d4;
  background:rgba(2,6,15,.58);
}

.jbs-unified-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}

.jbs-unified-help{
  margin:0;
  color:rgba(226,232,240,.82);
  font-size:20px;
  line-height:1.55;
}

.jbs-unified-advanced{
  margin-top:24px;
  padding:26px 30px 30px;
}

.jbs-unified-advanced-title{
  display:flex;
  align-items:center;
  gap:14px;
  color:#e5e7eb;
  font-weight:950;
  font-size:20px;
  letter-spacing:.04em;
  margin-bottom:22px;
}

.jbs-unified-modes{
  display:grid;
  grid-template-columns:1.45fr .9fr 1fr;
  gap:18px;
}

.jbs-unified-mode{
  height:64px;
  border-radius:12px;
  border:1px solid rgba(0,245,212,.74);
  background:rgba(2,6,15,.45);
  color:#24ffe7;
  font-size:20px;
  font-weight:800;
  cursor:pointer;
}

#resultPanel.jbs-unified-verdict-panel{
  display:block !important;
  position:fixed !important;
  z-index:34 !important;
  top:154px !important;
  right:72px !important;
  left:auto !important;
  width:640px !important;
  max-width:calc(100vw - 1010px) !important;
  min-width:520px !important;
  min-height:570px !important;
  max-height:calc(100vh - 230px) !important;
  padding:34px 36px !important;
  overflow:auto !important;
  color:#e5e7eb !important;
  box-sizing:border-box !important;
}

.jbs-unified-empty-title{
  display:flex;
  align-items:center;
  gap:14px;
  color:#00f5d4;
  font-weight:950;
  font-size:22px;
  letter-spacing:.06em;
  padding-bottom:22px;
  border-bottom:1px solid rgba(148,163,184,.26);
}

.jbs-unified-radar{
  width:250px;
  height:250px;
  margin:58px auto 28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#00f5d4;
  font-size:42px;
  background:
    radial-gradient(circle, rgba(0,245,212,.10) 0 20%, transparent 21%),
    repeating-radial-gradient(circle, transparent 0 38px, rgba(0,245,212,.22) 39px 41px),
    linear-gradient(90deg, transparent 49.5%, rgba(0,245,212,.5) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(0,245,212,.5) 50%, transparent 50.5%);
  opacity:.78;
}

.jbs-unified-empty-text{
  text-align:center;
  font-size:21px;
  line-height:1.45;
  color:rgba(226,232,240,.84);
}

.jbs-unified-footer{
  position:fixed;
  z-index:20;
  left:0;
  right:0;
  bottom:24px;
  text-align:center;
  color:rgba(148,163,184,.58);
  font-size:15px;
}

@media (max-width:1200px){
  #jbsUnifiedShell{
    position:relative;
    top:auto;
    left:auto;
    width:auto;
    min-width:0;
    max-width:none;
    margin:96px 22px 24px;
  }
  #resultPanel.jbs-unified-verdict-panel{
    position:relative !important;
    top:auto !important;
    right:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 22px 80px !important;
  }
  .jbs-unified-modes,
  .jbs-unified-buttons{
    grid-template-columns:1fr;
  }
}

/* JBS UNIFIED MOBILE 1A */
@media (max-width: 1200px){
  body.jbs-unified-active{
    overflow-y:auto !important;
  }

  body.jbs-unified-active #jbsUnifiedShell{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:96px 18px 22px !important;
    z-index:36 !important;
  }

  body.jbs-unified-active #resultPanel.jbs-unified-verdict-panel{
    position:relative !important;
    top:auto !important;
    right:auto !important;
    left:auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    min-height:360px !important;
    max-height:none !important;
    margin:0 18px 90px !important;
    padding:26px 24px !important;
    z-index:34 !important;
  }

  body.jbs-unified-active .jbs-unified-title{
    font-size:34px !important;
    line-height:1.12 !important;
  }

  body.jbs-unified-active .jbs-unified-card{
    padding:30px 24px 28px !important;
  }

  body.jbs-unified-active .jbs-unified-buttons,
  body.jbs-unified-active .jbs-unified-modes{
    grid-template-columns:1fr !important;
  }

  body.jbs-unified-active .jbs-unified-radar{
    width:210px !important;
    height:210px !important;
    margin:36px auto 22px !important;
  }

  body.jbs-unified-active .jbs-unified-footer{
    display:none !important;
  }
}

/* JBS Adult/18+ one-click category banner */
.jbs-adult18-banner {
  margin: 14px 0;
  padding: 14px 16px;
  border: 2px solid #f59e0b;
  border-radius: 14px;
  background: #451a03;
  color: #fff7ed;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.jbs-adult18-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: .02em;
}
.jbs-adult18-banner span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  opacity: .96;
}

/* JBS_VISIBLE_FILE_UPLOAD_POLISH_17I */
body.jbs-unified-active{
  overflow-y:auto !important;
  min-height:100vh !important;
}

#jbsUnifiedFileBox{
  margin-top:12px !important;
  display:grid !important;
  gap:10px !important;
}

#jbsUnifiedFileInput{
  width:100% !important;
  box-sizing:border-box !important;
  min-height:46px !important;
  padding:10px 14px !important;
  border:1px solid rgba(0,255,220,.55) !important;
  border-radius:14px !important;
  background:rgba(0,0,0,.38) !important;
  color:#e5e7eb !important;
  font-size:14px !important;
}

#jbsUnifiedFileBtn{
  width:100% !important;
  min-height:58px !important;
  padding:14px 18px !important;
  border:2px solid rgba(0,255,220,.82) !important;
  border-radius:14px !important;
  background:rgba(0,255,220,.08) !important;
  color:#20f7df !important;
  font-weight:900 !important;
  font-size:18px !important;
  cursor:pointer !important;
}

#jbsUnifiedFileBtn:hover{
  background:rgba(0,255,220,.18) !important;
}

#jbsUnifiedFileBox .jbs-unified-help{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.42 !important;
}


/* JBS_FOOTER_HIDE_SAFETY_17I */
.jbs-unified-footer{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

/* JBS_VISIBLE_UPLOAD_SIZE_TUNE_17I */
#jbsUnifiedFileBox{
  margin-top:10px !important;
  gap:8px !important;
}

#jbsUnifiedFileInput{
  min-height:42px !important;
  padding:8px 12px !important;
  font-size:13px !important;
}

#jbsUnifiedFileBtn{
  min-height:50px !important;
  padding:11px 16px !important;
  font-size:16px !important;
}

#jbsUnifiedFileBox .jbs-unified-help{
  font-size:13px !important;
  line-height:1.34 !important;
}

/* KROK_UI_19G_B1_COMPACT_EXISTING_SELECTORS */
@media (min-width: 901px) {
  body.jbs-unified-active .jbs-unified-card {
    padding: 28px 34px 22px !important;
  }

  body.jbs-unified-active .jbs-unified-title {
    font-size: clamp(34px, 2.55vw, 46px) !important;
    line-height: 1.02 !important;
  }

  body.jbs-unified-active .jbs-unified-input {
    height: 58px !important;
    margin: 16px 0 18px !important;
  }

  body.jbs-unified-active .jbs-unified-btn {
    height: 58px !important;
  }

  body.jbs-unified-active #jbsUnifiedDropZone {
    padding: 10px 12px !important;
    line-height: 1.32 !important;
  }

  body.jbs-unified-active #jbsUnifiedFileBtn {
    min-height: 52px !important;
    padding: 10px 16px !important;
  }

  body.jbs-unified-active .jbs-unified-help {
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body.jbs-unified-active .jbs-unified-advanced {
    margin-top: 16px !important;
    padding: 20px 24px 22px !important;
  }

  body.jbs-unified-active #resultPanel.jbs-unified-verdict-panel {
    min-height: 500px !important;
    padding: 30px 32px !important;
  }
}
