.ranked-store-view { padding: clamp(24px, 4vw, 58px) 0 20px; }
.ranked-shop-hero { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: 40px; margin-bottom: 38px; }
.ranked-shop-hero h1 { margin: 23px 0 18px; color: var(--r-ink); font: 800 clamp(39px, 3.8vw, 65px)/1.07 "DM Sans", sans-serif; letter-spacing: -.05em; }
.ranked-shop-hero h1 em { color: var(--r-gold); font-style: normal; }
.ranked-shop-hero p { max-width: 635px; margin: 0; color: var(--r-muted); font-size: 16px; line-height: 1.8; }
.ranked-shop-context { display: flex; align-items: flex-start; gap: 15px; padding-left: 23px; border-left: 2px solid rgba(255,199,102,.4); }
.ranked-shop-context img { flex-shrink: 0; width: 54px; height: 54px; object-fit: contain; }
.ranked-shop-context > div { display: grid; gap: 8px; }
.ranked-shop-context span { color: var(--r-gold); font: 700 8px "Silkscreen", monospace; line-height: 1.7; letter-spacing: .06em; }
.ranked-shop-context strong { color: var(--r-ink); font-size: 17px; }
.ranked-shop-context small { color: var(--r-muted); font-size: 12px; line-height: 1.6; }
.ranked-store-view .ranked-store-notice { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; padding: 15px 0; border: 0; border-top: 1px solid var(--r-line); border-bottom: 1px solid var(--r-line); border-radius: 0; background: none; }
.ranked-store-notice > svg { flex-shrink: 0; width: 23px; height: 23px; fill: none; stroke: var(--r-gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ranked-store-notice > div { display: grid; gap: 5px; }
.ranked-store-view .ranked-store-notice strong { color: var(--r-ink); font: 700 14px "DM Sans", sans-serif; }
.ranked-store-view .ranked-store-notice span { color: var(--r-muted); font-size: 12px; line-height: 1.6; }
.ranked-store-view .ranked-store-order { background: rgba(150,184,203,.07); border-color: var(--r-line); box-shadow: none; }
.ranked-shop-catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ranked-shop-catalog-head span { color: var(--r-gold); font: 700 9px "Silkscreen", monospace; letter-spacing: .08em; }
.ranked-shop-catalog-head h2 { margin: 9px 0 0; color: var(--r-ink); font-size: 27px; letter-spacing: -.035em; }
.ranked-shop-catalog-head p { margin: 0 0 3px; color: var(--r-muted); font-size: 12px; }
.ranked-store-view .ranked-store-status { margin: 14px 0 20px; min-height: 20px; color: var(--r-muted); font-size: 13px; line-height: 1.7; }
.ranked-store-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-height: 70px; }
.ranked-store-card { --store-accent: var(--store-accent-dark, #f6ca78); --store-button-ink: #102327; display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--r-line); border-radius: 19px; background: linear-gradient(145deg, color-mix(in srgb, var(--store-accent) 8%, transparent), rgba(150,184,203,.055) 60%); background-color: color-mix(in srgb, var(--r-panel) 72%, transparent); backdrop-filter: blur(10px); color: var(--r-ink); transition: transform .18s ease, border-color .18s ease; }
html[data-theme="light"] .ranked-store-card { --store-accent: var(--store-accent-light, #965e13); --store-button-ink: #fff9ef; }
.ranked-store-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--store-accent) 48%, transparent); }
.ranked-store-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.ranked-store-icon { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 78px; height: 78px; border: 1px solid color-mix(in srgb, var(--store-accent) 27%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--store-accent) 9%, transparent); color: var(--store-accent); }
.ranked-store-icon::after { content: ""; position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 3px; background: var(--store-accent); transform: rotate(12deg); box-shadow: 0 0 18px color-mix(in srgb, var(--store-accent) 35%, transparent); }
.ranked-store-icon svg { width: 47px; height: 47px; }
.ranked-store-badge { margin-top: 4px; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--store-accent) 22%, transparent); border-radius: 999px; color: var(--store-accent); font-size: 11px; font-weight: 700; line-height: 1.4; }
.ranked-store-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; }
.ranked-store-category { color: var(--store-accent); font: 700 9px/1.6 "Silkscreen", monospace; letter-spacing: .09em; }
.ranked-store-card h3 { margin: 0; color: var(--r-ink); font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.ranked-store-card p { margin: 0; color: var(--r-muted); font-size: 14px; line-height: 1.7; }
.ranked-store-detail { display: block; margin: 1px 0 7px; color: var(--r-muted); font-size: 11px; line-height: 1.65; }
.ranked-store-target-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; margin-top: auto; color: var(--r-muted); font-size: 12px; font-weight: 600; }
.ranked-store-target { width: auto; max-width: 68%; min-height: 43px; padding: 8px 12px; border: 1px solid var(--r-line-strong); border-radius: 9px; background: color-mix(in srgb, var(--r-panel) 80%, transparent); color: var(--r-ink); font: 700 13px "DM Sans", sans-serif; color-scheme: inherit; cursor: pointer; }
.ranked-store-target option { background: var(--r-panel); color: var(--r-ink); }
.ranked-store-scope { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; margin-top: auto; }
.ranked-store-scope small { color: var(--r-muted); font-size: 10px; font-weight: 600; }
.ranked-store-scope span { padding: 8px 11px; border: 1px solid var(--r-line); border-radius: 9px; color: var(--r-ink); font-size: 12px; font-weight: 700; }
.ranked-store-card-foot { display: grid; gap: 17px; margin-top: 12px; padding-top: 19px; border-top: 1px solid var(--r-line); }
.ranked-store-card-foot > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ranked-store-card-foot strong { color: var(--r-ink); font: 800 30px/1.2 "DM Sans", sans-serif; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ranked-store-card-foot small { color: var(--r-muted); font-size: 10px; }
.ranked-store-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 47px; padding: 11px 15px; border: 1px solid color-mix(in srgb, var(--store-accent) 45%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--store-accent) 10%, transparent); color: var(--store-accent); font: 700 13px "DM Sans", sans-serif; cursor: pointer; transition: background .18s ease, color .18s ease; }
.ranked-store-buy svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ranked-store-buy:hover:not(:disabled) { background: var(--store-accent); color: var(--store-button-ink); }
.ranked-store-buy:disabled { opacity: .5; cursor: not-allowed; }
.ranked-store-retry { justify-self: start; min-height: 44px; padding: 10px 18px; border: 1px solid var(--r-line-strong); border-radius: 10px; background: rgba(150,184,203,.08); color: var(--r-ink); font-weight: 700; cursor: pointer; }
.ranked-store-empty { grid-column: 1 / -1; padding: 30px 0; color: var(--r-muted); font-size: 14px; }
.ranked-shop-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--r-line); }
.ranked-shop-guide > div { display: flex; align-items: flex-start; gap: 12px; }
.ranked-shop-guide > div > span { color: var(--r-gold); font: 700 11px "Silkscreen", monospace; line-height: 1.8; }
.ranked-shop-guide p { margin: 0; color: var(--r-muted); font-size: 12px; line-height: 1.7; }
.ranked-shop-guide strong { display: block; margin-bottom: 3px; color: var(--r-ink); font-size: 13px; }
@media (min-width: 1752px) {
  .ranked-store-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
  .ranked-store-card { padding: 24px; }
  .ranked-store-card h3 { min-height: 53px; font-size: 22px; }
  .ranked-store-card p { min-height: 71px; font-size: 13px; }
  .ranked-store-detail { min-height: 38px; }
}
@media (max-width: 1120px) {
  .ranked-shop-hero { grid-template-columns: 1fr; gap: 26px; }
  .ranked-shop-context { max-width: 380px; }
  .ranked-store-card { padding: 22px; }
  .ranked-store-target-label { align-items: stretch; flex-direction: column; gap: 8px; }
  .ranked-store-target { max-width: none; width: 100%; }
}
@media (max-width: 650px) {
  .ranked-shop-hero h1 { font-size: clamp(35px, 7.5vw, 45px); }
  .ranked-shop-hero .ranked-home-season { flex-wrap: wrap; border-radius: 12px; }
  .ranked-shop-catalog-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .ranked-shop-catalog-head h2 { font-size: 25px; }
  .ranked-store-products, .ranked-shop-guide { grid-template-columns: 1fr; }
  .ranked-store-card-top { margin-bottom: 20px; }
  .ranked-store-icon { width: 68px; height: 68px; border-radius: 19px; }
  .ranked-store-icon svg { width: 41px; height: 41px; }
  .ranked-store-card h3 { font-size: 24px; }
  .ranked-store-target-label { align-items: center; flex-direction: row; }
  .ranked-store-target { max-width: 68%; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ranked-store-card, .ranked-store-buy { transition: none; }
  .ranked-store-card:hover { transform: none; }
}
