/* ===========================================================================
   site.css — this project's own stylesheet layer
   ===========================================================================

   The theme's own sheets (bootstrapf463, style5cbc, dark5cbc, mobilf463,
   reactionf463, editorca11) started as copies of the reference site. They are
   no longer byte-identical: the opaque class and id names were renamed across
   the stylesheets, the Blade templates and the scripts together, so a re-sync
   is now a merge rather than a file copy. Rules are still only ever moved or
   renamed there, never restyled — everything this project adds lives here.

   Two kinds of rule live in this file:

     1. Component rules, for markup the reference never had (the filter list,
        the watched toggle, the account menu, the member card).
     2. Inline-style replacements, further down. The reference markup carried
        `style="…"` on hundreds of elements; those attributes outranked every
        stylesheet, so their replacements are scoped through `#site` (the body id)
        to keep the same precedence. Without that, selectors like
        `.panel .panel-header` or `.btn-group-sm > .btn` quietly win and the layout
        drifts by a few pixels.

   Contents
     - Heading reset
     - Focus rings
     - Filterable taxonomy list
     - "İzledim" eye toggle
     - Rating stars
     - Member card
     - Signed-in top-bar controls
     - "Beğen" control
     - Profile "Hakkında"
     - Anime detail block
     - Listing cards
     - Grid helpers
     - Masthead
     - Sidebar widgets
     - Compact link lists
     - Empty states
     - Forms
     - Top-bar badge
     - Profile header
     - Watch page
     - Home page widgets
     - Tables, pagination and small chrome
     - Settings and auth forms
     - Admin panel (/yonetim)
   =========================================================================== */

h1.panel-title, h2.panel-title, h3.panel-title, h4.panel-title,
h1.media-heading, h2.media-heading, h3.media-heading, h4.media-heading,
h1.copyText, h2.spotlight-title, h1.alert-heading, h2.alert-heading, h1.logo-baslik,
h1.list-group-item-heading, h2.list-group-item-heading, h3.list-group-item-heading {
    margin: 0;
    line-height: inherit;
    font-weight: inherit;
}

/* ---- focus rings ----
   Bootstrap rings every focused link and button (`a:focus`, `.btn:focus`),
   including right after a mouse click, which left a white frame over the tab
   captions of the home page panels. Keyboard focus keeps its ring. */

#site a:focus:not(:focus-visible),
#site button:focus:not(:focus-visible),
#site .btn:focus:not(:focus-visible) {
    outline: 0;
}

/* Rules the reference serves from fragments that the static mirror never captured,
   written against the theme's own tokens. Kept in a separate file so the copied
   stylesheets stay byte-identical to the reference and can be re-synced freely. */

/* ---- filterable taxonomy list (Türüne Göre / Tam Liste / Yılına Göre) ---- */

.filtre-kutusu {
    position: relative;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.filtre-kutusu > .fa-search {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: .5;
    pointer-events: none;
}

.filtre-kutusu input[type="search"] {
    width: 100%;
    padding: 7px 10px 7px 30px;
    background-image: none;
    border-radius: 4px;
    font-size: 13px;
}

.filtre-kutusu input[type="search"]:focus {
    width: 100%;
}

.filtre-liste .link-list {
    max-height: 340px;
    overflow-y: auto;
    /* scrollable, but without the bar taking a slice out of the panel */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filtre-liste .link-list::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.filtre-liste .link-list li a > .fa {
    opacity: .55;
    margin-right: 4px;
}

/* one line a row: a long name ("Tam Liste") ends "…"; the link's tooltip carries it whole */
#site .filtre-liste .link-list li > a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
}

.filtre-bos {
    padding: 14px;
    text-align: center;
    font-size: 12px;
    opacity: .7;
}

body.dark .filtre-kutusu {
    border-bottom-color: #17191f;
}

body.dark .filtre-kutusu input[type="search"] {
    background-color: #1e2026;
    border: 1px solid #17191f;
    color: #cfd8e3;
    text-shadow: none;
    box-shadow: none;
}

body.dark .filtre-kutusu input[type="search"]::placeholder {
    color: #7f8c9c;
}

/* ---- "izledim" eye toggle ---- */

/* Two shapes share the `.izledim-btn` hook izledim.js binds to: the one in
   front of an episode row, which is absolutely positioned inside the <li>, and
   the one in a card's btn-group, which is a plain Bootstrap button. Only the
   row variant is positioned, so those rules are scoped to it. */

.link-list li {
    position: relative;
}

.link-list li > .izledim-btn {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 2px;
    opacity: .45;
    cursor: pointer;
    transition: opacity .15s ease, color .15s ease;
}

.link-list li > .izledim-btn + a {
    padding-left: 24px;
}

.link-list li > .izledim-btn:hover,
.link-list li > .izledim-btn:focus {
    opacity: 1;
    text-decoration: none;
}

.link-list li > .izledim-btn.izlendi {
    opacity: 1;
}

.izledim-btn.izlendi {
    color: #5cb85c;
}

.izledim-btn[aria-busy="true"] {
    opacity: .3;
    pointer-events: none;
}

/* ---- rating stars (jQuery Raty rendered as icons) ---- */

.rating-stars {
    display: inline-block;
    line-height: 1;
}

.raty-star {
    font-size: 15px;
    margin-right: 2px;
    cursor: pointer;
    color: #6b7280;
}

.raty-star-on {
    color: #f5c451;
}

.rating-stars[data-readonly="true"] .raty-star {
    cursor: default;
}

/* ---- member card (uploader box, contributors, new members) ----
   A flex row: the avatar in its rounded frame on the left, the stats table
   stretched to exactly the frame's height so the Rütbe row ends on the same
   line as the photo, and the buttons on their own row, right aligned. */

.uye-kart {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 8px;
    overflow: hidden;
}

.uye-kart-resim {
    flex: 0 0 auto;
    /* explicit margins rather than `gap`, which also indents the first item here */
    margin: 0 8px 0 0 !important;
    padding: 4px;
    border-radius: 4px;
    line-height: 0;
}

.uye-kart-resim > .media-object {
    display: block;
    width: 76px;
    height: 76px;
    max-width: 76px;
    margin: 0;
    border-radius: 2px;
    object-fit: cover;
}

.uye-kart-tablo {
    /* 76px image + 4px padding and 1px border on each side */
    height: 86px;
    /* basis 0, or the table's max-content width makes the row wrap */
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.uye-kart-tablo > tbody > tr > td {
    padding: 4px 10px;
    font-size: 12px;
    border-width: 1px;
}

.uye-kart-tablo > tbody > tr > td:first-child {
    width: 40%;
    white-space: nowrap;
}

.uye-kart-butonlar {
    flex: 1 0 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.uye-kart-butonlar > .btn {
    float: none;
    font-size: 11px;
}

/* ---- signed-in controls in the top bar ----
   The theme's inline header block styles `.navbar-fixed-top .navbar-nav > li > a`
   with !important, so these have to match that shape to win; otherwise the avatar
   link keeps the 10px padding, grows to 46px and pushes every other control in the
   bar off centre. Everything here is sized to the same 38px row. */

header.navbar-fixed-top .navbar-nav > li.ust-ikon > a,
header.navbar-fixed-top .navbar-nav > li.hesap-menu > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 18px !important;
}

header.navbar-fixed-top .navbar-nav > li.ust-ikon > a {
    position: relative;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 15px;
}

header.navbar-fixed-top .navbar-nav > li.hesap-menu > a {
    gap: 6px;
    padding-left: 9px !important;
    padding-right: 9px !important;
}

.ust-ikon-sayi {
    position: absolute;
    top: 3px;
    right: 2px;
    padding: 1px 4px;
    font-size: 9px;
    line-height: 1.2;
    border-radius: 8px;
}

.hesap-avatar {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    object-fit: cover;
    flex: 0 0 26px;
}

/* Bootstrap sizes a dropdown at 14px and the theme's .fa-fw adds another 37%,
   which made this menu twice the size of the 11px bar it hangs from. */
header.navbar-fixed-top .hesap-menu > .dropdown-menu {
    background: #17191f !important;
    border: 1px solid #23252c !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .38) !important;
    padding: 5px 0 !important;
    min-width: 168px !important;
    font-size: 12px;
}

header.navbar-fixed-top .hesap-menu > .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dbe4ee !important;
    background: transparent !important;
    padding: 7px 14px !important;
    font-size: 12px;
    line-height: 16px !important;
}

header.navbar-fixed-top .hesap-menu > .dropdown-menu > li > a > .fa-fw {
    width: 14px;
    font-size: 12px;
    opacity: .7;
}

header.navbar-fixed-top .hesap-menu > .dropdown-menu > li > a:hover,
header.navbar-fixed-top .hesap-menu > .dropdown-menu > li > a:focus {
    background: #23252c !important;
    color: #fff !important;
    text-decoration: none !important;
}

header.navbar-fixed-top .hesap-menu > .dropdown-menu > .dropdown-header {
    color: #8b97a8 !important;
    padding: 4px 14px 5px !important;
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

header.navbar-fixed-top .hesap-menu > .dropdown-menu > .divider {
    background-color: #23252c !important;
    margin: 5px 0 !important;
}

/* ---- "Beğen" control (components/reaction-control, assets/js/tepki.js) ---- */

/* the member's own reaction: the emoji already shows which one */
.reactions.tepki-aktif > span {
    color: #4f8fe8;
    font-weight: 700;
}

.reactions_badge.tepki-bos {
    position: static;
    float: none;
    display: block;
    padding: 2px 4px;
}

/* ---- follow button and "Listeme Ekle" menu (components/follow-button, watchlist-menu) ---- */

#site .btn.takip-aktif,
#site .btn.listem-aktif {
    color: #5cb85c !important;
}

/* Bootstrap's .table-responsive scrolls sideways at every width; an open menu in
   the detail block (Listeme Ekle) then pushed out a horizontal scrollbar. It only
   needs to scroll on a phone. */
@media (min-width: 768px) {
    #site .anime-detay.table-responsive {
        overflow: visible;
    }
}

/* sized like the account menu: Bootstrap's 14px plus the theme's oversized .fa-fw */
#site .listem-menu .dropdown-menu > li > a {
    padding: 6px 14px;
    font-size: 12px;
    line-height: 16px;
}

#site .listem-menu .dropdown-menu > li > a > .fa-fw {
    width: 14px;
    font-size: 12px;
    opacity: .7;
}

/* Bootstrap hovers a menu item with #f5f5f5 while the dark theme keeps its text
   light, so the item under the pointer went white-on-white. */
#site.dark .dropdown-menu > li > a:hover,
#site.dark .dropdown-menu > li > a:focus {
    color: #fff;
    background: #2c2f38;
}

#site .listem-menu .dropdown-menu > li.active > a {
    font-weight: 700;
}

/* the anime detail menu's news pane: the home page's news list, one item per row */
#site .anime-haberleri .anime-haber {
    padding: 8px 4px;
    border-bottom: 1px solid rgba(127, 127, 127, .15);
}

#site .anime-haberleri .anime-haber:last-child {
    border-bottom: 0;
}

#site .anime-haberleri .kart-afis {
    margin: 0 10px 0 0;
}

#site .anime-haberleri .haber-gorsel {
    width: 120px;
    height: auto;
}

#site .anime-haberleri .summary {
    margin: 6px 0 0;
    font-size: 12px;
}

/* the statistics pane: each row on one line, labels as wide as they need */
#site .anime-istatistik td {
    white-space: nowrap;
}

#site .anime-istatistik td:first-child {
    width: 1%;
}

#site .anime-istatistik td:nth-child(2) {
    width: 20px;
}

/* the date closes each news item, bottom right */
#site .anime-haberleri .anime-haber-tarih {
    margin-top: 6px;
    text-align: right;
}

/* ---- the anime detail panes (ajax/anime/*) ----
   MyAnimeList's layout: related anime and people as small cards two to a row,
   logo tiles for the other sites, the stills three to a row, the trailer at 16:9. */

/* room above the title, which otherwise sits right under the tab bar */
#site .detay-bolme-baslik {
    margin: 0 0 8px;
    padding: 10px 0 5px;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid rgba(127, 127, 127, .3);
}

#site .kisi-izgara,
#site .dis-baglanti-izgara {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

/* a character and their voice actor need more room: two pairs to a row only
   where the pane is wide enough, one otherwise */
#site .kisi-izgara--eslesme {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

#site .kisi-satir {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px;
    border: 1px solid rgba(127, 127, 127, .2);
    border-radius: 4px;
}

/* ---- filler episodes: the "F" badge in the episode lists, the label beside the
   episode's name on the watch page, the tinted row, and the runs above the
   "Filler Bölümler" pane's list. Their colours are Site Ayarları's (--filler-*,
   SiteSettings::fillerStyle); these are the defaults. */
#site {
    --filler-renk: #e57373;
    --filler-yazi: #fff;
    --filler-satir: color-mix(in srgb, #e57373 12%, transparent);
}

/* sized by the text it sits in (.8em of it, a line no taller than the text's),
   so it is never bigger than the episode's name beside it; a flex box, so the
   letter sits in its middle rather than where the font's line puts it */
#site .filler-rozet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    min-width: 1em;
    height: 1.4em;
    padding: 0 .3em;
    border-radius: 3px;
    background: var(--filler-renk);
    color: var(--filler-yazi);
    font-size: .8em;
    font-weight: 600;
    line-height: 1;
    /* "middle" lines it up on the small letters and leaves it a pixel low; on the
       text's box it sits in the middle of the capitals beside it */
    vertical-align: text-bottom;
    cursor: help;
}

#site .filler-rozet--uzun {
    padding: 0 .45em;
}

#site .link-list li.filler-satir {
    background: var(--filler-satir);
}

/* the watermark: the word in capitals, leaning, as tall as the row — its
   letters running a little past the row's top and bottom, cut off by the row's
   own frame — faded behind the episode's name and date, in the badge's colour */
/* the rows are inline blocks: clipped, one would sit on its bottom edge and leave
   a gap under it, so it is held to the top as the others line up */
#site .link-list li.filler-satir--filigran {
    overflow: hidden;
    vertical-align: top;
}

#site .filler-satir--filigran > a.menum-satir {
    position: relative;
    z-index: 0;
}

#site .filler-filigran {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    color: var(--filler-renk);
    /* their middle sits a little above the line box's, hence -52% */
    font-size: 2.7rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    opacity: .2;
    transform: translate(-50%, -52%) rotate(-4deg);
    pointer-events: none;
    user-select: none;
}

/* the floating word: the long name in capitals, widely spaced, in the middle of
   the row between the episode's name and its date — a hairline fading out on
   either side and a soft glow of its colour, so it seems to hover over the row */
#site .filler-yuzen {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .7em;
    color: var(--filler-renk);
    font-size: 1em;
    font-weight: 700;
    letter-spacing: .35em;
    line-height: 1;
    text-shadow: 0 0 8px color-mix(in srgb, var(--filler-renk) 60%, transparent);
    white-space: nowrap;
    opacity: .75;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
}

/* the letters' spacing trails the last one: taken back, so the word is centred */
#site .filler-yuzen > span {
    margin-right: -.35em;
}

#site .filler-yuzen::before,
#site .filler-yuzen::after {
    content: "";
    width: 2.6em;
    height: 1px;
    background: linear-gradient(to right, transparent, currentColor);
}

#site .filler-yuzen::after {
    background: linear-gradient(to left, transparent, currentColor);
}

/* the crumbs line up on their text (baseline): the badge is centred on the line instead */
#site .izle-yol-link .filler-rozet {
    align-self: center;
}

#site .filler-ozet {
    margin-bottom: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(127, 127, 127, .2);
    border-left: 3px solid var(--filler-renk);
    border-radius: 4px;
}

#site .filler-ozet p {
    margin: 0;
}

#site .filler-ozet .filler-araliklar {
    margin-top: 4px;
    word-break: break-word;
}

/* ---- related anime (ajax/baglantili): simple horizontal tiles, as MyAnimeList's
   "Related Entries" — a small poster, then how it relates, in the kind's colour
   (previous season blue, next season green, side story amber…), the title,
   and the kind of anime. ---- */
#site .iliski-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

#site .iliski-kart {
    --iliski-renk: #7f8da0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 6px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(127, 127, 127, .2);
    border-radius: 4px;
    transition: border-color .18s ease, background-color .18s ease;
}

#site .iliski-kart--prequel { --iliski-renk: #5bc0de; }
#site .iliski-kart--sequel { --iliski-renk: #5cb85c; }
#site .iliski-kart--side_story { --iliski-renk: #f0ad4e; }
#site .iliski-kart--similar { --iliski-renk: #337ab7; }

#site .iliski-kart:hover,
#site .iliski-kart:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: rgba(127, 127, 127, .5);
    background: rgba(127, 127, 127, .08);
}

#site .iliski-kart img {
    flex: 0 0 64px;
    width: 64px;
    height: 92px;
    object-fit: cover;
    border-radius: 3px;
}

#site .iliski-govde {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

/* the relation, in the kind's colour: bold, but still smaller than the title */
#site .iliski-tur {
    font-size: 11px;
    font-weight: 700;
    color: var(--iliski-renk);
}

#site .iliski-baslik {
    font-size: 13px;
    line-height: 1.3;
}

#site .iliski-meta {
    font-size: 11px;
    opacity: .6;
}

#site .iliski-baslik,
#site .kisi-ad {
    font-weight: 700;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#site .iliski-kart:hover .iliski-baslik,
#site .iliski-kart:focus-visible .iliski-baslik {
    text-decoration: underline;
}

/* a character on the left, the voice actor mirrored on the right */
#site .kisi-resim {
    flex: 0 0 42px;
    width: 42px;
    height: 62px;
    object-fit: cover;
    border-radius: 3px;
    background: rgba(127, 127, 127, .15);
}

#site .kisi-bilgi {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.3;
}

#site .kisi-bilgi small {
    opacity: .7;
    overflow-wrap: anywhere;
}

#site .kisi-bilgi--sag {
    text-align: right;
}

/* fills the pane's width and nothing more: no black bars, no gap below */
#site .fragman-kutu {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

#site .fragman-kutu + .fragman-kutu {
    margin-top: 8px;
}

#site .fragman-kutu iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* the stills two to a row, filling the pane; an odd last one takes the whole row */
#site .kare-galeri {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

#site .kare-galeri a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    cursor: zoom-in;
}

#site .kare-galeri a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

#site .kare-galeri img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .2s ease;
}

#site .kare-galeri a:hover img {
    transform: scale(1.04);
}

#site .detay-bolme-sayi {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 400;
    opacity: .7;
}

#site .dis-baglanti {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
    text-align: center;
    font-size: 11px;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(127, 127, 127, .2);
    border-radius: 4px;
}

#site .dis-baglanti:hover,
#site .dis-baglanti:focus-visible {
    border-color: rgba(127, 127, 127, .5);
    background: rgba(127, 127, 127, .08);
}

#site .dis-baglanti img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

#site.dark .iliski-kart,
#site.dark .kisi-satir,
#site.dark .dis-baglanti {
    border-color: #2c2f38;
    background: #1e2026;
}

#site.dark .iliski-kart:hover,
#site.dark .dis-baglanti:hover {
    border-color: #3a3e4a;
    background: #23262e;
}

@media (max-width: 480px) {
    #site .kisi-izgara {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- comment summary (ajax/social/comments) ----
   One bar: title and count on the left, the sort as a segmented control on the
   right. comments.css draws it dark in both themes; here it follows the theme. */

#site .site-comment-summary {
    align-items: center;
    padding: 8px 10px 8px 12px;
    border-radius: 4px;
}

#site .site-comment-summary-main {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#site .site-comment-summary-main > .fa {
    opacity: .6;
}

#site .site-comment-summary-main > strong {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

#site .site-comment-count {
    display: inline-block;
    min-width: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #fff;
    background: #d9534f;
}

#site .site-comment-sort {
    display: flex;
}

#site .site-comment-sort > .btn {
    font-size: 11px;
    font-weight: 700;
}

#site .site-comment-sort > .btn > .fa {
    margin-right: 3px;
    opacity: .75;
}

#site.light .site-comment-summary {
    color: #333;
    background: #f7f7f7;
    border-color: #ddd;
}

#site.light .site-comment-summary strong {
    color: #222;
}

/* ---- the comment form (ajax/social/comment-compose) ----
   comments.css only draws it dark; here it follows the theme, and the chosen
   spoiler level lights up in the colour of the badge readers will see. */

#site .site-comment-compose {
    margin: 0 0 10px;
    padding: 10px;
    border-radius: 4px;
}

#site .site-comment-compose-head {
    justify-content: space-between;
}

#site .site-comment-compose-title {
    margin: 0;
    cursor: text;
}

#site .site-comment-compose-tools .btn {
    padding: 4px 10px;
}

#site .site-comment-compose-tools .btn.active {
    color: #fff;
    background: #5a6170;
    border-color: #5a6170;
    box-shadow: none;
}

#site .site-comment-compose-tools .btn.is-soft.active {
    background: #d9a032;
    border-color: #d9a032;
}

#site .site-comment-compose-tools .btn.is-medium.active {
    background: #e67e22;
    border-color: #e67e22;
}

#site .site-comment-compose-tools .btn.is-hard.active {
    background: #d9534f;
    border-color: #d9534f;
}

#site .site-comment-textarea {
    min-height: 90px;
    resize: vertical;
}

#site .site-comment-compose-meta {
    font-size: 12px;
}

#site .site-comment-compose-meta img {
    border-radius: 50%;
    object-fit: cover;
}

#site .site-comment-sayac {
    font-size: 11px;
    opacity: .6;
}

#site .site-comment-hata {
    margin: 6px 0 0;
}

#site.dark .site-comment-textarea {
    color: #e3e8ef;
    background: #1e2026;
    border-color: #17191f;
}

#site.light .site-comment-compose {
    color: #333;
    background: #f7f7f7;
    border-color: #ddd;
}

#site.light .site-comment-compose-title {
    color: #222;
}

#site.light .site-comment-compose-tools .btn:not(.active) {
    color: #333;
    background: #fff;
    border-color: #ccc;
}

/* where a comment in "Son Yorumlar" was left: the anime or the episode, as a link */
#site .yorum-yeri {
    display: block;
    overflow: hidden;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .yorum-yeri .fa {
    margin-right: 2px;
    opacity: .6;
}

/* the comments panel: a larger "Site Yorumlar" tab and the house rules under it */
#site .yorum-sekme > li > a {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
}

/* a strip flush under the tab: no margin to push the comments down */
#site .yorum-kurallari {
    margin: 0;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.45;
    border: 0;
    border-bottom: 1px solid rgba(127, 127, 127, .25);
    border-left: 3px solid #d9534f;
    background: rgba(127, 127, 127, .06);
}

#site .yorum-kurallari-baslik {
    margin: 0 0 3px;
    font-weight: 700;
}

#site .yorum-kurallari ul {
    margin: 0;
    padding-left: 18px;
}

#site.dark .yorum-kurallari {
    color: #c9d1dc;
    border-bottom-color: #2c2f38;
    background: #1e2026;
}

/* a spoiler-tagged comment before it is opened: the level badge, a note, a link */
#site .site-comment-spoiler {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#site .site-comment-spoiler .site-comment-spoiler-badge {
    flex: 0 0 auto;
}

#site .site-comment-spoiler-note {
    opacity: .8;
}

#site .site-comment-spoiler-reveal {
    font-weight: 700;
}

/* ---- private messages (/mesajlar/) ----
   Laid out like e-mail: a form with Kimden, Kime and Mesaj, the inbox as a list
   of correspondences, and each correspondence as a column of messages. */

/* a box: one row per message — who, the start of it, when; bold while unread */
#site .posta-sekmeleri > li > a {
    font-weight: 700;
}

#site .posta-sekmeleri .label {
    margin-left: 4px;
}

#site .posta-listesi {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid rgba(127, 127, 127, .2);
    border-radius: 4px;
}

#site .posta + .posta {
    border-top: 1px solid rgba(127, 127, 127, .18);
}

#site .posta-satir {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    color: inherit;
    text-align: left;
    background: none;
    border: 0;
}

#site .posta-satir:hover,
#site .posta-satir:focus-visible,
#site .posta--acik > .posta-satir {
    background: rgba(127, 127, 127, .08);
}

#site .posta-satir img {
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
}

#site .posta-kisi {
    display: flex;
    flex: 0 0 130px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    overflow: hidden;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .posta-yon {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .6;
}

#site .posta-ozet {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .8;
}

#site .posta-ozet .label {
    margin-right: 4px;
}

#site .posta-zaman {
    flex: 0 0 auto;
    font-size: 11px;
    opacity: .6;
}

#site .posta--okunmadi .posta-ozet {
    font-weight: 700;
    opacity: 1;
}

#site .posta--okunmadi > .posta-satir {
    box-shadow: inset 3px 0 0 #d9534f;
}

/* the message opened in place: its heading lines, the text, the actions */
#site .posta-govde {
    padding: 4px 12px 12px;
}

#site .posta-bilgi {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    margin: 0 0 8px;
    padding-bottom: 8px;
    font-size: 12px;
    border-bottom: 1px solid rgba(127, 127, 127, .18);
}

#site .posta-bilgi dt {
    font-weight: 700;
    opacity: .7;
}

#site .posta-bilgi dd {
    margin: 0;
}

#site .posta-icerik {
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

#site .posta-eylemler {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

/* the message form: Kime and Mesaj, laid out like the contact form (/iletisim/).
   The theme's .fa-fw draws header icons at 1.37em; the solid pencil looked
   heavy beside "YENİ MESAJ", so it is drawn at the heading's own size. */
#site #yeni-mesaj .panel-title .fa-pen {
    font-size: 1em;
    vertical-align: 0;
}

/* the fields start where the pencil does: the header is padded 10px, the body 16px */
#site #yeni-mesaj .eposta-formu {
    margin: 0 -6px;
}

#site .eposta-formu .kime-durumu:empty {
    display: none;
}

#site .kime-alani {
    position: relative;
}

#site .kime-ikon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    opacity: .5;
}

/* the recipient's picture, in the icon's place once the name belongs to a member */
#site .kime-avatar {
    position: absolute;
    top: 50%;
    left: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    transform: translateY(-50%);
}

#site .kime-avatar[hidden],
#site .kime-ikon[hidden] {
    display: none;
}

#site .kime-alani .form-control {
    padding-left: 34px;
}

#site .kime-onerileri {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 20;
    max-height: 260px;
    margin: 2px 0 0;
    padding: 4px 0;
    overflow-y: auto;
    list-style: none;
    color: #333;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

#site .kime-onerileri [role="option"] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    cursor: pointer;
}

#site .kime-onerileri [role="option"]:hover,
#site .kime-onerileri [aria-selected="true"] {
    color: #fff;
    background: #d9534f;
}

#site .kime-onerileri img {
    border-radius: 50%;
    object-fit: cover;
}

#site .kime-durumu {
    margin: 6px 0 0;
    font-size: 12px;
    opacity: .85;
}

#site .kime-durumu--var {
    color: #3c9a5f;
}

#site .kime-durumu--yok {
    color: #d9534f;
}

#site .eposta-ipucu {
    margin: 4px 0 0;
    font-size: 11px;
    opacity: .7;
}

#site .eposta-ipucu kbd {
    padding: 1px 4px;
    font-size: 10px;
}

#site .eposta-alt {
    margin-bottom: 4px;
}

#site .mesaj-hata {
    margin: 8px 0 0;
}

#site .mesaj-basari {
    margin: 10px 0 0;
    padding: 8px 12px;
}

#site.dark .kime-onerileri {
    color: #e3e8ef;
    background: #23262e;
    border-color: #2c2f38;
}

#site.dark .kime-durumu--var {
    color: #6fcf97;
}

/* ---- notifications (Modules/Bildirim) ----
   The bell opens the list right under it; /bildirimler/ shows the same list. */

#site .bildirim-menusu {
    width: 360px;
    max-width: calc(100vw - 24px);
    padding: 0;
    overflow: hidden;
}

#site .bildirim-menusu-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 13px;
    border-bottom: 1px solid rgba(127, 127, 127, .2);
}

#site .bildirim-menusu-ust a {
    font-size: 12px;
}

#site .bildirim-menusu-govde {
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* its scrollbar in the theme's colours: thin and rounded on the menu's own
   background, the site's red while held. Chromium and Safari take the
   ::-webkit-scrollbar rules; Firefox only knows scrollbar-width/-color. */
#site .bildirim-menusu-govde::-webkit-scrollbar {
    width: 8px;
}

#site .bildirim-menusu-govde::-webkit-scrollbar-track {
    background: transparent;
}

#site .bildirim-menusu-govde::-webkit-scrollbar-thumb {
    background: rgba(127, 127, 127, .45);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 999px;
}

#site .bildirim-menusu-govde::-webkit-scrollbar-thumb:hover {
    background-color: rgba(127, 127, 127, .7);
}

#site .bildirim-menusu-govde::-webkit-scrollbar-thumb:active {
    background-color: #d9534f;
}

#site.dark .bildirim-menusu-govde::-webkit-scrollbar-track {
    background: #1e2026;
}

#site.dark .bildirim-menusu-govde::-webkit-scrollbar-thumb {
    background-color: #3a3f4b;
}

#site.dark .bildirim-menusu-govde::-webkit-scrollbar-thumb:hover {
    background-color: #4a5060;
}

#site.dark .bildirim-menusu-govde::-webkit-scrollbar-thumb:active {
    background-color: #d9534f;
}

@supports (-moz-appearance: none) {
    #site .bildirim-menusu-govde {
        scrollbar-width: thin;
        scrollbar-color: rgba(127, 127, 127, .45) transparent;
    }

    #site.dark .bildirim-menusu-govde {
        scrollbar-color: #3a3f4b #1e2026;
    }
}

#site .bildirim-yukleniyor {
    padding: 18px 12px;
    font-size: 12px;
    text-align: center;
    opacity: .7;
}

#site .bildirim-listesi {
    margin: 0;
    padding: 0;
    list-style: none;
}

#site .bildirim + .bildirim {
    border-top: 1px solid rgba(127, 127, 127, .15);
}

#site .bildirim a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    color: inherit;
    white-space: normal;
    text-decoration: none;
}

#site .bildirim a:hover,
#site .bildirim a:focus-visible {
    background: rgba(127, 127, 127, .1);
}

#site .bildirim--yeni a {
    background: rgba(217, 83, 79, .08);
}

#site .bildirim-gorsel {
    position: relative;
    flex: 0 0 40px;
}

#site .bildirim-gorsel img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

#site .bildirim--mesaj .bildirim-gorsel img {
    border-radius: 50%;
}

/* the type badge: the glyph centred by flex, not line-height — Font Awesome 5
   glyphs differ in width and sit off-centre in a line box */
#site .bildirim-gorsel .fa {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 9px;
    line-height: 1;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background: #5a6170;
}

/* a play triangle's weight sits left of its box: nudged to look centred */
#site .bildirim-gorsel .fa-play::before {
    margin-left: 1px;
}

#site .bildirim--mesaj .bildirim-gorsel .fa {
    background: #337ab7;
}

#site .bildirim--bolum .bildirim-gorsel .fa {
    background: #d9534f;
}

#site .bildirim--anime .bildirim-gorsel .fa {
    background: #3c9a5f;
}

#site .bildirim--rapor .bildirim-gorsel .fa {
    background: #f0ad4e;
}

#site .bildirim--uyari .bildirim-gorsel .fa {
    background: #e67e22;
}

#site .bildirim--yasak .bildirim-gorsel .fa {
    background: #7c2d31;
}

/* the watch page's "Hata Bildir" button, beside the reaction counter */
#site .hata-bildir .fa {
    color: #f0ad4e;
}

#site .hata-bildir-bolum {
    margin-bottom: 15px;
}

#site .bildirim-govde {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.4;
}

#site .bildirim-detay {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .75;
}

#site .bildirim-zaman {
    font-size: 11px;
    opacity: .6;
}

#site .bildirim-nokta {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: #d9534f;
}

#site .bildirim-bos {
    padding: 24px 16px;
    text-align: center;
}

#site .bildirim-bos .fa {
    font-size: 26px;
    opacity: .4;
}

#site .bildirim-bos p {
    margin: 8px 0 4px;
    font-weight: 700;
}

#site .bildirim-bos small {
    opacity: .7;
}

#site .bildirim-sayfasi .bildirim-listesi {
    border: 1px solid rgba(127, 127, 127, .2);
    border-radius: 4px;
}

#site.dark .bildirim-menusu {
    color: #e3e8ef;
    background: #23262e;
    border-color: #2c2f38;
}

/* a new message while browsing: bottom right, one per sender, gone after 8 seconds */
#mesaj-bildirimleri {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 300px;
    max-width: calc(100vw - 32px);
}

#site .mesaj-bildirimi {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 30px 10px 12px;
    color: #222;
    text-decoration: none;
    background: #fff;
    border-left: 4px solid #d9534f;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    animation: mesaj-bildirimi-gel .25s ease-out;
    transition: opacity .5s ease, transform .5s ease;
}

#site .mesaj-bildirimi.is-kapaniyor {
    opacity: 0;
    transform: translateX(20px);
}

#site .mesaj-bildirimi-ikon {
    margin-top: 2px;
    font-size: 16px;
    color: #d9534f;
}

#site .mesaj-bildirimi-govde {
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
}

#site .mesaj-bildirimi-ozet {
    display: block;
    margin-top: 2px;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .75;
}

#site .mesaj-bildirimi-kapat {
    position: absolute;
    top: 4px;
    right: 6px;
    padding: 0 4px;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    background: none;
    border: 0;
    opacity: .6;
}

#site.dark .mesaj-bildirimi {
    color: #e3e8ef;
    background: #23262e;
}

@keyframes mesaj-bildirimi-gel {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* ---- profile "Hakkında" ---- */

.hakkinda-kutu {
    padding: 14px;
}

.hakkinda-kutu .summary {
    margin: 0;
    white-space: pre-line;
}

/* ---------------------------------------------------------------------------
   Anime detail block
   ---------------------------------------------------------------------------
   Shared by the anime page and "Günün Animesi". These rules replace the inline
   styles the reference markup carried on almost every cell. */

.anime-detay-yerlesim > tbody > tr > .anime-detay-sol {
    width: 235px;
}

/* The pane beside the poster takes the room left and no more. An auto-sized
   table cell grows to its widest unbreakable line, and a card title held to
   one line ("Similar anime" and the like) pushed the pane past the panel's
   edge, under the next column, hiding the card's right side and its episode
   count. With max-width: 0 the cell stops growing with its content, and long
   titles end in "…" as the card rules intend. */
.anime-detay-yerlesim > tbody > tr > .anime-detay-sag {
    width: 100%;
    max-width: 0;
}

.anime-detay-afis {
    margin-right: 5px;
}

.anime-detay-afis > .anime-detay-afis-gorsel,
.anime-detay-afis .poster > .anime-detay-afis-gorsel {
    width: 221px;
    height: 325px;
}

.anime-detay .detail-menu {
    margin-right: 5px;
    margin-top: -15px;
}

.anime-bilgi > tbody > tr > td {
    vertical-align: middle;
}

.anime-bilgi-ayrac {
    text-align: center;
}

.anime-etiket {
    margin-bottom: 3px;
    margin-right: 3px;
}

.anime-etiket > .fa {
    position: relative;
    top: 1px;
}

/* ---------------------------------------------------------------------------
   Listing cards
   ---------------------------------------------------------------------------
   One shell for the series and episode cards: a fixed-height body with the
   poster floated left and the action group pinned to the bottom right. */

.kart {
    margin-bottom: 5px;
}

.kart-govde {
    padding: 5px;
    height: 150px;
    overflow: hidden;
}

.kart-afis {
    margin-right: 5px;
}

.kart-afis > .kart-afis-gorsel,
.kart-afis .poster > .kart-afis-gorsel {
    width: 90px;
    height: 128px;
}

/* On a listing card the poster is a touch larger than the reference's 90×128,
   in a 2px frame rather than Bootstrap's 4px, so it still fills the 150px body
   and its top edge meets the title beside it. */
#site .kart .kart-afis {
    padding: 2px;
}

#site .kart .kart-afis > .kart-afis-gorsel,
#site .kart .kart-afis .poster > .kart-afis-gorsel {
    width: 94px;
    height: 134px;
    border-radius: 2px;
}

/* The header keeps to one line: the anime's name ends "…" when it is too long,
   the episode never does — "Saijo no Osewa: Takane no Hana… 1. Bölüm". The
   theme floats the title, which would grow to the whole name; held to the
   header's width, the name has a place to end. */
#site .kart .card-header .panel-title {
    max-width: 100%;
}

#site .kart .card-header .panel-title > a {
    display: flex;
    gap: .3em;
    min-width: 0;
    white-space: nowrap;
}

#site .kart .kart-ust-ad {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#site .kart .kart-ust-bolum {
    flex: none;
}

.kart-baslik {
    font-weight: normal;
}

/* A card's title is shown whole on one line and ends "…" only where it reaches
   what stands at its right (components/episode-card, anime-card; the link's
   tooltip carries it whole), on every screen size. A flex row, so what
   stands at the right — the episode card's flag, the anime card's episode count
   ("5/12"), both .pull-right — keeps its place there, and the row sits beside
   the floated poster rather than under it. */
#site .kart .kart-baslik {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    /* a tight line, its letters level with the poster's top edge */
    padding-top: 2px;
    line-height: 13px;
}

#site .kart .kart-baslik > a {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .kart .kart-baslik > .pull-right {
    flex: 0 0 auto;
    float: none !important;
}

/* "Benzer Animeler" (components/anime-card's wideTitle): the title uncut, as far
   as the episode counter allows — a clear space short of it — then "..." */
#site .kart .kart-baslik-genis {
    gap: 16px;
}

/* the episode card's language flag, level with the title (as the reference's TR.png) */
#site .kart .kart-dil {
    align-self: center;
    line-height: 0;
}

#site .kart .kart-dil > img {
    display: block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}

.kart-satir {
    padding: 0;
    margin: 0;
}

.kart-alan {
    margin-top: 5px;
}

/* the anime card's synopsis: four lines at most, ending "…" at the fourth, so a clear
   space is always left above the buttons pinned to the card's foot, whatever the text */
#site .kart .kart-ozet {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

/* the credits line: two lines at most, so a long one cannot reach the buttons */
#site .kart .kart-ceviri {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.kart-alan-ust {
    margin-top: 7px;
}

.kart-aksiyon {
    margin: 0 auto;
    position: absolute;
    right: 5px;
    bottom: 8px;
}

/* ===========================================================================
   Inline-style replacements
   ===========================================================================
   Everything below replaces a `style="…"` attribute that the reference markup
   carried. An inline style outranks every stylesheet rule, so these are scoped
   through the body id to inherit the same "always wins" behaviour — otherwise
   theme selectors like `.panel .panel-header` or `.btn-group-sm > .btn` quietly
   take over and the layout drifts.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Grid helpers
   --------------------------------------------------------------------------- */

/* Columns the reference butts against the gutter. */
#site .kolon-bitisik {
    padding-right: 0;
}

/* Cells of a card grid. */
#site .kolon-izgara {
    padding: 5px;
}

/* ---------------------------------------------------------------------------
   Masthead
   --------------------------------------------------------------------------- */

#site .logo-satiri,
#site .logo-kutusu {
    margin-top: 5px;
}

#site .logo-gorsel {
    max-width: 100%;
    height: auto;
}

#site .harf-seridi {
    margin: 10px 0;
}

#site .panel > .harf-seridi-govde {
    padding: 5px 0;
    margin: 0 auto;
    text-align: center;
}

#site .btn-group > .harf-btn {
    padding-left: 12px;
    padding-right: 12px;
}

/* ---------------------------------------------------------------------------
   Sidebar widgets
   --------------------------------------------------------------------------- */

#site .pano-govde {
    height: 270px;
    overflow: visible;
}

#site .reklam-govde {
    padding: 3px;
    height: 250px;
    overflow: hidden;
    text-align: center;
}

/* an ad's picture or frame (AdSlot) fits its box whatever its own size, in proportion */
#site .reklam-govde img,
#site .reklam-govde iframe,
#site .reklam-govde video {
    max-width: 100%;
    max-height: 100%;
}

#site .reklam-govde img {
    width: auto;
    height: auto;
    object-fit: contain;
}

#site .haber-listesi {
    padding: 2px;
}

#site #news-feed .haber-gorsel {
    width: 120px;
    height: auto;
}

#site .haber-baslik {
    font-size: 12px;
    font-weight: bold;
}

#site .duyuru-satir {
    border-radius: 0;
}

#site .duyuru-baslik {
    margin: 7px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}

#site .duyuru-metin {
    margin: 7px;
}

/* ---------------------------------------------------------------------------
   Compact link lists (.link-list)
   --------------------------------------------------------------------------- */

#site .menum-satir {
    width: 100% !important;
    display: inline-block;
    cursor: pointer;
}

#site .menum-sira {
    font-size: 11px;
}

#site .menum-bilgi {
    font-size: 10px;
}

/* ---------------------------------------------------------------------------
   Empty states
   --------------------------------------------------------------------------- */

#site .bos-durum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 20px;
    text-align: center;
}

/* sized here rather than by fa-2x, so the icon keeps in step with the text */
#site .bos-durum-ikon {
    margin-bottom: 4px;
    font-size: 40px;
    line-height: 1;
    opacity: .4;
}

#site .bos-durum-baslik {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

#site .bos-durum-metin {
    max-width: 440px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: .75;
}

/* ---------------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------------- */

#site .form-dar {
    max-width: 460px;
    margin: 0 auto;
}

#site .form-alani {
    margin: 15px;
}

#site .uyari-kutu {
    margin-bottom: 12px;
}

#site .uyari-liste {
    margin: 0;
    padding-left: 18px;
}

/* ---------------------------------------------------------------------------
   Top bar badge
   --------------------------------------------------------------------------- */

#site .nav-rozet {
    position: absolute;
    top: 1px;
    right: 2px;
}

/* ---------------------------------------------------------------------------
   Profile header
   --------------------------------------------------------------------------- */

#site .profil-sutun {
    margin-top: 5px;
}

#site .profil-panel {
    height: 450px;
}

#site .profil-kapak-cerceve {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

#site .profil-kapak-gorsel {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

#site .profil-kimlik {
    position: absolute;
    left: 190px;
    bottom: 20px;
    /* it reads as an <h1> now, but keeps the metrics the theme's <h2> had */
    margin: 20px 0 10px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
}

#site .profil-ad {
    color: #fff;
    text-shadow: 2px 4px 3px rgba(0, 0, 0, .5);
}

#site .profil-rutbe {
    position: relative;
    margin-left: 10px;
    top: -5px;
    right: 0;
}

#site .profil-avatar-cerceve {
    width: 150px;
    height: 150px;
}

/* ---------------------------------------------------------------------------
   Watch page
   --------------------------------------------------------------------------- */

/* The crumbs beside the buttons, never under them: a row, the crumbs taking what
   the buttons leave. Both crumbs keep to one line; a long title ends "…", the
   anime's name giving way first. */
#site .izle-ust {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 20px;
    min-height: 40px;
}

#site .izle-yol {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    min-height: 20px;
    background: none;
    margin: 0;
    padding: 0;
}

#site .izle-yol > li {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

#site .izle-yol > li:first-child {
    flex-shrink: 3;
}

/* the separator ("/") beside the crumb, not above it */
#site .izle-yol > li + li::before {
    flex: none;
}

/* the name gives way, the episode ("1. Bölüm") never does; the icon sits on the
   text's middle at the text's own size */
#site .izle-yol-link {
    display: inline-flex;
    align-items: center;
    gap: .3em;
    min-width: 0;
}

#site .izle-yol-link > .fa {
    flex: none;
    font-size: 1.15em;
    line-height: 1;
}

#site .izle-yol-ad {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#site .izle-yol-bolum {
    flex: none;
}

#site .izle-yol-link {
    color: #fff;
    font-size: .8em;
}

/* in the row rather than laid over it; still 5px from the top and right edges,
   and no taller than a line of crumbs, so a one-line header keeps its height */
#site .izle-gezinme {
    flex: none;
    margin: -5px -5px -5px 0;
}

#site .izle-gezinme > .btn {
    color: #fff;
}

#site .izle-govde {
    margin: 0;
    padding: 0;
}

#site .izle-kaynak-btn {
    margin: 2px;
}

/* the AI translation warning under the links: no gap of its own below, so it sits
   the grid's gutter (the columns' 5px each side) above the uploader card and the legend */
#site .alert.izle-yz-uyari {
    margin-bottom: 0;
}

/* the fansub's credit ("Çeviri : …") under the translation notice: set apart from the
   notice above it, and no paragraph gap left over against the box's own padding below */
#site .alert.translation [data-fansub-ceviri] {
    margin-top: 7px;
}

#site .alert.translation [data-fansub-ceviri] p {
    margin-bottom: 0;
}

/* no video yet: the message fills the player's frame, centred, a size to match it;
   the frame is dark in either theme, so the text is light in either */
#site .izle-bos {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #e6e6e6;
}

#site .izle-bos .bos-durum {
    gap: 10px;
    padding: 0;
}

#site .izle-bos .bos-durum-ikon {
    font-size: 64px;
}

#site .izle-bos .bos-durum-baslik {
    font-size: 18px;
}

#site .izle-bos .bos-durum-metin {
    font-size: 14px;
}

#site .izle-tarih {
    position: relative;
    top: 7px;
}

/* "Birlikte İzle" and a room's "Oda": one button in the footer row, at the row's size;
   its menu opens above it (the room's address, the new room's size) */
#site .panel-footer .btn-group > .btn-group > .btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}

/* clicked (focused), hovered or open, a theme button keeps its colours: Bootstrap's
   .btn:focus / :hover and its open toggle turn the text dark grey, faded on dark */
#site button.btn-theme:hover,
#site button.btn-theme:focus,
#site button.btn-theme:active,
#site .btn-group.open > button.btn-theme.dropdown-toggle {
    color: inherit;
    box-shadow: none;
}

#site .w2g-menu {
    width: 260px;
    padding: 12px;
    font-size: 12px;
}

#site .w2g-menu label {
    font-weight: 600;
}

#site .w2g-menu .help-block {
    margin: 6px 0 10px;
    font-size: 11px;
}

#site .w2g-menu .checkbox {
    margin: 10px 0 0;
}

/* ---------------------------------------------------------------------------
   Watch2Gether room (pages/episode-show with a room; assets/js/birlikte-izle.js)
   --------------------------------------------------------------------------- */

#site .w2g-durum {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
}

#site .w2g-durum .izle-kaynak-btn {
    cursor: default;
}

#site .w2g-not {
    flex: 1 1 auto;
    margin: 0;
    color: #c0392b;
}

#site .w2g-kapandi .video-frame {
    opacity: .35;
    pointer-events: none;
}

#site .w2g-sahip {
    color: #f1c40f;
}

#site .izle-fansublar .btn[disabled] {
    opacity: .55;
}

/* a playlist room's list: the episode list's rows (.bolum-listesi), its own count
   and remove button */
/* the playlist reads at the chat's size, larger than the sidebar's episode list */
#site .w2g-liste-kolonu .panel-tabs > li > a {
    font-size: 13px;
    font-weight: 700;
}

#site .w2g-liste .menum-satir {
    font-size: 13px;
    line-height: 20px;
}

#site .w2g-liste .menum-bilgi {
    font-size: 11px;
}

#site .w2g-liste-sayi {
    opacity: .75;
}

#site .w2g-liste-ikon {
    cursor: default;
}

#site .w2g-liste .menum-satir {
    cursor: pointer;
}

#site .w2g-liste-ekle {
    display: flex;
    gap: 6px;
}

#site .w2g-liste-ekle .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

#site .w2g-liste-ekle .btn {
    flex: none;
    white-space: nowrap;
}

#site .w2g-liste-cikar {
    margin-left: 4px;
    border: 0;
    background: transparent;
    color: inherit;
    opacity: .6;
    cursor: pointer;
}

#site .w2g-liste-cikar:hover,
#site .w2g-liste-cikar:focus {
    background: #d9534f;
    color: #fff;
    opacity: 1;
}

/* "Birlikte İzle" dialog (partials/watch-room-dialog): in the middle of the screen,
   its title in line with the form under it */
#site #w2g-oda-ac.modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#site #w2g-oda-ac .modal-dialog {
    margin: 20px auto;
}

#site #w2g-oda-ac .modal-header {
    padding-left: 15px;
}
#site .w2g-giris {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(127, 127, 127, .2);
    text-align: center;
}

#site .w2g-giris-btn {
    display: flex;
    justify-content: center;
    gap: 8px;
}

#site .w2g-ayarlar .onay-satiri {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
    font-weight: normal;
}

/* the dialog's "Bölümler": a dropdown of the episodes, each with a checkbox; about
   eight rows, then it scrolls without a scroll bar, like the sidebar's list */
#site .w2g-bolum-sec > .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    text-align: left;
}

#site .w2g-bolum-sec > .dropdown-toggle > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#site .w2g-bolum-menu {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

#site .w2g-bolum-kisayol {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
}

#site .w2g-bolum-liste {
    max-height: 264px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: none;
}

#site .w2g-bolum-liste::-webkit-scrollbar {
    display: none;
}

#site .w2g-bolum-liste > li {
    border-bottom: 1px solid rgba(127, 127, 127, .15);
}

#site .w2g-bolum-liste > li:last-child {
    border-bottom: 0;
}

#site .w2g-bolum-liste .onay-satiri {
    margin: 0;
    padding: 7px 12px;
    cursor: pointer;
}

#site .w2g-bolum-liste > li:hover {
    background: rgba(127, 127, 127, .1);
}

/* the episode the dialog was opened on */
#site .w2g-bolum-liste > li.bolum-burada {
    box-shadow: inset 3px 0 0 #d9534f;
}

#site .w2g-bolum-liste .onay-kutusu {
    margin: 0;
    accent-color: #d9534f;
}

/* the sidebar's episode list and a playlist room's: about fifteen rows, then it
   scrolls — without a scroll bar; the episode on screen marked */
#site .katalog-kolonu .bolum-listesi,
#site .w2g-liste {
    position: relative;
    max-height: 484px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#site .katalog-kolonu .bolum-listesi::-webkit-scrollbar,
#site .w2g-liste::-webkit-scrollbar {
    display: none;
}

#site .bolum-listesi > li.bolum-burada {
    background: rgba(217, 83, 79, .14);
    box-shadow: inset 3px 0 0 #d9534f;
}

#site .bolum-listesi > li.bolum-burada .menum-satir {
    font-weight: 700;
}

/* ---------------------------------------------------------------------------
   Home page widgets
   --------------------------------------------------------------------------- */

#site .yorum-kutusu {
    min-height: 340px;
}

#site .yorum-listesi {
    margin: 0;
}

#site .yorum-metin {
    margin: 4px 0 0;
}

/* Deferred blocks reserve their height so the page does not jump when they land. */
#site .gecikmeli-blok--istatistik {
    min-height: 180px;
}

#site .gecikmeli-blok--bahtima {
    min-height: 220px;
}

/* loaded: its own height, so what follows (the home page's introduction) sits right under it */
#site .gecikmeli-blok--bahtima:not(:empty) {
    min-height: 0;
}

#site .vitrin-serit {
    margin-left: 10px;
}

#site .sosyal-govde {
    text-align: center;
    margin: 5px;
    overflow: visible;
}

#site .social_links a > .sosyal-ikon {
    font-size: 22px;
    margin-right: 10px;
}

/* white on every colour, in both themes: the dark theme's link colour outranks
   social-links.css, which the reference got round with inline !important */
#site .social_links a,
#site .social_links a:hover,
#site .social_links a:focus {
    color: #fff !important;
}

/* social-links.css has no colour for a plain web site */
#site .social_links a.social-website {
    background-color: #4a5568;
}

/* ---- "Ne Çıkarsa Bahtıma!" (partials/bahtima) ----
   The genres as equal tiles in a grid, the same gap between every one, in the theme's
   own tile (the A–Z strip's btn-default); a ticked one in the site's red. The search,
   the sort and the pick in one bar below. */
#site .bahtima-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
}

#site .bahtima-tur {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}

#site .bahtima-tur[hidden] {
    display: none;
}

#site .bahtima-tur-ad {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .bahtima-tur-sayi {
    flex: none;
    font-size: 11px;
    opacity: .55;
    font-variant-numeric: tabular-nums;
}

#site .bahtima-tur:hover,
#site .bahtima-tur:focus-visible {
    border-color: #adadad;
    background: #f2f2f2;
}

#site .bahtima-tur.secili {
    border-color: #8c8c8c;
    background: #e6e6e6;
    color: #111;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px #8c8c8c;
}

#site .bahtima-tur.secili .bahtima-tur-sayi {
    opacity: .8;
}

#site.dark .bahtima-tur {
    border-color: #17191f;
    background: #1e2026;
    color: #c5c8ce;
}

#site.dark .bahtima-tur:hover,
#site.dark .bahtima-tur:focus-visible {
    border-color: #17191f;
    background: #23252c;
    color: #fff;
}

#site.dark .bahtima-tur.secili {
    border-color: #5c606b;
    background: #17191f;
    color: #fff;
    box-shadow: inset 0 0 0 1px #5c606b;
}

#site .bahtima-bos,
#site .bahtima-secilenler {
    margin: 10px 0 0;
    font-size: 12px;
    opacity: .75;
}

#site .bahtima-alt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#site .bahtima-araclar,
#site .bahtima-sonuc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

#site .bahtima-araclar > .form-control {
    width: auto;
    height: 30px;
}

#site .bahtima-ara {
    min-width: 170px;
}

/* the counter and the pick keep to the right, the row wrapped or not */
#site .bahtima-sonuc {
    margin-left: auto;
}

/* the counter in a line of the buttons' own height, its text level with theirs */
#site .bahtima-sayac {
    display: inline-flex;
    align-items: center;
    height: 30px;
    font-size: 12px;
    line-height: 18px;
    opacity: .75;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* the pick itself: the theme's own button, as "Önceki" / "Sonraki" and the tools beside
   it are (btn-default), the size of the search field; only its text a touch bolder */
#site .bahtima .bahtima-git {
    height: 30px;
    font-weight: 600;
}

/* the search field: a frame that shows on the panel in both themes */
#site .bahtima .bahtima-ara {
    border: 1px solid #b5b5b5;
    border-radius: 3px;
}

#site .bahtima .bahtima-ara:focus {
    border-color: #777;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

#site.dark .bahtima .bahtima-ara {
    border: 1px solid #3a3e4a !important;
    background: #17191f !important;
    color: #e0e2e6 !important;
}

#site.dark .bahtima .bahtima-ara::placeholder {
    color: #7d818c;
}

#site.dark .bahtima .bahtima-ara:focus {
    border-color: #6b707d !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .06);
    outline: 0;
}

@media (max-width: 767px) {
    #site .bahtima-izgara {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    #site .bahtima-alt,
    #site .bahtima-araclar,
    #site .bahtima-sonuc {
        width: 100%;
    }

    #site .bahtima-ara {
        flex: 1 1 100%;
    }

    #site .bahtima-sonuc {
        justify-content: space-between;
    }
}

/* ---------------------------------------------------------------------------
   Tables, pagination and small chrome
   --------------------------------------------------------------------------- */

#site .istatistik-tablo {
    margin: 0;
}

#site .istatistik-tablo > tbody > tr > td {
    vertical-align: middle;
}

#site .anime-detay-govde {
    padding: 5px;
    overflow: hidden;
}

#site .takvim-bilgi-link {
    position: absolute;
    right: 10px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 400;
    color: #fff;
    cursor: help;
    opacity: .85;
}

#site .takvim-bilgi-link:hover,
#site .takvim-bilgi-link:focus {
    opacity: 1;
    outline: none;
}

/* the header's own icons are drawn at 1.37em (.fa-fw); this one sits with the small text */
#site .takvim-bilgi-link .fa {
    font-size: 11px;
}

#site .sayfalama {
    padding: 6px;
}

/* ---- site pagination (partials/pagination) ----
   The theme's own tiles, as the A–Z strip above the page draws them (.harf-btn: the
   theme's btn-default): one joined strip, the current page in the darker "active"
   shade the panel tabs use. Bootstrap's own white strip was unreadable on the dark theme. */
#site .site-sayfalama {
    text-align: center;
}

#site .site-sayfalama .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 12px 0;
    border-radius: 3px;
}

#site .site-sayfalama .pagination > li > a,
#site .site-sayfalama .pagination > li > span {
    float: none;
    min-width: 32px;
    height: 30px;
    margin: 0 0 0 -1px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 12px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

#site .site-sayfalama .pagination > li:first-child > a,
#site .site-sayfalama .pagination > li:first-child > span {
    margin-left: 0;
    border-radius: 3px 0 0 3px;
}

#site .site-sayfalama .pagination > li:last-child > a,
#site .site-sayfalama .pagination > li:last-child > span {
    border-radius: 0 3px 3px 0;
}

#site .site-sayfalama .pagination > li > a:hover,
#site .site-sayfalama .pagination > li > a:focus {
    background: #e6e6e6;
    border-color: #adadad;
    color: #333;
}

#site .site-sayfalama .pagination > .active > span {
    position: relative;
    z-index: 1;
    background: #e6e6e6;
    border-color: #adadad;
    color: #111;
    font-weight: 700;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

#site .site-sayfalama .pagination > .disabled > span {
    color: #999;
    cursor: default;
}

#site .site-sayfalama .pagination > .sayfa-bosluk > span {
    min-width: 26px;
    padding: 0 4px;
}

#site.dark .site-sayfalama .pagination > li > a,
#site.dark .site-sayfalama .pagination > li > span {
    border-color: #17191f;
    background: #1e2026;
    color: #c5c8ce;
}

#site.dark .site-sayfalama .pagination > li > a:hover,
#site.dark .site-sayfalama .pagination > li > a:focus {
    border-color: #17191f;
    background: #23252c;
    color: #fff;
}

#site.dark .site-sayfalama .pagination > .active > span {
    border-color: #17191f;
    background: #17191f;
    color: #fff;
    box-shadow: none;
}

#site.dark .site-sayfalama .pagination > .disabled > span {
    color: #5c606b;
}

#site .site-sayfalama .pagination > .sayfa-telefon {
    display: none;
}

@media (max-width: 767px) {
    #site .site-sayfalama .pagination > .sayfa-telefon {
        display: list-item;
    }

    #site .site-sayfalama .pagination > .sayfa-uzak,
    #site .site-sayfalama .sayfa-yazi {
        display: none;
    }

    #site .site-sayfalama .pagination > li > a,
    #site .site-sayfalama .pagination > li > span {
        min-width: 36px;
        min-height: 38px;
        padding: 0 6px;
    }

    #site .site-sayfalama .pagination > .sayfa-bosluk > span {
        min-width: 22px;
        padding: 0;
    }
}

/* "Filtrele" (Gelişmiş Arama): the theme's own button, not Bootstrap's blue */
#site .filtre-btn {
    font-weight: 700;
}

#site.dark .filtre-btn {
    color: #fff !important;
    background: none #17191f !important;
}

#site.dark .filtre-btn:hover,
#site.dark .filtre-btn:focus {
    background: none #1b1d23 !important;
}

#site .sayfalama-sayac {
    float: left;
    padding: 8px;
    font-size: 12px;
    margin-top: 1px;
}

#site .sonuc-sayisi {
    padding: 8px;
    font-size: 12px;
}

#site .duvar-formu {
    margin: 10px;
}

/* ---------------------------------------------------------------------------
   Settings and auth forms
   --------------------------------------------------------------------------- */

/* Settings page: three titled blocks (account, images, password) and the
   one save button under all of them. */

#site .ayar-formu {
    margin: 5px 10px 0;
}

#site .ayar-bolum + .ayar-bolum {
    margin-top: 22px;
}

#site .ayar-baslik {
    margin: 0 0 14px;
    padding: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: .03em;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
}

#site .ayar-baslik > .fa {
    opacity: .6;
}

#site .ayar-aciklama {
    margin: -4px 0 12px;
    font-size: 12px;
}

#site .ayar-gorsel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
}

#site .ayar-gorsel.has-error {
    border-color: #a94442;
}

#site .ayar-avatar {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 100%;
}

#site .ayar-kapak {
    flex: 0 0 240px;
    width: 240px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#site .ayar-gorsel-govde {
    flex: 1 1 200px;
    min-width: 0;
}

#site .ayar-gorsel-ad {
    display: block;
    margin: 0 0 2px;
}

#site .ayar-gorsel .help-block {
    margin: 0 0 8px;
    font-size: 12px;
}

#site .ayar-dosya {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#site .ayar-dosya .profil-btn-file {
    flex: 0 0 auto;
}

/* the real input is invisible over the button, so show its focus on the button */
#site .profil-btn-file:focus-within {
    outline: 2px solid #337ab7;
    outline-offset: 1px;
}

#site .ayar-dosya-adi {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .75;
}

#site .ayar-gorsel .ayar-hata {
    margin: 6px 0 0;
}

#site .ayar-gorsel .ayar-hata:empty {
    display: none;
}

#site .ayar-kaydet {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #ddd;
}

#site.dark .ayar-baslik,
#site.dark .ayar-kaydet {
    border-color: #17191f;
}

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

#site.dark .ayar-gorsel.has-error {
    border-color: #a94442;
}

/* Anime list import (settings page): the source as two tiles, its fields beside
   each other with "ya da" between, the file picked through a dashed drop box, and
   the two choices as switches */
/* the two sources as tabs on the box under them: the one picked joins the box,
   marked in the site's red; the other stays muted until hovered */
#site .liste-kaynak {
    display: flex;
    gap: 4px;
    margin-bottom: -1px;
}

#site .liste-kaynak-sec {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
    padding: 8px 14px 7px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    font-weight: 400;
    cursor: pointer;
    opacity: .6;
    transition: opacity .15s ease, background-color .15s ease;
}

#site .liste-kaynak-sec b {
    font-size: 13px;
}

#site .liste-kaynak-sec small {
    font-size: 11px;
    opacity: .75;
}

#site .liste-kaynak-sec:hover {
    background: rgba(127, 127, 127, .08);
    opacity: 1;
}

#site #kaynak-mal:checked ~ .liste-kaynak .liste-kaynak-sec--mal,
#site #kaynak-anilist:checked ~ .liste-kaynak .liste-kaynak-sec--anilist {
    border-color: #ddd;
    box-shadow: inset 0 3px 0 #d9534f;
    background: #f7f7f7;
    opacity: 1;
}

#site.dark #kaynak-mal:checked ~ .liste-kaynak .liste-kaynak-sec--mal,
#site.dark #kaynak-anilist:checked ~ .liste-kaynak .liste-kaynak-sec--anilist {
    border-color: #17191f;
    background: #1e2026;
}

#site #kaynak-mal:focus-visible ~ .liste-kaynak .liste-kaynak-sec--mal,
#site #kaynak-anilist:focus-visible ~ .liste-kaynak .liste-kaynak-sec--anilist {
    outline: 2px solid #337ab7;
    outline-offset: -2px;
}

#site #kaynak-mal:checked ~ .liste-kaynak-alan--anilist,
#site #kaynak-anilist:checked ~ .liste-kaynak-alan--mal {
    display: none;
}

#site .liste-kaynak-alan {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 4px;
    background: #f7f7f7;
}

#site .liste-yollar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

#site .liste-yol {
    min-width: 0;
    margin: 0;
}

#site .liste-yol .help-block {
    margin: 6px 0 0;
    font-size: 12px;
}

#site .liste-yol-baslik {
    display: block;
    margin: 0 0 5px;
    font-weight: 700;
}

#site .liste-yol-baslik > .fa {
    opacity: .6;
}

#site .liste-yol-ya-da {
    align-self: center;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(127, 127, 127, .15);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: .75;
}

/* the file input itself is hidden: this box, as tall as the text field, opens it */
#site .liste-dosya {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 0 4px 0 0;
    border: 1px dashed #bbb;
    border-radius: 4px;
    background: #fff;
    font-weight: 400;
    cursor: pointer;
    transition: border-color .15s ease;
}

#site .liste-dosya:hover,
#site .liste-dosya-girdi:focus-visible + .liste-dosya {
    border-color: #337ab7;
}

#site .liste-dosya-girdi:focus-visible + .liste-dosya {
    outline: 2px solid #337ab7;
    outline-offset: 1px;
}

#site .liste-dosya-btn {
    flex: none;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-right: 1px dashed #bbb;
    font-size: 12px;
    font-weight: 700;
}

#site .liste-dosya-adi {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .75;
}

#site .has-error .liste-dosya {
    border-color: #a94442;
}

#site .liste-secenekler {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

#site .liste-secenek {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    transition: border-color .15s ease;
}

#site .liste-secenek:hover {
    border-color: #bbb;
}

/* a switch: grey and to the left when off, the site's red and to the right when on */
#site .liste-anahtar {
    position: relative;
    flex: none;
    width: 34px;
    height: 20px;
    margin-top: 1px;
    border-radius: 10px;
    background: rgba(127, 127, 127, .35);
    transition: background-color .15s ease;
}

#site .liste-anahtar::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    transition: transform .15s ease;
}

#site .liste-anahtar-girdi:checked + .liste-anahtar {
    background: #d9534f;
}

#site .liste-anahtar-girdi:checked + .liste-anahtar::after {
    transform: translateX(14px);
}

#site .liste-anahtar-girdi:focus-visible + .liste-anahtar {
    outline: 2px solid #337ab7;
    outline-offset: 2px;
}

#site .liste-secenek-metin {
    min-width: 0;
    line-height: 1.4;
}

#site .liste-secenek-metin b {
    display: block;
    font-size: 13px;
}

#site .liste-secenek-metin small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    opacity: .7;
}

#site .mal-formu .ayar-kaydet {
    margin-top: 14px;
}

#site.dark .liste-kaynak-alan {
    border-color: #17191f;
    background: #1e2026;
}

#site.dark .liste-secenek {
    border-color: #17191f;
}

#site.dark .liste-secenek:hover {
    border-color: #3a3d46;
}

#site.dark .liste-dosya {
    border-color: #3a3d46;
    background: rgba(0, 0, 0, .2);
}

#site.dark .liste-dosya-btn {
    border-color: #3a3d46;
}

@media (max-width: 767px) {
    #site .liste-yollar,
    #site .liste-secenekler {
        grid-template-columns: minmax(0, 1fr);
    }

    #site .liste-yol-ya-da {
        justify-self: center;
    }

    /* on a phone the tab names alone */
    #site .liste-kaynak-sec small {
        display: none;
    }
}

#site .mal-bekleyen {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
}

#site .mal-bekleyen p {
    margin: 0 0 6px;
}

#site .mal-bekleyen summary {
    cursor: pointer;
    font-size: 12px;
}

#site .mal-bekleyen ul {
    columns: 2;
    column-gap: 20px;
    margin: 8px 0;
    padding-left: 18px;
    font-size: 12px;
}

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

#site.dark .ayar-avatar,
#site.dark .ayar-kapak {
    border-color: #17191f;
}

#site .bilgi-kutu {
    margin: 5px;
}

#site .onay-satiri {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

#site .onay-kutusu {
    width: auto;
}

#site .form-not {
    margin-top: 12px;
}

/* ---- modal windows (#modals) ----
   Every fragment brings its own frame (components/modal-dialog). The theme
   styles the header and body; the footer and the dark content box were never
   part of the reference, so they are matched to those here. */

#site .modal-dialog.modal-dar {
    width: 420px;
    max-width: calc(100% - 20px);
}

/* the two answers side by side, each half the row, on a phone too */
#site .btn-group.atlama-dugmeler {
    display: flex;
    width: 100%;
}

#site .btn-group.atlama-dugmeler > .btn {
    flex: 1 1 0;
    float: none;
    width: auto;
    min-width: 0;
}

/* in the middle of the screen, however tall its answers make it; taller than the screen, it scrolls */
#site .modal-dialog.modal-ortali {
    display: flex;
    align-items: center;
    /* .modal already starts 30px down, under the top bar: as much is left below for the middle to be the screen's */
    min-height: calc(100vh - 60px);
    margin-top: 0;
    margin-bottom: 0;
}

#site .modal-dialog.modal-ortali > .modal-content {
    width: 100%;
}

#site .modal-header .modal-title {
    font-size: 14px;
    font-weight: 700;
}

#site .modal-footer {
    padding: 10px 20px;
    font-size: 12px;
    text-align: center;
    background: #eee;
    border-top: 1px solid #ddd;
    border-radius: 0 0 3px 3px;
}

#site .uyelik-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

#site .uyelik-satir .onay-satiri {
    margin: 0;
}

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

#site.dark .uyari-kutu.alert-danger {
    color: #f2b8b5;
    background: #2b1d21;
    border-color: #5c2b31;
}

#site.dark .modal-footer {
    color: #c5c8ce;
    background: #1e2026;
    border-top-color: #17191f;
}

/* every cell centred on its row, the values as well as the names */
#site .uye-kart-tablo > tbody > tr > td {
    vertical-align: middle;
}

/* the rank badge: Bootstrap's .label pads 2px above and 3px below, which lifts the
   words inside the blue. An 18px box alone still leaves them 1px high: Arial keeps
   room below the line for descenders (y, g, p) that most names lack, so the capitals
   sit 4.5px from the top and 5.5px from the bottom. One pixel more above, one less in
   the line, centres them. */
#site .uye-kart-tablo .menum-bilgi {
    display: inline-block;
    box-sizing: border-box;
    height: 18px;
    padding: 1px 7px 0;
    line-height: 17px;
    vertical-align: middle;
}

#site .mesaj-alani {
    min-height: 200px;
}

/* The wordmark doubles as the home page heading; it must not bring heading
   metrics with it. */
#site .logo-baslik {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

/* ---------------------------------------------------------------------------
   Admin panel (/yonetim)
   --------------------------------------------------------------------------- */

/* One address: the menu down the left swaps the sections beside it. The menu
   is the sidebar's "Türüne Göre" list (.link-list, lines between the rows) in a
   narrow column with a line down its right, flush with the panel's edges like
   the sidebar lists; the sections keep the panel's usual 15px and are laid out
   like the settings page (.ayar-*). */

#site .yonetim {
    display: flex;
    align-items: stretch;
}

#site .yonetim-menu {
    /* wide enough for the longest section name to stay on one line */
    flex: 0 0 172px;
    /* level with the sections' own top padding */
    padding-top: 15px;
    border-right: 1px solid #ddd;
}

/* with room above it, the list closes with a line on top as well */
#site .yonetim-menu .link-list {
    border-top: 1px solid #ddd !important;
}

/* the list's last row keeps its line too, or the menu would end in mid-air */
#site .yonetim-menu .link-list li:last-child {
    border-bottom: 1px solid #ddd !important;
}

#site .yonetim-menu .link-list li > a > .fa {
    opacity: .55;
    margin-right: 4px;
}

/* a name that still does not fit ends in "…" rather than on a second line */
#site .yonetim-menu .link-list li > a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* a section of its own kind ("Fansub Panosu") sits below a gap, its row closed on
   both sides so the menu reads as two groups */
#site .yonetim-menu .link-list li.yonetim-menu-ayri {
    margin-top: 18px;
    border-top: 1px solid #ddd !important;
}

#site.dark .yonetim-menu .link-list li.yonetim-menu-ayri {
    border-top-color: #17191f !important;
}

/* the dark theme colours li.active itself; the light one has no open row */
#site .yonetim-menu .link-list li.active {
    background-color: #f9f9f9;
}

#site.dark .yonetim-menu {
    border-right-color: #17191f;
}

#site.dark .yonetim-menu .link-list,
#site.dark .yonetim-menu .link-list li:last-child {
    border-color: #17191f !important;
}

#site .yonetim-icerik {
    flex: 1 1 auto;
    min-width: 0;
    padding: 15px;
}

/* the settings page's form margin would indent the section inside the padding */
#site .yonetim-icerik .ayar-formu {
    margin: 0;
}

/* .ayar-aciklama pulls itself up under a heading; under a field it needs room */
#site .yonetim-formu .input-group ~ .help-block {
    margin-top: 6px;
}

/* the theme wraps every button (bootstrapf463: `.btn{white-space:normal!important}`) */
#site .yonetim-formu .input-group-btn > .btn {
    white-space: nowrap !important;
}

/* The fields to fill in stand clear of the panel: boxed like the settings
   page's picture blocks (.ayar-gorsel), outlined, and ringed in the buttons'
   blue while typed in. The dark theme draws a field in the colour of its own
   border (#17191f on #17191f), so on the panel it reads as a dark patch. */

#site .yonetim-kutu {
    padding: 12px 12px 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f7f7f7;
}

#site .yonetim-formu label {
    font-size: 12px;
}

#site .yonetim-formu .form-control {
    border: 1px solid #ccc;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#site .yonetim-formu .form-control:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, .25);
}

#site .yonetim-baslik-alani {
    font-weight: 700;
}

/* an example, not a value: it must not look typed in */
#site .yonetim-formu .form-control::placeholder {
    font-weight: 400;
    color: #999;
}

#site.dark .yonetim-formu .form-control::placeholder {
    color: #6b707c;
}

/* ---- the episodes picked ("Filler Bölümler": pages/panel/episode-fillers) ----
   A list under the episode list, each in the colours of the site's filler badge
   with an "×" to take it off again. */

#site .filler-secilen {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

#site .filler-secilen > li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px 2px 8px;
    border: 1px solid var(--filler-renk);
    border-radius: 3px;
    background: var(--filler-satir);
}

#site .filler-secilen > .filler-secilen-bos {
    padding: 2px 0;
    border: 0;
    background: none;
    color: #999;
}

#site .filler-secilen > li[hidden] {
    display: none;
}

#site .filler-secilen-kaldir {
    padding: 0 4px;
    border: 0;
    background: none;
    font-size: 16px;
    line-height: 1;
    color: inherit;
    opacity: .6;
    cursor: pointer;
}

#site .filler-secilen-kaldir:hover,
#site .filler-secilen-kaldir:focus-visible {
    opacity: 1;
}

#site.dark .filler-secilen {
    border-color: #2a2d36;
    background: #17191f;
}

/* ---- BD / SSZ switches ("Video Ekle", "Toplu Video Yükleme": pages/panel/video-release) ----
   On/off switches as in the admin panel's episode form, each with its name on
   the same line beside it. The checkbox itself is kept (and focusable) but
   unseen; the pill after it is drawn instead. */

#site .yonetim-anahtarlar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

#site .yonetim-formu .yonetim-anahtar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

#site .yonetim-anahtar input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

#site .yonetim-anahtar-dugme {
    position: relative;
    flex: none;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: #c4c7cc;
    transition: background-color .15s ease;
}

#site .yonetim-anahtar-dugme::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    transition: transform .15s ease;
}

#site .yonetim-anahtar input:checked + .yonetim-anahtar-dugme {
    background: #337ab7;
}

#site .yonetim-anahtar input:checked + .yonetim-anahtar-dugme::after {
    transform: translateX(16px);
}

/* a choice with nothing to choose ("Bu dilde adı yok") */
#site .yonetim-formu .yonetim-anahtar--pasif {
    opacity: .5;
    cursor: not-allowed;
}

#site .yonetim-anahtar input:focus-visible + .yonetim-anahtar-dugme {
    box-shadow: 0 0 0 2px rgba(51, 122, 183, .45);
}

#site.dark .yonetim-anahtar-dugme {
    background: #4a4f5a;
}

#site.dark .yonetim-anahtar input:checked + .yonetim-anahtar-dugme {
    background: #337ab7;
}

/* ---- the anime picker (Selectize) ----
   The field is drawn like the other fields; the list it opens like the theme's
   own dropdowns (the BAŞVURU menu, partials/head-styles): an opaque panel with
   round corners, lifted by a shadow, a roomy row per anime, the row under the
   pointer lit, the letters typed picked out in the buttons' blue. The theme's
   colours carry !important, so these do too. */

/* the theme makes the control 42px tall; the other fields are 34px */
#site .yonetim-formu .selectize-control {
    min-height: 0;
}

#site .yonetim-formu .selectize-input {
    min-height: 34px;
    padding: 6px 30px 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    box-shadow: none;
}

#site .yonetim-formu .selectize-input.focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 2px rgba(51, 122, 183, .25);
}

/* the list floats clear of the field, so the field keeps its corners and no seam */
#site .yonetim-formu .selectize-input.dropdown-active {
    border-radius: 4px;
}

#site .yonetim-formu .selectize-input.dropdown-active::before {
    display: none;
}

#site .yonetim-formu .selectize-dropdown {
    z-index: 30;
    margin-top: 4px;
    padding: 6px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

#site .yonetim-formu .selectize-dropdown-content {
    max-height: 280px;
}

#site .yonetim-formu .selectize-dropdown [data-selectable] {
    padding: 9px 14px;
    font-size: 13px;
    line-height: 18px;
    color: #333 !important;
    transition: background-color .15s ease, color .15s ease;
}

#site .yonetim-formu .selectize-dropdown .active {
    color: #000 !important;
    background-color: #f0f0f0 !important;
}

#site .yonetim-formu .selectize-dropdown .selected {
    font-weight: 700;
}

#site .yonetim-formu .selectize-dropdown [data-selectable] .highlight {
    font-weight: 700;
    color: #337ab7;
    background: none;
}

#site.dark .yonetim-formu .selectize-input {
    border: 1px solid #3a3d47 !important;
}

#site.dark .yonetim-formu .selectize-input.focus {
    border-color: #337ab7 !important;
}

#site.dark .yonetim-formu .selectize-input > input,
#site.dark .yonetim-formu .selectize-input > .item {
    color: #e3e8ef !important;
}

#site.dark .yonetim-formu .selectize-dropdown {
    border: 1px solid #23252c !important;
    background: #17191f !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .38) !important;
    /* a dark scrollbar in the list, not the browser's white one */
    color-scheme: dark;
}

#site.dark .yonetim-formu .selectize-dropdown [data-selectable] {
    color: #dbe4ee !important;
}

#site.dark .yonetim-formu .selectize-dropdown .active {
    color: #fff !important;
    background-color: #23252c !important;
}

#site.dark .yonetim-formu .selectize-dropdown [data-selectable] .highlight {
    color: #6fb1f0;
}

/* what "Video Ekle" left out, one line each, the link in full */
#site .yonetim-atlananlar ul {
    margin: 6px 0 0;
    padding-left: 18px;
    overflow-wrap: anywhere;
}

/* "Toplu Video Yükleme" tells what each episode got, under the total */
#site .yonetim-toplu-ozet {
    margin: 6px 0 0;
    padding-left: 18px;
}

#site .yonetim-toplu-ozet li {
    line-height: 20px;
}

/* the video links as pasted: one a line, a long one never wrapped onto the next
   (where it would read as two), in a typewriter face */
#site .yonetim-formu .yonetim-linkler {
    overflow-x: auto;
    white-space: pre;
    font-family: Menlo, Consolas, "DejaVu Sans Mono", monospace;
    font-size: 12px;
    line-height: 20px;
}

/* as tall as the synopsis it holds (yonetim.js); rows="8" until it is measured */
#site .yonetim-formu textarea[data-otomatik-boy] {
    min-height: 120px;
    overflow-y: hidden;
    resize: none;
}

#site .yonetim-dugmeler {
    gap: 8px;
}

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

#site.dark .yonetim-formu label {
    color: #e3e8ef;
}

#site.dark .yonetim-formu .form-control {
    color: #e3e8ef !important;
    border-color: #3a3d47;
    /* a dark scrollbar in the synopsis, not the browser's white one */
    color-scheme: dark;
}

#site.dark .yonetim-formu .form-control:focus {
    border-color: #337ab7;
}

/* ---- "CANLI SOHBET" above "Son Yorumlar" (partials/widgets/live-chat,
   assets/js/sohbet.js): the theme's panel with a scrolling list of lines, each an
   avatar, the name (the staff badge as on comments), the time and the text; the
   write line is the theme's input group with its red button ---- */
#site .canli-sohbet .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#site .canli-sohbet-cevrimici {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-right: 10px;
    font-size: 12px;
    white-space: nowrap;
    opacity: .85;
}

#site .canli-sohbet-nokta {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3fb950;
    box-shadow: 0 0 0 0 rgba(63, 185, 80, .6);
    animation: canli-sohbet-nabiz 2s infinite;
}

@keyframes canli-sohbet-nabiz {
    70% { box-shadow: 0 0 0 6px rgba(63, 185, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); }
}

@media (prefers-reduced-motion: reduce) {
    #site .canli-sohbet-nokta { animation: none; }
}

#site .canli-sohbet-karsilama {
    padding: 6px 12px;
    font-size: 12px;
    border-bottom: 1px solid rgba(127, 127, 127, .15);
    opacity: .85;
}

#site .canli-sohbet-mesajlar {
    height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

#site .sohbet-liste {
    margin: 0;
    padding: 4px 0;
    list-style: none;
}

#site .sohbet-mesaj {
    display: flex;
    gap: 8px;
    padding: 6px 12px;
}

#site .sohbet-mesaj:hover {
    background: rgba(127, 127, 127, .07);
}

#site .sohbet-mesaj--benim {
    background: rgba(217, 83, 79, .08);
}

#site .sohbet-avatar {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

#site .sohbet-govde {
    min-width: 0;
    flex: 1;
}

#site .sohbet-ust {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
    line-height: 1.3;
}

#site .sohbet-ad {
    overflow: hidden;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .sohbet-rozet {
    padding: 0 5px;
    font-size: 10px;
    color: #fff;
    background: #d9534f;
    border-radius: 3px;
}

#site .sohbet-saat {
    margin-left: auto;
    font-size: 11px;
    opacity: .6;
}

#site .sohbet-metin {
    margin: 1px 0 0;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#site .canli-sohbet-alt {
    padding: 8px 10px;
}

#site .canli-sohbet-not {
    margin: 0;
    font-size: 12px;
    text-align: center;
    opacity: .85;
}

/* the write line: full width on its own row, then the tools and "Gönder" below */
#site .canli-sohbet-form {
    margin: 0;
}

#site .canli-sohbet-girdi {
    display: block;
    width: 100%;
    min-height: 54px;
    max-height: 120px;
    padding: 8px 10px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 6px;
    resize: none;
    box-shadow: none;
}

#site .canli-sohbet-arac {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}

#site .canli-sohbet-arac-sol {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

#site .canli-sohbet-arac-btn {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    line-height: 28px;
}

#site .canli-sohbet-gonder {
    flex: none;
    height: 30px;
    padding: 0 14px;
    font-weight: 700;
}

#site .canli-sohbet-hata {
    min-height: 0;
    margin: 4px 0 0;
    font-size: 11px;
    color: #d9534f;
}

#site .canli-sohbet-hata:empty {
    display: none;
}

#site .canli-sohbet-hata--bilgi {
    color: inherit;
    opacity: .8;
}

#site .canli-sohbet-sayac {
    margin-left: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: .55;
}

#site .canli-sohbet-sayac--dolu {
    color: #d9534f;
    opacity: 1;
}

#site .sohbet-gif {
    display: block;
    max-width: 100%;
    max-height: 140px;
    margin-top: 4px;
    border-radius: 8px;
}

#site.dark .canli-sohbet-girdi {
    color: #e3e8ef;
    background: #1e2026;
    border-color: #17191f;
}

#site.light .canli-sohbet-girdi {
    color: #333;
    background: #fff;
    border-color: #ccc;
}

#site.light .canli-sohbet-arac-btn {
    color: #333;
    background: #fff;
    border-color: #ccc;
}

/* phones and tablets: a taller write line and finger-sized buttons */
@media (max-width: 991px) {
    #site .canli-sohbet-mesajlar {
        height: 260px;
    }

    #site .canli-sohbet-girdi {
        min-height: 64px;
        font-size: 16px; /* 16px keeps iOS from zooming in on focus */
    }

    #site .canli-sohbet-arac-btn,
    #site .canli-sohbet-gonder {
        height: 38px;
        line-height: 36px;
    }

    #site .canli-sohbet-arac-btn {
        min-width: 42px;
    }
}

/* ---- the emoji panel (partials/emoji-picker, assets/js/emoji.js) ---- */
#site .emoji-panel {
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #17191f;
    border-radius: 8px;
    background: #1e2026;
}

#site .emoji-panel[hidden],
#site .emoji-izgara[hidden] {
    display: none;
}

#site .emoji-sekmeler {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(127, 127, 127, .2);
}

#site .emoji-sekme {
    padding: 2px 8px;
    font-size: 16px;
    line-height: 1.4;
    border: 0;
    border-radius: 6px;
    background: transparent;
    opacity: .55;
}

#site .emoji-sekme[aria-selected="true"] {
    background: rgba(127, 127, 127, .2);
    opacity: 1;
}

#site .emoji-izgara {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
    max-height: 170px;
    overflow-y: auto;
    scrollbar-width: thin;
}

#site .emoji-secim {
    padding: 3px 0;
    font-size: 20px;
    line-height: 1.3;
    border: 0;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}

#site .emoji-secim:hover,
#site .emoji-secim:focus {
    background: rgba(127, 127, 127, .2);
    outline: none;
}

#site.light .emoji-panel {
    border-color: #ddd;
    background: #f7f7f7;
}

#site .canli-sohbet-emoji-ikon {
    font-size: 17px;
    line-height: 1;
    vertical-align: middle;
}

/* "Şikayet et" on a chat line: for members, on others' lines; shown on hover,
   always on touch screens (assets/js/sohbet.js) */
#site .sohbet-sikayet {
    padding: 0 2px;
    font-size: 10px;
    line-height: 1;
    color: inherit;
    border: 0;
    background: transparent;
    opacity: 0;
    cursor: pointer;
}

#site .sohbet-mesaj:hover .sohbet-sikayet,
#site .sohbet-sikayet:focus {
    opacity: .5;
}

#site .sohbet-sikayet:hover {
    color: #d9534f;
    opacity: 1;
}

#site .sohbet-sikayet--gonderildi {
    color: #d9534f;
    opacity: .8 !important;
    cursor: default;
}

#site[data-misafir] .sohbet-sikayet,
#site .sohbet-mesaj--benim .sohbet-sikayet {
    display: none;
}

@media (hover: none) {
    #site .sohbet-sikayet {
        opacity: .4;
        font-size: 12px;
    }
}

/* ---- "Listeye Ekle" (components/episode-list-toggle) and the profile's "Listem"
   tab (ajax/profile/episode-list): the member's own list of episodes ---- */
/* on the list the button keeps the look of its row (no red box or border around
   it), on the watch page and on a card alike: only the bookmark fills, in red */
#site .liste-ekle-btn.listede > .fa-bookmark,
#site .liste-ekle-btn.listede:hover > .fa-bookmark {
    color: #d9534f;
}

#site .profil-sekme-kilit {
    margin-left: 4px;
    font-size: 10px;
    opacity: .6;
}

#site .bolum-listem-ust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

#site .bolum-listem-baslik {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: .85;
}

#site .bolum-listem-sayac {
    font-size: 11px;
}

#site .bolum-listem-satirlar {
    margin: 0;
    padding: 0;
    list-style: none;
}

#site .bolum-listem-satir {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 4px;
    border-bottom: 1px solid rgba(127, 127, 127, .15);
}

#site .bolum-listem-satir:hover {
    background: rgba(127, 127, 127, .07);
}

#site .bolum-listem-afis img {
    display: block;
    width: 46px;
    height: 64px;
    object-fit: cover;
    border-radius: 3px;
}

#site .bolum-listem-bilgi {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

#site .bolum-listem-ad {
    overflow: hidden;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .bolum-listem-bolum {
    font-size: 12px;
}

#site .bolum-listem-tarih {
    font-size: 11px;
    opacity: .65;
}

#site .bolum-listem-araclar {
    flex: none;
}

@media (max-width: 767px) {
    #site .bolum-listem-araclar > .btn {
        min-width: 38px;
        height: 34px;
    }
}

/* the emoji button of the comment and reply forms, beside "GIF" */
#site .site-comment-emoji-btn > span {
    font-size: 15px;
    line-height: 1;
    vertical-align: middle;
}

/* "çevrimiçi" as a button: opens the names of the members in the chat */
#site .canli-sohbet-cevrimici-btn {
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

#site .canli-sohbet-cevrimici-btn:hover,
#site .canli-sohbet-cevrimici-btn[aria-expanded="true"] {
    opacity: 1;
}

#site .canli-sohbet-cevrimici-btn > .fa-caret-down {
    transition: transform .15s;
}

#site .canli-sohbet-cevrimici-btn[aria-expanded="true"] > .fa-caret-down {
    transform: rotate(180deg);
}

#site .canli-sohbet-uyeler {
    padding: 8px 12px;
    font-size: 12px;
    border-bottom: 1px solid rgba(127, 127, 127, .15);
    background: rgba(127, 127, 127, .06);
}

#site .canli-sohbet-uyeler[hidden] {
    display: none;
}

#site .canli-sohbet-uyeler-baslik {
    margin-bottom: 6px;
    font-weight: 700;
    opacity: .85;
}

#site .canli-sohbet-uyeler-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 96px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
}

#site .canli-sohbet-uyeler-liste > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(127, 127, 127, .15);
    color: inherit;
}

#site .canli-sohbet-uyeler-liste > li > a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3fb950;
}

#site .canli-sohbet-uyeler-liste > li > a:hover {
    background: rgba(127, 127, 127, .3);
    text-decoration: none;
}

#site .canli-sohbet-uyeler-not {
    margin: 6px 0 0;
    opacity: .7;
}

#site .canli-sohbet-uyeler-not:empty {
    display: none;
}

/* ---- live chat moderation without the admin panel (islem sohbetmoderasyon):
   the gavel on every line of a moderator's page opens a menu to warn the writer,
   mute them for a while, or remove the line; the warned member sees a banner ---- */
#site .sohbet-mod {
    display: none;
    margin-left: 2px;
    padding: 0 3px;
    font-size: 11px;
    line-height: 1;
    color: #f0ad4e;
    border: 0;
    background: transparent;
    opacity: .55;
    cursor: pointer;
}

#site .canli-sohbet--moderator .sohbet-mod {
    display: inline-block;
}

#site .sohbet-mod:hover,
#site .sohbet-mod:focus-visible,
#site .sohbet-mod[aria-expanded="true"] {
    opacity: 1;
}

#site .canli-sohbet {
    position: relative;
}

/* A moderator's menu on a live chat line (assets/js/sohbet.js): a modal over the page, four blocks
   one under the other — warn, out of the chat for a while, remove this line, ban from the site (red) */
#site .sohbet-mod-perde {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(0, 0, 0, .55);
}

#site .sohbet-mod-perde[hidden] {
    display: none;
}

/* the page behind the modal stays where it is */
#site.sohbet-mod-acik {
    overflow: hidden;
}

#site .sohbet-mod-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1060;
    width: min(440px, calc(100vw - 32px));
    max-height: 85vh;
    overflow-y: auto;
    padding: 0 0 8px;
    font-size: 13px;
    transform: translate(-50%, -50%);
    border: 1px solid #17191f;
    border-radius: 8px;
    background: #1e2026;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

#site.light .sohbet-mod-menu {
    border-color: #ddd;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

#site .sohbet-mod-menu[hidden] {
    display: none;
}

#site .sohbet-mod-baslik {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid rgba(127, 127, 127, .2);
    background: inherit;
}

#site .sohbet-mod-baslik > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#site .sohbet-mod-kapat {
    padding: 0 4px;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    border: 0;
    background: transparent;
    opacity: .7;
    cursor: pointer;
}

#site .sohbet-mod-bolum {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(127, 127, 127, .15);
}

#site .sohbet-mod-bolum:last-child {
    border-bottom: 0;
}

#site .sohbet-mod-bolum-baslik {
    font-weight: 700;
    opacity: .9;
}

#site .sohbet-mod-bolum--tehlike {
    margin: 8px 12px 0;
    border: 1px solid rgba(229, 83, 75, .45);
    border-radius: 6px;
    background: rgba(229, 83, 75, .08);
}

#site .sohbet-mod-bolum--tehlike .sohbet-mod-bolum-baslik {
    color: #e5534b;
}

#site .sohbet-mod-satir {
    display: flex;
    gap: 6px;
}

#site .sohbet-mod-satir > .sohbet-mod-alan {
    flex: 1 1 auto;
    min-width: 0;
}

#site .sohbet-mod-alan {
    font-size: 13px;
    resize: vertical;
}

#site .sohbet-mod-dugme {
    align-self: flex-start;
    white-space: nowrap;
}

#site .sohbet-mod-dugme[disabled] {
    opacity: .5;
}

#site .sohbet-mod-not {
    margin: 0;
    padding: 8px 16px 0;
    font-size: 12px;
    line-height: 1.4;
    opacity: .7;
}

#site .sohbet-mod-bolum > .sohbet-mod-not {
    padding: 0;
}

/* a phone: a sheet along the bottom of the screen, its buttons wide enough for a thumb */
@media (max-width: 600px) {
    #site .sohbet-mod-menu {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        transform: none;
        max-height: 80vh;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, .4);
    }

    #site .sohbet-mod-bolum {
        padding: 10px 14px;
    }

    #site .sohbet-mod-dugme {
        align-self: stretch;
        padding: 8px 10px;
        font-size: 13px;
    }

    #site .sohbet-mod-alan {
        font-size: 16px;
    }
}

#site .canli-sohbet-uyari {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    font-size: 12px;
    color: #f8e3a1;
    border-top: 1px solid rgba(240, 173, 78, .4);
    background: rgba(240, 173, 78, .12);
}

#site.light .canli-sohbet-uyari {
    color: #7a5310;
}

#site .canli-sohbet-uyari[hidden] {
    display: none;
}

#site .canli-sohbet-uyari-satir {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

#site .canli-sohbet-uyari-satir > .fa {
    margin-top: 2px;
    color: #f0ad4e;
}

#site .canli-sohbet-uyari-kapat {
    align-self: flex-end;
    padding: 2px 10px;
    font-size: 11px;
    color: inherit;
    border: 1px solid rgba(240, 173, 78, .5);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

/* The watch page's <h1> is its episode crumb: a heading for search engines, the crumb's look kept */
#site .izle-yol-baslik { display: inline; margin: 0; font: inherit; color: inherit; line-height: inherit; }

/* The home page's text for search engines ("Site Ayarları → Genel → Ana sayfa") */
#site .ana-sayfa-tanitim .panel-body { line-height: 1.6; }
#site .ana-sayfa-tanitim .panel-body p:last-child { margin-bottom: 0; }

/* the rules fold away under their heading (partials/comment-rules) */
#site details.yorum-kurallari > summary {
    cursor: pointer;
    list-style: none;
    margin: 0;
    user-select: none;
}

#site details.yorum-kurallari > summary::-webkit-details-marker {
    display: none;
}

#site details.yorum-kurallari > summary::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    float: right;
    opacity: .6;
    transition: transform .18s ease;
}

#site details.yorum-kurallari[open] > summary {
    margin-bottom: 4px;
}

#site details.yorum-kurallari[open] > summary::after {
    transform: rotate(180deg);
}

/* the footer's links read like the copyright beside them (.copyText): its colour, its size */
#site > footer .footer-nav ul.footer-links > li a {
    color: inherit !important;
    font-weight: inherit;
}

#site > footer .footer-nav ul.footer-links > li a:hover,
#site > footer .footer-nav ul.footer-links > li a:focus {
    color: #fff !important;
    text-decoration: none;
}

@media (min-width: 768px) {
    #site > footer .footer-nav ul.footer-links {
        font-size: 11px;
    }

    #site > footer .footer-nav ul.footer-links > li:after {
        padding-left: 10px;
    }
}

/* "SON YORUMLAR" on the home page: avatar, name · role · when, the text, where it was left */
#site .son-yorumlar {
    margin: 0;
    padding: 0;
    list-style: none;
}

#site .son-yorumlar .son-yorum {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid rgba(127, 127, 127, .15);
    border-radius: 0;
    background: none;
    transition: background-color .15s ease;
}

#site .son-yorumlar .son-yorum:last-child {
    border-bottom: 0;
}

#site .son-yorumlar .son-yorum:hover {
    background: rgba(127, 127, 127, .06);
}

#site .son-yorum-avatar {
    flex: 0 0 28px;
}

#site .son-yorum-avatar img {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

#site .son-yorum-govde {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
}

#site .son-yorum-ust {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    line-height: 16px;
}

#site .son-yorum-ad {
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#site .son-yorum-rozet {
    flex: none;
    padding: 2px 4px;
    border-radius: .25em;
    background: #3a3e49;
    color: #fff;
    font-size: 8.5px;
    font-weight: 500;
    line-height: 1;
}

#site .son-yorum-zaman {
    flex: none;
    margin-left: auto;
    font-size: 10px;
    opacity: .6;
}

#site .son-yorum-metin {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 11.5px;
    line-height: 1.45;
    word-break: break-word;
    color: inherit;
}

#site .son-yorum-metin:hover {
    text-decoration: none;
    opacity: .85;
}

#site .son-yorum-yer {
    overflow: hidden;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .6;
}

#site .son-yorum-yer:hover {
    opacity: 1;
    text-decoration: none;
}

#site.dark .son-yorum-ad {
    color: #fff;
}

#site.dark .son-yorum-metin {
    color: #dde3eb;
}

#site.dark .son-yorum-zaman,
#site.dark .son-yorum-yer {
    color: #8d9aab;
    opacity: 1;
}

#site.dark .son-yorum-yer:hover {
    color: #c9d1dc;
}

/* A member awaiting approval: a strip on top of the fixed menu bar (partials/approval-notice),
   the same in both themes; the page is pushed down by its height there */
header.navbar-fixed-top .onay-seridi {
    background: #f0ad4e;
    color: #2b1d00;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    padding: 6px 0;
    text-align: center;
}

header.navbar-fixed-top .onay-seridi .fa {
    margin-right: 4px;
}

/* The bot trap's box (components/honeypot): off screen, out of sight for people; not display:none,
   which a bot reads as "skip me" */
.hp-alani {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* A comment held for a moderator (a web address in it): said in the error line, as news, not a fault */
#site .site-comment-hata.site-comment-bilgi {
    color: #8a6d3b;
}

#site.dark .site-comment-hata.site-comment-bilgi {
    color: #f0c36d;
}

/* "Üyeyi siteden tamamen yasakla" in the comment ban form (ajax/modal/comment-moderation) */
#site .site-comment-siteyasak {
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid rgba(229, 83, 75, .45);
    border-radius: 6px;
    background: rgba(229, 83, 75, .08);
}

#site .site-comment-siteyasak .help-block {
    margin: 4px 0 0;
    font-size: 12px;
}

/* a member banned from the site: their name crossed out on the profile */
#site .profil-ad--yasakli {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    opacity: .75;
}
