.journal-touch-wrap {
    margin-top: 20px;
}

.journal-touch-wrap .journal-touch-button {
        padding: 2px 4px 2px 4px;
}

.journal-touch-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    background: #f0f0f0;
    border: solid 1px #ccc;
    border-color: #ccc !important;
    font-size: .75em;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover only for active (untouched) buttons */
.journal-touch-button:not(.disabled):not(.touched):hover {
    transform: translateY(-2px) scale(1.05);
}

/* Active only for active (untouched) buttons */
.journal-touch-button:not(.disabled):not(.touched):active {
    transform: scale(0.95);
}

/* BOTH disabled AND touched = completely static, no animations */
.journal-touch-button.disabled,
.journal-touch-button.touched {
    opacity: 0.8;
    cursor: not-allowed;
    pointer-events: none;           /* blocks all hover/active */
    color: #666B88 !important;
    font-size: .75em;
}

/* Touched gets its own green accent while staying static */
.journal-touch-button.touched {
    color: #0a0 !important;
}

.touch-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Icon spin ONLY on real clickable buttons */
.journal-touch-button:not(.disabled):not(.touched):active .touch-icon {
    transform: rotate(30deg) scale(1.4);
}

/* ==================== WATER SPLASH ANIMATION ==================== */
@keyframes water-splash {
  0%   { transform: translate(0, 0) scale(1);   opacity: 1; }
  100% { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; }
}

.splash-particle {
  position: absolute;
  font-size: 22px;
  pointer-events: none;
  z-index: 9999;
  animation: water-splash 800ms ease-out forwards;
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.6);
}

/* ==================== TOUCHED BY AVATARS (24x24 perfectly circular) ==================== */
.touched-by-wrap {
    margin-top: 12px;
}

.touched-by-avatars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.touched-by-avatar {
    display: inline-block;
    width: 20px;                    /* slightly larger wrapper for the white border */
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.touched-by-avatar:hover {
    transform: scale(1.15);
    z-index: 2;
}

/* THIS IS THE KEY FIX — forces the actual <img> to be circular */
.touched-by-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50% !important;
    display: block;
    border: none !important;           /* kills the black 1px border */
}

.touched-by-more {
    margin-left: 6px;
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

/* ==================== FULL TOUCHED-BY SHORTCODE (responsive) ==================== */
.touched-by-full-wrap {
    margin: 20px 0;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.touched-by-full-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.touched-by-full-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.touched-by-avatar {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.touched-by-avatar:hover {
    transform: scale(1.15);
    z-index: 2;
}

.touched-by-avatar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: none !important;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .touched-by-full-avatars {
        gap: 4px;
    }
    .touched-by-avatar {
        width: 24px;
        height: 24px;
    }
}