/* UFOPay merchant desk - app shell: sky, top strip, dock */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(900px 520px at 88% -8%, rgba(198, 243, 95, .07), transparent 60%), radial-gradient(700px 600px at -5% 105%, rgba(110, 140, 255, .08), transparent 60%), var(--ink-0); }
.sky svg { position: absolute; right: -240px; top: -260px; width: 980px; height: 980px; opacity: .55; }
.sky ellipse, .art ellipse { fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.top, main, .dock { position: relative; z-index: 1; }
.top { position: sticky; top: 0; z-index: var(--z-top); height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1120px) / 2)); background: linear-gradient(var(--ink-0) 40%, transparent); }
.wordmark { display: flex; align-items: center; gap: 11px; color: var(--tx); font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.wordmark:hover { text-decoration: none; }
.wordmark img { width: 30px; height: 30px; }
.wordmark small { display: block; font: 600 10px/1 var(--f-disp); letter-spacing: .24em; color: var(--tx-3); margin-top: 3px; text-transform: uppercase; }
.who { display: flex; align-items: center; gap: 12px; }
.who .id { text-align: right; line-height: 1.25; }
.who .id b { display: block; font: 600 13px var(--f-mono); letter-spacing: .02em; }
.who .id span { font-size: 12px; color: var(--tx-3); }
#mchAv { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ion-ink); background: var(--ion); }
main { max-width: 1120px; margin: 0 auto; padding: 18px 24px 150px; animation: arrive .55s var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.head h1 { font: 600 34px/1.1 var(--f-disp); letter-spacing: -.01em; }
.head p { margin-top: 8px; color: var(--tx-3); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--tx-2); margin-bottom: 14px; font-size: 13px; }
.back .icon { transform: rotate(180deg); width: 15px; height: 15px; }

.dock { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: var(--z-dock); display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(20, 24, 38, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line-2); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.dock a { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 15px; border-radius: 999px; color: var(--tx-2); font-weight: 500; transition: background .25s, color .25s, transform .3s var(--ease); }
.dock a:hover { text-decoration: none; color: var(--tx); background: rgba(190, 205, 255, .08); transform: translateY(-2px); }
.dock a[aria-current=page] { background: var(--ion); color: var(--ion-ink); font-weight: 700; }
@media (prefers-reduced-transparency: reduce) { .dock { background: var(--ink-2); backdrop-filter: none; } }
@media (max-width: 760px) {
  .top { height: 58px; padding: 0 18px; }
  .who .id { display: none; }
  main { padding: 10px 16px 130px; }
  .head h1 { font-size: 28px; }
  .dock { left: 10px; right: 10px; bottom: 12px; transform: none; justify-content: space-between; border-radius: 22px; padding: 5px; gap: 0; }
  .dock a { flex: 1; flex-direction: column; justify-content: center; gap: 3px; height: 54px; padding: 0 2px; border-radius: 17px; font-size: 11px; }
  .dock a:hover { transform: none; }
  .sky svg { right: -420px; top: -300px; }
}
