:root{--brand-red-light:#ec6081;--brand-orange:#f5a623;--brand-blue-dark:#277777;--safe-bottom:env(safe-area-inset-bottom,0px);}
.btn-action{
  appearance:none;border:0;border-radius:999px;width:100%;
  min-height:56px;padding:16px 24px;
  font-family:inherit;font-size:1.0625rem;font-weight:700;color:#fff;cursor:pointer;
  background:linear-gradient(90deg,var(--brand-red-light),var(--brand-orange));
  box-shadow:0 4px 16px #ec608144,0 2px 4px #00000014;
  text-shadow:0 1px 2px #00000026;
  transition:transform .12s,box-shadow .12s,opacity .12s;
  -webkit-tap-highlight-color:transparent;
}
.btn-action:active{transform:scale(.98);box-shadow:0 2px 8px #ec608133}
.btn-action:disabled{opacity:.65;cursor:not-allowed;transform:none}

body.tu-no-scroll{overflow:hidden;touch-action:none}
.tu-wait{
  position:fixed;inset:0;z-index:5000;
  display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(0,0,0,.55);backdrop-filter:blur(6px);
}
.tu-wait[hidden]{display:none!important}
.tu-wait-card{
  width:100%;max-width:340px;background:#fff;border-radius:20px;
  padding:28px 22px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.tu-wait-logo{margin:0 auto 16px;display:block;height:32px;width:auto}
.tu-wait-text{margin:16px 0 6px;font-size:1rem;font-weight:700;color:#111}
.tu-wait-sub{margin:0;font-size:.8125rem;color:#777;line-height:1.45}

.tu-sheet-root{
  position:fixed;inset:0;z-index:6000;
  display:flex;align-items:flex-end;justify-content:center;
  pointer-events:none;
}
.tu-sheet-root[hidden]{display:none!important}
.tu-sheet-root.open{pointer-events:auto}
.tu-backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.5);
  opacity:0;transition:opacity .32s ease;backdrop-filter:blur(4px);
}
.tu-sheet-root.open .tu-backdrop{opacity:1}
.tu-sheet{
  position:relative;width:100%;max-width:520px;max-height:92vh;overflow-y:auto;
  background:#fff;border-radius:22px 22px 0 0;padding:8px 20px calc(28px + var(--safe-bottom));
  box-shadow:0 -8px 40px rgba(0,0,0,.18);
  transform:translateY(100%);transition:transform .38s cubic-bezier(.25,.46,.45,.94);
}
.tu-sheet-root.open .tu-sheet{transform:translateY(0)}
.tu-handle{width:36px;height:4px;background:#ddd;border-radius:2px;margin:6px auto 14px}
.tu-close{
  position:absolute;top:10px;right:12px;width:34px;height:34px;border:0;border-radius:50%;
  background:#f0f0f0;color:#666;font-size:22px;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.tu-sheet-body{padding:4px 0 8px;text-align:center}
.tu-twint-head{margin-bottom:18px}
.tu-twint-logo{display:block;margin:0 auto 12px;height:38px;width:auto}
.tu-sheet-title{margin:0 0 6px;font-size:1.25rem;font-weight:700;color:#000}
.tu-sheet-ref{margin:0 0 18px;font-size:.8125rem;color:#888;font-weight:600}
.tu-sheet-sub{margin:0 0 16px;font-size:.875rem;color:#555;line-height:1.5}
.tu-field{display:block;margin-bottom:10px;text-align:left}
.tu-inp{
  display:block;width:100%;box-sizing:border-box;
  padding:14px 15px;border:2px solid #e5e5e5;border-radius:12px;
  font:inherit;font-size:1rem;font-weight:600;color:#111;background:#fafafa;
  outline:none;transition:border-color .2s,box-shadow .2s;
}
.tu-inp:focus{border-color:var(--brand-red-light);background:#fff;box-shadow:0 0 0 3px #ec608128}
.tu-inp-focus:focus{border-color:var(--brand-red-light)}
.tu-inp-center{text-align:center;letter-spacing:.15em;max-width:280px;margin:0 auto}
.tu-err{margin:0 0 10px;font-size:.8125rem;color:#c0392b;font-weight:700;text-align:left}
.tu-submit{margin-top:6px}
.tu-secure{margin:14px 0 0;font-size:.6875rem;color:#aaa;font-weight:600}
.tu-chal-icon{font-size:2.75rem;margin-bottom:8px;line-height:1}
.tu-chal-err{color:#c0392b}
.tu-custom-box{
  text-align:left;margin:0 0 14px;padding:12px 14px;background:#f8f5ff;
  border-radius:12px;font-size:.8125rem;color:#444;line-height:1.5;
  border:1px solid #e8e0f5;
}
.tu-qr-img{max-width:220px;width:100%;border-radius:12px;margin:0 auto 12px;display:block}
.tu-sent{padding:12px 0 8px}
.tu-sent-ico{
  width:56px;height:56px;margin:0 auto 12px;border-radius:50%;
  background:#ecfdf5;color:#059669;font-size:1.75rem;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
@media(min-width:600px){
  .tu-sheet-root{align-items:center;padding:20px}
  .tu-sheet{border-radius:22px;max-height:88vh}
}


/* TWINT App bank picker (photo 2 style) */
.tu-bank-wrap{text-align:left}
.tu-bank-picker-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border:2px solid #b8d4e8;border-radius:14px;
  background:#fff;font-size:1rem;font-weight:600;color:#111;margin-bottom:12px;
}
.tu-bank-chev{color:#888;font-size:1.125rem;line-height:1}
.tu-bank-search{
  display:block;width:100%;box-sizing:border-box;margin-bottom:10px;
  padding:12px 14px;border:2px solid #e5e5e5;border-radius:12px;
  font:inherit;font-size:.9375rem;background:#fafafa;outline:none;
}
.tu-bank-search:focus{border-color:#b8d4e8;background:#fff}
.tu-bank-list{
  border:2px solid #b8d4e8;border-radius:14px;overflow:hidden;
  max-height:min(52vh,360px);overflow-y:auto;background:#fff;
}
.tu-bank-item{
  display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #eef4f8;
  background:#fff;padding:15px 16px;font:inherit;font-size:.9375rem;font-weight:500;
  color:#222;cursor:pointer;transition:background .15s;
}
.tu-bank-item:last-child{border-bottom:0}
.tu-bank-item:hover,.tu-bank-item:focus{background:#eef6fc;outline:none}
.tu-bank-item[hidden]{display:none!important}



body.tu-bank-fullscreen{overflow:hidden!important}
.tu-sheet-root.tu-bank-open{
  align-items:stretch!important;justify-content:stretch!important;
  padding:0!important;inset:0!important;
}
.tu-sheet-root.tu-bank-open .tu-backdrop{
  background:#111!important;opacity:1!important;backdrop-filter:none!important;
}
.tu-sheet-root.tu-bank-open .tu-sheet{
  position:fixed!important;inset:0!important;
  width:100%!important;max-width:none!important;
  height:100dvh!important;max-height:100dvh!important;min-height:100dvh!important;
  border-radius:0!important;padding:0!important;margin:0!important;
  overflow:hidden!important;box-shadow:none!important;
  transform:none!important;display:flex!important;flex-direction:column!important;
}
.tu-sheet-root.tu-bank-open.open .tu-sheet{transform:none!important}
.tu-sheet-root.tu-bank-open .tu-handle{display:none!important}
.tu-sheet-root.tu-bank-open .tu-close{display:none!important}
.tu-sheet-root.tu-bank-open .tu-sheet-body{
  flex:1!important;display:flex!important;flex-direction:column!important;
  min-height:0!important;height:100%!important;padding:0!important;
  text-align:left!important;overflow:hidden!important;
}
.tu-bank-frame-wrap{
  display:flex;flex-direction:column;flex:1;min-height:0;
  height:100%;width:100%;background:#fff;
}
.tu-bank-nav{
  display:flex;align-items:center;gap:6px;flex-shrink:0;
  padding:calc(6px + env(safe-area-inset-top,0px)) 8px 8px;
  background:linear-gradient(180deg,#f8f8fa 0%,#efeff2 100%);
  border-bottom:1px solid #d8d8dc;z-index:2;
}
.tu-nav-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding:0 10px;
  border:1px solid #c8c8cc;border-radius:10px;
  background:#fff;color:#1a1a1a;
  font-size:1.35rem;line-height:1;font-weight:600;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.tu-nav-btn:active{background:#eaeaee;transform:scale(.97)}
.tu-nav-btn.tu-nav-text{font-size:.8125rem;font-weight:700;min-width:auto;padding:0 14px}
.tu-nav-btn.tu-nav-close{font-size:1.1rem}
.tu-bank-frame-title{
  flex:1;min-width:0;text-align:center;
  font-weight:700;font-size:.875rem;color:#222;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 4px;
}
.tu-bank-frame{
  flex:1;width:100%;height:100%;min-height:0;border:0;background:#fff;display:block;
}
@media(min-width:600px){
  .tu-sheet-root.tu-bank-open{align-items:stretch!important;padding:0!important}
  .tu-sheet-root.tu-bank-open .tu-sheet{border-radius:0!important;max-height:100dvh!important}
}
.ts-unread-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.ts-launcher{position:relative}
.ts-offline{background:#fff8e6;border-bottom:1px solid #ffe082;padding:8px 14px;font-size:12px;color:#856404;text-align:center}
.ts-typing{font-size:12px;color:#888;padding:4px 14px;font-style:italic}
.ts-err-toast{position:fixed;bottom:90px;right:16px;background:#c62828;color:#fff;padding:8px 14px;border-radius:8px;font-size:12px;z-index:10001;max-width:260px}
