.site-icon{display:inline-block;width:1em;height:1em;vertical-align:-.15em;fill:currentColor;flex-shrink:0}html{scroll-behavior:smooth}body{overflow-x:clip}.account-thumb-wrap .account-thumb{object-fit:cover;width:100%;height:auto;aspect-ratio:16/9}.account-grid{content-visibility:visible!important;scroll-margin-top:100px}.frontend-form-note{font-size:11px;line-height:1.6;color:#6e5a81;background:#f9f4fc;border:1px dashed #d1bae6;border-radius:8px;padding:8px 10px}.frontend-lightbox{position:fixed;inset:0;z-index:10000001;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:28px;border:0;outline:0;background:transparent;overflow:hidden;box-sizing:border-box}.frontend-lightbox[open]{display:grid;place-items:center}.frontend-lightbox::backdrop{background:rgba(13,17,24,.88);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.frontend-lightbox-content{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;pointer-events:none}.frontend-lightbox img{display:block;width:auto;height:auto;max-width:100%;max-height:88vh;max-height:min(88svh,calc(100svh - 56px));object-fit:contain;border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.48);pointer-events:auto}.frontend-lightbox-close{position:fixed;top:14px;right:14px;display:grid;place-items:center;width:46px;height:46px;padding:11px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;transition:background .15s}.frontend-lightbox-close:hover{background:rgba(255,255,255,.24)}.frontend-lightbox-close .site-icon{width:24px;height:24px}.recharge-tabs{display:flex;gap:10px}.recharge-tabs button{flex:1}#siteToast{position:fixed;left:50%;bottom:95px;transform:translate(-50%,20px);z-index:10000002;max-width:calc(100% - 30px);background:#371d51;color:#fff;padding:13px 20px;border-radius:10px;box-shadow:0 6px 28px #371d5130;opacity:0;pointer-events:none;transition:.2s;white-space:normal;font-size:14px}#siteToast.show{opacity:1;transform:translate(-50%,0)}.catalog-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 20px}.catalog-summary h1{font-size:21px;font-weight:800;color:#371d51;margin:0 0 6px}.catalog-summary span{font-size:12px;color:#76618a}.empty-catalog{grid-column:1/-1;text-align:center;padding:65px 20px;background:#fff;border:1px solid #eadff5;border-radius:12px}.empty-catalog>.site-icon{display:block;font-size:40px;color:#a26adc;margin-bottom:16px}.empty-catalog h5{font-weight:700}.empty-catalog p{font-size:14px;color:#7f6d91}.empty-catalog .btn{font-size:13px;padding:10px 20px}.purchase-icon{background:#f5eefb;color:#8f54cf;width:70px;height:70px;display:grid;place-items:center;border-radius:50%;font-size:32px;margin:0 auto 20px}.history-page{padding:30px 0 65px;min-height:60vh}.history-tabs{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.history-tabs a{color:#371d51;text-decoration:none;border:1px solid #dac9ea;padding:10px 20px;border-radius:8px;font-size:14px}.history-tabs a.active{background:#a26adc;color:#fff;border-color:#a26adc}.modal .btn-close{flex-shrink:0}.modal.fade .modal-dialog{transition:transform .2s ease-out}.select2-container{max-width:100%}.select2-results__message{display:block!important}.select2-container--open .select2-dropdown:has(.select2-results__message){display:block!important}.account-card .account-body{min-height:86px}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #63388d;outline-offset:3px}@media(max-width:767px){.catalog-summary{align-items:flex-start}.catalog-summary h1{font-size:17px}.catalog-summary button{font-size:11px;white-space:nowrap}.frontend-lightbox{padding:64px 12px 20px}.frontend-lightbox img{max-height:calc(100vh - 84px);max-height:calc(100svh - 84px)}.account-contact-badge-inner{font-size:9px!important}.account-card .account-body{padding:10px!important}.modal-dialog{margin:15px}.history-tabs a{font-size:12px;padding:9px 12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Costume details follow the supplied reference's purchase sidebar panel. */
.account-detail-extra { margin-top: 12px; padding: 12px; border: 1px solid #ece7f0; border-radius: 10px; background: #fbf9fe; }
.account-detail-extra[hidden] { display: none !important; }
.account-detail-extra h2 { margin: 0 0 8px; font-size: .95rem; font-weight: 700; letter-spacing: -.01em; }
.account-detail-extra p { margin: 0; color: #6d6258; font-size: .76rem; line-height: 1.55; overflow-wrap: anywhere; }

.account-detail-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.account-detail-spec { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 9px 11px; border: 1px solid #edf0f3; border-radius: 9px; background: #f8f9fa; color: #2f3438; }
.account-detail-spec span { color: #525960; font-size: .69rem; font-weight: 750; line-height: 1.25; }
.account-detail-spec strong { color: #25292e; font-size: .76rem; text-align: right; overflow-wrap: anywhere; }

/* Tiệm Nhà Trâm: bright cream/orange theme with the supplied brand assets. */
:root { --color-primary:#a26adc; --color-primary-dark:#763db2; --color-text:#371d51; --color-bg:#f9f4fc; --color-sidebar-bg:#f6effb; }
body { color:#371d51; background-color:#f9f4fc; background-image:url('/assets/brand/background-light.svg'); background-size:cover; background-position:center top; background-attachment:fixed; }
.top-header-bar { background:#efe5f9; border-bottom:1px solid #ceb6e5; color:#4a2d67; }
.site-announcement { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; text-align:center; }
.top-header-bar a,.top-header-text { color:#4a2d67; }
.top-header-badge { background:#b586e3; color:#371d51; border-radius:4px; }
.header-section-new { background:rgba(255,253,247,.98); border-bottom:1px solid #dacaea; box-shadow:0 5px 24px #5d308910; padding:9px 0; }
.navbar-brand { gap:10px; }
.brand-logo { width:62px !important; height:62px !important; max-height:62px !important; object-fit:contain; flex-shrink:0; }
.main-content { padding:28px 0 34px; }
.main-content > .container { background:rgba(255,252,245,.88); border:1px solid #dbc9eb; border-radius:18px; padding:22px; box-shadow:0 12px 45px #8458ac0d; }
.home-banner { width:100%; overflow:hidden; border:1px solid #ceb6e5; border-radius:12px; background:#fbf9fe; box-shadow:0 4px 16px #5d308910; }
.home-banner img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.site-icon { width:1.12em; height:1.12em; fill:currentColor; vertical-align:-.2em; }
.navbar-toggler .site-icon { font-size:27px; color:#6e419c; }
.btn-close { background:none !important; width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; }
.btn-close .site-icon { width:22px; height:22px; }
.btn-close-white { filter:none; color:#371d51; }
.brand-footer-lockup { display:flex; align-items:center; gap:14px; text-decoration:none; }
.brand-footer-lockup .brand-logo { width:82px !important; height:82px !important; max-height:82px !important; }
.footer-new { background:linear-gradient(180deg,#fbf9fe,#f2eafa); border-top:1px solid #d0bae5; margin-top:20px; color:#5a476d; }
.footer-new .text-muted,.footer-new .footer-links a,.footer-new .copyright-text,.brand-support-copy { color:#6a577d !important; }
.footer-new .footer-col-title { color:#61368d; }
.footer-new .footer-links a:hover { color:#6e39a7 !important; }
.brand-support-copy { font-size:13px; line-height:1.8; }
.footer-brand-support { display:inline-flex; align-items:center; gap:8px; padding:9px 15px; border:1px solid #be9edd; border-radius:8px; color:#4f2c72; background:#faf7fd; font-size:13px; text-decoration:none; }
.brand-quick-icon { width:29px; height:29px; color:#7847aa; }
.quick-link-icon-wrap { background:#f1e7f9; border:1px solid #ccb2e4; border-radius:14px !important; }
.brand-support-action { display:inline-flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; width:46px; flex-shrink:0; }
.brand-support-action > span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.brand-image-caption { font-size:11px; color:#78658b; margin:9px 0 0; text-align:center; }
.account-thumb { object-fit:cover; }
/* Keep the existing floating button's closed appearance. */
.sticky-contacts .sticky-item { border:1px solid #ab88c9; color:#49256b; background:#fbf9fe; }
.mobile-bottom-nav { background:#fbf9fe; border-top:1px solid #d0bbe3; }
.mobile-bottom-nav .center-icon { background:#f2eafa; border:2px solid #b383e2; }
.mobile-bottom-nav .center-text { color:#5e3588; }
.nav-link-custom:hover,.nav-link-custom.active { color:#5f3789 !important; background:#f1e7f9; }
.nav-link-custom > .site-icon { padding:3px; width:24px; height:24px; border-radius:7px; background:#ba8ee424; }
.top-nap-title,.section-title { color:#371d51; }
.product-card { border-color:#d6c3e7; }
.product-img-wrap,.account-thumb-wrap { background:#f3ebfa; }
.auth-submit-btn,.btn-buy,.btn-account-buy,.btn-filter-submit,.btn-primary { background:linear-gradient(135deg,#bd92e5,#ab77df); border-color:#a97ad6; color:#321b4a; }
.auth-submit-btn:hover,.btn-buy:hover,.btn-account-buy:hover,.btn-filter-submit:hover,.btn-primary:hover { background:linear-gradient(135deg,#b483e2,#a36adc); border-color:#9561c8; color:#2b1640; }
.btn-outline-primary { color:#663896; border-color:#af8bd3; }
.btn-outline-primary:hover { background:#f1e7f9; border-color:#9765c8; color:#442564; }
.text-primary { color:#763db2 !important; }
.history-tabs a.active { color:#371d51; background:#bc90e5; border-color:#bc90e5; }
#siteToast { background:#4d2f6c; border:1px solid #c6a2e9; color:#fff; }
.brand-quick-link { border:0; background:none; font-family:inherit; padding:0; text-decoration:none; }
.floating-support-widget { position:relative; width:48px; height:48px; }
.floating-zalo-menu { position:absolute; right:3px; bottom:calc(100% + 16px); z-index:1; }
.floating-zalo-menu[hidden] { display:none !important; }
.floating-zalo-link { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid #e9effb; box-shadow:0 4px 14px #0068ff25; transition:transform .18s ease,box-shadow .18s ease; }
.floating-zalo-link:hover { transform:translateY(-3px); box-shadow:0 7px 18px #0068ff30; }
.floating-zalo-link img { width:29px; height:29px; object-fit:contain; }
@media(max-width:991px) {
 .header-section-new { padding:6px 0; }
 .brand-logo { width:50px !important; height:50px !important; max-height:50px !important; }
 .main-content { padding:15px 0 22px; }
 .main-content > .container { width:calc(100% - 20px); padding:14px; border-radius:13px; }
 .brand-footer-lockup .brand-logo { width:72px !important; height:72px !important; max-height:72px !important; }
 body { background-attachment:scroll; }
}
@media(max-width:380px) {
 .navbar-brand { gap:6px; }
 .brand-logo { width:43px !important; height:43px !important; max-height:43px !important; }
 .main-content > .container { padding:11px; }
}

/* Solid toolbar symbols and the Tiệm Nhà Trâm member pass. */
.toolbar-icon { fill:currentColor; width:20px; height:20px; }
.header-section .nav-link-custom > .toolbar-icon { padding:0; width:19px; height:19px; border-radius:0; background:none; color:#6d3f9d; margin-right:7px !important; }
.header-action-btn .toolbar-icon { width:23px; height:23px; }
.navbar-toggler .toolbar-icon { width:27px; height:27px; }
.mobile-bottom-nav .toolbar-icon { width:24px; height:24px; }
.cat-auth-modal .cat-auth-dialog { max-width:860px; margin:24px auto; }
.cat-auth-card { border:1px solid #d7c7e6; border-radius:25px; overflow:hidden; background:#fbf9fe; box-shadow:0 24px 100px #290f4233; }
.cat-auth-close { position:absolute; right:14px; top:14px; z-index:2; display:grid; place-items:center; width:33px; height:33px; padding:7px; background:#fbf9fe; border:1px solid #dacde6; border-radius:50%; color:#614c75; transition:background .15s; }
.cat-auth-close:hover { background:#f2eafa; }
.cat-auth-close .site-icon { width:17px; height:17px; }
.cat-auth-layout { display:grid; grid-template-columns:.88fr 1.12fr; }
.cat-auth-aside { position:relative; display:flex; align-items:center; justify-content:center; padding:32px 24px; background:radial-gradient(ellipse at 10% 0%,#f1e8fa,transparent 65%),linear-gradient(145deg,#dbc3f1,#c6a1e9); border-right:1px dashed #8e67b366; overflow:hidden; }
.cat-auth-aside::before { content:""; position:absolute; inset:0; background-image:radial-gradient(#895eb130 .8px,transparent .8px); background-size:14px 14px; pointer-events:none; }
.cat-auth-aside > * { position:relative; z-index:1; }
.cat-auth-mascot { width:100%; display:flex; align-items:center; justify-content:center; }
.cat-auth-mascot img { width:270px; max-width:100%; height:auto; filter:drop-shadow(0 9px 10px #471f6d20); }
.cat-auth-panel { display:flex; flex-direction:column; padding:54px 36px 27px; min-height:min(574px,calc(100svh - 48px)); max-height:calc(100svh - 48px); overflow-y:auto; scrollbar-width:thin; }
.cat-auth-tabs { display:flex; gap:4px; padding:4px; margin-bottom:23px; border:1px solid #e5dcee; border-radius:11px; background:#f5f1f8; }
.cat-auth-tabs button { flex:1; padding:9px 10px; border:0; border-radius:8px; background:none; color:#77628b; font-size:12px; font-weight:700; transition:background .15s,color .15s,box-shadow .15s; }
.cat-auth-tabs button[aria-selected="true"] { background:#fbf9fe; color:#5c3584; box-shadow:0 2px 6px #56347620; }
.cat-auth-form[hidden], .cat-auth-recovery[hidden], .cat-auth-tabs[hidden] { display:none !important; }
.cat-auth-form, .cat-auth-recovery, .cat-auth-tabs { flex-shrink:0; }
.cat-auth-field { margin-bottom:15px; }
.cat-auth-field > label { display:block; margin-bottom:7px; font-size:11px; font-weight:750; color:#4b395c; }
.cat-auth-input-wrap { position:relative; }
.cat-auth-input-wrap > .site-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); width:17px; height:17px; color:#9884ab; pointer-events:none; }
.cat-auth-input-wrap input { width:100%; height:47px; padding:11px 44px 11px 41px; border:1px solid #d8cde2; border-radius:10px; outline:0; background:#fbf9fe; color:#3f2f4f; font-family:inherit; font-size:12px; transition:border-color .15s,box-shadow .15s; }
.cat-auth-input-wrap input::placeholder { color:#9f93ab; opacity:1; }
.cat-auth-input-wrap input:focus { border-color:#aa83d0; box-shadow:0 0 0 3px #b98ce424; }
.cat-auth-input-wrap input:user-invalid { border-color:#8a69ae; }
.cat-auth-reveal { display:grid; place-items:center; position:absolute; top:6px; right:6px; width:35px; height:35px; border:0; border-radius:7px; background:none; color:#847395; }
.cat-auth-reveal:hover { background:#f5eefb; color:#66408d; }
.cat-auth-reveal .site-icon { width:17px; height:17px; }
.cat-auth-submit { display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:22px; padding:14px 17px; border:1px solid #5f348d; border-radius:10px; background:linear-gradient(110deg,#6e3da1,#613391); color:#fbf9fe; font-family:inherit; font-size:12px; font-weight:750; box-shadow:0 5px 12px #62349122; transition:transform .15s,box-shadow .15s; }
.cat-auth-submit:hover { transform:translateY(-1px); box-shadow:0 7px 15px #62349130; }
.cat-auth-submit:link, .cat-auth-submit:visited, .cat-auth-submit:hover { color:#fbf9fe; text-decoration:none; }
.cat-auth-submit .site-icon { width:21px; height:21px; }
.cat-auth-actions { display:flex; justify-content:flex-end; margin:-2px 0 0; }
.cat-auth-text-button { border:0; padding:3px 0; background:none; color:#694093; font-family:inherit; font-size:11px; font-weight:750; cursor:pointer; }
.cat-auth-text-button:hover { color:#4d2b70; text-decoration:underline; }
.cat-auth-text-button:focus-visible, .cat-auth-submit:focus-visible, .cat-auth-tabs button:focus-visible { outline:2px solid #683a97; outline-offset:3px; }
.cat-auth-switch { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px; margin-top:16px; color:#776588; font-size:11px; }
.cat-auth-recovery { text-align:center; padding-top:20px; }
.cat-auth-recovery-icon { display:grid; place-items:center; width:62px; height:62px; margin:0 auto 20px; border:1px solid #d3c0e4; border-radius:19px; background:#f4edfb; color:#694093; }
.cat-auth-recovery-icon .site-icon { width:28px; height:28px; }
.cat-auth-recovery h2 { margin:0 0 12px; color:#3f2f4f; font-size:22px; font-weight:800; }
.cat-auth-recovery p { margin:0; color:#7a698a; font-size:12px; line-height:1.8; }
.cat-auth-mobile-brand { display:none; }
@media(max-width:700px) {
 .cat-auth-modal .cat-auth-dialog { max-width:440px; margin:12px auto; width:calc(100% - 24px); min-height:calc(100% - 24px); }
 .cat-auth-card { border-radius:21px; }
 .cat-auth-layout { display:block; }
 .cat-auth-aside { display:none; }
 .cat-auth-panel { padding:24px; min-height:0; max-height:calc(100svh - 24px); }
 .cat-auth-mobile-brand { display:flex; justify-content:center; flex-shrink:0; margin:0 0 20px; }
 .cat-auth-mobile-brand img { width:88px; height:88px; object-fit:contain; }
 .cat-auth-tabs { margin-bottom:20px; }
 .cat-auth-input-wrap input { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) { .cat-auth-submit:hover { transform:none; } }

/* Catalog thumbnails open the shared account image viewer. */
button.account-thumb-wrap[data-account-zoom] { display:block; width:100%; padding:0; border:0; border-radius:0; background:transparent; color:inherit; font:inherit; text-align:left; cursor:zoom-in; }
button.account-thumb-wrap[data-account-zoom]:focus-visible { outline:3px solid #63388d; outline-offset:-3px; }

/* Labeled hero and costume counts on account cards. */
.account-stats-body{min-height:0!important}
.account-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0}
.account-stats>div{min-width:0;padding:8px 5px;border:1px solid #e5e9ee;border-radius:7px;background:#f5f7fa;text-align:center}
.account-stats dt{margin:0 0 3px;color:#92908b;font-size:10px;font-weight:600;line-height:1.4;white-space:normal}
.account-stats dd{margin:0;color:#534263;font-size:15px;font-weight:800;line-height:1.35}

.account-info-card [data-account-contact]{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;line-height:1.4;text-align:center}
