/* /ceviri-istek/: the search and the ranked list of translation requests.
   Colours are the theme's own — the dark panels of comments.css and schedule.css,
   the site's red — with the light theme's counterparts first. */

#site .ci-aciklama {
    margin: 0 0 12px;
    font-size: 13px;
    opacity: .8;
}

#site .ci-giris {
    margin: 0 0 12px;
    padding: 10px 12px;
    font-size: 13px;
    border: 1px dashed rgba(127, 127, 127, .35);
    border-radius: 8px;
}

/* ---- the search ---- */

#site .ci-arama {
    position: relative;
    margin-bottom: 14px;
}

#site .ci-arama > .fa {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    transform: translateY(-50%);
    opacity: .5;
}

#site .ci-arama > input {
    height: 40px;
    padding-left: 38px;
    font-size: 14px;
    border-radius: 999px;
}

#site .ci-sonuclar {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 30;
    max-height: 420px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(127, 127, 127, .25);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}

#site .ci-sonuc {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 8px;
}

#site .ci-sonuc:hover {
    background: rgba(127, 127, 127, .1);
}

#site .ci-sonuc .ci-kapak {
    flex: 0 0 36px;
    width: 36px;
    height: 52px;
}

#site .ci-eylem {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    font-weight: 700;
    border-radius: 999px;
}

/* "İste": grey, lit on hover — the site's quick buttons */
#site .ci-eylem--iste {
    color: #555;
    border-color: rgba(127, 127, 127, .35);
    background: rgba(127, 127, 127, .12);
}

#site .ci-eylem--iste:hover,
#site .ci-eylem--iste:focus {
    color: #333;
    border-color: rgba(127, 127, 127, .6);
    background: rgba(127, 127, 127, .22);
}

#site.dark .ci-eylem--iste {
    color: #d7e0ea;
    border-color: #17191f;
    background: #1e2026;
}

#site.dark .ci-eylem--iste:hover,
#site.dark .ci-eylem--iste:focus {
    color: #fff;
    border-color: #36546f;
    background: #22242b;
}

#site .ci-sonuc-yok {
    margin: 0;
    padding: 12px;
    font-size: 12px;
    text-align: center;
    opacity: .7;
}

#site .ci-bildirim {
    margin-bottom: 12px;
    padding: 8px 12px;
}

/* ---- the list ---- */

#site .ci-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

#site .ci-satir {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(127, 127, 127, .2);
    border-radius: 10px;
    background: rgba(127, 127, 127, .05);
    scroll-margin-top: 80px;
    transition: border-color .18s ease, background-color .18s ease;
}

#site .ci-satir:hover {
    border-color: rgba(127, 127, 127, .45);
}

/* the row a search or a new request opened the list at: the one to vote on */
#site .ci-satir--vurgu {
    border-color: #d9534f;
    box-shadow: 0 0 0 1px #d9534f inset;
    animation: ci-vurgu 1.6s ease;
}

@keyframes ci-vurgu {
    0%, 40% { background: rgba(217, 83, 79, .22); }
}

#site .ci-sira {
    flex: 0 0 34px;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: center;
    opacity: .55;
}

#site .ci-satir--ust .ci-sira {
    color: #d9534f;
    opacity: 1;
}

#site .ci-kapak {
    flex: 0 0 46px;
    width: 46px;
    height: 66px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}

#site .ci-govde {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    min-width: 0;
}

/* a long title ends "…" on one line; the whole of it is in its tooltip */
#site .ci-ad {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: inherit;
}

#site a.ci-ad:hover {
    color: #d9534f;
    text-decoration: none;
}

#site .ci-meta {
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .7;
}

#site .ci-etiket {
    padding: 0 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    color: #fff;
    border-radius: 3px;
    background: #3c9a5f;
}

/* ▲ score ▼: the site's own buttons (btn-theme, btn-success up, btn-danger down),
   stacked as a vertical button group; only their size is set here */
#site .ci-oy {
    flex: none;
    min-width: 42px;
}

#site .ci-oy > .btn {
    min-width: 42px;
    padding: 3px 0;
    font-size: 11px;
    line-height: 14px;
}

#site .ci-oy > .ci-skor {
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    cursor: default;
    pointer-events: none;
}

/* below 0: voted down more than up */
#site .ci-oy > .ci-skor--eksi {
    color: #d9534f;
}

#site .ci-oy[aria-busy="true"] {
    opacity: .6;
}

#site #ci-liste-alani .sayfalama {
    padding-right: 0;
    padding-left: 0;
}

/* ---- dark theme ---- */

#site.dark .ci-satir {
    border-color: #17191f;
    background: #1e2026;
}

#site.dark .ci-satir:hover {
    border-color: #36546f;
    background: #22242b;
}

#site.dark .ci-satir--vurgu {
    border-color: #d9534f;
}

#site.dark .ci-sonuclar {
    border-color: #17191f;
    background: #23252c;
}

#site.dark .ci-sonuc:hover {
    background: #1e2026;
}

#site.dark .ci-arama > input {
    color: #ecf2f8;
    border-color: #17191f;
    background: #1e2026;
}

#site.dark .ci-arama > input:focus {
    border-color: #36546f;
}

/* the dark theme draws every link #c5c8ce (!important, dark5cbc.css): a title
   that is not a link — an anime not on the site yet — takes the same */
#site.dark .ci-ad {
    color: #c5c8ce;
}

#site.dark .ci-meta {
    color: #9fb0c3;
    opacity: 1;
}

@media (max-width: 767px) {
    #site .ci-satir {
        gap: 8px;
        padding: 8px;
    }

    #site .ci-sira {
        flex-basis: 24px;
        font-size: 14px;
    }
}
