body { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
.dock-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.bottom-navigation { position: fixed; z-index: 8; inset-inline-start: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(620px,calc(100% - 28px)); transform: translateX(-50%); }
.bottom-nav { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: end; gap: 5px; min-height: 77px; padding: 6px 10px; border: 1px solid #b6e4ffb3; border-radius: 24px; color: #35618b; background: radial-gradient(ellipse at 50% 0,#fff,transparent 78%),linear-gradient(180deg,#fff,#e6f3ff); box-shadow: inset 0 1px #fff,inset 0 -1px #cde4f6,0 8px 26px #15548b32,0 -3px 16px #4396d215; }
.bottom-nav[hidden] { display: none; }
.bottom-nav::before { position: absolute; top: -1px; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg,transparent,#d6f6ff,transparent); content: ''; }
.bottom-nav--guest { grid-template-columns: repeat(3,minmax(0,1fr)); width: min(440px,100%); margin-inline: auto; }
.bottom-nav-item { position: relative; display: grid; justify-items: center; align-content: end; gap: 4px; min-width: 0; min-height: 62px; margin: 0; padding: 4px 3px 3px; border: 1px solid transparent; border-radius: 17px; color: inherit; background: transparent; font: 700 14px/1.3 var(--font); text-align: center; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bottom-nav-item > span:last-child { white-space: nowrap; }
.dock-icon-wrap { display: grid; place-items: center; width: 34px; height: 32px; border-radius: 11px; color: #168cde; background: #e1f2ff50; }
.dock-icon { display: block; flex: 0 0 auto; width: 27px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.15; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px #fff); }
.dock-accent { fill: #8bdaff; stroke: none; }
.dock-gold { fill: #ffdc7b; stroke: none; }
.bottom-nav-register .dock-icon-wrap { color: #168cde; }
.bottom-nav-register .dock-accent { fill: #9bdbff; }
.bottom-nav-item:is(:hover,[aria-current="page"]) { color: #086fb9; background: linear-gradient(#d8efff,#edf8ff); border-color: #b9ddf5; }
.bottom-nav-item:is(:hover,[aria-current="page"]) .dock-icon-wrap { color: #057dc8; background: #bde6ff55; }
.bottom-nav-item:focus-visible { outline: 2px solid #80d4ff; outline-offset: 4px; }
.bottom-nav-center { align-content: end; min-height: 62px; padding-top: 0; color: #096fb8; }
.bottom-nav-center:is(:hover,[aria-current="page"]) { border-color: transparent; background: transparent; }
.dock-orb { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin-top: -33px; margin-bottom: 0; border: 4px solid #fff; border-radius: 50%; color: #fff; background: radial-gradient(circle at 30% 12%,#65dcff,#168bdf 43%,#0753aa 77%,#0a3c7d); box-shadow: inset 0 2px 3px #fff9,inset 0 -3px 5px #063b7799,0 0 0 5px #64c6ff1f,0 6px 18px #0d78ca80; }
.dock-orb::before { position: absolute; inset: 5px; border: 1px solid #bcefff65; border-bottom-color: #235f9988; border-radius: inherit; content: ''; }
.dock-orb .dock-icon { width: 33px; height: 33px; stroke-width: 1.9; filter: drop-shadow(0 2px 1px #064c8e77); }
.bottom-nav-center > span:last-child { margin-top: 3px; color: #0873be; }
.toast { bottom: calc(114px + env(safe-area-inset-bottom)); }
.transaction-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0 0 17px; padding: 5px; border: 1px solid #beddf4; border-radius: 15px; background: #e2f1ff; box-shadow: inset 0 1px #fff; }
.transaction-tabs button { min-width: 0; min-height: 43px; padding: 9px 14px; border: 1px solid transparent; border-radius: 11px; color: #567fa0; background: transparent; font: 750 15px/1.4 var(--font); cursor: pointer; }
.transaction-tabs button[aria-pressed="true"] { border-color: #7dc9fa; color: #fff; background: linear-gradient(115deg,#1999e9,#0870c5); box-shadow: inset 0 1px #c9edff80,0 3px 8px #1c87cb26; }
.transaction-tabs button:focus-visible { outline: 2px solid #168bd6; outline-offset: 2px; }
.deposit-content > .history-result-link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin-top: 12px; padding: 8px 12px; border: 1px solid #b4d6ee; border-radius: 11px; color: #1c72aa; background: #f8fcff; font: 700 14px/1.4 var(--font); text-align: center; }
@media (max-width: 620px) {
  .bottom-navigation { bottom: calc(8px + env(safe-area-inset-bottom)); width: calc(100% - 16px); }
  .bottom-nav { min-height: 75px; gap: 2px; padding: 5px 6px; border-radius: 21px; }
  .bottom-nav-item { min-height: 62px; gap: 5px; padding-inline: 1px; border-radius: 14px; font-size: 13px; }
  .dock-icon-wrap { width: 31px; height: 31px; }
  .dock-icon { width: 25px; height: 25px; }
  .dock-orb { width: 65px; height: 65px; margin-top: -29px; border-width: 3px; }
  .dock-orb .dock-icon { width: 30px; height: 30px; }
}
@media (max-width: 360px) {
  .bottom-nav-item { font-size: 12px; }
  .dock-orb { width: 60px; height: 60px; margin-top: -25px; }
}
@media (prefers-reduced-motion: no-preference) {
  .dock-orb,.dock-icon-wrap { transition: transform .2s ease,box-shadow .2s ease; }
  .bottom-nav-item:hover .dock-icon-wrap { transform: translateY(-2px); }
  .bottom-nav-center:hover .dock-orb { transform: translateY(-3px); box-shadow: inset 0 2px 3px #fff9,inset 0 -3px 5px #063b7799,0 0 0 5px #64c6ff28,0 8px 20px #0d78ca9c; }
  .bottom-nav-item:active .dock-icon-wrap,.bottom-nav-center:active .dock-orb { transform: translateY(1px); }
}
