/* Hero brand text */
#first #mainBlock #mainTxt {
    top: 30% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(560px, 90%) !important;
    max-width: 560px !important;
    padding: 24px 20px !important;
    text-align: center !important;
    align-items: center !important;
    z-index: 3 !important;
}

#first #mainBlock #mainTxt:hover {
    box-shadow: none !important;
}

#first #mainBlock #mainTxt > div {
    margin: 10px auto 14px !important;
    width: 56px !important;
}

/* Single compact track card */
#tlc-hero-track {
    position: absolute !important;
    left: 50% !important;
    top: 68% !important;
    transform: translate(-50%, -50%) !important;
    width: min(460px, calc(100% - 40px)) !important;
    max-width: 460px !important;
    min-width: 0 !important;
    z-index: 5 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-family: 'Plus Jakarta Sans', Poppins, sans-serif;
    animation: tlcSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.tlc-glass-card {
    width: 100% !important;
    box-sizing: border-box;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.28) 100%
    );
    box-shadow:
        0 16px 36px rgba(0, 16, 40, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.tlc-glass-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    box-sizing: border-box;
    background: rgba(5, 26, 48, 0.55);
    backdrop-filter: blur(20px) saturate(1.35);
    -webkit-backdrop-filter: blur(20px) saturate(1.35);
    border-radius: 15px;
    padding: 16px 16px 14px;
    text-align: left;
}

.tlc-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 3px 9px 3px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 8px;
}

.tlc-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: tlcPulse 2s ease infinite;
}

.tlc-live span:last-child {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.tlc-glass-inner > h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.tlc-sub {
    margin: 0 0 12px;
    font-size: 0.74rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.4;
}

#tlc-track-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
    padding: 4px;
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

#tlc-track-form:focus-within {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(11, 84, 133, 0.2);
}

#tlc-track-form.tlc-shake {
    animation: tlcShake 0.45s ease;
}

.tlc-input-wrap {
    flex: 1 1 auto;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.tlc-input-icon {
    position: absolute;
    left: 10px;
    width: 15px;
    height: 15px;
    color: #94a3b8;
    pointer-events: none;
}

#tlc-track-form:focus-within .tlc-input-icon {
    color: #0b5485;
}

#tlc-track-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 8px 10px 32px;
    font-family: 'Plus Jakarta Sans', Roboto, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: transparent;
    color: #0f172a;
}

#tlc-track-input::placeholder {
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: #94a3b8;
}

#tlc-track-btn {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 8px;
    padding: 0 14px;
    min-width: 92px;
    min-height: 40px;
    font-family: 'Plus Jakarta Sans', Poppins, sans-serif;
    font-weight: 800;
    font-size: 0.74rem;
    color: #fff;
    background: linear-gradient(135deg, #0b5485 0%, #063a5e 60%, #802a3a 150%);
    background-size: 200% 100%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(6, 58, 94, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.3s ease;
    flex-shrink: 0;
}

#tlc-track-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(6, 58, 94, 0.45);
    background-position: 100% 0;
}

#tlc-track-btn:disabled {
    opacity: 0.88;
    cursor: wait;
}

#tlc-btn-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tlcSpin 0.75s linear infinite;
}

.tlc-hint {
    margin: 8px 0 0;
    font-size: 0.64rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
}

#tlc-track-error {
    display: none;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fecaca;
    font-size: 0.74rem;
    font-weight: 600;
    text-align: left;
}

#tlc-toast-stack {
    position: fixed;
    top: 88px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: min(320px, calc(100vw - 32px));
}

.tlc-toast {
    pointer-events: auto;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(11, 84, 133, 0.1);
    box-shadow: 0 14px 40px rgba(0, 20, 50, 0.2);
    animation: tlcToastIn 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.tlc-toast.is-leaving {
    animation: tlcToastOut 0.28s ease forwards;
}

.tlc-toast-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(11, 84, 133, 0.1);
}

.tlc-toast-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(11, 84, 133, 0.15);
    border-top-color: #0b5485;
    border-radius: 50%;
    animation: tlcSpin 0.75s linear infinite;
}

.tlc-toast-body strong {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    color: #0b5485;
    margin-bottom: 2px;
}

.tlc-toast-body span {
    font-size: 0.72rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.4;
    transition: opacity 0.2s ease;
}

@keyframes tlcSlideUp {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 16px)); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes tlcPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

@keyframes tlcSpin {
    to { transform: rotate(360deg); }
}

@keyframes tlcShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

@keyframes tlcToastIn {
    from { opacity: 0; transform: translateX(18px) scale(0.96); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes tlcToastOut {
    to { opacity: 0; transform: translateX(14px); }
}

@media screen and (max-width: 820px) {
    #first #mainBlock #mainTxt {
        top: 26% !important;
    }

    #tlc-hero-track {
        top: 62% !important;
        width: min(400px, calc(100% - 28px)) !important;
    }
}

@media screen and (max-width: 480px) {
    #tlc-track-form {
        flex-direction: column !important;
    }

    #tlc-track-btn {
        width: 100%;
        min-height: 42px;
    }

    #tlc-toast-stack {
        top: auto;
        bottom: 16px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

/* ── YKB Soft footer credit ── */
footer .fsfooter {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ykb-footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ykb-footer-credit:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.ykb-footer-credit__label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", Roboto, sans-serif;
}

.ykb-footer-credit__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px 4px 10px;
    border-radius: 999px;
    background: #fff;
    color: #0b5485;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-family: "Plus Jakarta Sans", Roboto, sans-serif;
}

.ykb-footer-credit__brand svg {
    width: 11px;
    height: 11px;
    opacity: 0.85;
}

.ykb-footer-credit:hover .ykb-footer-credit__brand svg {
    opacity: 1;
}
