:root{
  --jbridge-accent:#1ecad3;
  --jbridge-accent-dark:#079aa4;
  --jbridge-ink:#0d1719;
  --jbridge-muted:#667679;
  --jbridge-line:#dce8ea;
}

.jbridge-page{
  position:relative;
  min-height:calc(100dvh - 110px);
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:46px 16px 64px;
  background:
    radial-gradient(circle at 84% 11%,rgba(30,202,211,.22),transparent 30%),
    radial-gradient(circle at 8% 90%,rgba(30,202,211,.08),transparent 24%),
    linear-gradient(145deg,#061012 0%,#0b171a 50%,#10272b 100%);
}
.jbridge-orbit{position:absolute;inset:0;pointer-events:none;opacity:.62;}
.jbridge-orbit i{position:absolute;right:-260px;border:1px solid rgba(87,224,231,.16);border-radius:50%;transform:rotate(-18deg);}
.jbridge-orbit i:nth-child(1){width:650px;height:220px;top:13%;}
.jbridge-orbit i:nth-child(2){width:790px;height:275px;top:21%;}
.jbridge-orbit i:nth-child(3){width:930px;height:340px;top:29%;}
.jbridge-shell{
  position:relative;
  z-index:1;
  width:min(650px,100%);
  padding:30px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:28px;
  background:rgba(255,255,255,.985);
  box-shadow:0 30px 90px rgba(0,8,10,.34);
}
.jbridge-head{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.jbridge-brand{display:inline-flex;align-items:baseline;color:var(--jbridge-ink)!important;text-decoration:none!important;font-size:16px;font-weight:850;letter-spacing:.08em;}
.jbridge-brand b{color:var(--jbridge-accent-dark);}
.jbridge-step{padding:6px 9px;border-radius:999px;background:#eafafb;color:#087f87;font-size:9px;font-weight:900;letter-spacing:.08em;}
.jbridge-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:22px 0;}
.jbridge-progress i{height:3px;border-radius:999px;background:#e5eeee;}
.jbridge-progress i.is-active{background:linear-gradient(90deg,var(--jbridge-accent),var(--jbridge-accent-dark));}
.jbridge-kicker{display:block;color:var(--jbridge-accent-dark);font-size:10px;font-weight:900;letter-spacing:.14em;}
.jbridge-shell h1{margin:8px 0 10px;color:var(--jbridge-ink);font-size:clamp(30px,7vw,46px);line-height:1.03;letter-spacing:-.045em;}
.jbridge-shell>p{margin:0;color:var(--jbridge-muted);font-size:13px;line-height:1.6;}
.jbridge-shell>p strong{color:#263538;}
.jbridge-notice{margin-top:18px;padding:13px 14px;border-radius:15px;font-size:12px;line-height:1.5;font-weight:700;}
.jbridge-notice.is-error{border:1px solid #f0caca;background:#fff4f4;color:#963838;}
.jbridge-login-form{display:grid;gap:9px;margin-top:22px;}
.jbridge-login-form>label{margin-top:5px;color:#344346;font-size:11px;font-weight:850;}
.jbridge-login-form>input[type=text],.jbridge-login-form>input[type=password]{
  width:100%;
  min-height:50px;
  border:1px solid var(--jbridge-line);
  border-radius:15px;
  background:#f8fbfb;
  color:var(--jbridge-ink);
  font:inherit;
  font-size:16px;
  padding:0 14px;
  outline:0;
}
.jbridge-login-form>input:focus{border-color:rgba(30,202,211,.8);background:#fff;box-shadow:0 0 0 4px rgba(30,202,211,.11);}
.jbridge-form-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:2px;}
.jbridge-form-row>a{color:#0a818a!important;text-decoration:none!important;font-size:11px;font-weight:850;}
.jbridge-remember{display:flex!important;align-items:center;gap:7px!important;margin:0!important;color:#5f6e71!important;font-size:11px!important;font-weight:750!important;}
.jbridge-remember input{width:16px;height:16px;accent-color:var(--jbridge-accent-dark);}
.jbridge-login-form>button,.jbridge-main-link{
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,var(--jbridge-accent),var(--jbridge-accent-dark));
  color:#fff!important;
  text-decoration:none!important;
  font:inherit;
  font-size:13px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(30,202,211,.24);
  cursor:pointer;
}
.jbridge-transfer-flow{display:flex;align-items:center;justify-content:center;gap:12px;margin:22px 0 4px;padding:13px;border:1px solid #e1eded;border-radius:16px;background:#f7fbfb;color:#172427;font-size:11px;font-weight:900;letter-spacing:.04em;}
.jbridge-transfer-flow i{color:var(--jbridge-accent-dark);font-size:18px;font-style:normal;}
.jbridge-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0;}
.jbridge-data-grid article{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #e3eeee;border-radius:17px;background:#f8fbfb;}
.jbridge-data-grid article.is-safe{background:#f1fbf5;border-color:#d2eadb;}
.jbridge-data-icon{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:10px;background:#e8fafa;color:#087e87;font-size:9px;font-weight:950;}
.jbridge-data-grid b{display:block;color:var(--jbridge-ink);font-size:12px;}
.jbridge-data-grid small{display:block;margin-top:4px;color:#758285;font-size:10px;line-height:1.45;}
.jbridge-consent-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:6px;}
.jbridge-confirm{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;padding:12px 13px;border:1px solid #dce9ea;border-radius:15px;background:#fff;color:#4d5d60;font-size:11px;line-height:1.45;}
.jbridge-confirm input{width:17px;height:17px;flex:0 0 17px;margin-top:1px;accent-color:var(--jbridge-accent-dark);}
.jbridge-consent-actions button{min-height:52px;border:0;border-radius:16px;font:inherit;font-size:13px;font-weight:900;cursor:pointer;}
.jbridge-approve{background:linear-gradient(135deg,var(--jbridge-accent),var(--jbridge-accent-dark));color:#fff;box-shadow:0 12px 28px rgba(30,202,211,.24);}
.jbridge-deny{padding:0 18px;background:#eef3f3;color:#566568;}
.jbridge-safe-note{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding-top:16px;border-top:1px solid #e6eeee;}
.jbridge-safe-note>span{width:24px;height:24px;display:grid;place-items:center;flex:0 0 24px;border-radius:50%;background:#e8fafa;color:#087e87;font-size:11px;font-weight:900;}
.jbridge-safe-note p{margin:2px 0 0;color:#849194;font-size:9px;line-height:1.45;}
.jbridge-page--error .jbridge-shell{width:min(500px,100%);}

.jbridge-profile-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:14px;align-items:center;margin:18px 0;padding:18px;border:1px solid #dcebed;border-radius:20px;background:linear-gradient(135deg,#f8ffff,#fff);box-shadow:0 12px 34px rgba(20,64,70,.07)}
.jbridge-profile-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,#1ecad3,#0d9da7);color:#fff}
.jbridge-profile-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.jbridge-profile-card span{display:block;color:#078d96;font-size:9px;font-weight:900;letter-spacing:.12em}
.jbridge-profile-card strong{display:block;margin-top:4px;color:#10191b;font-size:15px}
.jbridge-profile-card p{margin:5px 0 0;color:#6c7a7d;font-size:11px;line-height:1.45}
.jbridge-profile-card small{display:block;margin-top:6px;color:#879395;font-size:9px}
.jbridge-profile-card>a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border-radius:14px;background:#10191b;color:#fff!important;text-decoration:none;font-size:11px;font-weight:900;white-space:nowrap}

@media(max-width:640px){
  .jbridge-page{min-height:calc(100dvh - 70px);place-items:end center;padding:18px 12px calc(18px + env(safe-area-inset-bottom,0));}
  .jbridge-shell{padding:23px 18px 20px;border-radius:24px;}
  .jbridge-shell h1{font-size:32px;}
  .jbridge-data-grid{grid-template-columns:1fr;}
  .jbridge-consent-actions{grid-template-columns:1fr;}
  .jbridge-form-row{align-items:flex-start;flex-direction:column;gap:10px;}
  .jbridge-profile-card{grid-template-columns:50px minmax(0,1fr)}
  .jbridge-profile-icon{width:50px;height:50px}
  .jbridge-profile-card>a{grid-column:1/-1;width:100%}
}
@media(prefers-reduced-motion:reduce){.jbridge-orbit{display:none!important;}}
