.ov-hello { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; margin-bottom: 14px; }
.ov-hello b { font-size: 19px; font-weight: 700; }
.ov-hello span { font-size: 12.5px; color: var(--muted); }
#ovStats { margin-bottom: 14px; }
.card h3.ov-h { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

.ov-bars { display: flex; align-items: flex-end; gap: 7px; height: 132px; }
.ov-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.ov-bar-val { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ov-bar-track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.ov-bar-track i { display: block; width: 100%; background: linear-gradient(180deg, var(--primary), #a5b6ff); border-radius: 6px 6px 3px 3px; transition: height .35s ease; }
.ov-bar-day { font-size: 10.5px; color: var(--muted); }

.ov-rank-item { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ov-rank-item:last-child { border-bottom: none; }
.ov-rank-no { width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ov-rank-no.top { background: var(--primary-soft); color: var(--primary); }
.ov-rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ov-rank-main b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-rank-main span { font-size: 11.5px; color: var(--muted); }
.ov-rank-num { text-align: right; display: flex; flex-direction: column; flex: none; }
.ov-rank-num b { font-size: 15px; color: var(--primary); font-variant-numeric: tabular-nums; }
.ov-rank-num span { font-size: 10.5px; color: var(--muted); }
.ov-notice-text { font-size: 13.5px; line-height: 1.75; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.ov-notice-time { margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.ov-empty { padding: 20px 0; text-align: center; color: var(--muted); font-size: 13px; }

.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (min-width: 620px) { .market-grid { gap: 14px; } }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.mk-thumb { aspect-ratio: 16 / 9; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-thumb-ph { font-size: 12px; color: var(--muted); }
.mk-info { padding: 11px 12px 12px; }
.mk-title { font-size: 14px; font-weight: 700; display: block; line-height: 1.4; word-break: break-word; }

.mk-desc { margin-top: 5px; font-size: 12px; color: var(--text-2); line-height: 1.55; display: block; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.mk-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-author { font-size: 11.5px; color: var(--muted); }
.mk-nolink { font-size: 12px; color: var(--muted); }
.mk-dl { text-decoration: none; }

.mk-form { display: flex; flex-direction: column; gap: 15px; }
.mk-field { display: flex; flex-direction: column; gap: 6px; }
.mk-field > label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.mk-field input, .mk-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 13px; font-size: 16px; background: #fff; line-height: 1.55;
  font-family: inherit;
}
.mk-field input:focus, .mk-field textarea:focus { border-color: var(--primary); }

.mk-field textarea.mk-url { min-height: 48px; height: auto; resize: vertical; word-break: break-all; line-height: 1.5; font-size: 15px; }
.mk-field textarea { min-height: 92px; resize: vertical; }
.mk-tip { font-size: 11.5px; color: var(--muted); line-height: 1.6; }

.rc-page { display: flex; flex-direction: column; }
.rc-amount { padding: 10px 20px 4px; text-align: center; }
.rc-qr { padding: 20px 20px 6px; display: flex; justify-content: center; }
.rc-qr img {
  display: block; margin: 0 auto;
  width: 236px; height: 236px; padding: 8px;
  object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
}
.rc-status { justify-content: center; }
.rc-countdown { padding-bottom: 8px; }

.toast {
  position: fixed; left: 50%; top: calc(var(--safe-t) + 14px);
  bottom: auto;
  transform: translateX(-50%) translateY(-12px);
  display: flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text-1, #16192b);
  padding: 11px 18px; border-radius: 14px;
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
  max-width: 86vw; text-align: left;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(22, 25, 43, .10), 0 1px 3px rgba(22, 25, 43, .05);
  opacity: 0; pointer-events: none; transition: .26s cubic-bezier(.22, .8, .3, 1); z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--primary, #4b6bff); }
.toast .toast-msg { display: block; min-width: 0; }

.form-brand img { margin: 0 auto; }

.form-err { display: none !important; }

.rule-card h3 { display: flex; align-items: center; gap: 8px; }
.rule-tag { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; line-height: 1.7; letter-spacing: .2px; }
.rule-tag.up { color: #0f9960; background: rgba(15, 153, 96, .10); }
.rule-tag.down { color: #e5484d; background: rgba(229, 72, 77, .10); }
.rule-list { gap: 10px; }
.rule-row {
  align-items: flex-start; gap: 10px;
  padding: 11px 12px; border-radius: 12px;
  background: var(--bg, #f7f8fb);
}
.rule-row > span { flex: 1; min-width: 0; }
.rule-row b { font-weight: 700; }
.rule-row svg { margin-top: 1px; }
.rule-amt {
  flex: none; margin-left: auto; align-self: center;
  font-style: normal; font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  padding: 3px 9px; border-radius: 9px;
}
.rule-amt.plus { color: #0f9960; background: rgba(15, 153, 96, .10); }
.rule-amt.minus { color: #e5484d; background: rgba(229, 72, 77, .10); }

img.img-skel {
  background-color: #eef0f5;
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 80%);
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 180% 0;
  animation: img-skel-sweep 1.3s ease-in-out infinite;
}
img.img-skel.img-ready {
  animation: none;
  background-image: none;
  background-color: transparent;
  transition: background-color .25s ease;
}
@keyframes img-skel-sweep {
  0% { background-position: 180% 0; }
  100% { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  img.img-skel { animation: none; }
}
