/* Tu Tien Ky wallet — jade, parchment and brushed gold. */
#ttk-wallet-fab{position:fixed;z-index:90000;width:64px;height:72px;padding:0;border:0;background:none;color:#fff0c7;font:600 11px/1.2 'Be Vietnam Pro',sans-serif;cursor:grab;touch-action:none;user-select:none;filter:drop-shadow(0 3px 5px #0008)}
#ttk-wallet-fab .w-coin{display:grid;place-items:center;margin:auto;width:49px;height:49px;border:2px solid #f3d794;border-radius:50%;box-shadow:inset 0 0 0 4px #17454b,0 0 0 2px #183c43;background:radial-gradient(ellipse at 35% 25%,#fff2bc,#d09b42 55%,#855723);color:#1b4144;font:bold 27px Georgia,serif;text-shadow:0 1px #ffeb9b}
#ttk-wallet-fab .w-label{display:block;margin-top:4px;text-shadow:0 1px 3px #000,1px 0 3px #000}
#ttk-wallet-fab:active{cursor:grabbing}#ttk-wallet-fab:focus-visible{outline:2px solid #fff1bf;border-radius:14px}
#ttk-wallet{--w-ink:#183f3b;--w-muted:#667564;--w-line:#e3e5da;box-sizing:border-box;color:var(--w-ink);background:#f7f8f2;border:1px solid #d3c297;border-radius:24px;padding:0;width:min(740px,calc(100% - 32px));max-width:740px;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:hidden;box-shadow:0 32px 100px #001c1bb3,0 0 0 5px #ffffff08;font:400 14px/1.6 'Be Vietnam Pro',sans-serif;touch-action:pan-y;user-select:text;color-scheme:light}
#ttk-wallet *{box-sizing:border-box}#ttk-wallet[open]{display:flex;flex-direction:column;animation:w-appear .18s ease-out}#ttk-wallet::backdrop{background:#031b1ac7;backdrop-filter:blur(7px)}#ttk-wallet header,#ttk-wallet nav{flex-shrink:0}
#ttk-wallet header{position:relative;isolation:isolate;overflow:hidden;padding:25px 32px 19px;color:#fcf7e7;background:#103f3d}
#ttk-wallet header:before{content:'';position:absolute;z-index:-2;inset:0;background:linear-gradient(100deg,#103a39 9%,#103c3be8 48%,#103c3b8f),url('/portal/assets/sanctuary.jpg') right 48%/cover;opacity:.92}
#ttk-wallet header:after{content:'';position:absolute;z-index:-1;right:-64px;top:-145px;width:370px;height:370px;border:1px solid #d9b87830;border-radius:50%;box-shadow:0 0 0 26px #d9b87806,0 0 0 27px #d9b87812,0 0 0 64px #d9b87804;pointer-events:none}
#ttk-wallet .w-brand{display:flex;gap:13px;align-items:center;padding-right:38px}
#ttk-wallet .w-brand-seal{display:grid;place-items:center;width:42px;height:48px;flex-shrink:0;color:#e8ca88;border:1px solid #d6b87875;border-radius:13px 13px 18px 18px;background:linear-gradient(150deg,#d8bc7824,#ffffff03);box-shadow:inset 0 0 0 3px #113b38}
#ttk-wallet .w-brand-seal .w-icon{width:23px;height:23px}
#ttk-wallet header p{margin:0 0 3px;color:#d8be86;font-size:9px;font-weight:500;letter-spacing:2.2px}
#ttk-wallet h2{margin:0;font:500 28px/1.35 Lora,Georgia,serif;letter-spacing:-.5px}
#ttk-wallet h3{margin:0 0 9px;font-size:17px;line-height:1.45;font-weight:650;letter-spacing:-.3px}#ttk-wallet h4{margin:0 0 7px;font-size:15px}
#ttk-wallet .w-close{position:absolute;right:19px;top:20px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ffffff22;border-radius:50%;background:#113f3b80;color:#e8efdf;transition:background .15s}
#ttk-wallet .w-close:hover{background:#ffffff20}#ttk-wallet .w-close .w-icon{width:18px;height:18px}
#ttk-wallet .w-balance{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:23px 0 15px}
#ttk-wallet .w-balance>div{min-width:0;flex:1}#ttk-wallet .w-balance-label{display:block;color:#b3c7bb;font-size:11px;letter-spacing:.3px}
#ttk-wallet .w-number{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:9px;margin-top:1px;font-size:42px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;letter-spacing:-1.5px;overflow-wrap:anywhere}
#ttk-wallet .w-number b{font-weight:600;max-width:100%}#ttk-wallet .w-number span{font-size:16px;font-weight:500;letter-spacing:0;color:#e7c787}
#ttk-wallet .w-balance>.w-primary{flex-shrink:0;min-width:139px;min-height:48px;box-shadow:0 5px 18px #021f2933,inset 0 1px #fff5ce}
#ttk-wallet .w-account-line{display:flex;align-items:center;gap:7px;border-top:1px solid #e2d9ba24;padding-top:11px;color:#bdcfc4}
#ttk-wallet .w-account-line .w-icon{width:12px;height:12px;flex-shrink:0}#ttk-wallet .w-account-line small{font-size:11px;overflow-wrap:anywhere}
#ttk-wallet .w-icon{display:inline-block;width:20px;height:20px;flex-shrink:0;vertical-align:middle;pointer-events:none}
#ttk-wallet nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px 22px;background:#edf1e9;border-bottom:1px solid #e2e6db}
#ttk-wallet nav button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;background:transparent;padding:10px 4px;color:#76837a;font-size:12px;font-weight:550;white-space:nowrap;transition:background .15s,color .15s}
#ttk-wallet nav .w-icon{width:17px;height:17px}#ttk-wallet nav button[aria-selected=true]{background:#fffef9;border-color:#dce3d5;box-shadow:0 2px 5px #26443807;color:#245a48;font-weight:650}
#ttk-wallet nav button:hover:not([aria-selected=true]){color:#214d41;background:#ffffff70}
#ttk-wallet .w-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:26px 32px 24px;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#b6c4b8 transparent}
#ttk-wallet .w-scroll::-webkit-scrollbar{width:5px}#ttk-wallet .w-scroll::-webkit-scrollbar-thumb{background:#b6c4b8;border-radius:10px}
#ttk-wallet p{margin:8px 0 14px}#ttk-wallet .w-muted{color:var(--w-muted);font-size:12px;line-height:1.7}
#ttk-wallet .w-overview-intro{margin:0 0 19px}#ttk-wallet .w-overview-intro h3{margin:0 0 3px;font:500 23px/1.4 Lora,Georgia,serif;color:#304a3c}
#ttk-wallet .w-overview-intro p{font-size:12px;color:var(--w-muted);margin:0}
#ttk-wallet .w-character-card{display:flex;align-items:center;gap:15px;background:#fffefa;border:1px solid #e0e5d8;border-radius:13px;padding:15px 18px;margin-bottom:20px}
#ttk-wallet .w-character-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #dae2d3;border-radius:50%;background:linear-gradient(145deg,#e4eddf,#f4f3e7);color:#748b64;flex-shrink:0}
#ttk-wallet .w-character-card>div{flex:1;min-width:0}#ttk-wallet .w-character-card label{margin:0 0 3px;font-size:10px;font-weight:500;color:#839080;letter-spacing:.3px}
#ttk-wallet .w-character-card select{padding:3px 26px 3px 0;min-height:30px;border:0;background-color:transparent;border-radius:3px;font-size:13px;font-weight:550}
#ttk-wallet .w-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#ttk-wallet .w-shortcut{display:flex;align-items:center;gap:12px;text-align:left;padding:17px 15px;border:1px solid #e4e7dd;border-radius:12px;background:#fffefa;color:var(--w-ink);min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s}
#ttk-wallet .w-shortcut:hover{border-color:#b6c8b0;box-shadow:0 4px 14px #2a4b3310;transform:translateY(-1px)}
#ttk-wallet .w-shortcut-icon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}
#ttk-wallet .w-tone-gold{color:#ad8240;background:#f6edda}#ttk-wallet .w-tone-jade{color:#4e846d;background:#e7f0e6}#ttk-wallet .w-tone-blue{color:#63828c;background:#e8eff0}#ttk-wallet .w-tone-rose{color:#b08570;background:#f4eae2}
#ttk-wallet .w-shortcut-copy{display:block;flex:1;min-width:0}#ttk-wallet .w-shortcut b{display:block;font-size:14px;font-weight:650;line-height:1.5}
#ttk-wallet .w-shortcut small{display:block;margin-top:3px;font-size:11px;color:#76836c;line-height:1.5}
#ttk-wallet .w-shortcut>.w-icon{color:#a4b29d;width:14px;height:14px}
#ttk-wallet .w-position-hint{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:19px;color:#78876f;font-size:10px}
#ttk-wallet .w-position-hint>.w-icon{width:13px;height:13px}#ttk-wallet .w-position-hint .w-link{font-size:10px;color:#7a8a74}
#ttk-wallet button{font-family:inherit;cursor:pointer;touch-action:manipulation}#ttk-wallet button:disabled{cursor:default;opacity:.48;transform:none;box-shadow:none}
#ttk-wallet button:focus-visible{outline:2px solid #af8842;outline-offset:3px}
#ttk-wallet .w-primary,#ttk-wallet .w-secondary,#ttk-wallet .w-danger{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:9px;padding:11px 18px;font-size:12px;font-weight:600;line-height:1.5;transition:filter .15s,background .15s}
#ttk-wallet .w-primary{border:1px solid #cfad68;background:linear-gradient(115deg,#f5dfab,#d8b567);color:#3f4027;box-shadow:inset 0 1px #ffedc5}
#ttk-wallet .w-primary:hover:not(:disabled){filter:brightness(1.05)}
#ttk-wallet .w-primary .w-icon,#ttk-wallet .w-secondary .w-icon{width:17px;height:17px}
#ttk-wallet .w-secondary{border:1px solid #d5dfd0;background:#fffef9;color:#456c56}#ttk-wallet .w-secondary:hover:not(:disabled){background:#edf3e9}
#ttk-wallet .w-danger{border:1px solid #e0b9a8;background:#fff6f0;color:#a9513e}
#ttk-wallet .w-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:17px}
#ttk-wallet .w-card{padding:22px;background:#fffefa;border:1px solid #e0e5d8;border-radius:14px;margin-bottom:16px}
#ttk-wallet .w-card.w-highlight{background:linear-gradient(145deg,#fff9e8,#fffefa 60%);border-color:#ddc89b}
#ttk-wallet .w-highlight>h3{font:500 23px/1.5 Lora,Georgia,serif;color:#48604b;margin:8px 0}
#ttk-wallet .w-highlight>p:first-child{color:#a48549;font-size:10px;letter-spacing:1.5px}
#ttk-wallet .w-highlight .w-row{padding:17px 0}#ttk-wallet .w-highlight .w-actions .w-primary{min-width:145px}#ttk-wallet .w-highlight>.w-muted[role=status]{margin-top:18px}
#ttk-wallet label{display:block;font-weight:550;font-size:12px;margin:13px 0 8px}
#ttk-wallet input,#ttk-wallet select,#ttk-wallet textarea{font:inherit;color:var(--w-ink);border:1px solid #d3dccc;background:#fffefa;width:100%;min-width:0;padding:12px 13px;border-radius:9px;user-select:text;touch-action:manipulation}
#ttk-wallet input::placeholder,#ttk-wallet textarea::placeholder{color:#a2ab9c}#ttk-wallet textarea{min-height:115px;resize:vertical}
#ttk-wallet input:focus,#ttk-wallet select:focus,#ttk-wallet textarea:focus{outline:2px solid #c1b27c;outline-offset:1px}
#ttk-wallet .w-scroll>select{margin-bottom:22px}
#ttk-wallet .w-section-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}#ttk-wallet .w-section-title h3{margin:0}#ttk-wallet .w-section-title p{margin:3px 0 0;font-size:11px}
#ttk-wallet .w-rate{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#f0f4e9;border:1px solid #e4e9d9;border-radius:9px;padding:12px 14px;margin-bottom:19px;font-size:11px;color:#7d8b72}
#ttk-wallet .w-rate b{color:#52764b;font-size:12px;font-weight:600}
#ttk-wallet .w-input-wrap{position:relative}#ttk-wallet .w-input-wrap>span{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#859277;font-size:12px;pointer-events:none}
#ttk-wallet input.w-money{font-size:27px;line-height:1.5;font-weight:550;letter-spacing:.2px;padding:13px 62px 13px 15px;font-variant-numeric:tabular-nums}
#ttk-wallet .w-money::placeholder{font-size:19px;font-weight:400}#ttk-wallet .w-deposit-card form>.w-primary{width:100%;margin-top:5px}#ttk-wallet #w-conversion{min-height:21px;font-size:11px}
#ttk-wallet .w-error,#ttk-wallet .w-success,#ttk-wallet .w-notice{padding:13px 15px;border-radius:10px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#ttk-wallet .w-error{color:#9a4b3b;background:#fff0e8;border:1px solid #ebc4b5}#ttk-wallet .w-success{color:#36734c;background:#eaf3e5;border:1px solid #cadcbd}
#ttk-wallet .w-notice{color:#81734b;background:#f2eddd;border:1px solid #e5dcc3}
#ttk-wallet .w-back{display:flex;align-items:center;gap:7px;border:0;background:none;color:#7c8b74;padding:0 0 15px;font-size:11px}#ttk-wallet .w-back .w-icon{width:15px;height:15px}
#ttk-wallet .w-qr{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;align-items:start;margin-top:18px}
#ttk-wallet .w-qr img{width:180px;height:180px;object-fit:contain;background:white;border:1px solid #e1e6d9;border-radius:12px;padding:7px}
#ttk-wallet .w-qr code{display:block;overflow-wrap:anywhere;font-weight:600;font-size:14px;color:#315c46}#ttk-wallet .w-qr .w-link{min-height:34px;text-align:left}
#ttk-wallet .w-timer{color:#ae8742;font-weight:600;font-variant-numeric:tabular-nums}
#ttk-wallet .w-row{display:flex;gap:14px;justify-content:space-between;align-items:start;padding:15px 0;border-bottom:1px solid var(--w-line);font-size:13px}
#ttk-wallet .w-row:last-child{border:0}#ttk-wallet .w-row>div{min-width:0}#ttk-wallet .w-row small{display:block;color:var(--w-muted);font-size:10px;margin-top:3px;overflow-wrap:anywhere}
#ttk-wallet .w-right{text-align:right;flex-shrink:0;max-width:55%;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#ttk-wallet .w-row>b:last-child{text-align:right;overflow-wrap:anywhere}
#ttk-wallet .w-progress{height:6px;background:#e9eddf;border-radius:9px;overflow:hidden;margin:13px 0}
#ttk-wallet .w-progress i{display:block;height:100%;background:linear-gradient(90deg,#759b74,#c9b77a);border-radius:inherit}
#ttk-wallet .w-link{display:inline-flex;align-items:center;gap:6px;padding:3px 0;background:none;border:0;text-underline-offset:3px;text-decoration:underline;text-decoration-color:#9cac9666;color:#6d8663;font-size:11px}
#ttk-wallet .w-link .w-icon{width:13px;height:13px}
#ttk-wallet .w-order-history{padding:3px 17px 16px;margin:0 0 12px;background:#fffefa;border:1px solid #e0e5d8;border-radius:12px}
#ttk-wallet .w-order-history>.w-row{border:0;padding-bottom:6px}#ttk-wallet .w-order-history .w-reference{font-size:9px;color:#a1aa98;letter-spacing:.3px}
#ttk-wallet .w-order-history .w-actions{justify-content:space-between;margin-top:8px}
#ttk-wallet .w-order-history .w-secondary{min-height:40px;padding:8px 11px;font-size:11px;background:#f2f5ec;border-color:#e1e7d8}
#ttk-wallet .w-status{display:table;margin:6px 0 0 auto;padding:3px 8px;border-radius:6px;font-size:9px;font-weight:550;line-height:1.5;color:#858b7a;background:#eff1e8;white-space:normal}
#ttk-wallet .w-status[data-state=approved],#ttk-wallet .w-status[data-state=delivered],#ttk-wallet .w-status[data-state=resolved]{color:#54804f;background:#eaf3e4}
#ttk-wallet .w-status[data-state=pending],#ttk-wallet .w-status[data-state=approving],#ttk-wallet .w-status[data-state=purchasing]{color:#a58239;background:#f9f0da}
#ttk-wallet .w-status[data-state=rejected],#ttk-wallet .w-status[data-state=reversed]{color:#b4745c;background:#f8e9e0}
#ttk-wallet .w-order-message{margin:14px 0 0}#ttk-wallet .w-copy-message{margin:10px 0 0}
#ttk-wallet [hidden]{display:none!important}#ttk-wallet.w-checkout nav{display:none}#ttk-wallet .w-empty{text-align:center;padding:38px 16px;color:#86937c;font-size:13px}
@keyframes w-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){
#ttk-wallet{width:calc(100% - 16px);max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:19px;font-size:13px}
#ttk-wallet header{padding:22px 21px 16px}#ttk-wallet .w-brand{gap:10px}#ttk-wallet .w-brand-seal{width:33px;height:40px;border-radius:10px 10px 14px 14px}#ttk-wallet .w-brand-seal .w-icon{width:20px;height:20px}
#ttk-wallet header p{font-size:7px;letter-spacing:1.5px}#ttk-wallet h2{font-size:23px;letter-spacing:-.5px}
#ttk-wallet .w-close{top:19px;right:15px;width:29px;height:29px}#ttk-wallet .w-balance{margin-top:20px;gap:10px}
#ttk-wallet .w-number{font-size:clamp(20px,5.6vw,28px);letter-spacing:-.6px}#ttk-wallet .w-number b{white-space:nowrap;overflow-x:auto}#ttk-wallet .w-number span{font-size:13px}#ttk-wallet .w-balance>.w-primary{min-width:112px;min-height:43px;padding:10px 13px;font-size:11px}
#ttk-wallet .w-account-line small{font-size:10px}#ttk-wallet nav{padding:9px 12px;gap:2px}#ttk-wallet nav button{font-size:11px;gap:5px;padding:9px 2px}#ttk-wallet nav .w-icon{width:14px;height:14px}
#ttk-wallet .w-scroll{padding:22px 18px 19px}#ttk-wallet .w-overview-intro h3{font-size:21px}#ttk-wallet .w-overview-intro p{font-size:11px}
#ttk-wallet .w-character-card{padding:12px;gap:11px;margin-bottom:15px}#ttk-wallet .w-character-icon{width:36px;height:36px}#ttk-wallet .w-character-card select{font-size:12px}
#ttk-wallet .w-grid{gap:9px}#ttk-wallet .w-shortcut{position:relative;display:block;padding:13px 12px;min-height:124px}
#ttk-wallet .w-shortcut-icon{width:33px;height:33px;border-radius:9px}#ttk-wallet .w-shortcut-icon .w-icon{width:18px;height:18px}
#ttk-wallet .w-shortcut-copy{margin-top:10px}#ttk-wallet .w-shortcut b{font-size:13px}#ttk-wallet .w-shortcut small{font-size:11px}
#ttk-wallet .w-shortcut>.w-icon{position:absolute;top:21px;right:12px;width:13px;height:13px}
#ttk-wallet .w-position-hint{font-size:9px;gap:5px;margin-top:15px}#ttk-wallet .w-position-hint .w-link{font-size:9px}
#ttk-wallet .w-card{padding:17px}#ttk-wallet .w-highlight>h3{font-size:21px}
#ttk-wallet .w-qr{grid-template-columns:1fr;gap:14px}#ttk-wallet .w-qr img{margin:auto;width:180px;height:180px}
#ttk-wallet .w-rate{padding:11px 12px;gap:4px}#ttk-wallet .w-rate>span{display:block;width:100%;font-size:10px}#ttk-wallet .w-rate b{font-size:11px}
#ttk-wallet .w-row{font-size:12px;gap:10px}#ttk-wallet .w-order-history{padding:2px 13px 13px}
#ttk-wallet-fab{width:58px;height:67px}#ttk-wallet-fab .w-coin{width:44px;height:44px;font-size:24px}
}
@media(max-width:360px){#ttk-wallet h2{font-size:20px}#ttk-wallet .w-brand-seal{display:none}#ttk-wallet .w-number{font-size:30px}#ttk-wallet .w-shortcut b{font-size:10px}#ttk-wallet nav button{flex-direction:column;gap:3px}#ttk-wallet .w-actions>.w-primary,#ttk-wallet .w-actions>.w-secondary,#ttk-wallet .w-actions>.w-danger{flex:1}}
@media(max-height:600px){#ttk-wallet header{padding:14px 24px 12px}#ttk-wallet .w-brand-seal{display:none}#ttk-wallet h2{font-size:22px}#ttk-wallet .w-balance{margin:11px 0 7px}#ttk-wallet .w-number{font-size:30px}#ttk-wallet .w-account-line{padding-top:7px}#ttk-wallet .w-balance>.w-primary{min-height:39px}#ttk-wallet nav{padding-top:6px;padding-bottom:6px}#ttk-wallet .w-scroll{padding-top:19px}}
@media(prefers-reduced-motion:reduce){#ttk-wallet[open]{animation:none}#ttk-wallet button{transition:none!important}#ttk-wallet .w-shortcut:hover{transform:none}}


/* Offer cards: exact-deposit rewards, no misleading accumulated-money meter. */
#ttk-wallet .w-offer-recipient{margin-bottom:24px;padding:14px 16px;background:#edf2e9;border:1px solid #dde5d6;border-radius:13px}
#ttk-wallet .w-offer-recipient label{margin:0}#ttk-wallet .w-offer-recipient select{margin:6px 0 4px;background:#fffefa}
#ttk-wallet .w-offer-recipient>small{font-size:11px;color:var(--w-muted)}
#ttk-wallet .w-offer-campaign{margin-bottom:26px}
#ttk-wallet .w-offer-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}
#ttk-wallet .w-offer-eyebrow{font-size:9px;letter-spacing:1.6px;color:#907746;font-weight:650}
#ttk-wallet .w-offer-heading h3{margin:4px 0;font:600 23px/1.4 Lora,Georgia,serif;color:#244d43}
#ttk-wallet .w-offer-period{border:1px solid #dce3d6;padding:5px 9px;border-radius:6px;font-size:10px;color:#62765e;white-space:nowrap;background:#eef2e9}
#ttk-wallet .w-offer-deadline{font-size:11px;color:var(--w-muted);margin:4px 0 17px}
#ttk-wallet .w-offer-list{display:grid;gap:14px}
#ttk-wallet .w-offer-tier{border:1px solid #dce4d5;border-radius:14px;background:#fffef9;overflow:hidden;box-shadow:0 2px 6px #24443804}
#ttk-wallet .w-offer-tier[data-state=ready]{border-color:#91ae85;box-shadow:0 0 0 1px #91ae8520}
#ttk-wallet .w-offer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 19px 12px}
#ttk-wallet .w-offer-label{font-size:9px;color:#859078;letter-spacing:1.2px;font-weight:600}
#ttk-wallet .w-offer-top h4{margin:2px 0 0;font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.5px;color:#254e43;font-variant-numeric:tabular-nums}
#ttk-wallet .w-offer-top h4 small{font-size:11px;letter-spacing:0;font-weight:500;color:#8d7950}
#ttk-wallet .w-offer-badge{font-size:10px;padding:5px 9px;border-radius:20px;background:#f0f1ea;color:#7c8773;white-space:nowrap}
#ttk-wallet [data-state=ready] .w-offer-badge{background:#e7f1e3;color:#3b7142}
#ttk-wallet [data-state=complete] .w-offer-badge{background:#eef0e9;color:#718367}
#ttk-wallet .w-offer-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;padding:0 19px 15px;margin:0}
#ttk-wallet .w-offer-rewards li{display:flex;gap:8px;align-items:center;min-width:0;padding:9px 7px;background:#f4f5ed;border-radius:9px;border:1px solid #e9ecdf}
#ttk-wallet .w-offer-item-icon{width:36px;height:36px;display:grid;place-items:center;flex-shrink:0;background:#e9eddf;border-radius:8px}
#ttk-wallet .w-offer-item-icon img{width:32px;height:32px;object-fit:contain}
#ttk-wallet .w-offer-item-copy{min-width:0;line-height:1.4}#ttk-wallet .w-offer-item-copy>span{display:block;color:#76816b;font-size:10px;overflow-wrap:anywhere}
#ttk-wallet .w-offer-item-copy strong{display:block;color:#2f5543;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}
#ttk-wallet .w-offer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 19px;background:#f8f9f2;border-top:1px solid #e9ecdf}
#ttk-wallet .w-offer-footer p{margin:0;font-size:11px;color:#74816a}#ttk-wallet .w-offer-footer strong{font-size:14px;color:#385e48;margin-left:5px}#ttk-wallet .w-offer-footer strong span{font-size:12px;color:#8c9781;font-weight:400}
#ttk-wallet .w-offer-footer small{display:block;font-size:10px;margin-top:3px;color:#8b957f}
#ttk-wallet .w-offer-footer .w-primary{min-height:38px;padding:9px 15px;font-size:11px;white-space:nowrap}
#ttk-wallet .w-offer-footer .w-primary:disabled{background:#e9ecdf;color:#919981;border:1px solid #dfe4d5;opacity:1;box-shadow:none}
#ttk-wallet .w-offer-rules{font-size:11px;line-height:1.8;color:var(--w-muted);padding:12px 0;border-top:1px solid var(--w-line)}#ttk-wallet .w-offer-rules summary{cursor:pointer;color:#53715c;font-weight:600}#ttk-wallet .w-offer-rules p{margin:8px 0}
@media(max-width:520px){#ttk-wallet .w-offer-heading{align-items:start;flex-direction:column;gap:4px}#ttk-wallet .w-offer-heading h3{font-size:21px}#ttk-wallet .w-offer-recipient{padding:11px;margin-bottom:20px}#ttk-wallet .w-offer-top{padding:14px 13px 12px}#ttk-wallet .w-offer-top h4{font-size:23px}#ttk-wallet .w-offer-badge{font-size:9px;padding:4px 7px}#ttk-wallet .w-offer-rewards{padding:0 13px 13px;gap:6px}#ttk-wallet .w-offer-rewards li{flex-direction:column;text-align:center;gap:5px;padding:9px 3px}#ttk-wallet .w-offer-item-copy strong{font-size:13px}#ttk-wallet .w-offer-footer{padding:11px 13px;gap:8px}#ttk-wallet .w-offer-footer .w-primary{font-size:10px;padding:8px 11px}#ttk-wallet .w-offer-footer small{max-width:135px}}
@media(max-width:360px){#ttk-wallet .w-offer-top{align-items:start;flex-direction:column}#ttk-wallet .w-offer-footer{align-items:stretch;flex-direction:column}#ttk-wallet .w-offer-footer small{max-width:none}}

#ttk-wallet nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow-x:auto}#ttk-wallet nav button{flex:0 0 auto;min-width:75px}.wr-total{background:linear-gradient(125deg,#153d39,#286053);color:#fff;border-radius:16px;padding:20px;display:grid;gap:8px;margin:16px 0}.wr-total>small{color:#dfd5aa;letter-spacing:.09em;font-size:10px}.wr-total strong{font-size:32px}.wr-total strong small{font-size:15px}.wr-total span{font-size:12px;color:#dfebdf}#ttk-wallet progress{width:100%;height:9px;accent-color:#246d5b;margin:12px 0 18px}.wr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px;margin:16px 0}.wr-item{background:linear-gradient(145deg,#f6f5e9,#fffef8);border:1px solid #dbdecc;border-radius:10px;display:flex;align-items:center;text-align:center;flex-direction:column;padding:10px;gap:4px;color:#193f36;font-size:11px;box-sizing:border-box}.wr-item strong{font-size:15px}.wr-item-art{height:48px;display:grid;place-items:center;font-size:32px;color:#be9244}.wr-item img{max-height:48px;max-width:60px;object-fit:contain}.wr-reel{position:relative;overflow:hidden;background:#16332f;border:1px solid #bf9e5b;border-radius:12px;padding:18px 0;margin:16px 0;box-shadow:inset 0 0 30px #0005}.wr-strip{display:flex;gap:10px;width:max-content;will-change:transform}.wr-strip .wr-item{width:132px;min-width:132px;height:132px;border-bottom:4px solid #bc954e}.wr-pointer{position:absolute;left:50%;top:0;bottom:0;width:2px;background:#f2ce77;z-index:2;box-shadow:0 0 8px #ffc}.wr-pointer:before{content:'';position:absolute;left:-7px;top:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:10px solid #f4ce77}.wr-result{font-weight:600;text-align:center;min-height:40px;color:#285444}.wr-spin{width:100%}.wr-pool>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #e4e7dc}.wr-pool b{padding-left:10px}.wr-pool{font-size:13px}#ttk-wallet .wr-item img{display:block}

@media(max-width:540px){#ttk-wallet nav{grid-template-columns:repeat(3,minmax(0,1fr))}#ttk-wallet nav button{min-width:0}}

.wr-strip.wr-last{width:auto;justify-content:center}

/* Jade and gold cabinet with a CS-style moving prize strip. */
#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) header{padding-top:16px;padding-bottom:12px}
#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-balance,#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-account-line{display:none}
#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-brand h2{font-size:25px}
#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-scroll{padding-top:18px}
.wc-progress{display:flex;justify-content:space-between;gap:14px;font-size:11px;margin:12px 0 2px;color:#5b7568}.wc-progress b{color:#214c42}.wc-help{font-size:11px!important;margin:8px 0 18px;color:#6a7b70}
.wc-home{position:relative;overflow:hidden;text-align:center;border:1px solid #9b824f;border-radius:16px;color:#f8eac8;background:radial-gradient(ellipse at 50% 35%,#285c50,#12322e 57%,#0b201f);padding:16px 18px 18px;box-shadow:inset 0 0 0 5px #ffffff04,0 10px 24px #17372b15}
.wc-home:before{content:'';position:absolute;inset:9px;border:1px solid #d5b36523;border-radius:9px;pointer-events:none}.wc-home-top,.wc-stage-top{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative}.wc-home-top>span{font-size:9px;letter-spacing:.15em;color:#d3bc80}.wc-home-heading{font:30px/1.3 Georgia,'Times New Roman',serif;margin-top:14px}.wc-subtitle{font-size:11px;color:#9eb8ab;margin:5px 0 0}.wc-sound,.wc-motion{background:none;border:1px solid #c6ae6c45;color:#d6c391;border-radius:5px;padding:6px 9px;font-size:10px;cursor:pointer;white-space:nowrap}.wc-sound:hover,.wc-motion:hover{background:#d5b3651f}.wc-chest{width:144px;height:113px;position:relative;margin:15px auto 6px;filter:drop-shadow(0 15px 12px #0006);perspective:400px}.wc-aura{position:absolute;inset:-40px;background:radial-gradient(ellipse,#ecc46c35,transparent 65%);border-radius:50%;pointer-events:none}.wc-chest-base{position:absolute;left:7px;right:7px;top:45px;height:66px;background:linear-gradient(135deg,#244f48,#102d2a);border:3px solid #bc9851;border-radius:3px 3px 14px 14px;box-shadow:inset 0 0 0 5px #102b2a,inset 0 0 0 7px #b78d4d88;transform:rotateX(-7deg)}.wc-chest-base:before,.wc-chest-base:after{content:'';position:absolute;top:0;bottom:0;width:13px;background:linear-gradient(90deg,#886025,#ddbf75,#9a7236);left:13px}.wc-chest-base:after{left:auto;right:13px}.wc-chest-base span{font-size:29px;color:#eac46f;line-height:57px;text-shadow:0 0 16px #fcdf9060}.wc-chest-lid{position:absolute;left:4px;right:4px;top:9px;height:43px;border:3px solid #e1c17c;border-bottom:7px solid #aa803d;background:linear-gradient(160deg,#548b6e,#1d4b3c 60%,#17382e);border-radius:24px 24px 3px 3px;box-shadow:inset 0 0 0 4px #194034,inset 0 0 0 6px #dfb86577;transform-origin:center top;z-index:2;transition:transform .75s ease,filter .75s}.wc-chest-lock{position:absolute;top:43px;left:62px;width:22px;height:25px;z-index:3;background:linear-gradient(#ffe9a5,#b88633);border:1px solid #ffe2a2;border-radius:3px;color:#433923;font-size:11px;line-height:23px;box-shadow:0 3px 6px #0007}.wc-preview{display:flex;justify-content:center;gap:16px;margin:9px 0 16px}.wc-preview span{width:38px;height:38px;display:grid;place-items:center;border:1px solid #d6b77940;background:#051d1b70;border-radius:8px}.wc-preview img{width:28px;height:28px;object-fit:contain}
#ttk-wallet .wc-open,#ttk-wallet .wc-continue{cursor:pointer;border:1px solid #f2d393;background:linear-gradient(115deg,#b99143,#fae1a0 50%,#c8a055);color:#2c3427;font-weight:700;font-size:15px;min-height:48px;border-radius:7px;box-shadow:inset 0 1px #fff4ce,0 3px 16px #e6bf6720;width:100%;letter-spacing:.015em}.wc-open>span{margin-right:9px}.wc-open small{font-weight:400;margin-left:16px;border-left:1px solid #8e793c60;padding-left:15px;font-size:11px}.wc-open:disabled{opacity:.45;cursor:default}.wc-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;font-size:11px;color:#b4c9b9}.wc-motion{border:0;padding:4px;font-size:10px;color:#a2b8ac}.wc-last{font-size:10px;margin:10px 0 0;color:#9bb5a6}.wc-last b{color:#e2cd91}
#ttk-wallet[data-case-active="1"]{min-height:min(680px,calc(100dvh - 32px))}
.wc-theatre{position:absolute;inset:0;z-index:5;color:#eee4c5;display:flex;flex-direction:column;overflow:auto;background:radial-gradient(ellipse at 50% 40%,#245446,#0c2926 55%,#071a1b);padding:25px 24px 18px;text-align:center;isolation:isolate}
.wc-theatre:before{content:'';position:absolute;inset:10px;border:1px solid #b8995235;border-radius:14px;pointer-events:none;z-index:-1}.wc-stage-top{font-size:11px;color:#d3b575;letter-spacing:.14em}.wc-stage-top i{display:block;color:#729b8b;font-style:normal;font-size:8px;margin-top:3px;text-align:left}.wc-stage-main{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0;padding:28px 0 14px;position:relative}.wc-overline{color:#bb9c55;font-size:9px;letter-spacing:.24em}.wc-heading{font:28px/1.3 Georgia,'Times New Roman',serif!important;color:#f7e5b9;margin:9px 0 24px!important}.wc-unlock{height:225px;display:grid;place-items:center}.wc-unlock .wc-chest{transform:scale(1.4)}.wc-unlocked .wc-chest-lid{transform:translateY(-24px) rotateX(65deg);filter:brightness(1.7)}.wc-unlocked .wc-chest-lock{opacity:0;transition:opacity .2s}.wc-unlocked .wc-aura{background:radial-gradient(ellipse,#ffe7a780,transparent 67%);transform:scale(1.4);transition:transform .8s}.wc-machine{display:none;width:100%;border:1px solid #ac8b4d;border-radius:10px;background:#061a1dcc;box-shadow:0 12px 45px #0007,inset 0 0 0 4px #efd69608;overflow:hidden}.wc-machine-label{display:flex;justify-content:space-between;gap:8px;padding:12px 13px;font-size:8px;letter-spacing:.12em;color:#bb9a5b;border-bottom:1px solid #b9985a2b}.wc-live-dot{color:#a2c7aa}.wc-live-dot:before{content:'●';margin-right:5px;color:#b4d799}.wc-window{position:relative;height:220px;display:flex;align-items:center;overflow:hidden;background:linear-gradient(#091d1e,#102e2b);contain:layout paint}.wc-window:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#031616e0,transparent 15%,transparent 85%,#031616e0);z-index:1}.wc-track{display:flex;gap:10px;width:max-content;will-change:transform}.wc-card{--tone:#6099bf;flex:0 0 150px;width:150px;height:191px;border:1px solid #58766c4d;border-bottom:4px solid var(--tone);background:linear-gradient(160deg,#2c4945,#122b2b);display:flex;flex-direction:column;text-align:left;position:relative;padding:11px 11px 10px;color:#dae5db;box-shadow:inset 0 0 25px #0003}.wc-card[data-tone="rare"]{--tone:#679be8}.wc-card[data-tone="epic"]{--tone:#b186ed}.wc-card[data-tone="legend"]{--tone:#f295ba}.wc-card[data-tone="mythic"]{--tone:#efc25a}.wc-card small{color:var(--tone);text-transform:uppercase;font-size:8px;letter-spacing:.08em}.wc-art{display:grid;place-items:center;height:102px;position:relative;background:radial-gradient(ellipse,#d9d19c18,transparent 65%)}.wc-art img{width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 5px 6px #0007)}.wc-card b{font-size:10px;line-height:1.4;min-height:28px}.wc-card strong{font-size:12px;margin-top:auto;color:#f3e5c0}.wc-selected{border-color:var(--tone);box-shadow:inset 0 0 25px #e7d18618,0 0 12px #d5b66015}.wc-marker{position:absolute;left:50%;top:0;bottom:0;width:1px;background:linear-gradient(#f5cf75,#ffeba265,#f5cf75);box-shadow:0 0 9px #ffdf7890;z-index:3}.wc-marker:before,.wc-marker:after{content:'';position:absolute;left:-7px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:10px solid #f7d68c;top:0;filter:drop-shadow(0 0 4px #ffe4a4)}.wc-marker:after{top:auto;bottom:0;border-top:0;border-bottom:10px solid #f7d68c}.wc-click:before{animation:wc-click .12s ease-out}.wc-machine-base{display:flex;align-items:center;justify-content:center;gap:16px;font-size:8px;letter-spacing:.14em;color:#7c9182;padding:12px}.wc-machine-base i{width:30px;height:1px;background:#b89d5655}.wc-status{font-size:12px;color:#abc2af;margin:20px 0 0;min-height:36px;line-height:1.6}.wc-stage-bottom{display:grid;justify-items:center;gap:10px;flex-shrink:0}.wc-footnote{font-size:10px;color:#719586}.wc-exit{background:none;border:0;padding:6px;color:#9fb2a0;font-size:10px;cursor:pointer}.wc-reveal{display:none;position:relative;min-height:260px;isolation:isolate;padding:16px 0 10px}.wc-theatre[data-phase="rolling"] .wc-unlock,.wc-theatre[data-phase="won"] .wc-unlock{display:none}.wc-theatre[data-phase="rolling"] .wc-machine{display:block}.wc-theatre[data-phase="won"] .wc-reveal{display:flex;flex-direction:column;align-items:center;animation:wc-reveal .65s cubic-bezier(.16,1,.3,1)}.wc-theatre[data-phase="won"]{background:radial-gradient(ellipse at 50% 42%,#5b5830,#153a2e 48%,#071a1b)}.wc-theatre[data-phase="won"] .wc-heading{margin-bottom:4px!important}.wc-win-art{width:132px;height:132px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(#ffe8a744,#ffe8a708 63%,transparent 65%);filter:drop-shadow(0 0 19px #edd4803d)}.wc-win-art img{width:98px;height:98px;object-fit:contain;filter:drop-shadow(0 9px 8px #0006)}.wc-win-tier{font-size:9px;text-transform:uppercase;color:#ecd29a;letter-spacing:.2em;margin:12px 0 6px}.wc-reveal h4{font:26px/1.3 Georgia,'Times New Roman',serif;margin:0;color:#ffedc2}.wc-reveal>strong{font-size:18px;color:#c5d7b6;margin-top:6px}.wc-rays{position:absolute;z-index:-1;width:290px;height:290px;left:calc(50% - 145px);top:-45px;background:repeating-conic-gradient(from 10deg,#f3d68a1f 0 7deg,transparent 7deg 23deg);mask-image:radial-gradient(#000,transparent 67%);animation:wc-rays 20s linear infinite}.wc-sparks{position:absolute;inset:0;pointer-events:none;overflow:hidden}.wc-sparks i{position:absolute;width:3px;height:3px;background:#ffe3a4;left:50%;top:33%;border-radius:1px;box-shadow:0 0 6px #ffe19c;transform:rotate(calc(var(--i)*20deg)) translateY(75px);animation:wc-spark 1.6s ease-out both;animation-delay:calc(var(--i)*.018s)}
@keyframes wc-click{from{transform:rotate(-14deg)}to{transform:rotate(0)}}@keyframes wc-reveal{from{opacity:0;transform:scale(.8) translateY(12px)}to{opacity:1;transform:none}}@keyframes wc-rays{to{transform:rotate(360deg)}}@keyframes wc-spark{0%{opacity:0;transform:rotate(calc(var(--i)*20deg)) translateY(20px)}20%{opacity:1}100%{opacity:0;transform:rotate(calc(var(--i)*20deg)) translateY(160px)}}
@media(max-width:540px){#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-brand h2{font-size:20px}#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-brand-seal{display:none}#ttk-wallet:is([data-view="daily-gifts"],[data-view="recharge-chest"]) .w-scroll{padding:14px 14px 18px}.wc-theatre{padding:22px 12px 16px}.wc-stage-top{padding:0 8px}.wc-heading{font-size:24px!important}.wc-overline{font-size:8px}.wc-window{height:198px}.wc-card{flex-basis:132px;width:132px;height:172px;padding:9px}.wc-art{height:87px}.wc-art img{width:66px;height:66px}.wc-card b{font-size:10px}.wc-machine-label{font-size:7px;padding:10px}.wc-progress{font-size:10px}.wc-home{padding:14px}.wc-home-heading{font-size:28px}.wc-stage-main{padding-top:24px}.wc-reveal h4{font-size:24px}.wc-footnote{font-size:9px}}
@media(max-height:580px){.wc-theatre{padding:12px 18px}.wc-stage-main{padding:10px 0}.wc-heading{font-size:21px!important;margin:4px 0 10px!important}.wc-window{height:172px}.wc-card{height:154px}.wc-art{height:72px}.wc-art img{width:56px;height:56px}.wc-reveal{min-height:190px;padding:0}.wc-win-art{width:80px;height:80px}.wc-win-art img{width:67px;height:67px}.wc-reveal h4{font-size:22px}.wc-status{margin:8px 0;min-height:20px}.wc-footnote{display:none}.wc-stage-bottom{gap:3px}.wc-unlock{height:170px}}
#ttk-wallet .wc-reveal h4{font:26px/1.3 Georgia,'Times New Roman',serif;color:#ffedc2;margin:0}
@media(max-width:540px){#ttk-wallet .wc-reveal h4{font-size:24px}}
@media(prefers-reduced-motion:reduce){.wc-rays,.wc-sparks i,.wc-click:before,.wc-theatre[data-phase="won"] .wc-reveal{animation:none}}

.wc-kind-tabs{display:flex;gap:10px;margin-bottom:14px}.wc-kind-tabs button{flex:1;padding:12px;border:1px solid #817449;border-radius:10px;color:#dfebdb;background:#222924;cursor:pointer}.wc-kind-tabs button[aria-pressed=true]{background:#725828;color:#ffe6a0;border-color:#c5a257}

/* Seven wallet tabs: reserve room for the full Vietnamese labels. */
#ttk-wallet nav{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:540px){#ttk-wallet nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:400px){#ttk-wallet nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Each chest has a distinct silhouette, material and opening presentation. */
.wc-home[data-chest="daily"],.wc-theatre[data-chest="daily"]{background:radial-gradient(ellipse at 50% 38%,#625035,#302e24 58%,#19261f);--chest-accent:#eed19a;--chest-muted:#c1b59c}
.wc-home[data-chest="weekly"],.wc-theatre[data-chest="weekly"]{background:radial-gradient(ellipse at 50% 38%,#514171,#29243e 58%,#161c30);border-color:#9f8bbc;--chest-accent:#e3cafa;--chest-muted:#b4abcd}
.wc-home[data-chest="recharge"],.wc-theatre[data-chest="recharge"]{background:radial-gradient(ellipse at 50% 38%,#7a3e34,#3c2027 58%,#231c22);border-color:#ca9b58;--chest-accent:#ffe2a2;--chest-muted:#cfb09a}
.wc-home[data-chest] .wc-home-top>span,.wc-theatre[data-chest] .wc-stage-top,.wc-home[data-chest] .wc-home-heading{color:var(--chest-accent)}
.wc-home[data-chest] .wc-subtitle,.wc-home[data-chest] .wc-controls,.wc-home[data-chest] .wc-motion,.wc-home[data-chest] .wc-last{color:var(--chest-muted)}
.wc-home[data-chest="weekly"] .wc-preview span{background:#20193099;border-color:#bca3d544}
.wc-home[data-chest="recharge"] .wc-preview span{background:#2c151999;border-color:#d9ad6f44}
.wc-home .wc-chest.wc-sculpted{width:224px;max-width:100%;height:168px;margin:12px auto 4px}
.wc-chest.wc-sculpted svg{display:block;width:100%;height:100%;overflow:visible;position:relative}
.wc-chest.wc-sculpted .wc-aura{inset:-10px;background:radial-gradient(ellipse,#e5bd6240,transparent 64%)}
.wc-chest.wc-sculpted[data-chest="weekly"] .wc-aura{background:radial-gradient(ellipse,#b493ec50,transparent 64%)}
.wc-chest.wc-sculpted[data-chest="recharge"] .wc-aura{background:radial-gradient(ellipse,#ef945240,transparent 64%)}
.wc-art-lid{transform-box:fill-box;transform-origin:50% 10%;transition:transform .7s ease,filter .7s ease}
.wc-art-lock{transition:opacity .25s}
.wc-unlock .wc-chest.wc-sculpted{width:252px;height:189px;transform:none;margin:0}
.wc-unlocked .wc-art-lid{transform:translateY(-24px) rotate(-8deg);filter:brightness(1.35)}
.wc-unlocked .wc-art-lock{opacity:0}
#ttk-wallet .wc-home[data-chest="weekly"] .wc-open,#ttk-wallet .wc-theatre[data-chest="weekly"] .wc-continue{background:linear-gradient(115deg,#9986bd,#eee0ff 50%,#b59bd0);color:#302644;border-color:#e4ceff}
.wc-theatre[data-chest="weekly"] .wc-machine{border-color:#a591c7;background:#201b31}
.wc-theatre[data-chest="weekly"] .wc-window{background:linear-gradient(#171322,#302541)}
.wc-theatre[data-chest="recharge"] .wc-machine{border-color:#d1a15d;background:#301b22}
.wc-theatre[data-chest="recharge"] .wc-window{background:linear-gradient(#25151b,#48232a)}
.wc-theatre[data-chest="weekly"][data-phase="won"]{background:radial-gradient(ellipse at 50% 42%,#665081,#2d2447 50%,#151929)}
.wc-theatre[data-chest="recharge"][data-phase="won"]{background:radial-gradient(ellipse at 50% 42%,#865236,#472329 50%,#231921)}
@media(max-height:580px){.wc-unlock .wc-chest.wc-sculpted{width:205px;height:154px}}
@media(prefers-reduced-motion:reduce){.wc-art-lid,.wc-art-lock{transition:none}.wc-unlocked .wc-art-lid{transform:translateY(-12px)}}

/* VIP milestones share the wallet's jade, parchment and gold materials. */
#ttk-wallet .w-vip-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #ba9b5e;border-radius:18px;padding:23px;background:radial-gradient(ellipse at 95% 0,#4c7660,#183f39 65%);color:#fff3d2;box-shadow:0 8px 22px #183f3912}
#ttk-wallet .w-vip-hero:before{content:'';position:absolute;z-index:-1;right:-80px;top:-160px;width:330px;height:330px;border:1px solid #e2c68129;border-radius:50%;box-shadow:0 0 0 22px #e2c68109,0 0 0 46px #e2c68107;pointer-events:none}
#ttk-wallet .w-vip-summary{display:flex;align-items:center;gap:22px;min-width:0}
#ttk-wallet .w-vip-seal{display:flex;flex-direction:column;align-items:center;justify-content:center;width:96px;min-height:110px;flex-shrink:0;border:1px solid #d7bb7570;border-radius:18px 18px 34px 34px;box-shadow:inset 0 0 0 5px #caa8610b;background:linear-gradient(140deg,#dcba621c,#102e2b60);color:#f2d28a}
#ttk-wallet .w-vip-seal svg{display:block;width:48px;height:40px;filter:drop-shadow(0 2px 3px #05292370)}
#ttk-wallet .w-vip-seal>span{font-size:16px;letter-spacing:2px;margin-top:7px;white-space:nowrap}#ttk-wallet .w-vip-seal b{font-size:24px;font-weight:650;letter-spacing:0}
#ttk-wallet .w-vip-heading{min-width:0;flex:1}#ttk-wallet .w-vip-heading>small{font-size:8px;letter-spacing:1.3px;color:#d7c28a}#ttk-wallet .w-vip-heading h3{font:500 25px/1.35 Lora,Georgia,serif;color:#fff0c9;margin:4px 0 12px}
#ttk-wallet .w-vip-heading p{font-size:10px;color:#c3d2b9;margin:0 0 2px}#ttk-wallet .w-vip-heading>strong{font-size:27px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;letter-spacing:-.5px}#ttk-wallet .w-vip-heading>strong small{font-size:11px;font-weight:500;color:#ddc78f;letter-spacing:0}
#ttk-wallet .w-vip-progress-copy{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:21px;font-size:10px;color:#d2daba;flex-wrap:wrap}
#ttk-wallet progress.w-vip-progress{display:block;height:7px;margin:9px 0 9px;border:none;border-radius:10px;overflow:hidden;accent-color:#e5c16e;background:#052f2b}
#ttk-wallet progress.w-vip-progress::-webkit-progress-bar{background:#082f2c;border-radius:10px}#ttk-wallet progress.w-vip-progress::-webkit-progress-value{background:linear-gradient(90deg,#aa843f,#edcc7f);border-radius:10px}#ttk-wallet progress.w-vip-progress::-moz-progress-bar{background:#e3bc65;border-radius:10px}
#ttk-wallet .w-vip-next{margin:0;font-size:11px;color:#d4dac1;line-height:1.6}#ttk-wallet .w-vip-next b{font-weight:600;color:#ffe8ac}
#ttk-wallet .w-vip-rules{margin:15px 0 22px;padding:0 2px;color:var(--w-muted);font-size:11px;line-height:1.75}#ttk-wallet .w-vip-rules p{margin:0 0 5px}#ttk-wallet .w-vip-rules>small{display:block;color:#8c794d;font-size:10px}
#ttk-wallet .w-vip-tiers{display:grid;gap:16px}
#ttk-wallet .w-vip-tier{min-width:0;border:1px solid #dde2d2;border-radius:15px;overflow:hidden;background:#fffef8;box-shadow:0 3px 12px #29453505}
#ttk-wallet .w-vip-tier[data-state=ready]{border-color:#b79859;box-shadow:0 0 0 1px #b7985912,0 5px 18px #ab88450b}#ttk-wallet .w-vip-tier[data-state=pending]{border-color:#9aac97}
#ttk-wallet .w-vip-tier-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px 15px}
#ttk-wallet .w-vip-tier-title{display:flex;gap:12px;align-items:center;min-width:0}#ttk-wallet .w-vip-tier-title>div{min-width:0}#ttk-wallet .w-vip-tier-title h4{margin:0 0 3px;font-size:14px;font-weight:650;color:#355143;overflow-wrap:anywhere}#ttk-wallet .w-vip-tier-title>div>span{display:block;font-size:10px;color:#869078;line-height:1.5}#ttk-wallet .w-vip-tier-title>div>span b{font-weight:600;color:#826a3d;font-variant-numeric:tabular-nums}
#ttk-wallet .w-vip-number{width:55px;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #dfc98c;border-radius:10px 10px 17px 17px;background:linear-gradient(145deg,#faf2d9,#eee3bf);box-shadow:inset 0 0 0 3px #fffef76b;color:#997135;font-size:9px;font-weight:650;letter-spacing:1px;line-height:1.2}#ttk-wallet .w-vip-number b{font:600 26px/1.15 Lora,Georgia,serif;letter-spacing:0}
#ttk-wallet .w-vip-badge{flex-shrink:0;padding:5px 8px;border-radius:20px;background:#f0f1e9;font-size:9px;font-weight:550;color:#839077;white-space:nowrap}#ttk-wallet .w-vip-tier[data-state=ready] .w-vip-badge{background:#f3e8ca;color:#9a722e}#ttk-wallet .w-vip-tier[data-state=pending] .w-vip-badge{background:#e9efe6;color:#5f7a5b}
#ttk-wallet .w-vip-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;padding:0 18px 17px;margin:0}
#ttk-wallet .w-vip-rewards li{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #e9eadb;border-radius:10px;background:linear-gradient(145deg,#f5f5eb,#faf9f1)}#ttk-wallet .w-vip-rewards li:last-child:nth-child(odd){grid-column:1/-1}
#ttk-wallet .w-vip-item-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #dddfc9;border-radius:10px;background:#edeeda;color:#b59650;font-size:27px}#ttk-wallet .w-vip-item-icon img{display:block;width:40px;height:40px;object-fit:contain}
#ttk-wallet .w-vip-item-copy{min-width:0;line-height:1.45}#ttk-wallet .w-vip-item-copy>span{display:block;font-size:10px;color:#7a856e;overflow-wrap:anywhere}#ttk-wallet .w-vip-item-copy>strong{display:block;font-size:14px;font-weight:650;color:#315744;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#ttk-wallet .w-vip-tier-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;border-top:1px solid #e9ebdf;background:#f8f9f1}#ttk-wallet .w-vip-tier-footer p{min-width:0;flex:1;margin:0;font-size:10px;line-height:1.6;color:#859077;overflow-wrap:anywhere}#ttk-wallet .w-vip-tier-footer .w-primary{min-height:40px;padding:10px 13px;flex-shrink:0;font-size:10px;line-height:1.4}#ttk-wallet .w-vip-tier-footer .w-primary:disabled{background:#e9ecdf;color:#8c9980;border:1px solid #dfe4d5;opacity:1;box-shadow:none}
@media(max-width:540px){#ttk-wallet .w-vip-hero{padding:18px 16px;border-radius:14px}#ttk-wallet .w-vip-summary{gap:14px}#ttk-wallet .w-vip-seal{width:72px;min-height:94px;border-radius:15px 15px 26px 26px}#ttk-wallet .w-vip-seal svg{width:37px;height:32px}#ttk-wallet .w-vip-seal>span{font-size:12px}#ttk-wallet .w-vip-seal b{font-size:21px}#ttk-wallet .w-vip-heading>small{font-size:7px;letter-spacing:.7px}#ttk-wallet .w-vip-heading h3{font-size:22px;margin-bottom:9px}#ttk-wallet .w-vip-heading>strong{font-size:23px}#ttk-wallet .w-vip-progress-copy{font-size:9px;gap:4px;margin-top:17px}#ttk-wallet .w-vip-rules{margin-bottom:18px}#ttk-wallet .w-vip-tier-top{padding:14px 13px 12px;gap:8px}#ttk-wallet .w-vip-tier-title{gap:9px}#ttk-wallet .w-vip-tier-title h4{font-size:12px}#ttk-wallet .w-vip-number{width:46px;height:52px}#ttk-wallet .w-vip-number b{font-size:23px}#ttk-wallet .w-vip-badge{padding:4px 6px;font-size:8px}#ttk-wallet .w-vip-rewards{grid-template-columns:minmax(0,1fr);padding:0 13px 13px;gap:6px}#ttk-wallet .w-vip-rewards li{padding:8px 10px;gap:10px}#ttk-wallet .w-vip-item-icon{width:37px;height:37px;border-radius:8px}#ttk-wallet .w-vip-item-icon img{width:34px;height:34px}#ttk-wallet .w-vip-item-copy>span{font-size:10px}#ttk-wallet .w-vip-item-copy>strong{font-size:13px}#ttk-wallet .w-vip-tier-footer{padding:11px 13px;gap:8px}#ttk-wallet .w-vip-tier-footer .w-primary{padding:9px 10px;font-size:10px}}
@media(max-width:360px){#ttk-wallet .w-vip-tier-footer{align-items:stretch;flex-direction:column}#ttk-wallet .w-vip-tier-top{align-items:start;flex-wrap:wrap}#ttk-wallet .w-vip-badge{margin-left:55px}#ttk-wallet .w-vip-heading h3{font-size:20px}#ttk-wallet .w-vip-heading>strong{font-size:21px}}

/* Keep the selected VIP view's rewards in focus without hiding wallet identity. */
#ttk-wallet[data-view=vip] header{padding:12px 23px 10px}#ttk-wallet[data-view=vip] .w-brand{gap:9px;padding-right:36px}#ttk-wallet[data-view=vip] .w-brand-seal{display:none}#ttk-wallet[data-view=vip] header p{font-size:7px;letter-spacing:1.4px;margin:0 0 2px}#ttk-wallet[data-view=vip] h2{font-size:21px;line-height:1.25;letter-spacing:-.3px}
#ttk-wallet[data-view=vip] .w-close{top:10px;right:14px;width:32px;height:32px}#ttk-wallet[data-view=vip] .w-balance{margin:8px 0;gap:12px}#ttk-wallet[data-view=vip] .w-balance-label{font-size:9px}#ttk-wallet[data-view=vip] .w-number{font-size:27px;line-height:1.2;letter-spacing:-.5px;column-gap:7px}#ttk-wallet[data-view=vip] .w-number span{font-size:12px}#ttk-wallet[data-view=vip] .w-balance>.w-primary{min-width:111px;min-height:38px;padding:8px 12px;font-size:11px}
#ttk-wallet[data-view=vip] .w-account-line{padding-top:7px}#ttk-wallet[data-view=vip] .w-account-line small{font-size:10px;line-height:1.4}#ttk-wallet[data-view=vip] nav{display:flex;flex-wrap:nowrap;gap:4px;padding:6px 12px;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin}#ttk-wallet[data-view=vip] nav button{flex:0 0 auto;min-width:0;padding:8px 11px;font-size:11px;gap:6px;flex-direction:row}#ttk-wallet[data-view=vip] nav .w-icon{width:14px;height:14px}
@media(max-width:540px){#ttk-wallet[data-view=vip] header{padding:11px 16px 9px}#ttk-wallet[data-view=vip] h2{font-size:20px}#ttk-wallet[data-view=vip] .w-balance{margin:7px 0}#ttk-wallet[data-view=vip] .w-number{font-size:25px}#ttk-wallet[data-view=vip] .w-balance>.w-primary{min-width:103px;min-height:36px}#ttk-wallet[data-view=vip] nav{padding:5px 9px}#ttk-wallet[data-view=vip] nav button{padding:8px 8px;font-size:10px;gap:4px}#ttk-wallet[data-view=vip] .w-scroll{padding-top:17px}}

/* WALLET_MOBILE_SHARED_SHELL: all tabs share the compact VIP shell. */
@media(max-width:600px),(max-height:600px){
/* Keep the selected VIP view's rewards in focus without hiding wallet identity. */
#ttk-wallet[data-view] header{padding:12px 23px 10px}#ttk-wallet[data-view] .w-brand{gap:9px;padding-right:36px}#ttk-wallet[data-view] .w-brand-seal{display:none}#ttk-wallet[data-view] header p{font-size:7px;letter-spacing:1.4px;margin:0 0 2px}#ttk-wallet[data-view] h2{font-size:21px;line-height:1.25;letter-spacing:-.3px}
#ttk-wallet[data-view] .w-close{top:10px;right:14px;width:32px;height:32px}#ttk-wallet[data-view] .w-balance{margin:8px 0;gap:12px}#ttk-wallet[data-view] .w-balance-label{font-size:9px}#ttk-wallet[data-view] .w-number{font-size:27px;line-height:1.2;letter-spacing:-.5px;column-gap:7px}#ttk-wallet[data-view] .w-number span{font-size:12px}#ttk-wallet[data-view] .w-balance>.w-primary{min-width:111px;min-height:38px;padding:8px 12px;font-size:11px}
#ttk-wallet[data-view] .w-account-line{padding-top:7px}#ttk-wallet[data-view] .w-account-line small{font-size:10px;line-height:1.4}#ttk-wallet[data-view] nav{display:flex;flex-wrap:nowrap;gap:4px;padding:6px 12px;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin}#ttk-wallet[data-view] nav button{flex:0 0 auto;min-width:0;padding:8px 11px;font-size:11px;gap:6px;flex-direction:row}#ttk-wallet[data-view] nav .w-icon{width:14px;height:14px}
@media(max-width:540px){#ttk-wallet[data-view] header{padding:11px 16px 9px}#ttk-wallet[data-view] h2{font-size:20px}#ttk-wallet[data-view] .w-balance{margin:7px 0}#ttk-wallet[data-view] .w-number{font-size:25px}#ttk-wallet[data-view] .w-balance>.w-primary{min-width:103px;min-height:36px}#ttk-wallet[data-view] nav{padding:5px 9px}#ttk-wallet[data-view] nav button{padding:8px 8px;font-size:10px;gap:4px}#ttk-wallet[data-view] .w-scroll{padding-top:17px}}

#ttk-wallet[open]{position:fixed;top:calc(var(--w-viewport-top,0px) + 8px + env(safe-area-inset-top));bottom:auto;margin:0 auto;max-height:calc(min(100dvh,var(--w-viewport-height,100dvh)) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
#ttk-wallet[data-view] nav button{min-height:40px}#ttk-wallet[data-view] .w-close{width:36px;height:36px}
#ttk-wallet[data-view] .w-number b{overflow-y:hidden}
#ttk-wallet[data-view][data-case-active="1"]{min-height:min(680px,calc(min(100dvh,var(--w-viewport-height,100dvh)) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))}
#ttk-wallet[data-view] .w-scroll{flex:1 1 auto;padding-top:17px;padding-bottom:20px}
#ttk-wallet[data-view].w-checkout nav{display:none}
}

/* Five recharge tiers stay on one compact, scrollable row on narrow screens. */
.wc-kind-tabs[aria-label="Chọn rương nạp"]{gap:6px;overflow-x:auto;overscroll-behavior-x:contain}
.wc-kind-tabs[aria-label="Chọn rương nạp"] button{min-width:0;white-space:nowrap;padding:12px 6px}
@media(max-width:540px){.wc-kind-tabs[aria-label="Chọn rương nạp"] button{font-size:13px;padding:10px 4px}}
