.chess-economy{box-sizing:border-box;color:#f5f3ff;font-family:"IBM Plex Sans",sans-serif;font-size:16px;line-height:1.45}
.chess-economy *{box-sizing:border-box}
.chess-economy a{color:#d9d4ff;text-decoration:none}
.chess-economy a:hover{color:#fff;text-decoration:underline}
.chess-economy a:focus-visible,.chess-economy button:focus-visible{outline:3px solid #00d2db;outline-offset:3px}
.chess-economy--summary{display:flex;gap:10px;width:100%;margin:0 0 20px;padding:12px;border:1px solid #55507e;border-radius:14px;background:#28234f}
.chess-economy__balance{display:flex;flex:1;align-items:center;gap:22px;min-width:0}
.chess-economy__balance>span{display:grid;grid-template-columns:24px auto;gap:0 7px;align-items:center;min-width:0}
.chess-economy__balance img{width:24px;height:28px;grid-row:1/3}
.chess-economy__balance strong{font-size:20px;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.chess-economy__balance small{font-size:12px;color:#c9c3e7}
.chess-economy__balance .chess-economy__history{display:flex;margin-left:auto;font-size:14px;gap:10px}
.chess-economy__store-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px;border-radius:10px;background:#6552b4;color:#fff!important;font-weight:600}
.chess-economy--page{width:100%;max-width:960px;margin:0 auto;padding:20px 0 36px}
.chess-economy__back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:12px}
.chess-economy__heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.chess-economy .chess-economy__heading h1{height:auto;margin:0;padding:0;font:700 28px/1.2 "IBM Plex Sans",sans-serif;color:#fff}
.chess-economy__heading>a{display:flex;align-items:center;min-height:44px;font-size:14px}
.chess-economy__totals{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.chess-economy__totals>div{display:flex;align-items:center;gap:14px;min-width:0;padding:20px;border:1px solid #55507e;border-radius:14px;background:#28234f}
.chess-economy__totals img{width:38px;height:44px}
.chess-economy__totals span{display:flex;flex-direction:column;min-width:0;color:#c9c3e7;font-size:14px}
.chess-economy__totals strong{color:#fff;font-size:30px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.chess-economy__totals--compact strong{font-size:24px}
.chess-economy__hint{margin:16px 0 28px;color:#c9c3e7;font-size:14px}
.chess-economy h2{margin:0 0 16px;font:600 20px/1.3 "IBM Plex Sans",sans-serif;color:#fff}
.chess-economy__empty,.chess-economy__notice{margin:16px 0;padding:18px;border:1px solid #655d91;border-radius:12px;background:#28234f;color:#e7e1ff}
.chess-economy__notice{border-color:#85d9ca}
.chess-economy__ledger{list-style:none;margin:0;padding:0;border:1px solid #514a76;border-radius:14px;background:#28234f;overflow:hidden}
.chess-economy__ledger li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;border-bottom:1px solid #514a76}
.chess-economy__ledger li:last-child{border-bottom:0}
.chess-economy__ledger li>div:first-child{min-width:0;flex:1}
.chess-economy__ledger strong{display:block;font-size:15px;font-weight:500;overflow-wrap:anywhere}
.chess-economy__ledger time{display:block;margin-top:5px;font-size:12px;color:#bdb6d8}
.chess-economy__amounts{display:flex;flex-direction:column;gap:6px;text-align:right;flex:0 0 auto;max-width:45%}
.chess-economy__amounts span{display:flex;flex-direction:column;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.chess-economy__amounts b{font-size:18px}
.chess-economy__amounts small{font-size:11px;color:#c9c3e7}
.chess-economy .is-credit b{color:#8ce1ce}
.chess-economy .is-debit b{color:#ffbdc9}
.chess-economy__pagination{display:flex;justify-content:space-between;gap:16px;margin-top:16px}
.chess-economy__pagination a{display:flex;align-items:center;min-height:48px;padding:8px 12px;border:1px solid #655d91;border-radius:8px}
.chess-economy__skins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.chess-economy__skin{min-width:0;overflow:hidden;border:1px solid #554c7c;border-radius:14px;background:#28234f}
.chess-economy__skin.is-selected{border-color:#8ce1ce}
.chess-economy__preview{display:flex;align-items:center;min-height:112px;padding:6px;background-color:#332b56;background-image:linear-gradient(45deg,#40375f 25%,transparent 25%,transparent 75%,#40375f 75%),linear-gradient(45deg,#40375f 25%,transparent 25%,transparent 75%,#40375f 75%);background-size:36px 36px;background-position:0 0,18px 18px}
.chess-economy__preview img{display:block;width:100%;height:auto;object-fit:contain}
.chess-economy__skin-body{padding:14px}
.chess-economy__skin h2{font-size:20px;margin:0 0 5px}
.chess-economy__state{min-height:20px;margin:0 0 14px;color:#c9c3e7;font-size:13px}
.chess-economy form{margin:0}
.chess-economy button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:48px;margin:0;padding:10px 8px;border:1px solid #8b7bcf;border-radius:9px;background:#6552b4;color:#fff;font:600 15px/1.3 "IBM Plex Sans",sans-serif;cursor:pointer;white-space:normal}
.chess-economy button img{width:18px;height:22px}
.chess-economy button:disabled{background:#393354;border-color:#655d82;color:#c5bddf;cursor:default}
.chess-economy__purchase{margin-top:10px!important}
.chess-economy__purchase>small{display:block;margin-top:5px;text-align:center;font-size:12px;color:#c9c3e7}
.chess-economy__tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.chess-economy__tabs a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border:1px solid #655d91;border-radius:10px;font-weight:600}
.chess-economy__tabs a[aria-current="page"]{background:#6552b4;color:#fff;border-color:#9d8add}
.chess-economy__skins--collection .chess-economy__skin.is-selected button:disabled{background:#284d49;border-color:#8ce1ce;color:#b8ffed}
@media(max-width:600px){
 .chess-economy--summary{gap:8px;padding:10px;margin:12px 0 18px}
 .chess-economy__balance{gap:12px;flex-wrap:wrap}
 .chess-economy__balance strong{font-size:18px}
 .chess-economy__balance .chess-economy__history{width:100%;margin:0;font-size:12px;line-height:1}
 .chess-economy__store-link{padding:10px;align-self:stretch}
 .chess-economy--page{padding:4px 0 28px}
 .chess-economy__heading{flex-direction:column;align-items:flex-start;gap:0;margin-bottom:16px}
 .chess-economy .chess-economy__heading h1{font-size:26px}
 .chess-economy__totals>div{padding:14px 10px;gap:8px}
 .chess-economy__totals img{width:26px;height:34px}
 .chess-economy__totals strong{font-size:24px}
 .chess-economy__totals span{font-size:12px}
 .chess-economy h2{font-size:19px}
 .chess-economy__skins{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .chess-economy__skin-body{padding:12px 10px}
 .chess-economy__preview{min-height:80px;padding:4px}
 .chess-economy__skin h2{font-size:18px}
 .chess-economy button{font-size:13px;gap:4px;flex-wrap:wrap}
 .chess-economy__ledger li{padding:14px 12px;gap:10px}
}
@media(max-width:480px){.chess-economy__skins{grid-template-columns:minmax(0,1fr)}.chess-economy__preview{min-height:130px}.chess-economy button{font-size:15px}.chess-economy__skin-body{padding:14px}}
