.store-legacy[hidden], .store-view [hidden] { display: none !important; }
.store-view { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.store-view .panel { margin: 0; min-width: 0; }
.store-view .panel-title { gap: 12px; flex-wrap: wrap; }
.store-view button { letter-spacing: 0; }
.store-view .store-swap-receive { display: inline-flex; align-items: center; gap: 8px; }
.store-view .store-swap-receive #storeReceive { color: inherit; font: inherit; }
.store-view .store-swap-receive .mini-token-icon { width: 22px; height: 22px; }
.store-view #storePreacherCard > .primary-btn { margin-top: 18px; }
.store-view #storeMerchantCard > .primary-btn { margin-top: 18px; }
.store-view #storeCommunityCard .reward-actions { margin-top: 18px; }
.store-view .store-resonance-card .panel-title { margin-bottom: 0; }
.store-view .store-resonance-card .vr-trade-input:focus-within > div { border-color: rgba(255,177,59,.5); }
.store-view .store-resonance-card .vr-trade-input input:focus { box-shadow: none; }
.store-view .store-resonance-card .vr-trade-tabs button:focus-visible,
.store-view .store-resonance-card .vr-trade-input button:focus-visible { outline: 2px solid rgba(255,177,59,.64); outline-offset: 2px; }

.store-view .panel-title em { max-width: 100%; white-space: normal; }
.store-stat { border-bottom: 1px solid rgba(190,150,255,0.10); }
.store-stat:last-child { border-bottom: 0; }
.store-row { align-items: center; }
.store-row dt, .store-row dd { min-width: 0; overflow-wrap: anywhere; }
.store-row dt { font-size: 15px; line-height: 1.5; font-weight: 500; }
.store-row dd { line-height: 1.5; }
.store-row strong { font: inherit; }
.store-view .token-contract-row code, .store-view .token-contract-copy { font-size: 15px; line-height: 1.5; }
.store-view .store-dividend-heading { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 4px; }
.store-view .store-dividend-heading .store-dividend-label { margin: 0; flex-shrink: 0; }
.store-dividend-label::after { content: "："; }
.store-dividend-heading .store-dividend-balance { text-align: left; margin: 0; }
.store-dividend-balance { display: block; min-width: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; font-size: 28px; line-height: 1.15; color: #fff6e5; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin: 0; text-shadow: 0 1px 1px rgba(255,255,255,.12), 0 0 18px rgba(240,195,255,.22); }
.store-dividend-fraction { font-size: 18px; color: #ded2eb; font-weight: 600; }
.store-dividend-balance small { font-size: 14px; font-weight: 600; color: var(--muted); vertical-align: baseline; }
.store-dividend-claim {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 12px;
  border: 1px solid rgba(235,179,65,.36);
  border-radius: var(--radius);
  background: linear-gradient(115deg, rgba(228,168,42,.27), rgba(180,112,53,.21));
  box-shadow: inset 0 1px 0 rgba(255,218,132,.05);
  animation: rebate-gold-breathe 4.8s ease-in-out infinite;
}
.store-dividend-earnings {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.store-dividend .store-eyebrow {
  color: #ffcc45;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}
.store-dividend-counter {
  line-height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  min-height: 28px;
  color: #ffd348;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 18px rgba(255,200,48,.4);
}
@keyframes rebate-gold-breathe {
  0%, 100% { border-color: rgba(235,179,65,.32); box-shadow: inset 0 1px 0 rgba(255,218,132,.06), 0 0 8px rgba(251,191,36,.03); }
  50% { border-color: rgba(245,193,83,.55); box-shadow: inset 0 1px 12px rgba(255,218,132,.09), 0 0 22px rgba(251,191,36,.12); }
}
@media (prefers-reduced-motion: reduce) {
  .store-dividend-claim { animation: none; }
}
.store-dividend #storeRebateValue {
  font-size: 22px;
  line-height: 28px;
  height: 28px;
  gap: 0;
  flex-shrink: 0;
  letter-spacing: 0;
  font-weight: 700;
}
.store-dividend-counter small { margin-left: 6px; font-size: 12px; line-height: 28px; color: #dac6a5; font-weight: 600; }
.store-dividend-plus { margin-right: 2px; color: #ffd348; font-size: 22px; line-height: 28px; font-weight: 700; }
.store-dividend .digit-slot {
  width: 14px;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.store-dividend #storeRebateValue > .digit-static { height: 28px; line-height: 28px; flex-shrink: 0; }
.store-dividend #storeRebateValue > .digit-dot { width: 10px; min-width: 10px; }
.store-dividend #storeRebateValue > .digit-slot:nth-last-child(-n+2) { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,.22); }
.store-dividend .digit-wheel { transition-duration: 300ms; }
.store-dividend-countdown {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.2;
  color: #c7a45e;
}
.store-dividend-countdown strong { color: #c7a45e; font-weight: 500; }
.store-dividend-claim > .primary-btn {
  width: 100%; margin: 0; min-height: 42px; padding: 0 10px; font-size: 15px; letter-spacing: 0;
  color: #251632; background: #ffba16; border-color: rgba(255,205,79,.5);
  box-shadow: 0 5px 18px rgba(255,177,30,.2);
}
.store-dividend-claim > .primary-btn:disabled {
  color: rgba(225,215,233,.45); background: rgba(255,255,255,.05);
  border-color: rgba(190,150,255,.15); box-shadow: none;
}
.store-dividend-claim:has(.is-long) { grid-template-columns: minmax(0,1fr); }
.store-dividend-claim:has(.is-long) > .primary-btn { width: 78px; justify-self: end; }
.store-dividend-earnings:has(.is-long) { flex-wrap: wrap; }
.store-dividend-counter.is-long { flex-basis: 100%; justify-content: flex-start; }
.store-dividend-counter.is-long #storeRebateValue { font-size: 20px; }
@media (max-width: 360px) {
  .store-dividend-claim { gap: 8px; }
}
.store-accrual { padding: 0 0 18px; border-bottom: 1px solid #ffffff16; margin-bottom: 8px; }
.store-accrual > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.store-accrual span { color: #aaa0bc; font-size: 14px; }
.store-accrual strong { color: #ffcf75; font-size: 17px; font-variant-numeric: tabular-nums; }
.store-accrual small { display: block; font-size: 15px; color: #aaa0bc; line-height: 1.6; margin-top: 8px; }
.store-accrual time { display: inline-block; color: #d8cee7; }
.store-progress { padding: 8px 0 18px; }
.store-progress-head, .store-progress-values { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 16px; line-height: 1.5; }
.store-progress-head span, .store-progress-values span { color: #aaa0bc; overflow-wrap: anywhere; }
.store-progress-head strong { color: #fff2c7; }
.store-progress-values strong { color: #ecd9ff; }
.store-progress progress { display: block; appearance: none; width: 100%; height: 8px; border: 0; border-radius: 4px; overflow: hidden; background: #ffffff14; margin: 14px 0; }
.store-progress progress::-webkit-progress-bar { background: #ffffff14; border-radius: 4px; }
.store-progress progress::-webkit-progress-value { background: #c397ee; border-radius: 4px; transition: width 400ms ease; }
.store-progress progress::-moz-progress-bar { background: #c397ee; border-radius: 4px; }
.store-progress-track { position: relative; height: 24px; margin: 12px 0 0; }
.store-progress-track progress { height: 24px; margin: 0; border-radius: 6px; }
.store-progress-track progress::-webkit-progress-bar { border-radius: 6px; background: rgba(190,150,255,.17); }
.store-progress-track progress::-webkit-progress-value { border-radius: 6px; background: linear-gradient(90deg, var(--purple), var(--orange)); }
.store-progress-track progress::-moz-progress-bar { border-radius: 6px; background: linear-gradient(90deg, var(--purple), var(--orange)); }
.store-progress-track > strong { position: absolute; right: 10px; top: 0; line-height: 24px; color: #fff2e7; font-size: 15px; font-variant-numeric: tabular-nums; }
.store-counter.is-long #storeRebateValue { font-size: 25px; }
.store-view .store-meta { color: #aaa0bc; font-size: 15px; margin: 12px 0 0; overflow-wrap: anywhere; }
.store-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.store-pair > div { padding: 12px 0; min-width: 0; }
.store-pair span { display: block; font-size: 14px; color: #aaa0bc; margin-bottom: 8px; }
.store-pair strong { display: block; font-size: 20px; color: #fff0b6; overflow-wrap: anywhere; }
.store-note { color: #b9add2; font-size: 15px; line-height: 1.6; margin: 14px 0 0; }
.store-error { color: #ffc1c1; background: #522034; border: 1px solid #9a5062; border-radius: 8px; padding: 12px 14px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
#storeExitPreview { color: #fff0b6; display: inline-block; margin-left: 8px; text-decoration: underline; }
.store-success { color: #8ee8bd !important; }
.store-view .segmented { margin: 14px 0; }
