/* Styles added by the TypeScript port: things that used to be inline styles in the PHP templates. */

[hidden] { display: none !important; }
a { text-decoration: none; }
.episode-card, .episode-card:hover { color: inherit; }
.cover-fill { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.empty-note { color: #aaa; padding: 20px; font-size: 13px; grid-column: 1 / -1; }
.count-note { color: #8a8d93; font-weight: normal; margin-left: 6px; }
.btn-inline { display: inline-block; width: auto; color: #fff; }
.btn-block { display: block; width: 100%; color: #fff; padding: 10px; font-size: 14px; }
.btn-like { color: #fff; }
.btn-like.is-following { background: #2d323f !important; }

/* navbar */
.nav-search { padding: 0; margin: 0; position: relative; }
.user-menu { margin-left: 15px; }
.user-menu-toggle { padding: 0 !important; display: grid !important; grid-auto-flow: column; justify-content: center; align-items: center; }
.user-menu-name { margin-left: 10px; font-size: 1.2rem; font-weight: 600; }
.user-menu-avatar { margin: 0 5px 0 10px; width: 30px; height: 30px; object-fit: cover; display: inline-block; }
.user-dropdown { background: #1c1e24; }
header.navbar-fixed-top .user-menu .user-dropdown { left: auto; right: 0; max-width: calc(100vw - 16px); }
.user-dropdown li:not(.divider) { padding: 5px; }
.user-dropdown i { width: 20px; }

/* alphabet nav */
.alphabet-nav li.active a { background: #c71919; border-color: #c71919; }

/* browse */
.browse-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px; background: #181a1d; border-bottom: 1px solid #17191f; }
.browse-input { background: #17191f; color: #fff; border: 1px solid #2d323f; border-radius: 4px; padding: 6px 10px; font-size: 13px; }
.browse-input:focus { outline: 1px solid #3a3f4d; }
.pagination-bar { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; padding: 14px 12px 18px; }
.pg { background: #272a2e; color: #fff; border: 1px solid #36393e; border-radius: 4px; padding: 5px 11px; font-size: 12px; font-weight: bold; }
.pg:hover { background: #3f4349; color: #fff; }
.pg.active { background: #c71919; border-color: #c71919; }
.pg-gap { color: #777; padding: 5px 4px; }
.notice-box { padding: 30px; text-align: center; color: #ddd; background: #23252c; border-radius: 6px; }
.notice-box h2 { font-size: 48px; margin-bottom: 10px; color: #fff; }
.notice-box .btn-like { text-decoration: none; padding: 8px 18px; font-size: 13px; }

/* anime page */
.player-wrapper-box { background: #181b20; border: 1px solid #17191f; border-radius: 6px; padding: 12px; margin-bottom: 12px; }
.player-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.player-head h4 { color: #fff; margin: 0; font-size: 16px; }
.player-close { background: none; border: none; color: #ff4d4d; cursor: pointer; font-weight: bold; white-space: nowrap; }
.video-box iframe { width: 100%; height: 100%; border: 0; background: #000; }
.server-buttons { margin-top: 15px; }
.player-note { color: #aaa; font-size: 12px; }
.player-note-error { color: #ff6b6b; }
.episode-card.active-ep { background: #2a2e36 !important; box-shadow: inset 3px 0 0 #c71919; }
.episode-grid .episode-card { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 12px; color: #d0d3d8; border-bottom: 1px solid #181a1d !important; }
.episode-list-container { padding: 5px; }
.episode-list-title { font-size: 14px; font-weight: bold; color: #fff; padding: 5px; }
.episode-grid { height: 360px; overflow-y: auto; }

.anime-detail { display: flex; gap: 20px; flex-wrap: wrap; padding: 15px; background: #181b20; color: #b0b3b8; }
.anime-detail-left { width: 240px; flex-shrink: 0; }
.anime-cover { position: relative; border-radius: 4px; overflow: hidden; }
.anime-cover img { width: 100%; display: block; object-fit: cover; min-height: 200px; background: #1c1e24; }
.anime-score-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.8); color: #fff; font-size: 22px; font-weight: bold; padding: 2px 10px; border-radius: 4px; }
.anime-detail-right { flex: 1; min-width: 280px; font-size: 13px; }
.info-table { width: 100%; border-collapse: collapse; line-height: 2; }
.info-table tr { border-bottom: 1px solid #23272e; }
.info-label { width: 130px; font-weight: bold; color: #e0e0e0; }
.info-sep { width: 20px; }
.info-value { color: #b0b3b8; }
.tag-chip { background: #252a31; color: #aaa; padding: 2px 8px; border-radius: 3px; font-size: 12px; margin: 0 4px 2px 0; display: inline-block; }
.anime-summary { margin-top: 15px; }
.anime-summary strong { color: #fff; display: block; margin-bottom: 8px; }
.anime-summary p { line-height: 1.6; color: #a0a5ab; }

/* comments */
.comments-box { margin-top: 20px; padding: 15px; background: #181b20; border-radius: 4px; }
.comments-title { font-size: 16px; font-weight: bold; color: #fff; margin-bottom: 15px; border-bottom: 1px solid #2a2e35; padding-bottom: 8px; }
.login-hint { background: #121419; padding: 12px; border-radius: 6px; text-align: center; color: #aaa; font-size: 13px; margin-bottom: 15px; }
.login-hint a { color: #8be9fd; text-decoration: underline; }
.comment-form-main { margin-bottom: 20px; }
.comment-input { width: 100%; background: #2a2e35; border: 1px solid #232730; border-radius: 6px; color: #fff; padding: 10px; box-sizing: border-box; resize: none; field-sizing: content; min-height: 4.5em; }
.comment-form-row { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.spoiler-label { color: #aaa; font-size: 12px; cursor: pointer; }
.yorum-yanitlar-sub { margin-left: 15px; padding-left: 10px; border-left: 2px solid #2d323f; }
.yorum { width: 100%; background: #17191f; border: 1px solid #232730; border-radius: 8px; margin-top: 10px; }
.yorum-sub { background: #121419; }
.kullanici { padding: 6px; display: flex; align-items: center; justify-content: space-between; }
.kullanici-info { display: flex; align-items: center; gap: 10px; }
.yorum-avatar { width: 35px; height: 35px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.kullanici-meta { display: flex; flex-direction: column; }
.kullanici-ad { font-size: 14px; font-weight: bold; color: #fff; }
.yorum-tarih { font-size: 11px; color: #a2a2a2; }
.btn-comment-delete { background: transparent; border: none; color: #ff4d4d; font-size: 13px; cursor: pointer; padding: 4px 8px; }
.yorum-icerik { padding: 0 10px 10px; font-size: 14px; color: #e1e1e1; line-height: 1.4; word-break: break-word; }
.spoiler-box { background: #232730; padding: 8px; border-radius: 4px; color: #ffb86c; font-size: 12px; }
.spoiler-reveal { color: #8be9fd; text-decoration: underline; }
.spoiler-text { color: #e1e1e1; display: block; margin-top: 5px; }
.yorum-actions { padding: 6px 10px; border-top: 1px solid #232730; }
.btn-reply-toggle { background: #232730; border: none; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; cursor: pointer; }
.reply-form-container { padding: 10px; background: #121419; border-top: 1px solid #232730; }
.reply-form-container .comment-input { background: #17191f; min-height: 3em; }

/* profile */
.profile-banner-wrapper { height: 250px; position: relative; display: flex; }
.profile-banner { height: 100%; width: 100%; object-fit: cover; border-radius: 4px; }
.profile-head { position: absolute; bottom: 10px; left: 10px; display: flex; align-items: flex-end; }
.profile-avatar-wrapper { width: 140px; height: 140px; padding: 3px; background: #17191f; border-radius: 8px; }
.profile-avatar-wrapper img { height: 100%; width: 100%; object-fit: cover; border-radius: 6px; }
.profile-names { margin-left: 15px; text-shadow: 2px 2px 4px #000; }
.profile-display { font-size: 30px; font-weight: bold; color: #fff; display: flex; align-items: center; gap: 10px; }
.profile-pronouns { font-size: 14px; color: #aaa; background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 12px; font-weight: normal; }
.profile-title { font-size: 14px; color: #ffca28; font-style: italic; }
.profile-bio { margin-top: 15px; padding: 12px; background: #17191f; border-radius: 8px; color: #d1d5db; font-size: 14px; border: 1px solid #232730; }
.profile-stats { font-size: 15px; color: #fff; text-shadow: 1px 1px 2px #000; margin: 15px 0 15px 6px; }
.profile-comments { width: 100%; margin-top: 20px; }
.yorumlar { display: grid; gap: 10px; }

/* auth */
.auth-center { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; display: flex; align-items: center; justify-content: center; position: relative; padding: 20px; }
.auth-card { width: 500px; max-width: 100%; display: grid; justify-items: center; padding: 20px; }
.auth-tabs { display: flex; width: 100%; margin-bottom: 15px; gap: 10px; }
.auth-tab-btn { flex: 1; padding: 10px; background: #17191f; color: #8a8d93; border: none; border-radius: 4px; font-size: 15px; cursor: pointer; transition: all .2s ease; }
.auth-tab-btn.active { background: #23252c; color: #fff; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,.3); }
.auth-form { width: 100%; display: flex; flex-direction: column; align-items: center; }
.auth-form.hidden { display: none; }
.auth-input { background: #17191f !important; width: 100%; padding: 10px; font-size: 16px; border: none; border-radius: 4px; box-sizing: border-box; margin-bottom: 10px; color: #fff; }
.auth-input:focus { outline: 1px solid #3a3f4d; }
.auth-notice { color: #ff4d4d; font-size: 14px; margin-top: 10px; text-align: center; min-height: 1.2em; }
.auth-notice.ok { color: #4dd2ff; }
.auth-back { margin-top: 14px; color: #8a8d93; font-size: 13px; }
.auth-back:hover { color: #fff; }

/* settings */
.settings-box { background: #23252c; border-radius: 6px; overflow: hidden; }
.settings-form { padding: 16px; display: grid; gap: 4px; max-width: 560px; }
.settings-form label { color: #b0b3b8; font-size: 13px; display: grid; gap: 4px; }
.settings-form .auth-input { font-size: 14px; resize: vertical; }

@media (max-width: 800px) {
  .profile-display { font-size: 22px; }
  .profile-avatar-wrapper { width: 100px; height: 100px; }
}

/* ===== navbar user menu (avatar was stretched/misaligned) ===== */
.user-menu-toggle { display: flex !important; align-items: center; gap: 8px; padding: 0 12px !important; height: 50px; line-height: 1; }
.user-menu-name { margin: 0; font-size: 14px; font-weight: 600; }
.user-menu-avatar { margin: 0; width: 32px; height: 32px; min-width: 32px; border-radius: 50%; object-fit: cover; display: block; background: #1c1e24; }

/* ===== home: tabs + 2-column episode cards ===== */
.home-tabs { display: flex; background: #181a1d; border-bottom: 1px solid #17191f; }
.home-tabs a { flex: 1; text-align: center; padding: 12px 6px; color: #d0d3d8; font-size: 13px; font-weight: 600; border-right: 1px solid #111; }
.home-tabs a:last-child { border-right: 0; }
.home-tabs a:hover { background: #20232a; color: #fff; }
.home-tabs a.active { background: #2a2e36; color: #fff; box-shadow: inset 0 -2px 0 #c71919; }
.ep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.ep-card { background: #1a1c21; border: 1px solid #17191f; border-radius: 6px; overflow: hidden; }
.ep-card-head { display: block; background: #17191f; color: #fff; font-size: 13px; font-weight: 700; padding: 10px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-card-body { display: flex; gap: 12px; padding: 10px; }
.ep-poster { flex: 0 0 94px; height: 134px; border-radius: 4px; overflow: hidden; background: #181a1d; }
.ep-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #c9ccd2; }
.ep-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ep-name { color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag-tr { flex-shrink: 0; border-radius: 2px; }
.ep-sub { color: #fff; font-size: 13px; }
.ep-credit { color: #a6a9b0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-time { color: #9aa0a8; }
.ep-actions { margin-top: auto; display: flex; gap: 0; border: 1px solid #111; border-radius: 4px; overflow: hidden; background: #181a1d; }
.act { background: transparent; border: 0; border-right: 1px solid #111; color: #cfd2d8; padding: 7px 10px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.act:last-child { border-right: 0; }
.act.act-like { flex: 0 0 auto; padding: 4px 6px; font-size: 11px; color: #fff; }
.act:hover { background: #262a31; color: #fff; }
.act.on { color: #5b8def; }
.act.act-like.on { color: #e5484d; }
.act.act-like.on i { color: #e5484d; }
.act:disabled { opacity: .6; }
.ep-more { text-align: center; padding: 6px 12px 16px; }
@media (max-width: 900px) { .ep-grid { grid-template-columns: 1fr; } .home-tabs { flex-wrap: wrap; } .home-tabs a { flex: 1 0 40%; } }

/* ===== live chat ===== */
.chat-box { background: #1a1c21; overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; color: #fff; font-size: 12px; font-weight: 700; border-bottom: 1px solid #111; }
.chat-online { font-weight: 600; color: #d0d3d8; }
.chat-online b { color: #fff; }
.chat-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ecf5a; margin-right: 4px; }
.chat-messages { height: 340px; overflow-y: auto; padding: 8px 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #23252c; }
.chat-main { min-width: 0; flex: 1; }
.chat-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chat-name { color: #e8eaee; font-weight: 700; font-size: 13px; }
.chat-badge { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; color: #fff; }
.chat-badge.admin { background: #d9363e; }
.chat-badge.moderator { background: #2f6fdb; }
.chat-time { margin-left: auto; color: #8a8d93; font-size: 11px; }
.chat-del { background: none; border: 0; color: #8a8d93; cursor: pointer; padding: 0 2px; opacity: 0; }
.chat-msg:hover .chat-del { opacity: 1; }
.chat-del:hover { color: #ff4d4d; }
.chat-text { color: #d6d9de; font-size: 13px; line-height: 1.4; word-break: break-word; white-space: pre-wrap; }
.chat-image { display: block; max-width: 100%; max-height: 180px; border-radius: 6px; margin-top: 4px; }
.chat-login { text-align: center; padding: 14px; color: #9aa0a8; font-size: 12px; border-top: 1px solid #111; }
.chat-login a { color: #8be9fd; text-decoration: underline; }
.chat-form { border-top: 1px solid #111; padding: 8px; }
.chat-input-row { display: flex; gap: 6px; align-items: center; }
.chat-input-row input[type=text] { flex: 1; min-width: 0; background: #12141a; border: 1px solid #2a2d36; border-radius: 4px; color: #fff; padding: 8px 10px; font-size: 13px; }
.chat-attach, .chat-send { background: #23252c; border: 1px solid #2a2d36; color: #cfd2d8; border-radius: 4px; padding: 7px 10px; cursor: pointer; }
.chat-send { background: #c71919; border-color: #c71919; color: #fff; }
.chat-pending { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: #aaa; font-size: 12px; }
.chat-pending img { height: 46px; border-radius: 4px; }
.chat-pending button { background: none; border: 0; color: #ff6b6b; cursor: pointer; }
.recent-comments { padding: 4px 8px 8px; }
.recent-item { display: flex; gap: 8px; padding: 7px 4px; border-bottom: 1px solid #181a1d; color: #c9ccd2; font-size: 12px; line-height: 1.35; }
.recent-item img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.recent-item b { color: #fff; }
.recent-item em { color: #8be9fd; font-style: normal; }

/* ===== settings media + cropper ===== */
.settings-media { padding: 16px; display: grid; gap: 18px; border-bottom: 1px solid #17191f; }
.media-row { display: flex; gap: 16px; align-items: center; color: #b0b3b8; }
.media-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #17191f; }
.media-banner-wrap { color: #b0b3b8; display: grid; gap: 8px; }
.media-banner { width: 100%; max-width: 720px; aspect-ratio: 4.8 / 1; object-fit: cover; border-radius: 6px; background: #17191f; }
.media-btns { display: flex; gap: 8px; margin: 8px 0 4px; }
.crop-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.crop-dialog { background: #23252c; border-radius: 8px; padding: 18px; color: #fff; max-width: 100%; display: grid; gap: 12px; justify-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.crop-dialog h3 { margin: 0; font-size: 16px; }
.crop-view { position: relative; overflow: hidden; background: #000; cursor: grab; touch-action: none; border-radius: 4px; outline: 2px solid #c71919; }
.crop-view:active { cursor: grabbing; }
.crop-view img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; transform-origin: 0 0; }
.crop-view.round { border-radius: 50%; }
.crop-zoom { width: 100%; max-width: 360px; }
.crop-hint { margin: 0; color: #8a8d93; font-size: 12px; }
.crop-actions { display: flex; gap: 10px; }
.crop-save { background: #c71919 !important; border-color: #c71919; }

/* ===== admin ===== */
.admin-wrap { display: flex; gap: 18px; margin-top: 30px; align-items: flex-start; }
.admin-side { flex: 0 0 200px; display: grid; gap: 4px; position: sticky; top: 60px; }
.admin-brand { color: #fff; font-weight: 700; padding: 8px 12px; font-size: 15px; }
.admin-side a { color: #cfd2d8; padding: 9px 12px; border-radius: 4px; font-size: 13px; background: #181a1d; }
.admin-side a i { width: 18px; }
.admin-side a:hover { background: #262a31; color: #fff; }
.admin-side a.active { background: #c71919; color: #fff; }
.admin-main { flex: 1; min-width: 0; color: #cfd2d8; }
.admin-title { font-size: 22px; color: #fff; margin: 0 0 14px; }
.admin-sub { color: #fff; font-size: 16px; margin: 22px 0 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat-card { background: #181a1d; border: 1px solid #17191f; border-radius: 6px; padding: 14px; display: grid; gap: 2px; }
.stat-card i { color: #c71919; font-size: 18px; }
.stat-card b { color: #fff; font-size: 24px; }
.stat-card span { font-size: 12px; color: #9aa0a8; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; color: #9aa0a8; font-weight: 600; padding: 8px; border-bottom: 1px solid #2a2d36; }
.admin-table td { padding: 8px; border-bottom: 1px solid #1f2228; vertical-align: middle; }
.admin-table tr:hover td { background: #1d2025; }
.admin-table a { color: #8be9fd; }
.cell-wrap { max-width: 420px; word-break: break-word; }
.row-banned td { opacity: .55; }
.admin-toolbar { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-toolbar form { display: flex; gap: 6px; }
.admin-actions { white-space: nowrap; text-align: right; }
.btn-mini { background: #262a31; color: #fff !important; padding: 4px 10px; border-radius: 4px; font-size: 12px; }
.btn-danger { background: #5a1a1f; color: #ffb3b8; border: 1px solid #7a2a30; border-radius: 4px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.btn-danger:hover { background: #7a1f27; color: #fff; }
.admin-form { display: grid; gap: 8px; margin-bottom: 14px; }
.admin-form label { display: grid; gap: 4px; font-size: 12px; color: #9aa0a8; }
.admin-form .auth-input { margin-bottom: 0; font-size: 13px; }
.admin-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.admin-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.admin-inline .auth-input { flex: 1; min-width: 120px; width: auto; }
@media (max-width: 800px) { .admin-wrap { flex-direction: column; } .admin-side { position: static; flex-direction: row; flex-wrap: wrap; flex-basis: auto; } }

/* ===== top bar: taller, larger type (matches the reference design) ===== */
body { padding-top: 40px; }
header.navbar-fixed-top { min-height: 56px !important; height: 56px; background: #23252c !important; border: 0; border-bottom: 1px solid #1a1c21; box-shadow: 0 2px 6px rgba(0,0,0,.35) !important; }
header.navbar-fixed-top .container { height: 56px; width: 100%; max-width: 1240px; display: flex; align-items: center; justify-content: space-between; }
header.navbar-fixed-top .navbar-nav { display: flex; align-items: center; float: none !important; margin: 0 !important; height: 56px; }
header.navbar-fixed-top .navbar-nav > li { float: none; display: flex; align-items: center; height: 56px; font-size: 13px; }
header.navbar-fixed-top .navbar-nav > li > a {
  display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px !important;
  font: 600 13px/1 "Segoe UI", Arial, sans-serif; letter-spacing: .2px; color: #c5c8ce !important; text-transform: uppercase;
  border-radius: 4px;
}
header.navbar-fixed-top .navbar-nav > li > a:hover { color: #fff !important; background: #2a2d35; }
header.navbar-fixed-top .navbar-nav > li:hover { background: none !important; }
header.navbar-fixed-top .nav-home { margin-right: 6px; }
header.navbar-fixed-top .nav-home > a { width: 48px; justify-content: center; background: #1b1d22; border-radius: 4px; padding: 0 !important; }
header.navbar-fixed-top .ikon-top { font-size: 24px; line-height: 1 !important; top: 0; vertical-align: middle; color: #e8eaee; }
header.navbar-fixed-top .navbar-nav > li.active > a { background: transparent; }
header.navbar-fixed-top .nav-home.active > a { background: #1b1d22; }
header.navbar-fixed-top .navbar-nav > li { position: relative; }
header.navbar-fixed-top .nav-new { position: absolute; top: 2px; right: -4px; font-size: 10px; padding: 3px 6px; line-height: 1; background: #d9534f; border: 0; box-shadow: none; border-radius: 3px; text-transform: none; }
header.navbar-fixed-top .navbar-right { margin-right: 0 !important; }
header.navbar-fixed-top #search { margin: 0 14px 0 0; padding: 0; height: auto; }
header.navbar-fixed-top #search input[type="search"] {
  width: 150px; height: 36px; padding: 0 12px !important; font-size: 13px; line-height: 36px !important;
  background: #17191f !important; background-image: none !important; border: 1px solid #1e2026 !important; border-radius: 3px; color: #c5c8ce !important;
}
header.navbar-fixed-top #search input[type="search"]:focus { width: 220px; outline: none; border-color: #3a3f4d !important; transition: width .2s; }
header.navbar-fixed-top .nav-moon { padding: 0 14px; cursor: default; }
header.navbar-fixed-top .navbar-nav .dropdown-toggle .caret { margin-left: 2px; }
header.navbar-fixed-top .user-menu-toggle { height: 40px; }
header.navbar-fixed-top .dropdown-menu { top: 100%; }
header.navbar-fixed-top .navbar-right > li > a { text-transform: none; font-weight: 500; font-size: 13px; }
header.navbar-fixed-top .navbar-right .user-menu-name { text-transform: none; }

/* ===== top bar v2: lower height, full-height hover blocks ===== */
body { padding-top: 32px; }
header.navbar-fixed-top { min-height: 46px !important; height: 46px; }
header.navbar-fixed-top .container,
header.navbar-fixed-top .navbar-nav,
header.navbar-fixed-top .navbar-nav > li { height: 46px; }
header.navbar-fixed-top .navbar-nav > li > a { height: 46px; border-radius: 0; padding: 0 12px !important; transition: background .15s, color .15s; }
header.navbar-fixed-top .navbar-nav > li > a:hover,
header.navbar-fixed-top .navbar-nav > li.open > a,
header.navbar-fixed-top .navbar-nav > li.open > a:focus { background: #1e2026 !important; color: #fff !important; }
header.navbar-fixed-top .nav-home { margin-right: 4px; }
header.navbar-fixed-top .nav-home > a { width: 46px; border-radius: 0; background: #1e2026; }
header.navbar-fixed-top .ikon-top { font-size: 21px; }
header.navbar-fixed-top .nav-new { top: 3px; }
header.navbar-fixed-top #search input[type="search"] { height: 30px; line-height: 30px !important; }
header.navbar-fixed-top .user-menu-toggle { height: 46px; }
header.navbar-fixed-top .user-menu-avatar { width: 28px; height: 28px; min-width: 28px; }

/* ===== top bar v3: even lower ===== */
body { padding-top: 26px; }
header.navbar-fixed-top { min-height: 38px !important; height: 38px; }
header.navbar-fixed-top .container,
header.navbar-fixed-top .navbar-nav,
header.navbar-fixed-top .navbar-nav > li,
header.navbar-fixed-top .navbar-nav > li > a,
header.navbar-fixed-top .user-menu-toggle { height: 38px; }
header.navbar-fixed-top .navbar-nav > li > a { font-size: 12px; padding: 0 10px !important; }
header.navbar-fixed-top .nav-home > a { width: 40px; }
header.navbar-fixed-top .ikon-top { font-size: 18px; }
header.navbar-fixed-top .nav-new { top: 1px; font-size: 9px; padding: 2px 5px; }
header.navbar-fixed-top #search input[type="search"] { height: 26px; line-height: 26px !important; width: 140px; font-size: 12px; }
header.navbar-fixed-top .user-menu-avatar { width: 24px; height: 24px; min-width: 24px; }
header.navbar-fixed-top .nav-moon { padding: 0 10px; display: flex; align-items: center; }
header.navbar-fixed-top .nav-moon img { display: block; width: 20px; height: 20px; }

/* ===== theme toggle + light ("white") mode ===== */
header.navbar-fixed-top .nav-moon { cursor: default; padding: 0 6px; }
.theme-toggle { background: none; border: 0; padding: 4px 6px; cursor: pointer; display: flex; align-items: center; border-radius: 4px; }
.theme-toggle:hover { background: #1e2026; }
.theme-toggle img { width: 20px; height: 20px; display: block; transition: transform .35s; }
.theme-toggle:hover img { transform: rotate(-15deg) scale(1.1); }
.theme-toggle .ico-sun { display: none; }
html[data-theme="light"] .theme-toggle .ico-sun { display: block; }
html[data-theme="light"] .theme-toggle .ico-moon { display: none; }

/* Light mode = the dark design colour-inverted, with media flipped back so pictures keep their real colours. */
html[data-theme="light"] .theme-toggle:hover { background: #cfcfcf; }

/* only one icon at a time: moon in dark mode, sun in light mode (beats the .nav-moon img rule above) */
header.navbar-fixed-top .nav-moon .theme-toggle .ico-sun { display: none; }
header.navbar-fixed-top .nav-moon .theme-toggle .ico-moon { display: block; }
html[data-theme="light"] header.navbar-fixed-top .nav-moon .theme-toggle .ico-sun { display: block; }
html[data-theme="light"] header.navbar-fixed-top .nav-moon .theme-toggle .ico-moon { display: none; }
.chat-badge.fansub { background: #1f9d57; }
.site-announcement { position: relative; z-index: 5; margin: 14px auto 0; max-width: 1200px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; border-radius: 8px; padding: 9px 16px; text-align: center; font-size: 13px; font-weight: 600; color: #e6e8ec; background: linear-gradient(90deg, rgba(199,25,25,.22), rgba(199,25,25,.08)), #1c1e24; border: 1px solid rgba(199,25,25,.35); border-left: 4px solid #c71919; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.site-announcement > i.fa { color: #ff6b6b; }
.ann-link { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 99px; background: #c71919; color: #fff; font-size: 12px; font-weight: 700; transition: background .15s; }
.ann-link:hover { background: #e02424; color: #fff; }

/* site logo bar + sponsor ads */
.site-logo-bar { background: transparent !important; border: 0 !important; box-shadow: none; padding: 0 0 6px; }
.site-logo { display: block; height: 118px; width: auto; max-width: 100%; }
.promo-list { display: flex; flex-direction: column; gap: 8px; padding: 8px; max-height: 360px; overflow-y: auto; }
.promo-list a { display: block; }
.promo-list img { width: 100%; height: auto; display: block; border-radius: 4px; border: 1px solid #17191f; }

/* GIF picker */
.chat-form { position: relative; }
.chat-gif-btn { font-weight: 700; font-size: 12px; padding: 7px 8px; }
.gif-panel { position: absolute; left: 6px; right: 6px; bottom: 100%; margin-bottom: 4px; background: #1b1d24; border: 1px solid #2a2d36; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.5); z-index: 20; }
.gif-tabs { display: flex; gap: 4px; padding: 6px; align-items: center; border-bottom: 1px solid #2a2d36; }
.gif-tabs button { background: #23252c; border: 1px solid #2a2d36; color: #cfd2d8; border-radius: 4px; padding: 4px 8px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.gif-tabs button.on { background: #c71919; border-color: #c71919; color: #fff; }
.gif-tabs input { flex: 1; min-width: 0; background: #12141a; border: 1px solid #2a2d36; border-radius: 4px; color: #fff; padding: 4px 8px; font-size: 12px; }
.gif-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 6px; height: 240px; padding: 6px; overflow-y: auto; overflow-x: hidden; }
.gif-tile { position: relative; min-width: 0; }
.gif-tile img { width: 100%; height: auto; display: block; border-radius: 4px; cursor: pointer; background: #12141a; min-height: 50px; }
.gif-star { position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,.6); border: 0; color: #fff; border-radius: 4px; width: 24px; height: 24px; cursor: pointer; line-height: 24px; padding: 0; }
.gif-star.on { color: #ffc83d; }
.gif-msg { grid-column: 1 / -1; padding: 20px 10px; text-align: center; color: #8b91a0; font-size: 12px; }
.gif-foot { text-align: right; font-size: 10px; color: #6c7280; padding: 2px 8px 4px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-text a strong { color: inherit; }

/* chat image lightbox + gif favourite star */
.chat-imgwrap { position: relative; display: inline-block; max-width: 100%; }
.chat-imgwrap .chat-image { cursor: zoom-in; }
.chat-gif-star { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.65); border: 0; color: #fff; border-radius: 4px; width: 26px; height: 26px; line-height: 26px; padding: 0; cursor: pointer; opacity: 0; transition: opacity .15s; }
.chat-imgwrap:hover .chat-gif-star, .chat-lightbox .chat-gif-star { opacity: 1; }
.chat-gif-star.on { color: #ffc83d; }
.chat-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 10001; display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.chat-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.chat-lightbox .chat-gif-star.big { top: 20px; right: 24px; width: 40px; height: 40px; line-height: 40px; font-size: 22px; }

/* top row: the sponsor box height follows the ad's crop ratio; the news box matches it */
.top-two-cols { align-items: stretch; }
.top-two-cols .promo-box-width.fixed-height-box { height: auto; min-height: 170px; }
.top-two-cols .promo-box-width:has(.promo-list) { min-height: 155px; }
.promo-content { overflow: visible; flex: 1; display: flex; flex-direction: column; padding: 10px; }
.promo-content .promo-list { max-height: none; overflow: visible; padding: 0; }
.promo-content .promo-list img { width: 100%; height: auto; }
.top-two-cols .news-box-width.fixed-height-box { height: auto; min-height: 170px; contain: size; }
.top-two-cols .news-box-width:has(.news-thumb) { min-height: 155px; }
.top-two-cols .news-box-width .scrollable-body { flex: 1; min-height: 0; max-height: none; }

/* fansub board grows with its announcements (scrolls after ~320px) */
.sidebar-box.fixed-height-box:not(.news-box-width) { height: auto; min-height: 170px; }
.sidebar-box.fixed-height-box:not(.news-box-width):has(.news-thumb) { min-height: 155px; }
.sidebar-box.fixed-height-box:not(.news-box-width) .scrollable-body { max-height: 320px; }

/* empty states stay compact */
.promo-empty { flex: 1; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; color: #5d6372; font-size: 12px; border: 1px dashed #333743; border-radius: 4px; }
.scrollable-body:has(.news-item:only-child .news-text:only-child) { max-height: none; }

/* ======================= mobile / responsive ======================= */
.nav-burger, .mobile-search { display: none; }
html, body { max-width: 100%; }

@media (max-width: 1100px) {
  body { overflow-x: hidden; }
  header.navbar-fixed-top .container { overflow: visible; }
  header.navbar-fixed-top .navbar-nav > li > a { padding: 0 5px !important; }
  header.navbar-fixed-top #search input[type="search"] { width: 64px; }
}

@media (max-width: 1000px) {
  .container { min-width: 0 !important; width: 100%; }
  body { overflow-x: hidden; padding-top: 52px !important; }

  /* navbar: burger menu (tablet + mobile) */
  header.navbar-fixed-top { height: 46px; min-height: 46px !important; }
  header.navbar-fixed-top .container { display: flex; flex-wrap: wrap; height: auto; min-height: 46px; padding: 0 8px; overflow: visible; align-items: stretch; }
  .nav-burger { display: flex; align-items: center; justify-content: center; order: 1; width: 44px; height: 46px; background: none; border: 0; color: #e8eaee; font-size: 20px; cursor: pointer; }
  header.navbar-fixed-top .navbar-right { order: 2; margin-left: auto !important; height: 46px; }
  header.navbar-fixed-top .navbar-right .nav-search { display: none !important; }
  header.navbar-fixed-top .navbar-right .user-menu-name { display: none; }
  header.navbar-fixed-top ul.navbar-left { order: 3; display: none !important; width: 100%; flex-direction: column; align-items: stretch; height: auto; background: #1e2026; border-top: 1px solid #111; max-height: calc(100vh - 46px); overflow-y: auto; }
  header.navbar-fixed-top.menu-open ul.navbar-left { display: flex !important; }
  header.navbar-fixed-top ul.navbar-left > li { height: auto; width: 100%; display: block; border-bottom: 1px solid #17191f; }
  header.navbar-fixed-top ul.navbar-left > li > a { height: 46px; padding: 0 16px !important; font-size: 13px; }
  header.navbar-fixed-top ul.navbar-left .nav-home { display: none; }
  header.navbar-fixed-top ul.navbar-left .dropdown-menu { position: static; float: none; width: 100%; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: #181a1d !important; }
  header.navbar-fixed-top .nav-new { position: static; margin-left: 6px; }
  .mobile-search { display: block !important; padding: 8px 12px; }
  .mobile-search form { display: flex; gap: 6px; }
  .mobile-search input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; background: #17191f !important; border: 1px solid #2a2d36 !important; border-radius: 4px; color: #c5c8ce; }
  .mobile-search button { width: 42px; background: #c71919; border: 0; border-radius: 4px; color: #fff; }
}

@media (max-width: 900px) {
  body { padding-left: 8px; padding-right: 8px; padding-bottom: 8px; padding-top: 52px !important; }
  .wrapper { padding: 10px; margin-top: 8px !important; border-radius: 6px; }
  .main-grid, .top-two-cols { flex-direction: column; }
  .col-left, .col-right { flex: none; width: 100%; min-width: 0; }
  .promo-box-width, .news-box-width { flex: none; width: 100%; }
  .top-two-cols .news-box-width.fixed-height-box { contain: none; min-height: 150px; }
  .top-two-cols .news-box-width .scrollable-body { max-height: 220px; }
  .site-logo { height: 76px; }
  .alphabet-nav ul { flex-wrap: wrap; gap: 3px; }
  .alphabet-nav li { flex: 0 0 calc(100% / 9 - 3px); margin: 0; }
  .alphabet-nav a { padding: 8px 0; }

  /* home tabs, cards */
  .home-tabs a { flex: 1 0 45%; padding: 11px 4px; font-size: 12px; }
  .ep-grid { padding: 8px; gap: 8px; }
  .ep-poster { flex-basis: 84px; height: 120px; }
  .block-title, .sidebar-title { font-size: 12.5px; }

  /* chat */
  .chat-messages { max-height: 55vh; }
  .gif-panel { left: 0; right: 0; }
  .gif-grid { height: 200px; }
}

@media (max-width: 560px) {
  .wrapper { padding: 6px; }
  .site-logo { height: 62px; }
  .alphabet-nav li { flex-basis: calc(100% / 7 - 3px); }
  .ep-card-body { gap: 10px; padding: 8px; }
  .act { padding: 7px 8px; font-size: 12px; }
  .chat-input-row { gap: 4px; }
}

/* generic safety: wide media/tables never overflow the viewport */
img, video, iframe { max-width: 100%; }
table { max-width: 100%; }

/* Font Awesome 4 class names whose glyphs moved in the bundled FA5 font */
.fa-cloud-upload:before { content: "\f382"; }
.fa-tachometer:before { content: "\f3fd"; }
.fa-shield:before { content: "\f3ed"; }
.fa-pencil:before { content: "\f303"; }
.fa-external-link:before { content: "\f35d"; }
.fa-newspaper-o:before { content: "\f1ea"; }

/* ===== BAŞVURU dropdown ===== */
header.navbar-fixed-top .navbar-nav > li.basvuru-menu > .dropdown-menu {
  margin-top: 0; padding: 8px !important; min-width: 270px !important; border-radius: 10px !important;
  background: #1b1d23 !important; border: 1px solid #2a2d36 !important; box-shadow: 0 16px 36px rgba(0,0,0,.5) !important;
}
header.navbar-fixed-top .basvuru-menu > .dropdown-menu::before {
  content: ""; position: absolute; top: -6px; left: 22px; width: 10px; height: 10px; background: #1b1d23; border-left: 1px solid #2a2d36; border-top: 1px solid #2a2d36; transform: rotate(45deg);
}
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li { height: auto; display: block; border-radius: 8px; }
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a {
  display: flex !important; align-items: center; gap: 12px; height: auto !important; padding: 10px 12px !important; border-radius: 8px;
  text-transform: none; color: #d5d8de !important; background: transparent;
}
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a i { width: 34px; height: 34px; border-radius: 8px; background: #262a33; color: #e5383b; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 34px; transition: .15s; }
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a span { display: flex; flex-direction: column; line-height: 1.25; }
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a b { font-size: 13.5px; font-weight: 600; color: #fff; }
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a small { font-size: 11.5px; color: #8b91a0; font-weight: 400; }
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li:hover,
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a:hover { background: #262a33 !important; }
header.navbar-fixed-top .basvuru-menu > .dropdown-menu > li > a:hover i { background: #e5383b; color: #fff; }
@media (max-width: 900px) {
  header.navbar-fixed-top ul.navbar-left .basvuru-menu > .dropdown-menu { padding: 6px 10px !important; min-width: 0 !important; }
  header.navbar-fixed-top .basvuru-menu > .dropdown-menu::before { display: none; }
}

/* the phone-menu search box must never show in the desktop navbar */
@media (min-width: 901px) { header.navbar-fixed-top .mobile-search, header.navbar-fixed-top .nav-burger { display: none !important; } }
.fa-bookmark-o:before { content: "\f02e"; }
.act-mark:not(.on) .fa-bookmark-o { opacity: .55; }
h1.block-title { margin: 0; font-size: 12px; font-weight: bold; line-height: inherit; }

/* ===== İzleme listesi / son izlenilenler ===== */
.watch-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: linear-gradient(90deg, #1b1d23, #20232b); border-bottom: 1px solid #14161a; }
.watch-add, .watch-resume { display: inline-flex; align-items: center; gap: 7px; background: #2a2e36; color: #e6e8ec; border: 1px solid #343843; border-radius: 20px; padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: .15s; }
.watch-add:hover, .watch-resume:hover { background: #343843; }
.watch-add.on { background: #c71919; border-color: #c71919; color: #fff; }
.watch-resume { background: #c71919; border-color: #c71919; color: #fff; margin-left: auto; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.watch-resume:hover { background: #e02020; }
.watch-progress { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 140px; }
.wp-bar { flex: 1; height: 6px; background: #2a2e36; border-radius: 4px; overflow: hidden; }
.wp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c71919, #ff5a5a); border-radius: 4px; }
.watch-progress small { color: #9a9ea6; font-size: 11px; white-space: nowrap; }
.episode-card.watched { opacity: .65; }
.episode-card.watched .fa { color: #3fb950; }

.recent-strip { display: flex; gap: 12px; overflow-x: auto; padding: 12px; scrollbar-width: thin; }
.recent-card { position: relative; flex: 0 0 120px; display: flex; flex-direction: column; gap: 3px; }
.recent-poster { position: relative; display: block; aspect-ratio: 2/3; border-radius: 6px; overflow: hidden; background: #111; }
.recent-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.recent-poster:hover img { transform: scale(1.06); }
.recent-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: #fff; font-size: 22px; opacity: 0; transition: .2s; }
.recent-poster:hover .recent-play { opacity: 1; }
.recent-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.6); }
.recent-bar i { display: block; height: 100%; background: #c71919; }
.recent-title { color: #e6e8ec; font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-card small { color: #8a8d93; font-size: 10.5px; }
.recent-x, .lanime-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; cursor: pointer; opacity: 0; transition: .15s; }
.recent-card:hover .recent-x, .lanime:hover .lanime-x { opacity: 1; }
.recent-x:hover, .lanime-x:hover { background: #c71919; }
@media (hover: none) { .recent-x, .lanime-x { opacity: 1; } }
.lists-pad { padding: 4px 0; }

.lists-hero { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 22px 18px; background: radial-gradient(circle at 15% 0, rgba(199,25,25,.28), transparent 60%), #1a1c22; border-bottom: 1px solid #14161a; }
.lists-hero h1 { margin: 0 0 4px; font-size: 22px; color: #fff; }
.lists-hero p { margin: 0; color: #9a9ea6; font-size: 13px; }
.lists-new { background: #c71919; }
.lists-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; padding: 16px; }
.list-card { display: block; background: #1d1f25; border: 1px solid #262a32; border-radius: 10px; overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.list-card:hover { transform: translateY(-3px); border-color: #c71919; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.list-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; }
.list-card-body b { color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-card-body small { color: #8a8d93; font-size: 11px; }
.lcover { position: relative; aspect-ratio: 16/9; background: #14161a; overflow: hidden; }
.lcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcover.empty { display: flex; align-items: center; justify-content: center; font-size: 36px; color: #3a3e48; background: repeating-linear-gradient(45deg, #16181d, #16181d 10px, #1a1c22 10px, #1a1c22 20px); }
.lcover.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; }
.lcover.collage.c1 { grid-template: 1fr / 1fr; }
.lcover.collage.c2 { grid-template-rows: 1fr; }
.lcover.collage.c3 img:first-child { grid-row: span 2; }

.list-hero { position: relative; overflow: hidden; border-bottom: 1px solid #14161a; }
.list-hero-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) brightness(.4); transform: scale(1.1); }
.list-hero-in { position: relative; display: flex; gap: 20px; padding: 22px; align-items: flex-end; }
.list-hero-in .lcover { flex: 0 0 260px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.list-hero-text { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.list-hero-text small { color: #c9ccd2; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.list-hero-text h1 { margin: 0; font-size: 28px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); word-break: break-word; }
.list-hero-text p { margin: 0; color: #d0d3d8; font-size: 13px; }
.list-count { color: #fff; font-weight: 700; font-size: 13px; }
.list-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.list-actions .btn-inline { padding: 7px 12px; font-size: 12px; cursor: pointer; }
.btn-inline.danger { background: #5a1515 !important; }
.lanime-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; padding: 16px; }
.lanime { position: relative; display: flex; flex-direction: column; gap: 3px; }
.lanime-poster { position: relative; display: block; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: #111; }
.lanime-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.lanime-poster:hover img { transform: scale(1.06); }
.lanime-score { position: absolute; left: 6px; top: 6px; background: #c71919; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.lanime-title { color: #e6e8ec; font-size: 12.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lanime small { color: #8a8d93; font-size: 10.5px; }
.list-dialog { width: min(420px, 100%); justify-items: stretch; }
.list-dialog .auth-input { width: 100%; box-sizing: border-box; }
.ld-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #d0d3d8; }

.list-picker { position: absolute; z-index: 9000; background: #23252c; border: 1px solid #343843; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.6); padding: 8px; color: #e6e8ec; font-size: 13px; }
.lp-head { font-weight: 700; padding: 4px 6px 8px; border-bottom: 1px solid #343843; margin-bottom: 4px; }
.lp-rows { max-height: 210px; overflow-y: auto; }
.lp-row { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; cursor: pointer; }
.lp-row:hover { background: #2d3039; }
.lp-row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-row small { color: #8a8d93; }
.lp-new { display: flex; gap: 6px; margin-top: 6px; }
.lp-new input { flex: 1; min-width: 0; background: #14161a; border: 1px solid #343843; color: #fff; border-radius: 6px; padding: 6px 8px; font-size: 12px; }
.lp-new button { background: #c71919; color: #fff; border: 0; border-radius: 6px; width: 30px; cursor: pointer; font-weight: 700; }
.lp-all { display: block; text-align: center; margin-top: 8px; font-size: 12px; color: #9a9ea6; }
.lp-all:hover { color: #fff; }

/* ===== Mesajlar ===== */
.dm-badge { display: inline-block; min-width: 18px; padding: 1px 5px; margin-left: 4px; border-radius: 9px; background: #c71919; color: #fff; font-size: 10px; font-weight: 700; text-align: center; line-height: 16px; }
.dm-badge[hidden] { display: none; }
.dm-app { display: grid; grid-template-columns: 320px 1fr; height: 600px; max-height: calc(100vh - 140px); min-height: 420px; background: #1a1c22; border: 1px solid #14161a; border-radius: 10px; overflow: hidden; }
.dm-side { display: flex; flex-direction: column; border-right: 1px solid #14161a; background: #181a1d; min-height: 0; }
.dm-side-head { padding: 14px; color: #fff; border-bottom: 1px solid #14161a; }
.dm-search { position: relative; padding: 10px; }
.dm-search input { width: 100%; box-sizing: border-box; background: #101216; border: 1px solid #2a2d36; color: #fff; border-radius: 20px; padding: 8px 14px; font-size: 13px; }
.dm-find-results { position: absolute; left: 10px; right: 10px; top: calc(100% - 4px); background: #23252c; border: 1px solid #343843; border-radius: 8px; z-index: 5; max-height: 260px; overflow-y: auto; box-shadow: 0 10px 28px rgba(0,0,0,.6); }
.dm-find-results[hidden] { display: none; }
.dm-find-results a, .dm-find-results button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; color: #e6e8ec; background: none; border: 0; text-align: left; cursor: pointer; font-size: 13px; }
.dm-find-results a:hover, .dm-find-results button:hover { background: #2d3039; }
.dm-find-results img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.dm-threads { overflow-y: auto; flex: 1; min-height: 0; }
.dm-thread { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: inherit; border-bottom: 1px solid #14161a; }
.dm-thread:hover { background: #20232b; }
.dm-thread.on { background: #262a34; box-shadow: inset 3px 0 0 #c71919; }
.dm-thread img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.dm-t-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dm-t-main b { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-t-main small { color: #8a8d93; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-t-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.dm-t-meta small { color: #6f737b; font-size: 10px; }
.dm-unread { background: #c71919; color: #fff; font-style: normal; font-size: 10px; font-weight: 700; min-width: 18px; padding: 1px 5px; border-radius: 9px; text-align: center; }
.dm-empty-side { padding: 20px 16px; color: #8a8d93; font-size: 13px; line-height: 1.5; }
.dm-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dm-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #14161a; background: #1d1f25; }
.dm-peer { display: flex; align-items: center; gap: 10px; color: #fff; flex: 1; min-width: 0; }
.dm-peer img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.dm-back { display: none; color: #cfd2d8; padding: 6px; }
.dm-block { background: none; border: 1px solid #343843; color: #9a9ea6; border-radius: 6px; padding: 6px 9px; cursor: pointer; }
.dm-block:hover, .dm-block.on { background: #5a1515; color: #fff; border-color: #5a1515; }
.dm-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.dm-msg { display: flex; align-items: flex-end; gap: 6px; max-width: 78%; }
.dm-msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.dm-bubble { padding: 8px 12px; border-radius: 16px; background: #2a2e36; color: #e6e8ec; font-size: 13.5px; line-height: 1.4; word-break: break-word; white-space: pre-wrap; }
.dm-msg.mine .dm-bubble { background: #c71919; color: #fff; border-bottom-right-radius: 4px; }
.dm-msg.theirs .dm-bubble { border-bottom-left-radius: 4px; }
.dm-msg.mine.seen .dm-bubble { box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset; }
.dm-x { background: none; border: 0; color: #6f737b; cursor: pointer; font-size: 11px; opacity: 0; }
.dm-msg:hover .dm-x { opacity: 1; }
.dm-x:hover { color: #ff5a5a; }
.dm-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #14161a; background: #1d1f25; }
.dm-form input { flex: 1; min-width: 0; background: #101216; border: 1px solid #2a2d36; color: #fff; border-radius: 20px; padding: 9px 14px; font-size: 13.5px; }
.dm-closed { padding: 14px; text-align: center; color: #8a8d93; border-top: 1px solid #14161a; }
.dm-placeholder { margin: auto; text-align: center; color: #6f737b; padding: 20px; }
.dm-placeholder i { font-size: 56px; margin-bottom: 8px; }
.dm-placeholder h3 { margin: 0 0 4px; color: #cfd2d8; }
@media (max-width: 760px) {
  .dm-app { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .dm-app.has-peer .dm-side { display: none; }
  .dm-app:not(.has-peer) .dm-main { display: none; }
  .dm-back { display: block; }
  .dm-msg { max-width: 90%; }
  .list-hero-in { flex-direction: column; align-items: stretch; }
  .list-hero-in .lcover { flex: none; width: 100%; }
  .lists-grid { grid-template-columns: repeat(2, 1fr); padding: 10px; gap: 10px; }
  .lanime-grid { grid-template-columns: repeat(3, 1fr); padding: 10px; gap: 10px; }
  .watch-resume { margin-left: 0; width: 100%; justify-content: center; }
}

/* profile sections */
.profile-section { margin: 18px 0; background: #1a1c22; border: 1px solid #14161a; border-radius: 10px; overflow: hidden; }
.profile-h { margin: 0; padding: 12px 16px; font-size: 14px; color: #fff; background: #1d1f25; border-bottom: 1px solid #14161a; }
.profile-h .fa { color: #c71919; margin-right: 6px; }
.fa-comments-o:before { content: "\f086"; }
.fa-bell-o:before { content: "\f0f3"; }

/* ===== bildirimler ===== */
.nav-bell { position: relative; display: flex; align-items: center; margin-left: 10px; }
#bellBtn { position: relative; background: none; border: 0; color: #cfd2d8; font-size: 18px; padding: 6px 8px; cursor: pointer; line-height: 1; }
#bellBtn:hover, #bellBtn.has { color: #fff; }
#bellBtn.has .fa { animation: bellRing 2.5s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes bellRing { 0%, 85%, 100% { transform: rotate(0); } 88% { transform: rotate(14deg); } 92% { transform: rotate(-12deg); } 96% { transform: rotate(8deg); } }
.bell-count { position: absolute; top: -2px; right: -2px; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #c71919; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.bell-count[hidden], .bell-panel[hidden] { display: none; }
.bell-panel { position: absolute; right: 0; top: 100%; width: 340px; max-width: 92vw; background: #23252c; border: 1px solid #343843; border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.65); z-index: 9500; overflow: hidden; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #343843; color: #fff; font-size: 13px; }
.bell-head button { background: none; border: 0; color: #9a9ea6; font-size: 11px; cursor: pointer; margin-left: 8px; }
.bell-head button:hover { color: #fff; }
.bell-list { max-height: 380px; overflow-y: auto; }
.bell-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; color: #cfd2d8; border-bottom: 1px solid #1c1e24; font-size: 12.5px; }
.bell-item:hover { background: #2d3039; color: #fff; }
.bell-item.unread { background: rgba(199,25,25,.12); box-shadow: inset 3px 0 0 #c71919; }
.bell-item > img, .bell-item > i { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; display: flex; align-items: center; justify-content: center; background: #14161a; color: #c71919; font-size: 16px; }
.bell-item span { display: flex; flex-direction: column; min-width: 0; }
.bell-item b { font-weight: 500; line-height: 1.35; word-break: break-word; }
.bell-item small { color: #6f737b; font-size: 10.5px; margin-top: 2px; }
.bell-empty { padding: 26px; text-align: center; color: #6f737b; font-size: 13px; }
#notifToasts { position: fixed; right: 16px; bottom: 16px; z-index: 10050; display: flex; flex-direction: column; gap: 8px; max-width: 340px; }
.notif-toast { display: flex; gap: 10px; align-items: center; background: #23252c; border: 1px solid #343843; border-left: 3px solid #c71919; color: #e6e8ec; padding: 11px 14px; border-radius: 8px; font-size: 13px; box-shadow: 0 8px 26px rgba(0,0,0,.55); animation: toastIn .3s ease; }
.notif-toast i { color: #c71919; font-size: 18px; }
@keyframes toastIn { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) { .bell-panel { position: fixed; left: 8px; right: 8px; top: 56px; width: auto; max-width: none; } }

/* online list + member search */
.chat-head { position: relative; }
button.chat-online { background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; padding: 4px 8px; border-radius: 12px; }
button.chat-online:hover { background: #2a2e36; }
.online-pop { position: absolute; right: 8px; top: calc(100% + 4px); width: 250px; max-width: 90%; background: #23252c; border: 1px solid #343843; border-radius: 10px; box-shadow: 0 12px 34px rgba(0,0,0,.65); z-index: 50; overflow: hidden; font-weight: 400; }
.online-pop[hidden] { display: none; }
.op-sum { padding: 9px 12px; font-size: 12px; font-weight: 700; color: #fff; border-bottom: 1px solid #343843; }
.op-list { max-height: 260px; overflow-y: auto; padding: 4px 0; color: #9a9ea6; font-size: 12px; }
.op-list > a { display: flex; align-items: center; gap: 9px; padding: 6px 12px; color: #e6e8ec; }
.op-list > a:hover { background: #2d3039; }
.op-list img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.op-list a span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-role { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: #3a3e48; color: #fff; }
.op-role.r-admin { background: #c71919; } .op-role.r-moderator { background: #2a7bd6; } .op-role.r-fansub { background: #8a4fd6; }
.op-guests { padding: 8px 12px; border-top: 1px solid #2a2d36; margin-top: 4px; }
.search-dropdown .search-section { padding: 6px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #8a8d93; background: rgba(255,255,255,.04); }
.search-dropdown .search-item.person img { border-radius: 50%; }

/* member rows: round avatars over a faded banner */
.search-dropdown .search-item.person, .op-list > a { position: relative; isolation: isolate; overflow: hidden; }
.search-dropdown .search-item.person::before, .op-list > a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bn) center / cover no-repeat; opacity: .28; transition: opacity .2s; }
.search-dropdown .search-item.person:hover::before, .op-list > a:hover::before { opacity: .45; }
.search-dropdown .search-item.person img { width: 40px; height: 40px; border-radius: 50%; flex: none; border: 2px solid rgba(255,255,255,.25); }
.search-dropdown .search-item.person .item-title { text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.op-list img { flex: none; border: 2px solid rgba(255,255,255,.25); }
.op-list > a span { text-shadow: 0 1px 4px rgba(0,0,0,.8); }

/* hover card on chat names/avatars */
.user-card { position: absolute; z-index: 9800; display: flex; align-items: center; gap: 12px; min-width: 220px; padding: 14px 16px; border-radius: 10px; overflow: hidden; isolation: isolate; background: #23252c; border: 1px solid #343843; box-shadow: 0 12px 34px rgba(0,0,0,.65); color: #fff; animation: toastIn .15s ease; }
.user-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bn) center / cover no-repeat; opacity: .4; }
.user-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); flex: none; }
.user-card b { display: block; font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.user-card small { display: block; color: #d0d3d8; font-size: 11px; margin-top: 2px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.chat-avatar, .chat-name { cursor: pointer; }
.user-card { min-width: 250px; max-width: 300px; }
.user-card > div { min-width: 0; }
.uc-stats { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 11px; color: #d0d3d8; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.uc-stats b { display: inline; font-size: 12px; text-shadow: inherit; }
.uc-extra, .uc-bio { margin-top: 4px; font-size: 11px; color: #c9ccd2; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.uc-bio { font-style: italic; opacity: .9; }

/* contact */
.contact-form { display: grid; gap: 14px; padding: 18px; max-width: 760px; }
.contact-form label { display: grid; gap: 6px; color: #cfd2d8; font-size: 13px; font-weight: 600; }
.contact-form .auth-input { width: 100%; box-sizing: border-box; font-weight: 400; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-foot { display: flex; justify-content: space-between; align-items: center; color: #6f737b; }
.cf-note { padding: 10px 14px; border-radius: 6px; font-size: 13px; }
.cf-note.ok { background: rgba(63,185,80,.15); color: #6fdc82; border: 1px solid rgba(63,185,80,.4); }
.cf-note.err { background: rgba(199,25,25,.15); color: #ff8080; border: 1px solid rgba(199,25,25,.4); }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }

/* fansub cards under the player */
.sub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 16px; }
.sc-head { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: #9a9ea6; text-transform: uppercase; letter-spacing: .06em; }
.sub-card { background: #1d1f25; border: 1px solid #262a32; border-radius: 6px; overflow: hidden; transition: border-color .2s; }
.sub-card.on { border-color: #c71919; box-shadow: 0 0 0 1px #c71919; }
.sc-title { padding: 10px 14px; font-size: 13px; font-weight: 700; color: #fff; background: #181a1d; border-bottom: 1px solid #14161a; }
.sc-body { display: flex; gap: 10px; padding: 10px; align-items: stretch; }
.sc-pic { flex: 0 0 96px; height: 96px; background: #fff; border: 1px solid #343843; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sc-pic img { width: 100%; height: 100%; object-fit: contain; }
.sc-rows { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; background: #14161a; }
.sc-row { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid #1c1e24; font-size: 13px; }
.sc-row:last-child { border-bottom: 0; }
.sc-row span { color: #cfd2d8; font-weight: 600; }
.sc-row b { color: #fff; text-align: right; }
.sc-row[data-followers] + .sc-row b { background: #2a7bd6; padding: 1px 8px; border-radius: 3px; font-size: 11.5px; }
.sc-actions { display: flex; gap: 0; padding: 0 10px 10px; justify-content: flex-end; }
.sc-actions > * { background: #181a1d; border: 1px solid #262a32; color: #e6e8ec; padding: 9px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.sc-actions > *:hover { background: #262a32; color: #fff; }
.sc-actions .sc-follow.on { color: #6fdc82; }
.sc-actions > *:not(:first-child) { border-left: 0; }

/* sub group tabs -> players */
.sub-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-tab { display: inline-flex; align-items: center; gap: 7px; background: #23252c; border: 1px solid #343843; color: #e6e8ec; padding: 8px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: .15s; }
.sub-tab:hover { background: #2d3039; }
.sub-tab small { background: rgba(255,255,255,.12); border-radius: 9px; padding: 0 6px; font-size: 10.5px; line-height: 16px; }
.sub-tab.active { background: #c71919; border-color: #c71919; color: #fff; }
.sub-players { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 10px 12px; background: #181a1d; border: 1px solid #262a32; border-radius: 8px; animation: toastIn .18s ease; }
.sub-players:empty { display: none; }
.sub-cards .sub-card[hidden], .sc-head[hidden] { display: none; }

/* profile roles + moderation box */
.profile-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pr-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 12px; font-size: 11.5px; font-weight: 700; color: #fff; background: #3a3e48; }
.pr-badge.r-admin { background: #c71919; } .pr-badge.r-moderator { background: #2a7bd6; } .pr-badge.r-fansub { background: #8a4fd6; }
.mod-box { border-color: #5a1515; }
.mod-body { padding: 14px 16px; display: grid; gap: 12px; }
.mod-status { display: flex; gap: 6px; flex-wrap: wrap; }
.mod-chip { padding: 3px 10px; border-radius: 10px; background: #2a2e36; color: #e6e8ec; font-size: 12px; font-weight: 600; }
.mod-chip.red { background: #c71919; } .mod-chip.amber { background: #b8741a; }
.mod-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mod-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; color: #cfd2d8; }
.mod-history li.old { opacity: .55; }
.mod-history small { color: #8a8d93; }
.mod-x { background: none; border: 0; color: #ff6b6b; cursor: pointer; font-size: 11px; text-decoration: underline; }
.chat-banner { padding: 7px 12px; font-size: 12px; font-weight: 600; text-align: center; background: #3b2f12; color: #ffd37a; border-bottom: 1px solid #111; }
.chat-banner[data-mode="locked"], .chat-banner[data-mode="hidden"] { background: #3d1515; color: #ff9d9d; }

/* ===== forum ===== */
.f-crumbs { font-size: 12px; color: #8a8d93; margin-bottom: 6px; }
.f-crumbs a { color: #9a9ea6; } .f-crumbs a:hover { color: #fff; } .f-crumbs span { color: #cfd2d8; }
.f-cats, .f-topics { display: grid; }
.f-cat, .f-topic { display: grid; align-items: center; gap: 14px; padding: 14px 18px; color: inherit; border-bottom: 1px solid #14161a; transition: background .15s; }
.f-cat:hover, .f-topic:hover { background: #20232b; }
.f-cat { grid-template-columns: 48px 1fr 90px 220px; }
.f-cat-ico { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #c71919, #7a0f0f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.f-cat-main b, .f-topic-main b { display: block; color: #fff; font-size: 14px; }
.f-cat-main small, .f-topic-main small, .f-cat-last small, .f-topic-last small { color: #8a8d93; font-size: 11.5px; display: block; }
.f-cat-stats, .f-topic-stats { font-size: 11.5px; color: #8a8d93; text-align: center; line-height: 1.5; }
.f-cat-stats b, .f-topic-stats b { color: #e6e8ec; }
.f-last-t { display: block; color: #cfd2d8; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-topic { grid-template-columns: 40px 1fr 110px 120px; }
.f-topic > img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.f-topic.pinned { background: rgba(199,25,25,.08); }
.f-topic-main { min-width: 0; } .f-topic-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-posts { display: grid; gap: 0; }
.fp { display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px solid #14161a; }
.fp-side { padding: 16px 12px; background: #181a1d; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; border-right: 1px solid #14161a; }
.fp-side img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.fp-side b { color: #fff; font-size: 13px; word-break: break-word; }
.fp-side small { color: #6f737b; font-size: 10.5px; }
.fp-side .fp-fs { color: #b995f0; }
.fp-role { padding: 1px 8px; border-radius: 9px; font-size: 10px; font-weight: 700; color: #fff; background: #3a3e48; }
.fp-role.r-admin { background: #c71919; } .fp-role.r-moderator { background: #2a7bd6; } .fp-role.r-fansub { background: #8a4fd6; }
.fp-main { padding: 14px 18px; min-width: 0; }
.fp-head { display: flex; justify-content: space-between; align-items: center; color: #6f737b; margin-bottom: 8px; }
.fp-x { background: none; border: 0; color: #6f737b; cursor: pointer; } .fp-x:hover { color: #ff5a5a; }
.fp-body { color: #d6d9de; font-size: 14px; line-height: 1.6; word-break: break-word; }
.forum-box .contact-form { max-width: none; }
@media (max-width: 760px) {
  .f-cat { grid-template-columns: 40px 1fr; } .f-cat-stats, .f-cat-last { display: none; }
  .f-topic { grid-template-columns: 36px 1fr; } .f-topic-stats, .f-topic-last { display: none; }
  .fp { grid-template-columns: 1fr; } .fp-side { flex-direction: row; justify-content: flex-start; border-right: 0; border-bottom: 1px solid #14161a; padding: 10px 12px; }
  .fp-side img { width: 36px; height: 36px; }
}

/* ===== haberler ===== */
.nw-layout { display: grid; grid-template-columns: 1fr 320px; gap: 18px; align-items: start; }
.nw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; padding: 16px; }
.nw-card { display: flex; flex-direction: column; background: #1d1f25; border: 1px solid #262a32; border-radius: 10px; overflow: hidden; color: inherit; transition: transform .2s, border-color .2s, box-shadow .2s; }
a.nw-card:hover { transform: translateY(-3px); border-color: #c71919; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.nw-img { aspect-ratio: 16/9; background: #14161a; display: flex; align-items: center; justify-content: center; color: #3a3e48; font-size: 40px; overflow: hidden; }
.nw-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.nw-body h2 { margin: 0; font-size: 14.5px; color: #fff; line-height: 1.35; }
.nw-body p { margin: 0; color: #9a9ea6; font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-body small { color: #6f737b; font-size: 11px; }
.nw-side .profile-h { border-radius: 0; }
.nw-fans { display: grid; }
.nw-fan { padding: 12px 14px; border-bottom: 1px solid #14161a; color: #cfd2d8; font-size: 12.5px; }
.nw-fan a { color: #fff; font-weight: 600; } .nw-fan p { margin: 4px 0; color: #9a9ea6; } .nw-fan small { color: #6f737b; }
@media (max-width: 900px) { .nw-layout { grid-template-columns: 1fr; } }

/* inline profile image editing */
.profile-avatar-wrapper.editable { position: relative; }
.pf-avatar-edit { position: absolute; inset: 3px; border-radius: 6px; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; cursor: pointer; opacity: 0; transition: opacity .18s; display: flex; align-items: center; justify-content: center; }
.profile-avatar-wrapper.editable:hover .pf-avatar-edit, .pf-avatar-edit:focus { opacity: 1; }
.pf-edit { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; opacity: 0; transition: opacity .18s; z-index: 3; }
.profile-banner-wrapper:hover .pf-edit, .pf-edit:focus-within { opacity: 1; }
.pf-pencil { background: rgba(0,0,0,.65); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 7px 14px; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pf-pencil:hover { background: #c71919; border-color: #c71919; }
@media (hover: none) { .pf-avatar-edit { opacity: 1; background: rgba(0,0,0,.35); font-size: 18px; inset: auto 3px 3px auto; width: 34px; height: 34px; border-radius: 50%; } .pf-edit { opacity: 1; } }
.pr-badge.r-discord { background: #5865f2; }

/* settings */
.set-wide { max-width: 760px; margin: 0 auto; }
.set-intro { padding: 12px 18px 0; color: #9a9ea6; font-size: 13px; }
.set-sec { padding: 8px 18px 18px; border-bottom: 1px solid #14161a; }
.set-sec h3 { margin: 14px 0 10px; font-size: 15px; color: #fff; } .set-sec h3 .fa { color: #c71919; margin-right: 6px; }
.set-sec .settings-form { display: grid; gap: 12px; margin-bottom: 14px; }
.set-sec label { display: grid; gap: 5px; font-size: 13px; color: #cfd2d8; font-weight: 600; }
.set-sec label small { font-weight: 400; color: #6f737b; }
.set-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.set-msg:empty { display: none; }
.set-switch { display: flex !important; grid-template-columns: none; align-items: center; gap: 12px; cursor: pointer; padding: 6px 0; }
.set-switch input { position: absolute; opacity: 0; }
.set-switch i { flex: none; width: 40px; height: 22px; border-radius: 12px; background: #3a3e48; position: relative; transition: .2s; }
.set-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.set-switch input:checked + i { background: #c71919; } .set-switch input:checked + i::after { left: 21px; }
.set-switch input:focus-visible + i { outline: 2px solid #fff; }
.set-switch span { display: flex; flex-direction: column; } .set-switch b { color: #e6e8ec; font-size: 13.5px; } .set-switch small { font-size: 12px; }
.dc-chip { display: inline-flex; gap: 6px; align-items: center; background: #5865f2; color: #fff; padding: 5px 12px; border-radius: 14px; font-weight: 700; font-size: 13px; }
.dc-btn { background: #5865f2 !important; }
.set-hint { color: #8a8d93; font-size: 13px; }
.dc-ico { vertical-align: -3px; flex: none; }
.set-sec h3 .dc-ico { color: #5865f2; margin-right: 6px; }
.dc-btn { display: inline-flex; align-items: center; gap: 8px; }

/* fansub group page */
.pr-link { color: inherit; text-decoration: underline; }
a.sc-title { display: block; }
a.sc-title:hover { color: #ff6b6b; }
.grp-hero { display: flex; gap: 20px; align-items: center; padding: 22px; flex-wrap: wrap; background: radial-gradient(circle at 12% 0, rgba(199,25,25,.28), transparent 60%), #1a1c22; border-bottom: 1px solid #14161a; }
.grp-logo { flex: 0 0 130px; height: 130px; border-radius: 14px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(0,0,0,.5); }
.grp-logo img { width: 100%; height: 100%; object-fit: contain; }
.grp-logo span { font-size: 56px; font-weight: 800; color: #c71919; }
.grp-info { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.grp-info small { color: #9a9ea6; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.grp-info h1 { margin: 0; color: #fff; font-size: 28px; word-break: break-word; }
.grp-info p { margin: 0; color: #cfd2d8; font-size: 13px; line-height: 1.5; }
.grp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.grp-follow.on { background: #2a2e36 !important; color: #6fdc82; }
.grp-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 22px; }
.grp-stats div { text-align: center; } .grp-stats b { display: block; color: #fff; font-size: 20px; } .grp-stats small { color: #8a8d93; font-size: 11px; }
.grp-sec { border-bottom: 1px solid #14161a; padding-bottom: 6px; }
.grp-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; padding: 14px 16px; }
.grp-member { display: flex; align-items: center; background: #1d1f25; border: 1px solid #262a32; border-radius: 10px; overflow: hidden; }
.grp-member > a:first-child { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px; color: inherit; min-width: 0; }
.grp-member:hover { border-color: #c71919; }
.grp-member img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.grp-member span { display: flex; flex-direction: column; min-width: 0; } .grp-member b { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .grp-member small { color: #8a8d93; font-size: 11px; }
.grp-dm { padding: 0 14px; align-self: stretch; display: flex; align-items: center; color: #9a9ea6; border-left: 1px solid #262a32; } .grp-dm:hover { color: #fff; background: #262a32; }
@media (max-width: 760px) { .grp-stats { grid-template-columns: repeat(2, auto); } .grp-logo { flex-basis: 90px; height: 90px; } }

/* followers / following popup */
.ps-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-shadow: inherit; cursor: pointer; }
.ps-link:hover { text-decoration: underline; }
.fl-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fl-box { background: #1b1b22; color: #eee; width: 100%; max-width: 420px; max-height: 80vh; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.fl-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fl-head button { background: none; border: 0; color: #aaa; font-size: 24px; cursor: pointer; line-height: 1; }
.fl-body { overflow-y: auto; padding: 8px; font-size: 14px; color: #aaa; }
.fl-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; color: #eee; text-decoration: none; }
.fl-row:hover { background: rgba(255,255,255,.07); }
.fl-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.fl-row img.sq { border-radius: 8px; }
.fl-row span { display: flex; flex-direction: column; min-width: 0; }
.fl-row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-row small { color: #999; }

/* article content (shared by public news page and the admin editor) */
.nw-article { line-height:1.8; font-size:16px; overflow-wrap:anywhere; }
.nw-article h2 { font-size:26px; margin:1.2em 0 .5em; }
.nw-article h3 { font-size:21px; margin:1.1em 0 .4em; }
.nw-article h4 { font-size:17px; margin:1em 0 .4em; }
.nw-article p { margin:0 0 1em; }
.nw-article a { color:#ff9a9a !important; text-decoration:none; }
.nw-article a:hover { color:#ff5555 !important; }
.nw-article ul, .nw-article ol { margin:0 0 1em 1.4em; padding-left:1em; }
.nw-article ul { list-style:disc; } .nw-article ol { list-style:decimal; }
.nw-article blockquote, .ne-editor blockquote { margin:1em 0; padding:8px 16px; border-left:4px solid #ff5555; background:rgba(255,255,255,.05); border-radius:0 8px 8px 0; }
.nw-article hr, .ne-editor hr { border:0; border-top:1px solid rgba(255,255,255,.2); margin:1.5em 0; }
.nw-article mark, .ne-editor mark { background:#ffe14d; color:#222; padding:0 2px; border-radius:2px; }
.nw-img-left { float:left; margin:4px 16px 8px 0; } .nw-img-right { float:right; margin:4px 0 8px 16px; }
.nw-img-center { display:block; margin:12px auto; } .nw-img-full { display:block; width:100%; margin:12px 0; }
.nw-article::after, .ne-editor::after { content:''; display:table; clear:both; }
.ne-editor h2, .ne-editor h3, .ne-editor h4 { margin:.9em 0 .4em; } .ne-editor h2 { font-size:26px; } .ne-editor h3 { font-size:21px; } .ne-editor h4 { font-size:17px; }
.ne-editor ul { list-style:disc; margin-left:1.4em; } .ne-editor ol { list-style:decimal; margin-left:1.4em; } .ne-editor a { color:#ff6b6b !important; text-decoration:none; } .ne-editor a:hover { color:#ff5555 !important; }
/* detail page */
.nw-detail { max-width:860px; margin:0 auto; }
.nw-detail h1 { font-size:32px; line-height:1.25; margin:0 0 10px; }
.nw-meta { color:#999; font-size:13px; margin-bottom:18px; display:flex; flex-wrap:wrap; gap:14px; }
.nw-cover { width:100%; max-height:420px; object-fit:cover; border-radius:10px; margin-bottom:20px; }
.nw-source { margin-top:24px; padding-top:14px; border-top:1px solid rgba(255,255,255,.1); }
.nw-more { margin-top:30px; }
.nw-back { display:inline-block; margin-bottom:14px; color:#aaa; }

/* group announcements + clickable news thumbs */
.grp-news { display:flex; flex-direction:column; gap:8px; }
.grp-new { display:flex; flex-direction:column; gap:3px; padding:12px 14px; background:#1d1f25; border:1px solid #262a32; border-radius:10px; color:inherit; transition:border-color .2s; }
.grp-new:hover { border-color:#c71919; }
.grp-new b { color:#fff; } .grp-new span { color:#9a9ea6; font-size:13px; } .grp-new small { color:#6f737b; }
a.news-thumb { display:block; }
.nw-meta a { color:#ff6b6b; }

/* ---- custom ad-free player ---- */
.video-box { position: relative; }
.cp-host { position: absolute; inset: 0; }
.player-status { position: absolute; left: 12px; bottom: 12px; z-index: 6; background: rgba(0,0,0,.75); color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 16px; pointer-events: none; }
.cp { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; outline: 0; user-select: none; --cp-played: 0%; --cp-buf: 0%; }
.cp video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.cp-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(199,25,25,.92); color: #fff; font-size: 30px; cursor: pointer; box-shadow: 0 6px 30px rgba(0,0,0,.6); }
.cp-big[hidden] { display: none; }
.cp-big i { margin-left: 5px; }
.cp-spin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 4px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: cpspin .8s linear infinite; display: none; pointer-events: none; }
.cp-spin.on { display: block; }
@keyframes cpspin { to { transform: rotate(360deg); } }
.cp-msg { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); background: rgba(0,0,0,.7); color: #fff; padding: 5px 14px; border-radius: 14px; font-size: 13px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.cp-msg.on { opacity: 1; }
.cp-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transition: opacity .25s; }
.cp.active .cp-bar, .cp.paused .cp-bar { opacity: 1; }
.cp:not(.active):not(.paused) { cursor: none; }
.cp-seekwrap { position: relative; height: 16px; display: flex; align-items: center; }
.cp-buf { position: absolute; left: 0; height: 5px; width: var(--cp-buf); background: rgba(255,255,255,.3); border-radius: 3px; pointer-events: none; }
.cp-seek, .cp-vol { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; margin: 0; }
.cp-seek { position: relative; width: 100%; height: 16px; }
.cp-seek::-webkit-slider-runnable-track { height: 5px; border-radius: 3px; background: linear-gradient(to right, #c71919 var(--cp-played), rgba(255,255,255,.18) var(--cp-played)); }
.cp-seek::-moz-range-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.18); }
.cp-seek::-moz-range-progress { height: 5px; border-radius: 3px; background: #c71919; }
.cp-seek::-webkit-slider-thumb, .cp-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; margin-top: -4px; }
.cp-seek::-moz-range-thumb, .cp-vol::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }
.cp-vol { width: 80px; height: 16px; }
.cp-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); }
.cp-row { display: flex; align-items: center; gap: 4px; color: #fff; }
.cp-spacer { flex: 1; }
.cp-btn { min-width: 34px; height: 34px; border: 0; background: transparent; color: #fff; border-radius: 6px; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; }
.cp-btn:hover { background: rgba(255,255,255,.15); }
.cp-btn small { font-size: 9px; font-weight: 700; }
.cp-speed { font-size: 13px; font-weight: 700; }
.cp-time { font-size: 12.5px; margin: 0 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.server-btn.dead { opacity: .45; text-decoration: line-through; border-color: #5a2222; }
.server-btn.dead::after { content: ' ✕'; color: #ff6b6b; text-decoration: none; display: inline-block; }
.cp-switch { background: none; border: 0; color: #9aa0aa; font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px 2px 8px; }
.cp-switch:hover { color: #fff; } .cp-switch[hidden] { display: none; }
@media (max-width: 600px) { .cp-vol, .cp-time { display: none; } }
.server-btn.blocked { opacity: .6; border-style: dashed; }
.server-btn.blocked::after { content: ' ⚠'; }
.cp-fast { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.72); color: #fff; font-weight: 700; padding: 6px 16px; border-radius: 16px; font-size: 14px; display: none; pointer-events: none; }
.cp-fast.on { display: block; }
.cp video { -webkit-touch-callout: none; touch-action: manipulation; }
.cont-card { flex-basis: 140px; }
.cont-sub { color: #ff8a8a !important; font-weight: 600; }

/* ---- news / announcements: clickable boxes + article layout ---- */
a.news-item.news-link { color: inherit; text-decoration: none; padding: 8px; margin: 0 0 6px; border: 1px solid #181a1d; border-radius: 6px; background: rgba(255,255,255,.02); transition: background .15s, border-color .15s; }
a.news-item.news-link:hover { background: rgba(199,25,25,.12); border-color: #c71919; }
a.news-item .news-text { min-width: 0; overflow-wrap: anywhere; } a.news-item .news-text strong { color: #fff; }
.news-thumb img { border-radius: 3px; }
.nw-layout { grid-template-columns: minmax(0,1fr) 340px; }
.nw-layout > * { min-width: 0; }
a.nw-fan { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-bottom: 1px solid #14161a; color: #cfd2d8; text-decoration: none; transition: background .15s; }
a.nw-fan:hover { background: rgba(199,25,25,.1); }
a.nw-fan b { color: #fff; font-size: 13.5px; overflow-wrap: anywhere; line-height: 1.35; }
a.nw-fan p { margin: 2px 0 0; color: #9a9ea6; font-size: 12px; overflow-wrap: anywhere; }
.nw-fan-g { color: #ff8a8a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.nw-fans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; }
.nw-page { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.nw-page > * { min-width: 0; }
.nw-detail { padding: 26px 30px; }
.nw-title { font-size: 30px; line-height: 1.25; margin: 6px 0 12px; overflow-wrap: anywhere; word-break: break-word; }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #8a8e96; font-size: 13px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid #262a32; }
.nw-chip { display: inline-flex; align-items: center; gap: 7px; background: #23252c; border: 1px solid #343843; padding: 3px 12px 3px 4px; border-radius: 20px; }
.nw-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.nw-chip a { color: #fff; font-weight: 700; }
.nw-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; }
.nw-article { color: #d5d8de; }
.nw-closed { background: #181b20; border-radius: 8px; padding: 14px; text-align: center; color: #8a8e96; font-size: 13px; }
.nw-comments { margin-top: 0; }
.nw-more .nw-grid { padding: 14px; }
.nw-grid3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.vote-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid #262a32; }
.vb { display: inline-flex; align-items: center; gap: 8px; background: #23252c; border: 1px solid #343843; color: #cfd2d8; border-radius: 22px; padding: 8px 18px; font-size: 14px; cursor: pointer; transition: .15s; }
.vb:hover { background: #2d3039; }
.vb.on { background: #c71919; border-color: #c71919; color: #fff; }
.vb.down.on { background: #444a58; border-color: #5a6172; }
.vb-c { margin-left: auto; color: #9aa0aa; font-size: 13px; }
@media (max-width: 900px) { .nw-layout { grid-template-columns: 1fr; } .nw-detail { padding: 18px 16px; } .nw-title { font-size: 23px; } }
.grp-new[hidden] { display: none; }
.grp-more { margin-top: 10px; }

/* ---- rich text editor (forum + admin) ---- */
.rte .ne-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:4px; padding:8px; background:#14161b; border:1px solid #2a2e35; border-radius:10px 10px 0 0; }
.rte .ne-btn { width:32px; height:32px; border:0; background:transparent; color:#e6e8ec; border-radius:6px; cursor:pointer; font-size:14px; }
.rte .ne-btn:hover { background:rgba(255,255,255,.1); }
.rte .ne-sep { width:1px; height:22px; background:#2a2e35; margin:0 4px; }
.rte .ne-sel { background:#1d2027; color:#e6e8ec; border:1px solid #2a2e35; border-radius:6px; padding:5px 6px; font-size:12.5px; max-width: 120px; }
.rte .ne-color { position:relative; width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border-radius:6px; cursor:pointer; color:#fff; }
.rte .ne-color:hover { background:rgba(255,255,255,.1); }
.rte .ne-color input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.rte .ne-color b.hl { background:#ffe14d; color:#222; padding:0 4px; border-radius:3px; }
.rte .ne-editor { height:320px; max-height:60vh; overflow-y:auto; box-sizing:border-box; scrollbar-gutter:stable; padding:16px 18px; background:#101217; border:1px solid #2a2e35; border-top:0; border-radius:0 0 10px 10px; outline:0; line-height:1.7; font-size:15px; color:#e6e8ec; overflow-wrap:anywhere; }
.rte.rte-compact .ne-editor { height:110px; min-height:0; }
.rte .ne-editor:empty::before { content:attr(data-ph); color:#777; }
.rte .ne-foot { display:flex; justify-content:space-between; gap:12px; margin-top:6px; font-size:11.5px; color:#888; }
.rte-compact .ne-foot span:last-child { display:none; }
.rte .ne-imgbar { position:fixed; z-index:9000; display:flex; gap:2px; padding:4px; background:#23252c; border:1px solid #2a2e35; border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,.5); }
.rte .ne-imgbar[hidden] { display:none; }
.rte .ne-imgbar button { min-width:30px; height:28px; border:0; background:transparent; color:#eee; border-radius:5px; cursor:pointer; font-size:13px; }
.rte .ne-imgbar button:hover { background:rgba(255,255,255,.12); }
.rte .ne-editor img { cursor:pointer; max-width:100%; height:auto; border-radius:6px; }
.rte .ne-editor img.sel { outline:3px solid #ff5555; }
.rte .ne-editor h2, .rte .ne-editor h3, .rte .ne-editor h4 { margin:.9em 0 .4em; } .rte .ne-editor h2 { font-size:24px; } .rte .ne-editor h3 { font-size:19px; } .rte .ne-editor h4 { font-size:16px; }
.rte .ne-editor ul { list-style:disc; margin-left:1.4em; } .rte .ne-editor ol { list-style:decimal; margin-left:1.4em; }
.rte .ne-editor blockquote { margin:1em 0; padding:8px 16px; border-left:4px solid #ff5555; background:rgba(255,255,255,.05); }
.nw-fan-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.grp-new { flex-direction: row !important; align-items: center; gap: 12px; }
.grp-new-img { width: 120px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; flex: none; }
.grp-new-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

/* ===== Forum (reddit style) ===== */
.f-tags{display:inline-flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.f-tag{display:inline-block;background:rgba(255,255,255,.08);color:#9ec5ff;border:0;border-radius:99px;padding:2px 10px;font-size:12px;cursor:pointer;text-decoration:none}
.f-tag:hover{background:rgba(255,255,255,.16)}
.f-field{display:block;margin:12px 0}.f-field>span{display:block;margin-bottom:6px;font-weight:600}
.tag-input{display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:6px 8px}
.tag-input input{flex:1;min-width:120px;background:transparent;border:0;outline:0;color:inherit}
.tag-suggest{margin-top:6px;font-size:13px;opacity:.9;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.rd-post{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.rd-main{flex:1;min-width:0}
.rd-by,.rc-by{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px}
.rd-by img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.rd-title{font-size:26px;margin:8px 0}
.rd-body{margin:10px 0;line-height:1.65;word-break:break-word}
.rd-body img{max-width:100%;border-radius:8px}
.rd-acts,.rc-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.rc-btn{background:transparent;border:0;color:inherit;opacity:.75;cursor:pointer;font-size:13px;padding:4px 8px;border-radius:6px}
.rc-btn:hover{opacity:1;background:rgba(255,255,255,.08)}.rc-btn.del:hover{color:#ff6b6b}
.fv{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:34px}
.rc-acts .fv{flex-direction:row;gap:4px}
.fv-b{background:transparent;border:0;color:inherit;opacity:.6;cursor:pointer;padding:4px 6px;border-radius:6px}
.fv-b:hover{opacity:1;background:rgba(255,255,255,.1)}
.fv-b.up.on{color:#ff7a45;opacity:1}.fv-b.down.on{color:#7a8cff;opacity:1}
.fv-score{font-size:14px}.fv-score.pos{color:#ff7a45}.fv-score.neg{color:#7a8cff}
.rd-compose{margin:16px 0;padding:12px;background:rgba(255,255,255,.04);border-radius:10px}
.rd-compose-h{font-weight:600;margin-bottom:8px}
.rd-compose-f{display:flex;justify-content:flex-end;gap:8px;margin-top:8px;align-items:center}
.rd-sort{display:flex;gap:10px;align-items:center;margin:14px 0;font-size:13px}
.rd-sort a{padding:3px 10px;border-radius:99px;color:inherit;text-decoration:none;opacity:.7}
.rd-sort a.on{background:rgba(255,255,255,.14);opacity:1}
.rc{display:flex;gap:10px;margin-top:12px}
.rc-left{display:flex;flex-direction:column;align-items:center;width:28px;flex:none}
.rc-av img{width:28px;height:28px;border-radius:50%;object-fit:cover}
.rc-line{flex:1;width:14px;background:transparent;border:0;cursor:pointer;position:relative;margin-top:4px}
.rc-line::after{content:"";position:absolute;left:6px;top:0;bottom:0;width:2px;background:rgba(255,255,255,.14)}
.rc-line:hover::after{background:#6fa8ff}
.rc-main{flex:1;min-width:0}
.rc-content .rd-body{margin:4px 0}
.rc-compose{margin-top:8px}
.rc-kids{margin-left:0}
.rc.collapsed>.rc-main>.rc-content,.rc.collapsed>.rc-main>.rc-kids{display:none}
.rc.collapsed>.rc-left .rc-line{display:none}
.fp-role.op{background:#2b6cff;color:#fff;border-radius:4px;padding:1px 6px;font-size:11px}

/* ===== anime rating stars ===== */
.rate{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.rate-stars{position:relative;display:inline-block;font-size:26px;line-height:1;letter-spacing:2px;cursor:pointer;user-select:none;white-space:nowrap}
.rate-base{color:rgba(255,255,255,.28)}
.rate-fill{position:absolute;left:0;top:0;overflow:hidden;color:#fff;white-space:nowrap;pointer-events:none}
.rate-fill.hover{color:#ffc928}
.rate-info{font-size:14px}.rate-info small{opacity:.75}

.info-value .tag-wrap{display:flex;flex-wrap:wrap;gap:10px 8px;padding:6px 0}
.info-value .tag-wrap .tag-chip{margin:0}
.info-value .tag-wrap .tag-chip[hidden]{display:none}
.tag-toggle{border:0;cursor:pointer;color:#9ec5ff}
.tag-toggle:hover{background:#2f3640}
a.tag-chip{text-decoration:none}a.tag-chip:hover{background:#2f3640;color:#fff}

/* ===== footer ===== */
.main-footer-bar{margin-top:40px;padding:18px 20px;background:rgba(0,0,0,.35);border-top:1px solid rgba(255,255,255,.08);text-align:center}
.footer-inner{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px}
.footer-brand{font-weight:700;font-size:18px;color:#fff;text-decoration:none}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px}
.footer-links a{color:#b8c0cc;text-decoration:none;font-size:14px;padding:4px 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}
.footer-links a:hover{color:#fff;border-color:#ff7a45}
.footer-copyright{font-size:12.5px;color:#8a93a0}
@media(max-width:640px){.footer-inner{justify-content:center;flex-direction:column}}
.pr-badge.r-discord.verified{border-color:rgba(88,101,242,.7)}
.dc-ok{color:#57f287;margin-left:2px}

/* footer always sits at the bottom of the window (or below the content, whichever is lower) */
body:has(> .main-footer-bar){position:relative;min-height:100vh;box-sizing:border-box;padding-bottom:64px}
body > .main-footer-bar{position:absolute;left:0;right:0;bottom:0;margin:0}

/* ===== shared anime / list cards (chat + DM) ===== */
.share-card{display:flex;gap:10px;align-items:center;margin:6px 0 2px;padding:6px;max-width:300px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:inherit;text-decoration:none}
.share-card:hover{background:rgba(255,255,255,.11)}
.share-card img{width:44px;height:62px;object-fit:cover;border-radius:5px;flex:none}
.share-card span{display:flex;flex-direction:column;min-width:0}.share-card b{font-size:13px;line-height:1.25;word-break:break-word}.share-card small{opacity:.75;font-size:11.5px}
.share-card.loading,.share-link{opacity:.7;font-size:12px}
.dm-bubble .share-card{background:rgba(0,0,0,.25)}
.chat-form,.dm-form{position:relative}
.share-pop{position:absolute;left:0;right:0;bottom:100%;margin-bottom:6px;max-height:340px;display:flex;flex-direction:column;background:#1b1f26;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px;z-index:30;box-shadow:0 8px 28px rgba(0,0,0,.5)}
.share-pop[hidden]{display:none}
.share-tabs{display:flex;gap:6px;margin-bottom:6px}.share-tabs button{flex:1;background:rgba(255,255,255,.06);border:0;color:inherit;padding:5px;border-radius:6px;cursor:pointer}.share-tabs button.on{background:#2b6cff;color:#fff}
.share-q{width:100%;margin-bottom:6px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:6px;padding:6px 8px;color:inherit}
.share-res{overflow:auto;font-size:12.5px;opacity:.95}
.share-row{display:flex;gap:8px;align-items:center;width:100%;text-align:left;background:transparent;border:0;color:inherit;padding:5px;border-radius:6px;cursor:pointer}
.share-row:hover:not(:disabled){background:rgba(255,255,255,.1)}.share-row:disabled{opacity:.45;cursor:not-allowed}
.share-row img{width:32px;height:46px;object-fit:cover;border-radius:4px;flex:none}.share-row span{display:flex;flex-direction:column;min-width:0}.share-row small{opacity:.7}
.dm-bubble .dm-image{cursor:zoom-in;display:block;max-width:240px;max-height:260px;border-radius:8px;margin-top:6px}
.dm-bubble.img-only .dm-image{margin-top:0}
.dm-form .gif-panel{position:absolute;left:0;right:0;bottom:100%;margin-bottom:6px;z-index:30}

/* DM list: transparent banner behind each conversation + online dot */
.dm-thread{position:relative;background-image:linear-gradient(90deg,rgba(24,27,33,.92) 0%,rgba(24,27,33,.72) 55%,rgba(24,27,33,.55) 100%),var(--dm-banner,none);background-size:cover;background-position:center}
.dm-thread:hover,.dm-thread.on{background-size:cover;background-position:center;background-repeat:no-repeat}
.dm-thread{background-repeat:no-repeat}
.dm-thread:hover{background-image:linear-gradient(90deg,rgba(32,35,43,.85) 0%,rgba(32,35,43,.6) 55%,rgba(32,35,43,.4) 100%),var(--dm-banner,none)}
.dm-thread.on{background-image:linear-gradient(90deg,rgba(38,42,52,.88) 0%,rgba(38,42,52,.62) 55%,rgba(38,42,52,.42) 100%),var(--dm-banner,none)}
.av-wrap{position:relative;display:inline-block;flex:none;line-height:0}
.online-dot{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:#2ecc71;border:2px solid #1b1f26;box-shadow:0 0 6px rgba(46,204,113,.7)}
.online-dot[hidden]{display:none}
.dm-peer .av-wrap img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.dm-status{color:#2ecc71;margin-left:8px;font-size:12px}

/* ===== watch party ===== */
.party-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.party-head h1{font-size:22px;margin:4px 0}.party-head h1 a{color:inherit}
.party-tag{background:#2b6cff;color:#fff;border-radius:99px;padding:2px 10px;font-size:12px}
.party-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.party-opt{font-size:13px;display:flex;gap:6px;align-items:center}
.party-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px}
@media(max-width:900px){.party-grid{grid-template-columns:1fr}}
.party-video{position:relative;background:#000;border-radius:10px;overflow:hidden;aspect-ratio:16/9}
.party-video .cp-host{position:absolute;inset:0}
.party-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;background:rgba(0,0,0,.72);z-index:5;padding:20px}
.party-overlay[hidden]{display:none}.party-overlay i.fa-film{font-size:40px;opacity:.6}
.party-pick{margin-top:12px;padding:12px;background:rgba(255,255,255,.05);border-radius:10px}
.party-pick-row{display:flex;flex-wrap:wrap;gap:12px}.party-pick label{display:flex;flex-direction:column;gap:4px;font-size:13px;flex:1;min-width:200px}
.party-side{display:flex;flex-direction:column;gap:12px;min-height:420px}
.party-members{background:rgba(255,255,255,.05);border-radius:10px;padding:10px;max-height:170px;overflow:auto}
.party-member{display:flex;align-items:center;gap:8px;padding:3px 0;color:inherit;font-size:13px}.party-member.off{opacity:.45}
.party-member img,.party-msg img{width:24px;height:24px;border-radius:50%;object-fit:cover}
.party-chat{flex:1;display:flex;flex-direction:column;background:rgba(255,255,255,.05);border-radius:10px;min-height:240px}
.party-msgs{flex:1;overflow:auto;padding:10px;max-height:340px}.party-msg{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;margin-bottom:6px;font-size:13px}
.party-msg span{word-break:break-word}
.party-form{display:flex;gap:6px;padding:8px;border-top:1px solid rgba(255,255,255,.08)}.party-form input{flex:1;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:6px;padding:6px 8px;color:inherit}
.cp-locked .cp-play,.cp-locked .cp-seek,.cp-locked .cp-speed{pointer-events:none;opacity:.45}

/* ===== watch party v2 ===== */
.party-grid{align-items:start}
.party-side{min-height:0;height:calc((100vw - 400px) * 0.5625 + 150px);max-height:calc(100vh - 150px);min-height:460px}
@media(max-width:900px){.party-side{height:auto;max-height:none}.party-msgs{max-height:300px}}
.party-members{max-height:none;flex:none;padding:10px 12px}
.party-mh{font-weight:600;font-size:13px;margin-bottom:8px}.party-mh span{background:rgba(255,255,255,.12);border-radius:99px;padding:0 8px;margin-left:4px;font-size:12px}
.party-mlist{display:flex;flex-wrap:wrap;gap:8px 10px;max-height:96px;overflow:auto}
.party-member{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.06);border-radius:99px;padding:3px 10px 3px 3px;font-size:12.5px;text-decoration:none}
.party-member .av-wrap img{width:26px;height:26px;border-radius:50%;object-fit:cover}
.party-member .online-dot{width:9px;height:9px;border-width:2px}
.party-mname{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.party-chat{position:relative;flex:1;min-height:0}
.party-msgs{flex:1;min-height:0;max-height:none;padding:12px 10px;display:flex;flex-direction:column;gap:2px;overflow-y:auto}
.party-msg{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;max-width:100%}
.party-msg.grouped{margin-top:1px;padding-left:32px}
.party-msg img{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none;margin-top:2px}
.party-bub-col{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.party-mhead{display:flex;gap:6px;align-items:baseline;font-size:12px;margin-bottom:2px}.party-mhead small{opacity:.5;font-size:10.5px}
.party-bubble{background:rgba(255,255,255,.08);border-radius:4px 12px 12px 12px;padding:6px 10px;font-size:13.5px;line-height:1.4;word-break:break-word;max-width:100%}
.party-msg.mine{flex-direction:row-reverse}.party-msg.mine.grouped{padding-left:0;padding-right:32px}
.party-msg.mine .party-bub-col{align-items:flex-end}.party-msg.mine .party-mhead{flex-direction:row-reverse}
.party-msg.mine .party-bubble{background:#2b4a8f;border-radius:12px 4px 12px 12px}
.party-sys{align-self:center;text-align:center;font-size:11.5px;opacity:.6;margin:8px 0 4px;padding:2px 10px;background:rgba(255,255,255,.05);border-radius:99px}
.party-new{position:absolute;left:50%;transform:translateX(-50%);bottom:56px;background:#2b6cff;color:#fff;border:0;border-radius:99px;padding:4px 14px;font-size:12px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.5);z-index:3}
.party-new[hidden]{display:none}
.party-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}
.party-react{display:flex;gap:4px;background:rgba(255,255,255,.05);border-radius:99px;padding:3px 6px}
.party-react button{background:transparent;border:0;font-size:19px;cursor:pointer;border-radius:50%;width:34px;height:34px;transition:transform .12s}
.party-react button:hover{transform:scale(1.25);background:rgba(255,255,255,.1)}
.party-sync{margin-left:auto;font-size:12px;opacity:.85}.party-sync.ok{color:#2ecc71}.party-sync.bad{color:#f5a623}
.party-float{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}
.party-fly{position:absolute;bottom:56px;display:flex;flex-direction:column;align-items:center;animation:partyFly 3.2s ease-out forwards}
.party-fly span{font-size:34px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.6))}.party-fly small{font-size:10.5px;background:rgba(0,0,0,.55);color:#fff;border-radius:99px;padding:0 7px;margin-top:2px}
@keyframes partyFly{0%{opacity:0;transform:translateY(0) scale(.6)}12%{opacity:1;transform:translateY(-20px) scale(1.1)}100%{opacity:0;transform:translateY(-230px) scale(1)}}

/* party buttons */
.party-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;font:500 13px/1 inherit;font-family:inherit;color:#e6e9ee;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:10px;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s,transform .1s}
.party-btn:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.28)}
.party-btn:active{transform:translateY(1px)}
.party-btn i{font-size:13px;opacity:.85}
.party-btn.primary{background:#2b6cff;border-color:#2b6cff;color:#fff;padding:11px 22px;font-size:14px}.party-btn.primary:hover{background:#4580ff}
.party-btn.danger{color:#ff8d8d;border-color:rgba(255,107,107,.4);background:rgba(255,107,107,.08)}.party-btn.danger:hover{background:rgba(255,107,107,.2)}
.party-btn.party-opt{user-select:none}.party-btn.party-opt input{accent-color:#2b6cff;width:15px;height:15px;margin:0}
.party-btn[hidden]{display:none}
.party-tools{gap:10px}
.party-head h1{font-size:24px}.party-head small{font-size:13px;opacity:.7}
.party-select,.party-pick .browse-input{padding:9px 12px;border-radius:10px;font-size:14px}
.party-pick{padding:14px 16px}.party-pick label{font-size:13px;opacity:.9}.party-pick small{display:block;margin-top:10px;font-size:12px;opacity:.65}

/* party chat v3: panel fills exactly the height of the video column and scrolls inside */
.party-grid{align-items:stretch}
.party-side{height:0;min-height:100%;max-height:none;overflow:hidden}
@media(max-width:900px){.party-side{height:520px;min-height:0}}
.party-members{border:1px solid rgba(255,255,255,.07)}
.party-chat{display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.18);overflow:hidden}
.party-ch{padding:10px 14px;font-size:13px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.07);display:flex;gap:8px;align-items:center;opacity:.95}.party-ch i{opacity:.6}
.party-msgs{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.party-sys{background:none;border-radius:0;font-size:11.5px;opacity:.5;margin:10px 0 2px;padding:0}
.party-bubble{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.04)}
.party-msg.mine .party-bubble{background:linear-gradient(135deg,#2f5fd0,#2b4a8f);border:0;color:#fff}
.party-form{align-items:center;gap:8px;padding:10px;background:rgba(0,0,0,.2)}
.party-form input{border-radius:99px;padding:9px 14px;font-size:13.5px;outline:0}.party-form input:focus{border-color:#2b6cff}
.party-send{width:38px;height:38px;border-radius:50%;border:0;background:#2b6cff;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none;transition:background .15s,transform .1s}
.party-send:hover{background:#4580ff}.party-send:active{transform:scale(.94)}

.party-modal{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:10050;display:flex;align-items:center;justify-content:center;padding:16px}
.party-modal-box{width:min(440px,100%);max-height:80vh;display:flex;flex-direction:column;gap:10px;background:#1b1f26;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:16px;box-shadow:0 16px 50px rgba(0,0,0,.6)}
.party-modal-h{display:flex;justify-content:space-between;align-items:center}.party-x{background:transparent;border:0;color:inherit;font-size:18px;cursor:pointer;opacity:.7}.party-x:hover{opacity:1}
.party-modal-note{font-size:12.5px;opacity:.65;margin:0}
.party-friends{overflow:auto;display:flex;flex-direction:column;gap:6px;min-height:60px;font-size:13px}
.party-friend{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;background:rgba(255,255,255,.04)}
.party-friend .av-wrap img{width:34px;height:34px;border-radius:50%;object-fit:cover}.party-fname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.party-friend .party-btn{padding:6px 12px;font-size:12.5px}.party-friend .party-btn:disabled{opacity:.55;cursor:default}
.party-modal-f{font-size:12.5px;color:#2ecc71;min-height:16px}

/* invite modal v2 + thrown gifs */
.party-ftools{display:flex;gap:8px}.party-fsearch{flex:1;min-width:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 12px;color:inherit;outline:0}.party-fsearch:focus{border-color:#2b6cff}
.party-friend{cursor:pointer}.party-friend[hidden]{display:none}.party-friend:hover{background:rgba(255,255,255,.09)}
.party-friend input{accent-color:#2b6cff;width:16px;height:16px;flex:none}
.party-fstate{font-size:11.5px;opacity:.7;white-space:nowrap}
.party-modal-box .party-btn.primary{width:100%;justify-content:center}.party-modal-box .party-btn.primary:disabled{opacity:.5;cursor:default}
.party-bar{position:relative}
.party-gifpanel{position:absolute;left:0;bottom:100%;margin-bottom:8px;width:min(420px,100%);z-index:20}
.party-fly.gif span{font-size:0}.party-fly.gif img{width:150px;max-height:150px;object-fit:contain;border-radius:10px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.6))}
.party-fly.gif{animation-duration:4.6s;animation-name:partyFlyGif}
@keyframes partyFlyGif{0%{opacity:0;transform:translateY(20px) scale(.5) rotate(-6deg)}10%{opacity:1;transform:translateY(-10px) scale(1.05) rotate(3deg)}80%{opacity:1}100%{opacity:0;transform:translateY(-190px) scale(1) rotate(-3deg)}}

.party-react{flex-wrap:wrap;align-items:center}
.party-react .party-gifquick{width:auto;height:34px;padding:2px;border-radius:8px}.party-gifquick img{height:30px;width:auto;border-radius:6px;display:block}
.party-react .party-gifquick:hover{transform:scale(1.15)}

.dm-acts{display:flex;gap:2px;align-items:center}.dm-edit{font-size:11px}.dm-edit:hover{color:#8ab4ff}
.dm-edited{font-size:10px;opacity:.6;margin-left:2px;white-space:nowrap;font-style:normal}
.dm-editbox{width:min(360px,60vw);background:rgba(0,0,0,.25);color:inherit;border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:6px 8px;font:inherit;resize:none;outline:0}
.dm-edithint{display:block;font-size:10px;opacity:.65;margin-top:3px}

.share-card.closed{opacity:.7}.share-card.closed img{filter:grayscale(1)}.share-card.closed small{color:#ff8d8d;opacity:1}

/* ---- fullscreen live chat (fschat.ts) ---- */
.fsc{display:none}
.cp:fullscreen .fsc{display:block}
.fsc-btn{position:absolute;top:14px;right:14px;z-index:6;width:42px;height:42px;border-radius:50%;border:0;background:rgba(20,22,28,.72);color:#fff;font-size:18px;cursor:pointer;backdrop-filter:blur(6px);opacity:0;transition:opacity .25s,background .15s}
.cp.active .fsc-btn,.cp.paused .fsc-btn,.cp.fsc-open .fsc-btn{opacity:1}
.fsc-btn:hover{background:rgba(199,25,25,.9)}
.fsc-badge{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#e02424;color:#fff;font:700 11px/18px sans-serif;font-style:normal;text-align:center}
.fsc-toasts{position:absolute;right:16px;bottom:96px;z-index:5;display:flex;flex-direction:column;gap:8px;width:300px;pointer-events:none}
.fsc-toast{pointer-events:auto;cursor:pointer;display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:12px;background:rgba(18,20,26,.88);backdrop-filter:blur(8px);border-left:3px solid #c71919;color:#fff;box-shadow:0 6px 22px rgba(0,0,0,.5);animation:fscIn .25s ease-out;transition:opacity .3s,transform .3s}
.fsc-toast.out{opacity:0;transform:translateX(24px)}
.fsc-toast>img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none}
.fsc-toast-body{min-width:0;flex:1;display:flex;flex-direction:column;font-size:13px;line-height:1.3}
.fsc-toast-body b{font-size:12.5px;color:#ff8f8f}
.fsc-toast-body span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}
.fsc-toast .fsc-toast-img{width:52px;height:52px;border-radius:8px;object-fit:cover}
@keyframes fscIn{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:none}}
.fsc-panel{position:absolute;top:0;right:0;bottom:0;width:340px;max-width:92%;z-index:7;display:flex;flex-direction:column;background:rgba(14,16,22,.94);backdrop-filter:blur(10px);border-left:1px solid rgba(255,255,255,.08);color:#e8e8ee;animation:fscIn .2s ease-out}
.fsc-panel[hidden]{display:none}
.fsc-head{display:flex;align-items:center;gap:4px;padding:12px 12px 10px 16px;font-size:12px;font-weight:700;letter-spacing:.08em;border-bottom:1px solid rgba(255,255,255,.08)}
.fsc-head span{flex:1}
.fsc-x{width:30px;height:30px;border:0;border-radius:6px;background:transparent;color:#aeb2bd;cursor:pointer;font-size:14px}
.fsc-x:hover{background:rgba(255,255,255,.1);color:#fff}
.fsc-list{flex:1;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:10px}
.fsc-row{display:flex;gap:9px;font-size:13.5px;line-height:1.4}
.fsc-av{width:30px;height:30px;border-radius:50%;object-fit:cover;flex:none}
.fsc-main{min-width:0;flex:1}
.fsc-name{font-size:12.5px;color:#ff8f8f}.fsc-name.me{color:#7fc4ff}
.fsc-text{word-break:break-word}
.fsc-img{display:block;max-width:100%;max-height:150px;border-radius:8px;margin-top:4px}
.fsc-form{display:flex;gap:6px;padding:10px;border-top:1px solid rgba(255,255,255,.08);align-items:center}
.fsc-input{flex:1;min-width:0;height:38px;border-radius:19px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;padding:0 14px;font-size:14px;outline:0}
.fsc-input:focus{border-color:#c71919}
.fsc-tool,.fsc-send{height:36px;min-width:36px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;font-size:15px;font-weight:700}
.fsc-tool:hover{background:rgba(255,255,255,.2)}
.fsc-send{background:#c71919}.fsc-send:hover{background:#e02424}
.fsc-login{padding:14px;text-align:center;font-size:13px;border-top:1px solid rgba(255,255,255,.08)}.fsc-login a{color:#ff8f8f}
.fsc-pop{max-height:240px;overflow-y:auto;margin:0 10px;padding:8px;border-radius:12px;background:#1b1e27;border:1px solid rgba(255,255,255,.1);display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.fsc-pop[hidden]{display:none}
.fsc-pop>button{background:none;border:0;font-size:22px;cursor:pointer;border-radius:6px;padding:3px}.fsc-pop>button:hover{background:rgba(255,255,255,.12)}
.fsc-pop.gif{display:block}
.fsc-giftabs{display:flex;gap:6px;margin-bottom:6px}
.fsc-giftabs button{flex:1;border:0;border-radius:6px;padding:5px;background:rgba(255,255,255,.08);color:#ccc;cursor:pointer;font-size:12px}
.fsc-giftabs button.on{background:#c71919;color:#fff}
.fsc-gifq{width:100%;box-sizing:border-box;margin-bottom:6px;height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;padding:0 10px}
.fsc-gifgrid{display:grid;grid-template-columns:1fr 1fr;gap:5px;font-size:12px;color:#aaa}
.fsc-gifgrid img{width:100%;height:84px;object-fit:cover;border-radius:6px;cursor:pointer}
.video-box{position:relative}
.video-box:fullscreen{height:100%!important;background:#000}
.video-box:fullscreen iframe{width:100%;height:100%}
.video-box:fullscreen .fsc{display:block}
.video-box .fsc-btn{opacity:.9}
.fsc-enter{display:none;position:absolute;top:8px;left:8px;z-index:4;border:0;border-radius:6px;padding:6px 10px;background:rgba(20,22,28,.78);color:#fff;font-size:12px;cursor:pointer}
.fsc-enter:hover{background:#c71919}
.video-box:has(#mainPlayer:not([hidden])) .fsc-enter{display:block}
.video-box:fullscreen .fsc-enter{display:none!important}
.party-video:fullscreen{aspect-ratio:auto;border-radius:0;width:100%;height:100%}
.party-video:fullscreen .fsc{display:block}
.party-video .fsc-btn{opacity:.9}
.fsc-panel .fsc-list{gap:2px;padding:12px 10px}
.fsc-panel .party-msg .party-bubble img.fsc-img{margin:0;max-height:160px}
.fsc-head{font-size:13px;letter-spacing:0;font-weight:600}.fsc-head i{opacity:.6}
.fsc-send{background:#2b6cff}.fsc-send:hover{background:#4580ff}
.fsc-panel .party-new{bottom:64px}
.fsc-input:focus{border-color:#2b6cff}
.fsc-panel{background:rgba(18,20,26,.96)}
.fsc-pop.row{display:flex;justify-content:space-between;max-height:none;overflow:visible;padding:6px 8px}
.fsc-pop.row>button{font-size:24px}

/* ---- forum thread page: roomier layout ---- */
#forumTopic{padding:22px 30px 34px}
#forumTopic .f-crumbs{margin:0 0 18px;font-size:12.5px}
#forumTopic .rd-post{gap:20px;padding:22px 24px;margin:0 0 22px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);border-radius:14px}
#forumTopic .rd-post>.fv{padding-top:2px;gap:4px;min-width:40px}
#forumTopic .fv-b{font-size:15px;padding:6px 8px}
#forumTopic .fv-score{font-size:15px;font-weight:600}
#forumTopic .rd-by{gap:10px;font-size:14px}
#forumTopic .rd-by img{width:44px;height:44px}
#forumTopic .rd-by small{opacity:.6}
#forumTopic .rd-title{font-size:28px;line-height:1.25;margin:14px 0 10px}
#forumTopic .rd-body{font-size:15.5px;line-height:1.75;margin:12px 0 4px}
#forumTopic .rd-acts{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.07);gap:6px}
#forumTopic .rc-btn{font-size:13.5px;padding:6px 12px;background:rgba(255,255,255,.05)}
#forumTopic .rc-btn:hover{background:rgba(255,255,255,.12)}
#forumTopic .rd-count{margin-right:auto;font-size:13.5px;opacity:.8}
#forumTopic .rd-compose{margin:0 0 26px;padding:18px 20px;border:1px solid rgba(255,255,255,.07);border-radius:14px}
#forumTopic .rd-compose-h{font-size:14px;margin-bottom:12px}
#forumTopic .rd-compose-f{margin-top:12px}
#forumTopic .rd-sort{margin:0 0 6px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.07);font-size:13.5px}
#forumTopic .rd-sort a{padding:5px 14px}
#forumTopic .rd-comments{padding-top:6px}
#forumTopic .rc{gap:14px;margin-top:0;padding:18px 0 4px}
#forumTopic .rc-left{width:36px}
#forumTopic .rc-av img{width:36px;height:36px}
#forumTopic .rc-line{margin-top:8px}
#forumTopic .rc-line::after{left:6px}
#forumTopic .rc-by{gap:8px;font-size:13.5px;margin-bottom:2px}
#forumTopic .rc-content .rd-body{font-size:14.5px;line-height:1.65;margin:6px 0}
#forumTopic .rc-acts{margin:6px 0 8px;gap:4px}
#forumTopic .rc-acts .rc-btn{background:none;padding:5px 9px;font-size:13px}
#forumTopic .rc-acts .rc-btn:hover{background:rgba(255,255,255,.1)}
#forumTopic .rc-kids{margin-top:2px}
#forumTopic .rc-kids>.rc{padding-top:12px}
#forumTopic .rc-compose{margin:8px 0 10px}
#forumTopic .empty-note{padding:26px 0;text-align:center}
@media (max-width:760px){#forumTopic{padding:14px 12px 24px}#forumTopic .rd-post{padding:14px;gap:10px}#forumTopic .rd-title{font-size:22px}}

/* ---- forum comments styled like profile comments ---- */
#forumTopic .rd-comments{display:flex;flex-direction:column;padding-top:12px}
#forumTopic .rc{position:relative;display:grid;grid-template-columns:35px 1fr;column-gap:10px;align-items:center;padding:6px 6px 0;margin-top:10px;background:#17191f;border:1px solid #232730;border-radius:8px}
#forumTopic .rc .rc{background:#121419}
#forumTopic .rc-left,#forumTopic .rc-main{display:contents}
#forumTopic .rc-av{grid-column:1;grid-row:1;display:block}
#forumTopic .rc-av img{width:35px;height:35px;border-radius:50%;object-fit:cover}
#forumTopic .rc-by{grid-column:2;grid-row:1;margin:0;padding-right:34px;gap:6px;font-size:13px}
#forumTopic .rc-by>a>b{font-size:14px;color:#fff}
#forumTopic .rc-by small{color:#a2a2a2;font-size:11px}
#forumTopic .rc-content{grid-column:1/-1;grid-row:2;padding:6px 4px 0}
#forumTopic .rc-content .rd-body{font-size:14px;line-height:1.45;color:#e1e1e1;margin:0 0 8px}
#forumTopic .rc-acts{margin:0 -10px;padding:5px 10px;border-top:1px solid #232730;gap:6px;align-items:center}
#forumTopic .rc-acts .rc-btn{background:#232730;opacity:1;color:#fff;font-size:12px;padding:4px 10px;border-radius:4px}
#forumTopic .rc-acts .rc-btn:hover{background:#2d323f}
#forumTopic .rc-acts .rc-btn.del{background:transparent;color:#ff4d4d}
#forumTopic .rc-acts .rc-btn.del:hover{background:rgba(255,77,77,.12)}
#forumTopic .rc-compose{margin:0 -10px;padding:10px;background:#121419;border-top:1px solid #232730}
#forumTopic .rc-kids{grid-column:1/-1;grid-row:3;margin:0 0 8px 15px;padding-left:10px;border-left:2px solid #2d323f}
#forumTopic .rc-kids:empty{display:none;margin:0}
#forumTopic .rc-kids>.rc{margin-top:8px}
#forumTopic .rc-line{position:absolute;top:8px;right:8px;width:26px;height:26px;margin:0;flex:none;border-radius:6px;background:#232730}
#forumTopic .rc-line::after{left:7px;right:7px;top:12px;bottom:auto;width:auto;height:2px;background:#9aa0aa}
#forumTopic .rc-line:hover{background:#2d323f}
#forumTopic .rc.collapsed>.rc-line::after,#forumTopic .rc.collapsed .rc-left .rc-line::after{box-shadow:0 0 0 0 transparent}
#forumTopic .rc.collapsed{padding-bottom:6px}
#forumTopic .rc-compose .comment-input{background:#17191f;min-height:3em}
#forumTopic .rc-compose .rd-compose-f{margin-top:8px}
#forumTopic .rc-line::before{content:"";position:absolute;left:12px;top:6px;width:2px;height:14px;background:#9aa0aa;display:none}
#forumTopic .rc.collapsed>.rc-left>.rc-line::before{display:block}
#forumTopic .rc.collapsed>.rc-left>.rc-line{background:#2d323f}
#forumTopic .rc.collapsed>.rc-left .rc-line{display:block}
#forumTopic .rc.collapsed{padding-bottom:12px}
#forumTopic .rc.collapsed>.rc-by{padding-bottom:0}

/* ---- season page ---- */
.se-title{display:flex;align-items:center;gap:8px}
.se-now{background:#c71919;color:#fff;font-size:10px;letter-spacing:.06em;padding:2px 8px;border-radius:4px;font-weight:700}
.se-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px 12px 4px}
.se-tabs a{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:6px;background:#20232a;border:1px solid #2a2e36;color:#cfd2d8;font-size:13px;font-weight:600}
.se-tabs a:hover{background:#262a33;color:#fff}
.se-tabs a.on{border-color:#d9dce2;color:#fff;background:#1a1c21}
.se-group{padding:16px 12px 0;display:flex;align-items:center;gap:12px}
.se-group span{background:#20232a;border:1px solid #2a2e36;border-radius:6px;padding:4px 12px;font-size:12.5px;font-weight:700;color:#e6e8ec}
.se-group span b{color:#8a8d93;font-weight:600;margin-left:6px}
.se-group::after{content:"";flex:1;height:1px;background:#2a2e36}
.se-empty{text-align:center;padding:44px 20px 52px;color:#9a9ea6}
.se-empty>i{font-size:48px;color:#4a4e58;margin-bottom:14px}
.se-empty b{display:block;color:#e6e8ec;font-size:18px;margin-bottom:8px}
.se-empty p{max-width:420px;margin:0 auto;line-height:1.55}
.se-archive{padding:12px;display:grid;gap:6px}
.se-row{display:grid;grid-template-columns:64px repeat(4,1fr);gap:6px;align-items:stretch}
.se-year{display:flex;align-items:center;justify-content:center;background:#20232a;border-radius:6px;color:#cfd2d8;font-size:13px}
.se-cell{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:6px;background:#20232a;border:1px solid #2a2e36;color:#d0d3d8;font-size:13px}
.se-cell em{margin-left:auto;font-style:normal;color:#7a7e87;font-size:12px}
.se-cell:hover{background:#262a33;color:#fff}
.se-cell.none{opacity:.45}
.se-cell.on{border-color:#d9dce2;opacity:1;color:#fff}
@media (max-width:760px){.se-tabs{grid-template-columns:1fr 1fr}.se-row{grid-template-columns:48px 1fr 1fr}.se-row .se-year{grid-row:span 2}}

/* weekly anime calendar */
.cal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;background:#1f2328;border-bottom:1px solid #17191f}
.cal-title{margin:0;font-size:14px;font-weight:700;letter-spacing:.03em;color:#fff;text-transform:uppercase}
.cal-week{display:block;margin-top:2px;font-size:11px;color:#8b8f98}
.cal-info{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#c5c8ce;white-space:nowrap}
.cal-info:hover{color:#ff9a9a}
.cal-info i{color:#e5484d}
.cal-days{display:flex;overflow-x:auto;background:#23252c;border-bottom:1px solid #17191f;scrollbar-width:none}
.cal-days::-webkit-scrollbar{display:none}
.cal-day{position:relative;flex:1 0 96px;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 8px;border-right:1px solid #1a1c22;color:#c5c8ce;font-size:12.5px;white-space:nowrap}
.cal-day:last-child{border-right:0}
.cal-day:hover{background:#2a2d35;color:#fff}
.cal-day.on{background:#2a2d35;color:#fff}
.cal-day.on::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:#e5484d}
.cal-day.today span{color:#fff;font-weight:600}
.cal-day em{min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:9px;font-style:normal;font-size:11.5px;color:#8b8f98}
.cal-day.on em{background:#e5484d;color:#fff;font-weight:700}
.cal-list{background:#23252c}
.cal-item{display:flex;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #1c1e24;color:#c5c8ce}
.cal-item:last-child{border-bottom:0}
.cal-item:hover{background:#2a2d35;color:#fff}
.cal-time{flex:0 0 44px;font-size:12.5px;font-weight:700;color:#ff9a9a;font-variant-numeric:tabular-nums}
.cal-poster{flex:0 0 40px;width:40px;height:56px;border-radius:4px;overflow:hidden;background:#17191f}
.cal-poster img{display:block;width:100%;height:100%;object-fit:cover}
.cal-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cal-body b{font-size:13px;font-weight:600;color:#e6e8ec;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cal-body small{font-size:11px;color:#8b8f98}
.cal-go{flex:0 0 auto;color:#6f737b;font-size:18px}
.cal-item:hover .cal-go{color:#ff5555}
.cal-empty{padding:38px 18px 42px;text-align:center;color:#9a9ea6}
.cal-empty>i{display:block;margin-bottom:12px;font-size:40px;color:#4a4e58}
.cal-empty b{display:block;margin-bottom:6px;color:#e6e8ec;font-size:16px}
.cal-empty p{margin:0;font-size:12.5px;line-height:1.55}
.cal-note{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid #1c1e24;color:#8b8f98;font-size:11.5px;background:#202228}
.cal-note i{color:#e5484d}
@media (max-width:760px){.cal-day{flex:1 0 88px;font-size:11.5px;padding:10px 6px}.cal-item{gap:9px;padding:8px 10px}.cal-time{flex-basis:38px;font-size:11.5px}.cal-poster{flex-basis:34px;width:34px;height:48px}.cal-body b{font-size:12.5px}}
header.navbar-fixed-top .nav-new{z-index:5;pointer-events:none}
.search-dropdown{max-height:72vh;overflow-y:auto}
.search-dropdown .search-all{display:block;padding:9px 12px;font-size:12.5px;font-weight:600;text-align:center;color:#ff8f8f;background:rgba(255,255,255,.04)}
.search-dropdown .search-all:hover{background:rgba(255,255,255,.1);color:#fff}
#forumTopic .rc-btn.on{color:#ffca28}

/* settings: sections side by side (profile | security, privacy | notifications) */
.set-wide{max-width:1180px;display:grid;grid-template-columns:1fr 1fr;align-items:start}
.set-wide>.block-title,.set-wide>.set-intro,.set-wide>.set-sec:last-child{grid-column:1/-1}
.set-wide>.set-sec{height:100%;box-sizing:border-box}
.set-wide>.set-sec:nth-of-type(odd){border-right:1px solid #14161a}
.set-sec .settings-form{max-width:none}
@media (max-width:900px){.set-wide{grid-template-columns:1fr}.set-wide>.set-sec:nth-of-type(odd){border-right:0}}
.set-wide>.set-sec:last-child{border-right:0}

/* settings: Discord card */
.dc-card{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 18px;border-radius:12px;background:linear-gradient(135deg,rgba(88,101,242,.22),rgba(88,101,242,.06) 60%);border:1px solid rgba(88,101,242,.35)}
.dc-logo{flex:none;width:52px;height:52px;border-radius:14px;background:#5865f2;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(88,101,242,.4)}
.dc-info{flex:1;min-width:180px;display:flex;flex-direction:column;gap:3px}
.dc-info b{font-size:17px;color:#fff}
.dc-info small{color:#8a8d93;font-size:12px;line-height:1.4}
.dc-state{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:99px;background:rgba(255,255,255,.08);color:#b0b3b8}
.dc-state.ok{background:rgba(67,181,129,.16);color:#5fd49a}
.dc-acts{display:flex;gap:8px;flex-wrap:wrap}
.dc-act{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#e6e8ec;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
.dc-act:hover{background:rgba(255,255,255,.14);color:#fff}
.dc-act.danger{color:#ff8f8f;border-color:rgba(255,107,107,.3)}
.dc-act.danger:hover{background:rgba(255,77,77,.16);border-color:rgba(255,107,107,.5)}
.dc-card.off{border-style:dashed}
.dc-card.off .dc-logo{opacity:.9}
.dc-act.primary{background:#5865f2;border-color:#5865f2;color:#fff;padding:10px 18px;box-shadow:0 4px 14px rgba(88,101,242,.35)}
.dc-act.primary:hover{background:#6c78ff}
.auth-remember{display:flex;align-items:center;gap:8px;margin:-2px 0 2px;color:#b0b3b8;font-size:13px;cursor:pointer;user-select:none}
.auth-remember input{width:16px;height:16px;accent-color:#c71919;cursor:pointer}

/* ---- login / register ---- */
.auth-card{width:440px;padding:30px 30px 24px;background:rgba(24,26,32,.94);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.07);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.55)}
.auth-brand{display:block;justify-self:center;margin-bottom:6px}
.auth-brand img{display:block;max-width:230px;max-height:92px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 4px 14px rgba(0,0,0,.5))}
.auth-sub{margin:0 0 22px;color:#8a8d93;font-size:13px;text-align:center}
.auth-tabs{gap:0;padding:4px;background:#14161a;border-radius:10px;margin-bottom:22px}
.auth-tab-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px;border-radius:7px;font-size:14px;font-weight:600;background:transparent}
.auth-tab-btn:hover{color:#d6d9de}
.auth-tab-btn.active{background:linear-gradient(135deg,#c71919,#8f1212);color:#fff;box-shadow:0 4px 14px rgba(199,25,25,.35)}
.auth-form{gap:0;align-items:stretch}
.auth-field{position:relative;margin-bottom:12px}
.auth-field>i.fa{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#5d616b;font-size:15px;pointer-events:none;transition:color .15s}
.auth-field:focus-within>i.fa{color:#ff6b6b}
.auth-field .auth-input{margin:0;height:46px;padding:0 44px 0 42px;font-size:14.5px;background:#14161a!important;border:1px solid #262a32;border-radius:10px;transition:border-color .15s,box-shadow .15s}
.auth-field .auth-input:focus{outline:0;border-color:#c71919;box-shadow:0 0 0 3px rgba(199,25,25,.16)}
.auth-field select.auth-input{appearance:none;color:#8a8d93;cursor:pointer}
.auth-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:#6d717b;cursor:pointer}
.auth-eye:hover{color:#fff;background:rgba(255,255,255,.07)}
.auth-row2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.auth-remember{margin:2px 2px 16px;font-size:13px}
.auth-submit{height:46px;padding:0;border:0;border-radius:10px;background:linear-gradient(135deg,#d41f1f,#9c1414)!important;color:#fff;font-size:15px;font-weight:700;letter-spacing:.02em;box-shadow:0 6px 20px rgba(199,25,25,.35);transition:transform .1s,box-shadow .15s,filter .15s}
.auth-submit:hover{filter:brightness(1.1);box-shadow:0 8px 26px rgba(199,25,25,.5)}
.auth-submit:active{transform:translateY(1px)}
.auth-notice{justify-self:stretch}
.auth-notice:not(:empty){padding:10px 12px;margin-top:14px;border-radius:8px;background:rgba(255,77,77,.1);border:1px solid rgba(255,77,77,.25)}
.auth-notice.ok:not(:empty){background:rgba(77,210,255,.08);border-color:rgba(77,210,255,.25)}
.auth-back{display:inline-flex;align-items:center;gap:6px;margin-top:18px}
@media (max-width:480px){.auth-card{padding:22px 18px}.auth-row2{grid-template-columns:1fr}}

/* login page: fixed full-screen centring, never scrolls the page */
html:has(.auth-center),body:has(.auth-center){overflow:hidden!important;height:100%;padding:0!important;margin:0!important}
.auth-center{position:fixed;inset:0;z-index:2;display:grid;place-items:center;min-height:0;overflow-y:auto;padding:16px;box-sizing:border-box}
.auth-center>.auth-card{margin:0!important;width:440px!important;max-width:100%!important;min-width:0;box-sizing:border-box}
/* the bundled Font Awesome 5 solid font has no f090: use sign-in-alt */
.fa-sign-in:before{content:"\f2f6"}

/* announcement bar: types + marquee */
.site-announcement { --ann: 199,25,25; --ann-ic: #ff6b6b; background: linear-gradient(90deg, rgba(var(--ann),.22), rgba(var(--ann),.08)), #1c1e24; border-color: rgba(var(--ann),.4); border-left-color: rgb(var(--ann)); }
.site-announcement > i.fa { color: var(--ann-ic); }
.site-announcement .ann-link { background: rgb(var(--ann)); }
.site-announcement .ann-link:hover { filter: brightness(1.15); background: rgb(var(--ann)); }
.ann-success { --ann: 34,160,90; --ann-ic: #4be08f; }
.ann-warn { --ann: 214,150,20; --ann-ic: #ffc247; }
.ann-danger { --ann: 199,25,25; --ann-ic: #ff6b6b; }
.ann-info { --ann: 52,120,220; --ann-ic: #6fb0ff; }
.site-announcement.is-scroll { flex-wrap: nowrap; justify-content: flex-start; text-align: left; }
.site-announcement > i.fa, .site-announcement .ann-link { flex: none; }
.ann-marquee { position: relative; flex: 1 1 auto; min-width: 0; height: 22px; overflow: hidden; }
.ann-track { position: absolute; top: 0; white-space: nowrap; line-height: 22px; animation: annLtr 20s linear infinite; will-change: left, transform; }
.ann-track.ltr { animation-name: annLtr; }
.ann-track.rtl { animation-name: annRtl; }
.ann-marquee:hover .ann-track { animation-play-state: paused; }
@keyframes annLtr { from { left: 0; transform: translateX(-100%); } to { left: 100%; transform: translateX(0); } }
@keyframes annRtl { from { left: 100%; transform: translateX(0); } to { left: 0; transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ann-track { animation: none; position: static; } .ann-marquee { height: auto; } }
.ann-preview { grid-column: 1 / -1; padding: 6px 0 2px; }
.ann-preview .site-announcement { margin: 0 0 6px; max-width: none; }

/* background wall: compositor-only animation, lighter layers */
.bg-wall-track { align-items: flex-start; top: -50%; left: -50%; width: 200vw; height: 200vh; filter: none; opacity: .25; will-change: auto; }
.bg-column { animation: wallScroll 60s linear infinite; will-change: transform; }
.cover-card { box-shadow: none; }
.bg-wall-track.paused .bg-column { animation-play-state: paused; }
@keyframes wallScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(var(--wall-h) * -1), 0); } }

/* forum: edit + moderator-deleted */
.fp-edited { color: #8c959f; font-style: italic; }
#forumTopic .fp-body.editing { outline: 2px solid rgba(199,25,25,.6); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,.04); min-height: 60px; }
#forumTopic .edit-bar { margin-top: 8px; display: flex; gap: 8px; justify-content: flex-end; }
#forumTopic input.auth-input { width: 100%; margin: 6px 0; }
.rc-modgone .rc-gone { margin: 4px 0 6px; padding: 8px 12px; border-radius: 8px; background: rgba(199,25,25,.1); border: 1px dashed rgba(199,25,25,.4); color: #b9bec6; font-style: italic; font-size: 13px; }
.rc-modgone .rc-gone i { color: #ff6b6b; margin-right: 6px; font-style: normal; }
.rc-av.gone { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #2a2d35; color: #8c959f; }
