﻿:root {
    --tokyo-bg: #f0f0f3;
    --tokyo-surface: #ffffff;
    --tokyo-black: #000000;
    --tokyo-text: #1c2024;
    --tokyo-muted: #60646c;
    --tokyo-muted-strong: #555860;
    --tokyo-muted-soft: #b0b4ba;
    --tokyo-link: #0d74ce;
    --tokyo-border: #e0e1e6;
    --tokyo-border-strong: #d9d9e0;
    --tokyo-shadow-soft: 0 3px 6px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.07);
    --tokyo-shadow-elevated: 0 10px 20px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.05);
    --tokyo-radius-sm: 8px;
    --tokyo-radius-md: 16px;
    --tokyo-radius-lg: 24px;
    --tokyo-radius-pill: 9999px;
}


html {
    scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.tokyo-theme {
    margin: 0;
    background: var(--tokyo-bg);
    color: var(--tokyo-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.tokyo-page-frame {
    min-height: 100vh;
}

.tokyo-main {
    padding-bottom: 72px;
    margin-top: 18px;
}

#pjax-container {
    transition: opacity 0.18s ease;
}

#pjax-container.is-pjax-loading {
    opacity: 0.68;
    pointer-events: none;
}

.tokyo-shell {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
}

.tokyo-shell--narrow {
    width: min(960px, calc(100% - 32px));
}

.tokyo-nav-shell {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 14px 0 0;
}

.tokyo-nav-wrap {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
}

.tokyo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
    border: 1px solid rgba(224, 225, 230, 0.95);
    border-radius: var(--tokyo-radius-pill);
    background: rgba(240, 240, 243, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: var(--tokyo-shadow-soft);
    padding: 10px 16px;
}

.tokyo-brand-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 0 0 auto;
    min-width: 0;
}

.tokyo-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tokyo-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: var(--tokyo-radius-pill);
    object-fit: cover;
    border: 1px solid var(--tokyo-border-strong);
    background: var(--tokyo-surface);
    flex: 0 0 42px;
}

.tokyo-brand-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tokyo-brand-chip::after {
    content: "";
    display: block;
    width: 100%;
    min-width: 54px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg,
    rgba(28, 32, 36, 0.9) 0%,
    rgba(28, 32, 36, 0.58) 38%,
    rgba(28, 32, 36, 0.18) 74%,
    rgba(28, 32, 36, 0) 100%);
}

.tokyo-brand-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--tokyo-black);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.tokyo-nav-toggle {
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    padding: 8px 12px;
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
    box-shadow: none;
}

.tokyo-nav-toggle:focus,
.tokyo-nav-toggle:focus-visible,
.tokyo-nav-toggle:not(:disabled):not(.disabled):active {
    outline: none;
    box-shadow: none !important;
}

.tokyo-nav-toggle .navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(28,32,36,0.92)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M5 7h20M5 15h20M5 23h20'/%3E%3C/svg%3E");
}

.tokyo-nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.tokyo-nav .navbar-collapse {
    flex-grow: 1;
    min-width: 0;
}

.tokyo-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.tokyo-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--tokyo-radius-pill);
    color: var(--tokyo-muted);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    transition: 0.2s ease;
}

.tokyo-notice-trigger {
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font: inherit;
    line-height: inherit;
    text-align: left;
}

.tokyo-nav-link:hover,
.tokyo-nav-link.is-active {
    color: var(--tokyo-text);
    background: var(--tokyo-surface);
    box-shadow: var(--tokyo-shadow-soft);
}

.tokyo-nav-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.tokyo-searchbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    min-width: 0;
    width: min(100%, 300px);
    padding: 0 12px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    color: var(--tokyo-muted);
}

.tokyo-searchbox input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tokyo-text);
    font-size: 0.88rem;
}

.tokyo-searchbox input::placeholder {
    color: var(--tokyo-muted-soft);
}

.tokyo-auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tokyo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.tokyo-button i,
.tokyo-commodity-action-link i,
.tokyo-commodity-action-disabled i,
.optional-card i,
.qty-group button i {
    font-size: 0.92em;
    line-height: 1;
    flex-shrink: 0;
}

.tokyo-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--tokyo-shadow-soft);
}

.tokyo-button-dark {
    border-color: var(--tokyo-black);
    background: var(--tokyo-black);
    color: var(--tokyo-surface);
}

.tokyo-button-light {
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
}

.tokyo-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 5px 10px 5px 7px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.tokyo-user-chip::after {
    margin-left: 10px;
    margin-top: 0;
    align-self: center;
    vertical-align: middle;
    position: relative;
    top: 1px;
    flex-shrink: 0;
}

.tokyo-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    background: #ececf0;
}

.tokyo-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.tokyo-user-name {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.1;
}

.tokyo-user-balance {
    color: var(--tokyo-muted);
    font-size: 0.68rem;
    line-height: 1.1;
}

.tokyo-user-dropdown {
    min-width: 0;
}

.tokyo-dropdown-menu {
    padding: 10px;
    border: 1px solid var(--tokyo-border);
    border-radius: 18px;
    box-shadow: var(--tokyo-shadow-elevated);
}

.tokyo-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    padding: 10px 12px;
}

.tokyo-dropdown-menu .dropdown-item i {
    width: 16px;
    color: var(--tokyo-muted);
}

.tokyo-hero,
.tokyo-item-header,
.tokyo-query-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 38px 0 22px;
}

.tokyo-eyebrow,
.panel-kicker {
    margin: 0 0 12px;
    color: var(--tokyo-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tokyo-hero h1,
.tokyo-page-title,
.panel-title-lg {
    margin: 0;
    color: var(--tokyo-black);
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.05;
}

.tokyo-hero-summary,
.tokyo-page-summary,
.tokyo-current-meta,
.tokyo-muted {
    margin: 14px 0 0;
    max-width: 760px;
    color: var(--tokyo-muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.tokyo-hero-meta {
    display: grid;
    gap: 14px;
    align-content: end;
    min-width: 280px;
}

.tokyo-meta-card {
    padding: 20px 22px;
    border: 1px solid var(--tokyo-border);
    border-radius: var(--tokyo-radius-lg);
    background: var(--tokyo-surface);
    box-shadow: var(--tokyo-shadow-soft);
}

.tokyo-meta-label {
    display: block;
    margin-bottom: 8px;
    color: var(--tokyo-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tokyo-meta-card strong {
    color: var(--tokyo-text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.panel {
    border: 1px solid var(--tokyo-border);
    border-radius: 24px;
    background: var(--tokyo-surface);
    box-shadow: var(--tokyo-shadow-soft);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 22px 16px;
    border-bottom: 1px solid var(--tokyo-border);
}

.panel-title {
    margin: 0;
    color: var(--tokyo-black);
    font-size: clamp(1.2rem, 1.8vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.card-content-no-password,
.card-password-section {
    margin-top: 12px;
}

.panel-body {
    padding: 22px;
}

.tokyo-shop-layout {
    display: grid;
    grid-template-columns: minmax(340px, 390px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 26px;
}

.tokyo-sidebar-panel {
    position: sticky;
    top: 104px;
}

.tokyo-catalog-panel {
    align-self: start;
}

.tokyo-index-heading,
.tokyo-catalog-heading {
    min-height: 110px;
}

.tokyo-index-heading {
    align-items: center;
}

.tokyo-index-heading-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tokyo-index-panel-title {
    font-size: clamp(1rem, 1.4vw, 1.45rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.tokyo-category-tree {
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 6px;
    max-height: calc(100vh - 180px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 2px;
}

.tokyo-mobile-filter-trigger,
.tokyo-mobile-sidebar-close,
.tokyo-mobile-sidebar-backdrop,
.tokyo-pill-mobile-only {
    display: none;
}

.tokyo-commodity-tags .tokyo-pill-mobile-only,
.tokyo-pill.tokyo-pill-mobile-meta,
.tokyo-pill.tokyo-pill-mobile-price,
.tokyo-pill.tokyo-pill-mobile-member {
    display: none !important;
}

.tokyo-category-node {
    display: grid;
    align-content: start;
    gap: 6px;
}

.tokyo-category-row {
    --tokyo-depth: 0;
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    padding-left: calc(var(--tokyo-depth) * 16px);
}

.tokyo-category-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--tokyo-border);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-bg);
    color: var(--tokyo-muted);
    appearance: none;
    -webkit-appearance: none;
    transition: 0.2s ease;
    flex: 0 0 24px;
}

.tokyo-category-toggle.is-expanded i {
    transform: rotate(90deg);
}

.tokyo-category-toggle i {
    transition: transform 0.2s ease;
}

.tokyo-category-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: var(--tokyo-radius-pill);
    background: transparent;
    color: var(--tokyo-muted-strong);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.tokyo-category-link:hover,
.tokyo-category-link.is-active {
    border-color: var(--tokyo-border-strong);
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
    box-shadow: var(--tokyo-shadow-soft);
}

.tokyo-category-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--tokyo-radius-pill);
    border: 1px solid var(--tokyo-border);
    background: center / cover no-repeat var(--tokyo-bg);
    flex: 0 0 24px;
}

.tokyo-category-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    overflow: hidden;
}

.tokyo-category-name {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tokyo-category-side {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 8px;
}

.tokyo-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-bg);
    color: var(--tokyo-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.tokyo-tree-feedback {
    padding: 14px 4px;
    color: var(--tokyo-muted);
    font-size: 0.86rem;
}

.tokyo-catalog-heading {
    position: relative;
    align-items: flex-start;
    padding-right: 404px;
}

.tokyo-catalog-body {
    padding-top: 22px;
}

.tokyo-catalog-tools {
    position: absolute;
    top: 18px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    width: min(100%, 360px);
    min-width: 0;
}

.tokyo-search-combo {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 4px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    gap: 6px;
}

.tokyo-searchbox-combo {
    flex: 1 1 auto;
    width: auto;
    height: 38px;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tokyo-searchbox-combo i {
    color: var(--tokyo-muted);
    font-size: 0.92rem;
}

.tokyo-searchbox-combo input {
    font-size: 0.86rem;
}

.tokyo-search-combo .tokyo-button {
    min-height: 34px;
    padding: 0 15px;
    border-width: 1px;
    box-shadow: none;
    flex: 0 0 auto;
}

.tokyo-search-combo .tokyo-button:hover {
    transform: none;
}

.tokyo-catalog-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.tokyo-result-count {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-bg);
    color: var(--tokyo-muted-strong);
    font-size: 0.78rem;
    font-weight: 600;
}

.tokyo-current-meta {
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.tokyo-table-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--tokyo-border);
    border-radius: 18px;
    background: #fcfcfd;
    min-height: var(--tokyo-table-stable-height, 0);
    transition: min-height 0.2s ease;
}

.tokyo-table-wrap.is-loading .tokyo-commodity-table {
    opacity: 0.32;
}

.tokyo-table-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(252, 252, 253, 0.72);
    backdrop-filter: blur(3px);
    color: var(--tokyo-muted-strong);
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 2;
}

.tokyo-table-wrap.is-loading .tokyo-table-loading {
    opacity: 1;
}

.tokyo-table-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(28, 32, 36, 0.12);
    border-top-color: rgba(28, 32, 36, 0.84);
    border-radius: 50%;
    animation: tokyo-spin 0.8s linear infinite;
}

.tokyo-commodity-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.tokyo-commodity-col-price {
    width: 108px;
}

.tokyo-commodity-col-stock {
    width: 98px;
}

.tokyo-commodity-col-sold {
    width: 58px;
}

.tokyo-commodity-col-action {
    width: 118px;
}

.tokyo-commodity-table thead th {
    padding: 14px 16px;
    border-bottom: 1px solid var(--tokyo-border);
    color: var(--tokyo-muted);
    background: rgba(240, 240, 243, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tokyo-commodity-table thead th:first-child,
.tokyo-commodity-table tbody td:first-child {
    text-align: left;
}

.tokyo-commodity-table thead th:nth-child(2),
.tokyo-commodity-table thead th:nth-child(3),
.tokyo-commodity-table thead th:nth-child(4),
.tokyo-commodity-table tbody td:nth-child(2),
.tokyo-commodity-table tbody td:nth-child(3),
.tokyo-commodity-table tbody td:nth-child(4) {
    text-align: center;
}

.tokyo-commodity-table thead th:nth-child(5),
.tokyo-commodity-table tbody td:nth-child(5) {
    text-align: right;
}

.tokyo-commodity-table tbody td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--tokyo-border);
    vertical-align: middle;
}

.tokyo-commodity-table tbody tr {
    transition: background 0.2s ease;
}

.tokyo-commodity-table tbody tr:last-child td {
    border-bottom: 0;
}

.tokyo-commodity-row:hover {
    background: rgba(255, 255, 255, 0.75);
}

.tokyo-commodity-main {
    min-width: 260px;
}

.tokyo-commodity-anchor {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.tokyo-commodity-thumb {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid var(--tokyo-border);
    background: center / cover no-repeat var(--tokyo-bg);
    flex: 0 0 42px;
}

.tokyo-commodity-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.tokyo-commodity-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--tokyo-text);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.tokyo-commodity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tokyo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 21px;
    padding: 0 8px;
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-bg);
    color: var(--tokyo-muted-strong);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tokyo-pill.tokyo-pill-primary {
    background: rgba(13, 116, 206, 0.1);
    color: var(--tokyo-link);
}

.tokyo-pill.tokyo-pill-success {
    background: rgba(26, 162, 81, 0.1);
    color: #127b3c;
}

.tokyo-pill.tokyo-pill-mobile-meta {
    background: rgba(240, 240, 243, 0.9);
    color: var(--tokyo-muted-strong);
}

.tokyo-pill.tokyo-pill-mobile-price {
    background: linear-gradient(180deg, rgba(205, 165, 72, 0.18), rgba(205, 165, 72, 0.1));
    color: #9a6a12;
    border: 1px solid rgba(186, 145, 47, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 248, 229, 0.66);
}

.tokyo-pill.tokyo-pill-mobile-member {
    background: rgba(13, 116, 206, 0.08);
    color: var(--tokyo-link);
}

.tokyo-commodity-price {
    color: var(--tokyo-black);
    white-space: nowrap;
}

.tokyo-commodity-price-stack {
    display: inline-grid;
    justify-items: center;
    gap: 5px;
}

.tokyo-commodity-price-main {
    color: var(--tokyo-black);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.tokyo-commodity-price-note {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 7px;
    border: 1px solid rgba(13, 116, 206, 0.14);
    border-radius: var(--tokyo-radius-pill);
    background: rgba(13, 116, 206, 0.08);
    color: var(--tokyo-link);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 4px 10px rgba(13, 116, 206, 0.08);
}

.tokyo-commodity-muted {
    color: var(--tokyo-muted);
    font-size: 0.84rem;
    white-space: nowrap;
    text-align: center;
}

.tokyo-commodity-action {
    white-space: nowrap;
    text-align: right;
}

.tokyo-commodity-action-link,
.tokyo-commodity-action-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: var(--tokyo-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
}

.tokyo-commodity-action-link {
    background: var(--tokyo-black);
    color: var(--tokyo-surface);
}

.tokyo-commodity-action-disabled {
    background: var(--tokyo-bg);
    color: var(--tokyo-muted-soft);
}

.tokyo-empty-row td {
    padding: 22px 16px;
    color: var(--tokyo-muted);
    text-align: center;
}

.tokyo-item-panel,
.tokyo-description-panel,
.tokyo-query-panel {
    margin-bottom: 22px;
}

.tokyo-item-cover-card {
    --tokyo-item-cover-height: 360px;
    position: relative;
    height: var(--tokyo-item-cover-height);
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--tokyo-border);
    border-radius: 26px;
    background: var(--tokyo-bg);
}

.tokyo-item-cover-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.item-cover {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 0.28s ease;
}

.item-cover.is-fallback {
    object-fit: contain;
    padding: 24%;
    background: linear-gradient(135deg, rgba(255, 250, 241, 0.94), rgba(226, 255, 247, 0.9));
}

.tokyo-item-cover-trigger:hover .item-cover,
.tokyo-item-cover-trigger:focus-visible .item-cover {
    transform: scale(1.02);
}

.tokyo-item-cover-trigger:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.12);
    outline-offset: -2px;
}

.tokyo-item-cover-hint {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--tokyo-radius-pill);
    background: rgba(255, 255, 255, 0.86);
    color: var(--tokyo-text);
    box-shadow: 0 10px 24px rgba(22, 25, 31, 0.12);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(12px);
}

.tokyo-image-layer {
    overflow: hidden;
    border: 1px solid rgba(214, 219, 228, 0.9) !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 24px 64px rgba(20, 24, 31, 0.24) !important;
}

.tokyo-image-layer .layui-layer-content {
    overflow: hidden !important;
    padding: 14px;
    background: transparent;
}

.tokyo-image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: min(68vw, 640px);
    max-width: min(92vw, 1320px);
    max-height: min(88vh, 920px);
}

.tokyo-image-preview img {
    display: block;
    max-width: min(88vw, 1280px);
    max-height: min(82vh, 860px);
    width: auto;
    height: auto;
    border-radius: 22px;
    background: var(--tokyo-surface);
    object-fit: contain;
}

.tokyo-item-form-wrap {
    display: grid;
    gap: 16px;
    align-content: start;
    align-self: flex-start;
}

.tokyo-item-inline-title {
    margin: 0;
    color: var(--tokyo-black);
    font-size: clamp(1.28rem, 1.7vw, 1.95rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
    word-break: break-word;
}

.tokyo-item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.tokyo-item-badges .badge-soft {
    flex: 0 0 auto;
    align-self: flex-start;
    white-space: nowrap;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: var(--tokyo-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.badge-soft-primary {
    background: rgba(13, 116, 206, 0.1);
    color: var(--tokyo-link);
}

.badge-soft-success {
    background: rgba(26, 162, 81, 0.1);
    color: #127b3c;
}

.badge-soft-info {
    background: rgba(71, 194, 255, 0.14);
    color: #0a76aa;
}

.shared-button {
    cursor: pointer;
}

.badge-soft-danger,
.badge-soft-muted {
    background: rgba(176, 180, 186, 0.2);
    color: var(--tokyo-muted);
}

.tokyo-item-price .price {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
    min-height: 34px;
    margin: 0;
    color: var(--tokyo-black);
    line-height: 1;
    min-width: 124px;
    font-size: 1.8rem;
    font-weight: 800;
}

.tokyo-item-price .unit {
    margin-right: 0;
    flex: 0 0 auto;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-0.02em);
}

.tokyo-item-price .price-amount {
    display: inline-block;
    font-size: 1.68rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.tokyo-item-price {
    display: flex;
    align-items: flex-end;
    min-height: 38px;
    margin: 0;
    line-height: 1;
}

.tokyo-item-price .price.is-loading {
    align-items: center;
}

.tokyo-item-price .price-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 124px;
    min-height: 38px;
}

.tokyo-item-price .icon-spin {
    font-size: 1rem;
}

.tokyo-field {
    display: grid;
    gap: 8px;
}

.form-label {
    color: var(--tokyo-muted-strong);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-control,
.optional-card {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: 14px;
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
    font-size: 0.88rem;
    box-shadow: none;
}

.optional-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-control {
    padding: 0 12px;
}

.form-control:focus {
    border-color: #2547d0;
    box-shadow: 0 0 0 3px rgba(37, 71, 208, 0.12);
}

.sku-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 8px;
    padding-top: 6px;
    overflow: visible;
    isolation: isolate;
}

.sku {
    display: inline-flex;
    align-items: center;
    position: relative;
    gap: 0;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    color: var(--tokyo-muted-strong);
    font-size: 0.8rem;
    font-weight: 600;
    overflow: visible;
    z-index: 0;
}

.sku.has-money {
    padding-right: 14px;
}

.sku-label {
    display: block;
    min-width: 0;
}

.sku.is-primary {
    border-color: var(--tokyo-black);
    background: var(--tokyo-black);
    color: var(--tokyo-surface);
}

.sku:hover,
.sku:focus-visible,
.sku.is-primary {
    z-index: 4;
}

.badge-money {
    --tokyo-badge-money-bg: #f7f8fa;
    --tokyo-badge-money-border: rgba(18, 22, 28, 0.08);
    --tokyo-badge-money-shadow: 0 10px 20px rgba(18, 22, 28, 0.14);
    position: absolute;
    top: -22px;
    right: -16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-badge-money-bg);
    color: var(--tokyo-text);
    border: 1px solid var(--tokyo-badge-money-border);
    box-shadow: var(--tokyo-badge-money-shadow);
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transform: none;
    pointer-events: none;
    isolation: isolate;
    z-index: 5;
}

.badge-money::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid var(--tokyo-badge-money-bg);
    filter: drop-shadow(0 1px 0 var(--tokyo-badge-money-border));
    z-index: -1;
}

.sku.is-primary .badge-money {
    --tokyo-badge-money-bg: #ffffff;
    --tokyo-badge-money-border: rgba(18, 22, 28, 0.1);
    --tokyo-badge-money-shadow: 0 12px 24px rgba(18, 22, 28, 0.18);
    color: var(--tokyo-text);
}

.qty-group {
    width: min(188px, 100%);
    max-width: 188px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: 999px;
    background: var(--tokyo-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.qty-group button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    border: 0;
    background: rgba(24, 28, 34, 0.04);
    color: var(--tokyo-text);
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.qty-group button:first-child {
    border-right: 1px solid var(--tokyo-border);
}

.qty-group button:last-child {
    border-left: 1px solid var(--tokyo-border);
}

.qty-group .form-control {
    min-width: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 10px;
    color: var(--tokyo-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    opacity: 1;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

.qty-group .form-control::-webkit-outer-spin-button,
.qty-group .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tokyo-captcha-group {
    display: flex;
    align-items: center;
    gap: 6px;
    width: min(100%, 300px);
    max-width: 300px;
    min-height: 42px;
    padding: 0;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tokyo-captcha-group .captcha-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 12px;
}

.tokyo-captcha-group .captcha-input:focus {
    background: transparent;
    box-shadow: none;
}

.tokyo-captcha-group .input-group-append {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-left: 6px;
}

.tokyo-captcha-group .input-group-append::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 24px;
    background: var(--tokyo-border);
    transform: translateY(-50%);
}

.captcha-img,
.input-group-text {
    border: 0;
    background-color: rgba(255, 255, 255, 0);
}

.captcha-img {
    display: block;
    width: 86px;
    height: 42px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 999px;
}

.cash-pay {
    padding: 14px;
    border: 1px solid var(--tokyo-border);
    border-radius: 18px;
    background: var(--tokyo-bg);
}

.pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pay-list .pay {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.pay-list .pay img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.tokyo-login-required-pay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: 16px;
    background: var(--tokyo-surface);
}

.tokyo-login-required-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.tokyo-login-required-copy strong {
    color: var(--tokyo-text);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tokyo-login-required-copy span {
    color: var(--tokyo-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.wholesale-table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 16px;
}

.wholesale-table th,
.wholesale-table td {
    padding: 12px 14px;
    border-color: var(--tokyo-border);
}

.tokyo-description-body {
    overflow-wrap: anywhere;
}

.tokyo-description-panel .panel-header {
    justify-content: flex-start;
}

.tokyo-description-panel .panel-title {
    font-size: clamp(1rem, 1.35vw, 1.45rem);
    letter-spacing: -0.04em;
}

.tokyo-query-form {
    display: flex;
    gap: 12px;
    align-items: center;
}

.tokyo-query-form .form-control {
    flex: 1;
}

.tokyo-empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 190px;
    text-align: center;
}

.tokyo-empty-state i {
    color: var(--tokyo-muted);
    font-size: 1.7rem;
}

.tokyo-empty-state h3 {
    margin: 0;
    color: var(--tokyo-black);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.tokyo-empty-state p {
    margin: 0;
    max-width: 520px;
    color: var(--tokyo-muted);
}

.order-list {
    display: grid;
    gap: 16px;
}

.order-item {
    padding: 20px;
    border: 1px solid var(--tokyo-border);
    border-radius: 20px;
    background: #fbfbfc;
}

.order-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--tokyo-border);
}

.order-left,
.order-right,
.order-basic,
.order-amount {
    display: grid;
    gap: 6px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--tokyo-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
}

.status-pending {
    background: rgba(171, 100, 0, 0.12);
    color: #8c5200;
}

.status-paid,
.status-shipped {
    background: rgba(26, 162, 81, 0.1);
    color: #127b3c;
}

.status-waiting-shipment {
    background: rgba(13, 116, 206, 0.1);
    color: var(--tokyo-link);
}

.order-no {
    color: var(--tokyo-black);
    font-size: 0.92rem;
    font-weight: 700;
}

.order-time,
.payment-time,
.payment-dst,
.amount-label {
    color: var(--tokyo-muted);
    font-size: 0.8rem;
}

.amount-value {
    color: var(--tokyo-black);
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.payment-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.goods-section {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
}

.goods-thumb {
    flex: 0 0 64px;
}

.goods-image {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid var(--tokyo-border);
}

.goods-details {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.goods-name {
    margin: 0;
    color: var(--tokyo-black);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.goods-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.goods-sku,
.shipment-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: var(--tokyo-radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
}

.a-badge-success,
.shipment-paid {
    background: rgba(26, 162, 81, 0.1);
    color: #127b3c;
}

.a-badge-primary {
    background: rgba(13, 116, 206, 0.1);
    color: var(--tokyo-link);
}

.a-badge-warning,
.shipment-waiting {
    background: rgba(171, 100, 0, 0.12);
    color: #8c5200;
}

.card-section {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--tokyo-border);
}

.shipment-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.card-display {
    padding: 14px;
    border: 1px solid var(--tokyo-border);
    border-radius: 16px;
    background: var(--tokyo-surface);
    color: var(--tokyo-text);
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.84rem;
    white-space: pre-wrap;
    word-break: break-all;
}

.password-form .input-group {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.password-form .form-control {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 38px;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.password-form .form-control:focus {
    background: transparent;
    box-shadow: none;
}

.view-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--tokyo-black) !important;
    border-radius: var(--tokyo-radius-pill) !important;
    border-top-left-radius: var(--tokyo-radius-pill) !important;
    border-bottom-left-radius: var(--tokyo-radius-pill) !important;
    background: var(--tokyo-black) !important;
    color: var(--tokyo-surface) !important;
    font-weight: 600;
    font-size: 0.82rem;
    box-shadow: none;
    flex: 0 0 auto;
}

.card-loading {
    margin-top: 12px;
}

.loading-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-bg);
    color: var(--tokyo-muted);
}

.tokyo-inline-note {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--tokyo-border);
    border-radius: 18px;
    background: var(--tokyo-bg);
    color: var(--tokyo-muted-strong);
}

.tokyo-notice-modal {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: min(calc(100vh - 40px), 760px);
    overflow: hidden;
}

.tokyo-notice-modal-head {
    display: grid;
    gap: 8px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--tokyo-border);
    background: linear-gradient(180deg, rgba(240, 240, 243, 0.58), rgba(255, 255, 255, 0));
}

.tokyo-notice-kicker {
    color: var(--tokyo-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tokyo-notice-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--tokyo-black);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.tokyo-notice-title i {
    color: var(--tokyo-muted-strong);
    font-size: 1rem;
}

.tokyo-notice-popup-inner {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px 14px 18px;
    color: var(--tokyo-text);
    font-size: 0.9rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
    overflow-y: auto;
}

.tokyo-notice-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 24px 12px;
}

.tokyo-notice-tip {
    margin: 0;
    padding: 0 24px 22px;
    text-align: right;
    color: var(--tokyo-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.tokyo-layer-popup {
    overflow: hidden;
    border: 1px solid var(--tokyo-border) !important;
    border-radius: 28px !important;
    background: var(--tokyo-surface) !important;
    box-shadow: var(--tokyo-shadow-elevated) !important;
}

.tokyo-layer-popup .layui-layer-content {
    overflow: hidden !important;
    background: var(--tokyo-surface);
}

.component-popup {
    border-radius: 28px !important;
    border: 1px solid var(--tokyo-border) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: var(--tokyo-shadow-elevated) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.component-popup .layui-layer-content {
    background: linear-gradient(180deg, rgba(248, 249, 252, 0.94) 0%, rgba(255, 255, 255, 0.96) 28%);
}

.component-popup .layui-layer-title {
    border-bottom: 1px solid rgba(220, 224, 231, 0.72) !important;
    background: rgba(255, 255, 255, 0.7) !important;
    color: var(--tokyo-black) !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
}

.component-popup .layui-layer-btn {
    border-top: 1px solid rgba(220, 224, 231, 0.72) !important;
    background: rgba(255, 255, 255, 0.72);
}

.component-popup .mcy-card {
    padding: 18px;
    border: 1px solid var(--tokyo-border);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(249, 250, 252, 0.96), rgba(255, 255, 255, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.component-popup .hex-query-form,
.component-popup .table-search {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 18px;
    padding: 4px;
    border: 1px solid var(--tokyo-border-strong);
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-surface);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.component-popup .hex-query-form .layui-input-inline,
.component-popup .table-search .layui-input-inline {
    float: none !important;
    display: flex;
    align-items: center;
    margin: 0 !important;
    width: auto !important;
    padding-top: 0 !important;
}

.component-popup .hex-query-form .layui-input-inline:first-child,
.component-popup .table-search .layui-input-inline:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.component-popup .hex-query-form .layui-input-inline:last-child,
.component-popup .table-search .layui-input-inline:last-child {
    flex: 0 0 auto;
}

.component-popup .hex-query-form .layui-input,
.component-popup .table-search .layui-input {
    height: 38px !important;
    min-height: 38px;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--tokyo-text);
    font-size: 0.86rem;
    box-shadow: none !important;
}

.component-popup .hex-query-form .layui-input:focus,
.component-popup .table-search .layui-input:focus {
    background: transparent !important;
    box-shadow: none !important;
}

.component-popup .hex-query-form .queryBtn,
.component-popup .hex-query-form .query-button,
.component-popup .table-search .queryBtn,
.component-popup .table-search .query-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 15px;
    border: 1px solid var(--tokyo-black) !important;
    border-radius: var(--tokyo-radius-pill);
    background: var(--tokyo-black) !important;
    color: #ffffff !important;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: none;
}

.component-popup .hex-query-form .queryBtn:hover,
.component-popup .hex-query-form .queryBtn:focus-visible,
.component-popup .hex-query-form .query-button:hover,
.component-popup .hex-query-form .query-button:focus-visible,
.component-popup .table-search .queryBtn:hover,
.component-popup .table-search .queryBtn:focus-visible,
.component-popup .table-search .query-button:hover,
.component-popup .table-search .query-button:focus-visible {
    background: #141922 !important;
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    .component-popup .hex-query-form,
    .component-popup .table-search {
        flex-wrap: wrap;
    }

    .component-popup .hex-query-form .layui-input-inline:first-child,
    .component-popup .table-search .layui-input-inline:first-child,
    .component-popup .hex-query-form .layui-input-inline:last-child,
    .component-popup .table-search .layui-input-inline:last-child {
        width: 100% !important;
    }

    .component-popup .hex-query-form .queryBtn,
    .component-popup .hex-query-form .query-button,
    .component-popup .table-search .queryBtn,
    .component-popup .table-search .query-button {
        width: 100%;
    }
}

.component-popup .bootstrap-table {
    color: var(--tokyo-text);
}

.component-popup .bootstrap-table .fixed-table-toolbar {
    margin: 0;
}

.component-popup .bootstrap-table .fixed-table-toolbar::after {
    display: none;
}

.component-popup .bootstrap-table .fixed-table-container {
    overflow: hidden;
    border: 1px solid rgba(221, 225, 232, 0.86);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.component-popup .bootstrap-table .fixed-table-container .table {
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
}

.component-popup .bootstrap-table .fixed-table-container .table thead th {
    background: #f6f7fa;
    color: var(--tokyo-muted-strong);
    font-size: 0.82rem !important;
    font-weight: 700;
    border-color: rgba(221, 225, 232, 0.9) !important;
}

.component-popup .bootstrap-table .fixed-table-container .table thead th .th-inner {
    padding: 16px 18px;
}

.component-popup .bootstrap-table .fixed-table-container .table tbody tr {
    font-size: 0.94rem !important;
    color: var(--tokyo-text);
}

.component-popup .bootstrap-table .fixed-table-container .table tbody tr:hover {
    background: rgba(17, 24, 39, 0.025);
}

.component-popup .bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background: rgba(17, 24, 39, 0.05);
}

.component-popup .bootstrap-table .fixed-table-container .table td {
    padding: 20px 18px;
    border-color: rgba(229, 232, 238, 0.84) !important;
    background: transparent;
    color: var(--tokyo-text);
    font-size: 0.94rem !important;
    line-height: 1.55;
}

.component-popup .bootstrap-table .fixed-table-container .table .bs-checkbox {
    width: 56px;
    text-align: center;
}

.component-popup .bootstrap-table .fixed-table-container .table .bs-checkbox input[type="radio"],
.component-popup .bootstrap-table .fixed-table-container .table .bs-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--tokyo-black);
    cursor: pointer;
}

.component-popup .bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
    padding: 28px 18px;
    color: var(--tokyo-muted);
    font-size: 0.9rem !important;
}

.component-popup .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.component-popup .bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
    color: var(--tokyo-muted);
}

.component-popup .bootstrap-table .a-badge-primary {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(10, 118, 170, 0.12);
    color: #0a76aa;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: none;
}

.component-popup .bootstrap-table .fixed-table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 4px 0;
}

.component-popup .bootstrap-table .fixed-table-pagination::after {
    display: none;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination-detail,
.component-popup .bootstrap-table .fixed-table-pagination > .pagination {
    float: none !important;
    margin: 0 !important;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--tokyo-muted);
    font-size: 0.82rem;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination {
    display: flex;
    align-items: center;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list,
.component-popup .bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
    margin: 0;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .btn {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(221, 225, 232, 0.9);
    border-radius: 12px !important;
    background: #ffffff;
    color: var(--tokyo-black);
    box-shadow: none;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
    padding: 8px;
    border: 1px solid rgba(221, 225, 232, 0.9);
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
    gap: 8px;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination ul.pagination .page-item .page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(221, 225, 232, 0.9);
    border-radius: 12px;
    background: #ffffff;
    color: var(--tokyo-muted-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination ul.pagination .page-item.active .page-link {
    border-color: var(--tokyo-black);
    background: var(--tokyo-black);
    color: #ffffff;
}

.component-popup .bootstrap-table .fixed-table-pagination > .pagination ul.pagination .page-item.disabled .page-link {
    background: rgba(244, 246, 248, 0.92);
    color: rgba(120, 126, 136, 0.72);
}

.tokyo-closed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.tokyo-footer {
    padding: 0 0 24px;
}

.tokyo-footer-wrap {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 20px;
    border: 1px solid var(--tokyo-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--tokyo-shadow-soft);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.tokyo-footer-wrap--single {
    justify-content: center;
}

.tokyo-footer-copy,
.tokyo-footer-icp {
    color: var(--tokyo-muted);
    font-size: 0.8rem;
}

.tokyo-footer-copy {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.icon-spin {
    animation: tokyo-spin 0.9s linear infinite;
}

@keyframes tokyo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1199px) {
    .tokyo-nav {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .tokyo-brand-wrap {
        width: 100%;
    }

    .tokyo-nav .navbar-collapse {
        width: 100%;
        margin-top: 12px;
    }

    .tokyo-nav-main {
        width: 100%;
        justify-content: flex-start;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(217, 217, 224, 0.9);
    }

    .tokyo-index-heading,
    .tokyo-catalog-heading {
        min-height: auto;
    }

    .tokyo-catalog-heading {
        padding-right: 22px;
    }

    .tokyo-catalog-tools {
        position: static;
        width: 100%;
    }

    .tokyo-nav-links {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .tokyo-nav-links .nav-item {
        width: 100%;
    }

    .tokyo-nav-tools {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tokyo-auth-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tokyo-auth-actions .tokyo-button {
        width: 100%;
    }

    .tokyo-user-dropdown {
        width: 100%;
    }

    .tokyo-user-chip {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .tokyo-shop-layout {
        grid-template-columns: 1fr;
    }

    .tokyo-sidebar-panel {
        position: static;
    }

    .tokyo-category-tree {
        max-height: none;
    }

    .tokyo-hero,
    .tokyo-item-header,
    .tokyo-query-header {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    body.tokyo-mobile-drawer-open {
        overflow: hidden;
    }

    .tokyo-shell,
    .tokyo-shell--narrow,
    .tokyo-nav-wrap,
    .tokyo-footer-wrap {
        width: calc(100% - 20px);
    }

    .tokyo-main {
        padding-bottom: 72px;
        margin-top: 18px;
    }

    .tokyo-nav-shell {
        position: static;
        z-index: auto;
        padding-top: 10px;
    }

    .tokyo-nav {
        border-radius: 28px;
        padding: 12px;
    }

    .tokyo-brand-wrap {
        align-items: center;
        gap: 12px;
    }

    .tokyo-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .tokyo-brand-name {
        font-size: 0.92rem;
    }

    .tokyo-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        padding: 0;
        flex: 0 0 52px;
    }

    .tokyo-nav-links {
        gap: 8px;
    }

    .tokyo-nav-link {
        width: 100%;
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid var(--tokyo-border-strong);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: none;
    }

    .tokyo-nav-tools {
        gap: 10px;
    }

    .tokyo-user-chip {
        min-height: 48px;
        justify-content: space-between;
        padding: 8px 12px 8px 8px;
    }

    .tokyo-user-dropdown {
        position: relative;
    }

    .tokyo-dropdown-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        margin-top: 8px !important;
        padding: 8px;
        border-radius: 20px;
        box-shadow: var(--tokyo-shadow-soft);
    }

    .tokyo-dropdown-divider-wrap {
        display: none;
    }

    .tokyo-dropdown-menu .dropdown-item {
        min-height: 76px;
        padding: 12px;
        border-radius: 14px;
        font-size: 0.94rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        border: 1px solid var(--tokyo-border-strong);
        background: rgba(255, 255, 255, 0.72);
    }

    .tokyo-dropdown-menu .dropdown-item i {
        width: auto;
        font-size: 1.05rem;
    }

    .tokyo-dropdown-entry-danger {
        grid-column: 1 / -1;
    }

    .tokyo-dropdown-entry-danger .dropdown-item {
        min-height: 46px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-color: rgba(222, 39, 39, 0.16);
        background: rgba(255, 250, 250, 0.96);
    }

    .panel-header,
    .panel-body,
    .order-item {
        padding-left: 18px;
        padding-right: 18px;
    }

    .tokyo-catalog-tools,
    .tokyo-query-form,
    .tokyo-footer-wrap,
    .order-header,
    .goods-section {
        flex-direction: column;
        align-items: stretch;
    }

    .tokyo-catalog-body {
        padding-top: 18px;
    }

    .tokyo-catalog-tools {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .tokyo-catalog-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .tokyo-index-panel-title {
        font-size: 1.18rem;
    }

    .tokyo-notice-actions {
        flex-direction: column-reverse;
    }

    .tokyo-notice-actions .tokyo-button {
        width: 100%;
    }

    .tokyo-notice-popup-inner {
        max-height: none;
    }

    .tokyo-search-combo {
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }

    .tokyo-searchbox-combo {
        min-height: 44px;
        border: 1px solid var(--tokyo-border-strong);
        border-radius: var(--tokyo-radius-pill);
        background: var(--tokyo-surface);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    }

    .tokyo-search-combo .tokyo-button {
        width: 100%;
    }

    .tokyo-mobile-filter-trigger {
        display: inline-flex;
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
    }

    .tokyo-shop-layout {
        position: relative;
        margin-top: 12px;
    }

    .tokyo-sidebar-panel {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1050;
        display: flex;
        flex-direction: column;
        width: min(84vw, 336px);
        height: auto;
        border-radius: 0 24px 24px 0;
        transform: translateX(calc(-100% - 12px));
        transition: transform 0.24s ease;
        box-shadow: var(--tokyo-shadow-elevated);
        overflow: hidden;
    }

    body.tokyo-mobile-drawer-open .tokyo-sidebar-panel {
        transform: translateX(0);
    }

    .tokyo-mobile-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        border: 0;
        background: rgba(28, 32, 36, 0.26);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    body.tokyo-mobile-drawer-open .tokyo-mobile-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .tokyo-mobile-sidebar-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid var(--tokyo-border-strong);
        border-radius: var(--tokyo-radius-pill);
        background: var(--tokyo-bg);
        color: var(--tokyo-text);
        flex: 0 0 34px;
    }

    .tokyo-sidebar-panel .panel-body {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        overflow: hidden;
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .tokyo-category-tree {
        align-content: start;
        grid-auto-rows: max-content;
        gap: 2px;
        flex: 1 1 auto;
        max-height: 100%;
        padding-right: 4px;
    }

    .tokyo-category-node {
        gap: 2px;
    }

    .tokyo-category-row {
        padding-left: calc(var(--tokyo-depth) * 12px);
    }

    .tokyo-category-link {
        padding: 7px 8px;
    }

    .tokyo-searchbox,
    .tokyo-query-form .form-control,
    .tokyo-button {
        width: 100%;
    }

    .tokyo-commodity-table,
    .tokyo-commodity-table thead,
    .tokyo-commodity-table tbody,
    .tokyo-commodity-table tr,
    .tokyo-commodity-table th,
    .tokyo-commodity-table td {
        display: block;
        width: 100%;
    }

    .tokyo-commodity-table thead {
        display: none;
    }

    .tokyo-commodity-table tbody tr {
        padding: 6px 0;
    }

    .tokyo-commodity-table tbody td {
        padding: 12px 16px;
        border-bottom: 0;
    }

    .tokyo-commodity-row td:nth-child(2),
    .tokyo-commodity-row td:nth-child(3),
    .tokyo-commodity-row td:nth-child(4),
    .tokyo-commodity-row td:nth-child(5) {
        display: none;
    }

    .tokyo-commodity-row {
        border-bottom: 1px solid var(--tokyo-border);
    }

    .tokyo-commodity-row:last-child {
        border-bottom: 0;
    }

    .tokyo-commodity-main,
    .tokyo-commodity-action {
        min-width: 0;
    }

    .tokyo-commodity-action {
        text-align: left;
        padding-top: 0;
    }

    .tokyo-commodity-price,
    .tokyo-commodity-muted {
        text-align: left;
    }

    .tokyo-commodity-price-stack {
        justify-items: start;
    }

    .tokyo-pill-mobile-only,
    .tokyo-commodity-tags .tokyo-pill-mobile-only,
    .tokyo-pill.tokyo-pill-mobile-meta,
    .tokyo-pill.tokyo-pill-mobile-price,
    .tokyo-pill.tokyo-pill-mobile-member {
        display: inline-flex !important;
    }

    .tokyo-commodity-tags {
        gap: 5px;
    }

    .tokyo-commodity-main {
        padding: 4px 0;
    }

    .tokyo-commodity-name {
        white-space: normal;
        line-height: 1.35;
    }

    .tokyo-commodity-table tbody td:not(.tokyo-commodity-main):not(.tokyo-commodity-action)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--tokyo-muted);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .tokyo-item-cover-card,
    .tokyo-item-cover-trigger {
        min-height: 280px;
    }

    .tokyo-item-cover-card {
        height: auto;
        min-height: 280px;
        aspect-ratio: 1 / 1;
    }

    .item-cover {
        min-height: 280px;
    }

    .tokyo-item-inline-title {
        font-size: 1.12rem;
        line-height: 1.16;
    }

    .tokyo-image-layer {
        border-radius: 24px !important;
    }

    .tokyo-image-layer .layui-layer-content {
        padding: 10px;
    }

    .tokyo-image-preview {
        min-width: 0;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .tokyo-image-preview img {
        max-width: calc(100vw - 44px);
        max-height: calc(100vh - 44px);
        border-radius: 18px;
    }

    .tokyo-item-cover-hint {
        right: 12px;
        bottom: 12px;
        min-height: 28px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .sku-list {
        padding-top: 4px;
    }

    .qty-group {
        width: 100%;
        max-width: none;
    }

    .badge-money {
        top: -10px;
        right: -10px;
        min-height: 20px;
        padding: 0 7px;
        font-size: 0.62rem;
    }

    .badge-money::after {
        left: 10px;
        bottom: -5px;
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 5px;
    }

    .password-form .input-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .password-form .form-control {
        width: 100%;
        min-height: 42px;
        height: auto;
        padding: 0 12px;
        border: 1px solid var(--tokyo-border-strong);
        border-radius: 14px !important;
        border-top-right-radius: 14px !important;
        border-bottom-right-radius: 14px !important;
        background: var(--tokyo-surface);
    }

    .password-form .view-card-btn {
        width: 100%;
        min-height: 42px;
        border-radius: var(--tokyo-radius-pill) !important;
        border-top-left-radius: var(--tokyo-radius-pill) !important;
        border-bottom-left-radius: var(--tokyo-radius-pill) !important;
    }
}

/* WEB3 glassmorphism override */
:root {
    --tokyo-bg: #edf4fb;
    --tokyo-surface: rgba(255, 255, 255, 0.84);
    --tokyo-black: #111827;
    --tokyo-text: #172033;
    --tokyo-muted: #5c6b80;
    --tokyo-muted-strong: #475569;
    --tokyo-muted-soft: #9aa8bc;
    --tokyo-link: #2563eb;
    --tokyo-border: rgba(190, 205, 225, 0.7);
    --tokyo-border-strong: rgba(166, 184, 209, 0.82);
    --tokyo-shadow-soft: 0 18px 42px rgba(37, 67, 103, 0.11);
    --tokyo-shadow-elevated: 0 24px 70px rgba(37, 67, 103, 0.17);
    --tokyo-radius-md: 14px;
    --tokyo-radius-lg: 20px;
    --web3-blue: #2563eb;
    --web3-cyan: #0ea5e9;
    --web3-green: #20c997;
    --web3-stock: #00b86b;
    --web3-price: #ff1493;
    --web3-ink: #111827;
}

body.tokyo-theme {
    background-color: var(--tokyo-bg);
    background-image:
        radial-gradient(circle at 9% 18%, rgba(37, 99, 235, 0.78) 0 3px, transparent 4px),
        radial-gradient(circle at 24% 42%, rgba(14, 165, 233, 0.46) 0 2px, transparent 4px),
        radial-gradient(circle at 49% 55%, rgba(37, 99, 235, 0.58) 0 3px, transparent 4px),
        radial-gradient(circle at 71% 24%, rgba(32, 201, 151, 0.38) 0 2px, transparent 4px),
        radial-gradient(circle at 91% 39%, rgba(37, 99, 235, 0.74) 0 3px, transparent 4px),
        linear-gradient(rgba(42, 63, 91, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 63, 91, 0.18) 1px, transparent 1px),
        linear-gradient(120deg, rgba(248, 251, 255, 0.92), rgba(221, 234, 247, 0.88));
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 92px 92px, 92px 92px, cover;
    background-attachment: fixed;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.tokyo-theme::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 74%, rgba(37, 99, 235, 0.72) 0 3px, transparent 4px),
        radial-gradient(circle at 58% 16%, rgba(14, 165, 233, 0.16) 0 4px, transparent 5px),
        radial-gradient(circle at 76% 72%, rgba(32, 201, 151, 0.18) 0 4px, transparent 5px),
        linear-gradient(135deg, transparent 49.8%, rgba(37, 99, 235, 0.12) 50%, transparent 50.2%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 520px 520px;
}

.tokyo-page-frame {
    position: relative;
    z-index: 1;
}

.tokyo-nav-shell {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(190, 205, 225, 0.72);
    box-shadow: 0 10px 30px rgba(28, 42, 64, 0.075);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.tokyo-nav-wrap,
.tokyo-shell {
    width: min(1120px, calc(100% - 32px));
}

.tokyo-main {
    margin-top: 16px;
}

.tokyo-nav {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.tokyo-brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.tokyo-brand-chip::after {
    display: none;
}

.tokyo-brand-name {
    color: #11945f;
    font-size: 1rem;
    letter-spacing: 0;
}

.tokyo-nav-links {
    gap: 10px;
}

.tokyo-nav-link,
.tokyo-button,
.tokyo-user-chip {
    border-radius: 10px;
}

.tokyo-nav-link {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(190, 205, 225, 0.78);
    background: rgba(255, 255, 255, 0.76);
    color: #263244;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(37, 67, 103, 0.08);
}

.tokyo-nav-link:hover,
.tokyo-nav-link.is-active {
    color: var(--web3-blue);
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.13);
}

.tokyo-auth-actions .tokyo-button-dark {
    border: 0;
    background: linear-gradient(135deg, var(--web3-cyan), var(--web3-blue));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 45px rgba(37, 67, 103, 0.13);
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
}

.panel-header {
    min-height: auto;
    padding: 18px 22px 12px;
    border-bottom: 1px solid rgba(190, 205, 225, 0.68);
}

.panel-body {
    padding: 18px 22px 22px;
}

.panel-kicker {
    margin: 0;
    color: #42536b;
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
}

.panel-title,
.tokyo-index-panel-title {
    color: #111827;
    letter-spacing: 0;
}

.tokyo-web3-notice-panel {
    margin-top: 0;
}

.tokyo-web3-search-panel {
    margin-top: 28px;
}

.tokyo-web3-panel-header {
    align-items: center;
}

.tokyo-web3-notice-body {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    color: #111827;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.85;
    word-break: break-all;
}

.tokyo-web3-notice-body * {
    max-width: 100%;
    font-size: 0.9rem !important;
    line-height: 1.85 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-all !important;
}

.tokyo-web3-notice-body h1,
.tokyo-web3-notice-body h2,
.tokyo-web3-notice-body h3 {
    font-size: 1rem !important;
    line-height: 1.75 !important;
}

.tokyo-web3-notice-body p,
.tokyo-web3-notice-body div {
    margin-bottom: 8px;
}

.tokyo-web3-notice-body a {
    overflow-wrap: anywhere;
}

.tokyo-web3-search-body {
    padding-top: 12px;
}

.tokyo-web3-search-combo {
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tokyo-web3-search-combo .tokyo-searchbox {
    height: 40px;
    border: 1px solid rgba(190, 205, 225, 0.86);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.72);
}

.tokyo-web3-search-combo .tokyo-button {
    min-width: 72px;
    min-height: 40px;
    border: 0;
    border-radius: 4px;
    background: var(--web3-green);
    color: #ffffff;
}

.tokyo-catalog-heading .tokyo-search-combo {
    display: none;
}

.tokyo-catalog-heading {
    padding-right: 22px;
}

.tokyo-shop-layout {
    grid-template-columns: 256px minmax(0, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.tokyo-index-heading,
.tokyo-catalog-heading {
    min-height: 72px;
}

.tokyo-sidebar-panel {
    top: 94px;
}

.tokyo-category-tree {
    gap: 0;
}

.tokyo-category-row {
    padding-left: calc(var(--tokyo-depth) * 12px);
}

.tokyo-category-link {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid rgba(211, 219, 230, 0.62);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tokyo-category-link:hover,
.tokyo-category-link.is-active {
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--web3-blue);
    box-shadow: none;
}

.tokyo-category-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
}

.tokyo-category-count {
    min-width: 26px;
    height: 22px;
    background: rgba(241, 245, 249, 0.92);
}

.tokyo-table-wrap {
    border-color: rgba(190, 205, 225, 0.74);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
}

.tokyo-commodity-table thead th {
    background: rgba(246, 250, 254, 0.82);
    color: #4b5563;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
}

.tokyo-commodity-table tbody td {
    border-bottom-color: rgba(190, 205, 225, 0.66);
}

.tokyo-commodity-row:hover {
    background: rgba(255, 255, 255, 0.78);
}

.tokyo-commodity-thumb {
    border-radius: 10px;
}

.tokyo-commodity-name {
    color: #374151;
    letter-spacing: 0;
}

.tokyo-commodity-price-main {
    color: var(--web3-price);
    font-weight: 800;
}

.tokyo-commodity-muted[data-label="搴撳瓨"] {
    color: var(--web3-stock);
    font-weight: 700;
}

.tokyo-commodity-table tbody td:nth-child(3).tokyo-commodity-muted {
    color: var(--web3-stock);
    font-weight: 700;
}

.tokyo-commodity-action-link {
    min-height: 34px;
    border: 1px solid rgba(255, 20, 147, 0.24);
    background: rgba(255, 255, 255, 0.82);
    color: #4b5563;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.1);
}

.tokyo-commodity-action-link:hover {
    color: var(--web3-price);
    background: #ffffff;
}

.tokyo-commodity-action-disabled {
    background: rgba(241, 245, 249, 0.82);
}

body.tokyo-theme .myuki-gcard_mask,
body.tokyo-theme .myuki-gcard_mini {
    display: none !important;
}

body.tokyo-theme.blur,
body.tokyo-theme .blur {
    filter: none !important;
}

@media (max-width: 1199.98px) {
    .tokyo-nav-main {
        padding-top: 14px;
    }

    .tokyo-nav-links {
        align-items: stretch;
    }
}

@media (max-width: 991.98px) {
    .tokyo-shop-layout {
        grid-template-columns: 1fr;
    }

    .tokyo-catalog-heading .tokyo-search-combo {
        display: flex;
    }

    .tokyo-web3-search-panel {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tokyo-nav-wrap,
    .tokyo-shell {
        width: min(100% - 20px, 1120px);
    }

    .panel {
        border-radius: 14px;
    }

    .panel-header,
    .panel-body {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.tokyo-web3-notice-panel:focus {
    outline: none;
}

@media (max-width: 1199.98px) {
    .tokyo-nav-toggle.navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 8px 20px rgba(37, 67, 103, 0.1);
        z-index: 2000;
    }
}

@media (max-width: 991.98px) {
    .tokyo-brand-wrap {
        position: relative;
        padding-right: 0;
    }

    .tokyo-nav-toggle.navbar-toggler {
        display: none !important;
    }

    .tokyo-nav-toggle .navbar-toggler-icon {
        display: none;
    }

    .tokyo-nav-toggle::before {
        content: "";
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 -6px 0 #ffffff, 0 6px 0 #ffffff;
    }

    .tokyo-nav .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .tokyo-nav-main {
        display: grid;
        gap: 12px;
    }

    .tokyo-nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tokyo-nav-link {
        justify-content: center;
    }

    .tokyo-web3-notice-body {
        max-height: 250px;
        overflow-x: hidden;
    }

    .tokyo-commodity-anchor {
        align-items: flex-start;
        max-width: 100%;
    }

    .tokyo-commodity-copy {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        max-width: calc(100% - 54px);
    }

    .tokyo-commodity-name {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .tokyo-commodity-tags {
        min-width: 0;
    }
}

/* Open announcement + refreshed background palette */
:root {
    --tokyo-bg: #f4f8fb;
    --tokyo-surface: rgba(255, 255, 255, 0.88);
    --tokyo-text: #142033;
    --tokyo-muted: #5a6b82;
    --tokyo-muted-strong: #405168;
    --tokyo-link: #2563eb;
    --tokyo-border: rgba(159, 183, 213, 0.48);
    --tokyo-border-strong: rgba(111, 147, 192, 0.62);
    --tokyo-shadow-soft: 0 18px 42px rgba(31, 48, 73, 0.1);
    --tokyo-shadow-elevated: 0 26px 70px rgba(31, 48, 73, 0.16);
    --web3-blue: #2563eb;
    --web3-cyan: #06b6d4;
    --web3-green: #10b981;
    --web3-price: #e11d8e;
    --web3-stock: #059669;
}

body.tokyo-theme {
    background-color: var(--tokyo-bg);
    background-image:
        linear-gradient(rgba(26, 44, 71, 0.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 44, 71, 0.065) 1px, transparent 1px),
        linear-gradient(135deg, #f8fbff 0%, #e8f7f2 34%, #f3f1ff 66%, #fff7ed 100%);
    background-size: 86px 86px, 86px 86px, cover;
    background-attachment: fixed;
}

body.tokyo-theme::before {
    background:
        linear-gradient(118deg, transparent 0 39%, rgba(37, 99, 235, 0.12) 39% 39.25%, transparent 39.25%),
        linear-gradient(63deg, transparent 0 64%, rgba(16, 185, 129, 0.12) 64% 64.24%, transparent 64.24%),
        linear-gradient(155deg, transparent 0 74%, rgba(225, 29, 142, 0.07) 74% 74.18%, transparent 74.18%);
    background-size: 720px 720px, 640px 640px, 820px 820px;
}

.tokyo-nav-shell {
    background: rgba(249, 252, 255, 0.9);
    border-bottom-color: rgba(111, 147, 192, 0.32);
    box-shadow: 0 14px 34px rgba(31, 48, 73, 0.08);
}

.tokyo-nav-link {
    border-color: rgba(148, 171, 204, 0.58);
    background: rgba(255, 255, 255, 0.78);
}

.tokyo-nav-link:hover,
.tokyo-nav-link.is-active {
    color: #0f5bd8;
    border-color: rgba(37, 99, 235, 0.32);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 247, 255, 0.92));
}

.panel {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 48px rgba(31, 48, 73, 0.12);
}

.panel-header {
    border-bottom-color: rgba(159, 183, 213, 0.5);
}

.tokyo-web3-notice-panel {
    overflow: visible;
    border-color: rgba(16, 185, 129, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 253, 255, 0.88)),
        linear-gradient(90deg, rgba(37, 99, 235, 0.16), rgba(16, 185, 129, 0.14), rgba(225, 29, 142, 0.08));
    box-shadow: 0 22px 52px rgba(18, 57, 91, 0.13);
}

.tokyo-web3-notice-panel .panel-header {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
}

.tokyo-web3-notice-panel .panel-kicker {
    color: #0f766e;
    font-weight: 800;
}

.tokyo-web3-notice-body {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    color: #13233a;
    font-size: 0.92rem;
    line-height: 1.82;
}

.tokyo-web3-notice-body *,
.tokyo-web3-notice-body p,
.tokyo-web3-notice-body div {
    max-height: none !important;
    overflow: visible !important;
}

.tokyo-web3-search-panel,
.tokyo-shop-layout {
    margin-top: 24px;
}

.tokyo-web3-search-combo .tokyo-button {
    background: linear-gradient(135deg, var(--web3-green), var(--web3-cyan));
    box-shadow: 0 10px 22px rgba(6, 182, 212, 0.2);
}

.tokyo-sidebar-panel,
.tokyo-catalog-panel {
    background: rgba(255, 255, 255, 0.84);
}

.tokyo-category-link:hover,
.tokyo-category-link.is-active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
}

.tokyo-table-wrap {
    background: rgba(255, 255, 255, 0.7);
}

.tokyo-commodity-table thead th {
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.94), rgba(239, 247, 255, 0.86));
}

@media (max-width: 991.98px) {
    .tokyo-web3-notice-body {
        max-height: none !important;
        overflow: visible !important;
    }
}

@media (max-width: 575.98px) {
    body.tokyo-theme {
        background-size: 58px 58px, 58px 58px, cover;
    }

    .tokyo-web3-notice-body {
        max-height: none !important;
        overflow: visible !important;
    }
}

@media (max-width: 575.98px) {
    .tokyo-brand-wrap {
        position: relative;
        padding-right: 54px;
    }

    .tokyo-nav-toggle.navbar-toggler {
        position: fixed;
        top: 16px;
        right: 14px;
        transform: none;
        color: #111827;
    }

    .tokyo-nav-toggle .navbar-toggler-icon {
        display: none;
    }

    .tokyo-nav-toggle::before {
        content: "☰";
        font-size: 22px;
        font-weight: 800;
        line-height: 1;
    }

    .tokyo-web3-notice-body {
        max-height: 250px;
        overflow-x: hidden;
    }

    .tokyo-web3-notice-body,
    .tokyo-web3-notice-body * {
        font-size: 0.82rem !important;
        line-height: 1.72 !important;
    }

    .tokyo-brand-name {
        max-width: calc(100vw - 98px);
    }

    .tokyo-commodity-anchor {
        align-items: flex-start;
        max-width: 100%;
    }

    .tokyo-commodity-copy {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
        max-width: calc(100% - 54px);
    }

    .tokyo-commodity-name {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-wrap: anywhere;
    }

    .tokyo-commodity-tags {
        min-width: 0;
    }
}

/* Final override: keep the notice fully expanded after all mobile rules. */
.tokyo-web3-notice-body {
    max-height: none !important;
    overflow: visible !important;
}

/* Mobile wrapping guard for long announcement text and URLs. */
body.tokyo-theme {
    overflow-x: hidden;
}

.tokyo-page-frame,
#pjax-container,
.tokyo-main,
.tokyo-shell,
.tokyo-web3-notice-panel,
.tokyo-web3-notice-body {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.tokyo-web3-notice-body {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.tokyo-web3-notice-body * {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.tokyo-web3-notice-body a {
    word-break: break-all !important;
}

.tokyo-web3-notice-body img,
.tokyo-web3-notice-body video,
.tokyo-web3-notice-body iframe,
.tokyo-web3-notice-body table {
    max-width: 100% !important;
    height: auto !important;
}

@media (max-width: 575.98px) {
    .tokyo-web3-notice-body h1,
    .tokyo-web3-notice-body h2,
    .tokyo-web3-notice-body h3 {
        font-size: 0.88rem !important;
    }
}

/* Cleaner background palette: lighter, quieter, less colorful. */
:root {
    --tokyo-bg: #f5f8fc;
    --tokyo-surface: rgba(255, 255, 255, 0.92);
    --tokyo-text: #142033;
    --tokyo-muted: #5c6b80;
    --tokyo-muted-strong: #405168;
    --tokyo-link: #2563eb;
    --tokyo-border: rgba(156, 178, 205, 0.46);
    --tokyo-border-strong: rgba(126, 151, 184, 0.58);
    --tokyo-shadow-soft: 0 18px 42px rgba(28, 41, 61, 0.08);
    --tokyo-shadow-elevated: 0 24px 64px rgba(28, 41, 61, 0.12);
    --web3-blue: #2563eb;
    --web3-cyan: #0ea5e9;
    --web3-green: #12a87f;
    --web3-price: #e11d8e;
    --web3-stock: #059669;
}

body.tokyo-theme {
    background-color: var(--tokyo-bg);
    background-image:
        linear-gradient(rgba(74, 98, 130, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 98, 130, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, #fafcff 0%, #f3f7fb 48%, #edf3f8 100%);
    background-size: 88px 88px, 88px 88px, cover;
    background-attachment: fixed;
}

body.tokyo-theme::before {
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.055), transparent 24%, transparent 76%, rgba(37, 99, 235, 0.045)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12));
}

.tokyo-nav-shell {
    background: rgba(249, 252, 255, 0.94);
    border-bottom-color: rgba(156, 178, 205, 0.36);
    box-shadow: 0 12px 30px rgba(28, 41, 61, 0.075);
}

.tokyo-nav-link {
    border-color: rgba(156, 178, 205, 0.56);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(28, 41, 61, 0.06);
}

.tokyo-nav-link:hover,
.tokyo-nav-link.is-active {
    color: var(--web3-blue);
    border-color: rgba(37, 99, 235, 0.28);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.1);
}

.panel {
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(28, 41, 61, 0.09);
}

.tokyo-web3-notice-panel {
    border-color: rgba(125, 173, 224, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.93)),
        linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.055));
    box-shadow: 0 20px 48px rgba(28, 41, 61, 0.095);
}

.tokyo-web3-notice-panel .panel-header {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.045), rgba(14, 165, 233, 0.035));
}

.tokyo-sidebar-panel,
.tokyo-catalog-panel,
.tokyo-web3-search-panel {
    background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 575.98px) {
    body.tokyo-theme {
        background-size: 64px 64px, 64px 64px, cover;
    }
}

/* Final background choice: cool gray tech grid, no rainbow wash. */
:root {
    --tokyo-bg: #eef2f7;
    --tokyo-surface: rgba(255, 255, 255, 0.94);
    --tokyo-text: #132033;
    --tokyo-muted: #53657c;
    --tokyo-muted-strong: #394b62;
    --tokyo-border: rgba(126, 146, 174, 0.46);
    --tokyo-border-strong: rgba(96, 121, 154, 0.58);
    --tokyo-shadow-soft: 0 18px 42px rgba(24, 36, 56, 0.09);
    --tokyo-shadow-elevated: 0 24px 64px rgba(24, 36, 56, 0.14);
}

body.tokyo-theme {
    background-color: var(--tokyo-bg);
    background-image:
        radial-gradient(circle at 8% 18%, rgba(37, 99, 235, 0.38) 0 2px, transparent 3px),
        radial-gradient(circle at 25% 43%, rgba(14, 165, 233, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 74% 31%, rgba(37, 99, 235, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 72%, rgba(14, 165, 233, 0.24) 0 2px, transparent 3px),
        linear-gradient(rgba(47, 64, 87, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 64, 87, 0.1) 1px, transparent 1px),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f7 52%, #e6edf5 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 86px 86px, 86px 86px, cover;
    background-attachment: fixed;
}

body.tokyo-theme::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.48), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.44));
}

.tokyo-nav-shell {
    background: rgba(247, 249, 252, 0.96);
    border-bottom-color: rgba(126, 146, 174, 0.36);
}

.panel,
.tokyo-sidebar-panel,
.tokyo-catalog-panel,
.tokyo-web3-search-panel {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.9);
}

.tokyo-web3-notice-panel {
    border-color: rgba(96, 121, 154, 0.32);
    background: rgba(255, 255, 255, 0.94);
}

.tokyo-web3-notice-panel .panel-header {
    background: rgba(241, 245, 249, 0.76);
}

@media (max-width: 575.98px) {
    body.tokyo-theme {
        background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 62px 62px, 62px 62px, cover;
    }
}

/* Aurora commerce redesign: dark background with readable light content panels. */
:root {
    --tokyo-bg: #101820;
    --tokyo-surface: rgba(250, 253, 255, 0.94);
    --tokyo-black: #101820;
    --tokyo-text: #142033;
    --tokyo-muted: #5a687a;
    --tokyo-muted-strong: #39495d;
    --tokyo-link: #1478d4;
    --tokyo-border: rgba(87, 127, 150, 0.28);
    --tokyo-border-strong: rgba(44, 177, 143, 0.34);
    --tokyo-shadow-soft: 0 22px 54px rgba(6, 14, 22, 0.28);
    --tokyo-shadow-elevated: 0 30px 76px rgba(6, 14, 22, 0.34);
    --web3-blue: #2f80ed;
    --web3-cyan: #12d6c5;
    --web3-green: #20c997;
    --web3-price: #f04f9f;
    --web3-stock: #12a86f;
}

body.tokyo-theme {
    background-color: #101820;
    background-image:
        linear-gradient(112deg, rgba(18, 214, 197, 0.24), transparent 31%),
        linear-gradient(248deg, rgba(240, 79, 159, 0.13), transparent 34%),
        repeating-linear-gradient(0deg, rgba(219, 249, 255, 0.075) 0 1px, transparent 1px 76px),
        repeating-linear-gradient(90deg, rgba(219, 249, 255, 0.075) 0 1px, transparent 1px 76px),
        linear-gradient(180deg, #15222c 0%, #10231f 48%, #171827 100%);
    background-size: cover, cover, 76px 76px, 76px 76px, cover;
    background-attachment: fixed;
}

body.tokyo-theme::before {
    background:
        linear-gradient(135deg, transparent 0 43%, rgba(18, 214, 197, 0.16) 43% 43.12%, transparent 43.12%),
        linear-gradient(58deg, transparent 0 68%, rgba(240, 79, 159, 0.12) 68% 68.14%, transparent 68.14%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 42%);
    background-size: 820px 820px, 760px 760px, cover;
}

.tokyo-nav-shell {
    background: rgba(13, 22, 30, 0.86);
    border-bottom-color: rgba(32, 201, 151, 0.24);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.tokyo-brand-name {
    color: #5ff0c8;
}

.tokyo-brand-mark {
    border-color: rgba(95, 240, 200, 0.72);
    box-shadow: 0 0 0 4px rgba(95, 240, 200, 0.08), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.tokyo-nav-link {
    border-color: rgba(95, 240, 200, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(244, 251, 255, 0.88);
    box-shadow: none;
}

.tokyo-nav-link:hover,
.tokyo-nav-link.is-active {
    color: #062018;
    border-color: rgba(95, 240, 200, 0.5);
    background: linear-gradient(135deg, #5ff0c8, #d9fff3);
    box-shadow: 0 14px 34px rgba(32, 201, 151, 0.22);
}

.tokyo-user-chip,
.tokyo-auth-actions .tokyo-button-light {
    border-color: rgba(95, 240, 200, 0.24);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(244, 251, 255, 0.92);
}

.tokyo-auth-actions .tokyo-button-dark {
    background: linear-gradient(135deg, #12d6c5, #20c997);
    color: #071d18;
    box-shadow: 0 14px 34px rgba(32, 201, 151, 0.24);
}

.tokyo-user-balance {
    color: rgba(219, 249, 255, 0.72);
}

.panel,
.tokyo-sidebar-panel,
.tokyo-catalog-panel,
.tokyo-web3-search-panel {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(250, 253, 255, 0.92);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.panel-header {
    border-bottom-color: rgba(87, 127, 150, 0.22);
    background: rgba(246, 252, 255, 0.72);
}

.tokyo-web3-notice-panel {
    border-color: rgba(32, 201, 151, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 253, 251, 0.93)),
        linear-gradient(90deg, rgba(18, 214, 197, 0.12), rgba(240, 79, 159, 0.06));
}

.tokyo-web3-notice-panel .panel-header {
    background: linear-gradient(90deg, rgba(18, 214, 197, 0.12), rgba(240, 79, 159, 0.055));
}

.tokyo-web3-notice-panel .panel-kicker {
    color: #087866;
}

.tokyo-web3-search-combo .tokyo-button {
    background: linear-gradient(135deg, #12d6c5, #20c997);
    color: #061b16;
    box-shadow: 0 12px 26px rgba(32, 201, 151, 0.22);
}

.tokyo-category-link:hover,
.tokyo-category-link.is-active {
    background: linear-gradient(90deg, rgba(18, 214, 197, 0.11), rgba(47, 128, 237, 0.06));
    color: #0a7565;
}

.tokyo-commodity-action-link {
    border-color: rgba(240, 79, 159, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

.tokyo-commodity-action-link:hover {
    color: #d92f85;
    border-color: rgba(240, 79, 159, 0.38);
}

@media (max-width: 991.98px) {
    .tokyo-nav-main {
        padding-top: 14px;
    }

    .tokyo-nav-links {
        gap: 9px;
    }
}

@media (max-width: 575.98px) {
    body.tokyo-theme {
        background-size: cover, cover, 58px 58px, 58px 58px, cover;
    }

    .tokyo-nav-shell {
        background: rgba(13, 22, 30, 0.92);
    }
}

/* Warm option 1: sunrise coral, soft glass panels, low eye strain. */
:root {
    --tokyo-bg: #fff8f1;
    --tokyo-surface: rgba(255, 255, 255, 0.82);
    --tokyo-black: #132033;
    --tokyo-text: #132033;
    --tokyo-muted: #65758a;
    --tokyo-muted-strong: #43546a;
    --tokyo-link: #1478d4;
    --tokyo-border: rgba(140, 164, 190, 0.28);
    --tokyo-border-strong: rgba(23, 185, 137, 0.26);
    --tokyo-shadow-soft: 0 22px 54px rgba(31, 48, 73, 0.14);
    --tokyo-shadow-elevated: 0 30px 74px rgba(31, 48, 73, 0.18);
    --web3-blue: #2f80ed;
    --web3-cyan: #2cc8d8;
    --web3-green: #17b989;
    --web3-stock: #16a36a;
    --web3-price: #f04f9f;
}

body.tokyo-theme {
    background-color: #fff8f1;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 154, 136, 0.58) 0 90px, transparent 290px),
        radial-gradient(circle at 82% 25%, rgba(114, 222, 206, 0.45) 0 90px, transparent 310px),
        radial-gradient(circle at 50% 88%, rgba(255, 212, 120, 0.32) 0 90px, transparent 320px),
        linear-gradient(135deg, #fff8f1 0%, #f2fbf8 48%, #f7f3ff 100%);
    background-size: cover;
    background-attachment: fixed;
}

body.tokyo-theme::before {
    background:
        linear-gradient(120deg, transparent 0 33%, rgba(255, 154, 136, 0.16) 33% 33.08%, transparent 33.08%),
        linear-gradient(38deg, transparent 0 68%, rgba(114, 222, 206, 0.15) 68% 68.08%, transparent 68.08%),
        linear-gradient(90deg, rgba(70, 95, 120, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(70, 95, 120, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 86px 86px, 86px 86px;
}

.tokyo-nav-shell {
    background: rgba(255, 255, 255, 0.66);
    border-bottom-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 34px rgba(31, 48, 73, 0.08);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.tokyo-brand-name {
    color: #12805f;
}

.tokyo-brand-mark {
    border-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(31, 48, 73, 0.12);
}

.tokyo-nav-link {
    border-color: rgba(136, 164, 195, 0.28);
    background: rgba(255, 255, 255, 0.68);
    color: #213349;
    box-shadow: 0 10px 22px rgba(31, 48, 73, 0.08);
}

.tokyo-nav-link:hover,
.tokyo-nav-link.is-active {
    color: #0f6a57;
    border-color: rgba(23, 185, 137, 0.28);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(223, 255, 246, 0.86));
    box-shadow: 0 12px 26px rgba(23, 185, 137, 0.14);
}

.tokyo-user-chip,
.tokyo-auth-actions .tokyo-button-light {
    border-color: rgba(136, 164, 195, 0.28);
    background: rgba(255, 255, 255, 0.7);
    color: #213349;
    box-shadow: 0 10px 22px rgba(31, 48, 73, 0.08);
}

.tokyo-user-balance {
    color: #65758a;
}

.tokyo-auth-actions .tokyo-button-dark,
.tokyo-web3-search-combo .tokyo-button {
    border: 0;
    color: #073927;
    background: linear-gradient(135deg, #28d2ae, #7beac8);
    box-shadow: 0 14px 28px rgba(32, 201, 151, 0.18);
}

.panel,
.tokyo-sidebar-panel,
.tokyo-catalog-panel,
.tokyo-web3-search-panel {
    border-color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 54px rgba(31, 48, 73, 0.14);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.panel-header,
.tokyo-web3-notice-panel .panel-header {
    border-bottom-color: rgba(140, 164, 190, 0.22);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(245, 252, 250, 0.66)),
        linear-gradient(90deg, rgba(255, 154, 136, 0.08), rgba(114, 222, 206, 0.06));
}

.panel-kicker,
.tokyo-web3-notice-panel .panel-kicker {
    color: #0f766e;
}

.tokyo-web3-notice-panel {
    border-color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 255, 253, 0.82)),
        linear-gradient(90deg, rgba(255, 154, 136, 0.08), rgba(114, 222, 206, 0.08));
}

.tokyo-web3-notice-body {
    background: rgba(255, 255, 255, 0.44);
    color: #132033;
}

.tokyo-searchbox,
.tokyo-web3-search-combo .tokyo-searchbox {
    border-color: rgba(136, 164, 195, 0.34);
    background: rgba(255, 255, 255, 0.72);
}

.tokyo-category-link:hover,
.tokyo-category-link.is-active {
    color: #1478d4;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 8px 20px rgba(31, 48, 73, 0.08);
}

.tokyo-table-wrap {
    border-color: rgba(136, 164, 195, 0.24);
    background: rgba(255, 255, 255, 0.62);
}

.tokyo-commodity-table thead th {
    background: rgba(245, 250, 253, 0.76);
}

.tokyo-commodity-action-link {
    border-color: rgba(240, 79, 159, 0.26);
    background: rgba(255, 255, 255, 0.84);
}

.tokyo-commodity-action-link:hover {
    color: #d92f85;
    border-color: rgba(240, 79, 159, 0.38);
    background: #ffffff;
}

@media (max-width: 575.98px) {
    body.tokyo-theme {
        background-size: cover;
    }

    body.tokyo-theme::before {
        background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
    }

    .tokyo-nav-shell {
        background: rgba(255, 255, 255, 0.74);
    }
}

/* Showcase redesign: make the first viewport feel like a polished shop, not a notice page. */
.tokyo-main {
    margin-top: 22px;
}

.tokyo-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
    gap: 28px;
    min-height: 264px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 255, 251, 0.66)),
        radial-gradient(circle at 8% 22%, rgba(255, 154, 136, 0.24), transparent 34%),
        radial-gradient(circle at 86% 24%, rgba(114, 222, 206, 0.22), transparent 36%);
    box-shadow: 0 28px 72px rgba(31, 48, 73, 0.16);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.tokyo-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(122deg, transparent 0 38%, rgba(255, 154, 136, 0.18) 38% 38.12%, transparent 38.12%),
        linear-gradient(42deg, transparent 0 66%, rgba(114, 222, 206, 0.18) 66% 66.12%, transparent 66.12%),
        linear-gradient(90deg, rgba(70, 95, 120, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(70, 95, 120, 0.04) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 82px 82px, 82px 82px;
}

.tokyo-showcase-copy,
.tokyo-showcase-orbit {
    position: relative;
    z-index: 1;
}

.tokyo-showcase-copy {
    display: grid;
    align-content: center;
    gap: 16px;
    min-width: 0;
}

.tokyo-showcase-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(23, 185, 137, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #12805f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.tokyo-showcase h1 {
    margin: 0;
    max-width: 720px;
    color: #102033;
    font-size: clamp(2rem, 5vw, 4.15rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0;
}

.tokyo-showcase p {
    margin: 0;
    color: #52657c;
    font-size: 1.05rem;
    font-weight: 800;
}

.tokyo-showcase-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    max-width: 680px;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 34px rgba(31, 48, 73, 0.08);
}

.tokyo-showcase-search .tokyo-searchbox {
    height: 48px;
    border: 0;
    background: transparent;
}

.tokyo-showcase-search .tokyo-button {
    min-width: 92px;
    min-height: 48px;
    border-radius: 14px;
}

.tokyo-showcase-orbit {
    min-height: 210px;
}

.tokyo-orbit-card {
    position: absolute;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 24px 50px rgba(31, 48, 73, 0.13);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.tokyo-orbit-card i {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(40, 210, 174, 0.18), rgba(47, 128, 237, 0.14));
    color: #12805f;
    font-size: 1rem;
}

.tokyo-orbit-card span {
    color: #65758a;
    font-size: 0.76rem;
    font-weight: 900;
}

.tokyo-orbit-card strong {
    color: #102033;
    font-size: 1.1rem;
    line-height: 1.1;
    font-weight: 950;
}

.tokyo-orbit-card-main {
    top: 26px;
    left: 16px;
    right: 38px;
    min-height: 118px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 255, 250, 0.7)),
        linear-gradient(120deg, rgba(255, 154, 136, 0.12), rgba(114, 222, 206, 0.12));
}

.tokyo-orbit-card-main i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
}

.tokyo-orbit-card-delivery {
    left: 0;
    bottom: 20px;
    width: min(52%, 220px);
}

.tokyo-orbit-card-delivery strong {
    color: #12805f;
}

.tokyo-orbit-card-support {
    right: 0;
    bottom: 0;
    width: min(48%, 210px);
}

.tokyo-orbit-card-support i {
    background: linear-gradient(135deg, rgba(255, 154, 136, 0.18), rgba(255, 212, 120, 0.18));
    color: #b45309;
}

.tokyo-orbit-card-support strong {
    color: #b45309;
}

.tokyo-web3-search-panel {
    display: none;
}

.tokyo-shop-layout {
    margin-top: 24px;
    grid-template-columns: 264px minmax(0, 1fr);
}

.tokyo-sidebar-panel,
.tokyo-catalog-panel {
    border-radius: 22px;
}

.tokyo-catalog-panel {
    min-height: 0;
}

.tokyo-web3-notice-panel {
    margin-top: 28px;
}

@media (max-width: 991.98px) {
    .tokyo-showcase {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .tokyo-shop-layout {
        grid-template-columns: 1fr;
    }

    .tokyo-showcase-orbit {
        min-height: 160px;
    }

    .tokyo-orbit-card-main {
        top: 0;
    }
}

@media (max-width: 575.98px) {
    .tokyo-main {
        margin-top: 14px;
    }

    .tokyo-showcase {
        padding: 20px;
        border-radius: 20px;
        min-height: auto;
    }

    .tokyo-showcase h1 {
        font-size: 2rem;
    }

    .tokyo-showcase-search {
        grid-template-columns: 1fr;
        max-width: 100%;
        min-width: 0;
    }

    .tokyo-showcase-search .tokyo-button {
        width: 100%;
        min-width: 0;
    }

    .tokyo-showcase-search .tokyo-searchbox {
        width: 100%;
        min-width: 0;
    }

    .tokyo-showcase-orbit {
        display: none;
    }

    .tokyo-shop-layout {
        margin-top: 16px;
    }

    .tokyo-web3-notice-panel {
        margin-top: 18px;
    }

    .tokyo-table-wrap {
        overflow: hidden;
    }

    .tokyo-commodity-table,
    .tokyo-commodity-table tbody,
    .tokyo-commodity-table tr,
    .tokyo-commodity-table td {
        display: block;
        width: 100%;
    }

    .tokyo-commodity-table thead,
    .tokyo-commodity-price,
    .tokyo-commodity-muted,
    .tokyo-commodity-action {
        display: none !important;
    }

    .tokyo-commodity-row {
        border-bottom: 1px solid rgba(136, 164, 195, 0.22);
    }

    .tokyo-commodity-row:last-child {
        border-bottom: 0;
    }

    .tokyo-commodity-main {
        min-width: 0;
        padding: 14px 16px !important;
    }

    .tokyo-commodity-anchor {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .tokyo-commodity-copy {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .tokyo-commodity-name {
        display: -webkit-box;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 0.92rem;
        line-height: 1.38;
    }

    .tokyo-commodity-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
        max-width: 100%;
    }
}

/* Stable showcase feature-card layout: no overlap, no floating surprises. */
.tokyo-showcase-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 14px;
    min-height: 210px;
}

.tokyo-orbit-card,
.tokyo-orbit-card-main,
.tokyo-orbit-card-delivery,
.tokyo-orbit-card-support {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
}

.tokyo-orbit-card {
    min-height: 94px;
}

.tokyo-orbit-card-main {
    grid-column: 1 / -1;
    min-height: 118px;
}

.tokyo-orbit-card-delivery,
.tokyo-orbit-card-support {
    min-height: 92px;
}

@media (max-width: 991.98px) {
    .tokyo-showcase-orbit {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    .tokyo-showcase-orbit {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .tokyo-item-panel,
    .tokyo-description-panel {
        max-width: calc(100vw - 20px);
        overflow: hidden;
    }

    .tokyo-item-panel .panel-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tokyo-item-panel .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .tokyo-item-panel .row > [class*="col-"] {
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .tokyo-item-cover-card,
    .tokyo-item-form-wrap {
        width: 100% !important;
        max-width: calc(100vw - 48px);
    }

    .tokyo-item-cover-hint {
        right: 10px;
        width: 34px;
        padding: 0;
        justify-content: center;
        max-width: calc(100% - 20px);
    }

    .tokyo-item-cover-hint span {
        display: none;
    }
}

