body {
    height: 100vh;
    overflow: hidden;
}


/* 视口（可拖拽） */
.viewport {
    position: absolute;
    left: 0;
    right: 0;
    top:0;
    bottom: 0;
    overflow: hidden;
    touch-action: pan-y;
}

/* 整块墙（横向无限扩展，每页宽度 = viewportWidth） */
.wish-wall {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - 0px);
    display: block;
    will-change: transform;
}

/* 单个贴纸样式 */
.sticker {
    position: absolute;
    width: 220px;
    min-height: 120px;
    padding: 12px;
    background-color: #fff;
    color: #222;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    background-size: cover;
    background-position: center;
    transform-origin: center;
    transition: none; /* 移除过渡效果 */
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    line-height: 1.3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.sticker .meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(0,0,0,0.6);
}

/* hover效果 - 移除放大和阴影效果 */
.sticker.sticker-hover {
    /* 移除所有hover效果，只保留按钮显示 */
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* 贴纸微摆动（创意效果） */
.sticker[data-wiggle="true"] {
    animation: wiggle 6s ease-in-out infinite;
}

@keyframes wiggle {
    0% { transform: translateY(0) rotate(-2deg) }
    50% { transform: translateY(-6px) rotate(2deg) }
    100% { transform: translateY(0) rotate(-2deg) }
}

/* 贴纸操作按钮 */
.sticker-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sticker:hover .sticker-actions {
    opacity: 1;
}

.sticker-actions button {
    flex: 1;
    padding: 2px 4px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    margin: 0 2px;
    transition: background-color 0.2s;
    min-height: 24px;
}

.like-btn {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.like-btn:hover {
    background-color: rgba(255, 255, 255, 1);
}

.report-btn {
    background-color: rgba(255, 100, 100, 0.8);
    color: white;
}

.report-btn:hover {
    background-color: rgba(255, 100, 100, 1);
}

/* 悬浮详情弹出 */
.sticker-hover {
    position: absolute;
    background: rgba(0,0,0,0.82);
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    min-width: 220px;
    max-width: 320px;
    z-index: 12000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.sticker-hover.hidden { display: none; }

.sticker-hover .hover-text { font-size:14px; margin-bottom:8px; color:#fff; }

.sticker-hover .hover-meta { font-size:12px; color:#ffd479; display:flex; justify-content:space-between; margin-bottom:6px; }

.sticker-hover .hover-actions button { margin-left:8px; }

.materials { display:flex; gap:10px; align-items:center; margin:6px 0 12px; }

.material { width:64px; height:64px; object-fit:cover; border-radius:6px; border:2px solid rgba(0,0,0,0.06); cursor:pointer; }

.material.selected { outline:3px solid rgba(255,102,0,0.22); transform: translateY(-4px); }

.small { padding:6px 8px; border-radius:8px; border:none; background:#6c757d; color:#fff; cursor:pointer; }

.primary { padding:8px 14px; border-radius:10px; border:none; background:#007bff; color:#fff; cursor:pointer; margin-right:8px; }

.closeModal { padding:8px 12px; border-radius:10px; border:none; background:transparent; cursor:pointer; }


/* footer */
.footer { position: absolute; bottom: 6px; left: 0; right:0; text-align:center; color: rgba(255,255,255,0.2); font-size:12px; }

/* wall.css 中添加 */
.sticker.preview {
    box-shadow: 0 0 10px rgba(0, 0, 255, 0.4);
    opacity: 0.9;
    border: 2px dashed #007bff;
}

/* 响应式 */
@media (max-width:768px) {
    .sticker { width: 170px; font-size:13px; }
    .material { width:56px; height:56px; }

    .floating-buttons {
        bottom: auto;
        top: 20px; /* 在小屏幕上放置在右上角 */
        right: 20px;
    }
}