@charset "UTF-8";
.page-shop { background: #060f14; }
.page-shop .wrap { width: min(1480px, calc(100% - 64px)); }
.store-hero {
  min-height: 218px; display: flex; align-items: center; border-bottom: 1px solid #b48a40;
  background: linear-gradient(90deg, #020b11e0, #030c1060 43%, transparent 72%),
    linear-gradient(0deg, #06101788, transparent 45%), url("artwork/news-citadel-v1.c97432c72dc5.png") center 47% / cover;
  box-shadow: 0 2px 0 #000, 0 3px 0 #d4ae5640;
}
.store-hero-copy { padding: 32px 36px 28px; }
.store-hero h1 {
  margin: 0 0 12px; color: #ffe4a1; font-size: clamp(36px, 4.3vw, 60px); line-height: 1.2;
  font-weight: 700; text-shadow: 0 3px 7px #000;
}
.store-hero-intro { max-width: 660px; color: #f0ece1; font-size: 21px; text-shadow: 0 2px 4px #000; }
.store-hero-description { margin-top: 12px; max-width: 670px; color: #dddcd3; font-size: 13px; }
.store-values { border-bottom: 1px solid #8f713e; background: linear-gradient(90deg, #0c171e, #081218); }
.store-values > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 17px; }
.store-values > div > div { display: flex; align-items: center; gap: 20px; padding: 0 26px;
  border-right: 1px solid #7e725237; }
.store-values > div > div:first-child { padding-left: 15px; }
.store-values > div > div:last-child { border: 0; }
.store-values .ui-icon { width: 35px; height: 35px; color: #e5b963; }
.store-values strong { display: block; font-size: 15px; color: #f0d595; }
.store-values small { display: block; margin-top: 3px; font-size: 11px; color: #aab5b8; line-height: 1.6; }
.primary-nav .shop-header-user {
  display: flex; align-items: center; gap: 12px; margin-left: 20px; padding: 10px 0 10px 16px;
  border-left: 1px solid #73604460; color: #eee5cf; font-size: 14px;
}
#shop-user[hidden], #shop-login[hidden], #shop-register[hidden] { display: none; }
#shop-username { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.shop-avatar { width: 36px; height: 36px; flex-shrink: 0; border: 1px solid #c9a365; border-radius: 50%;
  background: #172129 url("logo.c0fd3d5e1a88.png") 50% 30% / 210% auto; box-shadow: 0 0 0 2px #392b18; }
.store-layout {
  display: grid; grid-template-columns: 208px minmax(0, 1fr) 250px; gap: 22px 24px;
  align-items: start; padding-block: 26px; margin-bottom: 0;
}
.store-main, .store-sidebar, .store-account { min-width: 0; }
.store-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#shop-categories { display: flex; flex-direction: column; gap: 0; margin: 0; }
#shop-categories button {
  position: relative; display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 14px 20px;
  border: 1px solid #3d4946; border-bottom: 0; border-radius: 0; color: #c7d1d3;
  background: linear-gradient(110deg, #122027, #071219); font: inherit; font-size: 13px; text-align: left;
}
#shop-categories button:last-child { border-bottom: 1px solid #3d4946; }
#shop-categories .ui-icon { width: 25px; height: 25px; color: #a6afb0; }
#shop-categories button[aria-pressed='true'], #shop-categories button:hover {
  color: #ffedb1; border-color: #d9aa51; background: linear-gradient(115deg, #6c4d21, #352711 90%);
  box-shadow: inset 0 0 0 1px #d9aa5166, inset 0 0 16px #d69c2926, 0 0 14px #c48a2330; z-index: 1;
}
#shop-categories button[aria-pressed='true'] .ui-icon { color: #ffe5a5; }
#shop-category-state { padding: 20px; border: 1px solid #4e4c3d; color: #adb8bb; font-size: 12px; }
.store-support-card { position: relative; display: flex; align-items: flex-end; min-height: 245px; margin-top: 20px;
  border: 1px solid #9c814b; background: linear-gradient(0deg, #02090df2, #07121933 80%),
    url("artwork/community-guardian-v1.289607e5e22d.png") 66% center / cover; }
.store-support-card > div { padding: 20px; }
.store-support-card strong { display: block; color: #ffe4a0; font: 700 24px/1.4 var(--serif); text-wrap: balance; }
.store-support-card span { display: block; color: #d6d6c8; font-size: 12px; margin-top: 5px; }
.store-support-card small { display: inline-block; border: 1px solid #a98442; color: #e9ca80;
  padding: 6px 18px; margin-top: 16px; font-size: 12px; background: #24200fd9; }
.store-search { display: flex; height: 40px; border: 1px solid #4c5347; background: #101c22; margin-bottom: 18px; }
.store-search input { min-width: 0; flex: 1; width: 100%; border: 0; padding: 9px 13px; color: #e1e5dc;
  background: none; font: inherit; font-size: 13px; }
.store-search input:focus { outline: 0; }
.store-search:focus-within { border-color: #d7b263; box-shadow: 0 0 0 1px #d7b263; }
.store-search button { display: grid; place-items: center; width: 44px; border: 0; color: #deb66a;
  background: transparent; cursor: pointer; }
.store-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.store-section-heading h2 { display: flex; align-items: center; flex: 1; gap: 12px; color: #f3d28b;
  font: 700 25px/1.4 var(--serif); }
.store-section-heading h2::before { content: '✧'; color: #c69643; font-size: 19px; }
.store-section-heading h2::after { content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, #9a7a41, #35402e); }
.store-section-heading > a { color: #c5c9c1; font-size: 12px; }
.store-topups > p { font-size: 12px; color: #abb7b9; margin: 6px 0 18px 30px; }
.store-topup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-topup-card { display: flex; align-items: center; gap: 20px; min-width: 0; min-height: 150px; padding: 20px;
  border: 1px solid #74603c; box-shadow: inset 0 0 0 4px #0003;
  background: radial-gradient(ellipse at 10% 50%, #71501c3b, transparent 65%), #0c171c; }
.store-topup-card > div { min-width: 0; flex: 1; }
.store-topup-card h3 { color: #f4d692; font: 700 18px/1.4 var(--serif); overflow-wrap: anywhere; }
.store-channel-state { font-size: 11px; color: #b4b5a8; margin-top: 7px; }
.store-topup-card .button { min-height: 32px; padding: 6px 12px; font-size: 11px; margin-top: 12px; }
.store-coin { position: relative; display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto;
  border-radius: 50%; border: 2px solid #f5d786; color: #ffdf86; font: 700 21px Georgia, serif;
  background: radial-gradient(circle at 30% 24%, #ffeb99, #d39828 35%, #8f4c0d 72%, #e6ad49);
  text-shadow: -1px -2px 1px #784014, 1px 2px 1px #ffdd73;
  box-shadow: 0 0 0 2px #754719, 0 0 0 4px #c28e40, 4px 4px 0 #503016, 0 0 25px #b8862430; }
.store-coin::before { content: ''; position: absolute; inset: 4px; border: 1px solid #ffe18f; border-radius: 50%; }
.store-coin-crypto { transform: rotate(-12deg); }
.store-coin-small { width: 38px; height: 38px; font-size: 14px; }
.store-catalog-heading { margin-top: 24px; margin-bottom: 16px; }
.shop-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shop-card { padding: 5px; border: 1px solid #645d47; border-radius: 0; box-shadow: inset 0 0 0 3px #0004;
  background: linear-gradient(120deg, #13212a, #061117); display: flex; flex-direction: column; }
.shop-icon { position: relative; display: grid; place-items: center; min-height: 118px; gap: 7px; padding: 18px 8px;
  margin: 0; border: 1px solid #6d634d; background: radial-gradient(ellipse, #a77c3030, #06121b 70%); }
.shop-icon img { width: 76px; height: 76px; border-radius: 3px; border-color: #978251; }
.shop-icon-caption { font-size: 9px; text-align: center; }
.store-product-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 10px 8px 8px; }
.shop-card h2, .shop-card h3 { font: 700 16px/1.4 var(--serif); color: #f0e2bf; overflow-wrap: anywhere; }
.shop-card .shop-price { font: 700 15px/1.5 var(--serif); color: #f2c96b; margin-block: 7px; }
.shop-price del { font: 11px var(--serif); color: #a1aaa7; }
.shop-card p { font-size: 10px; line-height: 1.65; color: #b3bfc1; margin-bottom: 5px; overflow-wrap: anywhere; }
.shop-card .shop-activity { font-size: 11px; color: #f6cd80; }
.shop-card .shop-activity-end { font-size: 9px; }
.shop-bundle-contents { font-size: 10px; padding-left: 16px; margin: 5px 0 12px; }
.shop-card .button { margin-top: auto; min-height: 32px; padding: 7px 9px; font-size: 11px;
  color: #ffe9b5; border-color: #c79c48; background: linear-gradient(135deg, #a9210f, #711005); }
.shop-card .button:hover { background: #b62a10; }
.shop-message:empty { display: none; }
.shop-message { padding: 32px 24px; border: 1px solid #475349; background: #0e1a20; font-size: 13px; }
.shop-message[data-state='error'] { color: #ebc69c; border-color: #87643b; }
.shop-message .button { margin-top: 18px; padding: 8px 18px; min-height: 36px; font-size: 12px; }
.shop-pagination { justify-content: center; align-items: center; gap: 10px; margin-top: 20px; font-size: 12px; }
.shop-pagination .button { min-height: 32px; padding: 6px 13px; font-size: 11px; }
.store-account { display: grid; gap: 18px; }
.store-balance-card, .store-guide, .shop-purchase { position: relative; padding: 20px 18px;
  border: 1px solid #645b43; border-radius: 0; background: linear-gradient(115deg, #111f26, #071218);
  box-shadow: inset 0 0 0 4px #0003; }
.store-account h2 { color: #f2d48e; font: 700 20px/1.4 var(--serif); }
.store-balance-row { display: flex; align-items: center; gap: 17px; margin: 20px 5px; }
#shop-balance { min-width: 0; color: #b1bfbe; font-size: 12px; overflow-wrap: anywhere; }
.store-balance-value { font: 700 36px/1.2 var(--serif); color: #ffdc87; overflow-wrap: anywhere; }
.store-balance-unit { display: inline-block; font-size: 10px; margin-left: 7px; color: #dec898; }
#shop-balance .button { min-height: 32px; padding: 7px 10px; font-size: 11px; }
.store-history-links { display: flex; gap: 15px; justify-content: flex-end; margin-bottom: 18px; font-size: 11px; }
.store-history-links a { color: #c3c7be; }
.store-red-button { color: #ffe8b6; background: linear-gradient(135deg, #bd2712, #750f06);
  box-shadow: inset 0 0 0 3px #68170d, 0 0 14px #b8571226; }
.store-red-button:hover { background: #b52610; }
.store-balance-card > .button { display: flex; justify-content: center; min-height: 40px; font-size: 13px; }
.store-guide ol { list-style: none; padding: 0; counter-reset: step; margin: 20px 0; }
.store-guide li { position: relative; padding: 12px 0 12px 35px; border-top: 1px solid #52626355;
  font-size: 12px; color: #c5d0d0; counter-increment: step; }
.store-guide li::before { content: counter(step); position: absolute; left: 0; top: 11px; display: grid;
  place-items: center; width: 23px; height: 23px; font: 12px var(--serif); color: #e6cc87;
  background: linear-gradient(135deg, #624820, #292416); border: 1px solid #97783d; }
.store-guide p { font-size: 11px; color: #9eacaf; }
.store-guide .text-link { margin-top: 18px; font-size: 12px; }
.store-shortcuts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.store-shortcuts > a { display: flex; align-items: center; gap: 18px; padding: 20px; min-height: 92px;
  border: 1px solid #5c563e; background: linear-gradient(110deg, #152127, #091218); color: #efd28b;
  box-shadow: inset 0 0 0 3px #0003; font: 26px var(--serif); }
.store-shortcuts .ui-icon { width: 40px; height: 40px; color: #e9bb67; filter: drop-shadow(0 0 8px #e7aa4b5c); }
.store-shortcuts > a > span { flex: 1; }
.store-shortcuts strong { display: block; font: 700 15px/1.4 var(--serif); }
.store-shortcuts small { display: block; margin-top: 6px; font-family: Arial, 'PingFang SC', sans-serif;
  font-size: 11px; line-height: 1.6; color: #aab7bc; }
.store-shortcuts a:hover { border-color: #ccac67; }
.store-layout noscript { grid-column: 1 / -1; }
.shop-shell[data-product]:not([data-product='']) { grid-template-columns: minmax(0, 1fr) 360px; }
.shop-shell[data-product]:not([data-product='']) .store-sidebar { display: none; }
.shop-shell[data-product]:not([data-product='']) .store-catalog-heading { margin-top: 0; }
.shop-shell[data-product]:not([data-product='']) .store-guide { display: none; }
.shop-detail { max-width: none; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 26px; }
.shop-detail .shop-icon { min-height: 150px; align-self: start; padding: 20px; }
.shop-detail .shop-icon img { width: 96px; height: 96px; }
.shop-detail h2 { font-size: 30px; }
.shop-detail .shop-price { font-size: 24px; margin-block: 18px; }
.shop-detail p, .shop-detail .shop-bundle-contents { font-size: 13px; }
.shop-detail .store-product-copy { padding: 0; }
.shop-detail .shop-conditions { margin-block: 18px; }
.shop-detail a:not(.button) { color: #e5c47c; margin-top: 16px; font-size: 12px; }
.shop-purchase { margin-top: 0; max-width: none; }
.shop-purchase p { color: #b4c1c5; font-size: 12px; line-height: 1.8; margin-top: 14px; }
.shop-purchase label { font-size: 12px; margin-top: 20px; color: #dcd4bd; }
.shop-purchase input, .shop-purchase select { min-width: 0; max-width: none; border-color: #746344;
  background: #08141b; font: inherit; font-size: 13px; border-radius: 0; }
.shop-purchase .button { width: 100%; min-height: 38px; margin: 12px 0 0; padding: 10px 12px; font-size: 12px; }
#shop-confirm, #shop-result:not(:empty) { margin-top: 24px; padding-top: 22px; border-color: #75613d; }
#shop-confirm h3 { color: #f2d18a; font-size: 20px; }
#shop-quote-expiry { color: #d6b66f; }
.page-shop .site-footer { margin-top: 0; }
@media (max-width: 1250px) {
  .store-layout { grid-template-columns: 180px minmax(0, 1fr) 230px; gap: 20px; }
  .store-topup-card { gap: 14px; padding: 16px; }
  .store-topup-card .store-coin { width: 45px; height: 45px; font-size: 17px; }
  .store-topup-card h3 { font-size: 16px; }
  .store-values > div > div { gap: 14px; padding-inline: 16px; }
  .store-values small { font-size: 10px; }
  .store-shortcuts > a { gap: 12px; padding: 16px; }
}
@media (max-width: 1100px) {
  .store-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .store-sidebar { grid-column: 1 / -1; }
  #shop-categories { flex-direction: row; flex-wrap: wrap; }
  #shop-categories button { flex: 1 1 140px; border: 1px solid #3d4946; min-height: 50px; padding: 12px; gap: 10px; }
  .store-support-card { display: none; }
  .shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-topup-grid { grid-template-columns: 1fr; }
  .store-topup-card { min-height: 115px; }
  .store-hero-copy { padding-inline: 12px; }
  .store-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-shell[data-product]:not([data-product='']) { grid-template-columns: minmax(0, 1fr) 310px; }
  .shop-detail { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .shop-detail .shop-icon { width: 150px; }
}
@media (max-width: 900px) {
  .store-layout { grid-template-columns: minmax(0, 1fr); }
  .store-sidebar { grid-column: 1; grid-row: 1; }
  .store-account { grid-column: 1; grid-row: 2; grid-template-columns: 1fr 1fr; gap: 18px; }
  .store-main { grid-column: 1; grid-row: 3; }
  .store-guide { padding-block: 18px; }
  .store-guide ol { margin: 12px 0; }
  .store-guide li { padding-block: 7px; font-size: 11px; }
  .store-guide li::before { top: 7px; width: 19px; height: 19px; }
  .store-guide p { font-size: 10px; }
  .store-guide .text-link { margin-top: 10px; }
  .store-topup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .store-values > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .store-values > div > div:nth-child(2) { border: 0; }
  .store-values > div > div:nth-child(3) { padding-left: 15px; }
  .primary-nav .shop-header-user { margin: 8px 0 0; padding: 12px 14px; border: 0; border-top: 1px solid #514630; }
  .shop-shell[data-product]:not([data-product='']) { grid-template-columns: minmax(0, 1fr); }
  .shop-shell[data-product]:not([data-product='']) .store-main { grid-row: 1; }
  .shop-shell[data-product]:not([data-product='']) .store-account { grid-row: 2; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-shop .wrap { width: calc(100% - 36px); }
  .store-hero { min-height: 235px; background-position: center, center, 60% center; }
  .store-hero-copy { padding: 30px 0; }
  .store-hero h1 { font-size: 36px; max-width: 420px; }
  .store-hero-intro { font-size: 17px; max-width: 340px; }
  .store-hero-description { font-size: 11px; max-width: 340px; }
  .store-values > div > div { padding-inline: 10px; gap: 12px; }
  .store-values .ui-icon { width: 28px; height: 28px; }
  .store-values strong { font-size: 13px; }
  .store-layout { padding-block: 20px; }
  .store-account { grid-template-columns: 1fr; }
  .store-balance-card { padding: 18px 20px; }
  .store-balance-row { margin-block: 14px; }
  .store-topup-grid { grid-template-columns: 1fr; gap: 12px; }
  .store-topup-card { padding: 20px; }
  .store-topup-card .store-coin { width: 58px; height: 58px; font-size: 21px; }
  .store-topup-card h3 { font-size: 19px; }
  .store-section-heading h2 { font-size: 23px; }
  .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-icon { min-height: 120px; }
  .shop-card h3 { font-size: 16px; }
  .store-product-copy { padding-inline: 6px; }
  .store-shortcuts { gap: 12px; }
  .store-shortcuts > a { flex-wrap: wrap; font-size: 0; padding: 18px; }
  .store-shortcuts > a > span { flex-basis: 100%; }
  .store-shortcuts strong { font-size: 14px; }
  .store-shortcuts .ui-icon { width: 34px; height: 34px; }
  .shop-detail .shop-icon { width: 150px; }
  .shop-detail h2 { font-size: 27px; }
}
@media (max-width: 359px) {
  .shop-products { grid-template-columns: minmax(0, 1fr); }
  .store-hero h1 { font-size: 31px; }
}
