/* ARRANGE YOUR HOME SCREEN (js/homeedit.js, 2026-11-25): the wiggle, the "−" badges, Done / Reset, the icon you drag. */
@keyframes hjig { from { transform: rotate(-1.7deg); } to { transform: rotate(1.7deg); } }
.phone .pface.hedit .app .ic { animation: hjig .24s ease-in-out infinite alternate; animation-delay: var(--jd, 0s); }
.phone .pface.hedit .app { touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.phone .pface.hedit .app.hdrag { opacity: 0; }
.phone .pface.hedit .app .badge, .phone .pface.hedit .app .aspie { display: none; }
.phone .pface.hedit .app .hx { position: absolute; top: -6px; left: calc(50% - 39px); z-index: 4; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(118, 118, 128, .94); color: #fff; font: 700 19px/1 var(--font, sans-serif); font-style: normal; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); animation: hjig .24s ease-in-out infinite alternate; animation-delay: var(--jd, 0s); }
.phone .pface.hedit .pdock .app .hx { top: -4px; left: -4px; }
.phone .hbar { position: absolute; top: calc(8px + var(--safe-t, 0px)); left: 0; right: 0; z-index: 30; display: flex; justify-content: space-between; padding: 0 14px; pointer-events: none; }
.phone .hbar button { pointer-events: auto; height: 32px; padding: 0 16px; border-radius: 16px; border: 0; background: rgba(255, 255, 255, .82); color: #111; font: 700 14px var(--font, sans-serif); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.phone .hbar .hdone { background: #fff; color: #0a7cff; }
.phone .pface.hedit .pstat { visibility: hidden; }
.phone .hclone { position: absolute; z-index: 60; margin: 0; pointer-events: none; transform: scale(1.16); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .4)); transition: none; }
.phone .hclone .ic { animation: none !important; }
html.dark .phone .hbar button { background: rgba(44, 44, 46, .88); color: #f2f2f7; } html.dark .phone .hbar .hdone { background: #2c2c2e; color: #3b9bff; }
@media (prefers-reduced-motion: reduce) { .phone .pface.hedit .app .ic, .phone .pface.hedit .app .hx { animation: none; } .phone .pface.hedit .app .ic { outline: 2px dashed rgba(255, 255, 255, .5); outline-offset: 2px; } }
