/*
 * animeflv-community.css — the community area in animeflv's visual language:
 * the board, a post, create / edit, My Zone, Super X (body.af-cy), the
 * leaderboard (body.af-lb-page), the guides (body.af-gd) and the request
 * queue (body.af-rq-page). animeflv.net drew none of these; they are built
 * from css.css's own classes (.Title.Page, .WdgtCn, .Wdgt, .ListSdbr, the
 * dormant .LoMasVisto ranking list, .Order, .Button.StylC/.Sm, .Nvgnrs,
 * .Sect modals, .ListNews, .Norslts, .NoteInfo, .Msj) per
 * tmp/visual/GUIDE.md, plus the af-cy- / af-lb- / af-gd- / af-rq- pieces
 * below. Loaded on every page by the layout, so every rule is scoped to an
 * area class, an area body class or an engine id/class only these pages
 * emit (.cm-poll, .tl-*, .poll-*, #tl-search-modal, .req-*).
 *
 * Palette (animeflv): slate #3b4248, accent #01bcf3, orange #ff7e00,
 * red #fb3447, green #00b046, yellow #ffc107, text #9da1a4 / #666 / #bbb,
 * hairlines #f3f3f3 / #efefef, field border #e8e7f0.
 */

/* ── 1. Shared pieces ──────────────────────────────────────────────────── */

/* Box heads written as h2 (css.css styles `.WdgtCn .Top .Title` by class). */
.af-cy .WdgtCn > .Top > .Title, .af-lb-page .WdgtCn > .Top > .Title,
.af-gd .WdgtCn > .Top > .Title, .af-rq-page .WdgtCn > .Top > .Title { margin-bottom: 0; padding-right: 110px; }
.af-cy .WdgtCn > .Top > h1.Title { font-size: 25px; line-height: 30px; padding-right: 0; }

/* Topic colours (admin-picked names), used by the pills and dots. */
.af-cy-c-blue { --af-cy: #01bcf3; }
.af-cy-c-sky { --af-cy: #29b6f6; }
.af-cy-c-cyan { --af-cy: #00acc1; }
.af-cy-c-teal { --af-cy: #00897b; }
.af-cy-c-green { --af-cy: #00b046; }
.af-cy-c-lime { --af-cy: #7cb342; }
.af-cy-c-yellow { --af-cy: #f9a825; }
.af-cy-c-amber { --af-cy: #ffb300; }
.af-cy-c-orange { --af-cy: #ff7e00; }
.af-cy-c-coral { --af-cy: #ff7043; }
.af-cy-c-red { --af-cy: #fb3447; }
.af-cy-c-pink { --af-cy: #ec407a; }
.af-cy-c-purple { --af-cy: #d500f9; }
.af-cy-c-white, .af-cy-c-gray { --af-cy: #9da1a4; }

/* Topic pill: animeflv's `.Type` label (10px/700 upper, r8) in the topic colour. */
.af-cy-tag {
    display: inline-block; vertical-align: top; height: 16px; line-height: 16px; padding: 0 8px; margin: 2px 6px 0 0;
    border-radius: 8px; background-color: var(--af-cy, #9da1a4); color: #fff !important;
    font-size: 10px; font-weight: 700; text-transform: uppercase; white-space: nowrap;
}
a.af-cy-tag:hover { opacity: .8; }
.af-cy-dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; margin: 0 8px 0 0; vertical-align: middle; background-color: var(--af-cy, #9da1a4); }
.af-cy-pin { display: inline-block; margin-right: 6px; color: #ff7e00; font-weight: 700; text-transform: uppercase; font-size: 10px; }
.af-cy-pin:before { margin-right: 4px; vertical-align: baseline; }
.af-cy-rank { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 8px; background-color: rgba(59, 66, 72, .06); color: #9da1a4; font-size: 10px; line-height: 16px; font-weight: 700; }
.af-cy-author { color: #01bcf3; font-weight: 700; }
.af-cy-author .badg-level { width: 14px; height: 14px; min-width: 14px; min-height: 14px; vertical-align: -2px; margin-right: 3px; }

/* Loading line (animeflv's search loader + "Cargando..."). */
.af-cy-loading, .af-rq-loading { padding: 15px 0 0; margin: 0; text-align: center; font-size: 12px; line-height: 16px; color: #9da1a4; }
.af-cy-loading img, .af-rq-loading img { vertical-align: -3px; margin-right: 5px; }
.af-cy-empty { color: #9da1a4; font-size: 13px; }
.af-cy-empty a { color: #01bcf3; font-weight: 700; }

/* Head: the section switch `.Order` (css.css pins it right ≥1020). */
.af-cy-head, .af-lb-head { position: relative; }

/* Small drop-down menus (BS3 .dropdown-menu, opened by main.js: `.show` on
   the parent). css.css's BS3 `.show{display:block!important}` would turn an
   inline parent into a block; these wrappers live in flex rows. */
.af-cy-menu { min-width: 180px; max-height: 320px; overflow-y: auto; padding: 5px 0; margin-top: 4px; border: 0; border-radius: 3px; box-shadow: 0 0 5px rgba(0, 0, 0, .15); font-size: 13px; }
.af-cy-menu .dropdown-item { padding: 6px 15px; color: #3b4248; line-height: 20px; }
.af-cy-menu .dropdown-item:hover { background-color: rgba(1, 188, 243, .08); color: #01bcf3; }
.af-cy-menu .dropdown-item.active { background-color: #01bcf3; color: #fff; }
.af-cy-menu .dropdown-item.af-cy-danger { color: #fb3447; }
.af-cy-menu .dropdown-item.af-cy-danger:hover { background-color: rgba(251, 52, 71, .08); }

/* animeflv's ranking widget grown into a list (GUIDE §12.9). */
.af-lb.LoMasVisto .Bod { max-height: none; }
.af-lb .ListSdbr { counter-reset: af-rank; }
.af-lb .ListSdbr > li > a { padding-right: 95px; }
.af-lb .ListSdbr > li > a:after {
    counter-increment: af-rank; content: counter(af-rank);
    position: absolute; left: 15px; top: 0; z-index: 2; width: 40px; line-height: 40px; text-align: center;
    font-size: 12px; font-weight: 700; color: #9da1a4;
}
.af-lb .ListSdbr > li:first-child > a:after { color: #ffc107; }
.af-lb .ListSdbr > li:nth-child(2) > a:after { color: #b0bec5; }
.af-lb .ListSdbr > li:nth-child(3) > a:after { color: #b0730b; }
.af-lb .ListSdbr > li:nth-child(n+4) > a:before { opacity: .15; }
.af-lb .ListSdbr > li > a:hover:after { color: #01bcf3; }
.af-lb .ListSdbr .Caps { font-size: 11px; }
.af-lb .ListSdbr .Caps:before { margin-right: 4px; vertical-align: baseline; }
.af-lb .af-av { flex: none; }
.af-lb .af-lb-poster { border-radius: 3px; height: 32px; width: 23px; margin-top: -8px; margin-bottom: -6px; }

/* ── 2. Community pages: board ─────────────────────────────────────────── */
.af-cy-board > .Top { margin-bottom: 10px; }
.af-cy-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f3f3f3; }
.af-cy-topic { position: relative; }
.af-cy-topic.show { display: block !important; }
.af-cy-topic-btn { font-size: 12px; }
.af-cy-topic-btn strong { margin-left: 4px; }
.af-cy-topic-btn span { margin-left: 6px; }
.af-cy-topic-btn span:before { margin-right: 0; vertical-align: baseline; }
.af-cy-topic .af-cy-menu { left: 0; }
/* The sort pill: css.css's `.Title .Order` (its links are `.dropdown-item`s
   for community.min.js — undo the bridge's menu-item look). */
.af-cy-sorts { font-size: 15px; }
.af-cy-sorts .Order { position: static !important; padding-top: 0; white-space: nowrap; }
.af-cy-sorts .Order > a.dropdown-item { display: inline-block; clear: none; padding: 0 12px; min-width: 0; color: #fff; background-color: #3b4248; line-height: 30px; font-weight: 700; white-space: nowrap; }
.af-cy-sorts .Order > a.dropdown-item:hover { background-color: #01bcf3; color: #fff; }
.af-cy-sorts .Order > a.dropdown-item.active { background-color: #01bcf3; color: #fff; }
.af-cy-note { margin-bottom: 15px; }

/* The pinned bar (`.pin-group`, page 1 of the feed). */
.af-cy-pins { margin: 0 0 15px; border: 1px solid rgba(255, 126, 0, .25); border-radius: 3px; background-color: rgba(255, 126, 0, .04); }
.af-cy-pins-head { padding: 8px 15px 0; font-size: 10px; font-weight: 700; color: #ff7e00; letter-spacing: .5px; }
.af-cy-pins-head:before { margin-right: 6px; vertical-align: baseline; }
.af-cy-pins .ListSdbr { padding: 2px 0 5px; }
.af-cy-pins .ListSdbr li a { padding: 6px 60px 6px 15px; font-size: 13px; color: #3b4248; line-height: 20px; }
.af-cy-pins .ListSdbr li a:hover { color: #01bcf3; }
.af-cy-pins .ListSdbr .Caps { line-height: 32px; font-size: 11px; }
.af-cy-pins .ListSdbr .Caps:before { margin-right: 4px; vertical-align: baseline; }
.af-cy-pins .af-cy-tag { margin-top: 2px; }

/* One post card (GUIDE §12.10) with the vote column. Inside the feed box
   the cards are rows split by a hairline, not boxes in a box. */
.af-cy-post { position: relative; display: flex; gap: 15px; }
.af-cy-board .af-cy-post { margin: 0; padding: 15px 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid #f3f3f3; }
.af-cy-board .post-list > .af-cy-post:last-of-type { border-bottom: 0; }
.af-cy-vote { flex: none; width: 36px; text-align: center; padding-top: 2px; }
.af-cy-vote .lp-btn-vote { display: block; width: 36px; height: 26px; line-height: 26px; border-radius: 13px; color: #b0bec5; font-size: 0; }
.af-cy-vote .lp-btn-vote:before { margin: 0; font-size: 14px; line-height: 26px; vertical-align: top; }
.af-cy-vote .lp-btn-vote:hover { color: #01bcf3; background-color: rgba(1, 188, 243, .1); }
.af-cy-vote .lp-btn-vote.active[data-type="1"] { color: #fff; background-color: #01bcf3; }
.af-cy-vote .lp-btn-vote.active[data-type="0"] { color: #fff; background-color: #fb3447; }
.af-cy-vote .like-value, .af-cy-vote .dislike-value { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.af-cy-score { display: block; font-size: 13px; line-height: 22px; color: #3b4248; font-weight: 700; }
.af-cy-body { flex: 1; min-width: 0; }
.af-cy-post .af-meta { margin-bottom: 5px; }
.af-cy-post > .af-cy-body > .Top { margin-bottom: 5px; }
.af-cy-post .Top .Title { font-size: 17px; line-height: 22px; letter-spacing: -.5px; margin: 0; padding: 0; overflow-wrap: anywhere; }
.af-cy-post .Top .Title a { color: #3b4248; }
.af-cy-post .Top .Title a:hover { color: #01bcf3; }
.af-cy-post .Description { margin-bottom: 0; }
.af-cy-post .Description p { font-size: 12px; line-height: 20px; color: #9da1a4; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.af-cy-post .af-acts { display: flex; flex-wrap: wrap; align-items: flex-start; margin-top: 10px; }
.af-cy-post .af-acts .Button { margin: 0 5px 5px 0; }
.af-cy-is-pinned .af-cy-vote .af-cy-score { color: #ff7e00; }

/* The format teaser (posters + "Encuesta · 3 opciones · 5 votos"). */
.cm-teaser { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; max-width: 100%; }
.cm-teaser-posters { display: inline-flex; gap: 4px; flex: none; }
.cm-teaser-posters img { width: 34px; height: 46px; object-fit: cover; border-radius: 3px; box-shadow: 0 3px 5px rgba(0, 0, 0, .1); }
.cm-teaser-meta { display: inline-block; padding: 0 12px; line-height: 25px; border-radius: 20px; background-color: rgba(1, 188, 242, .1); color: #01bcf2; font-size: 10px; font-weight: 700; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cm-teaser:hover .cm-teaser-meta { background-color: #01bcf2; color: #fff; }
.cm-teaser-meta:before { margin-right: 6px; vertical-align: baseline; }

/* Card actions: chips; Guardar solid when saved; the "⋯" menu. */
.af-cy .af-acts .Button.active, .af-cy .af-acts .Button.is-on { background-color: #01bcf2; color: #fff; }
.af-cy .af-acts .Button.af-cy-danger { background-color: rgba(251, 52, 71, .1); color: #fb3447; }
.af-cy .af-acts .Button.af-cy-danger:hover { background-color: #fb3447; color: #fff; }
.af-cy-menu-wrap { position: relative; }
.af-cy-menu-wrap.show { display: block !important; }
.af-cy-menu-btn:before { margin-right: 0 !important; }
.af-cy-menu-wrap .af-cy-menu { right: 0; left: auto; min-width: 150px; }

/* The pager (`.btn.d-flex` wrapper kept for community.min.js). */
.af-cy-more-wrap { display: flex !important; justify-content: center; padding: 15px 0 0; margin: 0; border: 0; background: none; box-shadow: none; width: 100%; cursor: default; white-space: normal; }
.af-cy-more-wrap .Button { margin: 0 auto; font-size: 12px; }

/* ── 3. Sidebar ─────────────────────────────────────────────────────────── */
.af-cy-topics .Bod { padding: 15px 0 10px; }
.af-cy-search { display: block; position: relative; margin: 0 15px 10px; }
.af-cy-search input { margin-bottom: 0; height: 36px; font-size: 13px; padding-left: 40px; }
.af-cy-search i { position: absolute; left: 0; top: 0; width: 40px; line-height: 36px; text-align: center; color: #3b4248; opacity: .3; }
.af-cy-search i:before { margin: 0; vertical-align: baseline; }
.af-cy-search input:focus + i { opacity: 1; color: #01bcf3; }
.af-cy-search-form { margin: 0; }
.af-cy-topics .ListSdbr li a { padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
.af-cy-topics .ListSdbr .Caps { line-height: 36px; }
.af-cy-topics .ListSdbr li a.af-on { color: #01bcf3; font-weight: 700; }
.af-cy-topics .ListSdbr li a.af-on:before { opacity: 1; color: #01bcf3; }
.af-cy-topics .ListSdbr li a:before { width: 15px; text-align: center; }
.af-cy-topics .ListSdbr li a.fa-circle:before { color: var(--af-cy, #9da1a4); opacity: .6; font-size: 10px; }
.af-cy-topics .ListSdbr li a.fa-circle:hover:before, .af-cy-topics .ListSdbr li a.fa-circle.af-on:before { opacity: 1; color: var(--af-cy, #9da1a4); }
.af-cy-topweek .Bod, .af-cy-moreposts .Bod { padding-bottom: 15px; }
.af-cy-more { margin-top: 10px !important; font-size: 12px; }
.af-cy-rules { margin: 0 0 20px !important; }
.af-cy-rules a { color: #01bcf3; font-weight: 700; }
.af-cy-moreposts .ListSdbr li a { font-size: 13px; }
.af-cy-moreposts .ListSdbr .Caps { font-size: 11px; }

/* ── 4. Modals: animeflv's `.Sect` dialog (#ReportModal) ────────────────── */
.af-cy-modal .Sect > .Bod, .af-rq-modal .Sect > .Bod { padding: 20px; }
.af-cy-modal .Sect > .Top, .af-rq-modal .Sect > .Top { padding-left: 15px; }
.af-cy-modal .Sect > .Top:before, .af-rq-modal .Sect > .Top:before { margin-right: 10px; }
.af-cy-modal .Sect > .Top .close:before, .af-rq-modal .Sect > .Top .close:before { margin-right: 0; }
.af-cy-modal .form-group > label { color: #666; }
.af-cy-modal textarea.form-control { height: auto; min-height: 90px; resize: vertical; }
.af-cy-count { display: block; text-align: right; font-size: 11px; color: #bbb; margin-top: 4px; }
.af-cy-modal-note { font-size: 12px; color: #9da1a4; margin: 0 0 15px; }
.af-cy-modal-note[hidden] { display: none; }
.af-cy-modal select, .af-cy-form select { width: 100%; }

/* ── 5. Forms (board dialog + full editor) ──────────────────────────────── */
.af-cy-form textarea { min-height: 120px; resize: vertical; }
.af-cy-toolbar { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.af-cy-toolbar .Button { margin: 0; line-height: 20px; height: 20px; font-size: 10px; }
.af-cy-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin-top: 5px; }
.af-cy-form-foot > * { margin-bottom: 0 !important; }
.af-cy-form-foot button.StylB { background-color: #01bcf3; }
.af-cy-form-foot button.StylB:hover { opacity: .8; }
.af-cy-form-foot button.StylB[disabled] { opacity: .5; cursor: default; }
.af-cy-full { font-size: 12px; color: #01bcf3; font-weight: 700; }
.af-cy-mana-note { margin: 15px 0 0 !important; }
.af-cy-mana { font-size: 12px; color: #ff7e00; font-weight: 700; }
.af-cy-mana:before { margin-right: 5px; vertical-align: baseline; }
.af-cy-cancel { height: 40px; line-height: 20px; }
.af-cy-md-help { font-size: 11px; color: #bbb; margin: -8px 0 15px; }
.af-cy-md-help code { padding: 1px 5px; border-radius: 3px; background-color: rgba(59, 66, 72, .05); color: #666; font-size: 11px; }
.af-cy-form .Form-Error input, .af-cy-form .Form-Error textarea { border-color: #f24343; }

/* Topic radios as animeflv's light-blue `.Nvgnrs` chips (checked = solid). */
.af-cy-form .cp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; font-size: 12px; }
.af-cy-form .cp-tag { position: relative; display: inline-flex; align-items: center; margin: 0; padding: 0 14px; line-height: 30px; border-radius: 20px; background-color: rgba(1, 188, 242, .1); color: #01bcf2; font-weight: 700; cursor: pointer; transition: all .2s linear; }
.af-cy-form .cp-tag:hover { background-color: rgba(1, 188, 242, .2); }
.af-cy-form .cp-tag.is-on { background-color: #01bcf2; color: #fff; }
.af-cy-form .cp-tag.is-on .af-cy-dot { box-shadow: 0 0 0 2px #fff; }
.af-cy-form .cp-tag input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.af-cy-form .cp-tag small { margin-left: 6px; font-size: 9px; text-transform: uppercase; opacity: .7; }

/* Builders (tier list / poll) on a light panel. */
.af-cy-builder { margin-bottom: 15px; padding: 15px; border-radius: 3px; background-color: rgba(59, 66, 72, .03); border: 1px solid #efefef; }
.af-cy-builder-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 15px; margin-bottom: 10px; font-size: 12px; color: #9da1a4; }
.af-cy-builder-head .af-lbl { margin: 0; }
.tl-builder .tl-rows { margin-bottom: 10px; }
.tl-builder .tl-brow { display: flex; align-items: stretch; min-height: 64px; margin-bottom: 4px; background-color: #fff; border-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); overflow: hidden; }
.tl-builder .tl-label { flex: none; width: 70px; display: flex; align-items: center; }
.tl-builder .tl-label-input { height: 100%; min-height: 64px; margin: 0; padding: 0 5px; border: 0; border-radius: 0; background: transparent; color: #fff; text-align: center; font-weight: 700; font-size: 18px; }
.tl-builder .tl-bitems { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 5px; }
.tl-builder .tl-bitem { position: relative; width: 40px; height: 54px; border-radius: 3px; overflow: hidden; background-color: #eceff1; }
.tl-builder .tl-bitem img { width: 100%; height: 100%; object-fit: cover; }
.tl-builder .tl-bitem-ph { display: block; width: 100%; height: 100%; }
.tl-builder .tl-bitem-x { position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; line-height: 15px; border-radius: 8px; text-align: center; background-color: #fb3447; color: #fff; font-size: 12px; opacity: 0; }
.tl-builder .tl-bitem:hover .tl-bitem-x { opacity: 1; }
.tl-builder .tl-add-item { width: 40px; height: 54px; margin: 0; padding: 0; border-radius: 3px; background-color: rgba(1, 188, 242, .1); color: #01bcf2; font-size: 14px; }
.tl-builder .tl-add-item:hover { background-color: #01bcf2; color: #fff; }
.tl-builder .tl-rowtools { flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; border-left: 1px solid #f3f3f3; }
.tl-builder .tl-tool { display: block; width: 22px; line-height: 16px; text-align: center; color: #9da1a4; font-size: 11px; }
.tl-builder .tl-tool:hover { color: #01bcf3; }
.tl-builder .tl-tool.tl-remove-row:hover { color: #fb3447; }
.tl-builder .tl-tool.is-off { opacity: .25; pointer-events: none; }
.tl-toolbar, .poll-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-toolbar .Button, .poll-toolbar .Button, .poll-season-bar .Button { margin: 0; line-height: 20px; height: 20px; }
.tl-count, .poll-count, .tl-limits { font-size: 11px; color: #9da1a4; }
/* Tier colours (author content; community.min.js writes tl-c-*). */
.tl-c-red { background-color: #ff7f7f; }
.tl-c-orange { background-color: #ffbf7f; }
.tl-c-amber { background-color: #ffdf7f; }
.tl-c-yellow { background-color: #f7e15b; }
.tl-c-green { background-color: #7fdf7f; }
.tl-c-teal { background-color: #6fd6c6; }
.tl-c-blue { background-color: #7fbfff; }
.tl-c-purple { background-color: #b49cf0; }
.tl-c-pink { background-color: #ff8fc7; }
.tl-c-gray { background-color: #b0bec5; }
.poll-builder .poll-options { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.poll-builder .poll-opt { display: flex; align-items: center; gap: 10px; padding: 5px 10px 5px 5px; background-color: #fff; border-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); font-size: 13px; color: #3b4248; }
.poll-builder .poll-opt img, .poll-builder .poll-opt-ph { flex: none; width: 34px; height: 46px; object-fit: cover; border-radius: 3px; background-color: #eceff1; }
.poll-builder .poll-rank { flex: none; width: 22px; text-align: center; font-weight: 700; color: #ff7e00; }
.poll-builder .poll-opt-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.poll-builder .poll-opt-tools { flex: none; display: flex; gap: 4px; }
.poll-builder .poll-opt-tools a { display: block; width: 22px; line-height: 22px; text-align: center; color: #9da1a4; border-radius: 11px; }
.poll-builder .poll-opt-tools a:hover { background-color: rgba(1, 188, 243, .1); color: #01bcf3; }
.poll-builder .poll-opt-x { font-size: 16px; }
.poll-builder .poll-opt-x:hover { color: #fb3447 !important; background-color: rgba(251, 52, 71, .1) !important; }
.poll-builder .poll-empty { padding: 10px; text-align: center; font-size: 12px; color: #9da1a4; }
.poll-builder .poll-type-switch { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.poll-builder .poll-switch { height: 26px; margin: 0; padding: 0 12px; border-radius: 13px; font-size: 11px; line-height: 26px; }
.poll-builder .poll-switch.btn-secondary { background-color: rgba(1, 188, 242, .1); color: #01bcf2; border: 0; }
.poll-builder .poll-switch.btn-primary { background-color: #01bcf2; color: #fff; border: 0; }
.poll-season-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.poll-season-bar select, .poll-season-bar input { width: auto; flex: 1 1 120px; margin: 0; }
/* The anime search dialog community.min.js appends to <body> (BS4 shell). */
#tl-search-modal .modal-content { border: 0; border-radius: 3px; box-shadow: none; }
#tl-search-modal .modal-header { padding: 15px 20px; border-bottom: 1px solid #f3f3f3; }
#tl-search-modal .modal-title { margin: 0; font-size: 20px; font-weight: 300; color: #3b4248; }
#tl-search-modal .close { width: 30px; height: 30px; padding: 0; margin: 0; border-radius: 15px; background-color: #fb3447; color: #fff; opacity: 1; text-shadow: none; font-size: 20px; line-height: 30px; }
#tl-search-modal .modal-body { padding: 20px; }
#tl-search-modal #tl-search-input { margin-bottom: 10px; }
#tl-search-modal .tl-search-results { max-height: 360px; overflow-y: auto; }
#tl-search-modal .tl-search-item { display: flex; align-items: center; gap: 10px; padding: 5px; border-bottom: 1px solid #f3f3f3; color: #3b4248; font-size: 13px; }
#tl-search-modal .tl-search-item:hover { background-color: rgba(1, 188, 243, .06); color: #01bcf3; }
#tl-search-modal .tl-search-item img { flex: none; width: 34px; height: 46px; object-fit: cover; border-radius: 3px; }
#tl-search-modal .tl-search-name { flex: 1; min-width: 0; font-weight: 700; }
#tl-search-modal .tl-search-name em { font-weight: 400; color: #9da1a4; font-style: normal; }
#tl-search-modal .tl-search-state { flex: none; font-size: 11px; color: #01bcf2; font-weight: 700; }
#tl-search-modal .tl-search-item.is-added { opacity: .55; }
#tl-search-modal .tl-search-hint { padding: 15px 5px; font-size: 12px; color: #9da1a4; text-align: center; }

/* ── 6. A post ─────────────────────────────────────────────────────────── */
.af-cy-crumbs a { color: #3b4248; }
.af-cy-crumbs a:hover { color: #01bcf3; }
.af-cy-crumbs strong { color: #9da1a4; font-weight: 400; }
.af-cy-article > .af-meta { margin-bottom: 5px; }
.af-cy-article > .Top { margin-bottom: 10px; }
.af-cy-article > .Top .Title { overflow-wrap: anywhere; }
.af-cy-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f3f3f3; font-size: 13px; }
.af-cy-byline-av img { display: block; width: 32px; height: 32px; border-radius: 16px; object-fit: cover; }
.af-cy-byline .af-cy-rank { margin-left: 0; }
.af-cy-score-line { margin-left: auto; font-size: 12px; color: #9da1a4; }
.af-cy-score-line strong { color: #3b4248; }
.af-cy-text { font-size: 14px; line-height: 22px; color: #666; overflow-wrap: anywhere; }
.af-cy-text > *:last-child { margin-bottom: 0; }
.af-cy-text p { margin-bottom: 12px; }
.af-cy-text blockquote { margin: 0 0 12px; padding: 5px 15px; border-left: 3px solid #01bcf3; background-color: rgba(1, 188, 243, .05); color: #666; }
.af-cy-text a { color: #01bcf3; font-weight: 700; }
.af-cy-text img { max-width: 100%; height: auto; border-radius: 3px; }
.af-cy-text ul, .af-cy-text ol { margin-left: 20px; }
.af-cy-article .af-acts { display: flex; flex-wrap: wrap; margin-top: 20px; }
.af-cy-article .af-acts .Button { margin: 0 5px 5px 0; }
.af-cy-article .lp-btn-vote.active[data-type="0"] { background-color: #fb3447; color: #fff; }
.af-cy-share { margin-top: 10px; }
.af-cy-comments #community-comments { min-height: 60px; }

/* Post formats: a light panel. */
.af-cy-fmt { margin: 0 0 15px; padding: 15px; border-radius: 3px; background-color: rgba(59, 66, 72, .03); border: 1px solid #efefef; }
.af-cy-fmt .cm-poll-head { margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #3b4248; text-transform: uppercase; }
.af-cy-fmt .cm-poll-head i { color: #ff7e00; }
.af-cy-fmt .cm-poll-head i:before { margin-right: 4px; vertical-align: baseline; }
/* Poll: pill rows. */
.cm-poll-options { display: flex; flex-direction: column; gap: 6px; }
.cm-poll-row { display: flex; align-items: center; gap: 6px; }
.cm-poll-opt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; margin: 0; padding: 6px 12px 6px 6px; border: 1px solid #efefef; border-radius: 5px; background-color: #fff; color: #3b4248; font-weight: 400; text-align: left; cursor: pointer; }
.cm-poll-opt:hover { background-color: rgba(1, 188, 243, .06); border-color: rgba(1, 188, 243, .4); }
.cm-poll-opt.is-mine { border-color: #01bcf3; background-color: rgba(1, 188, 243, .06); }
.cm-poll-poster { flex: none; }
.cm-poll-poster img { display: block; width: 34px; height: 46px; object-fit: cover; border-radius: 3px; }
.cm-poll-body { flex: 1; min-width: 0; display: block; }
.cm-poll-title { display: block; font-size: 13px; font-weight: 700; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-poll-bar { display: block; height: 6px; margin: 5px 0 4px; border-radius: 3px; background-color: #eceff1; overflow: hidden; }
.cm-poll-bar > span { display: block; height: 100%; border-radius: 3px; background-color: #b0bec5; transition: width .4s; }
.cm-poll-opt.is-mine .cm-poll-bar > span { background-color: #01bcf3; }
.cm-poll-meta { display: block; font-size: 11px; line-height: 14px; color: #9da1a4; }
.cm-poll-link { flex: none; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 15px; color: #9da1a4; }
.cm-poll-link:before { margin: 0; vertical-align: baseline; }
.cm-poll-link:hover { background-color: rgba(1, 188, 243, .1); color: #01bcf3; }
/* Matchup: two cards + VS. */
.cm-matchup-row { display: flex; align-items: center; gap: 10px; }
.cm-matchup-card { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 10px; border: 1px solid #efefef; border-radius: 5px; background-color: #fff; color: #3b4248; font-weight: 400; cursor: pointer; }
.cm-matchup-card:hover { border-color: rgba(1, 188, 243, .4); background-color: rgba(1, 188, 243, .04); }
.cm-matchup-card.is-mine { border-color: #01bcf3; background-color: rgba(1, 188, 243, .06); }
.cm-matchup-card img { width: 100%; max-width: 150px; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 5px; box-shadow: 0 3px 5px rgba(0, 0, 0, .1); }
.cm-matchup-title { font-size: 13px; font-weight: 700; line-height: 18px; text-align: center; overflow-wrap: anywhere; }
.cm-matchup-cta { font-size: 11px; color: #01bcf2; font-weight: 700; text-transform: uppercase; }
.cm-matchup-pct { font-size: 22px; font-weight: 700; line-height: 26px; color: #3b4248; }
.cm-matchup-card.is-mine .cm-matchup-pct { color: #01bcf3; }
.cm-matchup-votes { font-size: 11px; color: #9da1a4; }
.cm-matchup-vs { flex: none; width: 40px; height: 40px; line-height: 40px; border-radius: 20px; text-align: center; background-color: #3b4248; color: #fff; font-weight: 700; font-size: 12px; box-shadow: inset 0 0 10px rgba(0, 0, 0, .2); }
/* Recommendation rail. */
.cm-rec-refs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; }
.cm-rec-item { flex: none; width: 100px; color: #000; font-size: 12px; font-weight: 700; line-height: 16px; text-align: center; }
.cm-rec-item img { display: block; width: 100px; height: 140px; object-fit: cover; border-radius: 5px; margin-bottom: 5px; box-shadow: 0 3px 5px rgba(0, 0, 0, .1); }
.cm-rec-item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cm-rec-item:hover { color: #01bcf3; }
/* Seasonal ranking rows. */
.cm-seasonal-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.cm-seasonal-list > li { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid #efefef; }
.cm-seasonal-list > li:last-child { border-bottom: 0; }
.cm-seasonal-rank { flex: none; width: 28px; height: 28px; line-height: 28px; border-radius: 14px; text-align: center; font-size: 12px; font-weight: 700; color: #9da1a4; background-color: rgba(59, 66, 72, .05); }
.cm-seasonal-list > li:nth-child(1) .cm-seasonal-rank { background-color: #ffc107; color: #fff; }
.cm-seasonal-list > li:nth-child(2) .cm-seasonal-rank { background-color: #b0bec5; color: #fff; }
.cm-seasonal-list > li:nth-child(3) .cm-seasonal-rank { background-color: #b0730b; color: #fff; }
.cm-seasonal-list a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: #3b4248; font-size: 13px; font-weight: 700; }
.cm-seasonal-list a:hover { color: #01bcf3; }
.cm-seasonal-list img { flex: none; width: 30px; height: 42px; object-fit: cover; border-radius: 3px; }
.cm-seasonal-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-seasonal-gone { font-size: 12px; color: #bbb; }
/* Tier list (read-only). */
.tl-view .tl-row { display: flex; min-height: 60px; margin-bottom: 3px; border-radius: 3px; overflow: hidden; background-color: #fff; }
.tl-view .tl-label { flex: none; width: 70px; display: flex; align-items: center; justify-content: center; padding: 5px; color: #fff; font-weight: 700; font-size: 16px; text-align: center; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.tl-view .tl-items { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; }
.tl-view .tl-item { display: block; width: 38px; height: 52px; border-radius: 3px; overflow: hidden; background-color: #eceff1; }
.tl-view .tl-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.tl-view .tl-item:hover img { opacity: .8; }
.tl-view .tl-empty { align-self: center; padding: 0 8px; font-size: 11px; color: #bbb; }

/* ── 7. My Zone ─────────────────────────────────────────────────────────── */
.af-cy-rows { margin: 0; padding: 0; list-style: none; }
.af-cy-rows > li { padding: 12px 0; border-bottom: 1px solid #f3f3f3; }
.af-cy-rows > li:first-child { padding-top: 0; }
.af-cy-rows > li:last-child { border-bottom: 0; padding-bottom: 0; }
.af-cy-rows .af-meta { margin-bottom: 3px; }
.af-cy-row-title { margin: 0 0 6px; font-size: 14px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }
.af-cy-row-title a { color: #3b4248; }
.af-cy-row-title a:hover { color: #01bcf3; }
.af-cy-row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; font-size: 12px; color: #9da1a4; }
.af-cy-stat:before { margin-right: 4px; vertical-align: baseline; }
.af-cy-row-acts { margin-left: auto; display: flex; gap: 5px; }
.af-cy-row-acts .Button { margin: 0; line-height: 20px; height: 20px; }
.af-cy-hidden { display: inline-block; padding: 0 6px; border-radius: 8px; background-color: rgba(251, 52, 71, .1); color: #fb3447; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.af-cy-zone .ShwMr { margin-top: 15px; font-size: 12px; }
.af-cy-card .Avatar .Name { font-size: 20px; font-weight: 700; color: #fff; }
.af-cy-card-rank { font-size: 12px; color: rgba(255, 255, 255, .7); }
.af-cy-card-rank .badg-level { vertical-align: -3px; }
.af-cy .af-cy-card .Avatar { height: auto; min-height: 280px; }
.af-cy-mana { padding: 5px 10px 10px; }
.af-cy-mana-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #9da1a4; }
.af-cy-mana-head strong { color: #3b4248; }
.af-cy-mana-head strong.fa-bolt:before { color: #ff7e00; margin-right: 5px; vertical-align: baseline; }
.af-cy-bar { height: 6px; margin: 6px 0; border-radius: 3px; background-color: #eceff1; overflow: hidden; }
.af-cy-bar > span { display: block; height: 100%; border-radius: 3px; background-color: #01bcf3; }
.af-cy-mana-foot { margin: 0 0 10px; font-size: 11px; color: #bbb; }
.af-cy-card-acts { display: flex; flex-wrap: wrap; gap: 5px; }
.af-cy-card-acts .Button { margin: 0; line-height: 20px; height: 20px; }
.af-cy-ladder .Bod, .af-cy-ledger .Bod { padding: 10px 0; }
.af-cy-ladder-row, .af-cy-ledger-row { display: block; position: relative; padding: 10px 85px 10px 15px; font-size: 13px; color: #9da1a4; line-height: 20px; }
.af-cy-ladder-row img { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; object-fit: contain; }
.af-cy-ladder li.is-reached .af-cy-ladder-row { color: #3b4248; }
.af-cy-ladder li.is-current .af-cy-ladder-row { color: #01bcf3; font-weight: 700; }
.af-cy-ledger .af-cy-mana { padding: 0 15px 5px; }
.af-cy-ledger-row small { display: block; font-size: 11px; color: #bbb; line-height: 14px; }
.af-cy-ledger-row { color: #3b4248; padding-top: 6px; padding-bottom: 6px; }
.af-cy-ledger-row .Caps { color: #00b046; }
.af-cy-ledger-row .Caps.is-neg { color: #fb3447; }

/* ── 8. Super X ────────────────────────────────────────────────────────── */
.af-cy-sx > div { display: flex; }
.af-cy-sx-box { flex: 1; min-width: 0; margin-bottom: 0; }
.af-cy-sx-box > .Top { margin-bottom: 10px; }
.af-cy-sx-box .CapiTnv { margin-bottom: 10px; table-layout: fixed; }
.af-cy-sx-box .CapiTnv > li > a { padding-left: 2px; padding-right: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-lb-anime .ListSdbr > li > a, .af-cy-sx .LoMasVisto .ListSdbr > li > a { padding-right: 60px; }
.af-cy-sx-box .CapiTnv > li > a { cursor: pointer; }
.af-cy-sx-box .LoMasVisto { padding: 5px 0 0; margin: 0 -20px; }
.af-cy-sx-foot { margin-top: 20px !important; margin-bottom: 20px !important; font-size: 12px; max-width: 260px !important; }
/* Lists fold past five rows until community.min.js adds `.expand`. */
.af-cy-sx .wv-ul:not(.expand) .ListSdbr > li:nth-child(n+6),
.af-cy-sx .wv-ul:not(.expand) > li:nth-child(n+6) { display: none; }
.af-cy-sx .wv-loadmore { padding-top: 10px; text-align: center; }
.af-cy-sx .wv-loadmore .btn { border: 0; font-size: 12px; }

/* Comment rows (Super X + leaderboard). */
.af-lb-cmts { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.af-lb-cmts > li { position: relative; padding: 10px 15px 10px 65px; border-bottom: 1px solid #f3f3f3; }
.af-lb-cmts > li:last-child { border-bottom: 0; }
.af-lb-num { position: absolute; left: 15px; top: 10px; width: 40px; height: 22px; line-height: 22px; text-align: center; font-size: 12px; font-weight: 700; color: #9da1a4; }
.af-lb-cmts > li:nth-child(1) .af-lb-num { color: #ffc107; }
.af-lb-cmts > li:nth-child(2) .af-lb-num { color: #b0bec5; }
.af-lb-cmts > li:nth-child(3) .af-lb-num { color: #b0730b; }
.af-lb-quote { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 18px; color: #3b4248; overflow-wrap: anywhere; }
a.af-lb-quote:hover { color: #01bcf3; }
.af-lb-cmts .af-meta { display: block; margin: 4px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-lb-cmts .af-meta .af-av { width: 18px; height: 18px; margin-right: 5px; }
.af-lb-tally { display: flex; gap: 12px; font-size: 11px; color: #9da1a4; }
.af-lb-tally > span:before { margin-right: 4px; vertical-align: baseline; }
.af-cy-sx-box .af-lb-cmts { margin: 0 -20px; }

/* ── 9. Leaderboard ────────────────────────────────────────────────────── */
.af-lb-grid > div { display: flex; }
.af-lb-grid .Wdgt { flex: 1; min-width: 0; margin-bottom: 0; }
.af-lb-page .af-lb .Bod { padding: 10px 0 15px; }
.af-lb-page [data-af-lb-period][hidden] { display: none; }
.af-lb-page .Title.Page .Order > a { cursor: pointer; }
.af-lb .af-lb-me > a { background-color: rgba(1, 188, 243, .08); box-shadow: inset 3px 0 0 #01bcf3; }
.af-lb .af-lb-mine > a:after { counter-increment: none; content: attr(data-pos); color: #01bcf3 !important; }
.af-lb .af-lb-mine { border-top: 1px dashed #e8e7f0; }
[data-af-lb-fold]:not(.is-open) .af-lb-extra { display: none; }
.af-lb-more { margin-top: 10px !important; font-size: 12px; }
.af-lb-tier-elite, .af-lb-tier-legend { color: #ff7e00; }

/* ── 10. Guides ────────────────────────────────────────────────────────── */
.af-gd-list > .Top .Title { padding-right: 70px; }
.af-gd-count { position: absolute; right: 0; top: 0; line-height: 30px; font-size: 12px; color: #9da1a4; }
.af-gd-search { display: block; position: relative; margin-bottom: 20px; }
.af-gd-search input { margin-bottom: 0; padding-left: 40px; }
.af-gd-search i { position: absolute; left: 0; top: 0; width: 40px; line-height: 40px; text-align: center; color: #3b4248; opacity: .3; }
.af-gd-search i:before { margin: 0; vertical-align: baseline; }
.af-gd-search input:focus + i { opacity: 1; color: #01bcf3; }
.af-gd-empty a { color: #01bcf3; font-weight: 700; }
.af-gd-empty[hidden], .af-gd-rows > li[hidden] { display: none; }
.af-gd-rows .NwBxCn .Title { margin-bottom: 4px; font-size: 14px; line-height: 18px; max-height: 36px; }
.af-gd-rows .NwBxCn .Title a { color: #3b4248; }
.af-gd-rows .NwBxCn .Title a:hover { color: #01bcf3; }
.af-gd-desc { margin: 0 0 6px; font-size: 12px; line-height: 18px; color: #9da1a4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.af-gd-thumb { background-color: #3b4248; }
.af-gd-thumb:before { position: absolute; left: 0; top: 0; width: 80px; line-height: 80px; text-align: center; margin: 0; font-size: 30px; color: rgba(255, 255, 255, .85); }
.af-gd-rows > li { padding-bottom: 15px; border-bottom: 1px solid #f3f3f3; }
.af-gd-rows > li:last-child { padding-bottom: 0; border-bottom: 0; }
.af-gd-article > .af-meta { margin-bottom: 10px; }
.af-gd-article > .af-meta .CatLnk { margin-right: 8px; vertical-align: 0; }
.af-gd-intro { font-size: 15px; line-height: 24px; color: #3b4248; margin-bottom: 20px; }
.af-gd-h2 { margin: 25px 0 12px; font-size: 20px; font-weight: 700; line-height: 30px; letter-spacing: -1px; color: #3b4248; }
.af-gd-section, .af-gd-steps { border-top: 1px solid #f3f3f3; }
.af-gd-article .gd-body { font-size: 14px; line-height: 22px; color: #666; }
.af-gd-article .gd-body > *:last-child { margin-bottom: 0; }
.af-gd-article .gd-p { margin-bottom: 12px; }
.af-gd-article .gd-body strong { color: #3b4248; }
.af-gd-article .gd-body a { color: #01bcf3; font-weight: 700; }
.af-gd-article .gd-body code { padding: 1px 5px; border-radius: 3px; background-color: rgba(59, 66, 72, .05); color: #3b4248; font-size: 12px; }
.af-gd-article .gd-list { margin: 0 0 12px; padding: 0; list-style: none; }
.af-gd-article .gd-li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.af-gd-article .gd-li:before { content: ''; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 3px; background-color: #01bcf3; }
.af-gd-article .gd-note { margin: 0 0 12px; padding: 10px 15px 10px 45px; position: relative; border-radius: 20px; background-color: rgba(255, 193, 7, .1); font-size: 12px; line-height: 18px; color: #666; }
.af-gd-article .gd-note:before { content: '\f05a'; font-family: FontAwesome; position: absolute; left: 15px; top: 9px; font-size: 18px; color: #ffc107; }
.af-gd-article .gd-shot { margin: 0 0 12px; }
.af-gd-article .gd-shot img { display: block; max-width: 100%; height: auto; border-radius: 5px; box-shadow: 0 3px 5px rgba(0, 0, 0, .1); }
.af-gd-article .gd-caption { margin-top: 5px; font-size: 11px; color: #bbb; text-align: center; }
.af-gd-article .gd-h3 { margin: 15px 0 8px; font-size: 15px; font-weight: 700; color: #3b4248; }
.af-gd-lead { margin-bottom: 12px; }
.af-gd-steplist { margin: 0; padding: 0; list-style: none; }
.af-gd-step { position: relative; padding: 0 0 15px 45px; }
.af-gd-step:last-child { padding-bottom: 0; }
.af-gd-step-num { position: absolute; left: 0; top: 0; width: 30px; height: 30px; line-height: 30px; border-radius: 15px; text-align: center; background-color: #01bcf3; color: #fff; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 10px rgba(0, 0, 0, .15); }
.af-gd-step h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 30px; color: #3b4248; }
.af-gd-step .gd-path { margin: 0 0 6px; font-size: 10px; line-height: 20px; text-transform: uppercase; font-weight: 700; color: #9da1a4; }
.af-gd-step .gd-path-sep { color: #ffc107; padding: 0 5px; font-size: 12px; }
.af-gd-step .gd-path-sep:before { margin: 0; vertical-align: baseline; }
.af-gd-buttons { margin-top: 20px; }

/* ── 11. Request queue ─────────────────────────────────────────────────── */
.af-rq-band { position: relative; overflow: hidden; }
.af-rq-band > *:not(.af-rq-hero) { position: relative; z-index: 1; }
.af-rq-hero { position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; }
.af-rq-hero-img { position: absolute; left: -20px; top: -20px; right: -20px; bottom: -20px; background-size: cover; background-position: 50% 30%; filter: blur(12px); transition: opacity .6s; }
.af-rq-band h1 { margin-bottom: 5px; }
.af-rq-lead { letter-spacing: 0; margin: 0; font-size: 13px; line-height: 20px; color: #b0bec5; }
.af-rq-lead strong { color: #fff; }
.af-rq-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f3f3f3; }
.af-rq-sorts { display: flex; flex-wrap: wrap; font-size: 0; }
.af-rq-sorts .req-tab { margin: 0; padding: 0 12px; height: 30px; line-height: 30px; min-width: 0; border-radius: 0; font-size: 12px; font-weight: 700; color: #fff; background-color: #3b4248; position: relative; }
.af-rq-sorts .req-tab:first-child { border-radius: 15px 0 0 15px; }
.af-rq-sorts .req-tab:last-child { border-radius: 0 15px 15px 0; }
.af-rq-sorts .req-tab:hover, .af-rq-sorts .req-tab.is-active { background-color: #01bcf3; }
.af-rq-sorts .req-tab.is-active:before { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; margin: auto; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #01bcf3; }
.req-search { position: relative; flex: 0 1 300px; display: flex; align-items: center; gap: 6px; }
.af-rq-search { position: relative; flex: 1; margin: 0; }
.af-rq-search input { margin: 0; height: 36px; padding-left: 40px; font-size: 13px; }
.af-rq-search i { position: absolute; left: 0; top: 0; width: 40px; line-height: 36px; text-align: center; color: #3b4248; opacity: .3; }
.af-rq-search i:before { margin: 0; vertical-align: baseline; }
.af-rq-search input:focus + i { opacity: 1; color: #01bcf3; }
.req-matches { flex: none; min-width: 24px; height: 20px; line-height: 20px; padding: 0 6px; border-radius: 10px; background-color: rgba(1, 188, 242, .1); color: #01bcf2; font-size: 11px; font-weight: 700; text-align: center; }
.req-search-clear { flex: none; width: 30px; height: 30px; margin: 0; padding: 0; border-radius: 15px; background-color: rgba(251, 52, 71, .1); color: #fb3447; font-size: 13px; line-height: 30px; }
.req-search-clear:before { margin: 0; vertical-align: baseline; }
.req-search-clear:hover { background-color: #fb3447; color: #fff; }
.af-rq-page .req-grid { margin-bottom: 0; }
.req-cell { display: flex; flex-direction: column; }
.req-cell .Anime.alt { margin-bottom: 0; }
.req-cell .Anime.alt .Image { margin-bottom: 8px; }
.af-rq-rank { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 0 8px; line-height: 20px; border-radius: 0 10px 0 5px; background-color: #ffc107; color: #000; font-size: 10px; font-weight: 700; }
.Anime.alt.af-rq-card .Image .Type { position: absolute; top: 10px; right: 10px; left: auto; bottom: auto; width: auto; min-width: 60px; padding: 0 8px; z-index: 2; }
.af-rq-card .Type.af-rq-available { background-color: #00b046; }
.af-rq-card .Type.af-rq-approved { background-color: #01bcf3; }
.af-rq-card .Type.af-rq-pending { background-color: #ff7e00; }
.af-rq-card .Type.af-rq-rejected { background-color: #fd3246; }
.af-rq-noposter { display: block; width: 100%; padding-top: 140%; background-color: #3b4248; position: relative; }
.af-rq-noposter:before { position: absolute; left: 0; right: 0; top: 50%; margin: -15px 0 0; text-align: center; font-size: 30px; color: rgba(255, 255, 255, .5); }
.af-rq-meta { margin: 4px 0 8px; font-size: 11px; line-height: 15px; color: #9da1a4; text-align: center; }
.af-rq-meta small { display: block; font-size: 10px; color: #bbb; }
.af-rq-meta .af-rq-count { display: none; }
.req-cell .req-cta { display: block; width: 100%; margin-top: auto; margin-bottom: 0; font-size: 11px; font-weight: 700; }
.req-cta span:before { margin-right: 6px; vertical-align: baseline; font-size: 11px; }
.req-cta.is-req { background-color: #01bcf2; color: #fff; }
.req-cta.is-req:hover { opacity: .8; }
.req-cta.is-watch { background-color: rgba(0, 176, 70, .12); color: #00b046; }
.req-cta.is-watch:hover { background-color: #00b046; color: #fff; }
.req-cta[disabled] { opacity: .5; cursor: default; }
.req-cta .af-rq-busy { margin-left: 4px; vertical-align: -2px; }
.af-rq-body .Norslts p { margin-bottom: 10px; }
.af-rq-body .req-state-btns { justify-content: center; display: flex; flex-wrap: wrap; }
.req-more-wrap { padding-top: 20px; }
.req-more-wrap .req-more { font-size: 12px; }
.req-foot { margin: 15px 0 0; padding-top: 15px; border-top: 1px solid #f3f3f3; font-size: 12px; color: #9da1a4; text-align: center; }
.af-rq-link { color: #01bcf3; font-weight: 700 !important; cursor: pointer; }
.af-rq-link:hover { text-decoration: underline; }
/* The "Pedir un anime" dialog. */
.af-rq-intro { font-size: 12px; color: #9da1a4; margin-bottom: 15px; }
#req-new-modal .Form-Icon { display: block; position: relative; margin-bottom: 10px; }
#req-new-modal .Form-Icon input { margin: 0; padding-left: 40px; }
#req-new-modal .Form-Icon i { position: absolute; left: 0; top: 0; width: 40px; line-height: 40px; text-align: center; color: #3b4248; opacity: .3; }
#req-new-modal .Form-Icon i:before { margin: 0; vertical-align: baseline; }
.req-results { max-height: 330px; overflow-y: auto; margin-bottom: 10px; }
.req-results:empty { display: none; }
.req-hit { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f3f3f3; }
.req-hit:last-child { border-bottom: 0; }
.req-hit-poster { flex: none; width: 34px; height: 46px; border-radius: 3px; overflow: hidden; background-color: #eceff1; }
.req-hit-poster img { width: 100%; height: 100%; object-fit: cover; }
.req-hit-body { flex: 1; min-width: 0; }
.req-hit-title { font-size: 13px; font-weight: 700; color: #3b4248; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-hit-meta { font-size: 11px; color: #9da1a4; }
.req-hit-err { font-size: 11px; color: #fb3447; }
.req-hit .req-cta { flex: none; margin: 0; font-size: 11px; font-weight: 700; }
.req-note { padding: 12px 0; font-size: 12px; color: #9da1a4; text-align: center; }
.req-by-id { margin-top: 5px; padding-top: 10px; border-top: 1px solid #f3f3f3; }
.req-by-id summary { cursor: pointer; font-size: 12px; font-weight: 700; color: #01bcf3; list-style: none; }
.req-by-id summary::-webkit-details-marker { display: none; }
.req-by-id summary:before { display: inline-block; transition: transform .2s; margin-right: 6px; }
.req-by-id[open] summary:before { transform: rotate(90deg); }
.req-by-id form { margin-top: 12px; }
.req-src { font-size: 13px; color: #3b4248; margin-bottom: 10px; }
.req-src input { vertical-align: -2px; }
.req-id-row { display: flex; gap: 8px; }
.req-id-row input { flex: 1; margin: 0; }
.req-id-row button { flex: none; margin: 0; background-color: #01bcf3; }
.req-id-hint { display: block; margin-top: 6px; font-size: 11px; color: #bbb; }
.req-id-hint strong { color: #666; }
#anime-request-alert { margin-bottom: 0; }

/* ── 12. Phones ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .af-cy-tools, .af-rq-tools { flex-direction: column; align-items: stretch; }
    .af-cy-sorts .Order { display: flex; }
    .af-cy-sorts .Order > a.dropdown-item { flex: 1; padding: 0 6px; font-size: 11px; text-align: center; }
    .af-rq-sorts { display: flex; }
    .af-rq-sorts .req-tab { flex: 1; padding: 0 6px; font-size: 11px; }
    .req-search { flex-basis: auto; }
    .af-cy-post { gap: 10px; }
    .af-cy-vote { width: 30px; }
    .af-cy-vote .lp-btn-vote { width: 30px; }
    .af-cy-post .Top .Title { font-size: 15px; line-height: 20px; }
    .af-cy-score-line { margin-left: 0; width: 100%; }
    .tl-builder .tl-label, .tl-view .tl-label { width: 54px; font-size: 14px; }
    .af-cy .WdgtCn > .Top > h1.Title { font-size: 20px; line-height: 26px; }
    .cm-matchup-row { gap: 6px; }
    .cm-matchup-vs { width: 32px; height: 32px; line-height: 32px; font-size: 11px; }
    .af-lb-grid > div + div, .af-cy-sx > div + div { margin-top: 0; }
}
