/* Restore the approved DQ dragon identity without changing commerce or content order. */
body[data-tikvui-hallmark] {
 --hm-canvas:#100b18; --hm-band:#160d20; --hm-surface:#20132b; --hm-raised:#30203c;
 --hm-edge:#765086; --hm-muted:#d0c0db; --hm-ink:#fff4fa; --hm-red-fill:#ff648c;
 --hm-focus:#67e8f9; --dq-violet:#b58aff; --dq-cyan:#67e8f9;
 background:radial-gradient(ellipse at 2% 5%,#48102766,transparent 44%),radial-gradient(ellipse at 98% 22%,#31205c55,transparent 50%),var(--hm-canvas);
 color-scheme:dark;
}
body[data-tikvui-hallmark] [hidden] { display:none !important; }
body[data-tikvui-hallmark] header[data-hallmark-header] {
 column-gap:1rem; row-gap:.5rem; padding-block:.65rem;
 border-bottom-color:#a775b366;
}
body[data-tikvui-hallmark] [data-hallmark-header] .customer-navigation {
 grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; max-width:42rem;
}
body[data-tikvui-hallmark] .hallmark-brand .dq-brand-avatar {
 width:48px; height:48px; border-radius:50%; border-color:#ff608c;
 box-shadow:0 0 0 3px #ff4f7012,0 0 22px #ff4f7038;
}
.dq-account-bar {
 grid-column:1 / -1; display:flex; align-items:center; gap:.65rem 1rem; flex-wrap:wrap;
 min-width:0; min-height:58px; padding:.55rem .75rem; border:1px solid #9266a366;
 border-radius:12px; background:linear-gradient(110deg,#2c1229f2,#1b152ef2 65%,#122c35cc);
 box-shadow:inset 0 1px #ffffff0d;
}
.dq-account-profile {
 flex:1 1 16rem; display:flex; align-items:center; gap:.65rem; min-width:0;
 color:var(--hm-ink); text-decoration:none;
}
.dq-account-profile > span:last-child { display:grid; min-width:0; gap:.1rem; }
.dq-account-profile strong { font-size:.9rem; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dq-account-profile small { font-size:.78rem; line-height:1.35; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#d3c6dd; }
.dq-account-avatar {
 display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:50%;
 border:1px solid #bc8de2; background:linear-gradient(145deg,#5c204e,#322955); color:#fff; font-size:.8rem; font-weight:800;
}
.dq-account-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; }
body[data-tikvui-hallmark].q-theme [data-hallmark-header] .dq-account-actions :is(.button,.fx-toggle) {
 position:relative !important; inset:auto !important; order:initial; width:auto; margin:0; min-height:40px; padding:.55rem .7rem;
 font-size:.8rem; line-height:1.2; letter-spacing:normal; white-space:nowrap;
}
#header-account-feedback { flex-basis:100%; margin:0; color:#ffd4e2; font-size:.85rem; }
body[data-tikvui-hallmark] .hallmark-more-panel {
 background:#20132bf7; border-color:#a775b3; box-shadow:0 16px 36px #090412aa;
 z-index:10; overscroll-behavior:contain;
}
body[data-tikvui-hallmark] [data-hallmark-header] .hallmark-brand { min-width:7rem; }

/* One source of button colors, from the catalog through checkout and the library. */
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(button,.button,input[type="submit"],.customer-navigation a,.ctv-auth-nav a,.product-guide-link,summary):where(:not(.dq-community-qr)) {
 --dq-face:#362040; --dq-edge:#b889d1; --dq-light:#b58aff; --dq-ink:#fff4fa;
 position:relative; isolation:isolate; border:1px solid var(--dq-edge); border-radius:12px 5px 12px 5px;
 background:linear-gradient(115deg,#3d214b,#21172e 68%,#22323e); color:var(--dq-ink);
 box-shadow:inset 0 1px #ffffff26,0 4px 12px #07041145; font-weight:750;
 transition:transform 150ms ease,box-shadow 180ms ease,border-color 180ms ease,filter 150ms ease;
 touch-action:manipulation; -webkit-tap-highlight-color:#b58aff33;
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(.button.primary,.button.card-buy,.store-card a.plan-download,#buy-submit,#cart-checkout,#acc-create,#wallet-pay),
body[data-tikvui-hallmark][data-dq-buttons].q-theme .hallmark-hero .button.primary {
 --dq-light:#ff648c; --dq-edge:#ff91b4;
 background:linear-gradient(112deg,#ad174e,#8d2268 62%,#652e9c); color:#fff4fa; border-color:var(--dq-edge);
 box-shadow:inset 0 1px #ffffff40,0 4px 18px #c3286338;
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(.plan-online,[href^="/choi-game?game="],[href="/tai-app"],.store-card[data-free="true"] .plan-download) {
 --dq-light:#67e8f9; --dq-edge:#71d8e8;
 background:linear-gradient(115deg,#15545d,#193745 70%,#282446); color:#e7fcff; border-color:var(--dq-edge);
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(.cart-add-button,[data-cart-nav],.cart-nav) {
 --dq-light:#ffcba2; --dq-edge:#cc9b8d;
 background:linear-gradient(115deg,#55303e,#2e1f35); color:#ffe9e4; border-color:var(--dq-edge);
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(button,.button,.customer-navigation a,.ctv-auth-nav a):is([aria-pressed="true"],[aria-current="page"],[aria-current="true"],.active):not(:disabled) {
 --dq-light:#67e8f9; border-color:#7be2e9; color:#d9fffb;
 background:linear-gradient(115deg,#25474e,#282c50); box-shadow:inset 0 -2px #67e8f9,0 0 15px #67e8f915;
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(button,.button,input[type="submit"],.customer-navigation a,.ctv-auth-nav a,.product-guide-link,summary):not(:disabled,[aria-disabled="true"],.dq-community-qr):is(:hover,:focus-visible,[data-dq-flash]),
body[data-tikvui-hallmark][data-dq-buttons].q-theme .hallmark-hero .button.primary:hover {
 color:#fff; border-color:#f0b9ff; filter:brightness(1.14);
 box-shadow:inset 0 1px #ffffff44,0 0 0 1px #c483ef33,0 5px 20px #b065d94d;
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(button,.button,.customer-navigation a,summary):not(:disabled,[aria-disabled="true"]):active { transform:translateY(2px) scale(.985); }
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(button,.button,input[type="submit"]):is(:disabled,[aria-disabled="true"],.plan-disabled) {
 background:#302738; color:#d0c4d6; border-color:#807187; opacity:.72; box-shadow:none; filter:none; cursor:not-allowed;
}
body[data-tikvui-hallmark][data-dq-buttons].q-theme :is(button,.button,.customer-navigation a,summary):focus-visible { outline:2px solid #67e8f9; outline-offset:3px; }
body[data-tikvui-hallmark][data-dq-buttons].q-theme .compact-catalog .store-card :is(.plan-title,.plan-price) { color:inherit; }
body[data-tikvui-hallmark] .compact-catalog .store-card { border-color:#93629a88; background:linear-gradient(155deg,#2c1734,#18131f 80%); }
body[data-tikvui-hallmark] .compact-catalog .store-card:hover { border-color:#c892dc; }

/* The original approved dragon is decorative; it never covers a click target. */
.hallmark-hero { grid-template-columns:minmax(0,1fr) auto; overflow:hidden; position:relative; }
.hallmark-hero-copy { grid-area:1 / 1; max-width:none; }
.hallmark-spotlight { grid-area:1 / 1 / 2 / -1; width:100%; height:auto; min-height:0; position:static; opacity:.38; z-index:0; }
.hallmark-spotlight figcaption { z-index:2; }
.hallmark-dragon {
 grid-area:1 / 2; align-self:center; width:clamp(150px,17vw,210px); aspect-ratio:1;
 position:relative; margin:1.2rem clamp(1.25rem,4vw,3rem) 3.7rem .5rem; pointer-events:none; z-index:1;
}
.hallmark-dragon img { width:100%; height:auto; display:block; border-radius:50%; border:1px solid #ff658b99; box-shadow:0 0 28px #f9365b44; }
.hallmark-dragon-orbit { position:absolute; inset:-8px; border:1px solid #b58aff66; border-radius:50%; border-top-color:#67e8f9; border-right-color:#ff648c; }
.hallmark-dragon-orbit::after { content:""; position:absolute; top:12%; right:12%; width:7px; height:7px; border-radius:50%; background:#67e8f9; box-shadow:0 0 12px #67e8f9; }
.dq-dragon-backdrop {
 position:fixed; width:min(42vw,480px); aspect-ratio:1; right:-7vw; top:30vh; z-index:0; pointer-events:none; opacity:.075;
 background:url('/media/duc-quyen-dq-brand.catalog-f09da5ad90-480.webp') center / contain no-repeat; mix-blend-mode:screen;
}
.dq-tap-ring { position:fixed; z-index:9998; pointer-events:none; border:2px solid #a5f2ff; border-radius:50%; width:18px; height:18px; left:var(--burst-x); top:var(--burst-y); opacity:0; }
@keyframes dq-dragon-float { 50% { transform:translate3d(0,-8px,0) rotate(1deg); } }
@keyframes dq-dragon-orbit { to { transform:rotate(360deg); } }
@keyframes dq-dragon-drift { 50% { transform:translate3d(-12px,14px,0) rotate(-3deg); } }
@keyframes dq-tap-ring { from { opacity:.85; transform:translate(-50%,-50%) scale(.4); } to { opacity:0; transform:translate(-50%,-50%) scale(3.3); } }
@media (prefers-reduced-motion:no-preference) {
 body[data-effects="on"]:not(.fx-paused) .hallmark-dragon { animation:dq-dragon-float 7s ease-in-out infinite; }
 body[data-effects="on"]:not(.fx-paused) .hallmark-dragon-orbit { animation:dq-dragon-orbit 14s linear infinite; }
 body[data-effects="on"]:not(.fx-paused) .dq-dragon-backdrop { animation:dq-dragon-drift 18s ease-in-out infinite; }
 body[data-effects="on"]:not(.fx-paused) .dq-tap-ring { animation:dq-tap-ring 540ms ease-out both; }
}
body[data-effects="off"] .dq-tap-ring { display:none; }
body[data-effects="off"] :is(.hallmark-dragon,.hallmark-dragon-orbit,.dq-dragon-backdrop) { animation:none; }
@media(max-width:900px) {
 body[data-tikvui-hallmark] header[data-hallmark-header] { grid-template-columns:minmax(0,1fr) auto; }
 .hallmark-header-actions { grid-area:1 / 2; }
 body[data-tikvui-hallmark] [data-hallmark-header] .customer-navigation { grid-area:2 / 1 / 3 / -1; max-width:none; }
 .dq-account-bar { grid-row:3; }
 .dq-account-profile { flex-basis:15rem; }
}
@media(max-width:600px) {
 body[data-tikvui-hallmark] [data-hallmark-header] .customer-navigation { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .dq-account-bar { padding:.6rem; gap:.55rem; }
 .dq-account-profile { flex-basis:100%; }
 .dq-account-profile strong { max-width:calc(100vw - 7rem); }
 .dq-account-profile small { max-width:calc(100vw - 7rem); }
 .dq-account-actions { width:100%; }
 body[data-tikvui-hallmark].q-theme [data-hallmark-header] .dq-account-actions :is(.button,.fx-toggle) { flex:1 1 auto; padding:.55rem; }
 .hallmark-hero { min-height:245px; }
 .hallmark-hero-copy { padding:1rem; }
 .hallmark-hero h1 { font-size:clamp(1.45rem,5.5vw,2.1rem); }
 .hallmark-hero-copy > p { font-size:.85rem; max-width:15rem; }
 .hallmark-dragon { width:86px; margin:1rem .9rem 4.5rem 0; align-self:start; }
 .hallmark-dragon-orbit { inset:-4px; }
 .hallmark-spotlight { opacity:.22; }
 body[data-tikvui-hallmark] .hallmark-spotlight figcaption { top:auto; bottom:.65rem; right:.8rem; font-size:.65rem; }
 .hallmark-hero-actions { position:relative; z-index:2; gap:.4rem; }
 .hallmark-hero-actions .button { font-size:.78rem; }
 .dq-dragon-backdrop { display:none; }
}
@media(prefers-reduced-motion:reduce) {
 .hallmark-dragon,.hallmark-dragon-orbit,.dq-dragon-backdrop,.dq-tap-ring { animation:none !important; }
 .dq-tap-ring { display:none; }
}
