#currencyShop.three-kingdom-shop{width:min(980px,95vw);max-width:980px;min-width:0;max-height:90vh;padding:0!important;border:3px solid #a77529!important;background:#192c3b!important;color:#f9e7ae!important;overflow:hidden}#currencyShop.three-kingdom-shop::backdrop{background:#000a}.tk-shop-head{display:flex;align-items:center;gap:20px;padding:14px 55px 14px 20px;background:#26384a;border-bottom:4px solid #a16d29;position:relative}.tk-shop-head strong{font-size:28px;color:#ffcf68}.tk-shop-close{position:absolute;right:10px;top:7px;background:none;border:0;color:#ed7135;font-size:30px;cursor:pointer}.tk-shop-shell{display:grid;grid-template-columns:145px minmax(0,1fr);height:min(480px,58vh)}.tk-shop-side{background:#773726;border-right:4px solid #b9893d;display:flex;flex-direction:column;gap:8px;padding:16px 8px}.tk-shop-side button{background:#693021;color:#fff1c6;border:1px solid #bc8340;padding:12px 5px;cursor:pointer}.tk-shop-side button.active{background:#e7bb6b;color:#34200e;font-weight:bold}.tk-shop-content{padding:14px;background:#253c4d;overflow:auto}.tk-shop-page[hidden]{display:none!important}.tk-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.tk-shop-product{min-height:155px;background:#ebce88;border:4px ridge #8d6229;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:8px 3px;color:#30200e}.tk-shop-product b{font-size:12px;text-align:center}.tk-shop-item-icon{font-size:40px}.tk-shop-product button{background:#dc7b20;color:#fff;border:2px solid #a25a19;border-radius:5px;width:80%;padding:5px;font-weight:bold}.tk-shop-empty{padding:30px;text-align:center;border:1px dashed #ad955b}.tk-shop-foot{text-align:center;padding:10px;background:#192938;color:#e1d0a5;font-size:12px}@media(max-width:650px){.tk-shop-shell{grid-template-columns:90px minmax(0,1fr)}.tk-shop-side{padding:8px 3px}.tk-shop-side button{font-size:12px;padding:10px 2px}.tk-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tk-shop-product{min-height:130px}.tk-shop-head strong{font-size:21px}.tk-shop-head span{display:none}}
.tk-shop-header-balances{margin-left:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.tk-shop-header-balances .shop-currency-row{display:flex!important;align-items:center;gap:6px;max-width:none!important;margin:0!important;padding:4px 7px!important;background:#172838;border:1px solid #a87935;border-radius:6px;white-space:nowrap;font-size:13px}.tk-shop-header-balances .shop-currency-row img{width:27px!important;height:27px!important;object-fit:contain}.tk-shop-header-balances .shop-currency-row strong{color:#ffda72;font-size:16px}.tk-wallet-close-wrap{display:flex;justify-content:center;align-items:center;padding:12px 0 14px;background:#192938;border-top:1px solid #946b32;flex-shrink:0}.tk-wallet-close-wrap button{min-width:130px;padding:10px 25px;background:#d2a85d;color:#241a0d;border:2px solid #f1d390;border-radius:6px;font-weight:700;cursor:pointer}.tk-shop-head{padding-right:20px!important;flex-wrap:wrap}.tk-shop-head>span{display:none}@media(max-width:650px){.tk-shop-header-balances{gap:5px;width:100%;justify-content:flex-end}.tk-shop-header-balances .shop-currency-row{font-size:11px;padding:3px!important}.tk-shop-header-balances .shop-currency-row img{width:20px!important;height:20px!important}.tk-shop-header-balances .shop-currency-row strong{font-size:12px}}
/* V339: 明亮金邊藍色貨幣列，保留原本羊圖示與即時伺服器餘額 */
.tk-shop-header-balances{gap:12px!important;flex-wrap:nowrap!important}.tk-shop-header-balances .shop-currency-row{background:linear-gradient(155deg,#55b7f1 0%,#257fc2 47%,#14558f 100%)!important;border:2px solid #f4c14e!important;border-radius:12px!important;box-shadow:inset 0 2px 4px #ffffff80,0 3px 0 #87551d,0 0 10px #e9bb4c50!important;padding:7px 10px!important;min-height:48px;gap:9px!important;color:#fff4d4!important;font-size:15px!important;text-shadow:0 1px 2px #123a60}.tk-shop-header-balances .shop-currency-row img{width:34px!important;height:34px!important}.tk-shop-header-balances .shop-currency-row strong{color:#fff6bd!important;font-size:19px!important;font-variant-numeric:tabular-nums}.tk-shop-header-balances .tk-coin-balance{min-width:230px;justify-content:space-between}.tk-recharge-plus{flex:none;width:35px;height:35px;display:grid;place-items:center;border-radius:50%;border:2px solid #fff2aa;background:linear-gradient(#ffe88b,#e6a01d)!important;color:#fff!important;text-shadow:0 1px 3px #a46500;font-weight:900;font-size:26px;line-height:1;cursor:pointer;animation:tkRechargeGlow 1.8s ease-in-out infinite;box-shadow:0 0 9px #ffd34a}.tk-recharge-plus:hover{filter:brightness(1.16);transform:scale(1.07)}@keyframes tkRechargeGlow{0%,100%{box-shadow:0 0 5px #ffc33e}50%{box-shadow:0 0 18px 5px #ffe078}}#tkRechargeDialog{background:#213b50;color:#ffe6ac;border:2px solid #d7a33b;border-radius:12px;padding:24px;max-width:min(400px,90vw);text-align:center}#tkRechargeDialog::backdrop{background:#0009}#tkRechargeDialog button{background:#dfb55e;border:0;border-radius:5px;padding:9px 25px;cursor:pointer}@media(max-width:650px){.tk-shop-header-balances{flex-wrap:wrap!important;justify-content:flex-end}.tk-shop-header-balances .shop-currency-row{font-size:12px!important;min-height:35px;padding:4px 6px!important}.tk-shop-header-balances .shop-currency-row img{width:24px!important;height:24px!important}.tk-shop-header-balances .shop-currency-row strong{font-size:14px!important}.tk-shop-header-balances .tk-coin-balance{min-width:170px}.tk-recharge-plus{width:27px;height:27px;font-size:21px}}@media(prefers-reduced-motion:reduce){.tk-recharge-plus{animation:none;box-shadow:0 0 0 2px #ffe078}}
/* V341: 羊圖示緊貼幣別名稱，數量保留間距，儲值標題改用遊戲正式圖示 */
.tk-shop-header-balances .shop-currency-row{gap:0!important;justify-content:flex-start!important}.tk-shop-header-balances .shop-currency-row img{margin-right:3px!important;flex:none}.tk-shop-header-balances .shop-currency-row span{white-space:nowrap;margin:0!important}.tk-shop-header-balances .shop-currency-row strong{margin-left:12px!important;white-space:nowrap}.tk-shop-header-balances .tk-coin-balance{min-width:230px}.tk-shop-header-balances .tk-coin-balance .tk-recharge-plus{margin-left:auto!important}.tk-recharge-icon{display:inline-block;width:30px;height:30px;vertical-align:middle;margin-right:5px;object-fit:contain}#tkRechargeDialog h3{display:flex;justify-content:center;align-items:center;gap:2px}
/* V342: 依照確認的示意圖，兩種貨幣的羊圖示與文字成為不可分離的一組 */
.tk-shop-header-balances .shop-currency-row{display:flex!important;align-items:center!important;gap:0!important;padding:7px 11px!important;border-radius:14px!important}.tk-shop-header-balances .tk-currency-name-pair{display:inline-flex!important;align-items:center!important;gap:0!important;flex:none!important;white-space:nowrap!important}.tk-shop-header-balances .tk-currency-name-pair img{display:block!important;width:35px!important;height:35px!important;margin:0!important;padding:0!important;object-fit:contain!important}.tk-shop-header-balances .tk-currency-name-pair span{display:block!important;margin:0!important;padding:0!important;line-height:1!important;white-space:nowrap!important}.tk-shop-header-balances .shop-currency-row strong{margin-left:12px!important;flex:none}.tk-shop-header-balances .tk-coin-balance{min-width:230px!important}.tk-shop-header-balances .tk-coin-balance .tk-recharge-plus{margin-left:auto!important}@media(max-width:650px){.tk-shop-header-balances .tk-currency-name-pair img{width:25px!important;height:25px!important}.tk-shop-header-balances .tk-coin-balance{min-width:170px!important}.tk-shop-header-balances .shop-currency-row{padding:4px 6px!important}.tk-shop-header-balances .shop-currency-row strong{margin-left:7px!important}}
/* V343: 十字以幾何線條置中，避免字型基線造成偏移 */
.tk-recharge-plus{position:relative!important;display:block!important;padding:0!important;box-sizing:border-box!important;line-height:0!important;vertical-align:middle!important;isolation:isolate}.tk-recharge-plus::before,.tk-recharge-plus::after{content:''!important;position:absolute!important;top:50%!important;left:50%!important;display:block!important;background:#fffdf0!important;border-radius:2px!important;box-shadow:0 1px 2px #9b6419,0 0 5px #fff4c1!important;transform:translate(-50%,-50%)!important;pointer-events:none!important}.tk-recharge-plus::before{width:55%!important;height:4px!important}.tk-recharge-plus::after{width:4px!important;height:55%!important}@media(max-width:650px){.tk-recharge-plus::before{height:3px!important}.tk-recharge-plus::after{width:3px!important}}
/* V344: 精緻細線十字，不使用粗厚圓角白條 */
.tk-recharge-plus{width:38px!important;height:38px!important;border:2px solid #fff0a5!important;border-radius:50%!important;background:radial-gradient(circle at 35% 26%,#fff1a4 0%,#ffcd4f 38%,#e7a022 75%,#b87511 100%)!important;box-shadow:inset 0 2px 2px #fff9c7,inset 0 -3px 4px #95510a,0 2px 2px #63370b,0 0 12px #ffd44e!important;animation:tkRechargeGlowFine 1.8s ease-in-out infinite!important}.tk-recharge-plus::before,.tk-recharge-plus::after{background:#fffefa!important;border-radius:1px!important;box-shadow:0 1px 1px #ad761b!important}.tk-recharge-plus::before{width:46%!important;height:2.5px!important}.tk-recharge-plus::after{width:2.5px!important;height:46%!important}@keyframes tkRechargeGlowFine{0%,100%{box-shadow:inset 0 2px 2px #fff9c7,inset 0 -3px 4px #95510a,0 2px 2px #63370b,0 0 8px 2px #ffcb46}50%{box-shadow:inset 0 2px 2px #fff9c7,inset 0 -3px 4px #95510a,0 2px 2px #63370b,0 0 18px 5px #ffe477}}@media(max-width:650px){.tk-recharge-plus{width:30px!important;height:30px!important}.tk-recharge-plus::before{height:2px!important}.tk-recharge-plus::after{width:2px!important}}@media(prefers-reduced-motion:reduce){.tk-recharge-plus{animation:none!important}}
/* V345: 貨幣名稱放大、加粗、描邊，緊貼羊圖示 */
.tk-shop-header-balances .tk-currency-name-pair{gap:0!important;align-items:center!important}.tk-shop-header-balances .tk-currency-name-pair img{margin-right:0!important}.tk-shop-header-balances .tk-currency-name-pair span{font-size:19px!important;font-weight:900!important;letter-spacing:0!important;line-height:1.15!important;color:#fff9dc!important;-webkit-text-stroke:.65px #173a68!important;paint-order:stroke fill;text-shadow:-1px -1px 0 #173a68,1px -1px 0 #173a68,-1px 1px 0 #173a68,1px 1px 0 #173a68,0 2px 2px #143656!important}.tk-shop-header-balances .shop-currency-row strong{margin-left:10px!important}.tk-shop-header-balances .tk-coin-balance{min-width:245px!important}@media(max-width:650px){.tk-shop-header-balances .tk-currency-name-pair span{font-size:15px!important;-webkit-text-stroke:.45px #173a68!important}.tk-shop-header-balances .tk-coin-balance{min-width:190px!important}.tk-shop-header-balances .shop-currency-row strong{margin-left:7px!important}}
/* V672 redesigned shop */
#currencyShop.three-kingdom-shop{width:min(1120px,96vw)!important;max-width:1120px!important;max-height:92vh!important;background:#111d29!important;border:1px solid #b68a45!important;border-radius:16px!important;box-shadow:0 24px 90px #000b,0 0 0 4px #3b2c1a!important}
.three-kingdom-shop .tk-shop-head{background:linear-gradient(115deg,#172838,#223a4d)!important;border-bottom:1px solid #6d5638!important;padding:20px 24px!important;gap:12px!important}
.three-kingdom-shop .tk-shop-head strong{font-size:25px!important;letter-spacing:2px;color:#f4d18a!important;text-shadow:0 2px 8px #0007}
.three-kingdom-shop .tk-shop-shell{grid-template-columns:180px minmax(0,1fr)!important;height:min(590px,65vh)!important}
.three-kingdom-shop .tk-shop-side{background:#152533!important;border-right:1px solid #4d5760!important;padding:20px 12px!important;gap:9px!important}
.three-kingdom-shop .tk-shop-side button{background:transparent!important;color:#c5cbd0!important;border:1px solid transparent!important;border-radius:9px!important;text-align:left!important;padding:13px 15px!important;font-size:15px!important;transition:background .15s,border-color .15s}
.three-kingdom-shop .tk-shop-side button:hover{background:#293c4d!important;color:#ffe2a4!important}
.three-kingdom-shop .tk-shop-side button.active{background:linear-gradient(100deg,#654b29,#3b392f)!important;color:#ffe2a4!important;border-color:#b68a45!important;box-shadow:inset 3px 0 #eac477!important}
.three-kingdom-shop .tk-shop-content{background:radial-gradient(ellipse at 60% -30%,#294256,#172635 75%)!important;padding:22px!important}
.three-kingdom-shop .tk-shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.three-kingdom-shop .tk-shop-product{min-height:185px!important;background:linear-gradient(155deg,#263d4f,#1a2d3e)!important;border:1px solid #65707a!important;border-radius:12px!important;box-shadow:0 7px 18px #0004!important;color:#f5e3bd!important;padding:14px 10px!important;gap:8px!important;justify-content:space-between!important;transition:transform .15s,border-color .15s}
.three-kingdom-shop .tk-shop-product:hover{transform:translateY(-3px);border-color:#e4b966!important}
.three-kingdom-shop .tk-shop-product b{font-size:14px!important;font-weight:700!important;line-height:1.45}
.three-kingdom-shop .tk-shop-item-icon{font-size:46px!important;filter:drop-shadow(0 4px 6px #0006)}
.three-kingdom-shop .tk-shop-product button{background:#354758!important;border:1px solid #687c8c!important;color:#d4c6a7!important;border-radius:8px!important;min-height:36px!important;font-size:14px!important;width:100%!important}
.three-kingdom-shop .tk-shop-product button:disabled{opacity:.85!important;cursor:not-allowed!important}
.three-kingdom-shop .tk-shop-foot{background:#142331!important;color:#9babb7!important;border-top:1px solid #35495a!important;padding:9px!important}
.three-kingdom-shop .tk-wallet-close-wrap{background:#142331!important;border-top:1px solid #35495a!important;padding:10px!important}
.three-kingdom-shop .tk-wallet-close-wrap button{background:linear-gradient(#e6c47e,#b88a41)!important;border:1px solid #f1d59d!important;border-radius:9px!important;color:#251b10!important}
.three-kingdom-shop .tk-shop-header-balances .shop-currency-row{min-height:42px!important;padding:5px 9px!important}
@media(max-width:780px){.three-kingdom-shop .tk-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.three-kingdom-shop .tk-shop-shell{grid-template-columns:130px minmax(0,1fr)!important}.three-kingdom-shop .tk-shop-content{padding:12px!important}.three-kingdom-shop .tk-shop-side{padding:12px 5px!important}}
@media(max-width:520px){.three-kingdom-shop .tk-shop-head{padding:12px!important}.three-kingdom-shop .tk-shop-shell{grid-template-columns:98px minmax(0,1fr)!important}.three-kingdom-shop .tk-shop-side button{font-size:12px!important;padding:10px 6px!important}.three-kingdom-shop .tk-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.three-kingdom-shop .tk-shop-product{min-height:150px!important;padding:9px 5px!important}.three-kingdom-shop .tk-shop-product b{font-size:12px!important}}
/* V681 live catalog cards */
#currencyShop .tk-shop-catalog-image{display:block;width:72px;height:72px;object-fit:contain;margin:4px auto}
#currencyShop .tk-shop-buy-actions{display:flex;flex-direction:column;gap:5px;width:100%}
#currencyShop .tk-shop-buy-actions button{cursor:pointer!important;background:#b88a41!important;color:#1b2530!important;border-color:#e4bc72!important}
#currencyShop .tk-shop-buy-actions button:disabled{opacity:.45!important;cursor:not-allowed!important}
#currencyShop .tk-shop-bag-item{display:flex;align-items:center;gap:14px;padding:10px;border-bottom:1px solid #485766}
#currencyShop .tk-shop-bag-item .tk-shop-catalog-image{margin:0;width:48px;height:48px}
#currencyShop .tk-shop-bag-item button{margin-left:auto;padding:7px 14px}
/* V679 aligned currency groups */
#currencyShop .tk-shop-header-balances .shop-currency-row{display:grid!important;grid-template-columns:auto auto!important;align-items:center!important;justify-content:start!important;column-gap:9px!important;min-height:44px!important;box-sizing:border-box!important}
#currencyShop .tk-shop-header-balances .tk-currency-name-pair{display:flex!important;align-items:center!important;gap:4px!important;height:30px!important}
#currencyShop .tk-shop-header-balances .tk-currency-name-pair img{width:25px!important;height:25px!important;object-fit:contain!important}
#currencyShop .tk-shop-header-balances .tk-currency-name-pair span{line-height:25px!important}
#currencyShop .tk-shop-header-balances .shop-currency-row strong{margin:0!important;line-height:25px!important;font-variant-numeric:tabular-nums!important}
#currencyShop .tk-shop-header-balances .tk-coin-balance{grid-template-columns:auto auto auto!important}
#currencyShop .tk-shop-header-balances .tk-recharge-plus{margin:0 0 0 3px!important;align-self:center!important}
/* V677 refined wallet pills */
#currencyShop .tk-shop-header-balances{gap:10px!important}
#currencyShop .tk-shop-header-balances .shop-currency-row{background:#22394a!important;border:1px solid #a68a59!important;border-radius:9px!important;box-shadow:none!important;min-height:40px!important;padding:5px 9px!important;gap:0!important;text-shadow:none!important}
#currencyShop .tk-shop-header-balances .tk-currency-name-pair img{width:25px!important;height:25px!important}
#currencyShop .tk-shop-header-balances .tk-currency-name-pair span{font-size:14px!important;font-weight:700!important;-webkit-text-stroke:0!important;text-shadow:none!important;color:#f0e1c0!important}
#currencyShop .tk-shop-header-balances .shop-currency-row strong{font-size:14px!important;font-weight:600!important;color:#f7e5c3!important;margin-left:10px!important}
#currencyShop .tk-shop-header-balances .tk-coin-balance{min-width:0!important}
#currencyShop .tk-recharge-plus{width:27px!important;height:27px!important;margin-left:12px!important;animation:none!important;box-shadow:none!important;border:1px solid #e7c477!important}
/* V676 grouped categories */
#currencyShop .tk-shop-subcategories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #435769}
#currencyShop .tk-shop-subcategories button{border:1px solid #64788a;background:#233a4b;color:#e0d7c3;border-radius:7px;padding:9px 12px;cursor:pointer;font-size:13px}
#currencyShop .tk-shop-subcategories button.active{border-color:#e5b864;background:#5b472d;color:#ffdf9a;font-weight:700}
#currencyShop .tk-shop-side button{font-size:15px!important;padding:14px 12px!important}
/* V673 category navigation */
.three-kingdom-shop .tk-shop-side{overflow-y:auto!important;min-height:0!important;scrollbar-width:thin;scrollbar-color:#a8834a #152533}
.three-kingdom-shop .tk-shop-side button{flex:0 0 auto!important;line-height:1.4!important;font-size:13px!important;padding:11px 10px!important;letter-spacing:.2px!important}
.three-kingdom-shop .tk-shop-category-title{font-size:20px;color:#e9c77f;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid #52606a}
@media(max-width:520px){.three-kingdom-shop .tk-shop-side button{font-size:11px!important;padding:10px 5px!important}}
/* V675: compact currency amounts only */
#currencyShop.three-kingdom-shop .tk-shop-header-balances .shop-currency-row strong{font-size:15px!important;font-weight:700!important;margin-left:7px!important;letter-spacing:0!important}
@media(max-width:650px){#currencyShop.three-kingdom-shop .tk-shop-header-balances .shop-currency-row strong{font-size:12px!important;margin-left:5px!important}}
/* V697 shop quantity stepper */
#currencyShop .tk-shop-stepper{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;gap:8px;align-items:center;width:100%;max-width:230px;margin:7px auto 9px}
#currencyShop .tk-shop-stepper button{height:38px;min-width:0;padding:0!important;border:2px solid #e4b766!important;border-radius:8px;background:linear-gradient(#c84432,#8b1513)!important;color:#fff2cc!important;font-size:27px!important;font-weight:900!important;line-height:1!important;text-shadow:0 2px 2px #3a0808;cursor:pointer;box-shadow:inset 0 2px 2px #f69b6b,0 2px 4px #0008}
#currencyShop .tk-shop-stepper button:hover{filter:brightness(1.16)}
#currencyShop .tk-shop-stepper input{box-sizing:border-box;width:100%;height:38px!important;min-width:0;padding:2px 8px!important;text-align:center;border:2px solid #d8a54e!important;border-radius:8px;background:#101f2d!important;color:#fff0c6!important;font-size:22px!important;font-weight:800;box-shadow:inset 0 2px 5px #0009;appearance:textfield;-moz-appearance:textfield}
#currencyShop .tk-shop-stepper input::-webkit-inner-spin-button,#currencyShop .tk-shop-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#currencyShop .tk-shop-buy-actions>button{border-radius:9px!important;background:linear-gradient(#f5ae34,#c77807)!important;border:2px solid #ffcf75!important;color:#251607!important;font-weight:800!important;min-height:38px;box-shadow:inset 0 2px 2px #ffe3a3,0 3px 5px #0006}
#currencyShop .tk-shop-bag-item .tk-shop-stepper{margin:0;max-width:180px;flex:0 0 150px}
@media(max-width:600px){#currencyShop .tk-shop-stepper{grid-template-columns:30px minmax(0,1fr) 30px;gap:4px}#currencyShop .tk-shop-stepper button{height:32px;font-size:22px!important}#currencyShop .tk-shop-stepper input{height:32px!important;font-size:17px!important}#currencyShop .tk-shop-bag-item{flex-wrap:wrap}}
html body.rustic-desktop #tkRechargeDialog>button{
 min-width:90px;min-height:38px;padding:5px 15px;
 border:1px solid #846a4e!important;border-radius:3px!important;
 color:#f6e3bb!important;background:#38281d url('/assets/rustic-v1045/button.webp') center/100% 100% no-repeat!important;
 box-shadow:none!important;cursor:pointer;
}
html body.rustic-desktop #tkRechargeDialog>button:hover{
 background-image:url('/assets/rustic-v1045/button-hover.webp')!important;
}