.game-symbol-image{display:inline-block;width:1em;height:1em;object-fit:contain;vertical-align:middle}.ideograph .game-symbol-image{width:32px;height:32px}.detail-symbol>.game-symbol-image{width:42px;height:42px}.element-tab .game-symbol-image{width:27px;height:27px}.formation-heart .game-symbol-image{width:52px;height:52px}.kim-sheet-seal .game-symbol-image{width:38px;height:38px}.quest-medallion .game-symbol-image{width:25px;height:25px}.account-seal .game-symbol-image{width:44px;height:44px}

/* Thanh điều hướng dùng chung cho các màn hình chính. */
.global-bottom-nav{position:fixed;z-index:100;left:50%;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);width:min(100%,480px);height:62px;padding:5px 10px max(5px,env(safe-area-inset-bottom));gap:4px;transform:translateX(-50%);border-top:1px solid #9a744d;background:linear-gradient(#0a2529f2,#061219fc);box-shadow:0 -5px 18px #0008}
.global-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid transparent;color:#a9c1b6;text-decoration:none;transition:transform .16s ease,background .16s ease,border-color .16s ease}.global-bottom-nav a span{font-size:21px;line-height:22px;color:#bc9b63}.global-bottom-nav a small{font-size:9px;white-space:nowrap}.global-bottom-nav a.active{border-color:#75c9ad;background:linear-gradient(#194542,#0b2a31);color:#fff1c7;clip-path:polygon(9% 0,91% 0,100% 18%,100% 100%,0 100%,0 18%)}.global-bottom-nav a.active span{color:#75e3c1}.global-bottom-nav a:active{transform:translateY(2px) scale(.96)}
.five-elements:has(.global-bottom-nav),.manual-page:has(.global-bottom-nav),.character-page:has(.global-bottom-nav){padding-bottom:max(84px,calc(70px + env(safe-area-inset-bottom)))}
@media(prefers-reduced-motion:no-preference){.five-elements,.manual-page,.character-page{animation:game-page-enter .24s ease-out both}@keyframes game-page-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:no-preference){html.page-transition-ready body{animation:game-page-ready .22s ease-out both}html.page-transition-ready.page-leaving body{opacity:0;transform:translateY(4px);transition:opacity .14s ease,transform .14s ease}@keyframes game-page-ready{from{opacity:0}to{opacity:1}}}

