:root {
    --header-h: 44px;
    --tabbar-h: 58px;
    --store-max: 52rem;
    --ink: #0A0A0A;
    --muted: #666666;
    --text-secondary: #666666;
    --text-strong: #0A0A0A;
    --text-subtle: #999999;
    --line: #EBEBEB;
    --surface: #FFFFFF;
    --canvas: #F6F7FA;
    --field: #F7F7F7;
    --accent: #E92D2D;
    --accent-ink: #FFFFFF;
    --price: #E60F0F;
    --danger: #E01B28;
    --placeholder: #999999;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
a { color: var(--ink); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.store-body { min-height: 100%; }
.store-shell { min-height: 100vh; background: var(--canvas); }

.store-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: var(--header-h);
    min-height: var(--header-h);
    padding: 0 16px;
    background: var(--surface);
    color: var(--ink);
    border-bottom: 0;
}
.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    flex: 0 0 auto;
}
.header-brand cite { font-style: normal; font-size: 16px; font-weight: 500; letter-spacing: 0; }
.logo-mark {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: transparent;
}

.nav-ico {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}
.nav-ico-search { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>"); }
.nav-ico-star { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 18.2 6.2 20.9l1.1-6.5L2.6 9.8l6.5-.9z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M12 3l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 18.2 6.2 20.9l1.1-6.5L2.6 9.8l6.5-.9z'/></svg>"); }
.nav-ico-list { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/></svg>"); }
.nav-ico-chat { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 6h16v10H7l-3 3z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 6h16v10H7l-3 3z'/></svg>"); }
.nav-ico-user { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 20c1.5-4 14.5-4 16 0'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 20c1.5-4 14.5-4 16 0'/></svg>"); }
.nav-ico-home { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 11l8-7 8 7v9H4z'/><path d='M10 20v-6h4v6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 11l8-7 8 7v9H4z'/><path d='M10 20v-6h4v6'/></svg>"); }
.nav-ico-grid { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='4' y='4' width='7' height='7' rx='1'/><rect x='13' y='4' width='7' height='7' rx='1'/><rect x='4' y='13' width='7' height='7' rx='1'/><rect x='13' y='13' width='7' height='7' rx='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='4' y='4' width='7' height='7' rx='1'/><rect x='13' y='4' width='7' height='7' rx='1'/><rect x='4' y='13' width='7' height='7' rx='1'/><rect x='13' y='13' width='7' height='7' rx='1'/></svg>"); }
.nav-ico-menu { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 7h16M4 12h16M4 17h16'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 7h16M4 12h16M4 17h16'/></svg>"); }
.nav-ico-back { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M15 6l-6 6 6 6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M15 6l-6 6 6 6'/></svg>"); }
.nav-ico-close { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 6l12 12M18 6L6 18'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 6l12 12M18 6L6 18'/></svg>"); }
.nav-ico-share { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='18' cy='5' r='2.5'/><circle cx='6' cy='12' r='2.5'/><circle cx='18' cy='19' r='2.5'/><path d='M8.2 13.2l7.6 4.4M15.8 6.4l-7.6 4.4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='18' cy='5' r='2.5'/><circle cx='6' cy='12' r='2.5'/><circle cx='18' cy='19' r='2.5'/><path d='M8.2 13.2l7.6 4.4M15.8 6.4l-7.6 4.4'/></svg>"); }
.nav-ico-setting { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='3'/><path d='M12 3v2M12 19v2M4.2 6.2l1.4 1.4M18.4 16.4l1.4 1.4M3 12h2M19 12h2M4.2 17.8l1.4-1.4M18.4 7.6l1.4-1.4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='3'/><path d='M12 3v2M12 19v2M4.2 6.2l1.4 1.4M18.4 16.4l1.4 1.4M3 12h2M19 12h2M4.2 17.8l1.4-1.4M18.4 7.6l1.4-1.4'/></svg>"); }
.nav-ico-bag { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 8h12l-1 13H7L6 8z'/><path d='M9 8V6a3 3 0 0 1 6 0v2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 8h12l-1 13H7L6 8z'/><path d='M9 8V6a3 3 0 0 1 6 0v2'/></svg>"); }
.nav-ico-headset { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 12a8 8 0 0 1 16 0'/><rect x='3' y='12' width='4' height='7' rx='2'/><rect x='17' y='12' width='4' height='7' rx='2'/><path d='M21 16v2a3 3 0 0 1-3 3h-5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 12a8 8 0 0 1 16 0'/><rect x='3' y='12' width='4' height='7' rx='2'/><rect x='17' y='12' width='4' height='7' rx='2'/><path d='M21 16v2a3 3 0 0 1-3 3h-5'/></svg>"); }
.nav-ico-trash { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 7h14M10 7V5h4v2M8 7l1 13h6l1-13'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 7h14M10 7V5h4v2M8 7l1 13h6l1-13'/></svg>"); }
.nav-ico-forward { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M9 6l6 6-6 6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M9 6l6 6-6 6'/></svg>"); }

.store-search {
    position: sticky;
    top: var(--header-h);
    z-index: 39;
    width: min(100%, var(--store-max));
    margin: 0 auto;
    padding: 8px 16px;
    background: var(--surface);
}
.store-search-field {
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0;
    border: 1px solid #23272B;
    border-radius: 8px;
    background: var(--surface);
}
.store-search-press {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.store-search-press > .nav-ico { width: 20px; height: 20px; background: #999999; }
.store-search-placeholder {
    flex: 1;
    min-width: 0;
    margin-left: 8px;
    color: #999999;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.store-search-divider {
    width: 1px;
    height: 16px;
    flex: 0 0 auto;
    background: #EBEBEB;
}
.store-search-action {
    height: 36px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    color: #0A0A0A;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-service {
    width: 24px; height: 24px; padding: 0; margin: 0;
    display: inline-grid; place-items: center;
    color: var(--ink); background: transparent;
    text-decoration: none;
}
.header-service .nav-ico { width: 24px; height: 24px; }
.header-more { position: relative; flex: 0 0 auto; }
.header-more-toggle {
    list-style: none;
    width: 24px; height: 24px; padding: 0;
    display: inline-grid; place-items: center;
    border: 0; border-radius: 8px;
    color: var(--ink); background: transparent; cursor: pointer;
}
.header-more-toggle .nav-ico { width: 20px; height: 20px; }
.header-more-toggle::-webkit-details-marker { display: none; }
.header-more[open] .header-more-toggle,
.header-more-toggle:hover { color: var(--ink); background: var(--field); }
.header-more-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1000;
    min-width: 188px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.header-more-panel a,
.header-more-panel button {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.header-more-panel a:hover,
.header-more-panel button:hover { background: var(--field); }
.header-more-panel .is-current { color: var(--accent); }
.header-more-panel b {
    min-width: 16px; height: 16px; line-height: 16px; text-align: center;
    border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 10px;
}
.header-more .user-menu-sub form {
    position: static;
    min-width: 0;
    border: 0;
    padding: 0 0 2px 8px;
}
.header-actions > a, .header-actions > button, .user-menu-toggle {
    height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px;
    border: 0; border-radius: 8px; color: var(--ink); background: transparent;
    cursor: pointer; text-decoration: none; font-size: 13px;
}
.header-actions > a:hover, .header-actions > button:hover, .user-menu-toggle:hover {
    color: var(--ink); background: var(--field);
}
.header-actions > a.header-service { width: 24px; height: 24px; padding: 0; }
.header-actions > a.header-cta {
    background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.theme-switch-glyph { display: block; font-style: normal; font-size: 16px; line-height: 1; }
.header-actions b {
    min-width: 16px; height: 16px; line-height: 16px; text-align: center;
    border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 10px;
}
.user-menu { position: relative; flex: 0 0 auto; }
.user-menu-toggle {
    list-style: none;
    height: 36px;
    padding: 0 10px 0 4px;
    border-radius: 999px;
    background: var(--field);
    color: var(--ink);
}
.user-menu-toggle::-webkit-details-marker { display: none; }
.user-avatar {
    width: 28px; height: 28px; flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: var(--accent); color: var(--accent-ink);
    font-size: 12px; font-weight: 800; line-height: 1;
}
.user-avatar-lg { width: 48px; height: 48px; font-size: 18px; }
.user-menu-name {
    max-width: 140px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-weight: 600;
}
.user-menu-caret {
    width: 0; height: 0; margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: .65;
}
.user-menu[open] .user-menu-toggle { color: var(--ink); background: var(--field); }
.user-menu[open] .user-menu-caret { transform: rotate(180deg); }
.user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1000;
    min-width: 188px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.user-menu-panel a,
.user-menu-panel button {
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.user-menu-panel a:hover,
.user-menu-panel button:hover { background: var(--field); }
.user-menu-panel .is-danger { color: var(--danger); }
.user-menu-panel .is-current { color: var(--accent); }
.user-menu-panel form { margin: 0; }
.user-menu-sep { height: 1px; margin: 4px 6px; background: var(--line); }
.user-menu-sub { position: relative; margin: 0; }
.user-menu-sub > summary {
    list-style: none;
    height: 34px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 10px; border-radius: 7px;
    color: var(--ink); font-size: 13px; cursor: pointer;
}
.user-menu-sub > summary::-webkit-details-marker { display: none; }
.user-menu-sub[open] > summary { background: var(--field); }
.user-menu-sub form {
    position: absolute;
    right: calc(100% + 6px);
    top: 0;
    z-index: 1001;
    min-width: 132px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
.profile-id { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.profile-id p { margin: 4px 0 0; }
.profile-stat { margin: 0 0 16px; font-size: 14px; }
.lang-switch-form { margin-left: 2px; }
.lang-select {
    height: 34px; min-width: 84px; padding: 0 8px; border: 0; border-radius: 8px;
    color: var(--ink); background: var(--field);
}

.store-main {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    padding: 12px 12px calc(16px + var(--tabbar-h));
}
.store-aisle {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}
.aisle-row {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}
.aisle-label {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}
.aisle-label.is-done { color: var(--ink); }
.publisher-index {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0 0 8px;
}
.publisher-index a {
    min-width: 18px;
    height: 20px;
    padding: 0 4px;
    display: inline-grid;
    place-items: center;
    border-radius: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.publisher-index a:hover,
.publisher-index a.is-current { color: var(--ink); background: var(--field); }
.aisle-chips { display: flex; flex-direction: column; gap: 8px; }
.publisher-letter {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}
.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.chip-list a {
    height: 32px;
    max-width: 100%;
    padding: 0 10px 0 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}
.chip-list a[href]:hover { border-color: var(--ink); color: var(--ink); }
.chip-list .active a,
.chip-list .active a:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--surface);
}
.chip-ico { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 6px; object-fit: cover; background: var(--field); }
.chip-ico-text { display: inline-grid; place-items: center; color: #fff; background: #2a2d36; font-size: 12px; font-weight: 700; }
.chip-list .active .chip-ico-text { color: var(--accent-ink); background: var(--accent); }
.chip-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sku-list a { height: 30px; padding: 0 12px; border-radius: 999px; }
.sku-list .active a, .sku-list .active a:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.sku-item-unready a { gap: 6px; padding-right: 4px; border-style: dashed; background: transparent; color: var(--muted); cursor: not-allowed; }
.stock-flag {
    display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px;
    border-radius: 999px; background: rgba(229, 72, 77, .12); color: var(--danger);
    font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.stock-flag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stock-flag-lg { height: 24px; padding: 0 10px; font-size: 12px; }
.flow-empty { color: var(--text-subtle); font-size: 13px; }

.store-shelf { min-width: 0; }
.selection-trail {
    display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none;
    color: var(--text-secondary); font-size: 13px;
}
.selection-trail li + li::before { content: "/"; margin-right: 6px; color: var(--text-subtle); }

.site-foot {
    margin-top: 16px;
    padding: 8px 2px 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}
.site-foot p { margin: 0; }
.site-foot a { color: var(--muted); text-decoration: none; }

/* .store-tabbar 的显示规则在文件末尾统一写（全线常驻）。 */

.standalone-body { min-height: 100vh; }
.standalone-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 24px;
}
.standalone-back {
    position: absolute; top: 16px; left: 18px;
    color: var(--muted); font-size: 13px; text-decoration: none;
}
.auth-page { width: 100%; display: flex; justify-content: center; }
.auth-card {
    width: 100%; max-width: 400px; padding: 28px 22px 24px;
    border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.auth-card-head { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 20px; }
.auth-brand {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 44px; height: 36px; padding: 0 10px 0 4px; border-radius: 10px;
    background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 800;
    letter-spacing: -.04em; text-decoration: none;
}
.auth-brand img { width: 28px; height: 28px; border-radius: 8px; }
.auth-title { margin: 0; color: var(--text-strong); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.auth-form, .shop-form { display: flex; flex-direction: column; gap: 14px; }
.auth-field, .form-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { color: var(--text-secondary); font-size: 13px; }
.auth-hint { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.auth-error { margin: 0; padding: 8px 10px; border-radius: 8px; color: var(--danger); background: rgba(229, 72, 77, .1); font-size: 13px; }
.auth-error p { margin: 0; }
.auth-submit { width: 100%; height: 42px; font-size: 15px; }
.auth-alt { display: flex; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; }
.auth-alt a { color: var(--ink); text-decoration: none; font-weight: 650; }
.shop-input, .shop-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--field);
    color: var(--ink);
}
.shop-textarea { min-height: 88px; resize: vertical; }
.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-row .shop-input { flex: 1 1 auto; min-width: 0; }
.captcha-refresh {
    flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 8px;
    background: var(--field); cursor: pointer; line-height: 0;
}
.captcha-image { display: block; width: 118px; height: 38px; border-radius: 7px; }
.pwd-wrap { position: relative; }
.pwd-wrap .shop-input { padding-right: 42px; }
.pwd-toggle {
    position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px;
    background: transparent; color: var(--muted); cursor: pointer;
}
.pwd-toggle .ico-eye-off { display: none; }
.pwd-toggle.is-visible .ico-eye { display: none; }
.pwd-toggle.is-visible .ico-eye-off { display: block; }

.shop-page { padding: 0; }
.page-title { margin: 0 0 12px; font-size: 20px; letter-spacing: -.03em; }
.panel {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}
.panel-title { margin: 0 0 8px; font-size: 14px; }
.muted, .muted-panel { color: var(--muted); }
.shop-empty { margin: 0; padding: 32px 12px; text-align: center; color: var(--muted); }
.shop-empty a { color: var(--ink); font-weight: 650; text-decoration: none; }

.kv-list { margin: 0; }
.kv-list > div {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}
.kv-list > div:last-child { border-bottom: 0; }
.kv-list dt { margin: 0; color: var(--muted); font-size: 13px; }
.kv-list dd { margin: 0; }

.pill {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--field);
    color: var(--text-secondary);
}
.pill-pending { background: #fff4e5; color: #b54708; }
.pill-paid, .pill-delivered { background: #eef4ff; color: #175cd3; }
.pill-completed { background: #e7f8ef; color: #067647; }
.pill-cancelled, .pill-refunded, .pill-muted { background: var(--field); color: var(--muted); }

.pay-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-choice {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--field);
    cursor: pointer;
}
.pay-choice:has(input:checked) { border-color: var(--ink); background: var(--surface); }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.how-list { margin: 0; padding-left: 18px; }
.how-list li { margin: 4px 0; }
.checkout-price { margin: 10px 0 0; }
.item-name { margin: 0 0 8px; font-weight: 700; }

.order-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order-card {
    display: block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
}
.order-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.order-card-title { margin: 8px 0 4px; font-weight: 650; }
.order-card-meta { margin: 0; color: var(--muted); font-size: 12px; }
.order-card-action { display: inline-block; margin-top: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }

.store-main:has(.home-page) {
    padding-top: 4px;
    padding-left: 16px;
    padding-right: 16px;
}
.home-page { display: flex; flex-direction: column; gap: 8px; }

/* ── 首页 Banner ─────────────────────────────────────────────────────
   盼之：左右 16、圆 8、宽高比 2.5385（358×141），底部 48×2 指示条。 */
.home-banner { position: relative; margin: 4px 0 4px; }
.home-banner-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.home-banner-track::-webkit-scrollbar { display: none; }
.home-banner-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    border-radius: 8px;
    overflow: hidden;
    background: var(--field);
}
.home-banner-item img {
    display: block;
    width: 100%;
    /* 358×141 = 真机 Banner 比例 2.5385:1。原来是 3.5729（343×96），
       按真机图量下来矮了近三分之一，整页节奏就被压扁了。 */
    aspect-ratio: 2.5385;
    object-fit: cover;
    border-radius: 8px;
}
.home-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 3px;
    width: 48px;
    height: 3px;
    padding: 0 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .4);
    pointer-events: none;
}
.home-banner-dot {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: transparent;
    transition: background .18s ease;
}
.home-banner-dot.is-current { background: #FFFFFF; }

.home-section-title {
    margin: 12px 0 0;
    color: #0A0A0A;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}
.home-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 4px 0 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--field);
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.4;
}
.home-trust span { position: relative; }
.home-trust span + span::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 1px;
    height: 10px;
    margin-top: -5px;
    background: #DDDDDD;
}

/* 金刚区：抄盼之 func 535。
   格宽 (屏宽 - 96) / 5，icon 40，字 11sp / 行高 16，白底无边框、无卡片。
   —— 之前这里是 88px 高的描边大卡，三格铺满一行，视觉密度和盼之差一个量级。 */
.home-entry-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 8px;
    padding: 8px 0;
    background: var(--surface);
}
.home-entry-grid--1 { grid-template-columns: minmax(0, 1fr); }
.home-entry-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-entry-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-entry-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 超过 5 格才横滑，一屏仍是 5 格 */
.home-entry-grid--6,
.home-entry-grid--7,
.home-entry-grid--8 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0A0A0A;
    text-decoration: none;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    line-height: 16px;
}
.home-entry .nav-ico {
    width: 40px;
    height: 40px;
    background: var(--ink);
}
/* 彩色实心图标（staticfiles/img/home/kingkong-*.svg）：40×40，圆角由 SVG 自带 */
.home-entry-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
/* ── 券条（盼之 func 568「登录券倒计时条」） ─────────────────────────
   红 #E01B28、高 36、圆 8、左右 margin 16；右侧白底票券块放金额 + 动作。 */
.home-coupon {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    margin: 4px 0;
    padding: 0 2px 0 8px;
    border-radius: 8px;
    background: #E01B28;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
}
.home-coupon-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .22);
    font-size: 11px;
    font-weight: 600;
}
.home-coupon-text {
    flex: 0 0 auto;
    font-weight: 600;
    white-space: nowrap;
}
.home-coupon-tip {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, .9);
}
.home-coupon-ticket {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 32px;
    border-radius: 6px;
    background: #FFFFFF;
    overflow: hidden;
}
.home-coupon-amount,
.home-coupon-action {
    display: grid;
    place-items: center;
    height: 100%;
    color: #E01B28;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}
.home-coupon-amount { padding: 0 10px; }
.home-coupon-action { padding: 0 12px; border-left: 1px dashed rgba(224, 27, 40, .35); }

/* ── 专属区（盼之 func 563 壳） ──────────────────────────────────────
   **左一张大卡 + 右 2×2 宫格**，缝 8，卡片底 #FAFAFA 圆 8。

   ⚠ 这块换了五轮结构，因为三份参照物互相矛盾：
     · RN 文档 §7：「左大图 + 右 2×2 宫格」，但引的 itemIcon 是骨架占位；
     · docs/_first_screen_390 的老真机截图：另一版（左 5 行列表 + 右竖版图）；
     · 用户 2026-10-18 给的最新盼之 5.3.8 截图（当前线上版本，以此为准）：
         左侧「直播圆梦」大卡 = 标签 + 标题 + 副标题 + 人物图
         右侧四格 = 限时秒杀 / 买号福利 / 无货赔付 / 月付购号，**上图下字**
   前几轮栽的坑（都别再踩）：
     ① 只给 lead 图写 min-height，图带竖版 viewBox ⇒ 整行被撑到 400px+；
     ② 62px 格子里塞 图标+文字，挤到看不清；
     ③ 文字压在图上、渐变过渡段落在文字自身高度内 ⇒ 重影；
     ④ 把文字 clip 成 sr-only ⇒ 用户「这下文字又没了」。
   ⇒ 格子里的字是**内容的一部分**，必须余量充足地可见。 */
.home-exclusive {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    height: 168px;
}

/* 左侧大卡：图在底部当背景，文字压在上半部。
   文字用实色白 + 深色渐变兜底，不用「白渐变压字」那套（第 3 轮重影的来源）。 */
.home-exclusive-lead {
    position: relative;
    flex: 1.76;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 10px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #FAFAFA;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}
.home-exclusive-badge {
    align-self: flex-start;
    padding: 0 4px;
    font-size: 9px;
    line-height: 14px;
    color: #B23A48;
    background: #FFF1F2;
    border-radius: 3px;
}
.home-exclusive-lead-title {
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: var(--ink);
}
.home-exclusive-lead-tip {
    margin-top: 1px;
    font-size: 10px;
    line-height: 14px;
    color: #999999;
}
/* 人物图钉在卡片底部，不参与文字排版 —— 用绝对定位而不是 flex，
   否则图会按自身比例把卡片撑高（第 1 轮就是这么爆的）。
   底边留 4px：图里耳的麦线尖和落点阴影画到 y=90 边缘，贴死会被圆角切掉。 */
.home-exclusive-lead img {
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 104px;
    height: 78px;
    object-fit: contain;
    transform: translateX(-50%);
    pointer-events: none;
}

/* 右侧 2×2：每格「上图下字」，纵向居中。 */
.home-exclusive-grid {
    flex: 1.6;
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.home-exclusive-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #FAFAFA;
    text-decoration: none;
    color: inherit;
}
/* 图标 34×34 固定，不参与高度分配 —— 格子总高 (168-8)/2 = 80，
   34 图标 + 4 间距 + 14 文字 = 52，还剩 28 的余量，不会挤。 */
.home-exclusive-tile-icon {
    flex: none;
    display: block;
    width: 34px;
    height: 34px;
}
/* 格子文字必须可见且有字号 —— 这是第 4 轮被打回的地方，别再 clip 掉。 */
.home-exclusive-tile-label {
    font-size: 11px;
    line-height: 14px;
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.home-featured-wall {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 4px 0 8px;
    list-style: none;
}
/* 「全部游戏」跟着流自然排，不要再写 grid-column: 5 ——
   游戏不足 9 个时那条规则会把它硬推到第 5 列，中间留一整排空档
   （线上 8 个游戏 + 全部 = 9 格，本该每行 5/4 自然落位）。 */
.home-featured-all .game-icon-tile {
    display: grid;
    place-items: center;
    background: var(--field);
}
.home-featured-all .nav-ico {
    width: 22px;
    height: 22px;
    background: var(--ink);
}

/* ── 首页浮标 + 未登录底条 ──────────────────────────────────────────
   盼之：浮标 80×80 圆 8（右上 10×10 关闭点）；未登录底条高 48 圆 8、
   黑 70% 底 + 右侧红按钮。桌面端只在窄屏显示，宽屏有顶栏菜单可用。 */
.home-float {
    position: fixed;
    right: 16px;
    bottom: calc(84px + var(--tabbar-h));
    z-index: 35;
    width: 80px;
    height: 80px;
    animation: home-float-in .24s ease-out;
}
@keyframes home-float-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.home-float[hidden] { display: none; }
.home-float-link { display: block; width: 100%; height: 100%; }
.home-float-link img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45);
}
.home-float-close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.home-login-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(24px + var(--tabbar-h));
    z-index: 34;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .7);
    color: #FFFFFF;
    backdrop-filter: blur(6px);
    transition: opacity .18s ease, transform .18s ease;
}
.home-login-bar.is-tucked {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}
.home-login-bar p {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-login-bar a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 76px;
    padding: 0 12px;
    border-radius: 6px;
    background: var(--danger);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
@media (min-width: 900px) {
    /* 宽屏有顶栏与菜单，浮层会挡住货架，收掉 */
    .home-float,
    .home-login-bar { display: none; }
}
.buy-page {
    display: flex;
    flex-direction: column;
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: calc(60px + var(--tabbar-h));
    background: #FFFFFF;
    color: #333333;
}
.buy-head {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    background: #FFFFFF;
}
.buy-title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
    color: #333333;
    flex: 0 0 auto;
}
.buy-page .home-cats {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    gap: 12px;
    overflow: visible;
}
.buy-page .home-cats a,
.buy-page .home-cat-chip {
    height: auto;
    padding: 0;
    color: #999999;
    font-size: 12px;
    font-weight: 400;
}
.buy-page .home-cats a.is-current,
.buy-page .home-cat-chip.is-current {
    color: #0A0A0A;
    font-weight: 500;
}
.buy-page .home-cats a.is-current::after,
.buy-page .home-cat-chip.is-current::after { display: none; }
.buy-search {
    position: sticky;
    top: 0;
    z-index: 22;
    height: 44px;
    padding: 0 12px;
    background: #FFFFFF;
}
.buy-search-bar {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 12px;
    background: #F7F7F7;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}
.buy-search-bar .nav-ico {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background: #CCCCCC;
}
.buy-search-hint {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #CCCCCC;
}
.buy-letter-index {
    position: sticky;
    top: 44px;
    z-index: 21;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 48px;
    margin: 0;
    margin-left: 10px;
    padding: 0;
    overflow-x: auto;
    background: #FFFFFF;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.buy-letter-index::-webkit-scrollbar { display: none; }
.buy-letter-index a,
.buy-letter-index span {
    position: relative;
    flex: 0 0 auto;
    min-width: 20px;
    height: 48px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.buy-letter-index a.is-current { color: #0A0A0A; }
.buy-letter-index a.is-current::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 4px;
    border-radius: 2px 2px 0 0;
    background: #F3460C;
}
.buy-letter-index .is-empty { color: #999999; }
.buy-body {
    display: flex;
    align-items: flex-start;
    padding: 4px 10px 15px 20px;
    min-width: 0;
}
.buy-letter-wall {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.buy-letter-block {
    scroll-margin-top: 92px;
}
.buy-letter-title {
    margin: 8px 0 0;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}
.buy-letter-rail {
    position: sticky;
    top: 92px;
    flex: 0 0 80px;
    width: 80px;
    max-height: calc(100vh - 92px - var(--tabbar-h));
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
}
.buy-letter-rail a,
.buy-letter-rail span {
    width: 100%;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A0A0A;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}
.buy-letter-rail a.is-current { color: #F3460C; }
.buy-letter-rail .is-empty { color: #999999; pointer-events: none; }
.buy-page .home-publisher-wall { flex: 1; min-width: 0; }
.buy-page .home-publisher-title {
    margin: 8px 0 0;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}
.buy-empty {
    padding: 48px 16px 0;
    text-align: center;
}
.buy-empty-flag {
    margin: 0;
    font-size: 14px;
    color: #999999;
}
.buy-empty-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.buy-empty-btn {
    height: 32px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    background: #FFFFFF;
    color: #333333;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}

/* ── 「我要买」页头两块（对齐盼之真机）────────────────────────────────
   最近浏览：横向滑动的大图标条。热门推荐：5 列 × 2 行宫格。
   两块共用 .buy-strip / .buy-strip-title，左右 padding 与 .buy-body 的
   左 20 / 右 10 对齐 —— 否则标题和下方字母墙会各起一条竖线。 */
.buy-strip {
    padding: 12px 10px 0 20px;
}
.buy-strip-title {
    margin: 0 0 8px;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}
.buy-recent-list {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 0 0 2px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.buy-recent-list::-webkit-scrollbar { display: none; }
.buy-recent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    /* 不设固定宽度、只给下限：图标 56px 是主视觉，名字长短不一时
       整条仍是自然疏密，而不是被拉成一个个等宽方块。 */
    min-width: 56px;
    color: inherit;
    text-decoration: none;
}
.buy-recent-tile {
    position: relative;
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: #F4F4F4;
}
.buy-recent-tile img,
.buy-recent-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.buy-recent-fallback {
    display: grid;
    place-items: center;
    color: #666666;
    background: #D9D9D9;
    font-size: 20px;
    font-weight: 800;
}
.buy-recent-name {
    /* 56px 放不下四五个中文字 —— 单行省略，不做两行，
       否则最近浏览这条会高低起伏，像一排参差的格子。 */
    max-width: 56px;
    color: #666666;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.buy-hot-grid {
    display: grid;
    /* 5 列 × 2 行 = 10 格，与盼之真机一致（首页金刚区也是 5 列，节奏统一）。 */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 8px 0 4px;
    list-style: none;
}
/* 宫格内复用 partials/game_icon.html，图标要比字母墙的行式小一点：
   一行 5 格，40px 图标配 11px 名字正好填满一列。 */
.buy-hot-grid .game-icon { gap: 0; }
.buy-hot-grid .game-icon-tile {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
.buy-hot-grid .game-icon-name {
    max-width: 100%;
    height: auto;
    margin-top: 4px;
    color: #666666;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
}
/* 行式清单：一行一个游戏，64px 大图标在左、名字在右。
   这是盼之「全部游戏」分组内的版式，跟首页 5 列宫格是两套东西 ——
   首页宫格求「一屏看到最多」，这里求「能读清每个名字」。 */
.buy-row-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    color: inherit;
    text-decoration: none;
}
.buy-row-tile {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: #F4F4F4;
}
.buy-row-tile img,
.buy-row-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}
.buy-row-fallback {
    display: grid;
    place-items: center;
    color: #666666;
    background: #D9D9D9;
    font-size: 24px;
    font-weight: 800;
}
.buy-row-tile.is-restock img { opacity: 0.55; }
.buy-row-name {
    /* 名字左对齐、与图标垂直居中，剩余空间全部留给它 ——
       名称较长的（带平台/区服后缀）在这里能完整显示一行半。 */
    flex: 1;
    min-width: 0;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}
.buy-row-tag {
    flex: 0 0 auto;
    height: 20px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    background: #F4F4F4;
    color: #999999;
    font-size: 11px;
    font-weight: 400;
}
.home-cats {
    display: flex;
    gap: 0;
    overflow-x: auto;
    margin: 0 -8px 2px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.home-cats::-webkit-scrollbar { display: none; }
.home-cats a,
.home-cat-chip {
    position: relative;
    flex: 0 0 auto;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    color: var(--muted);
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.home-cats a.is-current,
.home-cat-chip.is-current {
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    font-weight: 700;
}
.home-cats a.is-current::after,
.home-cat-chip.is-current::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--accent);
}
.home-game-wall {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 8px 0 4px;
    list-style: none;
}
.home-publisher-wall { display: flex; flex-direction: column; gap: 16px; }
.home-publisher-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 750;
}
.game-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.game-icon-tile {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--field);
}
.game-icon-tile img,
.game-icon-fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.game-icon-fallback {
    display: grid;
    place-items: center;
    color: #666666;
    background: #D9D9D9;
    font-size: 18px;
    font-weight: 800;
}
.game-icon-name {
    max-width: 66px;
    width: 100%;
    height: 14px;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* 首页游戏墙一格只有 ~66px，名字单行必然被截成「初音未来: …」——
   两行 + 少截断，至少能看出是哪个游戏。 */
.home-featured-wall .game-icon-name {
    height: 28px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.buy-page .game-icon { gap: 0; margin-top: 12px; }
.buy-page .game-icon-tile {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
.buy-page .game-icon-name {
    max-width: 5em;
    height: auto;
    margin-top: 4px;
    margin-bottom: 5px;
    color: #666666;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
}
.kind-tabs {
    display: flex;
    gap: 20px;
    margin: 0 0 12px;
    padding: 0 2px 8px;
    border-bottom: 1px solid var(--line);
}
.kind-tabs a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    padding: 0 0 8px;
    border-bottom: 2px solid transparent;
    margin-bottom: -9px;
    white-space: nowrap;
}
.kind-tabs a.is-current {
    color: var(--danger);
    border-bottom-color: var(--danger);
}
.region-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: 0 0 12px;
    padding-bottom: 2px;
}
.region-tabs a {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.region-tabs a.is-current {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink);
}
.region-tabs a.is-empty { opacity: .55; }
.region-tabs small { font-size: 10px; font-weight: 700; opacity: .75; }
.empty-panel {
    display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px;
    padding: 16px; border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface);
}
.empty-panel-main { min-width: 0; flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.empty-panel h1, .empty-panel h2 { margin: 4px 0 0; color: var(--text-strong); font-size: 18px; line-height: 1.25; }
.empty-panel p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.empty-panel .empty-panel-game { color: var(--muted); font-weight: 650; }
.empty-panel-cta { display: flex; flex-wrap: wrap; gap: 8px; }

.commerce-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.commerce-title { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.commerce-title small { margin-left: 8px; color: var(--muted); font-weight: 500; font-size: 14px; }
.commerce-total { margin: 0; color: var(--muted); font-size: 13px; }

/* ── 商品筛选条 ───────────────────────────────────────────────────────
   对齐盼之 custom_goods_menu_view：高 32、12sp #333 的胶囊触发条，点开是
   GoodsSortPopWindow / PriceFilteringPopWindow 那种面板（行高 50、选中圆点）。
   这里用原生 <details>：CSS 负责折叠，JS 只负责「点外部收起」。 */
.goods-menu {
    position: relative;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px; padding: 4px 0;
    /* 不设 overflow: hidden/auto —— 任何裁切都会把展开的面板切掉 */
    flex-wrap: nowrap;
}
.goods-menu-item { flex: 0 0 auto; position: relative; margin: 0; }
.goods-menu-panel { position: relative; }
.goods-menu-trigger {
    display: inline-flex; align-items: center; gap: 4px;
    height: 32px; padding: 0 12px; border-radius: 8px;
    background: var(--surface); border: 1px solid var(--line);
    color: #333333; font-size: 12px; font-weight: 500; line-height: 1;
    cursor: pointer; white-space: nowrap; list-style: none;
}
.goods-menu-trigger::-webkit-details-marker { display: none; }
.goods-menu-trigger:hover { border-color: #CCCCCC; }
.goods-menu-trigger.is-active { color: var(--danger); border-color: #F38787; }
.goods-menu-caret {
    width: 0; height: 0; margin-left: 2px;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid currentColor; opacity: .55;
    transition: transform .15s ease;
}
.goods-menu-panel[open] .goods-menu-caret { transform: rotate(180deg); }
.goods-menu-panel[open] > .goods-menu-trigger { border-color: var(--accent); color: var(--accent); }
.goods-menu-badge {
    min-width: 14px; height: 14px; padding: 0 3px; margin-left: 2px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 7px; background: var(--danger); color: #FFFFFF;
    font-size: 10px; font-weight: 700; line-height: 1;
}

/* 抽屉：绝对定位挂在触发条下面，不挤动货架。 */
.goods-menu-panel[open] > .goods-menu-list,
.goods-menu-panel[open] > .goods-menu-chips,
.goods-menu-panel[open] > .goods-price-panel,
.goods-menu-panel[open] > .goods-menu-actions,
.goods-menu-panel[open] > .goods-menu-hint {
    animation: goods-menu-in .12s ease-out;
}
@keyframes goods-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.goods-menu-list,
.goods-menu-chips,
.goods-price-panel,
.goods-menu-actions,
.goods-menu-hint {
    position: absolute; left: 0; top: calc(100% + 6px); z-index: 30;
    margin: 0; padding: 0; list-style: none;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .28);
}
.goods-menu-list { min-width: 156px; padding: 6px; border-radius: 12px; }
.goods-menu-list label {
    display: flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 12px; border-radius: 8px;
    font-size: 14px; color: #333333; cursor: pointer;
}
.goods-menu-list label:hover { background: var(--field); }
.goods-menu-list input { position: absolute; opacity: 0; pointer-events: none; }
.goods-menu-list label > span { position: relative; flex: 1; }
.goods-menu-list input:checked + span { color: var(--danger); font-weight: 600; }
.goods-menu-list input:checked + span::after {
    content: ""; position: absolute; right: 0; top: 50%;
    width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
    background: var(--danger);
    box-shadow: inset 0 0 0 4px var(--surface);
    border: 1px solid var(--danger);
}

.goods-price-panel {
    display: flex; align-items: center; gap: 8px; width: 268px;
    padding: 12px; border-radius: 12px 12px 0 0; border-bottom: 0;
}
.goods-price-field { flex: 1; min-width: 0; }
.goods-price-field input {
    width: 100%; height: 40px; padding: 0 10px;
    border: 0; border-radius: 8px; background: var(--field);
    color: var(--ink); font-size: 14px; text-align: center;
}
.goods-price-field input::placeholder { color: #CCCCCC; }
.goods-price-dash { color: #CCCCCC; font-size: 12px; }
.goods-price-panel + .goods-menu-actions { padding-top: 0; border-radius: 0 0 12px 12px; border-top: 0; }

.goods-menu-hint {
    top: calc(100% + 6px); padding: 10px 12px 0; border-bottom: 0;
    font-size: 12px; color: #FA9600; border-radius: 12px 12px 0 0;
}
.goods-menu-hint + .goods-menu-chips { top: calc(100% + 6px); padding-top: 34px; border-top: 0; }
.goods-menu-chips {
    display: flex; flex-wrap: wrap; gap: 8px; width: 320px; max-width: min(320px, 82vw);
    padding: 12px; border-radius: 12px 12px 0 0; border-bottom: 0;
}
.goods-chip { position: relative; }
.goods-chip input { position: absolute; opacity: 0; pointer-events: none; }
.goods-chip span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 88px; height: 40px; padding: 0 12px;
    border-radius: 8px; background: var(--field);
    color: #333333; font-size: 12px; cursor: pointer;
    transition: background .12s ease, color .12s ease;
}
.goods-chip input:checked + span { background: #FFF5F5; color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); font-weight: 600; }
.goods-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.goods-menu-actions {
    display: flex; gap: 8px; width: 100%; padding: 12px;
    border-radius: 0 0 12px 12px; border-top: 1px solid var(--line);
}
.goods-menu-list + .goods-menu-actions,
.goods-menu-chips + .goods-menu-actions,
.goods-price-panel + .goods-menu-actions { min-width: 268px; }
.goods-menu-reset {
    flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 12px;
    background: var(--surface); color: #333333; font-size: 14px; text-decoration: none;
}
.goods-menu-apply {
    flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 12px; background: var(--danger); color: #FFFFFF;
    font-size: 14px; font-weight: 600; cursor: pointer;
}
.goods-menu-clear {
    flex: 0 0 auto; height: 32px; padding: 0 12px; margin-left: auto;
    display: inline-flex; align-items: center; border-radius: 8px;
    color: var(--text-subtle); font-size: 12px; text-decoration: none; white-space: nowrap;
}
.goods-menu-clear:hover { color: var(--danger); }

/* 面板顶部贴到视口边时翻转方向；用 popover 时代的锚点定位太新，这里靠 JS 加类。 */
.goods-menu-item.is-drop-up > .goods-menu-panel > .goods-menu-list,
.goods-menu-item.is-drop-up > .goods-menu-panel > .goods-menu-chips,
.goods-menu-item.is-drop-up > .goods-menu-panel > .goods-price-panel,
.goods-menu-item.is-drop-up > .goods-menu-panel > .goods-menu-actions,
.goods-menu-item.is-drop-up > .goods-menu-panel > .goods-menu-hint {
    top: auto; bottom: calc(100% + 6px);
}

.account-result-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.listing-card {
    position: relative;
    display: flex; flex-direction: column; gap: 6px;
    padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
    content-visibility: auto; contain-intrinsic-size: auto 180px;
}
.listing-card-hit {
    position: absolute; inset: 0; z-index: 1;
    border-radius: inherit;
}
.listing-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.listing-title {
    margin: 0; color: var(--text-strong); font-size: 14px; font-weight: 700; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-code { flex: 0 0 auto; margin-top: 2px; color: var(--text-subtle); font: 11px/1.3 ui-monospace, Consolas, monospace; }
.listing-sub { margin: -4px 0 0; color: var(--muted); font-size: 12px; }
.listing-tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px; overflow: visible; }
.listing-tag {
    padding: 2px 7px; border-radius: 4px;
    color: var(--text-secondary); background: var(--field); font-size: 11px; font-weight: 600;
}
.listing-tag.is-kind {
    padding: 0;
    border-radius: 0;
    color: #FA9600;
    background: transparent;
    font-size: 12px;
    font-weight: 500;
}
.listing-highlights, .acc-highlights {
    margin: 0; padding: 0; list-style: none; display: grid; gap: 3px;
    color: var(--text-secondary); font-size: 12.5px; line-height: 1.45;
}
.listing-highlights li { position: relative; padding-left: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.listing-highlights li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.listing-summary {
    margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-card-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line);
}
.listing-price {
    margin: 0; color: var(--price); font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.listing-currency { margin-right: 2px; font-size: 14px; vertical-align: 3px; }
.listing-sales { color: var(--text-subtle); }
.listing-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; }
.listing-actions form { margin: 0; }
.shop-btn {
    height: 32px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 700;
}
.shop-btn-buy { min-width: 84px; height: 38px; padding: 0 16px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 800; }
.shop-btn-ghost { background: var(--field); color: var(--ink); font-weight: 600; }
.shop-btn-icon {
    width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center;
    border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text-subtle); cursor: pointer;
}
.shop-btn-icon.is-active { color: var(--accent); border-color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pay-instructions .pay-info { margin: 12px 0 0; }
.pay-instructions .pay-info dt { color: var(--muted); font-size: 12px; margin-top: 8px; }
.pay-instructions .pay-info dd { margin: 2px 0 0; word-break: break-all; }
.pay-qr { width: 220px; margin: 12px 0; padding: 8px; background: #fff; border-radius: 10px; }
.pay-qr-img { display: block; width: 204px; height: 204px; }
.pay-open-link { font-weight: 700; }
.pay-poll-status, .pay-notice { color: var(--muted); font-size: 13px; }
.pay-warning { color: #b42318; }

.search-page { min-height: 100vh; background: #F6F7FA; }
.search-page-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 44px;
    padding-right: 16px;
    background: #F6F7FA;
}
.search-page-back {
    width: 44px;
    height: 44px;
    padding-left: 12px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    color: var(--ink);
    text-decoration: none;
}
.search-page-back .nav-ico { width: 24px; height: 24px; }
.search-page-input-wrap {
    flex: 1;
    height: 36px;
    display: flex;
    align-items: center;
    background: #F7F7F7;
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 8px;
    border: 0;
}
.search-page-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0A0A0A;
    font-size: 14px;
    line-height: 22px;
}
.search-page-input::placeholder { color: #999999; }
.search-page-clear {
    width: 24px;
    height: 24px;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #999999;
    cursor: pointer;
    display: none;
}
.search-page-input-wrap.has-value .search-page-clear { display: inline-grid; place-items: center; }
.search-page-clear .nav-ico { width: 16px; height: 16px; }
.search-page-submit {
    height: 44px;
    padding-left: 12px;
    border: 0;
    background: transparent;
    color: #0A0A0A;
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
}
.search-section { padding: 12px 16px; }
.search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.search-section-title {
    flex: 1;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    color: #0A0A0A;
}
.search-history-clear {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #999999;
    cursor: pointer;
}
.search-history-clear .nav-ico { width: 16px; height: 16px; }
.search-history-tags { display: flex; flex-wrap: wrap; overflow: hidden; }
.search-history-tag {
    background: #F7F7F7;
    border-radius: 999px;
    padding: 6px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    color: #0A0A0A;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
}
.search-suggest-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}
.search-suggest-chip {
    display: inline-flex;
    align-items: center;
    align-self: start;
    justify-self: start;
    max-width: 100%;
    background: #F7F7F7;
    border-radius: 999px;
    padding: 6px 12px;
    overflow: hidden;
    color: #0A0A0A;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
}
.search-suggest-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    border-radius: 2px;
    object-fit: cover;
    background: #F0F0F0;
    flex-shrink: 0;
}
.search-suggest-chip span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-empty {
    padding: 88px 24px 0;
    text-align: center;
    color: #999999;
    font-size: 12px;
    line-height: 18px;
}
.search-empty p { margin: 0; }
.search-result-list { list-style: none; margin: 0; padding: 0; }
.search-result-list li + li::before {
    content: "";
    display: block;
    height: 1px;
    margin: 0 16px;
    background: #EBEBEB;
}
.search-result-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: inherit;
    text-decoration: none;
}
.search-result-main {
    flex: 1;
    display: flex;
    align-items: center;
    margin-right: 24px;
    min-width: 0;
}
.search-result-icon, .search-result-fallback {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
    object-fit: cover;
    background: #F0F0F0;
}
.search-result-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #F0F0F0;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
}
.search-result-name {
    font-size: 14px;
    line-height: 22px;
    color: #0A0A0A;
    max-width: 78%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-arrow {
    width: 16px;
    height: 16px;
    color: #999999;
    flex-shrink: 0;
}
.search-confirm {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.7);
}
.search-confirm[hidden] { display: none; }
.search-confirm-card {
    width: min(100%, 280px);
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
}
.search-confirm-text {
    margin: 0;
    padding: 24px 20px 8px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    color: #0A0A0A;
}
.search-confirm-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    padding: 0 16px;
}
.search-confirm-cancel,
.search-confirm-ok {
    min-width: 86px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
}
.search-confirm-cancel {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    color: #0A0A0A;
}
.search-confirm-ok {
    background: #E92D2D;
    border: 0;
    color: #FFFFFF;
}

.store-shell:has(.home-page) { background: var(--surface); }
.store-shell:has(.home-page) > .store-top { display: none; }
.store-shell:has(.home-page) > .store-search { top: 0; }
.store-shell:has(.search-page) { background: #F6F7FA; }
.store-shell:has(.search-page) > .store-top,
.store-shell:has(.search-page) > .store-search,
.store-shell:has(.search-page) > .store-tabbar { display: none; }
.store-main:has(.search-page) {
    padding: 0;
    width: 100%;
    max-width: min(100%, var(--store-max));
}
.store-main:has(.search-page) .site-foot { display: none; }

.store-shell:has(.goods-detail) { background: #F7F7F7; }
.store-shell:has(.goods-detail) > .store-top,
.store-shell:has(.goods-detail) > .store-search,
.store-shell:has(.goods-detail) > .store-tabbar { display: none; }
.store-main:has(.goods-detail) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.goods-detail) .site-foot { display: none; }

.store-shell:has(.order-create) { background: #F4F4F4; }
.store-shell:has(.order-create) > .store-top,
.store-shell:has(.order-create) > .store-search,
.store-shell:has(.order-create) > .store-tabbar { display: none; }
.store-main:has(.order-create) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.order-create) .site-foot { display: none; }

.store-shell:has(.me-page) { background: #F7F7F7; }
.store-shell:has(.me-page) > .store-top,
.store-shell:has(.me-page) > .store-search { display: none; }
.store-main:has(.me-page) {
    padding: 0;
    width: 100%;
    max-width: min(100%, var(--store-max));
}
.store-main:has(.me-page) .site-foot { display: none; }

.store-shell:has(.buy-page) { background: #FFFFFF; }
.store-shell:has(.buy-page) > .store-top,
.store-shell:has(.buy-page) > .store-search { display: none; }
.store-main:has(.buy-page) {
    padding: 0;
    width: 100%;
    max-width: min(100%, var(--store-max));
}
.store-main:has(.buy-page) .site-foot { display: none; }

.store-shell:has(.msg-page) { background: #FFFFFF; }
.store-shell:has(.msg-page) > .store-top,
.store-shell:has(.msg-page) > .store-search { display: none; }
.store-main:has(.msg-page) {
    padding: 0;
    width: 100%;
    max-width: min(100%, var(--store-max));
}
.store-main:has(.msg-page) .site-foot { display: none; }

.store-shell:has(.fav-page) { background: #F4F4F4; }
.store-shell:has(.fav-page) > .store-top,
.store-shell:has(.fav-page) > .store-search,
.store-shell:has(.fav-page) > .store-tabbar { display: none; }
.store-main:has(.fav-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.fav-page) .site-foot { display: none; }

.store-shell:has(.buyer-order-page) { background: #F4F4F4; }
.store-shell:has(.buyer-order-page) > .store-top,
.store-shell:has(.buyer-order-page) > .store-search,
.store-shell:has(.buyer-order-page) > .store-tabbar { display: none; }
.store-main:has(.buyer-order-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.buyer-order-page) .site-foot { display: none; }

.store-shell:has(.order-query) { background: #F4F4F4; }
.store-shell:has(.order-query) > .store-top,
.store-shell:has(.order-query) > .store-search,
.store-shell:has(.order-query) > .store-tabbar { display: none; }
.store-main:has(.order-query) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.order-query) .site-foot { display: none; }

.store-shell:has(.contact-page) { background: #F4F4F4; }
.store-shell:has(.contact-page) > .store-top,
.store-shell:has(.contact-page) > .store-search,
.store-shell:has(.contact-page) > .store-tabbar { display: none; }
.store-main:has(.contact-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.contact-page) .site-foot { display: none; }

.store-shell:has(.help-page) { background: #F4F4F4; }
.store-shell:has(.help-page) > .store-top,
.store-shell:has(.help-page) > .store-search,
.store-shell:has(.help-page) > .store-tabbar { display: none; }
.store-main:has(.help-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.help-page) .site-foot { display: none; }

.store-shell:has(.order-detail-page) { background: #F4F4F4; }
.store-shell:has(.order-detail-page) > .store-top,
.store-shell:has(.order-detail-page) > .store-search,
.store-shell:has(.order-detail-page) > .store-tabbar { display: none; }
.store-main:has(.order-detail-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.order-detail-page) .site-foot { display: none; }

.store-shell:has(.order-success-page) { background: #F4F4F4; }
.store-shell:has(.order-success-page) > .store-top,
.store-shell:has(.order-success-page) > .store-search,
.store-shell:has(.order-success-page) > .store-tabbar { display: none; }
.store-main:has(.order-success-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.order-success-page) .site-foot { display: none; }

.store-shell:has(.pwd-page) { background: #F4F4F4; }
.store-shell:has(.pwd-page) > .store-top,
.store-shell:has(.pwd-page) > .store-search,
.store-shell:has(.pwd-page) > .store-tabbar { display: none; }
.store-main:has(.pwd-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.pwd-page) .site-foot { display: none; }

.store-shell:has(.visit-stats) { background: #F6F7FA; }
.store-shell:has(.visit-stats) > .store-top,
.store-shell:has(.visit-stats) > .store-search,
.store-shell:has(.visit-stats) > .store-tabbar { display: none; }
.store-main:has(.visit-stats) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.visit-stats) .site-foot { display: none; }

.store-shell:has(.legal-page) { background: #F4F4F4; }
.store-shell:has(.legal-page) > .store-top,
.store-shell:has(.legal-page) > .store-search,
.store-shell:has(.legal-page) > .store-tabbar { display: none; }
.store-main:has(.legal-page) {
    padding: 0;
    width: 100%;
    max-width: none;
}
.store-main:has(.legal-page) .site-foot { display: none; }

.msg-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: calc(60px + var(--tabbar-h));
    background: #FFFFFF;
    color: #333333;
}
.msg-head {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    background: #FFFFFF;
}
.msg-title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
    color: #333333;
    flex: 0 0 auto;
}
.msg-capsules {
    display: flex;
    align-items: stretch;
    height: 28px;
    margin-left: auto;
    margin-right: 16px;
    padding: 2px;
    background: #F7F7F7;
    border-radius: 4px;
}
.msg-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 12px;
    font-size: 12px;
    color: #666666;
    text-decoration: none;
    border-radius: 2px;
}
.msg-tab.is-current {
    background: #FFFFFF;
    color: #333333;
}
.msg-tab-dot {
    display: none;
    position: absolute;
    top: 1px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E60F0F;
}
.msg-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 2px;
    border: 0;
    background: transparent;
    color: #333333;
    cursor: pointer;
    flex: 0 0 auto;
}
.msg-clear .nav-ico { width: 20px; height: 20px; }
.msg-search {
    display: flex;
    align-items: center;
    height: 36px;
    margin: 8px 16px 0;
    padding: 0 12px;
    background: #F7F7F7;
    border-radius: 10px;
}
.msg-search .nav-ico {
    width: 18px;
    height: 18px;
    color: #333333;
}
.msg-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: #333333;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.msg-search-input::placeholder { color: #CCCCCC; font-size: 13px; }
.msg-empty {
    margin: 48px 16px 0;
    text-align: center;
    font-size: 12px;
    color: #999999;
}

.goods-detail {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F7F7F7;
    color: #333333;
    display: flex;
    flex-direction: column;
}
.goods-detail-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 44px;
    background: #FFFFFF;
    flex: 0 0 44px;
}
.goods-detail-heading {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #333333;
}
.goods-detail-top-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.goods-detail-fav { margin: 0; }
.goods-detail-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: inline-grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #333333;
    cursor: pointer;
    text-decoration: none;
    flex: 0 0 44px;
}
.goods-detail-icon .nav-ico { width: 24px; height: 24px; }
.goods-detail-icon.is-active { color: #E60F0F; }
.goods-detail-scroll {
    flex: 1 1 auto;
    padding: 10px 12px calc(72px + 12px + env(safe-area-inset-bottom, 0px));
}
.goods-detail-card {
    background: #FFFFFF;
    border-radius: 12px 12px 0 0;
    padding: 12px;
}
.goods-detail-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}
.goods-detail-hao-jia {
    margin: 0;
    color: #E60F0F;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.goods-detail-yen { font-size: 16px; }
.goods-detail-price { font-size: 24px; }
.goods-detail-heat {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: #999999;
    white-space: nowrap;
}
.goods-detail-name {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    line-height: calc(1em + 4px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.goods-detail-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: #666666;
}
.goods-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 10px;
    min-height: 16px;
}
.goods-detail-tag {
    height: 16px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    border-radius: 2px;
    background: #F7F7F7;
    color: #666666;
    font-size: 10px;
    line-height: 16px;
    white-space: nowrap;
}
.goods-detail-tag.is-kind {
    height: auto;
    padding: 0;
    background: transparent;
    color: #FA9600;
    font-size: 12px;
    line-height: 16px;
}
.goods-detail-tag.is-keep-tick,
.listing-tag.is-keep-tick {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}
.keep-tick-bubble {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 5;
    width: max-content;
    max-width: 240px;
    padding: 8px 10px;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #333333;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    white-space: normal;
}
.keep-tick-bubble strong {
    font-weight: 700;
}
.keep-tick-bubble[hidden] { display: none !important; }
.keep-tick-bubble.is-live {
    position: absolute;
    z-index: 80;
    display: block;
}
.goods-detail-brand {
    margin: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #FFFFFF;
    color: #333333;
    font-size: 12px;
}
.goods-detail-brand span { flex: 1; text-align: center; }
.goods-packages {
    margin-top: 12px;
    padding: 12px;
    background: #FFFFFF;
    border-radius: 12px;
}
.goods-packages-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.goods-packages-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}
.goods-packages-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.goods-package {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    background: #FFFFFF;
    color: #333333;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.goods-package.is-on {
    border-color: #E60F0F;
    color: #E60F0F;
}
.goods-package.is-sold {
    color: #999999;
    background: #FAFAFA;
    cursor: not-allowed;
}
.goods-package-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    white-space: normal;
    overflow: visible;
}
.goods-package-stock {
    flex: 0 0 auto;
    font-size: 12px;
    color: #999999;
}
.goods-package-price {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.order-create-goods-pkg {
    margin: 4px 0 0;
    font-size: 12px;
    color: #666666;
}

/* 账号参数表：两列网格，标签灰、值黑，行间 1px 分隔；对齐盼之详情页把
   区服/职业/段位摊开的信息密度，避免整段文案没人读完。 */
.goods-specs {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #FFFFFF;
}
.goods-specs-title {
    margin: 0 0 8px;
    color: #0A0A0A;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}
.goods-specs-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}
.goods-specs-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}
/* 两列时右侧那格补一条竖分隔，视觉上才是表格而不是两堆字 */
.goods-specs-row:nth-child(odd) { padding-right: 12px; }
.goods-specs-row:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid var(--line);
}
.goods-specs-row dt {
    flex: 0 0 auto;
    color: var(--text-subtle);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}
.goods-specs-row dd {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #333333;
    font-size: 12px;
    line-height: 18px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 380px) {
    .goods-specs-list { grid-template-columns: minmax(0, 1fr); }
    .goods-specs-row:nth-child(odd),
    .goods-specs-row:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
}
.goods-detail-extra {
    margin-top: 12px;
    background: #FFFFFF;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.goods-detail-tabs {
    display: flex;
    height: 50px;
    background: #FFFFFF;
}
.goods-detail-tabs button {
    flex: 1;
    height: 50px;
    border: 0;
    background: transparent;
    color: #999999;
    font-size: 14px;
    cursor: pointer;
}
.goods-detail-tabs button.is-current {
    color: #0A0A0A;
    font-weight: 600;
    box-shadow: inset 0 -2px 0 #E60F0F;
}
.goods-detail-pane { padding: 12px; }
.goods-detail-summary {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666666;
}
.goods-detail-photo {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    border-radius: 8px;
    background: #FAFAFA;
}
.goods-detail-bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 41;
    width: min(100%, var(--store-max));
    height: calc(72px + env(safe-area-inset-bottom, 0px));
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) 12px;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    box-sizing: border-box;
}
.goods-detail-collect {
    flex: 0 0 auto;
    min-width: 40px;
    margin: 0 8px 0 0;
}
.goods-detail-collect button {
    min-width: 40px;
    border: 0;
    background: transparent;
    color: #000000;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
    padding: 2px 0;
}
.goods-detail-cta {
    flex: 1 1 0;
    height: 48px;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    text-decoration: none;
    box-sizing: border-box;
}
.goods-detail-consult {
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    color: #333333;
}
.goods-detail-buy {
    background: #E60F0F;
    border: 1px solid #E60F0F;
    color: #FFFFFF;
}

.order-create {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #333333;
    display: flex;
    flex-direction: column;
}
.order-create-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.order-create-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 50px;
    background: #FFFFFF;
    flex: 0 0 50px;
}
.order-create-heading {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 50px;
    color: #333333;
}
.order-create-back,
.order-create-top-slot {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
}
.order-create-back {
    display: inline-grid;
    place-items: center;
    color: #333333;
    text-decoration: none;
}
.order-create-back .nav-ico { width: 24px; height: 24px; }
.order-create-scroll {
    flex: 1 1 auto;
    padding: 0 15px calc(94px + env(safe-area-inset-bottom, 0px));
}
.order-create-goods {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #FFFFFF;
}
.order-create-cover {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border-radius: 10px;
    overflow: hidden;
    background: #FAFAFA;
}
.order-create-cover img,
.order-create-cover-fallback {
    display: block;
    width: 86px;
    height: 86px;
    max-width: none;
    object-fit: cover;
    border-radius: 10px;
}
.order-create-cover-fallback {
    display: grid;
    place-items: center;
    color: #999999;
    font-size: 28px;
    font-weight: 500;
}
.order-create-goods-body {
    min-width: 0;
    flex: 1 1 auto;
}
.order-create-goods-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333333;
    line-height: calc(1em + 3px);
    min-height: calc(2em + 6px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.order-create-goods-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: #999999;
}
.order-create-goods-price {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #E60F0F;
}
.order-create-pay {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #FFFFFF;
}
.order-create-detail {
    margin-top: 10px;
    border-radius: 10px;
    background: #FFFFFF;
    overflow: hidden;
}
.order-create-detail-row {
    height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #333333;
}
.order-create-detail-row strong {
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #E60F0F;
}
.order-create-remark {
    display: block;
    padding: 0 15px 12px;
    color: #333333;
    font-size: 12px;
}
.order-create-remark span { display: block; margin-bottom: 6px; }
.order-create-remark .shop-textarea { min-height: 64px; }
.order-create-locked { margin-top: 10px; }
.order-create-bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 41;
    width: min(100%, var(--store-max));
    padding: 6px 15px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #FFFFFF;
    box-sizing: border-box;
}
.order-create-agree-row {
    display: flex;
    align-items: center;
}
.order-create-agree {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.order-create-check {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    background: #FFFFFF;
    cursor: pointer;
}
.order-create-check:checked {
    border-color: #E60F0F;
    background: #E60F0F url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2' d='M3 8l3.5 3.5L13 4'/></svg>") center / 12px 12px no-repeat;
}
.order-create-agree-text {
    margin-left: 5px;
    font-size: 12px;
    color: #333333;
}
.order-create-terms {
    font-size: 12px;
    color: #0082FF;
    text-decoration: none;
}
.order-create-bar {
    display: flex;
    height: 50px;
    margin: 10px 0 0;
}
.order-create-sum {
    flex: 2 1 0;
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 10px 0 20px;
    background: #202427;
    border-radius: 25px 0 0 25px;
    color: #FFFFFF;
    box-sizing: border-box;
}
.order-create-yen {
    font-size: 12px;
    line-height: 1;
}
.order-create-total {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.order-create-detail-btn {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
}
.order-create-submit {
    flex: 1 1 0;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 25px 25px 0;
    background: #E60F0F;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    cursor: pointer;
}
.order-create-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.fav-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #333333;
    display: flex;
    flex-direction: column;
}
.fav-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 44px;
    background: #FFFFFF;
    flex: 0 0 44px;
}
.fav-heading {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #0A0A0A;
    pointer-events: none;
}
.fav-back {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: #0A0A0A;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    z-index: 1;
}
.fav-edit {
    margin-left: auto;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 44px;
    color: #0A0A0A;
    text-decoration: none;
    z-index: 1;
    cursor: pointer;
}
.fav-top-slot {
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}
.fav-stale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 42px;
    margin: 12px 12px 0;
    padding: 0 10px;
    background: #FFFFFF;
    border-radius: 4px;
}
.fav-stale-text {
    margin: 0;
    font-size: 14px;
    color: #333333;
}
.fav-stale-clear {
    padding: 0;
    border: 0;
    background: transparent;
    color: #0082E6;
    font-size: 14px;
    cursor: pointer;
}
.fav-batch {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.fav-list {
    background: #FFFFFF;
}
.fav-card {
    display: flex;
    align-items: stretch;
    background: #FFFFFF;
}
.fav-check {
    display: none;
    flex: 0 0 18px;
    width: 18px;
    margin: 0 0 0 15px;
    align-self: center;
}
.fav-page.is-editing .fav-check {
    display: grid;
    place-items: center;
}
.fav-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #E60F0F;
}
.fav-card-inner {
    min-width: 0;
    flex: 1 1 auto;
}
.fav-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 12px 12px 0;
}
.fav-card-no {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #999999;
    min-width: 0;
}
.fav-card-time {
    margin: 0;
    flex: 0 0 auto;
    font-size: 12px;
    color: #999999;
    white-space: nowrap;
}
.fav-copy {
    width: 15px;
    height: 15px;
    margin-left: -2px;
    padding: 0;
    border: 0;
    background: currentColor;
    color: #999999;
    cursor: pointer;
    flex: 0 0 15px;
    -webkit-mask: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='8' y='8' width='12' height='12' rx='1'/><path d='M4 16V5a1 1 0 0 1 1-1h11'/></svg>");
    mask: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='8' y='8' width='12' height='12' rx='1'/><path d='M4 16V5a1 1 0 0 1 1-1h11'/></svg>");
}
.fav-edit-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    background: #FFFFFF;
    position: sticky;
    bottom: 0;
    z-index: 30;
}
.fav-page.is-editing .fav-edit-bar {
    display: flex;
}
.fav-select-all {
    display: flex;
    align-items: center;
    height: 68px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #666666;
    font-size: 14px;
    cursor: pointer;
}
.fav-batch-unfav {
    margin-right: 12px;
    padding: 15px 24px;
    border: 0;
    border-radius: 10px;
    background: #E60F0F;
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
}
.fav-card-body {
    display: flex;
    gap: 10px;
    margin: 10px;
    text-decoration: none;
    color: inherit;
}
.fav-card-cover {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    background: #FAFAFA;
}
.fav-card-cover img,
.fav-card-cover-fallback {
    display: block;
    width: 120px;
    height: 120px;
    max-width: none;
    object-fit: cover;
    border-radius: 4px;
}
.fav-card-cover-fallback {
    display: grid;
    place-items: center;
    color: #666666;
    background: #D9D9D9;
    font-size: 36px;
    font-weight: 700;
}
.fav-card-info {
    min-width: 0;
    flex: 1 1 auto;
}
.fav-card-title {
    margin: 0;
    height: 40px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fav-card-meta {
    margin: 8px 0 0;
    font-size: 12px;
    color: #999999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fav-card-price {
    margin: 8px 0 10px;
    font-size: 16px;
    color: #E60F0F;
    font-variant-numeric: tabular-nums;
}
.fav-card-line {
    display: block;
    height: 1px;
    margin: 0 12px;
    background: #F7F7F7;
}
.fav-page .shop-pager {
    margin: 12px;
}
.fav-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 44px);
    padding: 30px 16px;
    text-decoration: none;
}
.fav-empty-art {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #FFFFFF;
}
.fav-empty-art img {
    width: 72px;
    height: 72px;
    max-width: none;
}
.fav-empty-text {
    margin: 10px 0 0;
    font-size: 12px;
    color: #999999;
}

.buyer-order-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.buyer-order-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 44px;
    background: #FFFFFF;
    flex: 0 0 44px;
}
.buyer-order-back {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: #0A0A0A;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}
.buyer-order-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    margin: 4px 0 4px 4px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: #F7F7F7;
    border-radius: 10px;
    color: #0A0A0A;
    font-size: 14px;
}
.buyer-order-search-input::placeholder { color: #CCCCCC; }
.buyer-order-search-submit {
    height: 44px;
    padding: 0 12px 0 16px;
    border: 0;
    background: transparent;
    color: #0A0A0A;
    font-size: 14px;
    cursor: pointer;
    flex: 0 0 auto;
}
.buyer-order-tabs {
    display: flex;
    height: 40px;
    background: #FFFFFF;
    flex: 0 0 40px;
}
.buyer-order-tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
}
.buyer-order-tab.is-current { color: #0A0A0A; }
.buyer-order-tab-line {
    display: block;
    width: 16px;
    height: 3px;
    margin-top: 2px;
    border-radius: 1px;
    background: #F3460C;
    visibility: hidden;
}
.buyer-order-tab.is-current .buyer-order-tab-line { visibility: visible; }
.buyer-order-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 8px;
}
.buyer-order-card {
    background: #FFFFFF;
    padding: 12px 16px;
}
.buyer-order-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.buyer-order-no {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 12px;
    color: #666666;
}
.buyer-order-copy {
    width: 15px;
    height: 15px;
    padding: 0;
    border: 0;
    background: currentColor;
    color: #666666;
    cursor: pointer;
    flex: 0 0 15px;
    -webkit-mask: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='8' y='8' width='12' height='12' rx='1'/><path d='M4 16V5a1 1 0 0 1 1-1h11'/></svg>");
    mask: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='8' y='8' width='12' height='12' rx='1'/><path d='M4 16V5a1 1 0 0 1 1-1h11'/></svg>");
}
.buyer-order-status {
    font-size: 12px;
    flex: 0 0 auto;
    color: #999999;
}
.buyer-order-status.is-pending { color: #E60F0F; }
.buyer-order-status.is-trading { color: #0A0A0A; }
.buyer-order-status.is-done { color: #999999; }
.buyer-order-card-body {
    display: flex;
    align-items: flex-start;
    margin-top: 11px;
    text-decoration: none;
    color: inherit;
}
.buyer-order-cover {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #FAFAFA;
}
.buyer-order-cover img,
.buyer-order-cover-fallback {
    display: block;
    width: 72px;
    height: 72px;
    max-width: none;
    object-fit: cover;
    border-radius: 8px;
}
.buyer-order-cover-fallback {
    display: grid;
    place-items: center;
    color: #666666;
    font-size: 22px;
    font-weight: 700;
    background: #D9D9D9;
}
.buyer-order-info {
    min-width: 0;
    flex: 1 1 auto;
    margin-left: 10px;
    margin-right: 12px;
}
.buyer-order-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #0A0A0A;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.buyer-order-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: #999999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.buyer-order-price {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 500;
    color: #0A0A0A;
    font-variant-numeric: tabular-nums;
}
.buyer-order-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    margin-top: 12px;
    padding: 0 12px 0 8px;
    background: #F7F7F7;
    border-radius: 8px;
}
.buyer-order-fee span {
    font-size: 12px;
    color: #666666;
}
.buyer-order-fee strong {
    font-size: 14px;
    font-weight: 500;
    color: #0A0A0A;
    font-variant-numeric: tabular-nums;
}
.buyer-order-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 12px;
}
.buyer-order-btn {
    width: 72px;
    height: 28px;
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CCCCCC;
    border-radius: 14px;
    background: #FFFFFF;
    color: #0A0A0A;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.buyer-order-btn.is-red {
    border-color: #E60F0F;
    color: #E60F0F;
}
.buyer-order-empty {
    padding-top: 48px;
    text-align: center;
}
.buyer-order-empty p {
    margin: 0;
    font-size: 12px;
    color: #999999;
}
.buyer-order-empty a {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: #666666;
    text-decoration: none;
}

.order-query {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.order-query-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.order-query-contact {
    margin: 12px 16px 0;
}
.order-query-contact summary {
    font-size: 12px;
    color: #999999;
    cursor: pointer;
    list-style: none;
}
.order-query-contact summary::-webkit-details-marker { display: none; }
.order-query-contact-input {
    display: block;
    width: 100%;
    height: 36px;
    margin-top: 8px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: #FFFFFF;
    border-radius: 10px;
    color: #0A0A0A;
    font-size: 14px;
}
.order-query-mine {
    margin: 16px;
    font-size: 12px;
    color: #999999;
}
.order-query-mine a {
    color: #666666;
    text-decoration: none;
}

.contact-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.contact-heading {
    flex: 1 1 auto;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #0A0A0A;
}
.contact-top-slot {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}
.contact-body {
    padding: 12px 0 24px;
}
.contact-card {
    margin: 0 16px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
}
.contact-card + .contact-card { margin-top: 10px; }
.contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 0.5px solid #EBEBEB;
    font-size: 14px;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row > span {
    color: #0A0A0A;
    flex: 0 0 auto;
    font-size: 14px;
}
.contact-row > p {
    margin: 0;
    color: #666666;
    text-align: right;
    word-break: break-all;
    font-size: 14px;
}
.contact-row a {
    color: #666666;
    text-decoration: none;
}
.contact-empty {
    margin: 24px 16px;
    text-align: center;
    font-size: 14px;
    color: #999999;
}
.contact-hint {
    margin: 16px;
    font-size: 12px;
    color: #999999;
}
.contact-hint a {
    color: #666666;
    text-decoration: none;
    margin-left: 8px;
}

.help-page {
    position: relative;
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.help-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 252px;
    background: #F7F7F7;
    overflow: hidden;
    pointer-events: none;
}
.help-hero-orb {
    position: absolute;
    width: 160px;
    height: 160px;
    right: -20px;
    top: 40px;
    border-radius: 50%;
    background: #FFF5F5;
}
.help-hero-bar {
    position: absolute;
    width: 88px;
    height: 88px;
    left: 24px;
    top: 72px;
    border-radius: 10px;
    background: #EBEBEB;
}
.help-page > .help-top {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
}
.help-heading {
    flex: 1 1 auto;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #0A0A0A;
}
.help-top-slot {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}
.help-feedback-hint {
    position: relative;
    z-index: 2;
    margin: 8px 15px 0;
    padding: 8px 12px;
    background: #FFF5F5;
    color: #E01B28;
    font-size: 12px;
    line-height: 18px;
    border-radius: 8px;
    text-align: center;
}
.help-card {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    margin: 20px 15px 12px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
}
.help-tag-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.help-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 35px;
    margin: 15px 15px 2px;
    overflow-x: auto;
}
.help-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding: 0 13px;
    border-radius: 4px;
    background: #F4F4F4;
    color: #666666;
    font-size: 12px;
    line-height: 35px;
    white-space: nowrap;
    cursor: pointer;
}
#help-tag-buy:checked ~ .help-tags label[for="help-tag-buy"],
#help-tag-order:checked ~ .help-tags label[for="help-tag-order"],
#help-tag-after:checked ~ .help-tags label[for="help-tag-after"] {
    background: #FFF5F5;
    color: #E92D2D;
}
.help-faqs {
    display: none;
    margin: 15px;
}
#help-tag-buy:checked ~ .help-faqs[data-tag="buy"],
#help-tag-order:checked ~ .help-faqs[data-tag="order"],
#help-tag-after:checked ~ .help-faqs[data-tag="after"] {
    display: block;
}
.help-faq {
    border-bottom: 1px solid #EBEBEB;
}
.help-faq:last-child { border-bottom: 0; }
.help-faq > summary {
    display: flex;
    align-items: center;
    height: 48px;
    font-size: 14px;
    font-weight: 500;
    color: #0A0A0A;
    list-style: none;
    cursor: pointer;
}
.help-faq > summary::-webkit-details-marker { display: none; }
.help-faq > summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-right: 1.5px solid #CCCCCC;
    border-bottom: 1.5px solid #CCCCCC;
    transform: rotate(-45deg);
}
.help-faq[open] > summary::after {
    transform: rotate(45deg);
}
.help-faq > p {
    margin: 0 0 12px;
    padding: 0 0 4px;
    font-size: 13px;
    line-height: 20px;
    color: #666666;
}
.help-faq > p a {
    color: #666666;
    word-break: break-all;
}
.help-bottom {
    display: flex;
    align-items: center;
    height: 58px;
    flex: 0 0 58px;
    background: #FFFFFF;
}
.help-bottom-consult,
.help-bottom-feedback {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    font-size: 14px;
    color: #0A0A0A;
    text-decoration: none;
}
.help-bottom-split {
    width: 1px;
    height: 22px;
    background: #D9D9D9;
}

.order-success-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.order-success-page .pay-instructions {
    padding: 14px 16px;
    font-size: 14px;
}
.order-success-card-title {
    margin: 0;
    padding: 14px 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: #0A0A0A;
}

.order-detail-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.order-detail-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 44px;
    background: #FFFFFF;
    flex: 0 0 44px;
}
.order-detail-heading {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #0A0A0A;
    pointer-events: none;
}
.order-detail-back,
.order-detail-top-slot {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}
.order-detail-back {
    display: grid;
    place-items: center;
    color: #0A0A0A;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    z-index: 1;
}
.order-detail-scroll {
    flex: 1 1 auto;
    padding: 0 15px calc(78px + env(safe-area-inset-bottom, 0px));
}
.order-detail-goods {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #FFFFFF;
}
.order-detail-cover {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #FAFAFA;
}
.order-detail-cover img,
.order-detail-cover-fallback {
    display: block;
    width: 72px;
    height: 72px;
    max-width: none;
    object-fit: cover;
    border-radius: 8px;
}
.order-detail-cover-fallback {
    display: grid;
    place-items: center;
    color: #666666;
    font-size: 22px;
    font-weight: 700;
    background: #D9D9D9;
}
.order-detail-goods-body {
    min-width: 0;
    flex: 1 1 auto;
}
.order-detail-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 20px;
    color: #0A0A0A;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.order-detail-meta {
    margin: 4px 0 0;
    font-size: 12px;
    color: #999999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.order-detail-status {
    margin: 4px 0 0;
    font-size: 12px;
    color: #999999;
}
.order-detail-status.is-pending { color: #E60F0F; }
.order-detail-status.is-trading { color: #0A0A0A; }
.order-detail-status.is-done { color: #999999; }
.order-detail-price {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 500;
    font-family: sans-serif-medium, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #E60F0F;
    font-variant-numeric: tabular-nums;
}
.order-detail-info {
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 10px;
    background: #FFFFFF;
}
.order-detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 0.5px solid #F5F5F5;
    font-size: 12px;
}
.order-detail-row:last-child { border-bottom: 0; }
.order-detail-row > span {
    color: #999999;
    flex: 0 0 auto;
}
.order-detail-row > p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
    color: #666666;
    text-align: right;
    word-break: break-all;
}
.order-detail-row > p > strong {
    font-weight: 400;
    color: #666666;
}
.order-detail-copy {
    width: 15px;
    height: 15px;
    padding: 0;
    border: 0;
    background: currentColor;
    color: #666666;
    cursor: pointer;
    flex: 0 0 15px;
    -webkit-mask: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='8' y='8' width='12' height='12' rx='1'/><path d='M4 16V5a1 1 0 0 1 1-1h11'/></svg>");
    mask: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='8' y='8' width='12' height='12' rx='1'/><path d='M4 16V5a1 1 0 0 1 1-1h11'/></svg>");
}
.order-detail-pay {
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #FFFFFF;
}
.order-detail-pay-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0A0A0A;
}
.order-detail-bottom {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 41;
    width: min(100%, var(--store-max));
    padding: 10px 15px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #FFFFFF;
    box-sizing: border-box;
}
.order-detail-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 1px solid #E60F0F;
    border-radius: 12px;
    background: #FFFFFF;
    color: #E60F0F;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.me-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: calc(60px + var(--tabbar-h));
    background: #F7F7F7;
    color: #0A0A0A;
}
.me-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}
.me-user {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.me-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #FFFFFF;
    border-radius: 28px;
    background: #FFFFFF;
    color: #0A0A0A;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}
.me-avatar .nav-ico { width: 28px; height: 28px; background: #999999; }
.me-user-info { margin-left: 12px; flex: 1; min-width: 0; }
.me-nick {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #0A0A0A;
}
.me-id {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 16px;
    color: #999999;
}
.me-settings { position: relative; flex: 0 0 auto; }
.me-settings-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0A0A0A;
    cursor: pointer;
    list-style: none;
}
.me-settings-btn::-webkit-details-marker { display: none; }
.me-settings-btn .nav-ico { width: 24px; height: 24px; }
.me-settings-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    min-width: 148px;
    padding: 6px;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    background: #FFFFFF;
}
.me-settings-panel a,
.me-settings-panel button {
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #0A0A0A;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.me-settings-panel .is-danger { color: #E01B28; }
.me-settings-panel .is-current { color: var(--accent); }
.me-settings-panel form { margin: 0; }
.me-stats {
    display: flex;
    background: #FFFFFF;
    padding: 12px;
    margin: 0 12px;
    border-radius: 8px;
}
.me-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
}
.me-stat + .me-stat { margin-left: 12px; }
.me-stat-value {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #0A0A0A;
}
.me-stat-label {
    font-size: 11px;
    line-height: 16px;
    color: #0A0A0A;
}
.me-trade {
    margin: 8px 12px 0;
    border-radius: 8px;
    padding: 12px;
    background: #FFFFFF;
}
.me-trade-grid {
    display: flex;
    align-items: center;
    gap: 24px;
}
.me-trade-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.me-trade-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.me-trade-icon .nav-ico { width: 32px; height: 32px; }
.me-trade-name {
    margin-top: 6px;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    color: #0A0A0A;
}
.me-menu {
    margin: 8px 12px 0;
    border-radius: 8px;
    padding: 16px 12px;
    background: #FFFFFF;
}
.me-menu-grid {
    display: flex;
    justify-content: space-between;
}
.me-menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.me-menu-icon { position: relative; margin-bottom: 6px; }
.me-menu-icon .nav-ico { width: 24px; height: 24px; }
.me-menu-name {
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    text-align: center;
    color: #0A0A0A;
}
.me-logout-form { margin: 24px 12px 0; }
.me-logout {
    display: block;
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #E01B28;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.flash-list { margin: 0 0 10px; }
.flash-alert { padding: 10px 12px; border-radius: 8px; background: var(--field); }
.flash-error, .flash-danger { color: var(--danger); background: rgba(229, 72, 77, .1); }
.shop-pager { margin-top: 14px; color: var(--muted); font-size: 13px; }
.shop-pager a { color: var(--ink); text-decoration: none; margin-right: 10px; }

html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #eceef2;
    --muted: #9aa0ab;
    --text-secondary: #c5c8d0;
    --text-strong: #f4f4f5;
    --text-subtle: #8b90a0;
    --line: #2a2d36;
    --surface: #181a20;
    --canvas: #0e0f12;
    --field: #22252d;
}
html[data-theme="dark"] .chip-list .active a,
html[data-theme="dark"] .chip-list .active a:hover { background: transparent; border-color: var(--accent); color: var(--accent); }
html[data-theme="dark"] .sku-list .active a,
html[data-theme="dark"] .sku-list .active a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
html[data-theme="dark"] .stock-flag { background: rgba(229, 72, 77, .18); color: #ff8a8e; }
html[data-theme="dark"] .store-search-action,
html[data-theme="dark"] .search-page-submit,
html[data-theme="dark"] .search-section-title,
html[data-theme="dark"] .search-history-tag,
html[data-theme="dark"] .search-suggest-chip,
html[data-theme="dark"] .search-result-name,
html[data-theme="dark"] .search-page-input,
html[data-theme="dark"] .search-page-back { color: var(--ink); }
html[data-theme="dark"] .pill-pending { background: #3a2a12; color: #ffb020; }
html[data-theme="dark"] .pill-paid, html[data-theme="dark"] .pill-delivered { background: #1c2b4a; color: #84b7ff; }
html[data-theme="dark"] .pill-completed { background: #163427; color: #73d49b; }

.standalone-body.is-login-standalone {
    background: #FFFFFF;
}
.standalone-body.is-login-standalone .standalone-wrap {
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 0 24px;
    background: #FFFFFF;
}
.standalone-body.is-login-standalone .standalone-back { display: none; }
.standalone-body.is-login-standalone .flash-list { width: min(100%, var(--store-max)); margin: 8px auto 0; padding: 0 16px; box-sizing: border-box; }

.login-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    background: #FFFFFF;
    color: #333333;
    display: flex;
    flex-direction: column;
}
.login-skip {
    align-self: flex-end;
    margin-top: 12px;
    padding: 0 16px;
    font-size: 12px;
    line-height: 1.4;
    color: #999999;
    text-decoration: none;
}
.login-hero {
    /* 左右必须与 tabs / form / 按钮同为 32：原先是 16，整块比下方内容窄 16px，
       左右边缘对不齐 —— 这就是「布局有点歪」最直观的来源。 */
    margin: 8px 32px 0;
    /* 用固定高度而不是 aspect-ratio：宽屏下 343/138 会把这块黄底拉成
       800×322，logo 孤零零浮在一大片空白正中。紧一点才像品牌条。 */
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    background: #FFF4D4;
    overflow: hidden;
}
.login-hero-mark { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 12px; }
.login-hero-name {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #5A3728;
}
.login-heading {
    margin: 16px 32px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #333333;
}
.register-page .login-form { margin-top: 24px; }
.login-tabs {
    display: flex;
    /* 必须是 baseline 而不是 flex-end：两个 tab 字号不同（14 / 18），
       flex-end 只对齐盒子底部，文字基线会差一截，读起来就是一高一低。 */
    align-items: baseline;
    gap: 32px;
    margin: 16px 32px 0;
}
.login-tab {
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.2;
    color: #636363;
    cursor: pointer;
    /* button 默认不继承字体，与相邻的 a/span 会不同族 */
    font-family: inherit;
}
.login-tab.is-current {
    font-size: 18px;
    color: #333333;
}
.login-code-pane { margin: 32px 32px 0; }
.login-code-off { margin: 0; font-size: 14px; color: #999999; }
.login-form {
    display: flex;
    flex-direction: column;
    margin: 32px 32px 0;
}
.login-field + .login-field { margin-top: 20px; }
.login-page .auth-field { margin-top: 20px; gap: 0; }
.login-page .auth-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.login-input,
.login-page .shop-input {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: #F7F7F7;
    color: #333333;
    font-size: 14px;
}
.login-input::placeholder,
.login-page .shop-input::placeholder { color: #CCCCCC; }
.login-page .pwd-wrap .login-input { padding-right: 42px; }
/* 验证码：**独立的白底方块**，与输入框分开。
   之前这里把 captcha-row 合并成一个灰胶囊（边框/背景全清掉），
   结果验证码没有自己的容器，字符还被 object-fit:fill 横向拉长成一团。 */
.login-page .captcha-row {
    height: 48px;
    gap: 10px;
    overflow: visible;
}
.login-page .captcha-row .shop-input {
    height: 48px;
    padding: 0 16px;
}
.login-page .captcha-refresh {
    /* 白底 + 边框，跟输入框区分开。图片尺寸就是 136×48，fill 不会变形；
       图形本身按 136 宽绘制，横向缩放后字符仍然清晰。 */
    border: 1px solid #E5E5E5;
    background: #FFFFFF;
    width: 136px;
    height: 48px;
    flex: 0 0 136px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}
.login-page .captcha-image {
    width: 136px;
    height: 46px;
    border-radius: 11px;
    object-fit: fill;
}
.login-page .auth-error { margin-top: 12px; }
.login-forgot {
    align-self: flex-end;
    margin-top: 16px;
    font-size: 12px;
    color: #999999;
    text-decoration: none;
}
.login-submit {
    width: 100%;
    height: 48px;
    margin-top: 16px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #E01B28;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.4;
    cursor: pointer;
}
.login-submit.is-ready { opacity: 1; }
.login-submit:disabled { cursor: default; }
.pwd-page .login-submit { opacity: 1; }

.pwd-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #333333;
    display: flex;
    flex-direction: column;
}
.pwd-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    height: 44px;
    background: #FFFFFF;
    flex: 0 0 44px;
}
.pwd-heading {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #0A0A0A;
    pointer-events: none;
}
.pwd-back {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: #0A0A0A;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    z-index: 1;
}
.pwd-top-slot {
    margin-left: auto;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
}
.pwd-page .pwd-wrap .login-input { padding-right: 42px; }
.pwd-page .auth-error { margin-top: 12px; }

.legal-page {
    width: min(100%, var(--store-max));
    margin: 0 auto;
    min-height: 100vh;
    background: #F4F4F4;
    color: #0A0A0A;
    display: flex;
    flex-direction: column;
}
.legal-page > .legal-top {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
}
.legal-heading {
    flex: 1 1 auto;
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 44px;
    color: #0A0A0A;
}
.legal-body {
    padding: 16px 16px 24px;
    font-size: 14px;
    line-height: 22px;
    color: #666666;
}
.legal-body p { margin: 0 0 12px; }
.legal-body p:last-child { margin-bottom: 0; }
.login-alt {
    margin: 12px 0 0;
    text-align: center;
    font-size: 12px;
    color: #999999;
}
.login-alt a { color: #666666; text-decoration: none; }
.login-agree {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
    cursor: pointer;
}
.login-agree-check {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    flex: 0 0 16px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    background: #FFFFFF;
    cursor: pointer;
}
.login-agree-check:checked {
    border-color: #E01B28;
    background: #E01B28 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2' d='M3 8l3.5 3.5L13 4'/></svg>") center / 12px 12px no-repeat;
}
.login-agree a { color: #0082FF; text-decoration: none; }

.auth-card-dense .shop-input {
    height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: #F7F7F7;
    font-size: 14px;
}
.auth-card-dense .shop-input::placeholder { color: #CCCCCC; }
.auth-card-dense .pwd-wrap .shop-input { padding-right: 42px; }
.auth-card-dense .auth-submit {
    height: 48px;
    border-radius: 8px;
    background: #E01B28;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 640px) {
    .account-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-game-wall { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .store-top { padding: 0 16px; }
    .store-search { padding: 8px 16px; }
    /* 底部要留出 tab 栏的高度：这条规则在基础 .store-main 之后生效，
       写死 24px 会把 --tabbar-h 的补偿顶掉，页脚被固定栏盖住 58px。 */
    .store-main { padding: 16px 16px calc(24px + var(--tabbar-h)); }
}

/* ── 底部 Tab 栏 ─────────────────────────────────────────────────────
   原本只在 max-width:767px 下生效，桌面端等于完全没有导航 —— 所有入口都
   塞在右上角一个图标菜单里，不展开就看不到「我要买 / 消息 / 我的」。
   现在全线常驻，桌面也显示（用户 2026-10-18 明确要求）。
   --tabbar-h 从 :root 就生效，否则 .store-main / 浮动按钮的 padding 补偿
   在桌面上是 0，页面底部会被这条固定栏盖住 58px。 */
.store-tabbar {
    display: grid;
    /* 宽屏下不能让 4 个 tab 各摊 233px —— 图标会散成「页面上四个孤立小图标」，
       完全不像一条导航栏。每列上限 168px 并整体居中，宽屏读起来仍是紧凑一组。
       手机端 390/4=97px < 168，仍是被容器均分，跟原来表现一致。 */
    grid-template-columns: repeat(4, minmax(0, 168px));
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--surface);
    border-top: 0.5px solid #F5F5F5;
}
.store-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 46px;
    align-self: end;
    color: #999999;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
}
.visit-stats { padding: 12px 16px 24px; }
.visit-stats-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.visit-stats-head h1 { margin: 0; font-size: 16px; }
.visit-stats-back { color: var(--muted); font-size: 14px; }
.visit-stats-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.visit-stats-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
}
.visit-stats-card b { display: block; font-size: 18px; }
.visit-stats-card span { font-size: 11px; color: var(--muted); }
.visit-stats-range { display: flex; gap: 8px; margin: 14px 0; }
.visit-stats-range a {
    padding: 4px 10px;
    border-radius: 12px;
    background: #fff;
    font-size: 12px;
    color: var(--muted);
}
.visit-stats-range a.is-on { background: var(--accent); color: #fff; }
.visit-stats-chart {
    margin: 0 0 16px;
    padding: 12px 12px 8px;
    background: #fff;
    border-radius: 8px;
}
.visit-stats-chart svg {
    display: block;
    width: 100%;
    height: 180px;
}
.visit-stats-chart polyline {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 0.7;
    vector-effect: non-scaling-stroke;
}
.visit-stats-chart polyline.is-pv,
.visit-stats-chart figcaption i.is-pv { stroke: #E60F0F; background: #E60F0F; }
.visit-stats-chart polyline.is-uv,
.visit-stats-chart figcaption i.is-uv { stroke: #3DA5FF; background: #3DA5FF; }
.visit-stats-chart polyline.is-h5,
.visit-stats-chart figcaption i.is-h5 { stroke: #FA9600; background: #FA9600; }
.visit-stats-chart polyline.is-app,
.visit-stats-chart figcaption i.is-app { stroke: #0A0A0A; background: #0A0A0A; }
.visit-stats-chart-x {
    position: relative;
    height: 16px;
    margin-top: 4px;
}
.visit-stats-chart-x span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--muted);
}
.visit-stats-chart figcaption {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--muted);
}
.visit-stats-chart figcaption i {
    display: inline-block;
    width: 12px;
    height: 3px;
    margin-right: 4px;
    vertical-align: middle;
    border-radius: 1px;
}
.visit-stats-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.visit-stats-table th, .visit-stats-table td { padding: 8px; text-align: left; border-bottom: 1px solid var(--line); }
.visit-stats-sub { margin: 20px 0 8px; font-size: 14px; }
.visit-stats-ip { font-family: ui-monospace, Consolas, monospace; white-space: nowrap; }
.visit-stats-clip { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visit-stats-hits { display: block; overflow-x: auto; }
.home-app-card {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px;
    margin:4px 0 18px;
    border:1px solid #f0e3e5;
    border-radius:12px;
    background:#fff8f9;
}
.home-app-card-copy { min-width:0; }
.home-app-card-copy strong { color:#414b5c;font-size:14px;font-weight:650;line-height:1.6; }
.home-app-card-copy p { color:#737d8e;font-size:12px;line-height:1.8;margin:4px 0 0; }
.home-app-card-button { display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-height:44px;padding:0 14px;border-radius:8px;background:#e01b28;color:#fff;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap; }
.home-app-card-button:hover { background:#c91825;color:#fff; }
.home-app-card-button svg { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round; }
.home-app-card-button:focus-visible { outline:3px solid rgba(224,27,40,.25);outline-offset:3px; }
@media(max-width:380px) {
    .home-app-card { padding:13px;gap:10px; }
    .home-app-card-copy strong { font-size:13px; }
    .home-app-card-copy p { font-size:12px; }
    .home-app-card-button { padding:0 11px;font-size:12px; }
}
.store-tabbar a.is-current { color: #0A0A0A; }
.store-tabbar .nav-ico { width: 24px; height: 24px; }

@media (max-width: 767px) {
    .header-brand cite { display: inline; }
    .header-desk { display: none !important; }
    .user-menu-name, .user-menu-caret { display: none; }
    .user-menu-toggle { width: 36px; padding: 0; justify-content: center; }
    .user-menu-sub form {
        position: static; min-width: 0; border: 0; padding: 0 0 2px 8px;
    }
    .empty-panel-cta { width: 100%; }
    .empty-panel-cta .shop-btn { flex: 1 1 0; }
    .kv-list > div { grid-template-columns: 1fr; gap: 2px; }
}

