/* Same palette, spacing and in-stage boundaries as the current trading hall. */
.game.android-layout #currency-shop.reference-currency-shop{position:absolute;inset:0;z-index:100040;width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box;display:grid;grid-template-rows:40px 40px minmax(0,1fr) 28px;gap:6px;padding:10px;background:#101719;border:1px solid #73654b;color:#dedbcf;font:13px/1.4 'Microsoft JhengHei',sans-serif;overflow:hidden;contain:layout paint;isolation:isolate}
#currency-shop.reference-currency-shop *{box-sizing:border-box;min-width:0}
#currency-shop.reference-currency-shop button{font:inherit;color:#dedbcf;background:#202b2d;border:1px solid #4d5654;border-radius:3px;box-shadow:none;cursor:pointer;min-height:36px;touch-action:manipulation}
#currency-shop.reference-currency-shop button:hover:not(:disabled){background:#2b393b}
#currency-shop.reference-currency-shop button:focus-visible,#currency-shop.reference-currency-shop input:focus-visible,#currency-shop.reference-currency-shop summary:focus-visible{outline:2px solid #e0c789;outline-offset:-3px}
#currency-shop.reference-currency-shop button:disabled{opacity:.45;cursor:default}
#currency-shop .mcs-header{display:flex;align-items:center;gap:14px;padding:0 4px}
#currency-shop .mcs-header h2{font-size:16px;margin:0}
#currency-shop .mcs-balances{display:flex;align-items:center;gap:18px;margin-left:auto}
#currency-shop .mcs-balance{display:flex;align-items:center;gap:6px}
#currency-shop .mcs-balance img{width:20px;height:20px;object-fit:contain}
#currency-shop .mcs-close{min-width:64px}
#currency-shop .mcs-tabs{display:flex;gap:6px}
#currency-shop .mcs-currency-tab{display:flex;align-items:center;justify-content:center;gap:8px;flex:1}
#currency-shop .mcs-currency-tab img{width:20px;height:20px;object-fit:contain}
#currency-shop .mcs-currency-tab[aria-selected=true]{background:#49402d;border-color:#ae9561;color:#f3e3b8}
#currency-shop .mcs-body{display:grid;grid-template-columns:124px minmax(0,1fr) 228px;gap:8px;min-height:0;overflow:hidden}
#currency-shop .mcs-categories{display:flex;flex-direction:column;gap:4px;min-height:0;overflow:auto;padding:6px 8px;border-right:1px solid #73654b66;background:#080e11}
#currency-shop .mcs-category{flex:none;text-align:left;padding:4px 10px;border:0}
#currency-shop .mcs-category[aria-pressed=true]{background:#3b3526;color:#f3dfaa;box-shadow:inset 3px 0 #d1b575}
#currency-shop .mcs-content{display:grid;grid-template-rows:32px minmax(0,1fr) 36px;gap:6px;padding:6px;border:1px solid #334142;border-radius:3px;background:#111c1e;min-height:0;overflow:hidden}
#currency-shop .mcs-search{width:100%;height:32px;padding:4px 8px;background:#0c1416;border:1px solid #465453;border-radius:3px;color:#eee6d4;font:inherit}
#currency-shop .mcs-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:6px;min-height:0;overflow:hidden}
#currency-shop .mcs-product{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px;min-height:0}
#currency-shop .mcs-product>img{width:64px;height:46px;object-fit:contain;flex-shrink:1;min-height:0}
#currency-shop .mcs-product strong{font-size:12px;font-weight:500}
#currency-shop .mcs-product small{font-size:10px;color:#aaa595}
#currency-shop .mcs-product[aria-pressed=true]{background:#333c32;border-color:#8d8059;box-shadow:inset 3px 0 #ccb274}
#currency-shop .mcs-pagination{display:flex;align-items:center;justify-content:center;gap:12px}
#currency-shop .mcs-pagination button{min-width:80px;padding:4px 12px}
#currency-shop .mcs-detail{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;background:#162023;border:1px solid #394644;border-radius:3px;padding:12px}
#currency-shop .mcs-detail h3{margin:0;color:#f0e4c7;font-size:15px}
#currency-shop .mcs-detail-title{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}
#currency-shop .mcs-sheet-close,#currency-shop .mcs-detail-scrim{display:none}
#currency-shop .mcs-detail>img{width:100%;height:92px;object-fit:contain;flex-shrink:0}
#currency-shop .mcs-detail p{margin:0;color:#a5b4b4;font-size:12px}
#currency-shop .mcs-detail-price{display:flex;align-items:center;gap:8px}
#currency-shop .mcs-detail-price img{width:20px;height:20px;object-fit:contain}
#currency-shop .mcs-buy{margin-top:auto;flex-shrink:0}
#currency-shop .mcs-empty{grid-column:1/-1;color:#a7aaa2;text-align:center}
#currency-shop .mcs-bless{display:inline-block;align-self:center;font-size:11px;line-height:1.4;color:#b1c6d1}
#currency-shop .mcs-bless-0{color:#e4c378}#currency-shop .mcs-bless-2{color:#e39797}
#currency-shop .mcs-detail .mcs-bless{align-self:flex-start}
#currency-shop .mcs-detail .mcs-sale-total{color:#e5ce93;font-size:13px}
#currency-shop .mcs-sale-quantity{display:flex;align-items:center;gap:8px}
#currency-shop .mcs-sale-quantity input{width:100px;max-width:100%;padding:5px;border:1px solid #73654b;background:#0c1416;color:#eee6d4}
#currency-shop .mcs-footer{display:flex;align-items:center;justify-content:space-between;padding:0 4px;color:#928c7b;font-size:11px}
#currency-shop .mcs-help{color:#d7bc80}
#currency-shop .mcs-help summary{cursor:pointer;min-height:28px;padding:5px 8px}
#currency-shop .mcs-help>div{position:absolute;right:12px;bottom:46px;width:300px;max-height:270px;overflow:auto;padding:14px;background:#101719;border:1px solid #73654b;box-shadow:0 4px 20px #0009;line-height:1.6;color:#dedbcf;z-index:2}
@media (max-width:820px),(max-height:520px){
 .game.android-layout #currency-shop.reference-currency-shop{grid-template-rows:34px 42px minmax(0,1fr) 30px;padding:8px;gap:5px;font-size:14px}
 #currency-shop .mcs-header{gap:8px}#currency-shop .mcs-header h2{font-size:16px}
 #currency-shop .mcs-header .mcs-balances{font-size:11px;gap:7px;flex-wrap:wrap;justify-content:flex-end}
 #currency-shop .mcs-currency-tab{font-size:14px;min-height:42px;padding:3px}
 #currency-shop .mcs-body{grid-template-columns:96px minmax(0,1fr);gap:5px}
 #currency-shop .mcs-categories{padding:0 3px 0 0;gap:3px}
 #currency-shop .mcs-categories .mcs-category{min-height:31px!important;height:31px!important;padding:2px 8px!important;font-size:13px!important}
 #currency-shop .mcs-subcategories button{min-height:32px!important;height:32px!important;font-size:13px!important}
 #currency-shop .mcs-content{padding:4px;grid-template-rows:34px minmax(0,1fr) 38px;gap:4px}
 #currency-shop .mcs-search{height:34px;font-size:14px}
 #currency-shop .mcs-product{position:relative;padding:5px 6px;gap:2px}
 #currency-shop .mcs-product>img{width:40px;height:32px;max-height:32px}
 #currency-shop .mcs-product strong{font-size:14px;line-height:1.2}
 #currency-shop .mcs-product small{font-size:11px;line-height:1.25}
 #currency-shop .mcs-pagination button{min-height:38px;font-size:14px}
 #currency-shop .mcs-detail{display:none}
 #currency-shop .mcs-detail[data-open=true]{display:grid;position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100% - 24px));height:auto;max-height:calc(100% - 24px);grid-template-columns:64px minmax(0,1fr);gap:8px 12px;padding:14px;background:#101d23;box-shadow:0 10px 40px #000b!important;overflow:auto}
 #currency-shop .mcs-detail-title{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #706445}
 #currency-shop .mcs-detail-title h3{font-size:17px}
 #currency-shop .mcs-sheet-close{display:block;min-height:40px;flex:none;padding:4px 10px}
 #currency-shop .mcs-detail>img{grid-column:1;grid-row:2/span 2;width:64px;height:64px;align-self:center}
 #currency-shop .mcs-detail[data-mode=sale]>img{grid-row:2/span 3}
 #currency-shop .mcs-detail>:is(p,strong,.mcs-bless){grid-column:2;font-size:14px}
 #currency-shop .mcs-detail>:is(label,.mcs-sale-total,.mcs-buy){grid-column:1/-1}
 #currency-shop .mcs-detail input[type=number]{height:40px;width:112px;font-size:18px;padding:4px 10px}
 #currency-shop .mcs-detail .mcs-buy{min-height:44px;margin-top:0;font-size:16px}
 #currency-shop.mcs-detail-open .mcs-detail-scrim{display:block;position:absolute;inset:0;z-index:7;width:100%;height:100%;border:0!important;border-radius:0;background:#0009!important}
 #currency-shop .mcs-footer{font-size:11px;gap:5px}#currency-shop .mcs-footer>[role=status]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#currency-shop .mcs-help{flex:none}
}
@media (max-height:520px){
 #currency-shop .mcs-product{align-items:flex-start;padding-left:56px;text-align:left}
 #currency-shop .mcs-product>img{position:absolute;left:7px;top:calc(50% - 20px);width:40px;height:40px;max-height:40px}
 #currency-shop .mcs-product .mcs-bless{align-self:flex-start}
}
@media (max-width:600px) and (min-height:521px){
 #currency-shop .mcs-body{grid-template-columns:82px minmax(0,1fr)}
 #currency-shop .mcs-products{grid-template-columns:1fr;grid-auto-rows:minmax(0,1fr)}
 #currency-shop .mcs-product{align-items:flex-start;padding-left:62px;text-align:left}
 #currency-shop .mcs-product>img{position:absolute;left:9px;top:calc(50% - 22px);width:44px;height:44px;max-height:44px}
 #currency-shop .mcs-product .mcs-bless{align-self:flex-start}
 #currency-shop .mcs-categories .mcs-category{min-height:40px!important;height:40px!important}
}

#currency-shop .mcs-balances{font-size:10px;gap:10px}#currency-shop .mcs-detail{gap:8px}#currency-shop .mcs-detail>img{height:64px}#currency-shop .mcs-detail input{height:30px;width:80px}#currency-shop .mcs-product>img{height:40px}#currency-shop .mcs-product{width:100%}

@layer paradise-market-controls{
 #currency-shop .mcs-categories{display:flex!important;flex-direction:column!important;gap:3px!important;overflow:hidden!important;padding:4px!important}
 #currency-shop .mcs-category{height:23px!important;min-height:23px!important;flex:none!important;padding:1px 8px!important;font-size:12px!important}
 #currency-shop .mcs-subcategories{display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px!important;padding:4px!important;background:#0c2629!important;border:1px solid #3e7373!important;border-radius:2px!important}
 #currency-shop .mcs-subcategories button{height:21px!important;min-height:21px!important;padding:1px!important;font-size:11px!important;border:1px solid #527c76!important;background:linear-gradient(#285c58,#133936)!important;color:#bde6d6!important}
 #currency-shop .mcs-subcategories button[aria-pressed=true]{border-color:#c1eadd!important;background:#407f72!important;color:#fff5c4!important;box-shadow:inset 0 0 4px #aac9a0!important}
 .game.android-layout #dialog.pc-clan-dialog #dialogbody{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}
 .game.android-layout .paradise-clan-tabs{display:flex!important;gap:6px!important;flex:none!important;margin:0 0 6px!important}
 .game.android-layout #dialog.pc-clan-dialog .reference-clan-directory-shell{flex:1!important;min-height:0!important;overflow:hidden!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-row{display:flex!important;align-items:center!important;gap:8px!important;padding:6px 10px!important;min-height:48px!important;border-bottom:1px solid #695e3d!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-name{flex:1!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory{height:100%!important}
 .game.android-layout #dialog.pc-clan-dialog .reference-clan-directory-shell{height:auto!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-list{display:grid!important;grid-auto-rows:46px!important;align-content:start!important;overflow:hidden!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-row{min-height:46px!important;height:46px!important;padding:4px 10px!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory input{background:#081213!important;color:#e9dfc5!important;border:1px solid #655c45!important}
 .game.android-layout #dialog.pc-clan-dialog>.dialoghead{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:34px!important;flex:none!important}
 .game.android-layout #dialog.pc-clan-dialog .dialoghead #close{font-size:24px!important;width:34px!important;height:32px!important;padding:0!important}
}

@layer paradise-market-controls {
 @media (max-width:820px),(max-height:520px){
  .game.android-layout #currency-shop .mcs-categories{overflow-y:auto!important;overflow-x:hidden!important;padding:0 3px 0 0!important;scrollbar-width:thin}
  .game.android-layout #currency-shop .mcs-category{height:32px!important;min-height:32px!important;font-size:13px!important;padding:2px 7px!important}
  .game.android-layout #currency-shop .mcs-subcategories{grid-template-columns:1fr!important;padding:3px!important}
  .game.android-layout #currency-shop .mcs-subcategories button{height:34px!important;min-height:34px!important;font-size:13px!important}
 }
 @media (max-width:600px) and (min-height:521px){
  .game.android-layout #currency-shop .mcs-category{height:40px!important;min-height:40px!important}
 }
}

/* Inventory-style buyback: 64px square items and one atomic multi-item confirmation. */
#currency-shop[data-shop=recycle] .mcs-body{grid-template-columns:124px minmax(0,1fr)}
#currency-shop[data-shop=recycle] .mcs-content{grid-template-columns:140px minmax(0,1fr);grid-template-rows:34px minmax(0,1fr) 46px}
#currency-shop[data-shop=recycle] .mcs-search,#currency-shop[data-shop=recycle] .mcs-products{grid-column:1/-1}
#currency-shop[data-shop=recycle] .mcs-products{display:grid;grid-template-columns:repeat(auto-fill,64px);grid-auto-rows:64px;align-content:start;justify-content:start;gap:8px;padding:3px;overflow:auto}
#currency-shop[data-shop=recycle] .mcs-bag-slot{position:relative;width:64px;height:64px;min-height:64px;padding:0;display:block;touch-action:manipulation;background:#0a1116 url('/assets/lineagem-native-bag/Img_Slot.png') center/100% 100% no-repeat;border:1px solid #756748}
#currency-shop .mcs-sale-art{position:relative;display:block;width:64px;height:64px;flex:none}
#currency-shop .mcs-sale-art>img{position:absolute;width:40px;height:40px;left:12px;top:12px;object-fit:contain;pointer-events:none}
#currency-shop .mcs-state-mark{position:absolute;left:3px;top:3px;width:14px;height:14px;pointer-events:none;background:#f9d25a;clip-path:polygon(50% 0,65% 32%,100% 50%,65% 68%,50% 100%,35% 68%,0 50%,35% 32%);filter:drop-shadow(0 0 2px #efcc6c)}
#currency-shop .mcs-state-2{background:#dc7777;filter:drop-shadow(0 0 2px #e76a6a)}
#currency-shop .mcs-slot-count{position:absolute;right:4px;bottom:2px;font-size:13px;line-height:16px;color:#fff0cb;text-shadow:1px 1px #000,-1px -1px #000;pointer-events:none}
#currency-shop .mcs-slot-check{position:absolute;right:1px;top:1px;color:#fff6c3;font-size:22px;line-height:24px;text-shadow:0 1px 3px #000;pointer-events:none}
#currency-shop .mcs-bag-slot.is-checked{border-color:#e1c579;box-shadow:inset 0 0 0 2px #e1c579;background-image:url('/assets/lineagem-native-bag/Img_SlotTouch.png')}
#currency-shop .mcs-basket-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px}
#currency-shop .mcs-basket-bar[hidden]{display:none}
#currency-shop .mcs-selection-total{font-size:13px;color:#e7d4a1}
#currency-shop .mcs-basket-bar button{height:44px;min-height:44px;padding:4px 12px;font-size:14px}
#currency-shop[data-shop=recycle] .mcs-pagination{gap:8px;justify-content:flex-start}
#currency-shop[data-shop=recycle] .mcs-pagination button{min-width:44px;width:44px;height:44px;min-height:44px;padding:0;font-size:26px}
#currency-shop[data-shop=recycle] .mcs-detail{display:none}
#currency-shop[data-shop=recycle] .mcs-detail[data-open=true]{display:grid;position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 24px));height:auto;max-height:calc(100% - 24px);grid-template-columns:64px minmax(0,1fr);gap:10px 12px;padding:14px;background:#101d23;overflow:auto;box-shadow:0 10px 40px #000b!important}
#currency-shop[data-shop=recycle] .mcs-detail-title{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #706445}
#currency-shop[data-shop=recycle] .mcs-detail-title h3{font-size:17px}
#currency-shop[data-shop=recycle] .mcs-sheet-close{display:block;min-height:42px;flex:none;padding:4px 10px;font-size:14px}
#currency-shop[data-shop=recycle] .mcs-detail>.mcs-sale-art{grid-column:1;grid-row:2/span 2}
#currency-shop[data-shop=recycle] .mcs-detail>:is(p,strong){grid-column:2;font-size:14px}
#currency-shop[data-shop=recycle] .mcs-detail>:is(label,.mcs-sale-total,.mcs-buy,.mcs-sale-review-list){grid-column:1/-1}
#currency-shop[data-shop=recycle] .mcs-detail .mcs-buy{min-height:44px;margin-top:0;font-size:16px}
#currency-shop[data-shop=recycle] .mcs-detail input[type=number]{height:42px;width:110px;font-size:18px;padding:5px 10px}
#currency-shop[data-shop=recycle] .mcs-quantity-all{height:42px;min-height:42px;min-width:60px}
#currency-shop[data-shop=recycle].mcs-detail-open .mcs-detail-scrim{display:block;position:absolute;inset:0;z-index:7;width:100%;height:100%;border:0!important;border-radius:0;background:#0009!important}
#currency-shop .mcs-sale-review-list{min-height:0;max-height:180px;overflow:auto;display:flex;flex-direction:column;gap:5px}
#currency-shop .mcs-sale-review-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:8px;align-items:center;border-bottom:1px solid #60563c;padding:3px 0;font-size:13px}
#currency-shop .mcs-sale-review-row .mcs-sale-art{width:40px;height:40px}
#currency-shop .mcs-sale-review-row img{left:4px;top:4px;width:32px;height:32px}
#currency-shop .mcs-sale-review-row strong{color:#dcc58a;font-size:12px}
@media (max-width:600px) and (min-height:521px){
 #currency-shop[data-shop=recycle] .mcs-body{grid-template-columns:90px minmax(0,1fr)}
 #currency-shop[data-shop=recycle] .mcs-content{grid-template-columns:1fr;grid-template-rows:34px minmax(0,1fr) 44px 64px}
 #currency-shop .mcs-basket-bar{grid-template-columns:1fr 1fr;gap:4px}#currency-shop .mcs-selection-total{grid-column:1/-1}
 #currency-shop .mcs-basket-bar button{font-size:13px;padding:4px}
}
@media (max-height:420px){#currency-shop .mcs-sale-review-list{max-height:130px}}
@layer paradise-market-controls {
 .game.android-layout #currency-shop .mcs-categories{overflow-y:auto!important;overflow-x:hidden!important}
 .game.android-layout #currency-shop .mcs-category{height:40px!important;min-height:40px!important;font-size:14px!important;padding:3px 8px!important}
 .game.android-layout #currency-shop .mcs-subcategories button{height:38px!important;min-height:38px!important;font-size:13px!important}
}

@layer market-lineagem-r74 {
 .game.android-layout #currency-shop.reference-currency-shop {
  --mcs-line:url('/assets/lineagem-common/Com_Img_BoxLine.png');
  --mcs-blue:url('/assets/lineagem-common/Btn_Blue_Normal_P.png');
  --mcs-alpha:url('/assets/lineagem-common/Btn_Alpha_Normal.png');
  background:linear-gradient(115deg,#14222cf5,#070e13fa 58%,#101d25f7)!important;color:#eee2c7!important;
  border:1px solid #aa8d52!important;border-image:var(--mcs-line) 1 / 1px / 0 stretch!important;box-shadow:inset 0 0 0 3px #b59a5c12!important;
 }
 .game.android-layout #currency-shop .mcs-header{background:url('/assets/lineagem-common/Img_InventoryTitleBg.png') center/100% 100% no-repeat!important;border-bottom:1px solid #a48a4a88!important;padding:0 8px!important}
 .game.android-layout #currency-shop .mcs-header h2{color:#f0d9a0!important;font-weight:500!important;letter-spacing:4px!important;text-shadow:0 2px 3px #000!important}
 .game.android-layout #currency-shop button:where(:not(.mcs-bag-slot):not(.mcs-detail-scrim)){background:#12253a var(--mcs-blue) center/100% 100% no-repeat!important;background-origin:border-box!important;border:1px solid #557086!important;border-image:none!important;border-radius:1px!important;color:#eee2c7!important;text-shadow:0 1px 2px #000!important;box-shadow:inset 0 0 0 1px #cce1ee0e!important}
 .game.android-layout #currency-shop .mcs-tabs button{background:#0c141a var(--mcs-alpha) center/100% 100% no-repeat!important;border-color:#786340!important;letter-spacing:1px!important}
 .game.android-layout #currency-shop button:is([aria-selected=true],[aria-pressed=true]){background:#20354b var(--mcs-blue) center/100% 100% no-repeat!important;border-color:#e0c27f!important;color:#fff2c2!important;box-shadow:inset 0 0 0 1px #f3d78e88,0 0 5px #e1ba5d66!important}
 .game.android-layout #currency-shop .mcs-header .mcs-close{background:#49221e url('/assets/lineagem-common/Btn_Red_Normal.png') center/100% 100% no-repeat!important;border-color:#b38969!important}
 .game.android-layout #currency-shop :is(.mcs-categories,.mcs-content){background:#08121abb!important;border:1px solid #887345!important;border-image:var(--mcs-line) 1 / 1px / 0 stretch!important;border-radius:0!important}
 .game.android-layout #currency-shop :is(.mcs-detail,.mcs-help>div){background:linear-gradient(#142630,#080f17)!important;border:1px solid #b29658!important;border-image:var(--mcs-line) 1 / 1px / 0 stretch!important;border-radius:0!important;box-shadow:0 8px 36px #000c,inset 0 0 0 3px #c9a74d15!important}
 .game.android-layout #currency-shop .mcs-detail-title{background:url('/assets/lineagem-common/Img_InventoryTitleBg.png') center/100% 100% no-repeat!important;color:#f1d79b!important;border-bottom-color:#9f844d!important}
 .game.android-layout #currency-shop .mcs-detail-title h3{color:#f0dda9!important}
 .game.android-layout #currency-shop .mcs-subcategories{background:#0a242ba8!important;border-color:#3d7379!important}
 .game.android-layout #currency-shop .mcs-subcategories button{background:#183a45 var(--mcs-alpha) center/100% 100% no-repeat!important;border-color:#58898d!important;color:#c9e6e6!important}
 .game.android-layout #currency-shop button:not(:disabled):not(.mcs-detail-scrim):hover{filter:brightness(1.12)!important}
 .game.android-layout #currency-shop button:not(:disabled):not(.mcs-bag-slot):not(.mcs-detail-scrim):active{background-image:url('/assets/lineagem-common/Btn_Blue_Pressed.png')!important;filter:none!important}
 .game.android-layout #currency-shop button:disabled{background:#12171b url('/assets/lineagem-common/Btn_Disabled.png') center/100% 100% no-repeat!important;border-color:#515955!important;color:#8a928c!important;opacity:.65!important;box-shadow:none!important}
 .game.android-layout #currency-shop :is(input,.mcs-search){background:#050e14!important;border:1px solid #89754b!important;color:#f1e4c8!important;box-shadow:inset 0 1px 5px #0008!important;border-radius:0!important}
 .game.android-layout #currency-shop .mcs-bag-slot{background:#060d11 url('/assets/lineagem-native-bag/Img_Slot.png') center/100% 100% no-repeat!important;border:1px solid #75663f!important;border-image:none!important;border-radius:0!important}
 .game.android-layout #currency-shop .mcs-bag-slot.is-checked{background-image:url('/assets/lineagem-native-bag/Img_SlotTouch.png')!important;border-color:#e6c984!important;box-shadow:inset 0 0 0 1px #f2d785,0 0 5px #c09b4b70!important}
 .game.android-layout #currency-shop .mcs-bag-slot.is-checked .mcs-slot-check{background:url('/assets/lineagem-unified-native/Com_Icn_Check.png') center/contain no-repeat;width:23px;height:23px;font-size:0!important;text-shadow:none!important}
 .game.android-layout #currency-shop .mcs-selection-total,.game.android-layout #currency-shop .mcs-sale-total{color:#ecd18c!important}
}

/* Clan directory and roster share the fullscreen frame, but not the old
   two-column form sizing. Keep directory rows stretched and reachable. */
@layer paradise-market-controls {
 .game.android-layout #dialog.pc-clan-dialog .reference-clan-directory-shell{align-items:stretch!important;width:100%!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory{width:100%!important;align-self:stretch!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-list{overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:#a69569 #121a1c!important;grid-auto-rows:minmax(46px,auto)!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-list:has(.clan-directory-create){display:block!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-row{width:100%!important;height:auto!important;flex:none!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-name{overflow-wrap:anywhere!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-row>button{flex:none!important;white-space:nowrap!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-bottom{flex-wrap:wrap!important;row-gap:4px!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-directory-feedback{flex:1!important;min-width:0!important}
 .game.android-layout #dialog.pc-clan-dialog .pc-clan-root:not(.reference-clan-directory-shell){flex:1!important;min-height:0!important;overflow:auto!important;align-content:start!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-management>p{grid-column:1/-1!important;overflow-wrap:anywhere!important}
 .game.android-layout #dialog.pc-clan-dialog .clan-management>button{width:100%!important}
 .game.android-layout #dialog.pc-clan-dialog .dialoghead #close{flex:0 0 64px!important;width:64px!important;min-width:64px!important;font:13px/1.2 'Microsoft JhengHei',sans-serif!important;white-space:nowrap!important;display:flex!important;align-items:center!important;justify-content:center!important}
 @media (max-width:600px){
  .game.android-layout #dialog.pc-clan-dialog .pc-clan-root:not(.reference-clan-directory-shell){grid-template-columns:minmax(0,1fr)!important}
 }
}
