/* BV Danh thiếp điện tử */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#e9ecef;color:#1c2430;font:15px/1.5 "Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:inherit;text-decoration:none}
svg{width:22px;height:22px;flex:none}

.card{max-width:460px;margin:0 auto;min-height:100vh;background:#f7f8fa;padding-bottom:96px;position:relative}

/* Header band */
.top{
	height:150px;padding:16px 18px;display:flex;justify-content:space-between;align-items:flex-start;
	background:
		repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 2px,transparent 2px 14px),
		var(--bv);
	color:#fff;
}
.brand{background:#fff;padding:6px 10px;border-radius:6px;display:flex;align-items:center;min-height:40px}
.brand img{height:30px;width:auto;display:block}
.brand span{color:var(--bv);font-weight:700;font-size:15px}
.tag{font-size:11px;letter-spacing:.08em;text-transform:uppercase;opacity:.75;margin-top:10px}

/* Identity */
.who{text-align:center;padding:0 20px;margin-top:-62px}
.avatar{width:124px;height:124px;margin:0 auto;border-radius:50%;border:4px solid #fff;background:#dfe5ec;overflow:hidden;box-shadow:0 4px 14px rgba(13,30,50,.18);display:flex;align-items:center;justify-content:center}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar span{font-size:46px;font-weight:700;color:var(--bv)}
.who h1{font-size:24px;line-height:1.25;margin:14px 0 4px;font-weight:700;letter-spacing:-.01em;text-transform:uppercase}
.pos{margin:0;color:var(--ac);font-weight:600;font-size:14px}
.org{margin:6px 0 0;color:#5b6573;font-size:13px}

/* Quick actions */
.actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px;padding:20px 18px 0}
.actions a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px 10px;background:#fff;border:1px solid #e1e5ea;border-radius:10px;color:var(--bv);font-size:12px;font-weight:600;transition:border-color .15s,transform .15s}
.actions a:active{transform:scale(.97)}
.actions a:hover{border-color:var(--bv)}
.actions svg{width:26px;height:26px}
.actions span{color:#1c2430}

.save{display:flex;align-items:center;justify-content:center;gap:10px;margin:12px 18px 0;padding:14px;background:var(--ac);color:#fff;border-radius:10px;font-weight:600;font-size:15px;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.save:active{filter:brightness(.92)}

.intro{margin:16px 18px 0;padding:12px 14px;background:#fff;border-left:3px solid var(--bv);border-radius:0 8px 8px 0;color:#3a4452;font-size:14px}

/* Blocks */
.block{margin:20px 18px 0}
.block h2{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#6b7684;margin:0 0 8px;font-weight:600}
.rows{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #e1e5ea;border-radius:10px;overflow:hidden}
.rows li+li{border-top:1px solid #eef1f4}
.rows a,.rows div{display:flex;gap:12px;align-items:center;padding:12px 14px}
.rows a:active{background:#f1f4f7}
.rows i{width:38px;height:38px;border-radius:8px;background:color-mix(in srgb,var(--bv) 10%,#fff);color:var(--bv);display:flex;align-items:center;justify-content:center;flex:none}
.rows i svg{width:20px;height:20px}
.rows span{display:flex;flex-direction:column;min-width:0;font-weight:500;word-break:break-word}
.rows small{font-size:12px;color:#6b7684;font-weight:400}
.rows em{font-style:normal;color:var(--ac);font-size:12.5px;font-weight:600;margin-top:2px}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips a,.chips span{padding:8px 12px;background:#fff;border:1px solid #d7dde4;border-radius:999px;font-size:13px;font-weight:500;color:var(--bv)}
.chips a:hover{border-color:var(--bv)}

.legal{text-align:center;color:#5b6573;font-size:12.5px;padding-top:6px}
.legal p{margin:2px 0}
.legal strong{color:#1c2430}
.slogan{margin-top:8px!important;font-style:italic;color:var(--bv)}

/* Share bar */
.sharebar{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:100%;max-width:460px;display:flex;gap:8px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e1e5ea;box-shadow:0 -4px 14px rgba(13,30,50,.06)}
.sharebar button,.sharebar a{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d7dde4;background:#fff;border-radius:10px;height:46px;font:600 14px/1 inherit;color:#1c2430;cursor:pointer}
.share-native{flex:1.4;background:var(--bv)!important;border-color:var(--bv)!important;color:#fff!important}
.share-copy{flex:1}
.share-fb{width:46px;color:#1877f2!important}

.toast{position:fixed;left:50%;bottom:84px;transform:translate(-50%,10px);background:#1c2430;color:#fff;padding:9px 16px;border-radius:8px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.toast.on{opacity:1;transform:translate(-50%,0)}

button:focus-visible,a:focus-visible{outline:2px solid var(--ac);outline-offset:2px}

@media (min-width:500px){
	body{padding:24px 0}
	.card{min-height:auto;border-radius:14px;overflow:hidden;box-shadow:0 8px 30px rgba(13,30,50,.12)}
	.top{border-radius:14px 14px 0 0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
