/* Authenticated player storefront. The sign-in screen keeps its own styles. */
.ops-mall-body { background: #f5f6f8; }
.ops-mall-body::before { display: none; }
@font-face { font-family: "mall-icons"; src: url("../fonts/mall-icons.woff2") format("woff2"); font-display: block; }
.player-store, .player-store *, .store-modal, .store-modal * { box-sizing: border-box; }
.player-store {
    --store-purple: #7663cb;
    --store-blue: #4e95c5;
    --store-text: #28282c;
    position: relative;
    width: 100%;
    max-width: 600px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding-bottom: calc(49px + env(safe-area-inset-bottom, 0px));
    color: var(--store-text);
    background: #f5f6f8;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}
.player-store button, .player-store input, .store-modal button, .store-modal input { font: inherit; }
.player-store button { border: 0; padding: 0; cursor: pointer; color: inherit; background: none; }
.player-store button:disabled, .store-modal button:disabled { cursor: not-allowed; opacity: .52; }
.player-store button:focus-visible, .player-store input:focus-visible, .store-modal button:focus-visible, .store-modal input:focus-visible { outline: 2px solid #7060cf; outline-offset: 3px; }
.player-store h1, .player-store h2, .player-store p { margin: 0; }
.store-icon { flex: 0 0 auto; width: 24px; height: 24px; font-size: 24px; display: inline-block; vertical-align: middle; font-family: "mall-icons" !important; font-style: normal; font-weight: normal; font-variant: normal; line-height: 1; text-align: center; font-size: 24px; text-transform: none; -webkit-font-smoothing: antialiased; }
.store-home-view { position: relative; isolation: isolate; min-height: 100vh; padding-bottom: 17px; background: linear-gradient(180deg, #eef2ff, #f5f0ff, #fdf2f8 60%, #fef9f0); }
.store-home-gradient { position: absolute; z-index: -1; top: 0; left: 0; width: 100%; height: 280px; border-radius: 0 0 30px 30px; background: linear-gradient(135deg, #667eea, #764ba2); }
.store-home-header { position: relative; height: 44px; border-bottom: 1px solid #ffffff35; display: flex; justify-content: center; align-items: center; color: #fff; }
.store-home-header h1 { max-width: 44%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 700; letter-spacing: .3px; line-height: 1.3; }
.player-store .store-service-pill { position: absolute; right: 15px; top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; height: 23px; padding: 0 10px; border-radius: 20px; color: #fff; background: #ffffff29; font-size: 11px; font-weight: 600; }
.store-service-pill .store-icon { width: 14px; height: 14px; font-size: 14px; }
.store-home-content { position: relative; padding: 0 16px; }
.store-account-card { display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 16px; color: #fff; border: 1px solid #ffffff38; border-radius: 16px; background: #ffffff2e; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px #ffffff05; }
.store-account-card > div { min-width: 0; }
.store-account-card h2 { overflow-wrap: anywhere; font-size: 16px; line-height: 1.4; font-weight: 700; letter-spacing: .1px; text-shadow: 0 1px 3px #0000001a; }
.store-account-card p { margin-top: 4px; font-size: 14px; color: #ffffffe8; }
.store-account-card button { flex: 0 0 auto; min-width: 41px; height: 32px; margin-left: 10px; padding: 0 9px; border-radius: 18px; color: #fff; background: #368ef2; font-size: 12px; }
.player-store .store-role-select { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; margin-top: 16px; padding: 10px 14px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px #0000000f; text-align: left; }
.store-role-select > .store-icon { width: 14px; height: 14px; font-size: 14px; color: #9790ba; }
.store-role-select > span:not(.store-icon) { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-role-select > .store-chevron { width: 13px; height: 13px; font-size: 13px; color: #999; }
.store-banner { display: block; width: 100%; height: 150px; margin-top: 12px; overflow: hidden; border-radius: 16px; background: linear-gradient(130deg, #14132a, #6f72a5); box-shadow: 0 6px 20px #0000001a; }
.store-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.store-shortcuts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 84px; gap: 0; margin-top: 16px; padding: 18px 0; min-height: 204px; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px #667eea14; }
.store-shortcuts button { display: flex; align-items: center; flex-direction: column; gap: 8px; min-width: 0; padding: 16px 0; }
.store-shortcuts .store-icon { width: 26px; height: 26px; font-size: 26px; stroke-width: 1.7; color: #353637; }
.store-shortcuts button span:not(.store-icon) { font-size: 12px; line-height: 1.6; white-space: nowrap; }
.store-notice { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 12px; border-radius: 11px; background: #fff8e7; color: #bd9859; box-shadow: 0 4px 12px #bdad7f0b; }
.store-home-content > .store-notice { margin-top: 14px; }
.store-notice > .store-icon { width: 14px; height: 14px; font-size: 14px; stroke-width: 1.5; }
.store-notice-clip { min-width: 0; overflow: hidden; }
.store-notice-clip p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; letter-spacing: .3px; }
.store-featured { margin-top: 14px; padding: 18px; border-radius: 16px; background: #fff; }
.store-featured > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid #f0f0f3; }
.store-featured h2 { display: flex; align-items: center; gap: 5px; font-size: 17px; line-height: 1.4; font-weight: 700; white-space: nowrap; }
.store-featured-fire { margin-right: 2px; font-size: 22px; line-height: 1; }
.store-featured-badge { margin-left: 2px; padding: 1px 8px; border-radius: 12px; color: #fff; font-size: 10px; font-weight: 400; background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.store-featured > header button { color: #667eea; white-space: nowrap; font-size: 13px; font-weight: 600; }
.store-featured-list { display: grid; gap: 13px; }
.player-store .store-featured-card { position: relative; display: block; width: 100%; padding: 14px 14px 14px 17px; overflow: hidden; border: 1px solid #eef2f9; border-left: 3px solid #667eea; border-radius: 14px; background: linear-gradient(135deg, #f5f7ff, #fff); text-align: left; box-shadow: 0 3px 8px #45406306; }
.player-store .store-featured-card--1 { border-left-color: #f5a623; background: linear-gradient(135deg, #fffdf5, #fff); }
.player-store .store-featured-card--2 { border-left-color: #ee5a24; background: linear-gradient(135deg, #fff7f5, #fff); }
.store-hot-tag { position: absolute; right: 0; top: 0; padding: 1px 11px 2px; border-radius: 0 10px 0 9px; background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; font-size: 10px; line-height: 1.65; box-shadow: 0 3px 5px #b2612e25; }
.store-featured-title { display: flex; align-items: center; gap: 7px; min-height: 32px; margin-bottom: 10px; }
.store-featured-title > .store-icon { width: 16px; height: 16px; font-size: 16px; color: #c8a955; }
.store-featured-title > strong { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.store-price-pill { flex: 0 0 auto; min-width: 60px; padding: 6px 8px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #667eea, #764ba2); font-size: 13px; font-weight: 600; letter-spacing: .5px; box-shadow: 0 4px 9px #775ab831; }
.store-reward-chips { display: flex; flex-wrap: wrap; gap: 5px 6px; }
.store-reward-chips > span { max-width: 100%; padding: 1px 9px; border: 1px solid #e8e7f0; border-radius: 20px; overflow-wrap: anywhere; color: #5b6abf; background: linear-gradient(135deg, #f0f4ff, #e8edfd); font-size: 11px; line-height: 1.7; }
.store-reward-chips > .store-chip-more { color: #e6a23c; border-color: #fde2b0; background: linear-gradient(135deg, #fff7e6, #fff1d6); }
.store-sold { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #eef0f8; color: #b0b0b0; font-size: 11px; letter-spacing: .3px; }
.store-shop-view { min-height: calc(100vh - 49px); background: #f0f2f8; }
.store-shop-header { position: relative; isolation: isolate; padding: 14px 20px 18px; overflow: hidden; color: #fff; text-align: center; background: linear-gradient(135deg, #4a3fb5, #7c5ce7, #a78bfa); }
.store-shop-header::before, .store-shop-header::after { position: absolute; z-index: -1; content: ""; border-radius: 50%; pointer-events: none; background: #ffffff05; }
.store-shop-header::before { width: 175px; height: 175px; top: 44px; left: -48px; }
.store-shop-header::after { width: 170px; height: 170px; top: -60px; right: -34px; }
.store-shop-header h1 { font-size: 19px; font-weight: 700; line-height: 1.5; }
.store-shop-header h1 > span { font-size: 18px; }
.store-shop-header > p { margin-top: 4px; color: #ffffffa6; font-size: 12px; letter-spacing: .5px; }
.player-store .store-back-button { position: absolute; left: 17px; top: 12px; width: 24px; height: 28px; display: grid; place-items: center; }
.store-back-button .store-icon { width: 19px; height: 19px; font-size: 19px; stroke-width: 1.8; }
.store-search { display: flex; align-items: center; gap: 9px; height: 35px; margin-top: 14px; padding: 0 14px; border-radius: 22px; background: #fffef8f5; color: #b0aeb6; text-align: left; }
.store-search .store-icon { width: 15px; height: 15px; font-size: 15px; stroke-width: 1.7; }
.store-search input { display: block; width: 100%; min-width: 0; padding: 7px 0; border: 0; border-radius: 0; outline: 0; background: transparent; color: #4a405c; font-size: 14px; line-height: 20px; }
.store-search input::placeholder { color: #b5b3b9; }
.store-search:focus-within { box-shadow: 0 0 0 2px #c4b3ff; }
.store-search input:focus-visible { outline: none; }
.store-category-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 44px; padding: 0 8px; background: #fff; box-shadow: 0 3px 6px #35334403; }
.store-category-tabs button { position: relative; min-width: 0; padding: 14px 3px 10px; color: #888; font-size: 14px; white-space: nowrap; }
.store-category-tabs button.active { color: #4a3fb5; font-weight: 700; }
.store-category-tabs button.active::after { position: absolute; left: 50%; bottom: 0; width: 19px; height: 3px; content: ""; transform: translateX(-50%); border-radius: 3px; background: linear-gradient(90deg, #8062d5, #aa98ed); }
.store-shop-content { padding: 8px 16px 15px; }
.store-shop-content > .store-notice { margin: 0 -3px; }
.store-product-list { display: grid; gap: 12px; margin-top: 20px; }
.store-product-row { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 14px; border: 1px solid #ffffffb3; border-radius: 16px; background: #fff; box-shadow: 0 2px 12px #0000000a; }
.player-store .store-product-info { display: flex; flex: 1; min-width: 0; align-items: center; gap: 14px; text-align: left; }
.store-product-icon { display: grid; place-items: center; flex: 0 0 auto; width: 60px; height: 60px; border-radius: 14px; color: #fff; font-size: 30px; line-height: 1; background: linear-gradient(135deg, #d1bced, #9dbef0); text-shadow: 0 3px 4px #34335620; }
.store-product-icon.tone-1 { background: linear-gradient(130deg, #e3697c, #e35f91); }
.store-product-icon.tone-2 { background: linear-gradient(130deg, #7cddcd, #a49bc4); }
.store-product-icon.tone-3 { background: linear-gradient(130deg, #7379dd, #654796); }
.store-product-icon.tone-4 { background: linear-gradient(130deg, #ca87df, #e3587e); }
.store-product-icon.tone-5 { background: linear-gradient(130deg, #65b5ed, #70e5ec); }
.store-product-icon.tone-6 { background: linear-gradient(130deg, #82e38a, #7af0d2); }
.store-product-icon.tone-7 { background: linear-gradient(130deg, #e67d92, #f4d671); }
.store-product-icon.tone-8 { background: linear-gradient(130deg, #a896ce, #ecc9e8); }
.store-product-icon.tone-9 { background: linear-gradient(130deg, #f1cb8e, #b471d7); }
.store-product-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 6px; }
.store-product-copy > strong { overflow-wrap: anywhere; color: #1a1a2e; font-size: 15px; font-weight: 700; line-height: 1.4; }
.store-product-price { color: #e74c3c; font-size: 13px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.store-product-price > span { font-size: 13px; letter-spacing: 0; }
.player-store .store-buy-button { flex: 0 0 auto; width: 50px; min-height: 50px; padding: 6px 3px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #7c5ce7, #a78bfa); box-shadow: 0 4px 12px #7c5ce74d; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .5px; }
.store-page-title { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; background: #fff; border-bottom: 1px solid #f5f5f6; }
.store-page-title h1 { font-size: 16px; font-weight: 650; letter-spacing: 1px; }
.store-page-title .store-back-button { top: 8px; color: #5697c3; }
.store-order-filters { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #f5f5f5; }
.store-order-filters button { min-width: 63px; padding: 4px 14px; border-radius: 16px; background: #f5f5f5; color: #666; font-size: 13px; line-height: 1.5; }
.store-order-filters button.active { color: #fff; background: #1989fa; box-shadow: inset 0 0 0 1px #3a83d44d; }
.store-order-content { padding: 14px 15px; }
.store-empty { padding: 22px 10px; color: #a4a4a4; text-align: center; font-size: 13px; }
.store-order-content .store-no-more { padding-top: 0; font-size: 14px; }
.player-store .store-retry, .player-store .store-load-more { display: block; margin: 12px auto; padding: 7px 16px; border: 1px solid #a99bcd; border-radius: 20px; color: #7562a7; background: #fff; font-size: 13px; }
.store-order-card { margin-bottom: 13px; padding: 13px 14px; border-radius: 13px; background: #fff; }
.store-order-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #f4f3f7; font-size: 11px; color: #999; }
.store-order-card header > span { overflow-wrap: anywhere; }
.store-order-card header > strong { flex: 0 0 auto; color: #8b76be; font-size: 12px; font-weight: 500; }
.store-order-card h2 { margin-top: 9px; font-size: 15px; font-weight: 600; }
.store-order-card > p { margin-top: 4px; color: #999; font-size: 12px; }
.store-order-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; color: #aaa; font-size: 11px; }
.store-order-card footer strong { color: #b9715e; font-size: 13px; }
.store-order-card > .store-order-countdown { margin-top: 12px; color: #8565ca; font-variant-numeric: tabular-nums; }
.store-order-card > .store-order-expired { margin-top: 12px; color: #999; }
.store-product-limit { display: block; margin-top: 5px; color: #8565ca; font-size: 12px; }
.store-detail-limit { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: #f4effd; color: #7955b8; font-size: 13px; line-height: 1.7; }
.store-order-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #f4f3f7; }
.player-store .store-order-actions button { min-width: 92px; min-height: 38px; padding: 8px 16px; border: 1px solid #e0dce9; border-radius: 20px; color: #80788d; background: #fff; font-size: 13px; }
.player-store .store-order-actions .store-order-pay { border-color: transparent; color: #fff; background: linear-gradient(135deg, #7c5ce7, #a78bfa); }
.player-store .store-order-actions button:disabled { cursor: wait; opacity: .55; }
.store-profile-card { display: flex; align-items: center; gap: 16px; min-height: 150px; padding: 40px 20px; color: #fff; background: linear-gradient(135deg, #667eea, #764ba2); }
.store-avatar { flex: 0 0 auto; width: 70px; height: 70px; overflow: hidden; border: 3px solid #ffffff4d; border-radius: 50%; color: #9a80cd; background: #ded5f0; background-clip: padding-box; }
.store-avatar svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.store-profile-card > div:last-child { min-width: 0; }
.store-profile-card h2 { overflow-wrap: anywhere; font-size: 18px; font-weight: 650; }
.store-profile-card p { margin-top: 8px; color: #ffffffe6; font-size: 14px; }
.player-store .store-mine-service { display: flex; align-items: center; gap: 2px; width: 100%; min-height: 49px; margin-top: 16px; padding: 10px 16px; border-radius: 12px; background: #fff; font-size: 15px; text-align: left; }
.store-mine-service > .store-icon { width: 13px; height: 13px; font-size: 13px; align-self: flex-start; margin-top: 3px; stroke-width: 1.1; }
.store-mine-service > span:not(.store-icon) { flex: 1; }
.store-mine-service > .store-chevron { align-self: center; margin: 0; width: 16px; height: 16px; font-size: 16px; color: #999; stroke-width: 1.7; }
.player-store .store-logout { display: block; width: calc(100% - 32px); min-height: 44px; margin: 16px; padding: 7px 15px; border: 1px solid #ddd; border-radius: 30px; background: #fff; color: #4d4d4f; font-size: 15px; letter-spacing: 1px; }
.store-bottom-nav { position: fixed; z-index: 50; bottom: 0; left: 50%; width: 100%; max-width: 600px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: calc(48px + env(safe-area-inset-bottom, 0px)); padding: 5px 0 calc(4px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #f6f6f6; background: #fff; transform: translateX(-50%); }
.store-bottom-nav button { display: flex; align-items: center; flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.3; }
.store-bottom-nav button.active { color: #5698be; }
.store-bottom-nav .store-icon { width: 23px; height: 23px; font-size: 23px; stroke-width: 1.45; }
.store-nav-brand { display: none; }
.store-modal { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; color: #303039; border: 1px solid #eeeaf4; border-radius: 20px; }
.store-modal .ops-modal-head { position: relative; padding: 19px 45px 0 20px; }
.store-modal .ops-modal-head h4 { font-size: 18px; }
.store-modal .ops-modal-body { padding: 15px 20px 20px; color: #6d6479; font-size: 14px; line-height: 1.75; }
.store-modal .ops-modal-foot { flex-wrap: wrap; padding: 0 20px 20px; }
.store-modal .store-modal-close { position: absolute; top: 11px; right: 10px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #999; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.store-modal .ops-button { border-radius: 12px; background: linear-gradient(130deg, #7e66d4, #a184e7); }
.store-modal .ops-button.ghost { background: #f5f2fa; color: #8d7daf; border-color: #e9e3f3; }
.store-modal-empty { margin: 0; color: #97909e; }
.store-role-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-bottom: 10px; padding: 12px; border: 1px solid #ede8f4; border-radius: 12px; color: #56505e; background: #fff; text-align: left; cursor: pointer; }
.store-role-option.active { border-color: #ab94da; background: #f7f3ff; }
.store-role-option strong { display: block; font-size: 15px; font-weight: 600; }
.store-role-option small { display: block; margin-top: 4px; color: #a39ba9; font-size: 11px; overflow-wrap: anywhere; }
.store-role-check { flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #dacfea; border-radius: 50%; color: #967ac8; font-size: 13px; }
.store-repair-link { display: block; margin: 17px auto 0; padding: 4px 10px; border: 0; background: transparent; color: #998bac; font-size: 12px; cursor: pointer; }
.store-detail-heading { display: flex; align-items: center; gap: 13px; }
.store-detail-heading h3 { margin: 0; color: #29252f; font-size: 16px; }
.store-detail-heading p { margin: 4px 0 0; color: #bc7964; font-size: 14px; font-weight: 600; }
.store-detail-description { margin: 15px 0 10px; font-size: 13px; color: #9b91a5; }
.store-detail-rewards { list-style: none; padding: 10px 0; margin: 12px 0; border-top: 1px solid #f0edf4; border-bottom: 1px solid #f0edf4; }
.store-detail-rewards:empty { display: none; }
.store-detail-rewards li { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.store-detail-rewards .store-icon { width: 15px; height: 15px; font-size: 15px; color: #c4a366; }
.store-detail-role { display: flex; align-items: center; gap: 7px; width: 100%; margin-top: 14px; padding: 10px; border: 1px solid #efeaf5; border-radius: 10px; background: #faf8fe; color: #8f859c; text-align: left; cursor: pointer; font-size: 12px; }
.store-detail-role > span { flex: 0 0 auto; font-size: 11px; }
.store-detail-role > strong { flex: 1; min-width: 0; color: #7c629c; font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.store-detail-role > .store-icon { width: 10px; height: 10px; font-size: 10px; }
.store-detail-balance { margin: 12px 0 8px; color: #a295af; font-size: 12px; }
.store-pay-primary { width: 100%; min-height: 43px; padding: 8px 16px; border: 0; border-radius: 12px; background: linear-gradient(115deg, #8065d6, #aa87ea); color: #fff; cursor: pointer; box-shadow: 0 5px 12px #896cbd20; }
.store-online-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.store-online-pay button { min-height: 37px; padding: 7px; border: 1px solid #e7e0f2; border-radius: 10px; color: #8b75ab; background: #faf8fd; cursor: pointer; font-size: 12px; }
.store-detail-tip { margin: 12px 0 0; text-align: center; color: #a99fb4; font-size: 11px; }
.store-recharge-balance { margin: 0 0 18px; text-align: center; color: #a298af; font-size: 12px; }
.store-recharge-balance strong { margin: 0 4px; color: #8063ba; font-size: 25px; }
.store-recharge-form > label { display: block; margin-bottom: 8px; color: #82728f; font-size: 13px; }
.store-recharge-form > input { display: block; width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #e4dbed; border-radius: 10px; color: #705484; background: #fdfbff; }
.store-recharge-rate { margin: 7px 0; color: #a99ab9; font-size: 11px; }
.store-recharge-form fieldset { display: flex; gap: 10px; margin: 18px 0; padding: 0; border: 0; }
.store-recharge-form legend { padding: 0 0 9px; color: #82728f; font-size: 13px; }
.store-recharge-form fieldset label { flex: 1; display: flex; align-items: center; gap: 5px; padding: 9px 10px; border: 1px solid #e9e1f1; border-radius: 10px; font-size: 13px; cursor: pointer; }
.store-recharge-form fieldset label.active { color: #9070bb; border-color: #b599d5; background: #faf6ff; }
.store-recharge-form input[type="radio"] { accent-color: #9574c7; }
.store-recharge-form > .store-pay-primary { margin-top: 12px; }
.store-feature-modal > p { margin: 0 0 12px; }
.store-feature-option { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px; border: 1px solid #efe7f6; border-radius: 12px; background: #fdfbff; }
.store-feature-option > div { flex: 1; min-width: 0; }
.store-feature-option h3 { margin: 0; color: #725882; font-size: 14px; }
.store-feature-option p { margin: 4px 0 0; color: #a294ac; font-size: 12px; }
.store-feature-option button { flex: 0 0 auto; padding: 7px 12px; border: 0; border-radius: 9px; color: #fff; background: #9675cb; cursor: pointer; font-size: 12px; }
.store-activity-hero { padding: 15px 10px; border-radius: 14px; color: #fff; text-align: center; background: linear-gradient(135deg,#667eea,#9465ce); }
.store-activity-hero > span { font-size: 32px; }
.store-activity-hero h3 { margin: 2px 0 8px; font-size: 19px; color: #fff; }
.store-activity-hero p { margin: 0; font-size: 13px; color: #fff; }
.store-activity-hero small { font-size: 11px; color: #eee6ff; }
.store-activity-empty { padding: 20px 0 5px; color: #999; text-align: center; }
.store-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; margin: 18px 0; }
.store-calendar > div { display: flex; align-items: center; flex-direction: column; padding: 5px 1px; border-radius: 7px; background: #f6f3fb; }
.store-calendar strong { font-size: 13px; }
.store-calendar span { width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: center; white-space: nowrap; font-size: 9px; }
.store-calendar .today { color: #7651bb; box-shadow: inset 0 0 0 1px #9976d3; }
.store-calendar .signed { color: #277655; background: #e8f6ee; }
.store-activity-reward { margin: 14px 0; padding: 12px; border-radius: 10px; background: #f8f5ff; }
.store-activity-reward h3 { margin: 0 0 5px; font-size: 14px; color: #71549b; }
.store-activity-reward p { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.store-prizes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
.store-prizes article { padding: 11px; border: 1px solid #e9dffa; border-radius: 12px; background: #f9f6ff; text-align: center; }
.store-prizes article > span { font-size: 25px; }
.store-prizes h3 { margin: 6px 0; color: #69468b; font-size: 13px; }
.store-prizes p { margin: 0; overflow-wrap: anywhere; font-size: 11px; }
.store-prizes small { color: #9576ad; font-size: 10px; }
@media (max-width: 360px) {
    .store-home-header { justify-content: flex-start; padding-left: 18px; }
    .store-home-content { padding-right: 12px; padding-left: 12px; }
    .store-featured { padding-right: 12px; padding-left: 12px; }
    .store-featured h2 { font-size: 15px; gap: 3px; }
    .store-featured > header button { font-size: 12px; }
    .store-featured-title { flex-wrap: wrap; }
    .store-featured-title > strong { font-size: 13px; }
    .store-price-pill { min-width: 56px; padding: 5px 7px; font-size: 11px; }
    .store-category-tabs { padding-right: 3px; padding-left: 3px; }
    .store-category-tabs button { font-size: 12px; }
    .store-shop-content { padding-right: 12px; padding-left: 12px; }
    .store-product-row { padding: 11px; gap: 8px; }
    .player-store .store-product-info { gap: 9px; }
    .store-product-icon { width: 48px; height: 48px; font-size: 27px; }
    .store-product-copy > strong { font-size: 13px; }
    .store-product-price { font-size: 12px; }
    .player-store .store-buy-button { width: 43px; min-height: 44px; font-size: 12px; }
}
@media (min-width: 601px) {
    .player-store { box-shadow: 0 0 45px #30234718; }
    .store-home-gradient { height: 310px; }
    .store-home-content { padding-right: 23px; padding-left: 23px; }
    .store-shop-content { padding-right: 23px; padding-left: 23px; }
    .store-shortcuts { grid-auto-rows: 90px; }
    .store-product-copy > strong { font-size: 16px; }
}
/* Desktop uses the same views and actions as mobile, with a wider layout. */
@media (min-width: 768px) {
    .player-store { display: flex; flex-direction: column; width: calc(100% - 48px); max-width: 1320px; min-height: calc(100vh - 48px); margin: 24px auto; padding-bottom: 0; border-radius: 20px; box-shadow: 0 12px 48px #3023470d; }
    .store-main { flex: 1; min-width: 0; }
    .store-bottom-nav { position: sticky; top: 0; bottom: auto; left: auto; display: flex; align-items: center; gap: 8px; width: 100%; max-width: none; min-height: 76px; padding: 12px 28px; border: 0; border-bottom: 1px solid #eeeaf5; border-radius: 20px 20px 0 0; transform: none; box-shadow: 0 4px 16px #30234704; }
    .store-nav-brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; padding-right: 18px; color: #5d4a9c; font-size: 19px; font-weight: 700; }
    .store-nav-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .store-nav-brand > .store-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #667eea, #764ba2); font-size: 22px; }
    .store-bottom-nav button { flex: 0 0 auto; flex-direction: row; align-items: center; justify-content: center; gap: 8px; min-width: 88px; min-height: 44px; padding: 10px 14px; border-radius: 12px; color: #747080; font-size: 14px; font-weight: 600; }
    .store-bottom-nav button.active { color: #7055b5; background: #f0ebfc; }
    .store-bottom-nav button > .store-icon { width: 21px; height: 21px; font-size: 21px; }
    .store-home-view { min-height: 0; padding-bottom: 28px; border-radius: 0 0 20px 20px; }
    .store-home-gradient { height: 348px; border-radius: 0 0 28px 28px; }
    .store-home-header { height: 78px; padding: 0 28px; justify-content: flex-start; border: 0; }
    .store-home-header h1 { max-width: 65%; font-size: 23px; }
    .player-store .store-service-pill { top: 25px; right: 28px; height: 30px; padding: 0 13px; font-size: 12px; }
    .store-home-content { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); grid-template-rows: 156px 54px auto auto auto; gap: 18px; padding: 0 28px; }
    .store-home-content > * { min-width: 0; margin-top: 0; }
    .store-account-card { grid-column: 1; grid-row: 1; min-height: 156px; padding: 24px; }
    .store-account-card h2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 21px; }
    .store-account-card p { margin-top: 10px; }
    .store-account-card button { height: 36px; padding: 0 13px; }
    .player-store .store-role-select { grid-column: 1; grid-row: 2; min-height: 54px; margin: 0; padding: 14px 16px; }
    .store-banner { grid-column: 2; grid-row: 1 / 3; height: 228px; min-height: 0; margin: 0; }
    .store-shortcuts { grid-column: 1 / -1; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: auto; min-height: 110px; padding: 12px; }
    .store-shortcuts button { justify-content: center; gap: 11px; padding: 14px 0; border-radius: 12px; }
    .store-shortcuts button span:not(.store-icon) { font-size: 14px; }
    .store-home-content > .store-notice { grid-column: 1 / -1; min-height: 44px; margin: 0; padding: 11px 16px; }
    .store-featured { grid-column: 1 / -1; padding: 22px; }
    .store-featured > header { margin-bottom: 20px; }
    .store-featured h2 { font-size: 19px; }
    .store-featured-list, .store-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .store-featured-list > .store-empty, .store-product-list > .store-empty { grid-column: 1 / -1; padding: 42px 16px; }
    .player-store .store-featured-card { padding: 20px; }
    .store-featured-title { flex-wrap: wrap; }
    .store-featured-title > strong { overflow-wrap: anywhere; }
    .store-price-pill { max-width: 100%; overflow-wrap: anywhere; }
    .store-reward-chips { gap: 7px; }
    .store-reward-chips > span, .store-sold { font-size: 12px; }
    .store-shop-view { min-height: 0; padding-bottom: 14px; border-radius: 0 0 20px 20px; }
    .store-shop-header { min-height: 132px; padding: 28px 52% 28px 28px; text-align: left; }
    .store-shop-header h1 { font-size: 24px; }
    .store-shop-header > p { margin-top: 10px; font-size: 14px; }
    .store-shop-header .store-back-button, .store-page-title .store-back-button { display: none; }
    .store-search { position: absolute; top: 44px; right: 28px; width: 42%; height: 46px; margin: 0; }
    .store-category-tabs { display: flex; flex-wrap: wrap; gap: 8px 24px; min-height: 60px; padding: 0 28px; }
    .store-category-tabs button { padding: 18px 14px; white-space: normal; overflow-wrap: anywhere; }
    .store-category-tabs button.active::after { width: 32px; }
    .store-shop-content { padding: 22px 28px; }
    .store-shop-content > .store-notice { margin: 0; }
    .store-product-row { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px; }
    .player-store .store-product-info { gap: 16px; }
    .store-product-icon { width: 64px; height: 64px; font-size: 32px; }
    .store-product-price { white-space: normal; overflow-wrap: anywhere; }
    .player-store .store-buy-button { width: 100%; min-height: 40px; padding: 10px 16px; border-radius: 10px; font-size: 14px; }
    .store-buy-button br { display: none; }
    .store-page-title { justify-content: flex-start; height: 82px; padding: 0 28px; }
    .store-page-title h1 { font-size: 23px; letter-spacing: 0; }
    .store-order-filters { gap: 12px; padding: 0 28px 22px; }
    .store-order-filters button { padding: 8px 20px; font-size: 14px; }
    .store-order-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; padding: 24px 28px; }
    .store-order-card { min-width: 0; margin: 0; padding: 22px; border: 1px solid #efedf4; }
    .store-order-card header, .store-order-card > p, .store-order-card footer { font-size: 13px; }
    .store-order-card h2 { margin-top: 16px; overflow-wrap: anywhere; font-size: 17px; }
    .store-order-card footer { flex-wrap: wrap; margin-top: 22px; }
    .store-order-content > .store-empty, .store-order-content > .store-load-more { grid-column: 1 / -1; }
    .store-order-content .store-no-more { padding-top: 18px; }
    .store-mine-view { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: start; gap: 20px; padding: 0 28px 28px; }
    .store-mine-view > .store-page-title { grid-column: 1 / -1; margin: 0 -28px; }
    .store-profile-card { grid-column: 1; grid-row: 2 / 4; align-self: stretch; min-height: 216px; padding: 36px; border-radius: 18px; }
    .store-profile-card h2 { font-size: 24px; }
    .store-profile-card p { margin-top: 12px; }
    .player-store .store-mine-service { grid-column: 2; min-height: 84px; margin: 0; padding: 24px; gap: 10px; }
    .store-mine-service > .store-icon { align-self: center; width: 20px; height: 20px; margin: 0; font-size: 20px; }
    .player-store .store-logout { grid-column: 2; width: 100%; min-height: 48px; margin: 0; border-radius: 12px; }
    .store-modal { width: min(600px, 100%); }
    .store-modal .ops-modal-head { padding: 25px 55px 0 28px; }
    .store-modal .ops-modal-body { padding: 20px 28px 28px; }
    .store-modal .ops-modal-foot { padding: 0 28px 28px; }
    .store-modal .store-modal-close { top: 18px; right: 18px; }
    .store-role-option > span:first-child, .store-detail-heading > div { min-width: 0; overflow-wrap: anywhere; }
    .store-calendar { gap: 8px; }
    .store-calendar > div { padding: 10px 3px; }
    .store-calendar span { font-size: 11px; }
}
@media (min-width: 1200px) {
    .store-featured-list, .store-product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .store-bottom-nav button { min-width: 108px; }
}
@media (min-width: 768px) and (hover: hover) {
    .store-bottom-nav button:hover, .store-shortcuts button:hover { color: #7055b5; background: #f4f0fd; }
    .store-featured-card:hover, .store-product-row:hover { box-shadow: 0 7px 20px #62519517; }
    .store-buy-button:hover, .store-pay-primary:hover { filter: brightness(1.06); }
}
@media (prefers-reduced-motion: reduce) { .player-store *, .store-modal * { animation: none !important; transition: none !important; } }

.store-privilege-list{display:grid;gap:12px}.store-privilege-card{width:100%;display:flex;align-items:center;gap:14px;padding:18px;text-align:left;border:1px solid #e7e4f5;border-radius:14px;background:#faf9ff;color:#342f4d;cursor:pointer;font:inherit}.store-privilege-card:hover{border-color:#9987e5;background:#f4f0ff}.store-privilege-mark{font-size:28px}.store-privilege-description{min-width:0;flex:1;display:grid;gap:6px}.store-privilege-description strong{font-size:16px;overflow-wrap:anywhere}.store-privilege-description>span{font-size:13px;color:#706687}.store-privilege-description small{font-size:12px;color:#8a8497;overflow-wrap:anywhere;line-height:1.5}.store-privilege-status{font-size:12px;color:#8b849a;white-space:nowrap}.store-privilege-status.claimable{color:#7752d4;font-weight:600}.store-privilege-back{border:0;border-radius:7px;padding:8px 10px;margin-bottom:12px;background:#f2edfb;color:#7752bc;font:inherit;cursor:pointer}@media(max-width:480px){.store-privilege-card{padding:14px;gap:10px;flex-wrap:wrap}.store-privilege-mark{font-size:24px}.store-privilege-status{flex-basis:100%;text-align:right}}
