/* tabicons-1130 (Anton 2026-11-30, approved "love it" / "cream works"): mini 3D toy icons in the player dock
   (My Tycoon / Exchange / Bank / Deal Files / Chat), phone dock and desktop side column alike.
   28 px slot, PNG at 1x/2x/3x (srcset in app.js tiImg). The art carries its own light, so no colour or tint filters.
   Motion: a squash-bounce with a 4 px hop on tap only (.ti-tap, set by the tab's onclick, never by a re-render), an idle bob on
   the open tab only, a small lift on desktop hover; all of it off under prefers-reduced-motion. Replaces the flat glyph's tabPop. */
.ptab { min-height: 44px; }
.ptab-ic.ti3d { width: 28px; height: 28px; color: inherit; transform-origin: 50% 92%;
  filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, .55)); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.ptab-ic.ti3d img { width: 100%; height: 100%; display: block; pointer-events: none; -webkit-user-drag: none; user-select: none; }
/* on the gold open-tab plate: a warm brown contact shadow and a thin cream glow, so the gold bank stays apart from the gold */
.ptab.on .ptab-ic.ti3d { filter: drop-shadow(0 1.5px 0 rgba(110, 60, 6, .75)) drop-shadow(0 0 2px rgba(255, 248, 214, .9));
  animation: tiBob 2.6s ease-in-out var(--ti-bob, 0s) infinite; }
.ptab.ti-tap .ptab-ic.ti3d { animation: tiSquash .5s cubic-bezier(.28, 1.4, .5, 1) var(--ti-sq, 0s), tiBob 2.6s ease-in-out var(--ti-bob, .5s) infinite; }
@keyframes tiSquash {
  0%   { transform: translateY(0) scale(1, 1); }
  16%  { transform: translateY(1px) scale(1.16, .82); }
  42%  { transform: translateY(-4px) scale(.92, 1.08); }   /* 4 px hop: stays inside the tab's 7 px top padding (the chamfered tab clips higher) */
  64%  { transform: translateY(0) scale(1.07, .94); }
  82%  { transform: translateY(-1px) scale(.98, 1.02); }
  100% { transform: translateY(0) scale(1, 1); } }
@keyframes tiBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (hover: hover) { .ptab:hover:not(.on) .ptab-ic.ti3d { transform: translateY(-2px) scale(1.06); } }
/* the open tab has no hover lift and no transition: a hover transition outranks animations in the cascade, so the cursor resting on a
   just-opened (or just-rebuilt) tab would otherwise mask the bounce on desktop for 0.2 s */
.ptab.on .ptab-ic.ti3d, .ptab.on:hover .ptab-ic.ti3d { transition: none; }
@media (hover: hover) { .ptab.on:hover .ptab-ic.ti3d { transform: none; } }
/* the unread badge sits over the bubble's upper-right corner, ringed, above the icon */
.ptab .ptab-badge { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .ptab-ic.ti3d, .ptab.on .ptab-ic.ti3d, .ptab.ti-tap .ptab-ic.ti3d, .ptab:hover .ptab-ic.ti3d { animation: none !important; transition: none !important; transform: none !important; }
}
