﻿/* Елка для pulseofny.rusff.me © desp */

#wrapper {
  position:relative;
  width:100%;
  height:900px;
  background: url(/files/001c/80/ee/32677.jpg?v=1);
  background-size: cover;
}

.sneg {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://forumstatic.ru/files/001c/80/ee/66999.gif');
    opacity: .5;
    width: 100%;
    height: 900px;
    mix-blend-mode: lighten;
}

.spoiler-content {
    display: none;
    padding-bottom: 10px;

}

.spoiler-btn.active + .spoiler-content {
    display: block;
    text-align: center;
}

.spoiler-btn.active {
    background-color: #1c1c1c;
    opacity: .6;
}

#tree-container {
    position: absolute;
    left: 25%;
    top: 15%;
    width: 50%;
    height: 72%;
    z-index: 5;
}

.row-wrap {
    position: relative;
}
.row-wrap {
    position: relative; 
    min-height: 70px;
}

/* НОВЫЕ СТИЛИ ДЛЯ СТРУКТУРЫ ЁЛКИ */
.row {
    display: inline-block;
    height: 90px;
}

.row1 {
    width: 130px;
    margin: 0 0 0 38%;
}

.row2 {
    width: 210px;
    margin: 0 0 0 29%;
}

.row3 {
    width: 300px;
    margin: 0 0 0 21%;
}

.row4 {
    width: 300px;
    margin: 0 0 0 21%;
}

.row5 {
    width: 400px;
    margin: 0 0 0 13%;
}

.row6 {
    width: 500px;
    margin: 0 0 0 2%;
}

.row7 {
    width: 500px;
    margin: 0 0 0 1%;
}

#form-box {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 260px;
    padding: 15px;
    z-index: 7;
    background: rgb(var(--light100));
}

textarea {
    width: 100%;
    resize: none;
    height: 80px;
    border-style: solid;
    border-width: 1px;
    -moz-border-image: var(--frame) 26 repeat;
    -webkit-border-image: var(--frame) 26 repeat;
    -o-border-image: var(--frame) 26 repeat;
    border-image: var(--frame) 26 repeat;
    border-image-width: 14px;
    border-image-outset: 1px;
}

.gifts-select {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.gifts-select img, .spoiler-content img {
    height: 35px;
    cursor: pointer;
    border: 1px solid transparent;
border-radius: 6px
}

.gifts-select img.selected { border-color: var(--color-accent) }

button {
    width: 96%;
    padding: 10px;
    background: var(--bback) center, #1c1c1c;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.gift {
  position:absolute;
  width:40px;
  height:auto;
  cursor:pointer;
  transition:transform .2s;
filter: brightness(.8);
}
.gift:hover { transform:scale(1.2); filter: brightness(1.2); z-index:9999 }

.tooltip {
    background: #fff;
    border: 1px solid #aaa;
    margin-left: 10px !important;
    margin-top: 1% !important;
}
/* 🌟 НОВЫЕ СТИЛИ ДЛЯ НЕПРОЧИТАННЫХ ПОДАРКОВ (ПО КОНТУРУ) 🌟 */
.gift.unread {
    /* Свечение по контуру PNG */
    filter: drop-shadow(0 0 8px white); 
    animation: pulse-filter 2s infinite alternate; 
}

/* Анимация движения и свечения, адаптированная для drop-shadow */
@keyframes pulse-filter {
    0% { transform: scale(.8); filter: drop-shadow(0 0 5px white) brightness(1.1); }
    100% { transform: scale(1); filter: drop-shadow(0 0 15px white)  }
}


