.bhk-front{
  --bhk-bg:#f3f7fb;
  --bhk-text:#0f172a;
  --bhk-muted:#607086;
  --bhk-surface:#ffffff;
  --bhk-surface-2:#f8fbff;
  --bhk-border:#dde7f2;
  --bhk-shadow:0 18px 48px rgba(15,23,42,.08);
  --bhk-card-shadow:0 20px 45px rgba(12,32,69,.25);
  max-width:860px;
  margin:0 auto;
  padding:18px;
  font-family:inherit;
  color:var(--bhk-text);
}

.bhk-title-wrap{
  text-align:center;
  margin-bottom:18px;
}

.bhk-title-wrap h2{
  margin:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
  padding:14px 26px;
  border-radius:999px;
  font-size:clamp(24px,5vw,36px);
  font-weight:800;
  color:#fff;
  background:linear-gradient(135deg,#143c8c,#0ea5e9);
  box-shadow:0 14px 34px rgba(14,165,233,.25);
}

.bhk-card-list{
  display:grid;
  gap:18px;
}

.bhk-card{
  --bhk-card-color-1:#143c8c;
  --bhk-card-color-2:#0ea5e9;
  --bhk-card-color-1-rgba:rgba(20,60,140,.88);
  --bhk-card-color-2-rgba:rgba(14,165,233,.78);
  --bhk-card-bg-image:none;
  position:relative;
  padding:20px;
  border-radius:26px;
  overflow:hidden;
  cursor:pointer;
  color:#fff;
  isolation:isolate;
  outline:none;
  transition:transform .22s ease, box-shadow .22s ease;
  box-shadow:var(--bhk-card-shadow);
  background-color:var(--bhk-card-color-1);
  background-image:linear-gradient(135deg,var(--bhk-card-color-1-rgba) 0%,var(--bhk-card-color-2-rgba) 100%),var(--bhk-card-bg-image);
  background-size:cover;
  background-position:center;
}

.bhk-card:hover,
.bhk-card:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 24px 55px rgba(12,32,69,.32);
}

.bhk-card::before,
.bhk-card::after{
  content:"";
  position:absolute;
  border-radius:999px;
  opacity:.55;
  z-index:-1;
}

.bhk-card::before{
  width:240px;
  height:240px;
  right:-60px;
  top:-100px;
  background:radial-gradient(circle at center,rgba(255,255,255,.35) 0%,rgba(255,255,255,0) 72%);
}

.bhk-card::after{
  width:220px;
  height:220px;
  left:-70px;
  bottom:-120px;
  background:radial-gradient(circle at center,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 72%);
}

.bhk-card-glow{
  position:absolute;
  inset:0;
  background:linear-gradient(125deg,rgba(255,255,255,.16),rgba(255,255,255,0) 42%,rgba(0,0,0,.18) 100%);
  pointer-events:none;
}

.bhk-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  position:relative;
  z-index:1;
}

.bhk-card-brand,
.bhk-modal-card-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.bhk-logo-shell,
.bhk-modal-logo{
  width:56px;
  height:56px;
  border-radius:18px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  flex:0 0 auto;
}

.bhk-logo-shell img,
.bhk-modal-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  padding:8px;
}

.bhk-logo-shell span,
.bhk-modal-logo span{
  font-size:24px;
  font-weight:800;
  color:#fff;
}

.bhk-card-bank-meta,
.bhk-modal-card-brand > div:last-child{
  min-width:0;
}

.bhk-card-label{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:rgba(255,255,255,.76);
  margin-bottom:4px;
}

.bhk-card-bank-meta strong,
#bhk-modal-bank-name{
  display:block;
  font-size:20px;
  font-weight:800;
  line-height:1.2;
  color:#fff;
  word-break:break-word;
}

.bhk-card-currency,
.bhk-modal-currency{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  font-size:13px;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.bhk-card-number,
.bhk-modal-iban-preview{
  margin:30px 0 26px;
  font-size:clamp(20px,4.8vw,28px);
  font-weight:800;
  line-height:1.25;
  letter-spacing:.12em;
  word-break:break-word;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  text-shadow:0 3px 10px rgba(0,0,0,.15);
  position:relative;
  z-index:1;
}

.bhk-card-footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-end;
  position:relative;
  z-index:1;
}

.bhk-card-footer span{
  display:block;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
  margin-bottom:4px;
}

.bhk-card-footer strong,
.bhk-modal-owner-preview{
  display:block;
  font-size:16px;
  font-weight:800;
  color:#fff;
  word-break:break-word;
}

.bhk-card-open{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.bhk-empty{
  text-align:center;
  background:var(--bhk-surface);
  border:1px dashed var(--bhk-border);
  border-radius:18px;
  padding:24px;
  color:var(--bhk-muted);
  box-shadow:var(--bhk-shadow);
}

.bhk-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
}

.bhk-modal.is-open{
  display:block;
}

.bhk-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.62);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.bhk-modal-dialog{
  position:relative;
  z-index:1;
  max-width:560px;
  width:calc(100% - 24px);
  max-height:calc(100dvh - 24px);
  overflow:auto;
  margin:12px auto;
  background:var(--bhk-surface);
  border-radius:28px;
  box-shadow:0 28px 80px rgba(2,6,23,.28);
  color:var(--bhk-text);
}

.bhk-modal-toolbar{
  display:flex;
  justify-content:flex-end;
  padding:14px 14px 0;
  background:var(--bhk-surface);
}

.bhk-modal-close{
  position:static;
  width:40px;
  height:40px;
  border:1px solid var(--bhk-border);
  border-radius:50%;
  background:#fff;
  color:#000;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}

.bhk-modal-topcard{
  padding:12px 16px 16px;
  background:var(--bhk-surface);
}

.bhk-modal-card-shell{
  --bhk-modal-color-1:#143c8c;
  --bhk-modal-color-2:#0ea5e9;
  --bhk-modal-color-1-rgba:rgba(20,60,140,.88);
  --bhk-modal-color-2-rgba:rgba(14,165,233,.78);
  --bhk-modal-bg-image:none;
  border-radius:24px;
  padding:18px;
  position:relative;
  overflow:hidden;
  color:#fff;
  background-color:var(--bhk-modal-color-1);
  background-image:linear-gradient(135deg,var(--bhk-modal-color-1-rgba) 0%,var(--bhk-modal-color-2-rgba) 100%),var(--bhk-modal-bg-image);
  background-size:cover;
  background-position:center;
}

.bhk-modal-card-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(125deg,rgba(255,255,255,.16),rgba(255,255,255,0) 42%,rgba(0,0,0,.18) 100%);
  pointer-events:none;
}

.bhk-modal-card-shell::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-70px;
  top:-90px;
  border-radius:999px;
  background:radial-gradient(circle at center,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 72%);
}

.bhk-modal-card-brand,
.bhk-modal-currency,
.bhk-modal-iban-preview,
.bhk-modal-owner-preview{
  position:relative;
  z-index:1;
}

.bhk-modal-body{
  padding:0 18px 18px;
  background:var(--bhk-surface);
}

.bhk-modal-info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.bhk-modal-info-box{
  background:var(--bhk-surface-2);
  border:1px solid var(--bhk-border);
  border-radius:18px;
  padding:14px;
}

.bhk-modal-info-box span,
.bhk-modal-note-wrap span{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--bhk-muted);
  margin-bottom:6px;
}

.bhk-modal-info-box strong{
  display:block;
  color:var(--bhk-text);
  font-size:16px;
  line-height:1.45;
  word-break:break-word;
}

.bhk-modal-info-wide{
  grid-column:1 / -1;
}

.bhk-modal-iban{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}

.bhk-modal-note-wrap{
  margin-top:12px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:18px;
  padding:14px;
}

.bhk-modal-note-wrap p{
  margin:0;
  color:#7c2d12;
  line-height:1.5;
}

.bhk-modal-qr-section{
  display:grid;
  grid-template-columns:104px 1fr;
  gap:14px;
  align-items:center;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  border-radius:20px;
  padding:14px;
  margin-top:14px;
}

.bhk-modal-qr{
  width:104px;
  height:104px;
  background:#fff;
  border-radius:14px;
  padding:8px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.bhk-modal-qr canvas,
.bhk-modal-qr img{
  max-width:100%;
  max-height:100%;
}

.bhk-modal-qr-text strong{
  display:block;
  color:#1d4ed8;
  font-size:15px;
  margin-bottom:5px;
}

.bhk-modal-qr-text p{
  margin:0;
  color:#3b4c66;
  line-height:1.5;
}

.bhk-actions{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
}

.bhk-modal-actions{
  margin-top:16px;
}

.bhk-btn{
  border:0;
  text-decoration:none !important;
  text-align:center;
  border-radius:16px;
  padding:13px 12px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  line-height:1.2;
  transition:.2s ease;
  background:#e2e8f0;
  color:#0f172a;
}

.bhk-copy{background:#0f172a;color:#fff}
.bhk-whatsapp{background:#22c55e;color:#fff !important}
.bhk-share{background:#2563eb;color:#fff}

.bhk-btn:hover{
  transform:translateY(-1px);
  filter:brightness(.98);
}

.bhk-theme-dark{
  --bhk-bg:#020617;
  --bhk-text:#f8fafc;
  --bhk-muted:#cbd5e1;
  --bhk-surface:#0f172a;
  --bhk-surface-2:#111827;
  --bhk-border:#334155;
  --bhk-shadow:0 18px 48px rgba(0,0,0,.32);
}

.bhk-theme-dark .bhk-title-wrap h2{
  background:linear-gradient(135deg,#0f172a,#111827);
  box-shadow:0 14px 34px rgba(0,0,0,.3);
}

.bhk-theme-dark .bhk-modal-info-box strong{color:#f8fafc}
.bhk-theme-dark .bhk-empty,
.bhk-theme-dark .bhk-modal-body,
.bhk-theme-dark .bhk-modal-dialog,
.bhk-theme-dark .bhk-modal-topcard,
.bhk-theme-dark .bhk-modal-toolbar{background:var(--bhk-surface);color:var(--bhk-text)}
.bhk-theme-dark .bhk-modal-info-box{background:var(--bhk-surface-2);border-color:var(--bhk-border)}
.bhk-theme-dark .bhk-modal-note-wrap{background:#3f2300;border-color:#8a5800}
.bhk-theme-dark .bhk-modal-note-wrap p{color:#fed7aa}
.bhk-theme-dark .bhk-modal-qr-section{background:#0b2447;border-color:#2458a9}
.bhk-theme-dark .bhk-modal-qr-text p{color:#dbeafe}
.bhk-theme-dark .bhk-modal-qr-text strong{color:#93c5fd}
.bhk-theme-dark .bhk-modal-close{background:#fff;color:#000;border-color:#fff}

@media (max-width:640px){
  .bhk-front{padding:12px}
  .bhk-card{padding:18px;border-radius:22px}
  .bhk-card-number,
  .bhk-modal-iban-preview{font-size:18px;letter-spacing:.08em;margin:24px 0 20px}
  .bhk-modal-dialog{width:calc(100% - 14px);max-height:calc(100dvh - 14px);margin:7px auto;border-radius:24px}
  .bhk-modal-toolbar{padding:12px 12px 0}
  .bhk-modal-topcard{padding:10px 12px 12px}
  .bhk-modal-card-shell{padding:16px}
  .bhk-modal-body{padding:0 14px 14px}
  .bhk-modal-info-grid{grid-template-columns:1fr}
  .bhk-modal-qr-section{grid-template-columns:1fr;justify-items:center;text-align:center}
  .bhk-actions{grid-template-columns:1fr}
  .bhk-card-open{padding:8px 12px}
}
.bhk-password-screen{max-width:560px}
.bhk-password-card{background:var(--bhk-surface,#fff);border:1px solid var(--bhk-border,#dde7f2);border-radius:28px;padding:24px;box-shadow:0 20px 50px rgba(15,23,42,.10);text-align:center}
.bhk-password-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:24px;background:linear-gradient(135deg,#143c8c,#0ea5e9);display:flex;align-items:center;justify-content:center;font-size:34px;box-shadow:0 14px 34px rgba(14,165,233,.25)}
.bhk-password-card h3{margin:0 0 8px;font-size:24px;font-weight:800;color:var(--bhk-text,#0f172a)}
.bhk-password-card p{margin:0 0 18px;color:var(--bhk-muted,#607086);line-height:1.5}
.bhk-password-card label{text-align:left;display:block;margin:16px 0}
.bhk-password-card label span{display:block;font-weight:800;margin-bottom:8px;color:var(--bhk-text,#0f172a)}
.bhk-password-card input{width:100%;height:52px;border:1px solid var(--bhk-border,#dde7f2);border-radius:16px;padding:0 16px;font-size:18px;background:var(--bhk-surface-2,#f8fbff);color:var(--bhk-text,#0f172a);outline:none;box-sizing:border-box}
.bhk-password-card input:focus{border-color:#0ea5e9;box-shadow:0 0 0 4px rgba(14,165,233,.15)}
.bhk-password-card button{width:100%;height:52px;border:0;border-radius:16px;background:linear-gradient(135deg,#143c8c,#0ea5e9);color:#fff;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 14px 28px rgba(14,165,233,.22)}
.bhk-password-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:16px;padding:12px;margin:14px 0;font-weight:700}
.bhk-theme-dark .bhk-password-card{background:#0f172a;border-color:#334155}
.bhk-theme-dark .bhk-password-card h3,.bhk-theme-dark .bhk-password-card label span{color:#f8fafc}
.bhk-theme-dark .bhk-password-card input{background:#111827;border-color:#334155;color:#f8fafc}

.bhk-pattern-card{max-width:460px;margin:0 auto 18px;background:var(--bhk-surface,#fff);border:1px solid var(--bhk-border,#dde7f2);border-radius:28px;padding:24px;box-shadow:0 20px 50px rgba(15,23,42,.10);text-align:center}.bhk-pattern-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:24px;background:linear-gradient(135deg,#143c8c,#0ea5e9);display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:900;color:#fff;box-shadow:0 14px 34px rgba(14,165,233,.25)}.bhk-pattern-card h3{margin:0 0 8px;font-size:24px;font-weight:800;color:var(--bhk-text,#0f172a)}.bhk-pattern-card p{margin:0 0 18px;color:var(--bhk-muted,#607086);line-height:1.5}.bhk-pattern-grid{display:grid;grid-template-columns:repeat(3,72px);gap:16px;justify-content:center;margin:16px auto}.bhk-pattern-node{width:72px;height:72px;border-radius:50%;border:2px solid #cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc);cursor:pointer;position:relative;box-shadow:0 10px 24px rgba(15,23,42,.08)}.bhk-pattern-node:after{content:"";position:absolute;inset:22px;border-radius:50%;background:#94a3b8;transition:.18s ease}.bhk-pattern-node.is-active{border-color:#0ea5e9;background:linear-gradient(135deg,#143c8c,#0ea5e9);transform:scale(.96)}.bhk-pattern-node.is-active:after{background:#fff;inset:20px}.bhk-pattern-node.is-wrong{border-color:#ef4444;background:#fee2e2}.bhk-pattern-node.is-wrong:after{background:#ef4444}.bhk-pattern-status{min-height:22px;font-weight:800;color:#2563eb;margin:8px 0 12px}.bhk-pattern-reset{border:0;border-radius:999px;background:#e2e8f0;color:#0f172a;font-weight:800;padding:11px 18px;cursor:pointer}.bhk-pattern-unlocked .bhk-pattern-card{display:none}.bhk-theme-dark .bhk-pattern-card{background:#0f172a;border-color:#334155}.bhk-theme-dark .bhk-pattern-card h3{color:#f8fafc}.bhk-theme-dark .bhk-pattern-node{background:#111827;border-color:#334155}.bhk-theme-dark .bhk-pattern-reset{background:#334155;color:#f8fafc}@media(max-width:520px){.bhk-pattern-grid{grid-template-columns:repeat(3,64px);gap:14px}.bhk-pattern-node{width:64px;height:64px}.bhk-pattern-card{padding:20px}}
