/* =========================================================================
 * LINK BIO – trang công khai (.ob) · 15 giao diện (.ob-t-*) · trình soạn (.obe) · mini (.obm) · trang giới thiệu (.obl)
 * ====================================================================== */
.ob-body { margin: 0; min-height: 100vh; background: #eef0f4; }
.ob {
	--bg: #f4f5f8; --card: #fff; --fg: #17181c; --muted: #5d6270; --btn: #fff; --btn-fg: #17181c; --btn-bd: #e6e7ec;
	--btn-sh: 0 1px 2px rgba(17,20,30,.06); --r: 14px; --acc: #ec3237; --ic-bg: #fff0ee; --soc: #17181c; --soc-bg: #fff; --soc-bd: #e6e7ec;
	--cover: linear-gradient(120deg,#ec3237,#f48835 55%,#ffc37d);
	position: relative; min-height: 100%; box-sizing: border-box; padding: 0 0 28px; overflow: hidden;
	background: var(--bg); color: var(--fg); font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; text-align: left;
}
.ob *, .ob *::before, .ob *::after { box-sizing: border-box; }
.ob-deco { position: absolute; inset: 0; pointer-events: none; }
.ob-card { position: relative; z-index: 1; width: 100%; max-width: 460px; margin: 0 auto; padding: 0 18px 4px; }
.ob-cover { height: 150px; margin: 0 -18px; background: var(--cover); background-size: cover; background-position: center; }
.ob-head { display: flex; flex-direction: column; align-items: center; margin-top: -54px; text-align: center; }
.ob-av { width: 108px; height: 108px; border: 4px solid var(--card); border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 8px 22px -10px rgba(0,0,0,.35); }
.ob-av.is-ini { display: flex; align-items: center; justify-content: center; background: var(--av, var(--acc)); color: #fff; font-size: 42px; font-weight: 800; }
.ob-name { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: var(--fg); font-size: inherit; line-height: 1.2; overflow-wrap: anywhere; }
.ob-tick { flex: none; width: 22px; height: 22px; }
.ob-desc { max-width: 380px; margin: 8px auto 0; color: var(--muted); overflow-wrap: anywhere; }
.ob-socs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 4px; }
.ob-soc { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--soc-bd); border-radius: 50%; background: var(--soc-bg); color: var(--soc); text-decoration: none; transition: transform .2s; }
.ob-soc svg { width: 18px; height: 18px; }
.ob-soc:hover { transform: translateY(-2px); }
.ob-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.ob-link { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 14px 8px 8px; border: 1px solid var(--btn-bd); border-radius: var(--r); background: var(--btn); color: var(--btn-fg); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: var(--btn-sh); transition: transform .2s, box-shadow .2s; }
.ob-link__ic { flex: none; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: var(--ic-bg); color: var(--acc); }
.ob-link__t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ob-link__go { flex: none; opacity: .45; }
.ob-link:hover { transform: translateY(-2px); }
.ob-sec { margin: 26px 0 12px; color: var(--fg); font-size: 17px; font-weight: 800; text-align: center; }
.ob-pds { display: grid; gap: 12px; }
.ob-pds.is-grid2 { grid-template-columns: 1fr 1fr; }
.ob-pd { display: flex; gap: 12px; padding: 10px; border: 1px solid var(--btn-bd); border-radius: min(var(--r), 18px); background: var(--btn); color: var(--btn-fg); box-shadow: var(--btn-sh); }
.ob-pd__img { flex: none; width: 88px; height: 88px; overflow: hidden; border-radius: 10px; background: rgba(127,127,127,.15); }
.ob-pd__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ob-pd__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(127,127,127,.12), rgba(127,127,127,.28)); }
.ob-pd__tx { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; min-width: 0; }
.ob-pd__tx b { font-size: 15px; line-height: 1.35; }
.ob-pd__tx small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.ob-pd__tx em { color: var(--acc); font-style: normal; font-weight: 800; font-size: 15px; }
.ob-pd__btn { display: inline-flex; margin-top: 4px; padding: 5px 12px; border-radius: 999px; background: var(--fg); color: var(--card) !important; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.ob-pds.is-grid2 .ob-pd, .ob-pds.is-card .ob-pd { flex-direction: column; }
.ob-pds.is-grid2 .ob-pd__img, .ob-pds.is-card .ob-pd__img { width: 100%; height: auto; aspect-ratio: 1; }
.ob-pds.is-card .ob-pd__img { aspect-ratio: 16 / 10; }
.ob-foot { margin: 26px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.ob-foot a { display: inline-block; padding: 6px 2px; color: inherit; text-decoration: none; } /* vùng bấm cao ≥ 24px (A5-81) */
.ob-foot a:hover { text-decoration: underline; }
@media (min-width: 560px) {
	.ob-body .ob { padding: 40px 0; }
	.ob-body .ob-card { overflow: hidden; padding-bottom: 22px; border-radius: 28px; background: var(--card); box-shadow: 0 30px 70px -40px rgba(17,20,30,.5); }
}

/* ----- 15 giao diện ----- */
.ob-t-minimal { --bg: #f4f5f8; --card: #fff; --cover: linear-gradient(120deg,#ff9a9e,#fad0c4 40%,#a1c4fd); }
.ob-t-classic { --bg: #e9e9ec; --card: #fff; --btn: #17181c; --btn-fg: #fff; --btn-bd: #17181c; --r: 6px; --ic-bg: #2c2e35; --acc: #fff; --soc: #fff; --soc-bg: #17181c; --soc-bd: #17181c; --cover: #17181c; }
.ob-t-classic .ob-pd__tx em { color: #ec3237; }
.ob-t-modern { --bg: linear-gradient(160deg,#c3cfe2,#f5f7fa); --card: rgba(255,255,255,.55); --btn: rgba(255,255,255,.55); --btn-bd: rgba(255,255,255,.8); --btn-sh: 0 8px 24px -12px rgba(40,60,100,.35); --r: 18px; --ic-bg: rgba(79,112,229,.14); --acc: #4f70e5; --soc-bg: rgba(255,255,255,.65); --soc-bd: rgba(255,255,255,.9); --cover: linear-gradient(120deg,#7f9cf5,#c3cfe2); }
.ob-t-modern .ob-link, .ob-t-modern .ob-pd { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ob-t-gradient { --bg: linear-gradient(160deg,#ec3237 0%,#f48835 55%,#ffc37d 100%); --card: rgba(255,255,255,.12); --fg: #fff; --muted: rgba(255,255,255,.88); --btn: #fff; --btn-fg: #b3262b; --btn-bd: transparent; --r: 30px; --ic-bg: #ffe9e2; --acc: #ec3237; --soc: #fff; --soc-bg: rgba(255,255,255,.18); --soc-bd: rgba(255,255,255,.35); --cover: linear-gradient(120deg,#b3262b,#ec3237); }
.ob-t-gradient .ob-pd__btn { background: #b3262b; color: #fff !important; }
.ob-t-gradient .ob-pd__tx small { color: #8a5a52; }
.ob-t-card { --bg: #e8ecf4; --card: #fff; --btn: #f5f7fb; --btn-bd: transparent; --btn-sh: none; --r: 16px; --ic-bg: #e7efff; --acc: #2563eb; --cover: linear-gradient(120deg,#2563eb,#60a5fa); }
.ob-t-neon { --bg: #07080d; --card: #0f111a; --fg: #f4f4ff; --muted: #9ea3c0; --btn: #0f111a; --btn-fg: #f4f4ff; --btn-bd: #ff2bd6; --btn-sh: 0 0 14px rgba(255,43,214,.4), inset 0 0 10px rgba(255,43,214,.15); --r: 12px; --ic-bg: rgba(43,246,255,.12); --acc: #2bf6ff; --soc: #2bf6ff; --soc-bg: #13151f; --soc-bd: #2bf6ff; --cover: linear-gradient(120deg,#311b92,#ff2bd6); }
.ob-t-neon .ob-name { text-shadow: 0 0 14px rgba(43,246,255,.55); }
.ob-t-neon .ob-pd__btn { background: #2bf6ff; color: #07080d !important; }
.ob-t-elegant { --bg: #efe7da; --card: #faf6ef; --fg: #2b2118; --muted: #6f6253; --btn: transparent; --btn-fg: #2b2118; --btn-bd: #c8ae84; --btn-sh: none; --r: 2px; --ic-bg: transparent; --acc: #a07c45; --soc: #a07c45; --soc-bg: transparent; --soc-bd: #c8ae84; --cover: linear-gradient(120deg,#d9c4a0,#f2e6d1); }
.ob-t-elegant .ob-link { font-family: "Lora", Georgia, serif; letter-spacing: .03em; }
.ob-t-creative { --bg: #fff8e7; --card: #fffdf6; --btn: #fff; --btn-fg: #1b1b1b; --btn-bd: #1b1b1b; --btn-sh: 4px 4px 0 #1b1b1b; --r: 14px; --ic-bg: #ffd84d; --acc: #1b1b1b; --soc-bg: #ffd84d; --soc-bd: #1b1b1b; --cover: repeating-linear-gradient(45deg,#ffd84d 0 22px,#ff5a36 22px 44px); }
.ob-t-creative .ob-link { border-width: 2px; }
.ob-t-creative .ob-link:nth-child(3n+1) .ob-link__ic { background: #a5e8ff; }
.ob-t-creative .ob-link:nth-child(3n+2) .ob-link__ic { background: #ffb3c7; }
.ob-t-creative .ob-pd__tx em { color: #ff5a36; }
.ob-t-professional { --bg: #e7ecf5; --card: #fff; --fg: #0f2547; --muted: #4b5d7a; --btn: #0f2547; --btn-fg: #fff; --btn-bd: #0f2547; --r: 8px; --ic-bg: rgba(255,255,255,.14); --acc: #fff; --soc: #fff; --soc-bg: #1e3a6b; --soc-bd: #1e3a6b; --cover: linear-gradient(120deg,#0f2547,#1e64c8); }
.ob-t-professional .ob-pd { background: #f3f6fb; color: #0f2547; border-color: #dbe3f0; }
.ob-t-professional .ob-pd__tx em { color: #1e64c8; }
.ob-t-dark { --bg: #0c0d10; --card: #16171c; --fg: #ececf1; --muted: #a2a5b1; --btn: #1f2128; --btn-fg: #ececf1; --btn-bd: #2c2f39; --r: 14px; --ic-bg: rgba(255,122,89,.14); --acc: #ff7a59; --soc: #ececf1; --soc-bg: #1f2128; --soc-bd: #2c2f39; --cover: linear-gradient(120deg,#23252e,#3a2a33); }
.ob-t-dark .ob-pd__btn { background: #ff7a59; color: #16171c !important; }
.ob-t-pastel { --bg: linear-gradient(170deg,#e0f2fe,#fce7f3 60%,#ede9fe); --card: rgba(255,255,255,.7); --fg: #3b3355; --muted: #6b6488; --btn: rgba(255,255,255,.9); --btn-fg: #3b3355; --btn-bd: #fff; --r: 22px; --ic-bg: #ede9fe; --acc: #8b5cf6; --soc-bg: #fff; --soc-bd: #fff; --cover: linear-gradient(120deg,#c4b5fd,#fbcfe8); }
.ob-t-kawaii { --bg: #ffe9f2; --card: #fff7fb; --fg: #5a3550; --muted: #8b6580; --btn: #fff; --btn-fg: #d14d8a; --btn-bd: #ffc6dd; --btn-sh: 0 4px 0 #ffc6dd; --r: 999px; --ic-bg: #ffe3ef; --acc: #ff6fa8; --soc: #d14d8a; --soc-bg: #ffe3ef; --soc-bd: #ffc6dd; --cover: radial-gradient(circle at 20% 30%,#ffd6e7 0 18px,transparent 19px),radial-gradient(circle at 70% 60%,#ffe9a8 0 14px,transparent 15px),linear-gradient(120deg,#ffb3d1,#ffd6e7); }
.ob-t-kawaii .ob-link__ic { border-radius: 50%; }
.ob-t-kawaii .ob-deco { background: radial-gradient(circle,#ffd6e7 2px,transparent 3px) 0 0 / 26px 26px; opacity: .7; }
.ob-t-floral { --bg: #eef6ea; --card: #fbfdf9; --fg: #2f3d2a; --muted: #5d6e55; --btn: #fff; --btn-fg: #2f3d2a; --btn-bd: #cfe3c4; --r: 16px; --ic-bg: #fde4ec; --acc: #d9577b; --soc: #4f7a3f; --soc-bg: #e6f1df; --soc-bd: #cfe3c4; --cover: linear-gradient(120deg,#a8d5a2,#f4c6d3); }
.ob-t-floral .ob-deco { background:
	radial-gradient(circle at 8% 22%, rgba(217,87,123,.22) 0 26px, transparent 27px),
	radial-gradient(circle at 92% 48%, rgba(120,170,100,.22) 0 34px, transparent 35px),
	radial-gradient(circle at 12% 82%, rgba(244,198,211,.5) 0 30px, transparent 31px),
	radial-gradient(circle at 88% 90%, rgba(217,87,123,.18) 0 22px, transparent 23px); }
.ob-t-softpink { --bg: #fbe7ec; --card: #fff6f8; --fg: #6b2c41; --muted: #9a5f72; --btn: #f9d7e0; --btn-fg: #6b2c41; --btn-bd: #f9d7e0; --r: 16px; --ic-bg: #fff; --acc: #e0577f; --soc: #fff; --soc-bg: #e58fa9; --soc-bd: #e58fa9; --cover: linear-gradient(120deg,#f7b7c8,#fde2ea); }
.ob-t-butterfly { --bg: linear-gradient(170deg,#eef2ff,#fdf4ff); --card: rgba(255,255,255,.75); --fg: #312e81; --muted: #5b58a8; --btn: #fff; --btn-fg: #312e81; --btn-bd: #c7d2fe; --r: 20px; --ic-bg: #ede9fe; --acc: #a855f7; --soc: #6d28d9; --soc-bg: #ede9fe; --soc-bd: #ddd6fe; --cover: linear-gradient(120deg,#a5b4fc,#f0abfc); }
.ob-t-butterfly .ob-deco { background:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='%23a855f7' opacity='.25'%3E%3Cellipse cx='12' cy='10' rx='10' ry='8'/%3E%3Cellipse cx='28' cy='10' rx='10' ry='8'/%3E%3Cellipse cx='14' cy='22' rx='6' ry='6'/%3E%3Cellipse cx='26' cy='22' rx='6' ry='6'/%3E%3C/g%3E%3C/svg%3E") 6% 30% / 54px no-repeat,
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cg fill='%236366f1' opacity='.22'%3E%3Cellipse cx='12' cy='10' rx='10' ry='8'/%3E%3Cellipse cx='28' cy='10' rx='10' ry='8'/%3E%3Cellipse cx='14' cy='22' rx='6' ry='6'/%3E%3Cellipse cx='26' cy='22' rx='6' ry='6'/%3E%3C/g%3E%3C/svg%3E") 94% 64% / 40px no-repeat; }

/* ----- mini điện thoại: thu nhỏ trang thật ----- */
.obm { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.obm__in { position: absolute; top: 0; left: 0; width: 390px; height: 694px; transform: scale(var(--k, .38)); transform-origin: 0 0; pointer-events: none; }
.obm .ob { height: 100%; }

/* =========================================================================
 * TRÌNH SOẠN (bố cục kiraapp: trái soạn · phải xem trước nền tối)
 * ====================================================================== */
.obe-wrap { max-width: 1320px; margin: 0 auto; padding: 22px 20px 60px; }
.obe-wrap button { margin: 0; line-height: 1.2; height: auto; box-shadow: none; text-transform: none; letter-spacing: 0; }
.obe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 46%); align-items: stretch; overflow: hidden; border: 1px solid var(--oxo-border, #e6e7ec); border-radius: 22px; background: var(--oxo-surface, #fff); box-shadow: 0 24px 60px -44px rgba(17,20,30,.45); }
.obe-ed { min-width: 0; padding: 22px 24px 26px; }
.obe-hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.obe-hd__t { display: flex; align-items: center; gap: 12px; }
.obe-hd__ic { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: var(--oxo-primary-soft, #fff0ee); color: var(--oxo-red, #ec3237); }
.obe-hd h1 { margin: 0; font-size: 22px; line-height: 1.2; }
.obe-hd p { margin: 2px 0 0; color: var(--oxo-muted, #6f7480); font-size: 13.5px; }
/* A5-21: ghi chú công khai – đứng trước nút Lưu trong mã, hiện thành dòng riêng dưới tiêu đề */
.obe-hd p.obe-pub { order: 3; display: flex; flex: 1 0 100%; align-items: flex-start; gap: 7px; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--oxo-surface-2, #f5f6f8); color: var(--oxo-muted, #636873); font-size: 13px; line-height: 1.5; }
.obe-pub .obi { flex: none; margin-top: 2px; color: var(--oxo-red-t, #c8232a); }
.obe-hd__a { display: flex; gap: 8px; align-items: center; }
.obe-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.obe-stat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--oxo-surface-2, #f5f6f8); color: var(--oxo-muted, #6f7480); font-size: 13px; }
.obe-stat b { color: var(--oxo-text, #1b1d22); }
.obe-stat.is-warn { background: #fff0ee; color: #c42127; font-weight: 700; }
.obe-pick { display: block; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--oxo-surface-2, #f5f6f8); }
.obe-pick > span { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-weight: 700; font-size: 13.5px; }
.obe-tabs { display: flex; gap: 2px; margin: 0 0 18px; overflow-x: auto; border-bottom: 1px solid var(--oxo-border, #e6e7ec); scrollbar-width: none; }
.obe-tabs::-webkit-scrollbar { display: none; }
.obe-tabs button { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 6px; margin: 0 0 -1px !important; padding: 10px 12px !important; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--oxo-muted, #6f7480); font-weight: 700; font-size: 13.5px; white-space: nowrap; cursor: pointer; }
.obe-tabs button.is-on { border-bottom-color: var(--oxo-red, #ec3237); color: var(--oxo-red-t, #c8232a); }
.obe-pane { display: none; }
.obe-pane.is-on { display: block; }
.obe-h { margin: 0 0 12px; font-size: 16px; }
.obe-h.is-sm { margin: 20px 0 10px; font-size: 14.5px; }
.obe-h2 { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.obe-h2 .obe-h { margin-bottom: 2px; }
.obe-lead { margin: 0 0 12px; color: var(--oxo-muted, #6f7480); font-size: 13px; }
.obe-h2 .obe-lead { margin: 0; }
.obe-f { display: block; margin: 0 0 14px; }
.obe-f > span, .obe-f__l { display: block; margin-bottom: 6px; font-weight: 700; font-size: 13.5px; }
.obe-f em { color: var(--oxo-red-t, #c8232a); font-style: normal; }
.obe input[type=text], .obe textarea, .obe select { width: 100%; min-height: 42px; margin: 0; padding: 9px 12px; border: 1px solid var(--oxo-border-strong, #dcdce0); border-radius: 10px; background: var(--oxo-surface, #fff); color: var(--oxo-text, #1b1d22); font: inherit; font-size: 14.5px; box-shadow: none; }
.obe textarea { min-height: 76px; resize: vertical; }
.obe input:focus, .obe textarea:focus, .obe select:focus { border-color: var(--oxo-red, #ec3237); outline: 0; box-shadow: 0 0 0 3px rgba(236,50,55,.12); }
.obe-url { position: relative; display: flex !important; align-items: stretch; margin: 0 !important; border: 1px solid var(--oxo-border-strong, #dcdce0); border-radius: 10px; overflow: hidden; }
.obe-url i { display: flex; align-items: center; padding: 0 10px; background: var(--oxo-surface-2, #f5f6f8); color: var(--oxo-muted, #6f7480); font-style: normal; font-size: 13px; white-space: nowrap; }
.obe .obe-url input { border: 0; border-radius: 0; padding-right: 36px; }
.obe .obe-url input:focus { box-shadow: none; }
.obe-url__ok { position: absolute; right: 10px; top: 50%; display: inline-flex; transform: translateY(-50%); color: #12915f; }
.obe-url__ok[hidden] { display: none; }
.obe-hint { display: block; margin: 6px 0 0; color: var(--oxo-muted, #6f7480); font-size: 12.5px; }
.obe-hint.is-ok { color: #0f7a4f; } /* trước #12915f 4,01:1 – "Tài khoản đã xác minh", "Đường dẫn dùng được" */
.obe-hint.is-err { color: #c42127; }
.obe-imgs { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 14px; margin: 0 0 14px; }
.obe-img { display: flex; flex-direction: column; }
.obe-img__pv { position: relative; display: flex; align-items: center; justify-content: center; height: 112px; overflow: hidden; border: 1.5px dashed var(--oxo-border-strong, #d4d5db); border-radius: 14px; background: var(--oxo-surface-2, #f5f6f8) center / cover no-repeat; cursor: pointer; }
.obe-img__pv.is-round { width: 112px; border-radius: 50%; }
.obe-img__hint { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--oxo-text, #1b1d22); font-size: 12.5px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.obe-link { align-self: flex-start; margin-top: 6px !important; padding: 0 !important; border: 0; background: none; color: var(--oxo-muted, #6f7480); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.obe-style { margin: -2px 0 16px; padding: 14px; border: 1px solid #e3e9ff; border-radius: 14px; background: #f5f8ff; }
.obe-style__t { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; color: #3046a8; font-weight: 700; font-size: 13.5px; }
.obe-style__g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.obe-style__g label { display: flex; flex-direction: column; gap: 5px; margin: 0; color: var(--oxo-muted, #6f7480); font-size: 12.5px; font-weight: 600; }
.obe-style__g select, .obe-style__g input[type=text] { min-height: 38px !important; padding: 6px 10px !important; font-size: 13.5px !important; }
.obe-color { display: flex; gap: 6px; align-items: center; }
.obe-color input[type=color] { flex: none; width: 38px; height: 38px; padding: 2px; border: 1px solid var(--oxo-border-strong, #dcdce0); border-radius: 8px; background: #fff; cursor: pointer; }
.obe-color .obe-hex { flex: 1; min-width: 0; color: var(--oxo-muted, #6f7480) !important; }
.obe-color button { flex: none; width: 34px; height: 38px; padding: 0 !important; border: 1px solid var(--oxo-border-strong, #dcdce0); border-radius: 8px; background: #fff; color: var(--oxo-muted, #6f7480); font-size: 15px; cursor: pointer; }
.obe-style__s { display: flex; flex-direction: column; gap: 5px; color: var(--oxo-muted, #6f7480); font-size: 12.5px; font-weight: 600; }
.obe-segs { display: flex; overflow: hidden; border: 1px solid var(--oxo-border-strong, #dcdce0); border-radius: 8px; background: #fff; }
.obe-seg { flex: 1; min-width: 38px; height: 36px; padding: 0 8px !important; border: 0; border-right: 1px solid var(--oxo-border, #e6e7ec); border-radius: 0; background: #fff; color: var(--oxo-text, #1b1d22); font-size: 13.5px; cursor: pointer; }
.obe-seg:last-child { border-right: 0; }
.obe-seg.is-bold { font-weight: 800; }
.obe-seg.is-italic { font-style: italic; font-family: Georgia, serif; }
.obe-seg.is-on { background: var(--oxo-red, #ec3237); color: #fff; }
.obe-socs { display: grid; grid-template-columns: 1fr; gap: 10px; }
.obe-socs.is-2 { grid-template-columns: 1fr 1fr; }
.obe-soc { display: block; margin: 0; }
.obe-soc__l { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; font-weight: 700; font-size: 13px; }
.obe-soc__l svg { width: 15px; height: 15px; }
.obe-list { margin: 0 !important; padding: 0 !important; list-style: none; }
.obe-item { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px !important; padding: 12px; border: 1px solid var(--oxo-border, #e6e7ec); border-radius: 14px; background: var(--oxo-surface, #fff); list-style: none; }
.obe-item.is-drag { opacity: .45; }
.obe-item__f { flex: 1; display: grid; gap: 8px; min-width: 0; }
.obe-item__r { display: flex; gap: 8px; align-items: center; }
.obe-item__r input { flex: 1; }
.obe-item.is-prod { flex-direction: column; align-items: stretch; gap: 0; }
.obe-item__hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.obe-item__hd b { flex: 1; font-size: 14px; }
.obe-drag { flex: none; padding: 10px 2px; color: #9aa0ab; cursor: grab; user-select: none; letter-spacing: -2px; line-height: 1; }
.obe-x { display: inline-flex; flex: none; width: 34px; height: 34px; align-items: center; justify-content: center; padding: 0 !important; border: 0; border-radius: 9px; background: #fff0ee; color: #c42127; cursor: pointer; }
.obe-sw { position: relative; flex: none; width: 38px; height: 22px; margin: 0; }
.obe-sw input { position: absolute; opacity: 0; }
.obe-sw span { position: absolute; inset: 0; border-radius: 22px; background: #cfd1d7; cursor: pointer; transition: background .2s; }
.obe-sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.obe-sw input:checked + span { background: #12915f; }
.obe-sw input:checked + span::after { transform: translateX(16px); }
.obe-pimg { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; margin: 0 0 12px; overflow: hidden; border-radius: 12px; background: var(--oxo-surface-2, #f5f6f8) center / cover no-repeat; cursor: pointer; }
.obe-pimg span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 12.5px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.obe-pimg.is-empty { border: 1.5px dashed var(--oxo-border-strong, #d4d5db); }
.obe-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.obe-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.obe-tpl { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 10px !important; border: 2px solid var(--oxo-border, #e6e7ec); border-radius: 16px; background: var(--oxo-surface, #fff); color: var(--oxo-text, #1b1d22); text-align: center; cursor: pointer; transition: border-color .2s, transform .2s; }
.obe-tpl:hover { transform: translateY(-2px); }
.obe-tpl.is-on { border-color: var(--oxo-red, #ec3237); box-shadow: 0 0 0 3px rgba(236,50,55,.12); }
.obe-tpl b { margin-top: 6px; font-size: 13.5px; }
.obe-tpl small { color: var(--oxo-muted, #6f7480); font-size: 12px; line-height: 1.3; }
.obe-tpl .obm { --k: .4; border-radius: 12px; }
.obe-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; margin: 0 !important; padding: 9px 18px !important; border: 1.5px solid var(--oxo-red, #ec3237); border-radius: 10px; background: var(--oxo-red, #ec3237); color: #fff !important; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.obe-btn.is-line { background: transparent; color: var(--oxo-red-t, #c8232a) !important; }
.obe-btn.is-sm { min-height: 36px; padding: 6px 14px !important; font-size: 13.5px; }
.obe-btn[disabled] { opacity: .6; cursor: wait; }
.obe-msg { margin: 14px 0 0; font-weight: 600; font-size: 14px; }
.obe-msg.is-ok { color: #0f7a4f; }
.obe-msg.is-err { color: #c42127; }
.obe-pv { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 22px 26px; background: radial-gradient(120% 80% at 50% 0%, #1f2937 0%, #0b1220 70%); color: #e5e7eb; }
.obe-pv__bar { display: flex; align-items: center; justify-content: space-between; align-self: stretch; margin-bottom: 18px; }
.obe-pv__bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.obe-dev { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.08); }
.obe-dev button { display: inline-flex; width: 34px; height: 30px; align-items: center; justify-content: center; padding: 0 !important; border: 0; border-radius: 8px; background: transparent; color: #cbd5e1; cursor: pointer; }
.obe-dev button.is-on { background: var(--oxo-red, #ec3237); color: #fff; }
.obe-pv__x { display: none; }
.obe-phone { position: sticky; top: calc(var(--oxo-head-h, 80px) + 16px); width: 100%; max-width: 340px; padding: 10px; border-radius: 40px; background: #000; box-shadow: 0 0 0 2px #2a2f3a, 0 30px 70px -30px rgba(0,0,0,.8); transition: max-width .35s, border-radius .35s; }
.obe-phone__in { height: 640px; overflow-y: auto; border-radius: 30px; background: #fff; scrollbar-width: none; }
.obe-phone__in::-webkit-scrollbar { display: none; }
.obe-pv[data-device="desk"] .obe-phone { max-width: 100%; border-radius: 14px; padding: 26px 8px 8px; }
.obe-pv[data-device="desk"] .obe-phone::before { content: ""; position: absolute; top: 10px; left: 14px; width: 40px; height: 8px; background: radial-gradient(circle, #ff5f57 3.5px, transparent 4px) 0 0 / 14px 8px repeat-x; }
.obe-pv[data-device="desk"] .obe-phone__in { height: 600px; border-radius: 8px; }
.obe-pv[data-device="desk"] .ob { padding: 26px 0; }
.obe-pv[data-device="desk"] .ob-card { overflow: hidden; padding-bottom: 20px; border-radius: 24px; background: var(--card); box-shadow: 0 24px 60px -36px rgba(17,20,30,.5); }
.obe-phone .ob { min-height: 100%; }
.obe-pv.is-load .obe-phone__in { opacity: .75; }
.obe-pvbtn { display: none; }
.obe-note { max-width: 560px; margin: 30px auto; padding: 22px; border: 1px solid var(--oxo-border, #ececee); border-radius: 16px; text-align: center; }
.obe-note p { color: var(--oxo-muted, #6f7480); }
html[data-theme="dark"] .obe-style { background: rgba(48,70,168,.12); border-color: rgba(48,70,168,.3); }
html[data-theme="dark"] .obe-style__t { color: #9fb0ff; }
html[data-theme="dark"] .obe input[type=text], html[data-theme="dark"] .obe textarea, html[data-theme="dark"] .obe select { background: var(--oxo-surface-2, #14161b); }
@media (max-width: 1100px) {
	.obe { grid-template-columns: 1fr; border-radius: 18px; }
	.obe-pv { display: none; position: fixed; inset: 0; z-index: 9999; padding: 14px 12px 20px; overflow-y: auto; }
	.obe-pv.is-open { display: flex; }
	.obe-pv__x { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; padding: 0 !important; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; cursor: pointer; }
	.obe-phone { position: relative; top: 0; }
	.obe-phone__in { height: calc(100vh - 130px); }
	.obe-pvbtn { position: fixed; left: 16px; bottom: 86px; /* góc trái: góc phải có bong bóng chat của theme đè chữ "Xem trước" */ z-index: 50; display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px !important; border: 0; border-radius: 999px; background: #0b1220; color: #fff; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
}
@media (max-width: 549px) {
	.obe-wrap { padding: 12px 10px 90px; }
	.obe-ed { padding: 16px 14px 20px; }
	.obe-hd h1 { font-size: 19px; }
	.obe-imgs { grid-template-columns: minmax(0, 1fr) 96px; }
	.obe-img__pv.is-round { width: 96px; height: 96px; }
	.obe-style__g, .obe-socs.is-2, .obe-2 { grid-template-columns: 1fr; }
	.obe-tpls { grid-template-columns: 1fr 1fr; }
	.obe-tabs button span { display: none; }
	.obe-tabs button.is-on span { display: inline; }
	.obe-url i { font-size: 12px; padding: 0 6px; }
	/* 3 nút đầu trang (Xem demo · Xem bio · Lưu) chung 1 hàng riêng, chữ không bẻ dòng */
	.obe-hd__a { flex: 1 0 100%; }
	.obe-hd__a .obe-btn { flex: 1 1 auto; padding-left: 10px !important; padding-right: 10px !important; white-space: nowrap; }
	.obe-hd__lg { display: none; }
}

/* =========================================================================
 * TRANG GIỚI THIỆU
 * ====================================================================== */
.obl { overflow: hidden; }
.obl-in { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.obl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 56px 20px 40px; }
.obl-eye { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--oxo-primary-soft, #fff0ee); color: var(--oxo-red-t, #c8232a); font-weight: 700; font-size: 13px; }
.obl h1 { margin: 16px 0 14px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; }
.obl h1 em { background: linear-gradient(100deg, #ec3237, #f48835); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.obl-lead { max-width: 480px; margin: 0 0 24px; color: var(--oxo-body, #4a4f5a); font-size: 17px; line-height: 1.6; }
.obl-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.obl-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border: 1.5px solid var(--oxo-red, #ec3237); border-radius: 14px; background: var(--oxo-red, #ec3237); color: #fff !important; font-weight: 800; font-size: 15.5px; text-decoration: none; box-shadow: 0 12px 24px -12px rgba(236,50,55,.6); }
.obl-btn.is-line { background: var(--oxo-surface, #fff); color: var(--oxo-text, #1b1d22) !important; border-color: var(--oxo-border-strong, #dcdce0); box-shadow: none; }
.obl-url { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--oxo-surface-2, #f5f6f8); color: var(--oxo-muted, #6f7480); font-size: 13px; font-weight: 600; }
.obl-fan { position: relative; height: 520px; }
.obl-fan__p { position: absolute; top: 20px; width: 232px; padding: 7px; border-radius: 30px; background: #111; box-shadow: 0 30px 60px -30px rgba(17,20,30,.6); }
.obl-fan__p .obm { --k: .5641; border-radius: 24px; }
.obl-fan__p.is-c { left: 50%; z-index: 2; top: 0; margin-left: -116px; }
.obl-fan__p.is-l { left: 4%; transform: rotate(-9deg) translateY(34px); }
.obl-fan__p.is-r { right: 4%; transform: rotate(9deg) translateY(34px); }
.obl-h { margin: 6px 0 16px !important; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; text-align: center; }
.obl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 10px 0 18px !important; padding: 0 !important; list-style: none; }
.obl-steps li { display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; padding: 16px; border: 1px solid var(--oxo-border, #e6e7ec); border-radius: 16px; background: var(--oxo-surface, #fff); list-style: none; }
.obl-steps b { flex: none; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 10px; background: var(--oxo-red, #ec3237); color: #fff; font-weight: 800; }
.obl-steps strong { display: block; margin-bottom: 2px; font-size: 15px; }
.obl-steps span { color: var(--oxo-muted, #6f7480); font-size: 13.5px; line-height: 1.45; }
/* 6 tính năng: 3×2 (máy tính), 2×3 (≤ 960px) – trước xếp 5+1 mồ côi (A5-50) */
.obl-feats { display: grid; grid-template-columns: repeat(3, max-content); justify-content: center; gap: 10px; margin: 0 0 54px !important; padding: 0 !important; list-style: none; }
.obl-feats li { display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: 9px 14px 9px 9px; border-radius: 999px; background: var(--oxo-surface-2, #f5f6f8); font-weight: 600; font-size: 14px; list-style: none; white-space: nowrap; }
.obl-feats li > span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--oxo-surface, #fff); color: var(--oxo-red, #ec3237); }
.obl-themes { padding: 48px 0 52px; background: linear-gradient(180deg, var(--oxo-surface-2, #f5f6f8), transparent); }
.obl-themes h2, .obl-faq h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); text-align: center; }
.obl-themes p { margin: 0 0 24px; color: var(--oxo-muted, #6f7480); text-align: center; }
.obl-strip { display: flex; gap: 16px; justify-content: center; margin: 0 !important; padding: 0 20px 8px !important; overflow-x: auto; list-style: none; scrollbar-width: none; }
.obl-strip::-webkit-scrollbar { display: none; }
.obl-strip li { flex: none; width: 138px; margin: 0 !important; text-align: center; list-style: none; }
.obl-strip .obm { --k: .3538; box-shadow: 0 16px 32px -22px rgba(17,20,30,.5), inset 0 0 0 1px rgba(0,0,0,.06); }
.obl-strip small { display: block; margin-top: 8px; font-weight: 700; font-size: 13px; }
.obl-faq { max-width: 760px; padding-bottom: 64px; }
.obl-faq h2 { margin-bottom: 18px; }
.obl-faq details { margin: 0 0 10px; padding: 14px 18px; border: 1px solid var(--oxo-border, #e6e7ec); border-radius: 14px; background: var(--oxo-surface, #fff); }
.obl-faq summary { cursor: pointer; font-weight: 700; }
.obl-faq details p { margin: 8px 0 0; color: var(--oxo-body, #4a4f5a); }
.obl-cta.is-end { justify-content: center; margin-top: 26px; }
@media (max-width: 960px) {
	.obl-hero { grid-template-columns: 1fr; padding-top: 34px; text-align: center; }
	.obl-lead { margin-left: auto; margin-right: auto; }
	.obl-cta { justify-content: center; }
	.obl-fan { height: 430px; }
	.obl-fan__p { width: 190px; }
	.obl-fan__p .obm { --k: .4513; }
	.obl-fan__p.is-c { margin-left: -95px; }
	.obl-steps { grid-template-columns: 1fr; }
	.obl-strip { justify-content: flex-start; }
	.obl-feats { grid-template-columns: repeat(2, max-content); }
}
@media (max-width: 549px) {
	.obl-fan { height: 360px; }
	.obl-fan__p { width: 160px; padding: 5px; border-radius: 24px; }
	.obl-fan__p .obm { --k: .3846; border-radius: 19px; }
	.obl-fan__p.is-c { margin-left: -80px; }
	.obl-fan__p.is-l { left: -4%; }
	.obl-fan__p.is-r { right: -4%; }
	.obl-feats li { white-space: normal; }
}

.ob-t-classic { --av: #ec3237; }
.ob-t-professional { --av: #1e64c8; }
/* chữ cái đầu ở avatar (khi chưa có ảnh): ≥ 4,5:1 ở cả 15 giao diện. Nền giữ tông màu nhấn của giao diện, chỉ đậm hơn;
   Neon/Dark giữ nền sáng (cyan/cam) và đổi chữ sang gần đen (trước: trắng trên #2bf6ff 1,34 · #ff7a59 2,57 · #ff6fa8 2,60) */
.ob-av.is-ini { color: var(--av-fg, #fff); }
.ob-t-minimal, .ob-t-classic, .ob-t-gradient { --av: #d4252a; }
.ob-t-modern { --av: #3550c4; } .ob-t-elegant { --av: #8a6a3a; } .ob-t-pastel { --av: #7c4ee4; } .ob-t-kawaii { --av: #c0367a; }
.ob-t-floral { --av: #c0446a; } .ob-t-softpink { --av: #c13d66; } .ob-t-butterfly { --av: #9333ea; }
.ob-t-neon { --av: #2bf6ff; --av-fg: #07080d; } .ob-t-dark { --av: #ff7a59; --av-fg: #16171c; }
/* chữ giá sản phẩm (em): màu nhấn đậm hơn từng giao diện cho đủ tương phản AA trên nền thẻ (trước: #ff5a36 / #ec3237 / #1e64c8 … 2,6–4,1) */
.ob { --acc-t: #c8232a; }
.ob-t-classic { --acc-t: #ff8a8e; } .ob-t-modern { --acc-t: #3550c4; } .ob-t-gradient { --acc-t: #b3262b; } .ob-t-card { --acc-t: #1d4ed8; } .ob-t-neon { --acc-t: #2bf6ff; }
.ob-t-elegant { --acc-t: #7c5f33; } .ob-t-creative { --acc-t: #c2410c; } .ob-t-professional { --acc-t: #1e64c8; } .ob-t-dark { --acc-t: #ff8a6e; } .ob-t-pastel { --acc-t: #6d3fd6; }
.ob-t-kawaii { --acc-t: #c2185b; } .ob-t-floral { --acc-t: #b23a5e; } .ob-t-softpink { --acc-t: #9c2f4b; } .ob-t-butterfly { --acc-t: #7e22ce; }
.ob .ob-pd__tx em, .ob.ob-t-classic .ob-pd__tx em, .ob.ob-t-creative .ob-pd__tx em, .ob.ob-t-professional .ob-pd__tx em { color: var(--acc-t); }
/* Professional: nút link nền xanh đậm chữ trắng, nhưng thẻ sản phẩm nền sáng #f3f6fb → tên/mô tả sản phẩm chữ xanh đậm (trước: trắng trên nền sáng 1,08:1) */
.ob.ob-t-professional .ob-pd, .ob.ob-t-professional .ob-pd b { color: #0f2547; }
/* Kawaii: chữ hồng #d14d8a trên nền trắng 4,09:1 → hồng đậm hơn cho link + tên sản phẩm; chữ phụ #8b6580 trên nền #ffe9f2 (mobile) 4,23:1 → đậm hơn */
.ob-t-kawaii { --btn-fg: #c0367a; --muted: #7a5470; }
/* Softpink: chữ phụ #9a5f72 – mô tả sản phẩm trên #f9d7e0 3,72:1, mô tả/chân trang trên nền #fbe7ec (mobile) 4,17:1 */
.ob-t-softpink { --muted: #8a4f62; }
/* Modern: mô tả #5d6270 nằm thẳng trên nền gradient #c3cfe2 (mobile) 4,49:1 */
.ob-t-modern { --muted: #4b505d; }
/* Classic: mô tả sản phẩm xám #5d6270 trên thẻ đen #17181c 2,91:1 */
.ob.ob-t-classic .ob-pd__tx small { color: #b4b8c4; }
/* Gradient: chữ trắng trên nền cam/đào sáng (tiêu đề mục 2:1, chân trang 1,6:1) → dải màu đậm hơn, vẫn đỏ → cam; lớp kính thẻ nhạt hơn; chữ phụ trắng đặc.
   Mô tả sản phẩm (thẻ trắng) trước bị .ob .ob-pd__tx small đè thành trắng trên trắng 1:1 → giữ #8a5a52 như thiết kế gốc */
.ob-t-gradient { --bg: linear-gradient(160deg,#c62828 0%,#b8400e 55%,#9a3412 100%); --card: rgba(255,255,255,.08); --muted: #fff; }
.ob.ob-t-gradient .ob-pd__tx small { color: #8a5a52; }
.ob-name { text-wrap: balance; }
@media (max-width: 549px) { .obl-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .obl-feats li { font-size: 13px; padding: 8px 10px 8px 8px; border-radius: 14px; } }

/* chống theme Flatsome đè màu chữ (a, h1, h2) trong khung xem trước / mini – giao diện tối từng bị chìm chữ */
.ob h1.ob-name, .ob .ob-name { color: var(--fg); }
.ob p.ob-name { font-weight: 700; } /* bản mô phỏng (mini, xem trước) dùng <p> thay H1 – giữ nét chữ như trang thật */
.ob .ob-name > span:not([style*="color"]) { color: inherit; }
.ob h2.ob-sec, .ob .ob-sec { color: var(--fg); }
.ob p.ob-desc { color: var(--muted); }
.ob .ob-link, .ob a.ob-link:hover, .ob a.ob-link:visited { color: var(--btn-fg) !important; }
.ob .ob-soc, .ob a.ob-soc:hover { color: var(--soc) !important; }
.ob .ob-pd, .ob .ob-pd b { color: var(--btn-fg); }
.ob .ob-pd__tx small { color: var(--muted); }
.ob p.ob-foot, .ob p.ob-foot a, .ob p.ob-foot span { color: var(--muted) !important; }
.ob .ob-link__ic, .ob .ob-link__ic svg { color: var(--acc); }
/* ----- hình ảnh / video trên trang bio ----- */
.ob-phs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ob-phs.is-1 { grid-template-columns: 1fr; }
.ob-phs.is-2 { grid-template-columns: 1fr 1fr; }
.ob-ph { display: block; aspect-ratio: 1; overflow: hidden; border-radius: min(var(--r), 14px); background: rgba(127,127,127,.15); }
.ob-phs.is-1 .ob-ph { aspect-ratio: 4 / 3; }
.ob-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ob-ph:hover img { transform: scale(1.04); }
.ob-vds { display: grid; gap: 10px; }
.ob-vd { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: min(var(--r), 16px); background: #111 center / cover no-repeat; color: #fff !important; text-decoration: none; cursor: pointer; }
.ob-vd.is-tiktok { background: linear-gradient(135deg, #111 40%, #25f4ee 160%); aspect-ratio: 16 / 7; }
.ob-vd.is-facebook { background: linear-gradient(135deg, #1877f2, #0b4fb3); aspect-ratio: 16 / 7; }
.ob-vd.is-vimeo { background: linear-gradient(135deg, #1478a8, #0b5f7c); } /* chữ "Vimeo" trắng 13px: #1ab7ea→#0d6c8c chỉ 3,97–4,23:1 → ≥ 4,9:1 trên cả dải */
.ob-vd small { font-weight: 700; font-size: 13px; }
.ob-vd__play { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(236,50,55,.92); color: #fff; box-shadow: 0 10px 26px -8px rgba(0,0,0,.6); }
.ob-vd__f { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: min(var(--r), 16px); }
.ob-edit { position: fixed; right: 16px; bottom: 16px; z-index: 50; padding: 11px 18px; border-radius: 999px; background: #ec3237; color: #fff !important; font: 700 14px/1 "Be Vietnam Pro", system-ui, sans-serif; text-decoration: none; box-shadow: 0 12px 24px -10px rgba(236,50,55,.7); }

/* ----- trình soạn: thư viện ảnh, video, dòng xác minh ----- */
.obe-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 0 0 8px !important; padding: 0 !important; list-style: none; }
.obe-gal li { position: relative; aspect-ratio: 1; margin: 0 !important; border-radius: 12px; background: #f1f2f4 center / cover no-repeat; list-style: none; }
.obe-gal .obe-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; background: rgba(255,255,255,.92); }
.obe-h2.is-sep { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--oxo-border, #e6e7ec); }
.obe-ver { display: inline-flex !important; align-items: center; gap: 5px; font-weight: 700; }
.obe-ver .ob-tick { width: 16px; height: 16px; }
.obe-admin { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #fff6d6; color: #7a5600; font-size: 13.5px; }
.obe-btn.is-ghost { border-color: var(--oxo-border-strong, #dcdce0); color: var(--oxo-text, #1b1d22) !important; }
.obl-url a { display: inline-block; padding: 3px 0; color: var(--oxo-red-t, #c8232a); font-weight: 700; text-decoration: none; } /* vùng bấm ≥ 24px */
/* ===== A5-20 – chế độ tối của trình soạn: ô/nút nền trắng gán cứng (chữ trắng trên nền trắng) ===== */
.obe-img__hint, .obe-pimg span { background: #fff; color: #1b1d22; } /* viên thuốc nền trắng nằm trên ảnh – chữ tối cố định */
html[data-theme="dark"] .obe-segs, html[data-theme="dark"] .obe-seg, html[data-theme="dark"] .obe-color input[type=color], html[data-theme="dark"] .obe-color button { border-color: rgba(255,255,255,.16); background: var(--oxo-surface-2, #14161b); color: var(--oxo-text, #f3f4f6); }
html[data-theme="dark"] .obe-seg.is-on { background: var(--oxo-red, #ec3237); color: #fff; }
html[data-theme="dark"] .obe-stat.is-warn, html[data-theme="dark"] .obe-x { background: rgba(236,50,55,.16); color: #ff9a9d; }
html[data-theme="dark"] .obe-admin { background: rgba(245,179,1,.14); color: #f7d27a; }
html[data-theme="dark"] .obe-hint.is-ok, html[data-theme="dark"] .obe-msg.is-ok { color: #4ade80; } /* xanh lá đậm (#0f7a4f) chìm trên nền tối */
html[data-theme="dark"] .obe-hint.is-err, html[data-theme="dark"] .obe-msg.is-err { color: #ff9a9d; } /* đỏ #c42127 trên nền tối ~2,9:1 */
html[data-theme="dark"] .obe-gal li { background-color: var(--oxo-surface-2, #14161b); }
