/* PixoGame extras v1 (2026-11-30): Arial font, compact New Year footer, square avatars, avatar cropper */
html body,html body :is(h1,h2,h3,h4,h5,h6,p,a,div,button,input,select,textarea,label,small,strong,b,li,td,th,dd,dt,em,section,article,nav,header,footer,main,del,time,blockquote,legend,option),html body span:not([class*="fa-"]):not(.fa){font-family:Arial,"Helvetica Neue",Helvetica,sans-serif !important}

/* square avatars */
#profile-detail-avatar,.drawer-avatar,#drawer-user-avatar,#mobile-user-avatar,.pixo-profile-avatar img{aspect-ratio:1/1 !important;object-fit:cover !important}
#profile-detail-avatar{width:120px !important;height:120px !important;border-radius:22px !important}
.pixo-profile-avatar{aspect-ratio:1/1}

/* ===== compact footer ===== */
html body #main-footer{padding:26px clamp(16px,4vw,40px) 14px !important;margin-top:28px}
html body #main-footer .footer-content{padding:0 !important;margin:0 auto 12px !important;gap:clamp(16px,3vw,36px) !important}
html body #main-footer .footer-brand p{margin:8px 0 0 !important;font-size:.84rem !important;line-height:1.55 !important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body #main-footer .footer-links-col h4{margin-bottom:.6rem !important}
html body #main-footer .footer-links li{margin:0 0 5px !important}
html body #main-footer .footer-links a{font-size:.84rem !important}
html body #main-footer .footer-bottom{padding-top:12px !important;margin-top:0 !important}
.px-foot-trust{margin:0 auto 20px !important;gap:10px !important}
.px-foot-trust div{padding:9px 12px !important;font-size:.82rem !important;border-radius:14px !important}
.px-foot-trust i{width:30px !important;height:30px !important;border-radius:10px !important;font-size:.8rem !important}

/* ===== New Year ===== */
@keyframes pxSnow{0%{transform:translate3d(0,-20px,0) rotate(0)}100%{transform:translate3d(var(--sx,20px),var(--fh,420px),0) rotate(240deg)}}
@keyframes pxTwinkle{0%,100%{opacity:1;filter:brightness(1.25)}50%{opacity:.35;filter:brightness(.7)}}
@keyframes pxNyShine{0%{background-position:0% 50%}100%{background-position:200% 50%}}
html body #main-footer{isolation:isolate}
.px-snow{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.px-snow i{position:absolute;top:-20px;left:var(--x);width:var(--s);height:var(--s);border-radius:50%;background:radial-gradient(circle,#fff 0 35%,rgba(255,255,255,.35) 60%,transparent 72%);opacity:var(--o,.8);animation:pxSnow var(--d,9s) linear infinite;animation-delay:var(--dl,0s);will-change:transform}
.px-snow i.st{background:none;width:auto;height:auto;color:#fff;font-size:var(--s);line-height:1;font-style:normal;text-shadow:0 0 8px rgba(255,255,255,.7)}
.px-snow i.st::before{content:"\2744"}
.px-off .px-snow i,.px-off .px-garland b{animation-play-state:paused !important}
.px-garland{position:absolute;left:0;right:0;top:0;height:34px;display:flex;justify-content:space-around;pointer-events:none;z-index:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='22' viewBox='0 0 96 22'%3E%3Cpath d='M0 2 Q24 20 48 2 T96 2' fill='none' stroke='%23556' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0/96px 22px}
.px-garland b{position:relative;display:block;width:9px;height:13px;margin-top:15px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;background:var(--c);box-shadow:0 0 10px 2px var(--c),0 0 22px var(--c);animation:pxTwinkle var(--t,1.6s) ease-in-out infinite;animation-delay:var(--dl,0s)}
.px-garland b:nth-child(even){margin-top:4px}
.px-garland b::before{content:"";position:absolute;left:2px;top:-4px;width:5px;height:5px;border-radius:2px;background:#7a7f8c}
html body #main-footer>*:not(.px-snow):not(.px-garland){position:relative;z-index:2}
html body #main-footer .px-foot-trust{margin-top:18px !important}
.px-ny{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;font-weight:800;font-size:.82rem;color:#fff;background:linear-gradient(110deg,#c81d3a,#e8a317,#1f9d55,#c81d3a);background-size:200% 100%;animation:pxNyShine 6s linear infinite;box-shadow:0 10px 24px -12px rgba(232,163,23,.8)}
.px-ny span{display:inline-block;animation:pxTwinkle 2.4s ease-in-out infinite}
html body #main-footer .footer-bottom{gap:10px !important}
@media (max-width:768px){
  html body #main-footer{padding:22px 16px 92px !important}
  html body #main-footer .footer-content{grid-template-columns:1fr 1fr !important;gap:14px 18px !important}
  html body #main-footer .footer-brand{display:none !important}
  .px-foot-trust{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important}
  .px-foot-trust div{flex-direction:column;text-align:center;gap:6px !important;padding:9px 6px !important;font-size:.7rem !important}
  html body #main-footer .footer-bottom{flex-direction:column}
}
@media (prefers-reduced-motion:reduce){.px-snow{display:none}.px-garland b,.px-ny{animation:none !important}}

/* ===== avatar cropper ===== */
@keyframes pxcIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
.pxc-back{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:rgba(5,5,10,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.pxc{width:min(400px,100%);padding:20px;border-radius:24px;background:#131219;color:#f5f5f7;border:1px solid rgba(255,255,255,.1);box-shadow:0 40px 80px -30px rgba(0,0,0,.9);animation:pxcIn .35s cubic-bezier(.2,.8,.2,1) both}
body.light-mode .pxc{background:#fff;color:#15131c;border-color:rgba(0,0,0,.08)}
.pxc h3{margin:0 0 4px;font-size:1.15rem;font-weight:800}
.pxc p{margin:0 0 14px;font-size:.82rem;opacity:.65}
.pxc-view{position:relative;width:100%;aspect-ratio:1/1;border-radius:20px;overflow:hidden;background:#0a0a0f;touch-action:none;cursor:grab;user-select:none}
.pxc-view:active{cursor:grabbing}
.pxc-view canvas{display:block;width:100%;height:100%}
.pxc-grid{position:absolute;inset:0;pointer-events:none;border-radius:20px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.85);background-image:linear-gradient(90deg,transparent calc(33.33% - .5px),rgba(255,255,255,.35) calc(33.33% - .5px) calc(33.33% + .5px),transparent calc(33.33% + .5px) calc(66.66% - .5px),rgba(255,255,255,.35) calc(66.66% - .5px) calc(66.66% + .5px),transparent calc(66.66% + .5px)),linear-gradient(transparent calc(33.33% - .5px),rgba(255,255,255,.35) calc(33.33% - .5px) calc(33.33% + .5px),transparent calc(33.33% + .5px) calc(66.66% - .5px),rgba(255,255,255,.35) calc(66.66% - .5px) calc(66.66% + .5px),transparent calc(66.66% + .5px))}
.pxc-zoom{display:flex;align-items:center;gap:10px;margin:16px 0 4px;font-size:.9rem;opacity:.85}
.pxc-zoom input{flex:1;accent-color:#ff3b55}
.pxc-actions{display:flex;gap:10px;margin-top:16px}
.pxc-actions button{flex:1;height:48px;border-radius:14px;font-weight:800;font-size:.92rem;cursor:pointer;border:1px solid rgba(127,127,140,.3);background:transparent;color:inherit;transition:transform .2s}
.pxc-actions .pxc-ok{border:0;color:#fff;background:linear-gradient(110deg,#ff1744,#ff5a36);box-shadow:0 12px 24px -12px rgba(255,30,70,.9)}
.pxc-actions button:active{transform:scale(.97)}

/* footer v2: links flow horizontally to keep the footer short */
html body #main-footer .footer-content{align-items:flex-start !important}
html body #main-footer .footer-brand{flex:1 1 260px;max-width:340px}
html body #main-footer .footer-links-col{flex:1 1 240px}
html body #main-footer .footer-links{display:flex !important;flex-wrap:wrap;gap:6px 18px;margin:0 !important;padding:0 !important}
html body #main-footer .footer-links li{margin:0 !important}
html body #main-footer .footer-brand .logo{margin-bottom:0 !important}
@media (max-width:768px){html body #main-footer .footer-content{display:grid !important;grid-template-columns:1fr !important;gap:14px !important}html body #main-footer .footer-links{gap:6px 14px}}
html body #main-footer .footer-links-col:last-child{flex:2 1 440px}
html body #main-footer .footer-brand{flex:1 1 220px}
