.cabinet-home-hint {
 position: fixed;
 z-index: 110;
 display: flex;
 align-items: center;
 gap: 4px;
 pointer-events: none;
 user-select: none;
}

.cabinet-home-hint[hidden] { display: none; }

.cabinet-home-hint-finger {
 font-size: clamp(25px, 2.3vw, 32px);
 line-height: 1;
 transform: translate(3px, 3px) rotate(-24deg);
}

.cabinet-home-hint-label {
 padding: 6px 9px;
 border-radius: 9px;
 background: var(--accent, #ffd21f);
 color: var(--ink, #17181a);
 font-size: 12px;
 font-weight: 750;
 line-height: 1.2;
 white-space: nowrap;
}

.cabinet-home-hint--swipe { right: 12px; }
.cabinet-home-hint--swipe .cabinet-home-hint-finger {
 flex: none;
 margin-right: 12px;
 transform: none;
}
.cabinet-home-hint--swipe .cabinet-home-hint-label { white-space: normal; }

@media (min-width: 760px) {
 .cabinet-home-hint--swipe { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
 .cabinet-home-hint-finger { animation: cabinet-home-hint-tap 1s ease-in-out 2; }
 .cabinet-home-hint--swipe .cabinet-home-hint-finger { animation-name: cabinet-home-hint-swipe; }
}

@keyframes cabinet-home-hint-tap {
 0%, 100% { transform: translate(3px, 3px) rotate(-24deg); }
 45%, 55% { transform: translate(-2px, -7px) rotate(-24deg) scale(.91); }
}

@keyframes cabinet-home-hint-swipe {
 0%, 100% { transform: translateX(0); }
 45%, 55% { transform: translateX(12px); }
}

@media print {
 .cabinet-home-hint { display: none; }
}
