.edge-modern .edge-shop { --edge-shop-ease: cubic-bezier(.2,.8,.2,1); --edge-shop-fade: 180ms var(--edge-shop-ease); min-height: 0; padding: 0 0 72px; color: var(--edge-text-primary); }
.edge-shop > * { transition: opacity 120ms ease-out; }
.edge-shop.is-busy > :not(.edge-shop__hero):not(.edge-shop__subnav):not(.edge-shop__crumbs) { opacity: .55; }
.edge-shop.is-entering > :not(.edge-shop__hero):not(.edge-shop__subnav):not(.edge-shop__types):not(.edge-shop__controls):not(.edge-shop__crumbs) { animation: edge-shop-enter 140ms ease-out backwards; }
@keyframes edge-shop-enter { from { opacity: .35; } to { opacity: 1; } }

.edge-shop__hero { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.edge-shop__eyebrow { margin: 0 0 7px; color: var(--edge-text-muted); font: 700 11px/1.4 var(--font-family-roboto-mono, monospace); letter-spacing: .1em; }
.edge-modern .edge-shop__hero h1 { margin: 0; color: var(--edge-text-primary); font-size: 28px; font-weight: 700; line-height: 1.25; }
.edge-shop__hero-text > p:last-child { max-width: 680px; margin: 7px 0 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.6; }
.edge-shop__hero-side { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.edge-modern .edge-shop__wallet { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-sm); color: var(--edge-text-secondary); font-size: 13px; white-space: nowrap; transition: background-color var(--edge-shop-fade), border-color var(--edge-shop-fade); }
.edge-modern .edge-shop__wallet:hover { border-color: var(--edge-border); background: var(--edge-surface-hover); color: var(--edge-text-secondary); }
.edge-shop__wallet i { color: var(--edge-highlight); font-size: 14px; }
.edge-shop__wallet strong { color: var(--edge-text-primary); font-size: 17px; font-variant-numeric: tabular-nums; }

.edge-shop__subnav { display: flex; gap: 8px; min-height: 38px; margin: 0 0 16px; overflow-x: auto; border-bottom: 1px solid var(--edge-border); scrollbar-width: none; }
.edge-shop__subnav::-webkit-scrollbar { display: none; }
.edge-modern .edge-shop__subnav a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 0 10px; color: var(--edge-text); font-size: 16px; white-space: nowrap; transition: color var(--edge-transition-fast); }
.edge-shop__subnav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--edge-primary); transform: scaleX(0); transition: transform var(--edge-transition-fast); }
.edge-modern .edge-shop__subnav a:hover, .edge-modern .edge-shop__subnav a[aria-current], .edge-modern .edge-shop__subnav a.is-pending { color: var(--edge-primary); }
.edge-shop__subnav a[aria-current]::after, .edge-shop__subnav a.is-pending::after { transform: scaleX(1); }
.edge-shop__subnav a b { display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 5px; border-radius: var(--edge-radius-pill); background: var(--edge-primary); color: var(--edge-primary-fg); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.edge-shop__subnav a b[hidden] { display: none; }

.edge-shop__types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.edge-modern .edge-shop__types a { flex: 0 0 auto; padding: 3px 10px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-pill); color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; white-space: nowrap; transition: background-color var(--edge-transition-fast), border-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .edge-shop__types a:hover { border-color: var(--edge-border); background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .edge-shop__types a:active { background: var(--edge-surface-active); }
.edge-modern .edge-shop__types a[aria-current], .edge-modern .edge-shop__types a.is-pending { border-color: color-mix(in srgb, var(--edge-primary) 40%, transparent); background: var(--edge-primary-low); color: var(--edge-primary); }
.edge-shop__controls { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 16px; border-bottom: 1px solid var(--edge-border); }
.edge-shop__count { color: var(--edge-text-muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.edge-shop__sort { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; margin-left: auto; }
.edge-modern .edge-shop__sort a { padding: 4px 10px; border-radius: var(--edge-radius-sm); color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; white-space: nowrap; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .edge-shop__sort a:hover { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .edge-shop__sort a[aria-current], .edge-modern .edge-shop__sort a.is-pending { background: var(--edge-surface-active); color: var(--edge-text-primary); font-weight: 600; }

.edge-shop__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 4px; margin: 0 -8px; padding: 0; list-style: none; }
.edge-shop__grid > li { display: flex; min-width: 0; }
.edge-modern .edge-shop-card { position: relative; isolation: isolate; display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 8px 8px 10px; border-radius: 12px; color: inherit; }
.edge-shop-card::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 12px; background: color-mix(in srgb, var(--edge-text-primary) 5%, transparent); opacity: 0; transition: opacity var(--edge-shop-fade); }
.edge-shop-card.is-pending::before { opacity: 1; }
.edge-shop-card:focus-visible { outline: 2px solid var(--edge-primary); outline-offset: 0; }
.edge-shop-card__media { position: relative; display: grid; aspect-ratio: 1; place-items: center; overflow: hidden; border-radius: 8px; background: var(--edge-surface-active); color: var(--edge-text-disabled); font-size: 44px; }
.edge-shop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--edge-shop-ease), opacity 260ms ease; }
.edge-shop-card.is-soldout .edge-shop-card__media img { filter: grayscale(.9); opacity: .55; }
.edge-shop-card__media img.is-loading, .edge-shop-detail__media img.is-loading { opacity: 0; }
.edge-shop-flag { display: inline-block; padding: 0 8px; border-radius: var(--edge-radius-sm); background: var(--edge-highlight); color: #fff; font-size: 12.13px; font-weight: 600; line-height: 22px; white-space: nowrap; }
.edge-shop-flag--muted { background: rgba(0, 0, 0, .62); }
.edge-shop-card__media .edge-shop-flag { position: absolute; top: 8px; left: 8px; }
.edge-shop-card__kind { overflow: hidden; margin-top: 10px; color: var(--edge-text-muted); font-size: 12.13px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.edge-shop-card__name { display: -webkit-box; overflow: hidden; margin-top: 2px; color: var(--edge-text-primary); font-size: 15px; font-weight: 600; line-height: 1.4; transition: color var(--edge-shop-fade); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.edge-shop-card__foot { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 8px; }
.edge-shop-card__foot .edge-shop-coin { font-size: 16px; }
.edge-shop-card__foot em { margin-left: auto; color: var(--edge-text-muted); font-size: 12.13px; font-style: normal; white-space: nowrap; }
.edge-shop-card__foot em.is-low { color: var(--edge-warning); }
.edge-shop-coin { display: inline-flex; align-items: center; gap: 4px; color: var(--edge-highlight); font-weight: 700; font-variant-numeric: tabular-nums; }
.edge-shop-coin i { font-size: .8em; }
.edge-shop del { color: var(--edge-text-muted); font-size: 13px; font-weight: 400; }
@media (hover: hover) {
  .edge-shop-card:hover::before { opacity: 1; }
  .edge-shop-card:hover .edge-shop-card__name { color: var(--edge-primary); }
  .edge-shop-card:hover .edge-shop-card__media img { transform: scale(1.035); }
}

.edge-shop__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.edge-shop__info.is-single { grid-template-columns: minmax(0, 1fr); }
.edge-shop-box { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); scroll-margin-top: calc(var(--edge-header-height) + 16px); }
.edge-shop-box h2 { margin: 0 0 12px; color: var(--edge-text-primary); font-size: 15px; font-weight: 700; line-height: 1.4; }
.edge-shop-box__foot { margin: auto 0 0; padding-top: 14px; color: var(--edge-text-secondary); font-size: 13px; line-height: 1.6; }
.edge-shop-box__foot a { margin-left: 10px; }
.edge-shop-earn, .edge-shop-feed { display: grid; margin: 0; padding: 0; list-style: none; }
.edge-shop-earn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.edge-shop-earn li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 10px; }
.edge-shop-earn li > i { margin-top: 3px; color: var(--edge-text-muted); font-size: 14px; text-align: center; }
.edge-shop-earn b, .edge-shop-earn a { color: var(--edge-text-primary); font-size: 14px; font-weight: 600; }
.edge-modern .edge-shop-earn a { color: var(--edge-link); }
.edge-shop-earn em { margin-left: 8px; color: var(--edge-highlight); font-size: 13px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.edge-shop-earn span { display: block; margin-top: 1px; color: var(--edge-text-secondary); font-size: 12.5px; line-height: 1.5; }
.edge-shop-feed li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--edge-text-secondary); font-size: 13px; line-height: 1.5; }
.edge-shop-feed li > span { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.edge-shop-feed b { color: var(--edge-text-primary); font-weight: 600; }
.edge-shop-feed time { flex: none; color: var(--edge-text-muted); font-size: 12.13px; }

.edge-shop__crumbs { display: flex; align-items: center; gap: 8px; min-height: 38px; margin-bottom: 20px; border-bottom: 1px solid var(--edge-border); color: var(--edge-text-muted); font-size: 14px; white-space: nowrap; }
.edge-shop__crumbs > i { font-size: 10px; }
.edge-modern .edge-shop__crumbs a { color: var(--edge-text-secondary); transition: color var(--edge-transition-fast); }
.edge-modern .edge-shop__crumbs a:hover, .edge-modern .edge-shop__crumbs a.is-pending { color: var(--edge-primary); }
.edge-shop__crumbs > span:not(.edge-shop__crumbs-side) { overflow: hidden; min-width: 0; color: var(--edge-text-primary); text-overflow: ellipsis; }
.edge-shop__crumbs-side { display: flex; flex: none; gap: 16px; margin-left: auto; padding-left: 12px; }
.edge-shop__crumbs-side a { display: inline-flex; align-items: center; gap: 6px; }
.edge-shop-admin .edge-shop__crumbs { margin-top: -4px; border-bottom: 0; margin-bottom: 8px; }

.edge-shop-detail { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); align-items: start; gap: 40px; }
.edge-shop-detail__main { position: sticky; top: calc(var(--edge-header-height) + 16px); min-width: 0; }
.edge-shop-detail__media { position: relative; display: grid; aspect-ratio: 1; background-position: center; background-size: cover; place-items: center; overflow: hidden; border-radius: 12px; background: var(--edge-surface-active); color: var(--edge-text-disabled); font-size: 72px; }
.edge-shop-detail__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms ease; }
.edge-shop-detail__media img.is-medal { position: static; width: auto; min-width: 120px; height: auto; object-fit: contain; image-rendering: -webkit-optimize-contrast; }
.edge-shop-detail__side { min-width: 0; padding-top: 4px; }
.edge-shop-detail__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--edge-text-muted); font-size: 13px; }
.edge-modern .edge-shop-detail__side h1 { margin: 6px 0 14px; color: var(--edge-text-primary); font-size: 26px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.edge-shop-detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 32px; line-height: 1.1; }
.edge-shop-detail__price del { font-size: 15px; }
.edge-shop-detail__price .edge-shop-flag { align-self: center; }
.edge-shop-detail__action { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; }
.edge-shop-detail__action p { margin: 0; color: var(--edge-text-secondary); font-size: 13px; line-height: 1.6; }
.edge-shop-detail__action p { flex: 1 1 220px; }
.edge-modern .edge-shop-detail__action p a, .edge-modern .edge-shop-box__foot a { color: var(--edge-link); }
.edge-modern .edge-shop-detail__action p a:hover, .edge-modern .edge-shop-box__foot a:hover { color: var(--edge-link-hover); text-decoration: underline; }
.edge-shop-detail__action p b { color: var(--edge-text-primary); }
.edge-modern .edge-shop-detail__buy { flex: 0 0 auto; gap: 8px; min-width: 200px; min-height: 44px; padding: 0 28px; font-size: 16px; }
.edge-shop-detail__facts { margin: 24px 0 0; border-top: 1px solid var(--edge-divider); }
.edge-shop-detail__facts > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--edge-divider); font-size: 14px; line-height: 1.6; }
.edge-shop-detail__facts dt { color: var(--edge-text-muted); }
.edge-shop-detail__facts dd { margin: 0; color: var(--edge-text-primary); }
.edge-shop-detail__facts dd.is-out { color: var(--edge-danger); }
.edge-shop-detail__desc { margin-top: 24px; }
.edge-shop-detail__desc h2, .edge-shop__related h2 { margin: 0; color: var(--edge-text-primary); font-size: 15px; font-weight: 700; line-height: 1.4; }
.edge-shop-detail__desc h2 { margin-bottom: 6px; }
.edge-shop-detail__desc > div { color: var(--edge-text-primary); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.edge-shop-detail__desc > div.is-clamped { overflow: hidden; transition: max-height 340ms var(--edge-shop-ease); -webkit-mask-image: linear-gradient(#000 calc(100% - 64px), transparent); mask-image: linear-gradient(#000 calc(100% - 64px), transparent); }
.edge-shop-detail__desc > div.is-open { -webkit-mask-image: none; mask-image: none; }
.edge-shop-detail__more { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0 -8px; padding: 4px 8px; border: 0; border-radius: var(--edge-radius-sm); background: transparent; color: var(--edge-primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color var(--edge-transition-fast); }
.edge-shop-detail__more[hidden] { display: none; }
.edge-shop-detail__more:hover, .edge-shop-detail__more:focus-visible { outline: none; background: var(--edge-primary-low); }
.edge-shop-detail__more i { font-size: 11px; transition: transform var(--edge-transition-normal); }
.edge-shop-detail__more[aria-expanded="true"] i { transform: rotate(180deg); }
.edge-shop-detail__medal { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--edge-text-secondary); font-size: 14px; }
.edge-shop-detail__medal img { max-height: 28px; }
.edge-shop__related { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--edge-divider); }
.edge-shop__related > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.edge-modern .edge-shop__related > header a { display: inline-flex; align-items: center; gap: 5px; color: var(--edge-text-secondary); font-size: 13px; transition: color var(--edge-transition-fast); }
.edge-modern .edge-shop__related > header a:hover, .edge-modern .edge-shop__related > header a.is-pending { color: var(--edge-primary); }
.edge-shop__related > header a i { font-size: 10px; }
.edge-shop__minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 -8px; padding: 0; list-style: none; }
.edge-shop__minis > li { display: flex; min-width: 0; }
.edge-modern .edge-shop-mini { position: relative; isolation: isolate; display: flex; flex: 1 1 auto; align-items: center; gap: 12px; min-width: 0; padding: 8px; border-radius: 10px; color: inherit; }
.edge-shop-mini::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 10px; background: color-mix(in srgb, var(--edge-text-primary) 5%, transparent); opacity: 0; transition: opacity var(--edge-shop-fade); }
.edge-shop-mini.is-pending::before { opacity: 1; }
.edge-shop-mini:focus-visible { outline: 2px solid var(--edge-primary); outline-offset: 0; }
.edge-shop-mini__media { display: grid; flex: none; width: 64px; height: 64px; place-items: center; overflow: hidden; border-radius: 8px; background: var(--edge-surface-active); color: var(--edge-text-disabled); font-size: 22px; }
.edge-shop-mini__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms ease; }
.edge-shop-mini__media img.is-loading { opacity: 0; }
.edge-shop-mini.is-soldout .edge-shop-mini__media img { filter: grayscale(.9); opacity: .55; }
.edge-shop-mini__text { display: grid; gap: 4px; min-width: 0; }
.edge-shop-mini__text strong { display: -webkit-box; overflow: hidden; color: var(--edge-text-primary); font-size: 14px; font-weight: 600; line-height: 1.4; transition: color var(--edge-shop-fade); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.edge-shop-mini__text > span { display: flex; align-items: baseline; gap: 6px; font-size: 14px; }
.edge-shop-mini__text em { color: var(--edge-text-muted); font-size: 12.13px; font-style: normal; white-space: nowrap; }
@media (hover: hover) {
  .edge-shop-mini:hover::before { opacity: 1; }
  .edge-shop-mini:hover strong { color: var(--edge-primary); }
}

.edge-shop-buy__body { display: grid; gap: 14px; }
.edge-shop-buy__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.edge-shop-buy__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 12px; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); }
.edge-shop-buy__summary strong { font-size: 15px; }
.edge-shop-buy__summary small { grid-column: 1 / -1; color: var(--edge-text-secondary); font-size: 13px; }
.edge-shop-buy__note { margin: 0; color: var(--edge-text-muted); font-size: 13px; line-height: 1.6; }
.edge-shop-buy__error { margin: 0; padding: 8px 10px; border-radius: var(--edge-radius-sm); background: var(--edge-danger-low); color: var(--edge-danger); font-size: 14px; }
.edge-shop-buy__error[hidden] { display: none; }
.edge-shop-done { display: grid; justify-items: center; gap: 10px; padding: 8px 0; text-align: center; }
.edge-shop-done > i { color: var(--edge-success); font-size: 40px; }
.edge-shop-done p { margin: 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.6; }
.edge-shop-done p.is-title { color: var(--edge-text-primary); font-size: 16px; font-weight: 600; }
.edge-shop-code { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; padding: 8px 8px 8px 12px; border: 1px dashed var(--edge-border); border-radius: var(--edge-radius-sm); background: var(--edge-code-bg); text-align: left; }
.edge-shop-code code, .edge-shop-order__code code { flex: 1 1 auto; min-width: 0; color: var(--edge-text-primary); font: 15px/1.5 var(--font-family-roboto-mono, ui-monospace, SFMono-Regular, Menlo, monospace); overflow-wrap: anywhere; user-select: all; }

.edge-shop-field { display: grid; gap: 6px; min-width: 0; }
.edge-shop-field > span { color: var(--edge-text-primary); font-size: 14px; font-weight: 600; }
.edge-shop-field small, .edge-shop-check small { color: var(--edge-text-muted); font-size: 12.13px; line-height: 1.5; }
.edge-modern .edge-shop-field input:not([type="file"]):not([type="checkbox"]), .edge-modern .edge-shop-field textarea, .edge-modern .edge-shop-field select, .edge-modern .edge-shop-order__handle input[type="text"], .edge-modern .edge-shop-table__stock input {
  box-sizing: border-box; width: 100%; min-height: 38px; margin: 0; padding: 7px 10px; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-sm); background: var(--edge-surface); color: var(--edge-text-primary); font: inherit; font-size: 15px; line-height: 1.5; box-shadow: none; transition: border-color var(--edge-transition-fast);
}
.edge-modern .edge-shop-field textarea { min-height: 0; resize: vertical; }
.edge-modern .edge-shop-field input:not([type="file"]):not([type="checkbox"]):focus, .edge-modern .edge-shop-field textarea:focus, .edge-modern .edge-shop-field select:focus, .edge-modern .edge-shop-order__handle input[type="text"]:focus, .edge-modern .edge-shop-table__stock input:focus { border-color: var(--edge-primary); outline: 2px solid var(--edge-primary); outline-offset: -2px; }
.edge-modern .edge-shop-field .is-invalid { border-color: var(--edge-danger); }
.edge-shop-field ::placeholder, .edge-shop-order__handle ::placeholder { color: var(--edge-text-muted); }
.edge-shop-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }
.edge-shop-check input { margin: 3px 0 0; }
.edge-shop-check small { display: block; }

.edge-shop-orders { margin: -16px 0 0; padding: 0; list-style: none; }
.edge-shop-order { position: relative; isolation: isolate; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px 12px; }
.edge-shop-order::before { content: ""; position: absolute; z-index: -1; inset: 1px 0; border-radius: 8px; background: color-mix(in srgb, var(--edge-text-primary) 5%, transparent); opacity: 0; transition: opacity var(--edge-shop-fade); }
.edge-shop-order::after { content: ""; position: absolute; right: 12px; bottom: 0; left: 12px; height: 1px; background: var(--edge-divider); transition: opacity var(--edge-shop-fade); }
.edge-shop-order:last-child::after { content: none; }
@media (hover: hover) {
  .edge-shop-order:hover::before { opacity: 1; }
  .edge-shop-order:hover::after, .edge-shop-order:has(+ .edge-shop-order:hover)::after { opacity: 0; }
}
.edge-shop-order__media { display: grid; width: 64px; height: 64px; place-items: center; overflow: hidden; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-disabled); font-size: 22px; }
.edge-shop-order__media img, .edge-shop-table__thumb img, .edge-shop-form__preview img { width: 100%; height: 100%; object-fit: cover; }
.edge-shop-order__main h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.edge-modern .edge-shop-order__main h3 a { color: var(--edge-text-primary); }
.edge-modern .edge-shop-order__main h3 a:hover { color: var(--edge-primary); }
.edge-shop-order__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 4px 0 0; color: var(--edge-text-muted); font-size: 13px; }
.edge-shop-order__meta .edge-shop-coin { font-size: 13px; }
.edge-shop-order__line { margin: 6px 0 0; color: var(--edge-text-secondary); font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.edge-shop-order__line[hidden] { display: none; }
.edge-shop-order__line code { padding: 1px 5px; border-radius: 3px; background: var(--edge-code-bg); font-size: 13px; }
.edge-shop-order__code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; }
.edge-shop-order__code > span { color: var(--edge-text-muted); font-size: 13px; }
.edge-shop-order__code code { flex: 0 1 auto; padding: 4px 10px; border: 1px dashed var(--edge-border); border-radius: var(--edge-radius-sm); background: var(--edge-code-bg); font-size: 14px; }
.edge-modern .edge-shop-order__code .edge-button { gap: 6px; min-height: 30px; padding: 2px 10px; font-size: 13px; }
.edge-shop-order__handle { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.edge-modern .edge-shop-order__handle input[type="text"] { flex: 1 1 220px; width: auto; min-height: 34px; padding: 4px 10px; font-size: 14px; }
.edge-shop-status { padding: 0 6px; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 12.13px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.edge-shop-status--pending { background: var(--edge-warning-low); color: var(--edge-warning); }
.edge-shop-status--done { background: var(--edge-success-low); color: var(--edge-success); }
.edge-shop-status--rejected { background: var(--edge-danger-low); color: var(--edge-danger); }
.edge-modern .edge-button.edge-shop-danger { color: var(--edge-danger); }
.edge-modern .edge-button.edge-shop-danger:hover { border-color: var(--edge-danger); background: var(--edge-danger-low); }

.edge-shop-admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.edge-shop-admin__bar .edge-shop__types { margin-bottom: 0; }
.edge-modern .edge-shop-admin__bar .edge-button { gap: 6px; }
.edge-shop-table { margin-top: 12px; border-top: 1px solid var(--edge-border); }
.edge-shop-table__row { display: grid; grid-template-columns: minmax(200px, 1fr) 72px 100px 108px 56px 56px 72px; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px; border-bottom: 1px solid var(--edge-border-light); font-size: 14px; transition: background-color var(--edge-transition-fast); }
.edge-shop-table__row:not(.edge-shop-table__row--head):hover { background: var(--edge-surface-hover); }
.edge-shop-table__row--head { min-height: 36px; color: var(--edge-text-muted); font-size: 12.13px; font-weight: 600; letter-spacing: .05em; }
.edge-shop-table__row.is-off .edge-shop-table__name { opacity: .55; }
.edge-shop-table__name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.edge-modern .edge-shop-table__name a { overflow: hidden; color: var(--edge-text-primary); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.edge-shop-table__thumb { display: grid; flex: none; width: 36px; height: 36px; place-items: center; overflow: hidden; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-disabled); }
.edge-shop-table__label { display: none; }
.edge-shop-table__row del { margin-left: 6px; }
.edge-modern .edge-shop-table__stock input { width: 84px; min-height: 30px; padding: 2px 8px; font-size: 14px; }
.edge-shop-table__ops { display: flex; justify-content: flex-end; gap: 2px; }
.edge-modern .edge-shop-table__ops a, .edge-shop-table__ops button, .edge-shop-cards__list button { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: var(--edge-radius-sm); background: transparent; color: var(--edge-text-muted); font-size: 14px; cursor: pointer; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .edge-shop-table__ops a:hover, .edge-shop-table__ops button:hover, .edge-shop-table__ops button:focus-visible { outline: none; background: var(--edge-surface-active); color: var(--edge-text-primary); }
.edge-shop-table__ops button.is-danger:hover, .edge-shop-table__ops button.is-danger:focus-visible, .edge-shop-cards__list button:hover, .edge-shop-cards__list button:focus-visible { outline: none; background: var(--edge-danger-low); color: var(--edge-danger); }
.edge-shop-switch { position: relative; display: block; width: 36px; height: 20px; padding: 0; border: 0; border-radius: var(--edge-radius-pill); background: var(--edge-border); cursor: pointer; transition: background-color var(--edge-transition-normal); }
.edge-shop-switch span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--edge-transition-normal); }
.edge-shop-switch[aria-checked="true"] { background: var(--edge-success); }
.edge-shop-switch[aria-checked="true"] span { transform: translateX(16px); }
.edge-shop-switch:focus-visible { outline: 2px solid var(--edge-primary); outline-offset: 2px; }

.edge-shop-cards { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: start; gap: 32px; }
.edge-shop-cards__import { display: grid; justify-items: start; gap: 12px; }
.edge-shop-cards__import .edge-shop-field { width: 100%; }
.edge-modern .edge-shop-cards__import textarea { font-family: var(--font-family-roboto-mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: 13px; }
.edge-shop-cards__lists { display: grid; gap: 24px; }
.edge-shop-cards__lists h3 { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--edge-text-primary); font-size: 15px; font-weight: 700; }
.edge-shop-cards__lists h3 span { color: var(--edge-text-muted); font-size: 13px; font-weight: 400; }
.edge-shop-cards__list { max-height: 420px; margin: 8px 0 0; padding: 0; overflow-y: auto; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-sm); list-style: none; }
.edge-shop-cards__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; padding: 2px 4px 2px 10px; border-bottom: 1px solid var(--edge-border-subtle); font-size: 13px; }
.edge-shop-cards__list li:last-child { border-bottom: 0; }
.edge-shop-cards__list code { min-width: 0; overflow-wrap: anywhere; }
.edge-shop-cards__list li > span { flex: none; padding-right: 6px; color: var(--edge-text-muted); font-size: 12.13px; }
.edge-shop-cards__list button { width: 28px; height: 28px; }
.edge-shop-cards__empty { margin: 8px 0 0; color: var(--edge-text-muted); font-size: 13.93px; }

.edge-shop-form { display: grid; gap: 28px; max-width: 760px; }
.edge-shop-form fieldset { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.edge-shop-form legend { width: 100%; margin-bottom: 14px; padding: 0 0 8px; border-bottom: 1px solid var(--edge-divider); color: var(--edge-text-primary); font-size: 16px; font-weight: 700; }
.edge-shop-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.edge-shop-form__hint { margin: -6px 0 0; color: var(--edge-text-muted); font-size: 13px; line-height: 1.6; }
.edge-shop-form__image > div { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
.edge-shop-form__image > div > div { display: grid; flex: 1 1 260px; gap: 8px; }
.edge-shop-form__preview { display: grid; flex: none; width: 120px; height: 90px; place-items: center; overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-disabled); font-size: 28px; }
.edge-shop-form__actions { display: flex; align-items: center; gap: 8px; }
.edge-modern .edge-shop-form__actions .edge-dialog__flat { display: inline-flex; align-items: center; }
.edge-shop-form[data-kind="physical"] [data-edge-shop-for]:not([data-edge-shop-for~="physical"]),
.edge-shop-form[data-kind="virtual"] [data-edge-shop-for]:not([data-edge-shop-for~="virtual"]),
.edge-shop-form[data-kind="card"] [data-edge-shop-for]:not([data-edge-shop-for~="card"]),
.edge-shop-form[data-kind="medal"] [data-edge-shop-for]:not([data-edge-shop-for~="medal"]) { display: none; }


@media (max-width: 1100px) {
  .edge-shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .edge-shop__minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edge-shop-detail { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
  .edge-shop-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .edge-shop-detail__main { position: static; }
  .edge-shop-detail__media { max-width: 520px; }
  .edge-modern .edge-shop-detail__side h1 { font-size: 22px; }
  .edge-shop-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .edge-shop-table__row { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 4px; }
  .edge-shop-table__row--head { display: none; }
  .edge-shop-table__name { flex: 1 1 100%; }
  .edge-shop-table__label { display: inline; margin-right: 4px; color: var(--edge-text-muted); font-size: 12.13px; }
  .edge-shop-table__ops { margin-left: auto; }
}
@media (max-width: 760px) {
  .edge-modern .edge-shop { padding: 0 0 48px; }
  .edge-shop__hero { flex-direction: column; align-items: stretch; gap: 12px; }
  .edge-modern .edge-shop__hero h1 { font-size: 23px; }
  .edge-modern .edge-shop__subnav a { padding: 0 9px; font-size: 14px; }
  .edge-shop__types { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .edge-shop__types::-webkit-scrollbar { display: none; }
  .edge-shop__controls { flex-wrap: wrap; gap: 4px 8px; padding: 6px 0; }
  .edge-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; }
  .edge-shop__info, .edge-shop-earn, .edge-shop-buy__pair, .edge-shop__minis { grid-template-columns: minmax(0, 1fr); }
  .edge-shop__crumbs-side { display: none; }
  .edge-shop-order { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; }
  .edge-shop-order__media { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .edge-shop > *, .edge-shop-detail__desc > div.is-clamped, .edge-shop-mini::before, .edge-shop-card::before, .edge-shop-card__media img, .edge-shop-detail__media img, .edge-shop-switch, .edge-shop-switch span { transition: none; }
  .edge-shop-card:hover .edge-shop-card__media img { transform: none; }
  .edge-modern .edge-shop.is-entering > * { animation: none; }
}
