:root{--tn-wine:#7b1231;--tn-wine-2:#5a0d24;--tn-soft:#fff7f9;--tn-border:#ead8df;--tn-text:#21151a;--tn-muted:#77646b;--tn-bg:#f7f3f4;--tn-card:#fff;--tn-radius:18px;--tn-radius-sm:12px}.tn-auth-wrap,.tn-dashboard,.tn-register-app{font-family:inherit;color:var(--tn-text);box-sizing:border-box}.tn-auth-wrap{min-height:76vh;display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center;background:linear-gradient(135deg,#fff,var(--tn-soft));border-radius:0;padding:28px;margin:0}.tn-auth-brand{padding:24px}.tn-logo{width:58px;height:58px;border-radius:16px;background:var(--tn-wine);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:900;overflow:hidden}.tn-logo.img{background:#fff;border:1px solid var(--tn-border)}.tn-logo img{width:100%;height:100%;object-fit:contain}.tn-logo.small{width:34px;height:34px;border-radius:10px;font-size:13px}.tn-auth-brand h1{font-size:44px;line-height:1.05;margin:20px 0 12px}.tn-auth-brand p{font-size:17px;color:var(--tn-muted);max-width:520px}.tn-auth-card,.tn-card,.tn-hero-card{background:var(--tn-card);border:1px solid var(--tn-border);border-radius:var(--tn-radius);box-shadow:0 18px 55px rgba(55,26,38,.08)}.tn-auth-card{padding:24px}.tn-auth-card h2,.tn-card h2{margin:0 0 18px;font-size:24px}.tn-auth-card label,.tn-card label{display:block;font-weight:700;font-size:13px;margin:13px 0 7px}.tn-auth-card input,.tn-auth-card select,.tn-card input,.tn-card select{width:100%;box-sizing:border-box;border:1px solid var(--tn-border);background:#fff;border-radius:var(--tn-radius-sm);padding:13px 14px;font-size:15px;outline:none;color:var(--tn-text);height:auto;min-height:46px}.tn-auth-card input:focus,.tn-auth-card select:focus,.tn-card input:focus{border-color:var(--tn-wine);box-shadow:0 0 0 4px rgba(123,18,49,.1)}.tn-check{display:flex!important;gap:9px;align-items:flex-start;font-weight:500!important;line-height:1.45}.tn-check input{width:auto!important;min-height:0;margin-top:3px}.tn-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:var(--tn-wine);color:#fff!important;text-decoration:none!important;padding:12px 18px;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(123,18,49,.2);min-height:44px}.tn-btn:hover{background:var(--tn-wine-2);color:#fff}.tn-btn-full{width:100%;margin-top:15px}.tn-muted,.tn-hint{color:var(--tn-muted);font-size:14px}.tn-muted a{color:var(--tn-wine);font-weight:800}.tn-alert{padding:12px 14px;border-radius:var(--tn-radius-sm);margin-bottom:14px;font-weight:700}.tn-alert-success{background:#edf8f0;color:#17622a;border:1px solid #cfead6}.tn-alert-error{background:#fff0f2;color:#9b1639;border:1px solid #f0c6d0}.tn-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:72vh;background:var(--tn-bg);border-radius:0;overflow:hidden;border:1px solid var(--tn-border);margin:0}.tn-dashboard.tn-single{display:block}.tn-sidebar{background:#fff;padding:18px;border-right:1px solid var(--tn-border)}.tn-logo-line{display:flex;align-items:center;gap:10px;margin-bottom:24px}.tn-sidebar a{display:block;text-decoration:none;color:var(--tn-text);padding:12px 13px;border-radius:var(--tn-radius-sm);font-weight:700;margin-bottom:6px}.tn-sidebar a.active,.tn-sidebar a:hover{background:var(--tn-soft);color:var(--tn-wine)}.tn-main{padding:22px;min-width:0}.tn-hero-card{padding:24px;margin-bottom:18px;background:radial-gradient(circle at top right,#ffe2eb,#fff 45%)}.tn-hero-card h1{margin:10px 0 8px;font-size:32px}.tn-hero-card p{color:var(--tn-muted);max-width:760px}.tn-pill{display:inline-flex;background:var(--tn-wine);color:#fff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.tn-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tn-card{padding:20px}.tn-role-box{border:1px dashed var(--tn-border);border-radius:var(--tn-radius-sm);padding:14px;background:var(--tn-soft);margin-bottom:14px}.tn-list{padding-left:19px;color:var(--tn-muted)}.tn-list li{margin:8px 0}.tn-pending{margin-top:14px;padding:13px 14px;border-radius:var(--tn-radius-sm);border:1px solid #f0c56e;background:#fff8e4;color:#7a5200;font-weight:800}.tn-register-app{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px;background:linear-gradient(135deg,#fff,#fff7f9);border:1px solid var(--tn-border);border-radius:0;padding:18px;margin:0}.tn-step-panel{position:relative;background:radial-gradient(circle at top right,#ffe0ea,#fff 42%);border:1px solid var(--tn-border);border-radius:var(--tn-radius);padding:24px;min-height:560px;display:flex;flex-direction:column;justify-content:center}.tn-panel-logo{position:absolute;top:18px;left:18px}.tn-step-panel h1{font-size:40px;line-height:1.05;margin:18px 0 10px}.tn-step-panel p{color:var(--tn-muted);font-size:16px}.tn-step-list{display:grid;gap:10px;margin-top:22px}.tn-step-list span{padding:11px 13px;border-radius:var(--tn-radius-sm);background:#fff;border:1px solid var(--tn-border);color:var(--tn-muted);font-weight:800}.tn-step-list span.active{background:var(--tn-wine);border-color:var(--tn-wine);color:#fff}.tn-step-card{background:#fff;border:1px solid var(--tn-border);border-radius:var(--tn-radius);padding:24px;box-shadow:0 18px 55px rgba(55,26,38,.08)}.tn-step{display:none}.tn-step.active{display:block}.tn-step h2{font-size:28px;margin:0 0 18px}.tn-role-grid,.tn-plan-grid{display:grid;grid-template-columns:1fr;gap:12px}.tn-role-choice,.tn-plan{display:block!important;border:1px solid var(--tn-border);border-radius:var(--tn-radius-sm);padding:16px!important;margin:0!important;cursor:pointer;background:#fff}.tn-role-choice:has(input:checked),.tn-plan:has(input:checked){border-color:var(--tn-wine);background:var(--tn-soft);box-shadow:0 0 0 4px rgba(123,18,49,.08)}.tn-role-choice input,.tn-plan input{width:auto!important;margin-right:8px;min-height:0}.tn-role-choice strong,.tn-plan strong{display:inline-block;font-size:17px}.tn-plan b{display:block;font-size:20px;color:var(--tn-wine);margin:8px 0}.tn-role-choice small,.tn-plan small{display:block;color:var(--tn-muted);margin-top:7px;line-height:1.45}.tn-step-card label{display:block;font-weight:800;font-size:13px;margin:13px 0 7px}.tn-step-card input,.tn-step-card select{width:100%;box-sizing:border-box;border:1px solid var(--tn-border);background:#fff;border-radius:var(--tn-radius-sm);padding:13px 14px;font-size:15px;outline:none;color:var(--tn-text);height:auto;min-height:46px;line-height:1.3}.tn-step-card select option{color:var(--tn-text);background:#fff}.tn-step-card input:focus,.tn-step-card select:focus{border-color:var(--tn-wine);box-shadow:0 0 0 4px rgba(123,18,49,.1)}.tn-duration-box{margin-top:14px;padding:14px;border:1px solid var(--tn-border);border-radius:var(--tn-radius-sm);background:#fff}.tn-price-total{margin-top:10px;padding:12px 14px;border-radius:var(--tn-radius-sm);background:var(--tn-soft);font-weight:900;color:var(--tn-wine)}.tn-step-actions{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.tn-btn-ghost{background:#fff!important;color:var(--tn-wine)!important;border:1px solid var(--tn-border)!important;box-shadow:none!important}.tn-qr-box{display:none;margin-top:14px;padding:14px;border:1px dashed var(--tn-border);border-radius:var(--tn-radius-sm);background:#fff}.tn-qr-box.show{display:block}.tn-qr-box img{max-width:220px;width:100%;height:auto;display:block;border-radius:var(--tn-radius-sm);border:1px solid var(--tn-border)}.tn-confirm-box{background:var(--tn-soft);border:1px solid var(--tn-border);border-radius:var(--tn-radius-sm);padding:16px}.tn-confirm-box strong{font-size:18px;color:var(--tn-wine)}@media(max-width:850px){.tn-auth-wrap,.tn-dashboard,.tn-register-app{grid-template-columns:1fr;border-radius:0}.tn-auth-wrap{padding:14px}.tn-auth-brand{padding:12px}.tn-auth-brand h1{font-size:34px}.tn-sidebar{border-right:0;border-bottom:1px solid var(--tn-border)}.tn-grid{grid-template-columns:1fr}.tn-main{padding:14px}.tn-register-app{padding:12px}.tn-step-panel{min-height:auto;padding:76px 18px 18px}.tn-step-panel h1{font-size:32px}.tn-step-card{padding:18px}.tn-step h2{font-size:24px}}.tn-success-text{color:#137333!important;font-weight:800}.tn-error-text{color:#b3261e!important;font-weight:800}
/* v1.0.7 refinements */
.tn-logo-link{display:inline-flex;align-items:center;text-decoration:none!important;color:inherit!important}
.tn-auth-top{display:flex;align-items:center;justify-content:flex-start;margin-bottom:12px}
.tn-panel-actions{position:absolute;top:18px;right:18px}
.tn-mini-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:var(--tn-wine)!important;background:#fff;border:1px solid var(--tn-border);border-radius:999px;padding:9px 13px;font-weight:800;font-size:13px}
.tn-mini-link:hover{background:var(--tn-soft)}
.tn-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.tn-modal.show{display:flex}
.tn-modal-backdrop{position:absolute;inset:0;background:rgba(20,8,14,.48);backdrop-filter:blur(3px)}
.tn-modal-box{position:relative;z-index:1;width:min(760px,100%);max-height:min(88vh,860px);overflow:auto;background:#fff;border:1px solid var(--tn-border);border-radius:var(--tn-radius);box-shadow:0 28px 90px rgba(20,8,14,.28);padding:24px;box-sizing:border-box}
.tn-modal-box h2{margin:0 42px 8px 0;font-size:28px;line-height:1.15}
.tn-modal-close{position:absolute;top:16px;right:16px;width:38px;height:38px;border:1px solid var(--tn-border);background:#fff;color:var(--tn-text);border-radius:999px;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}
.tn-modal-close:hover{background:var(--tn-soft);color:var(--tn-wine)}
.tn-modal-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:18px;flex-wrap:wrap}
body.tn-modal-open{overflow:hidden}
.tn-modal .tn-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tn-modal .tn-qr-box img{margin-top:8px}
@media(max-width:850px){.tn-panel-actions{position:static;margin:0 0 16px 44px}.tn-modal{padding:10px;align-items:flex-end}.tn-modal-box{max-height:92vh;border-radius:18px 18px 0 0;padding:18px}.tn-modal .tn-plan-grid{grid-template-columns:1fr}.tn-modal-actions{justify-content:stretch}.tn-modal-actions .tn-btn{width:100%}}

/* v1.6.3 Home page */
.tn-home-wrap{max-width:1280px;margin:0 auto;padding:18px}.tn-home-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#fff4f7);border:1px solid #eadde2;border-radius:24px;padding:28px;margin-bottom:18px;box-shadow:0 18px 45px rgba(72,31,48,.06)}.tn-home-hero h1{margin:8px 0;font-size:34px;color:#3f3f46}.tn-home-hero p{margin:0;color:#7b6470}.tn-home-actions{display:flex;gap:10px;flex-wrap:wrap}.tn-home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.tn-home-card{display:block;text-decoration:none;color:inherit;border:1px solid #eadde2;border-radius:18px;background:#fff;padding:12px;transition:.18s;overflow:hidden}.tn-home-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(72,31,48,.08)}.tn-home-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:#f5eef2}.tn-home-event img{aspect-ratio:3/4}.tn-home-card strong{display:block;margin-top:10px;color:#3f3f46}.tn-home-card span{display:block;margin-top:4px;color:#7b6470;font-size:13px}@media(max-width:760px){.tn-home-hero{display:block;padding:20px}.tn-home-hero h1{font-size:26px}.tn-home-actions{margin-top:14px}.tn-home-wrap{padding:10px}}

/* TimNhao v1.7.0 Home Dashboard Core */
.tn-home-dashboard{display:flex;flex-direction:column;gap:18px;font-family:inherit;color:inherit}.tn-home-search{background:linear-gradient(180deg,#fff,#fafafa);padding:22px}.tn-home-search h1{margin:8px 0 14px;font-size:28px;line-height:1.2}.tn-home-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.tn-home-filter select,.tn-home-filter button{min-height:42px}.tn-home-results{margin-top:14px}.tn-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tn-home-card{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #eee;border-radius:14px;background:#fff;text-decoration:none;color:inherit;min-width:0}.tn-home-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:#f2f2f2}.tn-home-card strong{font-size:15px}.tn-home-card span,.tn-home-card small{color:#666}.tn-home-list{display:flex;flex-direction:column;border:1px solid #eee;border-radius:14px;overflow:hidden;background:#fff}.tn-home-row{display:grid;grid-template-columns:56px minmax(0,1fr) 110px 80px;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #eee;color:inherit;text-decoration:none}.tn-home-row:last-child{border-bottom:0}.tn-home-thumb img{width:52px;height:52px;object-fit:cover;border-radius:10px;background:#f2f2f2}.tn-home-row-main{display:flex;flex-direction:column;min-width:0}.tn-home-row-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tn-home-row-main small{color:#777}.tn-home-bank-grid .tn-home-card{justify-content:space-between}.tn-btn-small{padding:8px 10px;font-size:13px;text-align:center}.tn-home-rank{display:flex;flex-direction:column;border:1px solid #eee;border-radius:14px;overflow:hidden}.tn-rank-row{display:grid;grid-template-columns:44px 42px minmax(0,1fr) 90px;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid #eee}.tn-rank-row:last-child{border-bottom:0}.tn-rank-row img{border-radius:999px}.tn-rank-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tn-toast{position:fixed;right:16px;bottom:16px;z-index:99999;padding:12px 14px;border-radius:12px;background:#222;color:#fff;opacity:0;transform:translateY(10px);transition:.2s}.tn-toast.show{opacity:1;transform:translateY(0)}.tn-toast.error{background:#b42318}@media(max-width:900px){.tn-home-filter{grid-template-columns:1fr 1fr}.tn-home-grid{grid-template-columns:1fr 1fr}.tn-home-row{grid-template-columns:48px minmax(0,1fr);}.tn-home-row>span:nth-child(3),.tn-home-row>span:nth-child(4){font-size:13px;color:#666;grid-column:auto}.tn-home-search h1{font-size:22px}}@media(max-width:560px){.tn-home-filter,.tn-home-grid{grid-template-columns:1fr}.tn-home-row{grid-template-columns:44px minmax(0,1fr);gap:8px}.tn-home-row>span:nth-child(3),.tn-home-row>span:nth-child(4){grid-column:2}.tn-rank-row{grid-template-columns:34px 38px minmax(0,1fr);}.tn-rank-row strong{grid-column:3;color:#7a1b1b}}

/* TimNhao v1.7.1 Dashboard Home Standard */
.tn-home-dashboard-v2{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start;font-family:inherit;color:var(--tn-text)}
.tn-home-main{display:flex;flex-direction:column;gap:18px;min-width:0}.tn-home-rank-side{position:sticky;top:16px}.tn-home-rank-side h2,.tn-home-user h2{margin:0 0 14px}.tn-rank-mini{display:grid;grid-template-columns:34px 38px minmax(0,1fr);gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--tn-border)}.tn-rank-mini:last-child{border-bottom:0}.tn-rank-mini img{border-radius:50%}.tn-rank-mini span{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tn-rank-mini b{grid-column:3;color:var(--tn-wine);font-size:13px}.tn-home-user-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.tn-home-user-grid div{border:1px solid var(--tn-border);border-radius:14px;padding:12px;background:#fff}.tn-home-user-grid span{display:block;color:var(--tn-muted);font-size:12px}.tn-home-user-grid b{display:block;margin-top:5px;color:var(--tn-text);font-size:18px}.tn-home-search .tn-home-filter{grid-template-columns:1.4fr repeat(3,1fr) auto}.tn-home-search input,.tn-home-search select{width:100%;min-height:44px;border:1px solid var(--tn-border);border-radius:14px;padding:10px 12px;background:#fff;color:var(--tn-text);box-sizing:border-box}.tn-home-grid-compact{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.tn-home-card-compact{display:flex;flex-direction:column;gap:8px;border:1px solid var(--tn-border);border-radius:16px;background:#fff;padding:12px;text-decoration:none!important;color:inherit!important;min-width:0}.tn-home-card-compact img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#f2edf0}.tn-home-card-compact strong{color:var(--tn-text)}.tn-home-card-compact span{color:var(--tn-muted);font-size:13px;line-height:1.45}.tn-home-product-list{border:1px solid var(--tn-border);border-radius:16px;overflow:hidden;background:#fff}.tn-home-product-row{display:grid;grid-template-columns:110px minmax(0,1fr) 110px 80px;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--tn-border);text-decoration:none!important;color:inherit!important}.tn-home-product-row:last-child{border-bottom:0}.tn-home-code{font-weight:900;color:var(--tn-wine);background:var(--tn-soft);border:1px solid var(--tn-border);border-radius:999px;padding:5px 8px;text-align:center}.tn-home-title{font-weight:800;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tn-home-title small{display:block;font-weight:500;color:var(--tn-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.tn-btn-small{min-height:36px;padding:8px 12px;font-size:13px}.tn-home-dashboard-v2 .tn-card{box-sizing:border-box}
@media(max-width:980px){.tn-home-dashboard-v2{grid-template-columns:1fr}.tn-home-rank-side{position:relative;top:auto;order:2}.tn-home-user-grid{grid-template-columns:1fr 1fr}.tn-home-search .tn-home-filter{grid-template-columns:1fr 1fr}.tn-home-search .tn-home-filter .tn-btn{grid-column:1/-1}.tn-home-product-row{grid-template-columns:90px minmax(0,1fr);}.tn-home-product-row>span:nth-child(3),.tn-home-product-row>span:nth-child(4){grid-column:2;color:var(--tn-muted);font-size:13px}.tn-home-code{font-size:13px}}
@media(max-width:560px){.tn-home-user-grid,.tn-home-search .tn-home-filter,.tn-home-grid-compact{grid-template-columns:1fr}.tn-home-product-row{grid-template-columns:1fr}.tn-home-product-row>span:nth-child(3),.tn-home-product-row>span:nth-child(4){grid-column:auto}.tn-home-code{text-align:left;width:max-content}}

/* TimNhao v1.7.2 Home Dashboard refined */
.tn-home-dashboard-v3{display:flex;flex-direction:column;gap:18px;width:100%;font-family:inherit;color:var(--tn-text)}
.tn-home-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.tn-home-body .tn-home-rank-side{position:sticky;top:18px;order:2}.tn-home-main{min-width:0}.tn-home-user-hero{padding:0;overflow:hidden;border-radius:22px!important}.tn-home-hero-bg{min-height:230px;padding:28px 32px;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;background:linear-gradient(90deg,rgba(8,75,48,.92),rgba(23,48,71,.65)),url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=60');background-size:cover;background-position:center;color:#fff;border-radius:22px}.tn-home-user-identity{display:flex;align-items:center;gap:16px}.tn-home-user-identity img{border-radius:999px;border:3px solid rgba(255,255,255,.5);background:#fff}.tn-home-hero-bg h1{font-size:42px;line-height:1.05;margin:8px 0 6px;color:#fff}.tn-home-hero-bg p{margin:0;color:rgba(255,255,255,.92);font-size:17px}.tn-home-hero-bg .tn-pill{background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.28);color:#fff}.tn-home-hero-stats{display:grid;grid-template-columns:repeat(2,minmax(110px,1fr));gap:10px;min-width:360px}.tn-home-hero-stats div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:12px;backdrop-filter:blur(4px)}.tn-home-hero-stats b{display:block;font-size:24px;color:#fff}.tn-home-hero-stats span{display:block;margin-top:3px;font-size:12px;color:rgba(255,255,255,.82)}
.tn-home-dashboard-v3 .tn-home-search .tn-home-filter{grid-template-columns:1.7fr repeat(3,minmax(130px,1fr)) auto}.tn-home-search-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:8px 0 14px}.tn-home-search-card{display:block;border:1px solid var(--tn-border);border-radius:14px;background:#fff;padding:12px;text-decoration:none!important;color:inherit!important}.tn-home-search-card strong{display:block;color:var(--tn-text);font-size:15px}.tn-home-search-card span{display:block;color:var(--tn-muted);font-size:13px;margin-top:4px}.tn-more-wrap{margin:14px 0 0}.tn-home-results h3{margin:14px 0 8px;font-size:16px;color:var(--tn-wine)}
@media(max-width:1100px){.tn-home-body{grid-template-columns:1fr}.tn-home-body .tn-home-rank-side{position:relative;top:auto}.tn-home-hero-bg{align-items:flex-start;flex-direction:column}.tn-home-hero-stats{min-width:0;width:100%;grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.tn-home-hero-bg{min-height:260px;padding:20px;border-radius:18px}.tn-home-hero-bg h1{font-size:30px}.tn-home-user-identity{align-items:flex-start}.tn-home-dashboard-v3 .tn-home-search .tn-home-filter{grid-template-columns:1fr}.tn-home-hero-stats{grid-template-columns:1fr 1fr}.tn-home-hero-stats b{font-size:20px}}
@media(max-width:460px){.tn-home-hero-stats{grid-template-columns:1fr}.tn-home-user-identity{display:block}.tn-home-user-identity img{margin-bottom:12px}}


/* TimNhao v1.7.3: Home uses the same left slide sidebar as project/account */
.tn-home-shell-v173{font-family:inherit!important;background:#f7f3f5!important;min-height:100vh!important;}
.tn-home-shell-v173 .tn-home-main-shell{padding:22px!important;min-width:0!important;}
.tn-home-shell-v173 .tn-home-dashboard-v3{max-width:none!important;margin:0!important;}
.tn-home-shell-v173 .tn-market-sidebar a.active{background:#f4edf0!important;color:var(--tn-wine)!important;font-weight:800!important;}
@media(max-width:860px){
  .tn-home-shell-v173{padding-top:56px!important;padding-left:0!important;}
  .tn-home-shell-v173 .tn-home-main-shell{padding:16px 10px 88px!important;}
  .tn-home-shell-v173 .tn-home-body{grid-template-columns:1fr!important;}
  .tn-home-shell-v173 .tn-home-rank-side{position:relative!important;top:auto!important;}
}


/* TimNhao v1.7.4: sponsor ranking + ranking period */
.tn-rank-period{font-size:12px;margin:-8px 0 10px!important}.tn-sponsor-rank{margin-top:18px;padding-top:16px;border-top:1px solid var(--tn-border)}.tn-sponsor-rank h2{margin-top:0}.tn-sponsor-mini{grid-template-columns:34px 38px minmax(0,1fr) 100px!important;position:relative}.tn-sponsor-mini span small{display:block;color:var(--tn-muted);font-weight:500;font-size:12px;margin-top:2px}.tn-sponsor-mini b{grid-column:auto!important;text-align:right;color:var(--tn-wine)}.tn-sponsor-zalo{grid-column:4;justify-self:end;font-size:12px;text-decoration:none!important;border:1px solid var(--tn-border);border-radius:999px;padding:3px 8px;color:var(--tn-wine)!important;background:#fff}
@media(max-width:560px){.tn-sponsor-mini{grid-template-columns:30px 34px minmax(0,1fr)!important}.tn-sponsor-mini b,.tn-sponsor-zalo{grid-column:3!important;justify-self:start;text-align:left}}

/* TimNhao v1.7.5 - Stable dashboard home layout system */
body .tn-home-shell-v175{display:block!important;min-height:100vh!important;background:#f7f3f5!important;padding-left:256px!important;overflow:visible!important;border-radius:0!important;font-family:inherit!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;}
body .tn-home-shell-v175, body .tn-home-shell-v175 *{box-sizing:border-box!important;letter-spacing:normal!important;text-transform:none!important;}
body .tn-home-shell-v175 .tn-market-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:256px!important;height:100vh!important;z-index:10000!important;background:#fff!important;border-right:1px solid var(--tn-border)!important;display:flex!important;flex-direction:column!important;padding:16px!important;gap:8px!important;overflow-y:auto!important;transform:none!important;box-shadow:none!important;}
body.admin-bar .tn-home-shell-v175 .tn-market-sidebar{top:32px!important;height:calc(100vh - 32px)!important;}
body .tn-home-shell-v175 .tn-market-main, body .tn-home-shell-v175 .tn-home-main-shell{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:18px!important;background:#f7f3f5!important;overflow:visible!important;}
body .tn-home-layout-v175{width:100%!important;max-width:1680px!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;}
body .tn-home-topnote{display:inline-flex!important;align-self:flex-start!important;background:#7b1231!important;color:#fff!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:800!important;}
body .tn-home-columns-v175{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important;align-items:start!important;width:100%!important;min-width:0!important;}
body .tn-home-center-v175{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;width:100%!important;}
body .tn-home-right-v175{min-width:0!important;width:100%!important;}
body .tn-home-right-v175 .tn-home-rank-side{position:sticky!important;top:18px!important;width:100%!important;margin:0!important;}
body .tn-home-shell-v175 .tn-card, body .tn-home-shell-v175 .tn-home-user-hero{width:100%!important;max-width:none!important;margin:0!important;overflow:hidden!important;}
body .tn-home-shell-v175 .tn-home-user-hero{padding:0!important;}
body .tn-home-shell-v175 .tn-home-hero-bg{width:100%!important;min-height:260px!important;padding:28px 32px!important;border-radius:22px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;overflow:hidden!important;}
body .tn-home-shell-v175 .tn-home-hero-bg h1{font-size:clamp(30px,4vw,56px)!important;line-height:1.05!important;margin:8px 0!important;white-space:normal!important;}
body .tn-home-shell-v175 .tn-home-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr))!important;gap:10px!important;min-width:320px!important;max-width:460px!important;width:auto!important;}
body .tn-home-shell-v175 .tn-home-search .tn-home-filter{display:grid!important;grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(130px,1fr)) auto!important;gap:10px!important;align-items:center!important;width:100%!important;}
body .tn-home-shell-v175 .tn-home-search input, body .tn-home-shell-v175 .tn-home-search select{min-width:0!important;width:100%!important;}
body .tn-home-shell-v175 .tn-home-grid-compact{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:12px!important;}
body .tn-home-shell-v175 .tn-home-product-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) 110px 80px!important;gap:10px!important;align-items:center!important;}
body .tn-home-shell-v175 .tn-home-rank-side{box-shadow:0 18px 55px rgba(55,26,38,.08)!important;border-radius:18px!important;}
body .tn-home-shell-v175 .tn-rank-mini{display:grid!important;grid-template-columns:32px 36px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;}
body .tn-home-shell-v175 .tn-sponsor-mini{grid-template-columns:32px 36px minmax(0,1fr)!important;}
body .tn-home-shell-v175 .tn-sponsor-mini b, body .tn-home-shell-v175 .tn-sponsor-zalo{grid-column:3!important;justify-self:start!important;text-align:left!important;}
@media(max-width:1200px){body .tn-home-columns-v175{grid-template-columns:1fr!important;}body .tn-home-right-v175 .tn-home-rank-side{position:relative!important;top:auto!important;}body .tn-home-shell-v175 .tn-home-hero-bg{align-items:flex-start!important;flex-direction:column!important;}body .tn-home-shell-v175 .tn-home-hero-stats{min-width:0!important;max-width:none!important;width:100%!important;}}
@media(max-width:860px){body .tn-home-shell-v175{padding-left:0!important;padding-top:56px!important;}body .tn-home-shell-v175 .tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:100001!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important;}body .tn-home-shell-v175.sidebar-open .tn-market-sidebar{transform:translateX(0)!important;}body .tn-home-shell-v175 .tn-home-main-shell{padding:14px 10px 88px!important;}body .tn-home-shell-v175 .tn-home-search .tn-home-filter{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row{grid-template-columns:88px minmax(0,1fr)!important;}body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(3),body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(4){grid-column:2!important;color:var(--tn-muted)!important;font-size:13px!important;}body .tn-home-shell-v175 .tn-home-hero-bg{min-height:260px!important;padding:20px!important;border-radius:18px!important;}body .tn-home-shell-v175 .tn-home-hero-stats{grid-template-columns:1fr 1fr!important;}}
@media(max-width:520px){body .tn-home-shell-v175 .tn-home-hero-stats{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(3),body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(4){grid-column:auto!important;}body .tn-home-shell-v175 .tn-home-code{width:max-content!important;text-align:left!important;}}


/* TimNhao v1.7.6 desktop home layout hard fix */
html body .tn-home-shell-v175{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  width:100vw!important;
  max-width:100vw!important;
  min-height:100vh!important;
  padding-left:256px!important;
  background:#f7f3f5!important;
  overflow-x:hidden!important;
  border-radius:0!important;
}
html body .tn-home-shell-v175 .tn-home-main-shell,
html body .tn-home-shell-v175 .tn-market-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:24px!important;
  margin:0!important;
  overflow:visible!important;
}
html body .tn-home-shell-v175 .tn-home-layout-v175{
  max-width:1600px!important;
  width:100%!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
html body .tn-home-shell-v175 .tn-home-columns-v175{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
}
html body .tn-home-shell-v175 .tn-home-center-v175,
html body .tn-home-shell-v175 .tn-home-right-v175{
  min-width:0!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-card,
html body .tn-home-shell-v175 .tn-home-user-hero,
html body .tn-home-shell-v175 .tn-home-search{
  width:100%!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-home-hero-bg{
  display:flex!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  align-items:flex-end!important;
  min-height:260px!important;
  width:100%!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-home-hero-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(130px,1fr))!important;
  gap:12px!important;
  width:min(460px,42%)!important;
  min-width:280px!important;
}
html body .tn-home-shell-v175 .tn-home-filter{
  display:grid!important;
  grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(140px,1fr)) auto!important;
  gap:10px!important;
  align-items:center!important;
}
html body .tn-home-shell-v175 .tn-home-filter input,
html body .tn-home-shell-v175 .tn-home-filter select,
html body .tn-home-shell-v175 .tn-home-filter button{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
@media(max-width:1200px){
  html body .tn-home-shell-v175 .tn-home-columns-v175{grid-template-columns:1fr!important;}
  html body .tn-home-shell-v175 .tn-home-hero-bg{flex-direction:column!important;align-items:flex-start!important;}
  html body .tn-home-shell-v175 .tn-home-hero-stats{width:100%!important;min-width:0!important;}
}
@media(max-width:860px){
  html body .tn-home-shell-v175{
    left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-top:56px!important;
  }
  html body .tn-home-shell-v175 .tn-home-main-shell{padding:14px 10px 90px!important;}
  html body .tn-home-shell-v175 .tn-home-filter{grid-template-columns:1fr!important;}
}


/* TimNhao v1.7.7 home/event refinements */
.tn-home-right-blocks{display:flex;flex-direction:column;gap:16px;width:100%}
.tn-home-right-blocks .tn-card{margin:0;width:100%;box-sizing:border-box}
.tn-bank-support-rank h2{margin-top:0}
.tn-home-events .tn-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tn-home-event-card img{aspect-ratio:3/4;object-fit:cover;width:100%;border-radius:14px;background:#f7f2f4}
.tn-events-list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.tn-event-list-card{display:grid;grid-template-columns:86px 1fr;gap:12px;align-items:center;text-decoration:none;color:inherit;border:1px solid #ead1da;border-radius:18px;padding:12px;background:#fff}
.tn-event-list-card img{width:86px;height:115px;object-fit:cover;border-radius:14px;background:#f7f2f4}
.tn-event-list-card strong{display:block;color:#3d3d3d;margin-bottom:4px}.tn-event-list-card span,.tn-event-list-card small,.tn-event-list-card em{display:block;color:#7f5a66;font-style:normal;font-size:13px;margin-top:2px}
@media(max-width:860px){.tn-events-list-grid{grid-template-columns:1fr}.tn-event-list-card{grid-template-columns:76px 1fr}.tn-event-list-card img{width:76px;height:102px}}


/* TimNhao v1.8.5: fix home bank support ranking layout like sale leaderboard */
body .tn-home-shell-v175 .tn-bank-support-rank{overflow:hidden!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini{
  display:grid!important;
  grid-template-columns:32px 36px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
  padding:10px 0!important;
  border-bottom:1px solid var(--tn-border)!important;
}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini:last-child{border-bottom:0!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini strong{grid-column:1!important;font-weight:900!important;color:var(--tn-text)!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini img{grid-column:2!important;width:34px!important;height:34px!important;border-radius:999px!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini span{grid-column:3!important;min-width:0!important;display:block!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini span small{display:block!important;margin-top:3px!important;font-size:12px!important;font-weight:500!important;color:var(--tn-muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini b{grid-column:3!important;justify-self:start!important;color:var(--tn-wine)!important;font-size:13px!important;line-height:1.2!important;margin-top:0!important;}
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-zalo{grid-column:3!important;justify-self:start!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:5px 12px!important;border:1px solid var(--tn-border)!important;border-radius:999px!important;background:#fff!important;color:var(--tn-wine)!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;margin-top:2px!important;}
@media(max-width:520px){body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini{grid-template-columns:30px 34px minmax(0,1fr)!important;}}

/* v1.8.6 - clickable sale info cards */
.tn-rank-mini-link, .tn-home-search-card-link, .tn-seller-profile-link{color:inherit;text-decoration:none;cursor:pointer}
.tn-rank-mini-link{transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.tn-rank-mini-link:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(137,9,50,.12);border-color:rgba(137,9,50,.22)}
.tn-rank-mini span small{display:block;font-size:11px;font-weight:600;color:#8b0d3b;margin-top:2px}
.tn-home-search-card-link:hover{border-color:rgba(137,9,50,.25);box-shadow:0 10px 24px rgba(137,9,50,.10)}
.tn-seller-profile-link{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:10px}
.tn-seller-profile-link span{font-size:12px;font-weight:700;color:#8b0d3b}
.tn-seller-profile-link:hover h3{text-decoration:underline}
/* v1.8.7: clickable bank/support cards */
.tn-sponsor-mini-clickable{position:relative;display:flex;align-items:center;gap:10px;}
.tn-sponsor-profile-hit{display:flex;align-items:center;gap:10px;flex:1;min-width:0;color:inherit;text-decoration:none;}
.tn-sponsor-profile-hit span{min-width:0;}
.tn-rank-mini-link span small{display:none!important;}

/* TimNhao v1.8.8: fix bank support cards and event detail layout */
.tn-bank-support-rank .tn-sponsor-mini,
body .tn-home-shell-v175 .tn-bank-support-rank .tn-sponsor-mini,
body .tn-home-dashboard .tn-bank-support-rank .tn-sponsor-mini{
  display:grid!important;
  grid-template-columns:34px 42px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  width:100%!important;
  padding:12px 0!important;
  border-bottom:1px solid var(--tn-border,#ead1da)!important;
  box-sizing:border-box!important;
}
.tn-bank-support-rank .tn-sponsor-mini:last-child{border-bottom:0!important}
.tn-bank-support-rank .tn-sponsor-mini>strong{grid-column:1!important;grid-row:1/4!important;font-weight:900!important;color:var(--tn-text,#2b2430)!important;line-height:1!important;white-space:nowrap!important}
.tn-bank-support-rank .tn-sponsor-mini img,
.tn-bank-support-rank .tn-sponsor-mini .avatar{grid-column:2!important;grid-row:1/4!important;width:38px!important;height:38px!important;border-radius:999px!important;object-fit:cover!important;background:#f0ecef!important;max-width:none!important}
.tn-bank-support-rank .tn-sponsor-mini span{grid-column:3!important;grid-row:1!important;min-width:0!important;display:block!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--tn-text,#2b2430)!important}
.tn-bank-support-rank .tn-sponsor-mini span small{display:block!important;margin-top:3px!important;font-size:12px!important;font-weight:500!important;color:var(--tn-muted,#7d6b72)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tn-bank-support-rank .tn-sponsor-mini b{grid-column:3!important;grid-row:2!important;justify-self:start!important;color:var(--tn-wine,#8b0d3b)!important;font-size:13px!important;line-height:1.2!important;margin:0!important;white-space:nowrap!important}
.tn-bank-support-rank .tn-sponsor-mini .tn-sponsor-zalo{grid-column:3!important;grid-row:3!important;justify-self:start!important;display:inline-flex!important;width:auto!important;min-width:0!important;min-height:28px!important;padding:5px 12px!important;border:1px solid var(--tn-border,#ead1da)!important;border-radius:999px!important;background:#fff!important;color:var(--tn-wine,#8b0d3b)!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;margin-top:2px!important}
.tn-bank-support-rank .tn-sponsor-profile-hit{display:contents!important;color:inherit!important;text-decoration:none!important}
.tn-bank-support-rank .tn-sponsor-profile-hit:hover span{text-decoration:underline}

.tn-event-app .tn-public-main{max-width:1180px!important;width:100%!important;margin:0 auto!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important}
.tn-event-app .tn-detail-grid.tn-event-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 340px!important;gap:24px!important;align-items:start!important;width:100%!important}
.tn-event-app .tn-detail-main{min-width:0!important;width:100%!important}
.tn-event-app .tn-event-primary{display:grid!important;grid-template-columns:minmax(320px,420px) minmax(260px,1fr)!important;gap:24px!important;align-items:start!important;width:100%!important}
.tn-event-app .tn-event-media{min-width:0!important;width:100%!important}
.tn-event-app .tn-event-img{width:100%!important;max-width:420px!important;aspect-ratio:3/4!important;height:auto!important;object-fit:cover!important;border-radius:22px!important;display:block!important}
.tn-event-app .tn-event-info-col{min-width:0!important;width:100%!important}
.tn-event-app .tn-event-info-card{min-width:0!important;overflow:hidden!important;word-break:break-word!important}
.tn-event-app .tn-detail-side{min-width:0!important;width:100%!important}
.tn-event-app .tn-seller-box{position:sticky!important;top:20px!important;min-width:0!important;overflow:hidden!important}
.tn-event-app .tn-event-countdown{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:12px!important}
.tn-event-app .tn-event-countdown>div{min-width:0!important;text-align:center!important;border:1px solid var(--tn-border,#ead1da)!important;border-radius:14px!important;padding:8px 4px!important;background:#fff!important}
.tn-event-app .tn-event-countdown b{display:block!important;font-size:18px!important;line-height:1!important;color:var(--tn-wine,#8b0d3b)!important}
.tn-event-app .tn-event-countdown span{display:block!important;font-size:11px!important;margin-top:4px!important;white-space:nowrap!important;color:var(--tn-muted,#7d6b72)!important}
@media(max-width:1100px){.tn-event-app .tn-detail-grid.tn-event-grid{grid-template-columns:1fr!important}.tn-event-app .tn-detail-side{order:2}.tn-event-app .tn-seller-box{position:static!important}}
@media(max-width:760px){.tn-event-app .tn-public-main{padding-left:12px!important;padding-right:12px!important}.tn-event-app .tn-event-primary{grid-template-columns:1fr!important}.tn-event-app .tn-event-img{max-width:100%!important}.tn-event-app .tn-event-countdown{grid-template-columns:repeat(4,minmax(46px,1fr))!important;gap:6px!important}.tn-event-app .tn-event-countdown b{font-size:16px!important}}

/* TimNhao v1.9.0: tablet/mobile top bar - hamburger left, logo center, search right */
.tn-mobile-topbar{display:none!important;}
@media(max-width:1024px){
  html body .tn-mobile-topbar{
    display:grid!important;
    grid-template-columns:56px minmax(0,1fr) 56px!important;
    align-items:center!important;
    position:fixed!important;
    top:0!important;left:0!important;right:0!important;
    height:56px!important;
    z-index:100005!important;
    background:#fff!important;
    border-bottom:1px solid var(--tn-border,#ead8df)!important;
    box-shadow:0 10px 28px rgba(33,21,26,.08)!important;
  }
  html body.admin-bar .tn-mobile-topbar{top:32px!important;}
  html body .tn-mobile-topbar .tn-mobile-menu{
    display:flex!important;position:static!important;width:56px!important;height:56px!important;min-width:56px!important;
    padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    align-items:center!important;justify-content:center!important;font-size:25px!important;color:var(--tn-text,#21151a)!important;line-height:1!important;
  }
  html body .tn-mobile-topbar .tn-mobile-menu:before{content:''!important;display:none!important;}
  html body .tn-mobile-logo{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;color:var(--tn-text,#21151a)!important;text-decoration:none!important;font-weight:900!important;}
  html body .tn-mobile-logo img{width:30px!important;height:30px!important;border-radius:9px!important;object-fit:cover!important;display:block!important;}
  html body .tn-mobile-logo span:not(.tn-logo-mark){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;border-radius:9px!important;background:var(--tn-wine,#7b1231)!important;color:#fff!important;font-weight:900!important;}
  html body .tn-mobile-logo strong{font-size:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:180px!important;}
  html body .tn-mobile-search{display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;text-decoration:none!important;color:var(--tn-text,#21151a)!important;font-size:30px!important;font-weight:900!important;line-height:1!important;}
  html body .tn-home-shell-v175,
  html body .tn-market-app,
  html body .tn-public-app{padding-left:0!important;padding-top:56px!important;}
  html body.admin-bar .tn-home-shell-v175 .tn-market-sidebar,
  html body.admin-bar .tn-market-sidebar{top:88px!important;height:calc(100vh - 88px)!important;}
  html body .tn-home-shell-v175 .tn-market-sidebar,
  html body .tn-market-sidebar{
    top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;
    transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:100004!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important;
    border-right:1px solid var(--tn-border,#ead8df)!important;border-bottom:0!important;padding:12px!important;overflow:auto!important;background:#fff!important;
  }
  html body .tn-home-shell-v175.sidebar-open .tn-market-sidebar,
  html body .tn-market-app.sidebar-open .tn-market-sidebar,
  html body .tn-public-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important;}
  html body .tn-market-main,
  html body .tn-public-main,
  html body .tn-home-shell-v175 .tn-home-main-shell{padding-top:14px!important;}
}
@media(max-width:782px){html body.admin-bar .tn-mobile-topbar{top:46px!important;}html body.admin-bar .tn-home-shell-v175 .tn-market-sidebar,html body.admin-bar .tn-market-sidebar{top:102px!important;height:calc(100vh - 102px)!important;}}
@media(max-width:520px){html body .tn-mobile-logo strong{max-width:150px!important;font-size:15px!important;}}
/* TimNhao v1.9.1: member directory pages */
.tn-member-top-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.tn-member-top-card{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--tn-border,#ead8df);border-radius:18px;background:#fff;text-decoration:none!important;color:inherit!important;box-shadow:0 12px 28px rgba(55,26,38,.06)}.tn-member-top-card>strong{width:38px;height:38px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff0f4;color:var(--tn-wine,#7b1231)}.tn-member-top-card img{border-radius:50%}.tn-member-top-card span{display:flex;flex-direction:column;font-weight:800}.tn-member-top-card small{font-weight:600;color:var(--tn-muted,#77646b);margin-top:3px}.tn-member-table table td{vertical-align:middle}.tn-member-table .avatar{border-radius:50%;vertical-align:middle;margin-right:8px}.tn-member-table .tn-mini{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 11px;background:#fff0f4;color:var(--tn-wine,#7b1231)!important;text-decoration:none!important;font-weight:800}
@media(max-width:760px){.tn-member-table{overflow-x:auto}.tn-member-table table{min-width:720px}.tn-member-top-grid{grid-template-columns:1fr}}
:root{--tn-wine:#7b1e2b;--tn-wine-dark:#5f1420;--tn-bg:#f6f7f9;--tn-border:#e7e7ea;--tn-text:#171717;--tn-muted:#666}.tn-market-app,.tn-public-page{font-family:inherit;color:var(--tn-text)}.tn-market-app{display:grid;grid-template-columns:240px 1fr;min-height:80vh;background:var(--tn-bg);border-radius:0;overflow:hidden}.tn-market-sidebar{background:#fff;border-right:1px solid var(--tn-border);padding:16px;display:flex;flex-direction:column;gap:8px}.tn-market-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}.tn-market-logo img{width:34px;height:34px;object-fit:contain;border-radius:8px}.tn-market-logo span{width:34px;height:34px;background:var(--tn-wine);color:#fff;display:grid;place-items:center;border-radius:8px;font-weight:700}.tn-market-sidebar button,.tn-market-sidebar a{appearance:none;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:12px;color:var(--tn-text);text-decoration:none;cursor:pointer;font:inherit}.tn-market-sidebar button.active,.tn-market-sidebar button:hover,.tn-market-sidebar a:hover{background:#f3eef0;color:var(--tn-wine)}.tn-market-main{padding:18px;min-width:0}.tn-market-section{display:none}.tn-market-section.active{display:block}.tn-market-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.tn-market-head h1{margin:0 0 4px;font-size:26px}.tn-market-head p{margin:0;color:var(--tn-muted)}.tn-head-actions{display:flex;gap:8px;flex-wrap:wrap}.tn-btn{border:0;background:var(--tn-wine);color:#fff;border-radius:12px;padding:11px 15px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font:inherit;font-weight:600}.tn-btn:hover{background:var(--tn-wine-dark);color:#fff}.tn-btn-dark{background:#1f2937}.tn-btn-ghost{background:#fff;color:var(--tn-wine);border:1px solid var(--tn-border)}.tn-btn-full{width:100%;margin-top:8px}.tn-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.tn-stat-grid>div,.tn-card,.tn-table-card{background:#fff;border:1px solid var(--tn-border);border-radius:16px;padding:16px}.tn-stat-grid b{display:block;font-size:28px;color:var(--tn-wine)}.tn-stat-grid span{color:var(--tn-muted)}.tn-card h2{margin-top:0}.tn-alert{padding:12px 14px;border-radius:14px;margin-bottom:14px;background:#fef3c7;color:#92400e}.tn-table-card{overflow:auto}.tn-table-card table{width:100%;border-collapse:collapse}.tn-table-card th,.tn-table-card td{padding:12px;border-bottom:1px solid var(--tn-border);text-align:left;vertical-align:top}.tn-table-card th{font-size:13px;color:var(--tn-muted);font-weight:700;background:#fafafa}.tn-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#eee;font-size:12px;margin-left:4px}.tn-status-approved{background:#dcfce7;color:#166534}.tn-status-pending{background:#fef3c7;color:#92400e}.tn-status-rejected{background:#fee2e2;color:#991b1b}.tn-badge.warn{background:#fee2e2;color:#991b1b}.tn-mini{border:1px solid var(--tn-border);background:#fff;border-radius:10px;padding:7px 10px;margin:2px;cursor:pointer;color:#333}.tn-mini.danger{color:#b91c1c}.tn-inline-form{display:inline}.tn-filter-pills{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.tn-filter-pills button{border:1px solid var(--tn-border);background:#fff;border-radius:999px;padding:8px 13px;cursor:pointer}.tn-filter-pills button.active{background:var(--tn-wine);color:#fff;border-color:var(--tn-wine)}.tn-modal{display:none;position:fixed;inset:0;z-index:99999}.tn-modal.open{display:block}.tn-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45)}.tn-modal-box{position:relative;background:#fff;max-width:560px;margin:5vh auto;padding:20px;border-radius:20px;box-shadow:0 20px 80px rgba(0,0,0,.25);max-height:90vh;overflow:auto}.tn-modal-wide{max-width:820px}.tn-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:999px;background:#f3f4f6;cursor:pointer;font-size:22px}.tn-modal-box label{display:block;margin-top:12px;font-weight:600}.tn-modal-box input,.tn-modal-box select,.tn-modal-box textarea,.tn-project-search{width:100%;box-sizing:border-box;border:1px solid var(--tn-border);border-radius:12px;padding:11px;margin-top:6px;font:inherit;background:#fff;color:#111}.tn-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.tn-form-tabs{display:flex;gap:8px;margin:12px 0}.tn-form-tabs button{border:1px solid var(--tn-border);background:#fff;border-radius:999px;padding:9px 13px;cursor:pointer}.tn-form-tabs button.active{background:var(--tn-wine);color:#fff}.tn-form-panel{display:none}.tn-form-panel.active{display:block}.tn-hint{font-size:13px;color:var(--tn-muted);margin:6px 0 0}.tn-hint.ok{color:#166534}.tn-hint.bad{color:#991b1b}.tn-project-pick-list{display:grid;gap:8px;margin-top:12px}.tn-project-pick-list button{border:1px solid var(--tn-border);background:#fff;border-radius:14px;padding:12px;text-align:left;cursor:pointer}.tn-project-pick-list small{display:block;color:var(--tn-muted);margin-top:3px}.tn-selected-project{background:#f9fafb;border:1px solid var(--tn-border);border-radius:12px;padding:10px}.tn-toast-wrap{position:fixed;right:20px;top:20px;z-index:100000}.tn-toast{background:#111827;color:#fff;border-radius:14px;padding:13px 16px;box-shadow:0 10px 35px rgba(0,0,0,.22)}.tn-toast-error{background:#991b1b}.tn-toast-success{background:#166534}.tn-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.tn-plan{border:1px solid var(--tn-border);border-radius:14px;padding:12px}.tn-public-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.tn-product-card{background:#fff;border:1px solid var(--tn-border);border-radius:16px;padding:12px}.tn-product-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#f3f4f6}.tn-product-card a{text-decoration:none;color:inherit}.tn-product-card h3{font-size:18px;margin:10px 0 6px}.tn-public-page{background:#f6f7f9;padding:20px}.tn-public-detail{max-width:1180px;margin:0 auto}.tn-breadcrumb{margin:0 0 14px;color:var(--tn-muted)}.tn-detail-grid{display:grid;grid-template-columns:1fr 320px;gap:18px}.tn-detail-main,.tn-detail-side{min-width:0}.tn-detail-main h1{font-size:32px;margin:10px 0 16px}.tn-detail-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px;background:#eee;margin-bottom:16px}.tn-detail-specs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.tn-detail-specs div{background:#fff;border:1px solid var(--tn-border);border-radius:14px;padding:12px}.tn-detail-specs b{display:block;color:var(--tn-muted);font-size:13px;margin-bottom:5px}.tn-seller-box{background:#fff;border:1px solid var(--tn-border);border-radius:18px;padding:18px;position:sticky;top:18px;text-align:center}.tn-seller-avatar img{border-radius:999px}.tn-seller-box h3{margin:10px 0}.tn-public-page .tn-card{margin-bottom:14px}@media(max-width:860px){.tn-market-app{grid-template-columns:1fr}.tn-market-sidebar{position:relative;border-right:0;border-bottom:1px solid var(--tn-border);flex-direction:row;overflow:auto}.tn-market-logo{min-width:120px;margin:0}.tn-market-main{padding:12px}.tn-market-head{display:block}.tn-head-actions{margin-top:12px}.tn-stat-grid,.tn-detail-grid,.tn-detail-specs,.tn-plan-grid{grid-template-columns:1fr}.tn-modal-box{margin:2vh 10px}.tn-public-page{padding:10px}}
.tn-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:10px 0 14px}.tn-info-list p{margin:0;padding:10px 0;border-bottom:1px solid var(--tn-border)}.tn-info-list span{display:block;color:var(--tn-muted);font-size:13px;margin-bottom:3px}.tn-info-list strong{font-size:15px}.tn-plan-grid-view .tn-plan{background:#fff}.tn-plan-grid-view .tn-plan strong{display:block;color:var(--tn-wine);font-size:18px;margin-bottom:6px}.tn-plan-grid-view .tn-plan b{display:block;margin-bottom:8px}.tn-plan-grid-view .tn-plan p{margin:0;color:var(--tn-muted);line-height:1.5}.tn-public-detail .tn-seller-box{text-align:left}.tn-public-detail .tn-seller-box .tn-btn-full{text-align:center}.tn-product-card strong{color:var(--tn-wine)}
@media(max-width:860px){.tn-info-list{grid-template-columns:1fr}}
/* v1.2.5 */
body.timnhao-public-app-body{margin:0;background:var(--tn-bg);font-family:inherit}.tn-public-app{min-height:100vh;border-radius:0}.tn-public-main{padding:18px}.tn-compact-detail{max-width:none}.tn-muted{color:var(--tn-muted);font-size:13px;line-height:1.45}.tn-modal-box{width:min(90vw,1200px);max-width:1200px}.tn-modal-box:not(.tn-modal-wide){max-width:760px}.tn-product-list{display:grid;gap:12px}.tn-product-row{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:center;background:#fff;border:1px solid var(--tn-border);border-radius:16px;padding:12px}.tn-product-row-img img{width:150px;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#eee}.tn-product-row a{text-decoration:none;color:inherit}.tn-product-row h3{margin:0 0 6px;font-size:18px}.tn-product-row p{margin:0 0 6px;color:var(--tn-muted)}.tn-product-row strong{display:block;color:var(--tn-wine);margin-bottom:4px}.tn-product-row span{color:var(--tn-muted);font-size:13px}.tn-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tn-form-grid p{margin:0}@media(max-width:860px){.tn-modal-box{width:auto;max-width:none}.tn-product-row{grid-template-columns:1fr}.tn-product-row-img img{width:100%}.tn-form-grid{grid-template-columns:1fr}}

/* v1.2.6 UI fixes */
.tn-market-app,.tn-public-page,.tn-public-app,.tn-market-main,.tn-card,.tn-table-card,.tn-modal-box{font-family:inherit!important}
body.timnhao-public-app-body{font-family:inherit!important}
.tn-mobile-menu{display:none;position:fixed;left:12px;top:12px;z-index:100001;border:1px solid var(--tn-border);background:#fff;color:var(--tn-text);border-radius:12px;width:42px;height:42px;font:inherit;font-size:22px;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.tn-market-sidebar{position:sticky;top:0;height:100vh;align-self:start;overflow:auto;z-index:20}
.tn-detail-side{position:sticky;top:18px;align-self:start}.tn-detail-side .tn-seller-box{position:static;top:auto}
.tn-product-row{grid-template-columns:150px minmax(0,1fr) 190px;align-items:stretch}.tn-product-row-seller{border-left:1px solid var(--tn-border);padding-left:14px;display:flex;flex-direction:column;gap:7px;justify-content:center}.tn-product-row-seller small{color:var(--tn-muted)}.tn-product-row-seller b{font-size:14px}.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--tn-border);border-radius:10px;padding:8px 10px;text-decoration:none;background:#fff;color:var(--tn-wine);font:inherit;cursor:pointer}.tn-mini-call{background:var(--tn-wine);border-color:var(--tn-wine);color:#fff}.tn-mini-call:hover{color:#fff}.tn-mini-zalo:hover,.tn-mini-lock:hover{background:#f3eef0;color:var(--tn-wine)}
@media(max-width:860px){.tn-mobile-menu{display:block}.tn-market-app{display:block}.tn-market-sidebar{position:fixed;left:0;top:0;bottom:0;width:280px;height:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:20px 0 60px rgba(0,0,0,.2);border-right:1px solid var(--tn-border);border-bottom:0;flex-direction:column;overflow:auto;padding-top:62px}.tn-market-app.sidebar-open .tn-market-sidebar{transform:translateX(0)}.tn-market-main{padding-top:62px}.tn-detail-side{position:static}.tn-product-row{grid-template-columns:1fr}.tn-product-row-seller{border-left:0;border-top:1px solid var(--tn-border);padding-left:0;padding-top:12px}.tn-product-row-img img{width:100%}}

/* v1.2.7 - layout polish */
.tn-market-app,.tn-public-page,.tn-public-app{font-family:inherit!important;background:#f7f3f5!important;overflow:visible!important;min-height:100vh}
.tn-market-app{display:block!important;padding-left:256px!important;border-radius:0!important}
.tn-market-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:256px!important;height:100vh!important;background:#fff!important;border-right:1px solid #ead9de!important;padding:14px 10px!important;box-sizing:border-box!important;overflow-y:auto!important;box-shadow:none!important;z-index:9990!important;gap:4px!important}
.tn-market-logo{height:48px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:6px 10px!important;margin:0 0 12px!important;border-radius:12px!important}
.tn-market-logo img{width:30px!important;height:30px!important;border-radius:8px!important}.tn-market-logo a{display:flex!important;align-items:center!important}.tn-market-logo strong{font-size:15px!important;font-weight:700!important;color:#18181b!important}
.tn-market-sidebar a,.tn-market-sidebar button{width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:42px!important;border-radius:10px!important;padding:9px 12px!important;color:#27272a!important;font-weight:500!important;box-sizing:border-box!important;white-space:normal!important;line-height:1.25!important}
.tn-market-sidebar a:hover,.tn-market-sidebar button:hover,.tn-market-sidebar button.active{background:#f4edf0!important;color:var(--tn-wine)!important}
.tn-market-main{min-height:100vh!important;padding:20px!important;box-sizing:border-box!important;max-width:none!important;overflow:visible!important}
.tn-public-main{padding:20px 24px!important}.tn-public-detail{max-width:1360px!important;margin:0 auto!important}.tn-detail-grid{grid-template-columns:minmax(0,1fr) 320px!important;align-items:start!important}.tn-detail-side{position:sticky!important;top:20px!important;align-self:start!important}.tn-seller-box{position:static!important;text-align:left!important}.tn-seller-box .tn-seller-avatar{text-align:left!important}.tn-seller-box .tn-btn{text-align:center!important}
.tn-modal-box{width:90vw!important;max-width:1200px!important;border-radius:18px!important}.tn-modal-box:not(.tn-modal-wide){max-width:760px!important}
.tn-plan p{white-space:pre-line!important}.tn-plan-grid-view .tn-plan b{display:block;margin:8px 0;color:var(--tn-wine);font-size:20px}.tn-account-info .tn-info-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.tn-account-info .tn-info-list p{border-bottom:1px solid #ead9de;padding:10px 0;margin:0}.tn-account-info .tn-info-list span{display:block;color:#7a636b;font-size:13px;margin-bottom:4px}
.tn-product-list{display:flex!important;flex-direction:column!important;gap:10px!important}.tn-product-row{display:grid!important;grid-template-columns:120px minmax(0,1.5fr) minmax(170px,.7fr)!important;gap:14px!important;align-items:center!important;background:#fff!important;border:1px solid #ead9de!important;border-radius:16px!important;padding:12px!important}.tn-product-row-img img{width:120px!important;height:90px!important;object-fit:cover!important;border-radius:12px!important}.tn-product-row-body h3{margin:0 0 6px!important;font-size:17px!important;color:#171717!important}.tn-product-row-body p{margin:0 0 6px!important;color:#6b5b62!important}.tn-product-row-body strong{display:block;color:var(--tn-wine);margin-bottom:5px}.tn-product-row-body span{display:block;color:#374151;font-size:14px}.tn-product-row-seller{border-left:1px solid #ead9de!important;padding-left:14px!important;display:flex!important;flex-direction:column!important;gap:6px!important}.tn-product-row-seller small{color:#7a636b}.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{display:inline-flex!important;justify-content:center!important;border:1px solid #ead9de!important;border-radius:10px!important;padding:8px 10px!important;text-decoration:none!important;color:var(--tn-wine)!important;background:#fff!important;font-weight:600!important}.tn-mini-zalo{background:var(--tn-wine)!important;color:#fff!important;border-color:var(--tn-wine)!important}
.tn-mobile-menu{display:none!important;position:fixed!important;left:12px!important;top:12px!important;z-index:100001!important;width:auto!important;min-width:46px!important;height:42px!important;border-radius:999px!important;padding:0 14px!important;background:#fff!important;border:1px solid #ead9de!important;box-shadow:0 12px 30px rgba(0,0,0,.15)!important;font-size:0!important}.tn-mobile-menu:before{content:'☰ Menu';font-size:15px;font-weight:700;color:#111}
@media(max-width:860px){.tn-mobile-menu{display:inline-flex!important;align-items:center!important;justify-content:center!important}.tn-market-app{padding-left:0!important}.tn-market-sidebar{transform:translateX(-105%)!important;transition:transform .22s ease!important;width:82vw!important;max-width:320px!important;padding-top:64px!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important}.tn-market-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important}.tn-market-main,.tn-public-main{padding:66px 12px 16px!important}.tn-detail-grid{grid-template-columns:1fr!important}.tn-detail-side{position:static!important}.tn-account-info .tn-info-list{grid-template-columns:1fr}.tn-product-row{grid-template-columns:1fr!important}.tn-product-row-img img{width:100%!important;height:auto!important;aspect-ratio:4/3!important}.tn-product-row-seller{border-left:0!important;border-top:1px solid #ead9de!important;padding-left:0!important;padding-top:12px!important}.tn-modal-box{width:auto!important;margin:2vh 10px!important}}

/* v1.2.8: simple product list, compare popup, wider modals, mobile top menu */
.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:90vw!important;max-width:1400px!important;box-sizing:border-box!important;overflow-x:hidden!important}.tn-modal-box form{max-width:100%}.tn-plan-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}.tn-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.tn-list-head h2{margin:0}.tn-simple-list{display:grid!important;gap:8px!important}.tn-product-simple-row{display:grid;grid-template-columns:105px minmax(220px,1.4fr) minmax(190px,.9fr) minmax(130px,.7fr) minmax(140px,.7fr);align-items:center;gap:12px;background:#fff;border:1px solid var(--tn-border);border-radius:14px;padding:12px}.tn-product-simple-main a{text-decoration:none;color:inherit}.tn-product-simple-main strong{display:block;font-size:16px}.tn-product-simple-main span,.tn-product-simple-spec span,.tn-product-simple-member small{display:block;color:var(--tn-muted);font-size:13px;margin-top:4px}.tn-product-simple-spec b{color:var(--tn-wine)}.tn-compare-check{display:flex;align-items:center;gap:8px;font-weight:600;color:#374151}.tn-compare-check input{width:18px;height:18px}.tn-product-simple-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{border:1px solid #ead9de;background:#fff;color:var(--tn-wine);text-decoration:none;border-radius:999px;padding:8px 12px;font-weight:700;font-size:13px}.tn-mini-zalo{background:var(--tn-wine);color:#fff}.tn-compare-table-wrap{overflow:auto;border:1px solid var(--tn-border);border-radius:14px}.tn-compare-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.tn-compare-table th,.tn-compare-table td{padding:12px;border-bottom:1px solid var(--tn-border);vertical-align:top;text-align:left}.tn-compare-table th{width:180px;background:#f8fafc;font-weight:700;position:sticky;left:0;z-index:1}.tn-compare-table a{color:var(--tn-wine);font-weight:700;text-decoration:none}
@media(max-width:860px){.tn-mobile-menu{left:0!important;top:0!important;right:0!important;width:100%!important;height:52px!important;border-radius:0!important;justify-content:flex-start!important;padding:0 16px!important;background:#fff!important}.tn-mobile-menu:before{content:'☰  TimNhao'!important;font-size:16px!important}.tn-market-sidebar{top:52px!important;padding-top:12px!important;height:calc(100vh - 52px)!important}.tn-market-main,.tn-public-main{padding-top:66px!important}.tn-product-simple-row{grid-template-columns:1fr!important}.tn-product-simple-actions{justify-content:flex-start}.tn-list-head{align-items:flex-start;flex-direction:column}.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:calc(100vw - 20px)!important;margin:64px 10px 12px!important;max-height:calc(100vh - 76px)!important}.tn-compare-table th{position:static}.tn-compare-table{min-width:640px}}

/* v1.2.9: clean fonts, simple list, compare images/member, pagination, mobile top/bottom bars */
.tn-market-app,.tn-public-page,.tn-public-app,.tn-market-main,.tn-public-main,.tn-modal,.tn-modal *{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important}
.tn-plan p,.tn-plan small{white-space:pre-line!important;word-break:normal!important}.tn-plan p br,.tn-plan small br{display:block!important}
.tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box!important}.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:90vw!important;max-width:90vw!important;max-height:88vh!important;overflow:auto!important;margin:0!important}.tn-modal-backdrop{position:fixed!important;inset:0!important}
.tn-product-list.tn-simple-list{display:flex!important;flex-direction:column!important;gap:0!important;border:1px solid var(--tn-border)!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important}.tn-product-simple-row{display:grid!important;grid-template-columns:86px 92px minmax(250px,1.7fr) minmax(150px,.8fr) minmax(130px,.7fr) minmax(160px,.8fr)!important;gap:14px!important;align-items:center!important;border:0!important;border-bottom:1px solid var(--tn-border)!important;border-radius:0!important;padding:12px 14px!important;background:#fff!important}.tn-product-simple-row:last-child{border-bottom:0!important}.tn-product-simple-row:hover{background:#fffafa!important}.tn-product-simple-thumb img{width:92px!important;height:70px!important;object-fit:cover!important;border-radius:12px!important;background:#f3f4f6!important}.tn-product-simple-thumb:empty{display:block;width:92px;height:70px;border-radius:12px;background:#f3f4f6}.tn-product-simple-main strong{font-size:15px!important;line-height:1.35!important}.tn-product-simple-spec b{font-size:15px!important}.tn-product-simple-actions{justify-content:flex-end!important}.tn-pagination{display:flex;gap:8px;justify-content:flex-end;margin:14px 0 0}.tn-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid var(--tn-border);border-radius:999px;text-decoration:none;color:var(--tn-wine);background:#fff;font-weight:700}.tn-pagination a.active{background:var(--tn-wine);border-color:var(--tn-wine);color:#fff}.tn-compare-img{width:120px!important;height:90px!important;object-fit:cover!important;border-radius:12px!important;display:block}.tn-compare-table td{min-width:180px}.tn-compare-table th{white-space:nowrap}.tn-detail-side{z-index:5}
@media(max-width:860px){.tn-market-app,.tn-public-app{padding-left:0!important;padding-top:56px!important}.tn-mobile-menu{display:flex!important;position:fixed!important;left:0!important;right:0!important;top:0!important;width:100%!important;height:56px!important;border-radius:0!important;z-index:100002!important;align-items:center!important;justify-content:flex-start!important;padding:0 16px!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--tn-border)!important;box-shadow:0 10px 25px rgba(0,0,0,.08)!important}.tn-mobile-menu:before{content:'☰  TimNhao'!important;font-size:16px!important;font-weight:800!important;color:#111!important}.tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;border-radius:0!important;padding:12px!important;z-index:100001!important}.tn-market-app.sidebar-open .tn-market-sidebar,.tn-public-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important}.tn-market-main,.tn-public-main{padding:16px 10px 88px!important}.tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important}.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;margin:0!important}.tn-product-simple-row{grid-template-columns:28px 74px minmax(0,1fr)!important;gap:10px!important}.tn-product-simple-spec,.tn-product-simple-member,.tn-product-simple-actions{grid-column:3!important}.tn-product-simple-thumb img,.tn-product-simple-thumb:empty{width:74px!important;height:58px!important;border-radius:10px!important}.tn-product-simple-actions{justify-content:flex-start!important}.tn-detail-side{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:99999!important;background:#fff!important;border-top:1px solid var(--tn-border)!important;box-shadow:0 -12px 40px rgba(0,0,0,.12)!important;padding:10px!important}.tn-detail-side .tn-seller-box{border:0!important;box-shadow:none!important;padding:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:center!important}.tn-detail-side .tn-seller-box h3{margin:0!important;font-size:14px!important}.tn-detail-side .tn-seller-avatar,.tn-detail-side .tn-muted{display:none!important}.tn-detail-side .tn-btn{margin:0!important;white-space:nowrap!important;padding:10px 12px!important}.tn-pagination{justify-content:center}.tn-compare-table{min-width:760px!important}.tn-compare-img{width:100px!important;height:76px!important}}

/* v1.3.0: edit from public detail, wider smart forms, UX Builder-friendly base */
.tn-market-app,.tn-public-app,.tn-market-main,.tn-public-main,.tn-card,.tn-modal,.tn-modal *{
  font-family: inherit !important;
}
.tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;overflow:hidden!important;}
.tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-modal-compare{
  width:90vw!important;max-width:90vw!important;min-width:0!important;max-height:88vh!important;overflow:auto!important;box-sizing:border-box!important;margin:0!important;
}
.tn-modal-box form{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.tn-smart-form input,.tn-smart-form select,.tn-smart-form textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
.tn-smart-form > input[type="hidden"]{display:none!important;}
.tn-project-form-layout{
  display:grid!important;grid-template-columns:160px minmax(0,1fr) 160px minmax(0,1fr)!important;gap:12px 16px!important;align-items:center!important;
}
.tn-project-form-layout label{margin:0!important;font-weight:700!important;color:#5b3541!important;}
.tn-project-form-layout .tn-hint,.tn-project-form-layout .tn-modal-actions,.tn-project-form-layout .tn-form-grid{grid-column:1/-1!important;}
.tn-project-form-layout textarea{min-height:92px!important;}
.tn-product-form-layout .tn-form-panel.active{
  display:grid!important;grid-template-columns:160px minmax(0,1fr) 160px minmax(0,1fr)!important;gap:12px 16px!important;align-items:center!important;
}
.tn-product-form-layout .tn-form-panel:not(.active){display:none!important;}
.tn-product-form-layout .tn-form-panel label{margin:0!important;font-weight:700!important;color:#5b3541!important;}
.tn-product-form-layout .tn-form-tabs,.tn-product-form-layout .tn-modal-actions,.tn-product-form-layout .tn-selected-project{grid-column:1/-1!important;}
.tn-product-form-layout .tn-hint,.tn-product-form-layout .tn-form-grid{grid-column:1/-1!important;}
.tn-product-form-layout textarea{min-height:96px!important;}
.tn-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.tn-form-grid p{margin:0!important;}
.tn-form-grid label{display:block!important;margin:0 0 6px!important;}
.tn-detail-side .tn-seller-box .tn-btn[data-tn-edit-project],.tn-detail-side .tn-seller-box .tn-btn[data-tn-edit-product]{cursor:pointer!important;}
@media(max-width:860px){
  .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  .tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
  .tn-project-form-layout,.tn-product-form-layout .tn-form-panel.active{grid-template-columns:1fr!important;gap:8px!important;}
  .tn-form-grid{grid-template-columns:1fr!important;}
}

/* v1.3.1: default font, cleaner package/payment, new account menus */
.tn-market-app,.tn-public-app,.tn-market-main,.tn-public-main,.tn-card,.tn-table-card,.tn-modal,.tn-modal *{
  font-family: inherit !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.tn-plan p,.tn-plan small{white-space:pre-line!important;line-height:1.55!important;overflow-wrap:anywhere!important;}
.tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;overflow:hidden!important;}
.tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-box.tn-modal-wide,.tn-modal-compare{
  width:90vw!important;max-width:90vw!important;min-width:0!important;max-height:88vh!important;overflow:auto!important;margin:0!important;box-sizing:border-box!important;
}
.tn-upgrade-combined .tn-plan-grid-view .tn-plan{cursor:pointer;display:block;background:#fff;min-height:190px;}
.tn-upgrade-combined .tn-plan input{margin-right:8px;}
.tn-payment-note{margin-top:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:12px;color:#7c2d12;}
.tn-account-row{display:flex;gap:16px;align-items:flex-start}.tn-account-avatar img,.tn-account-avatar-preview img{border-radius:999px}.tn-account-row .tn-info-list{flex:1}
.tn-market-sidebar button,.tn-market-sidebar a{white-space:nowrap;}
@media(max-width:860px){
  .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  .tn-modal-box,.tn-modal-box:not(.tn-modal-wide),.tn-modal-box.tn-modal-wide,.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
  .tn-account-row{display:block}.tn-account-avatar{margin-bottom:10px}.tn-upgrade-combined .tn-plan-grid-view{grid-template-columns:1fr!important;}
}

/* v1.3.2: modal QR + chống scroll ngang triệt để */
.tn-modal.open{overflow:hidden!important;padding:24px!important;box-sizing:border-box!important;}
.tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-payment-modal,.tn-modal-compare{
  width:min(90vw,1280px)!important;
  max-width:90vw!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.tn-modal-box *{box-sizing:border-box!important;max-width:100%;}
.tn-upgrade-combined{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
.tn-upgrade-combined .tn-plan-grid-view{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;min-width:0!important;}
.tn-upgrade-combined .tn-plan{min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important;}
.tn-payment-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;align-items:start!important;margin-top:12px!important;}
.tn-payment-grid p{margin:0!important;min-width:0!important;}
.tn-payment-grid select,.tn-payment-grid input{width:100%!important;min-width:0!important;}
.tn-payment-summary{margin-top:12px;padding:14px;border:1px solid var(--tn-border);border-radius:14px;background:#fff7f9;overflow-wrap:anywhere;}
.tn-market-qr{margin-top:12px;padding:14px;border:1px dashed var(--tn-border);border-radius:14px;background:#fff;display:flex;gap:14px;align-items:center;flex-wrap:wrap;}
.tn-market-qr img{width:180px!important;height:auto!important;border-radius:12px!important;border:1px solid var(--tn-border)!important;background:#fff;}
.tn-market-qr.tn-qr-muted{opacity:.75;}
.tn-market-qr.tn-qr-muted img{display:none!important;}
@media(max-width:860px){
  .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  .tn-modal-box,.tn-modal-box.tn-modal-wide,.tn-payment-modal,.tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
  .tn-upgrade-combined .tn-plan-grid-view,.tn-payment-grid{grid-template-columns:1fr!important;}
}

/* v1.3.3: fix fatal-route side effects + no horizontal modal scroll */
html body .tn-modal.open{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:24px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body .tn-modal-box,
html body .tn-modal-box.tn-modal-wide,
html body .tn-payment-modal,
html body .tn-modal-compare{
  width:min(90vw,1200px)!important;
  max-width:min(90vw,1200px)!important;
  min-width:0!important;
  max-height:88vh!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
  margin:0!important;
}
html body .tn-modal-box *,
html body .tn-upgrade-combined,
html body .tn-plan-grid-view,
html body .tn-payment-grid{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html body .tn-upgrade-combined .tn-plan-grid-view{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
}
html body .tn-plan p,
html body .tn-plan small{
  white-space:pre-line!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
html body .tn-payment-grid{grid-template-columns:1fr 1fr!important;}
@media(max-width:860px){
  html body .tn-modal.open{align-items:flex-start!important;padding:66px 8px 12px!important;}
  html body .tn-modal-box,
  html body .tn-modal-box.tn-modal-wide,
  html body .tn-payment-modal,
  html body .tn-modal-compare{
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    max-height:calc(100vh - 82px)!important;
  }
  html body .tn-upgrade-combined .tn-plan-grid-view,
  html body .tn-payment-grid{grid-template-columns:1fr!important;}
}

/* v1.4.2: compact project/product list, working compare/bookmark */
html body .tn-public-app, html body .tn-public-app *{font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;}
.tn-product-list-card{padding:14px!important;}
.tn-product-simple-list{display:block!important;border:1px solid var(--tn-border,#eadde2)!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important;}
.tn-product-simple-row{display:grid!important;grid-template-columns:92px minmax(170px,1.35fr) minmax(135px,.85fr) minmax(100px,.65fr) auto!important;gap:10px!important;align-items:center!important;padding:10px 12px!important;border-bottom:1px solid var(--tn-border,#eadde2)!important;background:#fff!important;min-width:0!important;}
.tn-product-simple-row:last-child{border-bottom:0!important;}
.tn-compare-check{display:flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;color:#5b3541!important;margin:0!important;white-space:nowrap!important;}
.tn-compare-check input{width:16px!important;height:16px!important;margin:0!important;}
.tn-product-simple-thumb{display:none!important;}
.tn-product-simple-main,.tn-product-simple-spec,.tn-product-simple-member,.tn-product-simple-actions{min-width:0!important;}
.tn-product-simple-main strong{display:block!important;font-size:14px!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#2f1b22!important;}
.tn-product-simple-main span,.tn-product-simple-spec span,.tn-product-simple-member small{display:block!important;font-size:12px!important;color:#7b6470!important;line-height:1.35!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.tn-product-simple-spec b{display:block!important;font-size:14px!important;line-height:1.35!important;color:#7a1f3d!important;}
.tn-product-simple-member b{font-size:13px!important;display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.tn-product-simple-actions{display:flex!important;gap:6px!important;justify-content:flex-end!important;flex-wrap:nowrap!important;}
.tn-mini-call,.tn-mini-zalo,.tn-mini-lock{border:1px solid var(--tn-border,#eadde2)!important;border-radius:10px!important;padding:7px 9px!important;font-size:12px!important;line-height:1!important;text-decoration:none!important;background:#fff!important;color:#4a2633!important;white-space:nowrap!important;}
.tn-mini-call{background:#7a1f3d!important;color:#fff!important;border-color:#7a1f3d!important;}
.tn-project-info-compact{padding:0!important;overflow:hidden!important;}
.tn-project-info-compact summary{cursor:pointer!important;padding:14px 16px!important;font-weight:700!important;color:#3d222d!important;list-style:none!important;border-bottom:1px solid var(--tn-border,#eadde2)!important;}
.tn-project-info-compact summary::-webkit-details-marker{display:none!important;}
.tn-project-info-compact summary:after{content:'+';float:right;font-size:18px!important;}
.tn-project-info-compact[open] summary:after{content:'–';}
.tn-project-info-body{padding:14px 16px!important;}
.tn-toast-live{position:fixed!important;right:18px!important;bottom:18px!important;z-index:999999!important;background:#2f1b22!important;color:#fff!important;padding:11px 14px!important;border-radius:12px!important;box-shadow:0 16px 42px rgba(0,0,0,.22)!important;opacity:0!important;transform:translateY(12px)!important;transition:.22s ease!important;font-size:14px!important;max-width:min(360px,calc(100vw - 32px))!important;}
.tn-toast-live.show{opacity:1!important;transform:translateY(0)!important;}
.tn-toast-live.error{background:#b42318!important;}
.tn-save-form button.saved{background:#fff0f3!important;color:#7a1f3d!important;border-color:#f1b4c4!important;}
html body .tn-modal.open{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:24px!important;}
html body .tn-modal-box,html body .tn-modal-compare{width:min(90vw,1200px)!important;max-width:min(90vw,1200px)!important;overflow-x:hidden!important;box-sizing:border-box!important;}
html body .tn-modal-box *{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;}
.tn-compare-table-wrap{width:100%!important;overflow:auto!important;}
.tn-compare-table{width:100%!important;min-width:680px!important;border-collapse:collapse!important;}
.tn-compare-table th,.tn-compare-table td{border:1px solid var(--tn-border,#eadde2)!important;padding:10px!important;vertical-align:top!important;font-size:13px!important;}
.tn-compare-table th{width:150px!important;background:#fff7f9!important;text-align:left!important;color:#5b3541!important;}
.tn-compare-img{width:120px!important;height:90px!important;object-fit:cover!important;border-radius:12px!important;}
@media(max-width:860px){
  .tn-product-simple-row{grid-template-columns:34px minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important;}
  .tn-compare-check span{display:none!important;}
  .tn-product-simple-main{grid-column:2/3!important;}
  .tn-product-simple-spec{grid-column:2/3!important;}
  .tn-product-simple-member{display:none!important;}
  .tn-product-simple-actions{grid-column:3/4!important;grid-row:1/3!important;flex-direction:column!important;align-items:stretch!important;}
  .tn-mini-call,.tn-mini-zalo,.tn-mini-lock{padding:7px 8px!important;text-align:center!important;}
  html body .tn-modal.open{align-items:flex-start!important;padding:64px 8px 12px!important;}
  html body .tn-modal-box,html body .tn-modal-compare{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 82px)!important;}
}
/* v1.4.3: persisted saved state + clearer admin approval status */
.tn-save-form .saved{background:#fff1f2!important;border-color:#fecdd3!important;color:#be123c!important}
.tn-admin-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:600;background:#f1f5f9;color:#334155}
.tn-admin-status.tn-status-approved{background:#dcfce7;color:#166534}
.tn-admin-status.tn-status-pending{background:#fef3c7;color:#92400e}
.tn-admin-status.tn-status-rejected{background:#fee2e2;color:#991b1b}
tr.tn-admin-approved-row td{background:#fafafa;color:#64748b}

/* TimNhao v1.7.5 - Stable dashboard home layout system */
body .tn-home-shell-v175{display:block!important;min-height:100vh!important;background:#f7f3f5!important;padding-left:256px!important;overflow:visible!important;border-radius:0!important;font-family:inherit!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:0!important;}
body .tn-home-shell-v175, body .tn-home-shell-v175 *{box-sizing:border-box!important;letter-spacing:normal!important;text-transform:none!important;}
body .tn-home-shell-v175 .tn-market-sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:256px!important;height:100vh!important;z-index:10000!important;background:#fff!important;border-right:1px solid var(--tn-border)!important;display:flex!important;flex-direction:column!important;padding:16px!important;gap:8px!important;overflow-y:auto!important;transform:none!important;box-shadow:none!important;}
body.admin-bar .tn-home-shell-v175 .tn-market-sidebar{top:32px!important;height:calc(100vh - 32px)!important;}
body .tn-home-shell-v175 .tn-market-main, body .tn-home-shell-v175 .tn-home-main-shell{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:18px!important;background:#f7f3f5!important;overflow:visible!important;}
body .tn-home-layout-v175{width:100%!important;max-width:1680px!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;}
body .tn-home-topnote{display:inline-flex!important;align-self:flex-start!important;background:#7b1231!important;color:#fff!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:800!important;}
body .tn-home-columns-v175{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:18px!important;align-items:start!important;width:100%!important;min-width:0!important;}
body .tn-home-center-v175{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;width:100%!important;}
body .tn-home-right-v175{min-width:0!important;width:100%!important;}
body .tn-home-right-v175 .tn-home-rank-side{position:sticky!important;top:18px!important;width:100%!important;margin:0!important;}
body .tn-home-shell-v175 .tn-card, body .tn-home-shell-v175 .tn-home-user-hero{width:100%!important;max-width:none!important;margin:0!important;overflow:hidden!important;}
body .tn-home-shell-v175 .tn-home-user-hero{padding:0!important;}
body .tn-home-shell-v175 .tn-home-hero-bg{width:100%!important;min-height:260px!important;padding:28px 32px!important;border-radius:22px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;overflow:hidden!important;}
body .tn-home-shell-v175 .tn-home-hero-bg h1{font-size:clamp(30px,4vw,56px)!important;line-height:1.05!important;margin:8px 0!important;white-space:normal!important;}
body .tn-home-shell-v175 .tn-home-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr))!important;gap:10px!important;min-width:320px!important;max-width:460px!important;width:auto!important;}
body .tn-home-shell-v175 .tn-home-search .tn-home-filter{display:grid!important;grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(130px,1fr)) auto!important;gap:10px!important;align-items:center!important;width:100%!important;}
body .tn-home-shell-v175 .tn-home-search input, body .tn-home-shell-v175 .tn-home-search select{min-width:0!important;width:100%!important;}
body .tn-home-shell-v175 .tn-home-grid-compact{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:12px!important;}
body .tn-home-shell-v175 .tn-home-product-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) 110px 80px!important;gap:10px!important;align-items:center!important;}
body .tn-home-shell-v175 .tn-home-rank-side{box-shadow:0 18px 55px rgba(55,26,38,.08)!important;border-radius:18px!important;}
body .tn-home-shell-v175 .tn-rank-mini{display:grid!important;grid-template-columns:32px 36px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;}
body .tn-home-shell-v175 .tn-sponsor-mini{grid-template-columns:32px 36px minmax(0,1fr)!important;}
body .tn-home-shell-v175 .tn-sponsor-mini b, body .tn-home-shell-v175 .tn-sponsor-zalo{grid-column:3!important;justify-self:start!important;text-align:left!important;}
@media(max-width:1200px){body .tn-home-columns-v175{grid-template-columns:1fr!important;}body .tn-home-right-v175 .tn-home-rank-side{position:relative!important;top:auto!important;}body .tn-home-shell-v175 .tn-home-hero-bg{align-items:flex-start!important;flex-direction:column!important;}body .tn-home-shell-v175 .tn-home-hero-stats{min-width:0!important;max-width:none!important;width:100%!important;}}
@media(max-width:860px){body .tn-home-shell-v175{padding-left:0!important;padding-top:56px!important;}body .tn-home-shell-v175 .tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:100001!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important;}body .tn-home-shell-v175.sidebar-open .tn-market-sidebar{transform:translateX(0)!important;}body .tn-home-shell-v175 .tn-home-main-shell{padding:14px 10px 88px!important;}body .tn-home-shell-v175 .tn-home-search .tn-home-filter{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row{grid-template-columns:88px minmax(0,1fr)!important;}body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(3),body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(4){grid-column:2!important;color:var(--tn-muted)!important;font-size:13px!important;}body .tn-home-shell-v175 .tn-home-hero-bg{min-height:260px!important;padding:20px!important;border-radius:18px!important;}body .tn-home-shell-v175 .tn-home-hero-stats{grid-template-columns:1fr 1fr!important;}}
@media(max-width:520px){body .tn-home-shell-v175 .tn-home-hero-stats{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row{grid-template-columns:1fr!important;}body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(3),body .tn-home-shell-v175 .tn-home-product-row>span:nth-child(4){grid-column:auto!important;}body .tn-home-shell-v175 .tn-home-code{width:max-content!important;text-align:left!important;}}


/* TimNhao v1.7.6 desktop home layout hard fix */
html body .tn-home-shell-v175{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  width:100vw!important;
  max-width:100vw!important;
  min-height:100vh!important;
  padding-left:256px!important;
  background:#f7f3f5!important;
  overflow-x:hidden!important;
  border-radius:0!important;
}
html body .tn-home-shell-v175 .tn-home-main-shell,
html body .tn-home-shell-v175 .tn-market-main{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:24px!important;
  margin:0!important;
  overflow:visible!important;
}
html body .tn-home-shell-v175 .tn-home-layout-v175{
  max-width:1600px!important;
  width:100%!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
html body .tn-home-shell-v175 .tn-home-columns-v175{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  gap:18px!important;
  align-items:start!important;
  width:100%!important;
}
html body .tn-home-shell-v175 .tn-home-center-v175,
html body .tn-home-shell-v175 .tn-home-right-v175{
  min-width:0!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-card,
html body .tn-home-shell-v175 .tn-home-user-hero,
html body .tn-home-shell-v175 .tn-home-search{
  width:100%!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-home-hero-bg{
  display:flex!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  align-items:flex-end!important;
  min-height:260px!important;
  width:100%!important;
  max-width:none!important;
}
html body .tn-home-shell-v175 .tn-home-hero-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(130px,1fr))!important;
  gap:12px!important;
  width:min(460px,42%)!important;
  min-width:280px!important;
}
html body .tn-home-shell-v175 .tn-home-filter{
  display:grid!important;
  grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(140px,1fr)) auto!important;
  gap:10px!important;
  align-items:center!important;
}
html body .tn-home-shell-v175 .tn-home-filter input,
html body .tn-home-shell-v175 .tn-home-filter select,
html body .tn-home-shell-v175 .tn-home-filter button{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
@media(max-width:1200px){
  html body .tn-home-shell-v175 .tn-home-columns-v175{grid-template-columns:1fr!important;}
  html body .tn-home-shell-v175 .tn-home-hero-bg{flex-direction:column!important;align-items:flex-start!important;}
  html body .tn-home-shell-v175 .tn-home-hero-stats{width:100%!important;min-width:0!important;}
}
@media(max-width:860px){
  html body .tn-home-shell-v175{
    left:auto!important;right:auto!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-top:56px!important;
  }
  html body .tn-home-shell-v175 .tn-home-main-shell{padding:14px 10px 90px!important;}
  html body .tn-home-shell-v175 .tn-home-filter{grid-template-columns:1fr!important;}
}

/* TimNhao v1.7.8 project quick product search */
.tn-project-product-search{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:center;margin:12px 0 14px}
.tn-project-product-search input{width:100%;border:1px solid #ead1da;border-radius:14px;padding:12px 14px;background:#fff;box-sizing:border-box}
.tn-project-product-search .tn-btn{white-space:nowrap}
@media(max-width:760px){.tn-project-product-search{grid-template-columns:1fr}.tn-project-product-search .tn-btn{width:100%}}

/* TimNhao v1.7.9 public sale product page */
.tn-sale-public-page{display:grid;gap:18px}
.tn-sale-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(240px,320px);gap:18px;align-items:center;background:linear-gradient(135deg,#fff,#fff5f8);border:1px solid #ead1da;border-radius:24px;padding:22px;box-shadow:0 18px 50px rgba(123,18,49,.08)}
.tn-sale-avatar img{width:92px;height:92px;border-radius:24px;object-fit:cover;border:1px solid #ead1da;background:#fff}
.tn-sale-info h1{margin:10px 0 8px;font-size:34px;line-height:1.08;color:#241018}
.tn-sale-info p{margin:0;color:#77646b;font-size:15px}
.tn-sale-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.tn-sale-meta span{display:inline-flex;border:1px solid #ead1da;background:#fff;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:800;color:#7b1231}
.tn-sale-actions{display:grid;gap:10px}
.tn-sale-share-input,.tn-share-url input{width:100%;box-sizing:border-box;border:1px solid #ead1da;border-radius:14px;padding:11px 12px;background:#fff;color:#5a0d24;font-size:13px}
.tn-share-url{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 0;color:#77646b;font-size:13px}.tn-share-url span{font-weight:800;color:#241018}.tn-share-url input{max-width:420px}
.tn-sale-filter-card{padding:14px!important}.tn-sale-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:1100px){.tn-sale-hero{grid-template-columns:auto minmax(0,1fr)}.tn-sale-actions{grid-column:1/-1}.tn-sale-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.tn-sale-hero{grid-template-columns:1fr;text-align:left;padding:16px}.tn-sale-info h1{font-size:28px}.tn-sale-product-grid{grid-template-columns:1fr}.tn-share-url{display:block}.tn-share-url input{margin-top:8px;max-width:none}}

/* v1.8.0 - sale public product filters */
.tn-sale-filter-form{display:block}
.tn-sale-filter-grid{display:grid;grid-template-columns:1.2fr 1fr .85fr .85fr .75fr auto;gap:12px;align-items:end}
.tn-sale-filter-grid p{margin:0}
.tn-sale-filter-grid label{display:block;font-size:12px;font-weight:700;margin-bottom:6px;color:#6b7280}
.tn-sale-filter-grid input,.tn-sale-filter-grid select{width:100%;min-height:42px}
.tn-sale-filter-actions{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
@media(max-width:980px){.tn-sale-filter-grid{grid-template-columns:1fr 1fr}.tn-sale-filter-actions{grid-column:1/-1}}
@media(max-width:640px){.tn-sale-filter-grid{grid-template-columns:1fr}.tn-sale-filter-actions .tn-btn{width:100%}}


/* v1.8.1 - Sale public profile fixes */
.tn-sale-public-page{max-width:1180px;margin:0 auto;padding:16px!important;}
.tn-sale-public-page .tn-sale-hero{display:grid!important;grid-template-columns:96px minmax(0,1fr) 320px!important;gap:18px!important;align-items:center!important;background:#fff!important;border:1px solid #eadde2!important;border-radius:22px!important;padding:28px 22px!important;margin-bottom:18px!important;box-shadow:0 18px 45px rgba(72,31,48,.04)!important;}
.tn-sale-avatar img{width:92px!important;height:92px!important;border-radius:22px!important;object-fit:cover!important;}
.tn-sale-info h1{margin:10px 0 6px!important;font-size:32px!important;line-height:1.15!important;color:#16070c!important;}
.tn-sale-info p{margin:0 0 12px!important;color:#7b6470!important;}
.tn-sale-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;}
.tn-sale-meta span{display:inline-flex!important;align-items:center!important;border:1px solid #eadde2!important;border-radius:999px!important;padding:8px 12px!important;background:#fff!important;color:#8a123d!important;font-weight:800!important;font-size:13px!important;}
.tn-sale-actions{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;}
.tn-sale-share-input{width:100%!important;box-sizing:border-box!important;border:1px solid #eadde2!important;border-radius:12px!important;padding:12px!important;color:#8a123d!important;background:#fff!important;}
.tn-sale-filter-card{margin-bottom:18px!important;border-radius:18px!important;padding:18px!important;}
.tn-sale-filter-grid-v181{display:grid!important;grid-template-columns:minmax(190px,1.1fr) 150px 130px minmax(260px,1.4fr) auto!important;gap:14px!important;align-items:end!important;}
.tn-sale-filter-grid-v181 p,.tn-sale-filter-grid-v181 .tn-price-range-field{margin:0!important;min-width:0!important;}
.tn-price-range-field label,.tn-sale-filter-grid-v181 label{display:block!important;font-size:12px!important;font-weight:800!important;color:#6b5560!important;margin:0 0 8px!important;}
.tn-price-range-label{display:flex!important;justify-content:space-between!important;gap:10px!important;font-size:12px!important;font-weight:800!important;color:#8a123d!important;margin-bottom:4px!important;}
.tn-price-range{position:relative!important;height:36px!important;background:linear-gradient(#eadde2,#eadde2) center/100% 4px no-repeat!important;border-radius:999px!important;}
.tn-price-range input[type=range]{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:36px!important;padding:0!important;margin:0!important;background:transparent!important;pointer-events:none!important;-webkit-appearance:none!important;appearance:none!important;border:0!important;}
.tn-price-range input[type=range]::-webkit-slider-thumb{pointer-events:auto!important;-webkit-appearance:none!important;appearance:none!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#8a123d!important;border:3px solid #fff!important;box-shadow:0 4px 12px rgba(138,18,61,.28)!important;cursor:pointer!important;}
.tn-price-range input[type=range]::-moz-range-thumb{pointer-events:auto!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#8a123d!important;border:3px solid #fff!important;box-shadow:0 4px 12px rgba(138,18,61,.28)!important;cursor:pointer!important;}
.tn-price-range-field small{display:block!important;color:#7b6470!important;font-size:12px!important;margin-top:2px!important;}
.tn-sale-product-list{display:block!important;border:1px solid #eadde2!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important;}
.tn-sale-product-list .tn-product-simple-row{display:grid!important;grid-template-columns:86px 96px minmax(220px,1.5fr) minmax(150px,.85fr) minmax(120px,.65fr) minmax(130px,.7fr)!important;gap:14px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-bottom:1px solid #eadde2!important;border-radius:0!important;padding:12px 14px!important;background:#fff!important;}
.tn-sale-product-list .tn-product-simple-row:last-child{border-bottom:0!important;}
.tn-sale-product-list .tn-product-simple-thumb{display:block!important;}
.tn-sale-product-list .tn-product-simple-thumb img{display:block!important;width:96px!important;height:72px!important;object-fit:cover!important;border-radius:12px!important;background:#f3f4f6!important;}
.tn-sale-product-list .tn-product-simple-main strong,.tn-sale-product-list .tn-product-simple-main span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
.tn-sale-product-list .tn-product-simple-actions{display:flex!important;gap:8px!important;justify-content:flex-end!important;flex-wrap:wrap!important;}
@media(max-width:1080px){.tn-sale-public-page .tn-sale-hero{grid-template-columns:86px minmax(0,1fr)!important}.tn-sale-actions{grid-column:1/-1!important}.tn-sale-filter-grid-v181{grid-template-columns:1fr 1fr!important}.tn-price-range-field,.tn-sale-filter-actions{grid-column:1/-1!important}.tn-sale-product-list .tn-product-simple-row{grid-template-columns:34px 82px minmax(0,1fr) auto!important}.tn-sale-product-list .tn-product-simple-spec,.tn-sale-product-list .tn-product-simple-member{grid-column:3/4!important}.tn-sale-product-list .tn-product-simple-actions{grid-column:4/5!important;grid-row:1/4!important;flex-direction:column!important}.tn-sale-product-list .tn-product-simple-thumb img{width:82px!important;height:62px!important}}
@media(max-width:640px){.tn-sale-public-page{padding:10px!important}.tn-sale-public-page .tn-sale-hero{grid-template-columns:72px minmax(0,1fr)!important;padding:16px!important;border-radius:18px!important}.tn-sale-avatar img{width:72px!important;height:72px!important;border-radius:18px!important}.tn-sale-info h1{font-size:24px!important}.tn-sale-filter-grid-v181{grid-template-columns:1fr!important}.tn-sale-product-list .tn-product-simple-row{grid-template-columns:30px minmax(0,1fr)!important}.tn-sale-product-list .tn-product-simple-thumb{display:none!important}.tn-sale-product-list .tn-product-simple-main,.tn-sale-product-list .tn-product-simple-spec{grid-column:2!important}.tn-sale-product-list .tn-product-simple-member{display:none!important}.tn-sale-product-list .tn-product-simple-actions{grid-column:2!important;grid-row:auto!important;flex-direction:row!important;justify-content:flex-start!important}.tn-sale-filter-actions .tn-btn{width:100%!important}}

/* v1.8.2: sale profile list refinements */
.tn-sale-product-list .tn-product-simple-direction small{color:#7b6470!important;}
.tn-sale-product-list .tn-product-simple-direction b{color:#111827!important;font-size:14px!important;}
.tn-sale-product-list .tn-price-range-label span{min-width:86px!important;}

/* v1.8.4 - share sale products by project */
.tn-project-share-list{margin-top:12px;display:grid;gap:8px;max-width:760px}
.tn-project-share-list>strong{font-size:13px;color:#8f0d3d}
.tn-project-share-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(220px,2fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid rgba(143,13,61,.16);border-radius:14px;background:#fff}
.tn-project-share-row span{font-weight:700;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tn-project-share-row input{height:36px;border:1px solid rgba(143,13,61,.18);border-radius:12px;padding:0 10px;color:#8f0d3d;background:#fff9fb}
.tn-sale-project-context{margin:14px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
@media(max-width:720px){.tn-project-share-row{grid-template-columns:1fr}.tn-project-share-row input{width:100%}}
/* v1.8.4 - project table share controls */
.tn-project-share-cell{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:6px;align-items:center;min-width:320px}
.tn-project-share-cell input{height:34px;border:1px solid rgba(143,13,61,.18);border-radius:12px;padding:0 10px;color:#8f0d3d;background:#fff9fb;font-size:12px}
@media(max-width:720px){.tn-project-share-cell{grid-template-columns:1fr;min-width:0}.tn-project-share-cell input{width:100%}}

/* TimNhao v1.9.0: ensure same mobile topbar in marketplace/public pages */
.tn-mobile-topbar{display:none!important;}
@media(max-width:1024px){
  html body .tn-mobile-topbar{display:grid!important;grid-template-columns:56px minmax(0,1fr) 56px!important;align-items:center!important;position:fixed!important;top:0!important;left:0!important;right:0!important;height:56px!important;z-index:100005!important;background:#fff!important;border-bottom:1px solid var(--tn-border,#ead8df)!important;box-shadow:0 10px 28px rgba(33,21,26,.08)!important;}
  html body.admin-bar .tn-mobile-topbar{top:32px!important;}
  html body .tn-mobile-topbar .tn-mobile-menu{display:flex!important;position:static!important;width:56px!important;height:56px!important;min-width:56px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;align-items:center!important;justify-content:center!important;font-size:25px!important;color:var(--tn-text,#21151a)!important;line-height:1!important;}
  html body .tn-mobile-topbar .tn-mobile-menu:before{content:''!important;display:none!important;}
  html body .tn-mobile-logo{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;color:var(--tn-text,#21151a)!important;text-decoration:none!important;font-weight:900!important;}
  html body .tn-mobile-logo img{width:30px!important;height:30px!important;border-radius:9px!important;object-fit:cover!important;display:block!important;}
  html body .tn-mobile-logo span:not(.tn-logo-mark){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;border-radius:9px!important;background:var(--tn-wine,#7b1231)!important;color:#fff!important;font-weight:900!important;}
  html body .tn-mobile-logo strong{font-size:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:180px!important;}
  html body .tn-mobile-search{display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;text-decoration:none!important;color:var(--tn-text,#21151a)!important;font-size:30px!important;font-weight:900!important;line-height:1!important;}
  html body .tn-home-shell-v175,html body .tn-market-app,html body .tn-public-app{padding-left:0!important;padding-top:56px!important;}
  html body.admin-bar .tn-home-shell-v175 .tn-market-sidebar,html body.admin-bar .tn-market-sidebar{top:88px!important;height:calc(100vh - 88px)!important;}
  html body .tn-home-shell-v175 .tn-market-sidebar,html body .tn-market-sidebar{top:56px!important;left:0!important;height:calc(100vh - 56px)!important;width:86vw!important;max-width:340px!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;z-index:100004!important;box-shadow:30px 0 80px rgba(0,0,0,.25)!important;border-right:1px solid var(--tn-border,#ead8df)!important;border-bottom:0!important;padding:12px!important;overflow:auto!important;background:#fff!important;}
  html body .tn-home-shell-v175.sidebar-open .tn-market-sidebar,html body .tn-market-app.sidebar-open .tn-market-sidebar,html body .tn-public-app.sidebar-open .tn-market-sidebar{transform:translateX(0)!important;}
  html body .tn-market-main,html body .tn-public-main,html body .tn-home-shell-v175 .tn-home-main-shell{padding-top:14px!important;}
}
@media(max-width:782px){html body.admin-bar .tn-mobile-topbar{top:46px!important;}html body.admin-bar .tn-home-shell-v175 .tn-market-sidebar,html body.admin-bar .tn-market-sidebar{top:102px!important;height:calc(100vh - 102px)!important;}}
@media(max-width:520px){html body .tn-mobile-logo strong{max-width:150px!important;font-size:15px!important;}}

/* TimNhao v1.9.2 - đồng bộ layout public/share/table/font */
html body.timnhao-public-app-body,
html body.timnhao-public-app-body *:not(.dashicons),
html body .tn-market-app,
html body .tn-market-app *:not(.dashicons){font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-sizing:border-box!important}
.tn-public-main,.tn-home-main-shell,.tn-market-main{font-family:inherit!important}.tn-public-detail,.tn-sale-public-page{font-family:inherit!important}.tn-market-head{gap:14px!important}.tn-social-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.tn-social-share span{font-size:13px;font-weight:800;color:#6b5560}.tn-social-share a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:999px;border:1px solid #eadde2;background:#fff;color:#8a123d!important;text-decoration:none!important;font-weight:900;font-size:13px;box-shadow:0 8px 22px rgba(72,31,48,.05)}.tn-social-share a:hover{background:#fff5f8;border-color:#d7a9b8}.tn-social-share .tn-share-facebook{background:#1877f2;color:#fff!important;border-color:#1877f2;font-family:Arial,sans-serif;font-size:18px}.tn-social-share .tn-share-zalo{background:#0068ff;color:#fff!important;border-color:#0068ff}.tn-social-share .tn-share-messenger{background:#f0f5ff;color:#0a58ca!important}.tn-social-share .tn-share-copy{background:#fff;color:#8a123d!important}.tn-sale-actions .tn-social-share{justify-content:flex-start;margin-top:0}.tn-sale-actions .tn-social-share span{width:100%;margin-bottom:-2px}.tn-table-card,.tn-card.tn-list-card,.tn-product-list-card,.tn-sale-product-list{border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important;overflow:hidden!important}.tn-table-card table,.tn-table,.tn-compare-table{width:100%!important;border-collapse:collapse!important;background:#fff!important}.tn-table-card th,.tn-table th,.tn-compare-table th{background:#fff5f8!important;color:#5f102b!important;font-size:12px!important;font-weight:900!important;text-align:left!important;padding:12px 14px!important;border-bottom:1px solid #eadde2!important;white-space:nowrap!important}.tn-table-card td,.tn-table td,.tn-compare-table td{padding:12px 14px!important;border-bottom:1px solid #f0e2e7!important;vertical-align:middle!important;color:#3f3036!important}.tn-table-card tr:last-child td,.tn-table tr:last-child td{border-bottom:0!important}.tn-product-simple-list:not(.tn-sale-product-list){border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important}.tn-product-simple-list:not(.tn-sale-product-list) .tn-product-simple-row{border:0!important;border-bottom:1px solid #f0e2e7!important;border-radius:0!important;margin:0!important}.tn-product-simple-list:not(.tn-sale-product-list) .tn-product-simple-row:last-child{border-bottom:0!important}.tn-event-list-card{font-family:inherit!important}.tn-public-detail .tn-card,.tn-public-detail .tn-seller-box,.tn-sale-filter-card{border:1px solid #eadde2!important;border-radius:18px!important;background:#fff!important;box-shadow:0 18px 45px rgba(72,31,48,.035)!important}@media(max-width:760px){.tn-social-share{gap:6px}.tn-social-share a{height:34px;min-width:34px}.tn-table-card{overflow-x:auto!important}.tn-table-card table,.tn-table{min-width:680px}.tn-market-head{display:block!important}.tn-market-head .tn-badge,.tn-market-head .tn-event-hot{margin-top:10px!important}}

/* TimNhao v2.0.0 - Flatsome native reset */
body:not(.wp-admin) .tn-mobile-topbar,
body:not(.wp-admin) .tn-market-sidebar,
body:not(.wp-admin) .tn-sidebar{display:none!important}
body:not(.wp-admin) .tn-market-app,
body:not(.wp-admin) .tn-public-app,
body:not(.wp-admin) .tn-dashboard{display:block!important;min-height:0!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body:not(.wp-admin) .tn-market-main,
body:not(.wp-admin) .tn-public-main,
body:not(.wp-admin) .tn-home-main-shell,
body:not(.wp-admin) .tn-main{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body:not(.wp-admin) .timnhao-flatsome-native{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;box-sizing:border-box!important;color:inherit!important;font-family:inherit!important}
body:not(.wp-admin) .timnhao-flatsome-native *{box-sizing:border-box!important;font-family:inherit!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-home-layout-v175,
body:not(.wp-admin) .tn-home-layout-v175{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-card,
body:not(.wp-admin) .timnhao-flatsome-native .tn-hero-card,
body:not(.wp-admin) .timnhao-flatsome-native .tn-seller-box,
body:not(.wp-admin) .timnhao-flatsome-native .tn-event-info-card{border-radius:12px!important;border:1px solid rgba(0,0,0,.08)!important;background:#fff!important;box-shadow:none!important;margin:0 0 20px!important;padding:20px!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-grid,
body:not(.wp-admin) .timnhao-flatsome-native .tn-home-grid,
body:not(.wp-admin) .timnhao-flatsome-native .tn-home-grid-compact,
body:not(.wp-admin) .timnhao-flatsome-native .tn-events-list-grid{gap:20px!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-btn{border-radius:6px!important;box-shadow:none!important;background:#8a123d!important;color:#fff!important;padding:10px 16px!important;line-height:1.2!important}
body:not(.wp-admin) .timnhao-flatsome-native .tn-btn-ghost{background:#fff!important;color:#8a123d!important;border:1px solid #8a123d!important}
body:not(.wp-admin) .timnhao-flatsome-native img{max-width:100%;height:auto}
body:not(.wp-admin) .timnhao-flatsome-native table{width:100%;display:table!important}
body:not(.wp-admin) .timnhao-flatsome-native input,
body:not(.wp-admin) .timnhao-flatsome-native select,
body:not(.wp-admin) .timnhao-flatsome-native textarea{max-width:100%!important;border-radius:6px!important}
@media(max-width:849px){body:not(.wp-admin) .timnhao-flatsome-native .tn-card,body:not(.wp-admin) .timnhao-flatsome-native .tn-hero-card{padding:14px!important;margin-bottom:14px!important}body:not(.wp-admin) .timnhao-flatsome-native .tn-table{display:block!important;overflow-x:auto!important;white-space:nowrap!important}}

/* TimNhao v2.0.1 - HOME Flatsome native hard override */
body:not(.wp-admin) .tn-home-native-page,
body:not(.wp-admin) .tn-home-native-page .tn-home-shell-v175,
body:not(.wp-admin) .tn-home-native-page .tn-market-app{display:block!important;width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important;border-radius:0!important;}
body:not(.wp-admin) .tn-home-native-page .tn-market-sidebar,body:not(.wp-admin) .tn-home-native-page .tn-mobile-topbar{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;position:absolute!important;left:-9999px!important;top:auto!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-main-shell,body:not(.wp-admin) .tn-home-native-page .tn-market-main{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-layout-v175{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:20px!important;background:transparent!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-columns-v175{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important;align-items:start!important;width:100%!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-center-v175{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;min-width:0!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-right-v175{width:100%!important;min-width:0!important;}
body:not(.wp-admin) .tn-home-native-page .tn-home-right-v175 .tn-home-rank-side{position:static!important;top:auto!important;}
body:not(.wp-admin) .tn-home-native-page .tn-card{margin:0 0 20px!important;}
@media(max-width:849px){body:not(.wp-admin) .tn-home-native-page .tn-home-columns-v175{grid-template-columns:1fr!important;}body:not(.wp-admin) .tn-home-native-page .tn-home-filter{grid-template-columns:1fr!important;}}

/* TimNhao v2.0.3 - clean Flatsome home layout, no plugin shell/sidebar */
body:not(.wp-admin) .timnhao-home-v203{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;clear:both!important;position:relative!important;left:auto!important;right:auto!important;transform:none!important;float:none!important;overflow:visible!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-market-app,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-shell-v175,
body:not(.wp-admin) .timnhao-home-v203 .tn-market-sidebar,
body:not(.wp-admin) .timnhao-home-v203 .tn-mobile-topbar{display:none!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-card,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-hero{width:100%!important;max-width:100%!important;margin:0 0 20px!important;padding:20px!important;border-radius:14px!important;background:#fff!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:none!important;overflow:hidden!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-hero{padding:0!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-bg{min-height:240px!important;border-radius:14px!important;padding:28px!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{display:grid!important;grid-template-columns:repeat(2,minmax(120px,1fr))!important;gap:10px!important;min-width:300px!important;max-width:430px!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;gap:20px!important;align-items:start!important;width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-content,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-aside{min-width:0!important;width:100%!important;margin:0!important;padding:0!important;display:block!important;position:static!important;float:none!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter{display:grid!important;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(130px,1fr)) auto!important;gap:10px!important;align-items:center!important;width:100%!important;margin:14px 0!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter input,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter select,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter button{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-grid-compact{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:14px!important;width:100%!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-product-row{display:grid!important;grid-template-columns:110px minmax(0,1fr) 110px 80px!important;gap:10px!important;align-items:center!important;width:100%!important;box-sizing:border-box!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side{position:static!important;top:auto!important;margin-bottom:20px!important}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-topnote{display:inline-flex!important;background:#8a123d!important;color:#fff!important;border-radius:999px!important;padding:7px 12px!important;font-weight:700!important;font-size:13px!important;margin:0 0 16px!important}
@media(max-width:1100px){body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{grid-template-columns:1fr!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-bg{align-items:flex-start!important;flex-direction:column!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{min-width:0!important;max-width:none!important;width:100%!important}}
@media(max-width:849px){body:not(.wp-admin) .timnhao-home-v203 .tn-card{padding:14px!important;margin-bottom:14px!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-filter{grid-template-columns:1fr!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-product-row{grid-template-columns:1fr!important}body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{grid-template-columns:1fr!important}}


/* TimNhao v2.0.4 - Desktop fixed Flatsome sidebar menu. Tablet/mobile giữ nguyên Flatsome gốc. */
@media (min-width: 850px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:280px!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #main,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .page-wrapper{max-width:none!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{
    display:block!important;position:fixed!important;z-index:9998!important;left:0!important;top:0!important;bottom:0!important;width:280px!important;
    height:100vh!important;overflow-y:auto!important;background:#fff!important;border-right:1px solid rgba(0,0,0,.08)!important;box-shadow:8px 0 28px rgba(0,0,0,.08)!important;padding:18px 16px!important;box-sizing:border-box!important;
  }
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .mfp-close,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .toggle{display:none!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed ul{list-style:none!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed li{margin:0!important;padding:0!important;border-bottom:1px solid rgba(0,0,0,.06)!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a{display:block!important;padding:12px 10px!important;color:#333!important;text-decoration:none!important;font-weight:600!important;border-radius:8px!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a:hover{background:#f6f6f6!important;color:#8a123d!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-wrap.off-canvas,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-bg{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-content{
    position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:280px!important;height:100vh!important;margin:0!important;transform:none!important;
  }
}
@media (max-width: 849px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{display:none!important;}
}


/* TimNhao v2.0.5 - Desktop sidebar brand + hide desktop header menu. Mobile/tablet giữ nguyên Flatsome. */
@media (min-width: 850px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #masthead,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-main,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-bg-container{
    display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;
  }
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:300px!important;padding-top:0!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #main{padding-top:0!important;margin-top:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{width:300px!important;padding:22px 18px!important;}
  body:not(.wp-admin) .tn-sidebar-brand{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;margin:0 0 22px!important;padding:0 0 18px!important;border-bottom:1px solid rgba(0,0,0,.08)!important;}
  body:not(.wp-admin) .tn-sidebar-logo{width:74px!important;height:74px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff7ec!important;border:1px solid rgba(138,18,61,.12)!important;overflow:hidden!important;}
  body:not(.wp-admin) .tn-sidebar-logo img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important;}
  body:not(.wp-admin) .tn-sidebar-logo-text{font-size:30px!important;font-weight:800!important;color:#8a123d!important;}
  body:not(.wp-admin) .tn-sidebar-title{font-size:20px!important;line-height:1.2!important;font-weight:800!important;color:#222!important;letter-spacing:-.02em!important;}
  body:not(.wp-admin) .tn-sidebar-slogan{font-size:13px!important;line-height:1.45!important;color:#666!important;font-weight:500!important;}
  body:not(.wp-admin) .tn-sidebar-nav{display:block!important;width:100%!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .nav,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .menu{display:block!important;width:100%!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed li{border-bottom:0!important;margin:3px 0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a{padding:11px 12px!important;border-radius:10px!important;}
}
@media (max-width:849px){
  body:not(.wp-admin) #masthead,
  body:not(.wp-admin) .header-wrapper,
  body:not(.wp-admin) .header-main{display:block!important;visibility:visible!important;height:auto!important;}
}

/* TimNhao v2.0.6 - Sidebar brand ngang + tải sớm chống giật layout */
@media (min-width:850px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:300px!important;padding-top:0!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar #masthead,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-wrapper,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-main,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .header-bg-container{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{display:flex!important;flex-direction:column!important;position:fixed!important;z-index:99998!important;left:0!important;top:0!important;bottom:0!important;width:300px!important;height:100vh!important;background:#fff!important;border-right:1px solid rgba(0,0,0,.08)!important;box-shadow:8px 0 28px rgba(0,0,0,.08)!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;}
  body:not(.wp-admin) .tn-sidebar-brand{position:sticky!important;top:0!important;z-index:2!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:92px!important;margin:0!important;padding:16px 18px!important;background:#fff!important;border-bottom:1px solid rgba(0,0,0,.08)!important;box-sizing:border-box!important;box-shadow:0 8px 18px rgba(255,255,255,.88)!important;}
  body:not(.wp-admin) .tn-sidebar-logo{flex:0 0 58px!important;width:58px!important;height:58px!important;border-radius:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff7ec!important;border:1px solid rgba(138,18,61,.14)!important;overflow:hidden!important;}
  body:not(.wp-admin) .tn-sidebar-logo img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;display:block!important;}
  body:not(.wp-admin) .tn-sidebar-logo span,
  body:not(.wp-admin) .tn-sidebar-logo-text{font-size:26px!important;font-weight:900!important;color:#8a123d!important;line-height:1!important;}
  body:not(.wp-admin) .tn-sidebar-brand-text{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;}
  body:not(.wp-admin) .tn-sidebar-title{font-size:18px!important;line-height:1.18!important;font-weight:850!important;color:#222!important;letter-spacing:-.02em!important;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
  body:not(.wp-admin) .tn-sidebar-slogan{font-size:12.5px!important;line-height:1.35!important;color:#666!important;font-weight:500!important;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;}
  body:not(.wp-admin) .tn-sidebar-nav{flex:1 1 auto!important;display:block!important;width:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px 14px 18px!important;box-sizing:border-box!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .nav,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed .menu,
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed ul{display:block!important;width:100%!important;list-style:none!important;margin:0!important;padding:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed li{display:block!important;width:100%!important;margin:3px 0!important;padding:0!important;border-bottom:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a{display:block!important;width:100%!important;padding:11px 12px!important;border-radius:10px!important;color:#333!important;text-decoration:none!important;font-weight:650!important;box-sizing:border-box!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed a:hover{background:#f7f4f5!important;color:#8a123d!important;}
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-wrap.off-canvas,
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar .mfp-bg{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
}
@media (max-width:849px){
  body:not(.wp-admin).tn-desktop-fixed-flatsome-sidebar{padding-left:0!important;}
  body:not(.wp-admin) .tn-desktop-flatsome-sidebar-fixed{display:none!important;}
  body:not(.wp-admin) #masthead,
  body:not(.wp-admin) .header-wrapper,
  body:not(.wp-admin) .header-main{display:block!important;visibility:visible!important;height:auto!important;}
}


/* TimNhao v2.1.2 - Home events 4/2 columns + account name + unified sale/bank ranking */
body:not(.wp-admin) .timnhao-home-v203 .tn-home-events-block{margin:0 0 20px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;width:100%!important;margin:0!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-card{display:block!important;position:relative!important;aspect-ratio:9/16!important;min-height:0!important;border-radius:16px!important;overflow:hidden!important;background-image:var(--tn-event-bg)!important;background-size:cover!important;background-position:center!important;text-decoration:none!important;color:#fff!important;border:0!important;box-shadow:none!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-shade{position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.72))!important;z-index:1!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-content{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:2!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:12px!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-content strong{display:block!important;color:#fff!important;font-size:15px!important;line-height:1.25!important;margin:0!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-content small{display:block!important;color:rgba(255,255,255,.88)!important;font-size:12px!important;line-height:1.35!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-status{display:inline-flex!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:100%!important;border-radius:999px!important;padding:4px 8px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;backdrop-filter:blur(4px)!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-card.is-live .tn-home-event-status{background:rgba(22,163,74,.92)!important;color:#fff!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-status i{width:7px!important;height:7px!important;border-radius:999px!important;background:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.22)!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;margin-top:2px!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown span{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;border-radius:8px!important;padding:5px 2px!important;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.18)!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown b{font-size:13px!important;line-height:1!important;color:#fff!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown em{font-style:normal!important;font-size:9px!important;color:rgba(255,255,255,.82)!important;margin-top:2px!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-identity h2{font-size:clamp(24px,3.1vw,38px)!important;line-height:1.08!important;margin:8px 0 6px!important;color:#fff!important;font-weight:900!important;letter-spacing:-.03em!important;text-shadow:0 2px 12px rgba(0,0,0,.22)!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-identity .tn-pill{margin-bottom:2px!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks{display:flex!important;flex-direction:column!important;gap:20px!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-mini,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit{display:grid!important;grid-template-columns:38px 42px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;width:100%!important;padding:10px 0!important;border-bottom:1px solid rgba(0,0,0,.08)!important;color:inherit!important;text-decoration:none!important;box-sizing:border-box!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-mini{position:relative!important;padding:0!important;border-bottom:0!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini strong,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit strong{font-size:13px!important;color:#8a123d!important;font-weight:900!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini img,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit img{width:42px!important;height:42px!important;border-radius:999px!important;object-fit:cover!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini span,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit span{min-width:0!important;font-size:14px!important;font-weight:800!important;color:#222!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini span small,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit span small{display:block!important;margin-top:2px!important;font-size:12px!important;font-weight:600!important;color:#777!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini b,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit b{grid-column:auto!important;justify-self:end!important;color:#8a123d!important;font-size:13px!important;white-space:nowrap!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-sponsor-zalo{position:absolute!important;right:0!important;bottom:8px!important;font-size:11px!important;border-radius:999px!important;padding:4px 8px!important;background:#eef9ff!important;color:#0073aa!important;text-decoration:none!important;}
@media(max-width:849px){body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-content{padding:9px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-event-content strong{font-size:13px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown{gap:3px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown span{padding:4px 1px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown b{font-size:11px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-countdown em{font-size:8px!important;}body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-identity h2{font-size:25px!important;}}


/* TimNhao v2.1.3 - rename sale/bank ranking and remove contact buttons in bank card */
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side h2{font-weight:800!important;letter-spacing:-.03em!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-zalo{display:none!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini{display:grid!important;grid-template-columns:34px 44px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;text-decoration:none!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini small{display:block!important;margin-top:2px!important;color:#6b5d64!important;font-size:12px!important;line-height:1.25!important;white-space:normal!important;}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini b{white-space:nowrap!important;color:#8a0f3d!important;font-size:13px!important;}


/* TimNhao v2.1.4 - Unified hover interaction for all frontend tables/lists/cards */
:root{
  --tn-hover-bg:#fff7fa;
  --tn-hover-border:rgba(138,15,61,.22);
  --tn-hover-shadow:0 10px 28px rgba(138,15,61,.10);
  --tn-hover-lift:-2px;
}
body:not(.wp-admin) .tn-card,
body:not(.wp-admin) .tn-table-card,
body:not(.wp-admin) .tn-home-card-compact,
body:not(.wp-admin) .tn-product-card,
body:not(.wp-admin) .tn-member-top-card,
body:not(.wp-admin) .tn-home-event-card,
body:not(.wp-admin) .tn-rank-mini,
body:not(.wp-admin) .tn-sponsor-profile-hit{
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease!important;
}
body:not(.wp-admin) .tn-table-card tbody tr,
body:not(.wp-admin) table.tn-table tbody tr,
body:not(.wp-admin) .tn-member-table tbody tr{
  transition:background-color .18s ease, box-shadow .18s ease, color .18s ease!important;
}
body:not(.wp-admin) .tn-table-card tbody tr:hover,
body:not(.wp-admin) table.tn-table tbody tr:hover,
body:not(.wp-admin) .tn-member-table tbody tr:hover{
  background:var(--tn-hover-bg)!important;
}
body:not(.wp-admin) .tn-table-card tbody tr:hover td,
body:not(.wp-admin) table.tn-table tbody tr:hover td,
body:not(.wp-admin) .tn-member-table tbody tr:hover td{
  color:#24131a!important;
}
body:not(.wp-admin) .tn-table-card tbody tr:hover a,
body:not(.wp-admin) table.tn-table tbody tr:hover a,
body:not(.wp-admin) .tn-member-table tbody tr:hover a{
  color:#8a0f3d!important;
}
body:not(.wp-admin) .tn-home-card-compact:hover,
body:not(.wp-admin) .tn-product-card:hover,
body:not(.wp-admin) .tn-member-top-card:hover,
body:not(.wp-admin) .tn-home-event-card:hover{
  transform:translateY(var(--tn-hover-lift))!important;
  box-shadow:var(--tn-hover-shadow)!important;
  border-color:var(--tn-hover-border)!important;
  text-decoration:none!important;
}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:hover,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit:hover,
body:not(.wp-admin) .tn-rank-mini:hover,
body:not(.wp-admin) .tn-sponsor-profile-hit:hover{
  background:var(--tn-hover-bg)!important;
  border-radius:14px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  margin-left:-10px!important;
  margin-right:-10px!important;
  transform:translateY(var(--tn-hover-lift))!important;
  box-shadow:0 8px 22px rgba(138,15,61,.08)!important;
}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:hover span,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit:hover span,
body:not(.wp-admin) .tn-rank-mini:hover span,
body:not(.wp-admin) .tn-sponsor-profile-hit:hover span{
  color:#8a0f3d!important;
}
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:hover img,
body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-sponsor-profile-hit:hover img,
body:not(.wp-admin) .tn-rank-mini:hover img,
body:not(.wp-admin) .tn-sponsor-profile-hit:hover img,
body:not(.wp-admin) .tn-member-top-card:hover img{
  box-shadow:0 0 0 3px rgba(138,15,61,.12)!important;
}
body:not(.wp-admin) .tn-btn:hover,
body:not(.wp-admin) button.tn-btn:hover,
body:not(.wp-admin) a.tn-btn:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 8px 20px rgba(138,15,61,.16)!important;
}
@media (hover:none){
  body:not(.wp-admin) .tn-home-card-compact:hover,
  body:not(.wp-admin) .tn-product-card:hover,
  body:not(.wp-admin) .tn-member-top-card:hover,
  body:not(.wp-admin) .tn-home-event-card:hover,
  body:not(.wp-admin) .tn-rank-mini:hover,
  body:not(.wp-admin) .tn-sponsor-profile-hit:hover,
  body:not(.wp-admin) .tn-btn:hover{
    transform:none!important;
    box-shadow:none!important;
  }
}


/* TimNhao v2.1.6 rebuilt: home event + bank final overrides */
html body .tn-home-events-block .tn-home-event-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
html body .tn-home-events-block .tn-home-event-card{aspect-ratio:3/4!important;width:100%!important;height:auto!important;min-height:0!important;}
@media(max-width:849px){html body .tn-home-events-block .tn-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}html body .tn-home-events-block .tn-home-event-card{aspect-ratio:3/4!important;}}
html body .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini,
html body .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini,
html body .tn-bank-support-rank a{display:grid!important;grid-template-columns:34px 38px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:9px!important;row-gap:2px!important;align-items:center!important;padding:10px 0!important;border-bottom:1px solid var(--tn-border,#eadde2)!important;background:transparent!important;box-shadow:none!important;text-decoration:none!important;color:inherit!important;}
html body .tn-bank-support-rank .tn-sponsor-mini>strong,html body .tn-bank-support-rank .tn-rank-mini>strong{grid-column:1!important;grid-row:1 / span 2!important;color:var(--tn-text,#2b2430)!important;font-weight:900!important;}
html body .tn-bank-support-rank .tn-sponsor-mini img,html body .tn-bank-support-rank .tn-sponsor-mini .avatar,html body .tn-bank-support-rank .tn-rank-mini img,html body .tn-bank-support-rank .tn-rank-mini .avatar{grid-column:2!important;grid-row:1 / span 2!important;width:34px!important;height:34px!important;border-radius:50%!important;object-fit:cover!important;}
html body .tn-bank-support-rank .tn-sponsor-mini span,html body .tn-bank-support-rank .tn-rank-mini span{grid-column:3!important;grid-row:1!important;display:block!important;min-width:0!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body .tn-bank-support-rank .tn-sponsor-mini span small,html body .tn-bank-support-rank .tn-rank-mini span small{display:block!important;margin-top:2px!important;font-size:11px!important;font-weight:600!important;color:var(--tn-muted,#7d6b72)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body .tn-bank-support-rank .tn-sponsor-mini b,html body .tn-bank-support-rank .tn-rank-mini b{grid-column:3!important;grid-row:2!important;justify-self:start!important;color:var(--tn-wine,#8a123d)!important;font-size:13px!important;font-weight:900!important;margin:0!important;}
html body .tn-bank-support-rank .tn-sponsor-zalo,html body .tn-bank-support-rank .tn-mini-call,html body .tn-bank-support-rank .tn-mini-zalo{display:none!important;}
html body .tn-bank-support-rank .tn-sponsor-profile-hit{display:contents!important;}

/* TimNhao v2.1.7: hard fix home event ratio + bank hover/layout parity */
html body:not(.wp-admin) .tn-home-events-block .tn-home-event-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:start!important;
}
html body:not(.wp-admin) .tn-home-events-block .tn-home-event-card,
html body:not(.wp-admin) .tn-home-event-grid>a.tn-home-event-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:18px!important;
  background-size:cover!important;
  background-position:center!important;
  text-decoration:none!important;
  color:#fff!important;
}
html body:not(.wp-admin) .tn-home-events-block .tn-home-event-card::before,
html body:not(.wp-admin) .tn-home-event-grid>a.tn-home-event-card::before{
  content:""!important;
  display:block!important;
  width:100%!important;
  padding-top:133.333333%!important; /* 3:4 */
}
html body:not(.wp-admin) .tn-home-event-card .tn-home-event-placeholder,
html body:not(.wp-admin) .tn-home-event-card .tn-home-event-shade,
html body:not(.wp-admin) .tn-home-event-card .tn-home-event-content{
  position:absolute!important;
}
@media(max-width:849px){
  html body:not(.wp-admin) .tn-home-events-block .tn-home-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
}

html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-profile-hit{
  display:grid!important;
  grid-template-columns:34px 38px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:center!important;
  padding:10px 0!important;
  border:0!important;
  border-bottom:1px solid var(--tn-border,#eadde2)!important;
  background:transparent!important;
  color:inherit!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-profile-hit:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini:hover *,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini:hover *{
  text-decoration:none!important;
}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-rank-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank a.tn-sponsor-mini:hover{
  background:#fff7fa!important;
  border-radius:12px!important;
  padding-left:8px!important;
  padding-right:8px!important;
  box-shadow:0 10px 24px rgba(137,9,50,.10)!important;
}
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-profile-hit{display:grid!important;}


/* TimNhao v2.1.8: home 8:4 layout, guest title, KPI tablet 2 cols, homepage compare */
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{
  display:grid!important;
  grid-template-columns:minmax(0,8fr) minmax(280px,4fr)!important;
  gap:20px!important;
  align-items:start!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-content,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-aside{min-width:0!important;width:100%!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-guest .tn-home-hero-bg h2,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-user-identity h2{
  margin:6px 0 6px!important;
  font-size:clamp(26px,3vw,42px)!important;
  line-height:1.08!important;
  font-weight:950!important;
  color:#fff!important;
  letter-spacing:-.03em!important;
  text-shadow:0 10px 28px rgba(0,0,0,.24)!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media (min-width:850px) and (max-width:1100px){
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{grid-template-columns:1fr!important;}
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:849px){
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{grid-template-columns:1fr!important;}
  html body:not(.wp-admin) .timnhao-home-v203 .tn-home-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important;}
html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head h2{margin:0!important;}
html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row{
  grid-template-columns:34px 82px minmax(0,1.7fr) minmax(130px,.75fr) minmax(96px,.55fr) minmax(112px,.65fr)!important;
  gap:12px!important;
}
html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row .tn-compare-check{justify-content:center!important;}
@media (max-width:1080px){
  html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row{grid-template-columns:30px 82px minmax(0,1fr) auto!important;}
}
@media (max-width:640px){
  html body:not(.wp-admin) .tn-home-product-compare-card .tn-section-head{align-items:flex-start!important;flex-direction:column!important;}
  html body:not(.wp-admin) .tn-home-product-list .tn-product-simple-row{grid-template-columns:28px minmax(0,1fr)!important;}
}

/* TimNhao v2.1.9: bank rank uses exact sale rank layout + circular avatars + account avatar upload */
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini,
html body:not(.wp-admin) .tn-home-rank-side.tn-rank-parity .tn-rank-mini{
  display:grid!important;
  grid-template-columns:34px 44px minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  column-gap:10px!important;
  row-gap:0!important;
  width:100%!important;
  padding:10px 0!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid var(--tn-border,#eadde2)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini:last-child,
html body:not(.wp-admin) .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini:last-child{border-bottom:0!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>strong,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini>strong,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini>strong{grid-column:1!important;grid-row:1!important;color:var(--tn-wine,#8a123d)!important;font-size:14px!important;font-weight:900!important;line-height:1!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>.avatar,
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>img,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini>.avatar,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini>.avatar,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini>img,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini>img{grid-column:2!important;grid-row:1!important;width:44px!important;height:44px!important;max-width:44px!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>span,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini>span,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini>span{grid-column:3!important;grid-row:1!important;display:block!important;min-width:0!important;color:var(--tn-text,#2b2430)!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>span small,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini>span small,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini>span small{display:block!important;margin-top:3px!important;color:var(--tn-muted,#7d6b72)!important;font-size:12px!important;font-weight:600!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
html body:not(.wp-admin) .tn-home-rank-side .tn-rank-mini>b,
html body:not(.wp-admin) .tn-bank-support-rank .tn-rank-mini>b,
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-mini>b{grid-column:4!important;grid-row:1!important;justify-self:end!important;align-self:center!important;color:var(--tn-wine,#8a123d)!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;margin:0!important;}
html body:not(.wp-admin) .tn-home-rank-side a.tn-rank-mini:hover,
html body:not(.wp-admin) .tn-home-rank-side a.tn-rank-mini:hover *,
html body:not(.wp-admin) .tn-bank-support-rank a:hover,
html body:not(.wp-admin) .tn-bank-support-rank a:hover *{text-decoration:none!important;}
html body:not(.wp-admin) .tn-bank-support-rank .tn-sponsor-profile-hit{display:grid!important;}
html body:not(.wp-admin) img.avatar,
html body:not(.wp-admin) .avatar,
html body:not(.wp-admin) .timnhao-user-avatar,
html body:not(.wp-admin) .tn-home-user-identity img,
html body:not(.wp-admin) .tn-account-avatar-preview img{border-radius:50%!important;object-fit:cover!important;overflow:hidden!important;}
.tn-account-avatar-edit{display:flex!important;gap:14px!important;align-items:center!important;margin:0 0 16px!important;padding:12px!important;border:1px solid var(--tn-border,#eadde2)!important;border-radius:16px!important;background:#fff!important;}
.tn-account-avatar-preview img{width:72px!important;height:72px!important;max-width:72px!important;}
.tn-account-profile-form input[type="file"]{width:100%!important;padding:10px!important;border:1px dashed var(--tn-border,#eadde2)!important;border-radius:12px!important;background:#faf7f8!important;}
@media(max-width:480px){.tn-account-avatar-edit{align-items:flex-start!important;flex-direction:column!important}.tn-home-rank-side .tn-rank-mini{grid-template-columns:28px 38px minmax(0,1fr) auto!important}.tn-home-rank-side .tn-rank-mini>.avatar,.tn-home-rank-side .tn-rank-mini>img{width:38px!important;height:38px!important}}

/* TimNhao v2.2.6: real unified spacing / more links / compare button */
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side{
  padding:20px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side h2{
  margin:0 0 6px!important;
  font-size:24px!important;
  line-height:1.22!important;
  font-weight:850!important;
  color:#34313a!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-period{
  margin:0 0 14px!important;
  font-size:14px!important;
  line-height:1.35!important;
  color:#746873!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side.tn-rank-parity .tn-rank-mini{
  display:grid!important;
  grid-template-columns:34px 44px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:10px!important;
  min-height:64px!important;
  padding:10px 8px!important;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid #eadde2!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  text-decoration:none!important;
  color:inherit!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:last-child,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side.tn-bank-support-rank .tn-rank-mini:last-child,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side.tn-bank-support-rank .tn-sponsor-mini:last-child{border-bottom:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini>strong,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini>strong,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini>strong{
  grid-column:1!important;grid-row:1!important;color:#8a123d!important;font-size:14px!important;font-weight:900!important;line-height:1!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini>.avatar,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini>img,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini>.avatar,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini>.avatar,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini>img,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini>img{
  grid-column:2!important;grid-row:1!important;width:44px!important;height:44px!important;max-width:44px!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini>span,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini>span,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini>span{
  grid-column:3!important;grid-row:1!important;display:block!important;min-width:0!important;color:#1f1b24!important;font-size:14px!important;font-weight:800!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini>span small,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini>span small,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini>span small{
  display:block!important;margin-top:3px!important;color:#7b7078!important;font-size:12px!important;font-weight:600!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-decoration:none!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini>b,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini>b,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini>b{
  grid-column:4!important;grid-row:1!important;justify-self:end!important;color:#8a123d!important;font-size:13px!important;font-weight:900!important;white-space:nowrap!important;margin:0!important;text-decoration:none!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side a.tn-rank-mini:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side a.tn-sponsor-mini:hover{
  background:#fff7fa!important;
  border-radius:12px!important;
  box-shadow:0 10px 26px rgba(137,18,61,.09)!important;
  text-decoration:none!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side a.tn-rank-mini:hover *,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side a.tn-sponsor-mini:hover *{text-decoration:none!important;}

html body:not(.wp-admin) .timnhao-home-v203 .tn-section-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:12px!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-link-more,
html body:not(.wp-admin) .timnhao-home-v203 .tn-more-wrap a,
html body:not(.wp-admin) .timnhao-home-v203 a.tn-home-more,
html body:not(.wp-admin) .timnhao-home-v203 .tn-section-head>a:not(.tn-btn){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:38px!important;padding:8px 14px!important;border:1px solid #eadde2!important;border-radius:999px!important;background:#fff!important;color:#8a123d!important;font-size:13px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:0 8px 20px rgba(72,31,48,.04)!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-link-more:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-more-wrap a:hover,
html body:not(.wp-admin) .timnhao-home-v203 a.tn-home-more:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-section-head>a:not(.tn-btn):hover{
  background:#fff6f9!important;border-color:#d9a9b9!important;text-decoration:none!important;transform:translateY(-1px)!important;
}
html body:not(.wp-admin) .timnhao-home-v203 .tn-more-wrap{margin:14px 0 0!important;text-align:right!important;}

html body:not(.wp-admin) .tn-compare-inline{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;}
html body:not(.wp-admin) .tn-compare-inline .tn-compare-count{display:none!important;}
html body:not(.wp-admin) .tn-compare-inline [data-tn-compare-open],
html body:not(.wp-admin) .tn-compare-inline [data-tn-open-compare],
html body:not(.wp-admin) .timnhao-home-v203 [data-tn-compare-open],
html body:not(.wp-admin) .timnhao-home-v203 [data-tn-open-compare]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 18px!important;border:1.5px solid #a20f43!important;border-radius:7px!important;background:#fff!important;color:#a20f43!important;font-size:16px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;box-shadow:none!important;white-space:nowrap!important;
}
html body:not(.wp-admin) .tn-compare-inline [data-tn-compare-open]:hover,
html body:not(.wp-admin) .tn-compare-inline [data-tn-open-compare]:hover,
html body:not(.wp-admin) .timnhao-home-v203 [data-tn-compare-open]:hover,
html body:not(.wp-admin) .timnhao-home-v203 [data-tn-open-compare]:hover{
  background:#fff5f8!important;border-color:#8a123d!important;color:#8a123d!important;transform:none!important;text-decoration:none!important;
}
html body:not(.wp-admin) .tn-compare-inline [data-tn-compare-open]:disabled,
html body:not(.wp-admin) .tn-compare-inline [data-tn-open-compare]:disabled{opacity:1!important;cursor:pointer!important;}
@media(max-width:640px){
  html body:not(.wp-admin) .timnhao-home-v203 .tn-section-head{align-items:flex-start!important;}
  html body:not(.wp-admin) .tn-compare-inline [data-tn-compare-open],
  html body:not(.wp-admin) .tn-compare-inline [data-tn-open-compare]{min-height:40px!important;padding:0 14px!important;font-size:14px!important;}
}

/* TimNhao v2.2.7 - sync right ranking cards spacing with home grid */
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-two-col{gap:20px!important;align-items:start!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-aside{display:block!important;min-width:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks{display:flex!important;flex-direction:column!important;gap:20px!important;width:100%!important;margin:0!important;padding:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks>.tn-card,
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank{margin:0!important;padding:22px!important;border-radius:16px!important;width:100%!important;box-sizing:border-box!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side h2,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank h2{margin:0 0 6px!important;line-height:1.18!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-rank-period{margin:0 0 18px!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini{display:grid!important;grid-template-columns:42px 44px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;min-height:66px!important;padding:10px 0!important;margin:0!important;border-bottom:1px solid #f0e2e7!important;border-radius:0!important;background:transparent!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:last-child,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini:last-child,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini:last-child{border-bottom:0!important;}
html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side .tn-rank-mini:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-rank-mini:hover,
html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank .tn-sponsor-mini:hover{background:#fff7fa!important;border-radius:14px!important;padding-left:10px!important;padding-right:10px!important;margin-left:-10px!important;margin-right:-10px!important;}
@media(max-width:849px){html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks{gap:16px!important;}html body:not(.wp-admin) .timnhao-home-v203 .tn-home-right-blocks>.tn-card,html body:not(.wp-admin) .timnhao-home-v203 .tn-home-rank-side,html body:not(.wp-admin) .timnhao-home-v203 .tn-bank-support-rank{padding:18px!important;}}

/* TimNhao v2.3.1 - member profile/account fields */
body.tn-auth-no-sidebar{padding-left:0!important;}
body.tn-auth-no-sidebar .tn-desktop-flatsome-sidebar-fixed{display:none!important;visibility:hidden!important;}
.tn-form-wide{grid-column:1 / -1!important;}
.tn-sale-unit{margin:8px 0 0!important;color:#3a2b30!important;font-size:14px!important;line-height:1.45!important;}
.tn-sale-intro{margin:8px 0 0!important;color:#5f4b52!important;font-size:14px!important;line-height:1.6!important;max-width:760px!important;}
.tn-info-list p strong{white-space:normal!important;}
