/* Депозитный счёт и общие «чистые» элементы кошелька: тонкая типографика, тонированные SVG-иконки, лента событий */
.dp { gap: 16px; }
.dp-ico { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--sp-ion); background: var(--sp-ion-soft); }
.dp-ico.sm { width: 32px; height: 32px; border-radius: 10px; }
.dp-ico.tone-pos { color: var(--sp-aurora); background: var(--sp-aurora-soft); }
.dp-ico.tone-warn { color: var(--sp-nova); background: var(--sp-nova-soft); }
.dp-ico.tone-info { color: var(--sp-ion); background: var(--sp-ion-soft); }

.dp-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 12px; padding: 20px 20px 18px; border-radius: var(--sp-r-xl); color: #eaf0ff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(79, 240, 174, 0.16), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(92, 141, 255, 0.28), transparent 60%), linear-gradient(160deg, #0c1a46 0%, #112a6e 55%, #0d2158 100%);
  box-shadow: 0 18px 40px -22px rgba(10, 30, 100, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.08); animation: sp-rise 380ms var(--sp-ease) both; }
.dp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(110% 90% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(110% 90% at 80% 0%, #000, transparent 75%); }
.dp-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dp-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sp-body); letter-spacing: 0.01em; color: rgba(234, 240, 255, 0.86); }
.dp-rate { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(79, 240, 174, 0.14); color: #8ff5c8; font: 600 12.5px/1 var(--sp-body); box-shadow: inset 0 0 0 1px rgba(79, 240, 174, 0.22); }
.dp-label { margin-top: 6px; font: 600 11.5px/1 var(--sp-body); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(234, 240, 255, 0.58); }
.dp-total { font: 640 clamp(36px, 11vw, 46px)/1 var(--sp-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; } .dp-total small { margin-left: 8px; font: 600 12px/1 var(--sp-body); letter-spacing: 0.08em; color: rgba(234, 240, 255, 0.6); }
.dp-split { height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(79, 240, 174, 0.9), rgba(79, 240, 174, 0.55)); overflow: hidden; margin-top: 4px; }
.dp-split i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #6fa0ff, #9bbcff); box-shadow: 2px 0 0 rgba(12, 26, 70, 0.9); transition: width 700ms var(--sp-ease); }
.dp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: rgba(234, 240, 255, 0.66); }
.dp-legend span { display: inline-flex; align-items: center; gap: 7px; } .dp-legend b { font-weight: 600; color: #fff; }
.dp-legend u { width: 8px; height: 8px; border-radius: 3px; } .dp-legend u.a { background: #8bb0ff; } .dp-legend u.b { background: #5ff0b4; }
.dp-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.dp-act { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 60px; padding: 8px 6px; border-radius: 16px; font: 600 12.5px/1.1 var(--sp-body); white-space: nowrap; color: #eaf0ff;
  background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 90ms var(--sp-ease), background var(--sp-t-fast), opacity var(--sp-t-fast); }
.dp-act.primary { background: #eaf0ff; color: #12307f; box-shadow: none; }
.dp-act:active:not(:disabled) { transform: scale(0.96); } .dp-act:disabled { opacity: 0.38; }

.dp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dp-tile { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 12px 14px; border-radius: var(--sp-r-l); background: var(--sp-panel); box-shadow: var(--sp-shadow), inset 0 0 0 1px var(--sp-line); animation: sp-rise 380ms var(--sp-ease) both; }
.dp-tile:nth-child(2) { animation-delay: 50ms; } .dp-tile:nth-child(3) { animation-delay: 100ms; } .dp-tile:nth-child(4) { animation-delay: 150ms; }
.dp-tile { align-content: center; } .dp-tile .dp-ico { grid-row: span 3; } .dp-tile-l { font-size: 12.5px; color: var(--sp-dust); } .dp-tile-v { font-weight: 640; font-size: 17px; letter-spacing: -0.02em; } .dp-tile small { font-size: 12px; color: var(--sp-faint); }

.dp-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; } .dp-sec-head .sp-h2 { margin: 0; }
.dp-link { font: 600 14px/1 var(--sp-body); color: var(--sp-ion); padding: 8px 2px; }
.dp-lots { display: grid; gap: 8px; }
.dp-lot { display: grid; gap: 9px; padding: 15px 16px; border-radius: var(--sp-r-l); background: var(--sp-panel); box-shadow: var(--sp-shadow), inset 0 0 0 1px var(--sp-line); animation: sp-rise 380ms var(--sp-ease) both; }
.dp-lot-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--sp-dust); } .dp-lot-id { font-weight: 600; color: var(--sp-star); }
.dp-lot-main { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dp-lot-main b { font-weight: 640; font-size: 24px; letter-spacing: -0.035em; } .dp-lot-main small { margin-left: 6px; font: 600 11.5px/1 var(--sp-body); letter-spacing: 0.06em; color: var(--sp-dust); }
.dp-lot-gain { font-weight: 600; font-size: 15px; color: var(--sp-aurora); }
.dp-lot-bar { height: 4px; border-radius: 4px; background: var(--sp-panel2); overflow: hidden; } .dp-lot-bar u { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #10b981, #4ff0ae); transition: width 700ms var(--sp-ease); }
.dp-lot-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 12.5px; color: var(--sp-dust); }
.dp-lot-close { justify-self: start; padding: 8px 0 0; font: 600 13.5px/1 var(--sp-body); color: var(--sp-flare); }
.dp-lot-mode { display: grid; gap: 6px; font-size: 12.5px; color: var(--sp-dust); } .dp-lot-mode .sp-seg { width: 100%; } .dp-lot-mode .sp-seg button { flex: 1; padding-inline: 6px; white-space: nowrap; }
.dp-lot-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dp-lot-btn { padding: 8px 14px; border-radius: 12px; font: 550 13px/1.2 var(--sp-body); color: var(--sp-star); box-shadow: inset 0 0 0 1px var(--sp-line, rgba(127, 127, 127, 0.35)); }
.dp-close { display: flex; align-items: center; gap: 14px; } .dp-close .dp-ico { width: 52px; height: 52px; border-radius: 16px; }

.dp-hist { display: grid; gap: 4px; } .dp-hist .dp-sec-head { margin-bottom: 4px; }
.dp-line { position: relative; display: grid; gap: 2px; padding-left: 0; }
.dp-ev { display: flex; align-items: center; gap: 12px; padding: 9px 0; animation: sp-fade 300ms var(--sp-ease) both; }
.dp-ev b { display: block; font-weight: 550; font-size: 14.5px; } .dp-ev small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--sp-dust); }
.dp-ev-v { display: grid; justify-items: end; font-weight: 600; font-size: 15px; } .dp-ev-v small { font-size: 11.5px; font-weight: 400; color: var(--sp-dust); }
.dp-faq { display: grid; gap: 12px; padding: 14px 16px; border-radius: var(--sp-r-l); background: var(--sp-panel2); }
.dp-faq > div { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--sp-dust); } .dp-faq b { color: var(--sp-star); font-weight: 600; } .dp-faq svg { flex: none; margin-top: 2px; color: var(--sp-aurora); }

/* кошелёк: чистые акценты вместо 3D-иконок */
.wl-res-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #8ff5c8; background: rgba(79, 240, 174, 0.14); box-shadow: inset 0 0 0 1px rgba(79, 240, 174, 0.2); }
.wl-res.off .wl-res-ico { color: var(--sp-ink-dim); background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.wl-dep { box-shadow: var(--sp-shadow), inset 0 0 0 1px var(--sp-line); }
.wl-dep-chip { padding: 5px 9px; border-radius: 999px; font: 600 12.5px/1 var(--sp-body); color: var(--sp-aurora); background: var(--sp-aurora-soft); }
@media (prefers-reduced-motion: reduce) { .dp-hero, .dp-tile, .dp-lot, .dp-ev { animation: none; } }
html.lite .dp-hero::before { display: none; }

/* ритм и плавность быстрых действий кошелька */
.wl-circ { box-shadow: var(--sp-shadow), inset 0 0 0 1px var(--sp-line); }
.wl-circ.primary { box-shadow: 0 8px 18px -8px rgba(44, 99, 240, 0.7); }
.wl-act b { font-weight: 550; font-size: 12.5px; letter-spacing: 0.01em; }
.wl-acts .wl-act, .wl-res, .wl-dep, .wl-addr { animation: sp-rise 380ms var(--sp-ease) both; }
.wl-acts .wl-act:nth-child(2) { animation-delay: 40ms; } .wl-acts .wl-act:nth-child(3) { animation-delay: 80ms; } .wl-acts .wl-act:nth-child(4) { animation-delay: 120ms; }
.wl-dep { animation-delay: 140ms; }
.wl-op { animation: sp-fade 320ms var(--sp-ease) both; }
@media (prefers-reduced-motion: reduce) { .wl-acts .wl-act, .wl-res, .wl-dep, .wl-addr, .wl-op { animation: none; } }
