/* ===================================
   СТИЛИ ДЛЯ МИНИИГРЫ "ГРЯДКЕ"
   garden_game.css
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* Основной контейнер игры */
.garden-game-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Игровой контейнер */
.garden-game {
    width: 90%;
    max-width: 600px;
    height: 85vh;
    max-height: 750px;
    background: linear-gradient(180deg, 
        #1e1e24 0%, 
        #252530 30%,
        #1a1a20 60%,
        #15151a 100%
    );
    border-radius: 12px;
    box-shadow: 
        0 0 60px rgba(80, 20, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border: 1px solid #3a2020;
    font-family: 'Roboto', sans-serif;
}

/* Заголовок игры */
.game-header {
    background: linear-gradient(180deg, #251515 0%, #1a0f0f 100%);
    padding: 15px 20px;
    border-bottom: 1px solid #3a2525;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c0c0c0;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.stat-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
}

.stat-icon img {
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 3px rgba(200, 80, 50, 0.4));
}

.stat-value {
    min-width: 50px;
    text-align: center;
    background: rgba(80, 30, 30, 0.3);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    border: 1px solid #402020;
}

.time-warning {
    animation: pulseRed 0.5s infinite;
    color: #e05555;
}

@keyframes pulseRed {
    0%, 100% {
        background: rgba(150, 40, 40, 0.5);
        transform: scale(1);
    }
    50% {
        background: rgba(180, 50, 50, 0.7);
        transform: scale(1.05);
    }
}

.admin-mode {
    background: linear-gradient(135deg, #4a1a1a, #351515);
    padding: 6px 16px;
    border-radius: 6px;
    color: #d4a84a;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #5a3030;
}

/* Игровое поле */
.game-field {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, 
        #121218 0%,
        #18181e 40%,
        #1e1e25 100%
    );
    /* Запрет выделения */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.soil-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: 
        /* Мелкие частицы земли */
        radial-gradient(ellipse 3px 2px at 8% 15%, #2a1a1a 50%, transparent 50%),
        radial-gradient(ellipse 2px 2px at 22% 42%, #251515 50%, transparent 50%),
        radial-gradient(ellipse 4px 2px at 38% 18%, #2d1c1c 50%, transparent 50%),
        radial-gradient(ellipse 2px 3px at 52% 55%, #281818 50%, transparent 50%),
        radial-gradient(ellipse 3px 2px at 68% 28%, #2a1a1a 50%, transparent 50%),
        radial-gradient(ellipse 2px 2px at 82% 48%, #251515 50%, transparent 50%),
        radial-gradient(ellipse 3px 2px at 12% 68%, #2d1c1c 50%, transparent 50%),
        radial-gradient(ellipse 2px 2px at 32% 82%, #281818 50%, transparent 50%),
        radial-gradient(ellipse 3px 3px at 58% 72%, #2a1a1a 50%, transparent 50%),
        radial-gradient(ellipse 2px 2px at 78% 88%, #251515 50%, transparent 50%),
        radial-gradient(ellipse 4px 2px at 4% 38%, #221414 50%, transparent 50%),
        radial-gradient(ellipse 2px 3px at 88% 22%, #2d1c1c 50%, transparent 50%),
        radial-gradient(ellipse 3px 2px at 45% 32%, #281818 50%, transparent 50%),
        radial-gradient(ellipse 2px 2px at 72% 62%, #2a1a1a 50%, transparent 50%),
        /* Основной градиент земли */
        linear-gradient(180deg, 
            #201515 0%, 
            #1c1010 20%,
            #180e0e 40%,
            #150c0c 60%,
            #120909 80%,
            #100808 100%
        );
    border-top: 2px solid #352020;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Волнистые прерывистые линии слоёв земли */
.soil-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Слой 1 - верхний */
        radial-gradient(ellipse 40px 3px at 5% 12%, rgba(45, 30, 30, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 55px 2px at 18% 14%, rgba(40, 25, 25, 0.4) 80%, transparent 80%),
        radial-gradient(ellipse 35px 3px at 38% 11%, rgba(50, 32, 32, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 60px 2px at 58% 13%, rgba(42, 28, 28, 0.4) 80%, transparent 80%),
        radial-gradient(ellipse 45px 3px at 82% 12%, rgba(48, 30, 30, 0.5) 80%, transparent 80%),
        
        /* Слой 2 */
        radial-gradient(ellipse 50px 2px at 10% 28%, rgba(38, 24, 24, 0.45) 80%, transparent 80%),
        radial-gradient(ellipse 38px 3px at 28% 26%, rgba(44, 28, 28, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 65px 2px at 52% 29%, rgba(36, 22, 22, 0.4) 80%, transparent 80%),
        radial-gradient(ellipse 42px 3px at 78% 27%, rgba(46, 30, 30, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 30px 2px at 95% 28%, rgba(40, 26, 26, 0.45) 80%, transparent 80%),
        
        /* Слой 3 */
        radial-gradient(ellipse 45px 3px at 3% 44%, rgba(35, 22, 22, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 55px 2px at 22% 42%, rgba(32, 20, 20, 0.4) 80%, transparent 80%),
        radial-gradient(ellipse 40px 3px at 45% 45%, rgba(38, 24, 24, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 50px 2px at 68% 43%, rgba(34, 21, 21, 0.45) 80%, transparent 80%),
        radial-gradient(ellipse 35px 3px at 88% 44%, rgba(36, 23, 23, 0.5) 80%, transparent 80%),
        
        /* Слой 4 */
        radial-gradient(ellipse 58px 2px at 8% 60%, rgba(30, 18, 18, 0.45) 80%, transparent 80%),
        radial-gradient(ellipse 42px 3px at 32% 58%, rgba(28, 17, 17, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 48px 2px at 55% 61%, rgba(32, 20, 20, 0.4) 80%, transparent 80%),
        radial-gradient(ellipse 38px 3px at 75% 59%, rgba(30, 19, 19, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 52px 2px at 92% 60%, rgba(26, 16, 16, 0.45) 80%, transparent 80%),
        
        /* Слой 5 - нижний */
        radial-gradient(ellipse 48px 3px at 12% 78%, rgba(24, 14, 14, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 62px 2px at 35% 76%, rgba(22, 13, 13, 0.4) 80%, transparent 80%),
        radial-gradient(ellipse 44px 3px at 60% 79%, rgba(26, 16, 16, 0.5) 80%, transparent 80%),
        radial-gradient(ellipse 55px 2px at 85% 77%, rgba(24, 15, 15, 0.45) 80%, transparent 80%);
    pointer-events: none;
}

/* Дополнительный слой с более крупными фрагментами */
.soil-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Крупные комки земли */
        radial-gradient(ellipse 8px 5px at 15% 25%, rgba(35, 22, 22, 0.4) 60%, transparent 60%),
        radial-gradient(ellipse 6px 4px at 42% 18%, rgba(38, 24, 24, 0.35) 60%, transparent 60%),
        radial-gradient(ellipse 7px 5px at 72% 35%, rgba(32, 20, 20, 0.4) 60%, transparent 60%),
        radial-gradient(ellipse 9px 4px at 28% 52%, rgba(28, 17, 17, 0.35) 60%, transparent 60%),
        radial-gradient(ellipse 6px 5px at 58% 48%, rgba(30, 19, 19, 0.4) 60%, transparent 60%),
        radial-gradient(ellipse 8px 4px at 85% 58%, rgba(26, 16, 16, 0.35) 60%, transparent 60%),
        radial-gradient(ellipse 7px 5px at 20% 72%, rgba(24, 15, 15, 0.4) 60%, transparent 60%),
        radial-gradient(ellipse 9px 4px at 50% 68%, rgba(22, 14, 14, 0.35) 60%, transparent 60%),
        radial-gradient(ellipse 6px 5px at 78% 82%, rgba(20, 12, 12, 0.4) 60%, transparent 60%);
    pointer-events: none;
}

/* Инструкция - вверху */
.game-instruction {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #909090;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 10;
    font-family: 'Roboto', sans-serif;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #2a1a1a;
    /* Запрет выделения */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Швург - УВЕЛИЧЕННЫЙ */
.carrot {
    position: absolute;
    width: 280px;
    height: 420px;
    cursor: grab;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: top 0.2s ease;
    /* Центрируем относительно позиции left */
    transform: translateX(-50%);
    /* Запрет выделения */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.carrot.dragging {
    cursor: grabbing;
    z-index: 101;
}

/* Анимация покачивания */
.carrot.shake-right {
    animation: shakeRight 0.2s ease forwards;
}

.carrot.shake-left {
    animation: shakeLeft 0.2s ease forwards;
}

@keyframes shakeRight {
    0% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(12deg); }
    100% { transform: translateX(-50%) rotate(10deg); }
}

@keyframes shakeLeft {
    0% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(-12deg); }
    100% { transform: translateX(-50%) rotate(-10deg); }
}

.carrot-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 70px;
    background: radial-gradient(ellipse at center, 
        rgba(60, 20, 20, 0.5) 0%, 
        rgba(0, 0, 0, 0.2) 50%, 
        transparent 70%
    );
    filter: blur(12px);
    z-index: 1;
    pointer-events: none;
}

/* Картинка швурга - УВЕЛИЧЕН */
.carrot-body {
    width: 240px;
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(60, 20, 20, 0.5));
    display: block;
    position: relative;
    z-index: 2;
    transition: filter 0.2s ease;
    /* Запрет перетаскивания изображения */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.carrot:hover .carrot-body {
    filter: drop-shadow(0 8px 30px rgba(100, 40, 40, 0.6));
}

.carrot.harvested {
    animation: harvestAnimation 0.4s ease forwards;
}

@keyframes harvestAnimation {
    0% {
        transform: translateX(-50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: translateX(-50%) scale(1.1) rotate(5deg) translateY(-30px);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) scale(0.8) rotate(10deg) translateY(-200px);
        opacity: 0;
    }
}

/* Прогресс-бар вытаскивания */
.pull-progress {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 8px;
    background: rgba(20, 20, 25, 0.8);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #352020;
}

.pull-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5a2020, #804040);
    width: 0%;
    transition: width 0.15s ease;
    border-radius: 4px;
}

/* Кнопка выхода - перемещена вверх влево */
.game-exit-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 14px;
    background: rgba(30, 20, 20, 0.6);
    color: #808080;
    border: 1px solid #352525;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 200;
    font-family: 'Roboto', sans-serif;
    opacity: 0.7;
}

.game-exit-btn:hover {
    background: rgba(50, 30, 30, 0.8);
    color: #b0b0b0;
    opacity: 1;
}

/* Экран результатов */
.game-results {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #151015 0%, #1e1518 50%, #201518 100%);
    animation: slideIn 0.5s ease;
    font-family: 'Roboto', sans-serif;
}

@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.results-content {
    text-align: center;
    color: #c0c0c0;
    padding: 30px;
}

.results-content h2 {
    font-size: 32px;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(60, 20, 20, 0.4);
    animation: scaleIn 0.5s ease;
    font-weight: 900;
    color: #d08080;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.final-score {
    margin: 25px 0;
}

.score-label {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #909090;
}

.score-number {
    font-size: 56px;
    font-weight: 900;
    text-shadow: 0 4px 12px rgba(60, 20, 20, 0.5);
    animation: popIn 0.6s ease 0.3s both;
    color: #d4a84a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.score-number img {
    width: 56px;
    height: 56px;
    transform: rotate(45deg);
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.results-message {
    font-size: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(60, 30, 30, 0.2);
    border-radius: 8px;
    border: 1px solid #352525;
    font-weight: 500;
    line-height: 1.6;
}

.results-buttons {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.results-buttons button,
.modal-buttons button {
    padding: 12px 24px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #503030, #3a2020);
    color: #d4a84a;
    border: 1px solid #604040;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(60, 30, 30, 0.4);
    background: linear-gradient(135deg, #604040, #4a3030);
}

.btn-secondary {
    background: rgba(40, 40, 45, 0.8);
    color: #b0b0b0;
    border: 1px solid #404045;
}

.btn-secondary:hover {
    background: rgba(50, 50, 55, 0.9);
    transform: translateY(-2px);
}

/* Модальные окна */
.custom-modal-overlay,
.garden-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 12, 0.92);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.custom-modal {
    background: linear-gradient(135deg, #181418 0%, #1e181a 50%, #201518 100%);
    padding: 25px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(60, 30, 30, 0.15);
    border: 1px solid #352525;
}

.custom-modal h2 {
    color: #d08080;
    text-align: center;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 0 2px 6px rgba(60, 20, 20, 0.3);
}

.custom-modal p {
    color: #a0a0a0;
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
    font-size: 14px;
}

.leaderboard-container {
    background: rgba(50, 30, 30, 0.15);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #302020;
}

.leaderboard-list {
    max-height: 320px;
    overflow-y: auto;
}

.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 6px 0;
    background: linear-gradient(135deg, rgba(50, 30, 30, 0.25), rgba(40, 25, 25, 0.3));
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #c0c0c0;
    border: 1px solid transparent;
}

.leaderboard-entry:hover {
    transform: translateX(3px);
    background: linear-gradient(135deg, rgba(60, 35, 35, 0.35), rgba(50, 30, 30, 0.4));
    border-color: #453030;
}

.entry-rank {
    font-size: 22px;
    font-weight: 900;
    min-width: 40px;
    text-align: center;
}

.entry-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.entry-score {
    font-size: 15px;
    font-weight: 900;
    color: #d4a84a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.entry-score img {
    width: 24px;
    height: 24px;
    transform: rotate(45deg);
}

.no-records {
    text-align: center;
    font-size: 14px;
    color: #707070;
    padding: 25px;
    font-weight: 500;
}

.modal-close-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #352525, #251818);
    color: #b0b0b0;
    border: 1px solid #453030;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.modal-close-btn:hover {
    background: linear-gradient(135deg, #453030, #352525);
    transform: translateY(-2px);
}

.modal-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .garden-game {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }
    
    .game-header {
        padding: 12px 15px;
    }
    
    .stat-item {
        font-size: 18px;
    }
    
    .stat-icon img {
        width: 36px;
        height: 36px;
    }
    
    .stat-value {
        padding: 5px 12px;
        min-width: 45px;
        font-size: 16px;
    }
    
    .game-instruction {
        font-size: 14px;
        top: 12px;
        padding: 6px 14px;
    }
    
    /* Швург на мобильных - ЕЩЁ БОЛЬШЕ */
    .carrot {
        width: 260px;
        height: 400px;
    }
    
    .carrot-body {
        width: 220px;
        height: 380px;
    }
    
    .carrot-shadow {
        width: 130px;
        height: 65px;
    }
    
    .pull-progress {
        width: 150px;
        height: 10px;
        bottom: -35px;
    }
    
    .game-exit-btn {
        padding: 6px 10px;
        font-size: 11px;
        top: 10px;
        left: 10px;
    }
    
    .results-content h2 {
        font-size: 26px;
    }
    
    .score-number {
        font-size: 44px;
    }
    
    .score-number img {
        width: 44px;
        height: 44px;
    }
    
    .results-buttons {
        flex-direction: column;
    }
    
    .results-buttons button {
        width: 100%;
    }
    
    .custom-modal {
        padding: 18px;
        width: 92%;
    }
}

@media (max-width: 400px) {
    .game-stats {
        gap: 6px;
    }
    
    .stat-item {
        font-size: 16px;
        gap: 5px;
    }
    
    .stat-icon img {
        width: 32px;
        height: 32px;
    }
    
    .carrot {
        width: 240px;
        height: 380px;
    }
    
    .carrot-body {
        width: 200px;
        height: 350px;
    }
    
    .pull-progress {
        width: 140px;
    }
    
    .score-number {
        font-size: 38px;
    }
    
    .score-number img {
        width: 38px;
        height: 38px;
    }
}

/* ===================================
   ОБНОВЛЕНИЕ СТИЛЕЙ - garden_game.css
   Изменения в .leaderboard-list
   =================================== */

/* Добавить эти стили к существующему файлу garden_game.css */

.leaderboard-list {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden; /* Убираем горизонтальный скролл */
}

/* Стилизация скроллбара для вертикального скролла */
.leaderboard-list::-webkit-scrollbar {
    width: 8px;
}

.leaderboard-list::-webkit-scrollbar-track {
    background: rgba(40, 25, 25, 0.3);
    border-radius: 4px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
    background: rgba(80, 50, 50, 0.5);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.leaderboard-list::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 60, 60, 0.7);
}

/* Для Firefox */
.leaderboard-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(80, 50, 50, 0.5) rgba(40, 25, 25, 0.3);
}

/* Убираем любые возможности появления горизонтального скролла */
.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 6px 0;
    background: linear-gradient(135deg, rgba(50, 30, 30, 0.25), rgba(40, 25, 25, 0.3));
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #c0c0c0;
    border: 1px solid transparent;
    min-width: 0; /* Предотвращаем overflow */
    overflow: hidden; /* Обрезаем содержимое если что */
}

.entry-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Длинные имена будут обрезаться с ... */
}
