/* ===================================================
   (1) شريط الإهداءات الرئيسي
=================================================== */
.edk-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    height: 44px;
    padding: 0;

    display: flex;
    flex-direction: row-reverse;
    align-items: center;

    background: rgba(0,0,0,.92);
    color: #fff;

    font-size: 16px;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;

    overflow: hidden;
    z-index: 999999;
    box-shadow: 0 -3px 14px rgba(198,0,126,.30);
}

.edk-ticker.edk-top {
    top: 0;
    bottom: auto;
}

/* ===================================================
   (2) زر الإهداء - الشكل الأول مرتب
=================================================== */
.edk-gift-btn {
    flex: 0 0 auto;

    height: 100%;
    min-width: 150px;
    padding: 0 18px;
    margin: 0;

    border: 0;
    border-radius: 0;

    background: #ba0976;
    color: #fff;

    font-size: 18px;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    white-space: nowrap;
    line-height: 1;

    cursor: pointer;
    z-index: 5;
}

.edk-gift-btn::before {
    content: "🎁";
    font-size: 18px;
}

.edk-gift-btn:hover {
    background: #c6007e;
}

/* ===================================================
   (3) مسار الحركة الدائرية المتصلة
=================================================== */
.edk-track-wrap {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

.edk-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    will-change: transform;
    animation-name: edk-scroll-left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 55s;
}

.edk-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 18px;
    font-weight: bold;
    font-size: 16px;
}

.edk-name {
    color: inherit;
    margin-inline-end: 6px;
}

.edk-sep-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin: 0 14px;
    flex: 0 0 auto;
}

.edk-sep-dot {
    display: inline-block;
    margin: 0 16px;
    opacity: .75;
}

@keyframes edk-scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes edk-scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* ===================================================
   (4) نافذة إرسال الإهداء
=================================================== */
.edk-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1000000;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: Tahoma, Arial, sans-serif;
    direction: rtl;
}

.edk-modal.show {
    display: flex;
}

.edk-modal-box {
    width: min(92%, 420px);
    background: #111;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.45);
    color: #fff;
}

.edk-modal-box h3 {
    margin: 0 0 14px;
    text-align: center;
    color: #fff;
}

.edk-modal-box input,
.edk-modal-box textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.2);
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    font-family: Tahoma, Arial, sans-serif;
    outline: none;
}

.edk-modal-box textarea {
    min-height: 110px;
    resize: vertical;
}

.edk-modal-actions {
    display: flex;
    gap: 10px;
}

.edk-modal-actions button {
    flex: 1;
    border: 0;
    border-radius: 12px;
    padding: 11px;
    cursor: pointer;
    font-weight: bold;
    font-family: Tahoma, Arial, sans-serif;
}

#edkSend {
    background: #ba0976;
    color: #fff;
}

#edkCancel {
    background: #333;
    color: #fff;
}

.edk-notice {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    min-height: 18px;
}