/*
 * `animeworld` theme — the community area (board, post, create / edit, La mia zona, Super X).
 *
 * animeworld.ac has no community: these CMS screens are drawn in its vocabulary — the widget
 * (`div.widget > div.widget-title + div.widget-body`, all.css), the news list (`.post-list .item`: #f6f6f6 tile,
 * blue Nunito Sans title, grey text — values of css/pages/news-news.css, which is NOT loaded because it styles a
 * bare `.badge` / `.categories`), the news article (css/pages/newsPage-newsPage.css `#news-text`), the ranking
 * widget's bordered rank, the title tabs, `a.more`, `btn btn-primary` / `btn-default`, `.form-control`.
 *
 * Scope: every rule sits under `#app.aw-cy` (the layout class of the five community pages) or an `aw-cy-…`
 * class; the dialogs live outside `#app` (pushed after it) and are scoped by `.aw-cy-modal`.
 * Class names: `aw-cy-*` are the area's own; `cm-*`, `tl-*`, `poll-*`, `cp-*`, `mz-*`, `lp-btn-vote`, `wv-*`,
 * `post-list`, `pin-group`, `item` are community.min.js hooks (kept exactly); `au-cy-c-<colour>` is printed by
 * App\Support\AnimeunityCommunity::color().
 * Both looks come from the tokens below (light on `#app.aw-cy`, dark on `body.dark …`).
 *
 *   0. Tokens
 *   1. Primitives: bar + tabs, widget bits, rows, avatars, chips, ranks, actions, buttons, menus, dialogs
 *   2. Board: toolbar, pinned bar, post tile, teaser, pager
 *   3. Post: article, byline, text, actions, comments
 *   4. Post formats: poll, matchup, tier list, seasonal, recommendation
 *   5. Create / edit: form, topic pills, toolbar, builders, search dialog
 *   6. La mia zona
 *   7. Super X
 */

/* ── 0. Tokens ─────────────────────────────────────────────────────────── */

#app.aw-cy, .aw-cy-modal {
    --cy-box: #fff;
    --cy-inset: #f6f6f6;
    --cy-inset-h: #f2f7ff;
    --cy-deep: #eee;
    --cy-line: #eee;
    --cy-text: #555;
    --cy-strong: #333;
    --cy-muted: #767779;
    --cy-title: #165fa7;
    --cy-accent: #367dc3;
    --cy-accent-h: #2868a7;
    --cy-field: #eee;
    --cy-field-f: #fff;
    --cy-btn: #efefef;
    --cy-btn-h: #dbdbdb;
    --cy-btn-text: #333;
}
body.dark #app.aw-cy, body.dark .aw-cy-modal {
    --cy-box: #222;
    --cy-inset: #1a1a1a;
    --cy-inset-h: #151414;
    --cy-deep: #151515;
    --cy-line: #303030;
    --cy-text: #c3bfbf;
    --cy-strong: #ccc8c8;
    --cy-muted: #888;
    --cy-title: #5c9fe0;
    --cy-field: #292929;
    --cy-field-f: #1d1d1d;
    --cy-btn: #1d1b1b;
    --cy-btn-h: #151313;
    --cy-btn-text: #888;
}

/* ── 1. Primitives ─────────────────────────────────────────────────────── */

#app.aw-cy #body { overflow-wrap: break-word; }
#app.aw-cy .aw-cy-wide { float: none; width: 100%; }
#app.aw-cy .widget-title::after { content: ""; display: table; clear: both; }
#app.aw-cy .widget-title a.title { color: var(--cy-accent); }
#app.aw-cy .widget-title a.title:hover { color: var(--cy-accent-h); }
#app.aw-cy .widget-title a.more i { margin-right: 2px; font-size: .9em; }
body.dark #app.aw-cy .widget-title { border-bottom-color: var(--cy-line); }

/* The breadcrumb bar (animeworld's listing title: Home › …) with the community sections on the right. */
#app.aw-cy .aw-cy-crumb .widget-title { border-bottom: 0; }
#app.aw-cy .aw-cy-crumb .title { display: inline-block; margin: 0; }
#app.aw-cy .aw-cy-crumb .title a { color: inherit; }
#app.aw-cy .aw-cy-crumb .title a:hover { color: var(--cy-accent-h); }
#app.aw-cy .aw-cy-crumb .title .icon { margin: 0 2px; font-size: .9em; }

/* Title tabs — animeworld's `.widget .widget-title .tabs .tab`, on the theme's own classes (links that navigate,
   the Bootstrap tab plugin, community.min.js's sort: never main.js Tabs). */
#app.aw-cy .aw-cy-tabs { float: right; display: block; margin: 0; padding: 0; list-style: none; color: #6d6d6d; white-space: nowrap; }
#app.aw-cy .aw-cy-tabs > li { display: inline-block; }
#app.aw-cy .aw-cy-tabs .aw-cy-tab,
#app.aw-cy .aw-cy-tabs .aw-cy-tab.dropdown-item { display: inline-block; width: auto; padding: 6px 7px; clear: none; border: 0; border-bottom: 2px solid rgba(0, 0, 0, 0); border-radius: 0; background: none; color: inherit; font-family: "Nunito Sans", sans-serif; font-size: 13px; font-weight: 400; line-height: 21px; white-space: nowrap; cursor: pointer; }
#app.aw-cy .aw-cy-tabs .aw-cy-tab:hover { color: var(--cy-accent); border-bottom: 2px solid var(--cy-line); background: none; }
#app.aw-cy .aw-cy-tabs .aw-cy-tab.active { color: inherit; border-bottom: 2px solid #2b6cad; background: none; }
body.dark #app.aw-cy .aw-cy-tabs { color: #b3b2b2; }

/* Note inside a widget. */
#app.aw-cy .aw-cy-side { font-family: "Nunito Sans", sans-serif; line-height: 1.5; color: var(--cy-text); }
#app.aw-cy .aw-cy-side > i { margin-right: 4px; color: var(--cy-accent); }
#app.aw-cy .aw-cy-side a { color: var(--cy-accent); font-weight: 600; }
#app.aw-cy .aw-cy-side a:hover { text-decoration: underline; }

/* Search + the vertical topic list. */
#app.aw-cy .aw-cy-search { display: flex; flex-wrap: nowrap; width: 100%; margin-bottom: 10px; }
#app.aw-cy form > .aw-cy-search { margin-bottom: 0; }
#app.aw-cy .aw-cy-topics form { margin: 0 0 10px; }
#app.aw-cy .aw-cy-search .input-group-text { height: 32px; padding: 0 10px; border: 1px solid var(--cy-field); border-right: 0; border-radius: 3px 0 0 3px; background: var(--cy-field); color: var(--cy-muted); font-size: 13px; }
#app.aw-cy .aw-cy-search .form-control { display: block; float: none; flex: 1 1 auto; width: 1%; min-width: 0; border-radius: 0 3px 3px 0; }
#app.aw-cy .form-control { background-color: var(--cy-field); border-color: var(--cy-field); color: var(--cy-text); box-shadow: none; font-family: "Nunito Sans", sans-serif; }
#app.aw-cy .form-control:focus { background-color: var(--cy-field-f); border-color: var(--cy-accent); }
#app.aw-cy .aw-cy-nav { display: flex; flex-direction: column; margin: 0 -10px -10px; border-top: 1px solid var(--cy-line); }
#app.aw-cy .aw-cy-navitem { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--cy-line); color: var(--cy-text); font-size: .95rem; }
#app.aw-cy .aw-cy-navitem:last-child { border-bottom: 0; border-radius: 0 0 3px 3px; }
#app.aw-cy .aw-cy-navitem:hover { color: var(--cy-accent); background: var(--cy-inset); }
#app.aw-cy .aw-cy-navitem.active { color: #fff; background: var(--cy-accent); }
#app.aw-cy .aw-cy-navitem .aw-cy-count { margin-left: auto; font-size: .9rem; color: var(--cy-muted); }
#app.aw-cy .aw-cy-navitem.active .aw-cy-count { color: rgba(255, 255, 255, .85); }

/* Rows: media left, title + info, value right (animeworld's small rows). */
#app.aw-cy .aw-cy-rows { margin: 0; padding: 0; list-style: none; }
#app.aw-cy .aw-cy-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--cy-line); color: var(--cy-muted); }
#app.aw-cy .aw-cy-row:first-child { padding-top: 0; }
#app.aw-cy .aw-cy-row:last-child { padding-bottom: 0; border-bottom: 0; }
#app.aw-cy .aw-cy-row.aw-cy-row-2 { grid-template-columns: minmax(0, 1fr) auto; }
#app.aw-cy .aw-cy-row-main { display: block; min-width: 0; line-height: 1.3; color: var(--cy-text); }
#app.aw-cy .aw-cy-row-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: "Nunito Sans", sans-serif; font-size: 1.1rem; font-weight: 500; color: var(--cy-text); }
#app.aw-cy a.aw-cy-row-main:hover .aw-cy-row-title, #app.aw-cy a.aw-cy-row-title:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-row-info { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; color: #8c8c8c; }
#app.aw-cy .aw-cy-row-info a { color: inherit; }
#app.aw-cy .aw-cy-row-info a:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-row-val { font-size: .95rem; font-weight: 600; white-space: nowrap; text-align: right; color: var(--cy-text); }
#app.aw-cy .aw-cy-row-val small { font-size: .9rem; font-weight: 400; color: #8c8c8c; }
#app.aw-cy .aw-cy-row-media { display: flex; align-items: center; gap: 10px; }
/* The rank: animeworld's ranking widget (`.widget.ranking .item .rank`). */
#app.aw-cy .aw-cy-rank-n { display: inline-block; flex: 0 0 auto; width: 27px; border: 1px solid var(--cy-accent); border-radius: 3px; color: var(--cy-accent); font-size: 1rem; font-weight: 500; line-height: 26px; text-align: center; }
#app.aw-cy .aw-cy-rank-n.is-top { background: var(--cy-accent); color: #fff; }
#app.aw-cy .aw-cy-poster-xs { display: block; width: 45px; height: 60px; object-fit: cover; border-radius: 3px; background: var(--cy-inset); }

/* Avatars. */
#app.aw-cy .aw-cy-av { display: inline-block; flex: 0 0 auto; width: 35px; height: 35px; object-fit: cover; vertical-align: middle; border-radius: 50%; background: var(--cy-inset); }
#app.aw-cy .aw-cy-av.aw-cy-av-20 { width: 20px; height: 20px; }
#app.aw-cy .aw-cy-av.aw-cy-av-40 { width: 40px; height: 40px; }
#app.aw-cy .aw-cy-av.aw-cy-av-100 { width: 100px; height: 100px; }

/* Topic badge = the news categories' `span.badge` (13px, 5px 8px) on the topic colour. */
#app.aw-cy .au-cy-c-blue { --cy-c: #367dc3; }
#app.aw-cy .au-cy-c-sky { --cy-c: #57c0ea; }
#app.aw-cy .au-cy-c-cyan { --cy-c: #17a2b8; }
#app.aw-cy .au-cy-c-teal { --cy-c: #20c997; }
#app.aw-cy .au-cy-c-green { --cy-c: #40d440; }
#app.aw-cy .au-cy-c-lime { --cy-c: #8bc34a; }
#app.aw-cy .au-cy-c-yellow { --cy-c: #c1c11d; }
#app.aw-cy .au-cy-c-amber { --cy-c: #ffc107; }
#app.aw-cy .au-cy-c-orange { --cy-c: orange; }
#app.aw-cy .au-cy-c-coral { --cy-c: #ff7043; }
#app.aw-cy .au-cy-c-red { --cy-c: #fa4949; }
#app.aw-cy .au-cy-c-pink { --cy-c: #de7dde; }
#app.aw-cy .au-cy-c-purple { --cy-c: #9d5ffe; }
#app.aw-cy .au-cy-c-white, #app.aw-cy .au-cy-c-gray { --cy-c: #7d7979; }
#app.aw-cy .aw-cy-chip { display: inline-block; padding: 4px 7px; border-radius: 3px; background: var(--cy-c, #7496ba); color: #fff; font-family: "Nunito Sans", sans-serif; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; vertical-align: baseline; }
#app.aw-cy .aw-cy-chip.au-cy-c-amber, #app.aw-cy .aw-cy-chip.au-cy-c-lime { color: #222; }
#app.aw-cy a.aw-cy-chip:hover { opacity: .85; color: #fff; }
#app.aw-cy .aw-cy-chip i { margin-right: 4px; }
.aw-cy-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--cy-c, #7d7979); }

/* Rank label beside a name; staff names keep the engine's level colour (community-badges.css). */
#app.aw-cy .aw-cy-rank { display: inline-block; padding: 2px 5px; border-radius: 2px; background: var(--cy-deep); color: var(--cy-muted); font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
#app.aw-cy .aw-cy-name { display: inline-flex; align-items: center; font-weight: 600; color: var(--cy-text); }
#app.aw-cy a.aw-cy-name:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-name .badg-level, #app.aw-cy .aw-cy-row .badg-level { width: 14px; height: 14px; min-width: 14px; min-height: 14px; margin-right: 3px; }
#app.aw-cy .aw-cy-name .badg-aura { width: 20px; height: 20px; margin-right: 3px; }

/* Text action, small button, pill. */
#app.aw-cy .aw-cy-act, .aw-cy-modal .aw-cy-act { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 0; border-radius: 2px; background: none; color: var(--cy-muted); font-family: "Nunito Sans", sans-serif; font-size: 12px; line-height: 1.5; white-space: nowrap; cursor: pointer; }
#app.aw-cy .aw-cy-act:hover, .aw-cy-modal .aw-cy-act:hover, #app.aw-cy .aw-cy-act:focus-visible { color: var(--cy-accent); background: var(--cy-deep); outline: 0; }
#app.aw-cy .aw-cy-act.active { color: var(--cy-accent); }
#app.aw-cy .aw-cy-act.aw-cy-danger:hover, #app.aw-cy .aw-cy-danger { color: #e0434f; }
#app.aw-cy .aw-cy-btn-o, #app.aw-cy .aw-cy-pill, .aw-cy-modal .aw-cy-pill { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 3px 8px; border: 1px solid var(--cy-btn); border-radius: 2px; background: var(--cy-btn); color: var(--cy-btn-text); font-family: "Nunito Sans", sans-serif; font-size: 12px; font-weight: 400; line-height: 1.5; white-space: nowrap; cursor: pointer; }
#app.aw-cy .aw-cy-btn-o:hover, #app.aw-cy .aw-cy-pill:hover, .aw-cy-modal .aw-cy-pill:hover { background: var(--cy-btn-h); border-color: var(--cy-btn-h); color: var(--cy-btn-text); }
#app.aw-cy .aw-cy-btn-o.active { color: var(--cy-accent); }
#app.aw-cy .aw-cy-pill.is-on, #app.aw-cy .aw-cy-pill.active { background: var(--cy-accent); border-color: var(--cy-accent); color: #fff; }

/* In-page dropdown (main.js's plugin: the menu is the toggle's sibling). */
#app.aw-cy .dropdown { position: relative; }
#app.aw-cy .aw-cy-dd.dropdown-menu { top: 100% !important; left: 0; min-width: 190px; max-height: 320px !important; margin: 4px 0 0; padding: 5px 0; overflow-y: auto; float: none; border: 1px solid rgba(0, 0, 0, .15); border-radius: 3px; background: var(--cy-box); box-shadow: 0 6px 12px rgba(0, 0, 0, .175); font-size: 13px; z-index: 50; transform: none !important; }
#app.aw-cy .aw-cy-dd.dropdown-menu-right { right: 0; left: auto !important; }
#app.aw-cy .aw-cy-dd .dropdown-item { display: flex; align-items: center; width: 100%; padding: 4px 16px; border: 0; background: none; color: var(--cy-strong); font-weight: 400; line-height: 1.42857; white-space: nowrap; cursor: pointer; }
#app.aw-cy .aw-cy-dd .dropdown-item:hover { background: var(--cy-inset); color: var(--cy-accent); }
#app.aw-cy .aw-cy-dd .dropdown-item.active { background: var(--cy-accent); color: #fff; }
#app.aw-cy .aw-cy-dd .dropdown-item.aw-cy-danger { color: #e0434f; }
body.dark #app.aw-cy .aw-cy-dd.dropdown-menu { border-color: #333; }

/* Dialogs: a Bootstrap modal drawn as a widget (pushed after #app). */
.aw-cy-modal { font-family: Roobert, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; }
.aw-cy-modal .modal-dialog { max-width: 620px; margin: 30px auto; padding: 0 10px; }
.aw-cy-modal .modal-dialog.aw-cy-dialog-sm { max-width: 520px; }
.aw-cy-modal .modal-content { border: 0; border-radius: 3px; background: var(--cy-box); color: var(--cy-text); box-shadow: 0 5px 25px rgba(0, 0, 0, .45); }
.aw-cy-modal .modal-header { align-items: center; min-height: 35px; padding: 0 10px; border-bottom: 1px solid var(--cy-line); border-radius: 0; }
.aw-cy-modal .modal-title { margin: 0; font-family: "Nunito Sans", sans-serif; font-size: 1.1em; font-weight: 600; line-height: 35px; color: var(--cy-accent); text-transform: uppercase; }
.aw-cy-modal .modal-header .close { margin: 0 0 0 auto; padding: 0 4px; float: none; border: 0; background: none; color: #8c8c8c; font-size: 22px; line-height: 1; opacity: 1; text-shadow: none; }
.aw-cy-modal .modal-header .close:hover { color: var(--cy-accent); }
.aw-cy-modal .modal-body { padding: 15px; }
.aw-cy-modal label { display: block; margin: 0 0 5px; font-family: "Nunito Sans", sans-serif; font-weight: 600; color: var(--cy-text); }
.aw-cy-modal .form-group { margin-bottom: 12px; }
.aw-cy-modal .form-control { background-color: var(--cy-field); border-color: var(--cy-field); color: var(--cy-text); box-shadow: none; font-family: "Nunito Sans", sans-serif; font-size: 13px; }
.aw-cy-modal .form-control:focus { background-color: var(--cy-field-f); border-color: var(--cy-accent); }
.aw-cy-modal select.form-control { height: 32px; padding: 4px 8px; }
.aw-cy-modal textarea.form-control { height: auto; min-height: 90px; resize: vertical; }
.aw-cy-note { margin: 6px 0 0; font-size: 12px; color: var(--cy-muted); }
.aw-cy-note i { margin-right: 4px; color: var(--cy-accent); }
.aw-cy-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.aw-cy-foot .aw-cy-act { margin-left: auto; }

/* Empty state, loading line, note line. */
#app.aw-cy .aw-cy-empty { margin: 0; padding: 14px 6px; text-align: center; color: #8c8c8c; font-family: "Nunito Sans", sans-serif; }
#app.aw-cy .aw-cy-empty a { color: var(--cy-accent); font-weight: 600; }
.aw-cy-loading { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; color: var(--cy-muted); font-family: "Nunito Sans", sans-serif; }
.aw-cy-foot .aw-cy-loading { padding: 0; }
.aw-cy-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--cy-accent); border-right-color: transparent; border-radius: 50%; animation: spinner-border .75s linear infinite; }
#app.aw-cy .aw-cy-note-line { margin: 0; padding: 6px 10px; border-left: 4px solid var(--cy-accent); background: var(--cy-inset); color: var(--cy-text); font-size: 12px; }
#app.aw-cy .aw-cy-note-line a { color: var(--cy-accent); font-weight: 600; }

/* ── 2. Board ──────────────────────────────────────────────────────────── */

#app.aw-cy .aw-cy-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
#app.aw-cy .aw-cy-topic > .dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
#app.aw-cy .aw-cy-topic > .dropdown-toggle::after { display: none; }
#app.aw-cy .aw-cy-topic > .dropdown-toggle .aw-cy-val { color: var(--cy-accent); font-weight: 600; }
#app.aw-cy .aw-cy-topic > .dropdown-toggle .toggler { font-size: 10px; }
/* The news list (css/pages/news-news.css `.post-list`). */
#app.aw-cy .aw-cy-board .post-list { margin: 0; font: 300 1em/1.4 "Nunito Sans", sans-serif; }

/* Pinned bar (`.pin-group`, page 1): animeworld's blue-edged alert strip with small rows. */
#app.aw-cy .aw-cy-pins { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid #165fa7; background: var(--cy-inset); }
#app.aw-cy .aw-cy-pins-head { margin-bottom: 8px; color: var(--cy-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }
#app.aw-cy .aw-cy-pins-head i { margin-right: 6px; }
#app.aw-cy .aw-cy-pins .aw-cy-row { padding: 6px 0; }
#app.aw-cy .aw-cy-pins .aw-cy-row-title { font-size: 1rem; font-weight: 600; }

/* Post tile: the news `.item` + the vote column. */
#app.aw-cy .aw-cy-post { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; margin: 10px 0 0; padding: 10px 12px; background: var(--cy-inset); color: var(--cy-text); }
#app.aw-cy .aw-cy-post:hover { background: var(--cy-inset-h); }
#app.aw-cy .aw-cy-post.aw-cy-is-pinned { border-left: 4px solid #165fa7; padding-left: 8px; }
#app.aw-cy .aw-cy-vote { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 2px; }
#app.aw-cy .aw-cy-vote .lp-btn-vote { display: block; width: 28px; height: 22px; border-radius: 2px; color: #8c8c8c; font-size: 14px; line-height: 22px; text-align: center; }
#app.aw-cy .aw-cy-vote .lp-btn-vote:hover { background: var(--cy-deep); color: var(--cy-accent); }
#app.aw-cy .aw-cy-vote .lp-btn-vote[data-type="1"].active { color: var(--cy-accent); }
#app.aw-cy .aw-cy-vote .lp-btn-vote[data-type="0"].active { color: #e0434f; }
#app.aw-cy .aw-cy-score { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--cy-strong); }
#app.aw-cy .aw-cy-post-body { min-width: 0; }
#app.aw-cy .aw-cy-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .91em; font-weight: 400; line-height: 20px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-post-meta .aw-cy-pinned { color: var(--cy-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; }
#app.aw-cy .aw-cy-post-meta .aw-cy-pinned i { margin-right: 4px; }
#app.aw-cy .aw-cy-post-title { margin: 6px 0 0; font-family: "Nunito Sans", sans-serif; font-size: 1.4rem; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
#app.aw-cy .aw-cy-post-title a { color: var(--cy-title); }
#app.aw-cy .aw-cy-post-title a:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-excerpt { display: -webkit-box; margin: 4px 0 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--cy-text); font-size: 1.1rem; font-weight: 300; line-height: 1.4; overflow-wrap: anywhere; }
#app.aw-cy .aw-cy-post .cm-teaser { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 6px; border-radius: 3px; background: var(--cy-box); color: var(--cy-muted); }
#app.aw-cy .aw-cy-post .cm-teaser:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-post .cm-teaser-posters { display: flex; flex: 0 0 auto; gap: 4px; }
#app.aw-cy .aw-cy-post .cm-teaser-posters img { width: 46px; height: 60px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .aw-cy-post .cm-teaser-meta { min-width: 0; font-size: 12px; font-weight: 400; }
#app.aw-cy .aw-cy-post .cm-teaser-meta i { margin-right: 5px; color: var(--cy-accent); }
#app.aw-cy .aw-cy-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; margin: 8px 0 0 -7px; padding-top: 6px; }
#app.aw-cy .aw-cy-post .aw-cy-acts { margin-left: 0; padding-left: 0; border-top: 1px solid rgba(0, 0, 0, .1); }
body.dark #app.aw-cy .aw-cy-post .aw-cy-acts { border-top-color: rgba(255, 255, 255, .1); }
#app.aw-cy .aw-cy-acts .dropdown { display: inline-block; margin-left: auto; }
#app.aw-cy .aw-cy-acts i.mr-0 { margin-right: 0 !important; }
#app.aw-cy .aw-cy-pager.btn.d-flex { display: flex; justify-content: center; width: 100%; height: auto; margin: 14px 0 4px; padding: 0; border: 0; background: none; box-shadow: none; }
#app.aw-cy .aw-cy-pager .aw-cy-more { min-width: 200px; padding: 8px 16px; font-family: "Nunito Sans", sans-serif; font-size: 13px; }
#app.aw-cy .post-list > .aw-cy-empty { margin-top: 10px; padding: 24px 10px; background: var(--cy-inset); }
@media (max-width: 500px) {
    #app.aw-cy .aw-cy-post { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 10px 8px; }
    #app.aw-cy .aw-cy-post.aw-cy-is-pinned { padding-left: 4px; }
    #app.aw-cy .aw-cy-post-title { font-size: 1.25rem; }
    #app.aw-cy .aw-cy-post .aw-cy-acts .aw-cy-act-label { display: none; }
}

/* ── 3. Post ───────────────────────────────────────────────────────────── */

#app.aw-cy .aw-cy-box-acts { float: right; display: inline-flex; align-items: center; gap: 8px; line-height: 35px; font-size: .9rem; color: var(--cy-muted); }
#app.aw-cy .aw-cy-article .widget-title .title { display: inline-flex; align-items: center; }
#app.aw-cy .aw-cy-article .widget-body { padding: 15px 3%; font-family: "Nunito Sans", sans-serif; }
#app.aw-cy .aw-cy-post-h1 { margin: 0 0 10px; font-family: "Nunito Sans", sans-serif; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--cy-title); overflow-wrap: anywhere; }
#app.aw-cy .aw-cy-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--cy-line); font-size: 12px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-byline .aw-cy-name { font-size: 14px; }
#app.aw-cy .aw-cy-byline .aw-cy-score-line { margin-left: auto; }
#app.aw-cy .aw-cy-byline .aw-cy-score-line strong { color: var(--cy-strong); }
#app.aw-cy .aw-cy-text { color: var(--cy-text); font-size: 14px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
#app.aw-cy .aw-cy-text > :last-child { margin-bottom: 0; }
#app.aw-cy .aw-cy-text p { margin: 0 0 12px; }
#app.aw-cy .aw-cy-text a { color: var(--cy-accent); }
#app.aw-cy .aw-cy-text a:hover { text-decoration: underline; }
#app.aw-cy .aw-cy-text strong, #app.aw-cy .aw-cy-text b { font-weight: 700; }
#app.aw-cy .aw-cy-text blockquote { margin: 0 0 12px; padding: 4px 0 4px 12px; border-left: 4px solid var(--cy-accent); color: var(--cy-muted); font-size: inherit; }
#app.aw-cy .aw-cy-text img { display: block; max-width: 100%; height: auto; margin: 10px auto; }
#app.aw-cy .aw-cy-text ul, #app.aw-cy .aw-cy-text ol { padding-left: 22px; }
#app.aw-cy .aw-cy-text ul { list-style: disc; }
#app.aw-cy .aw-cy-text ol { list-style: decimal; }
#app.aw-cy .aw-cy-text code { padding: 1px 5px; border-radius: 2px; background: var(--cy-deep); color: var(--cy-strong); font-size: 12px; }
#app.aw-cy .aw-cy-text .cm-spoil, #app.aw-cy .aw-cy-text .spoil, #app.aw-cy .aw-cy-text .spoiler { border-radius: 2px; background: var(--cy-muted); color: transparent; cursor: pointer; transition: color .15s, background .15s; }
#app.aw-cy .aw-cy-text .cm-spoil.show, #app.aw-cy .aw-cy-text .spoil.show, #app.aw-cy .aw-cy-text .spoiler.show, #app.aw-cy .aw-cy-text .cm-spoil:hover { background: var(--cy-deep); color: var(--cy-strong); }
#app.aw-cy .aw-cy-article .aw-cy-acts { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--cy-line); }
#app.aw-cy .aw-cy-article .aw-cy-act { font-size: 13px; }
#app.aw-cy .aw-cy-article .lp-btn-vote[data-type="1"].active { color: var(--cy-accent); }
#app.aw-cy .aw-cy-article .lp-btn-vote[data-type="0"].active { color: #e0434f; }
#app.aw-cy .aw-cy-share { margin-top: 12px; }
@media (max-width: 500px) {
    #app.aw-cy .aw-cy-post-h1 { font-size: 18px; }
    #app.aw-cy .aw-cy-byline .aw-cy-score-line { width: 100%; margin-left: 0; }
}

/* ── 4. Post formats (inset box) ───────────────────────────────────────── */

#app.aw-cy .aw-cy-fmt { margin: 0 0 16px; padding: 12px; border-radius: 3px; background: var(--cy-inset); }
#app.aw-cy .aw-cy-fmt .cm-poll-head { margin-bottom: 10px; color: var(--cy-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
#app.aw-cy .aw-cy-fmt .cm-poll-head i { margin-right: 6px; color: var(--cy-accent); }

/* Poll */
#app.aw-cy .cm-poll-row { display: flex; align-items: stretch; gap: 6px; margin-bottom: 6px; }
#app.aw-cy .cm-poll-row:last-child { margin-bottom: 0; }
#app.aw-cy .cm-poll-opt { display: grid; flex: 1 1 auto; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; padding: 6px; border: 0; border-radius: 3px; background: var(--cy-box); color: var(--cy-muted); font-family: inherit; text-align: left; cursor: pointer; transition: background .15s, box-shadow .15s; }
#app.aw-cy .cm-poll-opt.aw-cy-noimg { grid-template-columns: minmax(0, 1fr); padding-left: 12px; }
#app.aw-cy .cm-poll-opt:hover { background: var(--cy-inset-h); }
#app.aw-cy .cm-poll-opt:focus { outline: none; }
#app.aw-cy .cm-poll-opt.is-mine { box-shadow: inset 3px 0 0 var(--cy-accent); }
#app.aw-cy .cm-poll-poster img { display: block; width: 40px; height: 57px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .cm-poll-body { display: block; min-width: 0; }
#app.aw-cy .cm-poll-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cy-strong); font-size: 13px; font-weight: 600; }
#app.aw-cy .cm-poll-bar { display: none; height: 6px; margin: 6px 0 4px; border-radius: 3px; background: var(--cy-deep); overflow: hidden; }
#app.aw-cy .cm-poll-bar > span { display: block; height: 100%; border-radius: 3px; background: #7ab0e3; transition: width .3s; }
#app.aw-cy .cm-poll-opt.is-mine .cm-poll-bar > span { background: var(--cy-accent); }
#app.aw-cy .cm-poll-opt.is-revealed .cm-poll-bar { display: block; }
#app.aw-cy .cm-poll-meta { display: block; margin-top: 2px; color: var(--cy-muted); font-size: 11px; }
#app.aw-cy .cm-poll-link { display: flex; flex: 0 0 30px; align-items: center; justify-content: center; border-radius: 3px; background: var(--cy-box); color: var(--cy-muted); }
#app.aw-cy .cm-poll-link:hover { color: var(--cy-accent); }

/* Matchup */
#app.aw-cy .cm-matchup-row { display: flex; align-items: center; justify-content: center; gap: 15px; }
#app.aw-cy .cm-matchup-card { position: relative; display: flex; flex: 0 1 200px; flex-direction: column; align-items: center; min-width: 0; padding: 0; border: 0; border-radius: 3px; background: none; color: var(--cy-muted); font-family: inherit; cursor: pointer; }
#app.aw-cy .cm-matchup-card:focus { outline: none; }
#app.aw-cy .cm-matchup-card img { display: block; width: 100%; aspect-ratio: 381 / 541; border-radius: 3px; object-fit: cover; background: var(--cy-deep); transition: opacity .15s; }
#app.aw-cy .cm-matchup-ph { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 381 / 541; border-radius: 3px; background: var(--cy-deep); color: #8c8c8c; font-size: 28px; }
#app.aw-cy .cm-matchup-card:hover img { opacity: .85; }
#app.aw-cy .cm-matchup-card.is-mine img { outline: 2px solid var(--cy-accent); outline-offset: 2px; }
#app.aw-cy .cm-matchup-title { display: block; width: 100%; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cy-strong); font-size: 13px; font-weight: 600; text-align: center; }
#app.aw-cy .cm-matchup-cta { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 2px; background: rgba(22, 95, 167, .9); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
#app.aw-cy .cm-matchup-pct { display: block; margin-top: 4px; color: var(--cy-accent); font-size: 20px; font-weight: 700; line-height: 1.2; }
#app.aw-cy .cm-matchup-votes { display: block; color: var(--cy-muted); font-size: 11px; }
#app.aw-cy .cm-matchup-vs { display: flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cy-accent); color: #fff; font-size: 14px; font-weight: 800; }

/* Tier list (read-only) — row colours are the author's (tl-c-*). */
#app.aw-cy .tl-c-red { --tl: #ff7f7f; } #app.aw-cy .tl-c-orange { --tl: #ffbf7f; } #app.aw-cy .tl-c-amber { --tl: #ffdf7f; } #app.aw-cy .tl-c-yellow { --tl: #f7e15b; }
#app.aw-cy .tl-c-green { --tl: #7fdf7f; } #app.aw-cy .tl-c-teal { --tl: #6fd6c6; } #app.aw-cy .tl-c-blue { --tl: #7fbfff; } #app.aw-cy .tl-c-purple { --tl: #b49cf0; }
#app.aw-cy .tl-c-pink { --tl: #ff8fc7; } #app.aw-cy .tl-c-gray { --tl: #b0bec5; }
#app.aw-cy .tl-view .tl-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 2px; margin-bottom: 2px; }
#app.aw-cy .tl-view .tl-label { display: flex; align-items: center; justify-content: center; padding: 6px; border-radius: 3px 0 0 3px; background: var(--tl, #b0bec5); color: #11161d; font-size: 14px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
#app.aw-cy .tl-view .tl-items { display: flex; flex-wrap: wrap; gap: 4px; min-height: 78px; padding: 4px; border-radius: 0 3px 3px 0; background: var(--cy-box); }
#app.aw-cy .tl-view .tl-item img, #app.aw-cy .tl-view .tl-item-gone { display: block; width: 50px; height: 70px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .tl-view .tl-item:hover img { opacity: .8; }
#app.aw-cy .tl-view .tl-empty { align-self: center; padding: 0 8px; color: var(--cy-muted); font-size: 11px; }

/* Seasonal ranking */
#app.aw-cy .cm-seasonal-list { margin: 0; padding: 0; list-style: none; }
#app.aw-cy .cm-seasonal-list > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--cy-line); }
#app.aw-cy .cm-seasonal-list > li:last-child { border-bottom: 0; }
#app.aw-cy .cm-seasonal-rank { width: 27px; border: 1px solid var(--cy-accent); border-radius: 3px; color: var(--cy-accent); font-size: 1rem; font-weight: 500; line-height: 26px; text-align: center; }
#app.aw-cy .cm-seasonal-list > li.is-top .cm-seasonal-rank { background: var(--cy-accent); color: #fff; }
#app.aw-cy .cm-seasonal-list a { display: grid; grid-template-columns: 45px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--cy-text); font-size: 1.1rem; font-weight: 500; }
#app.aw-cy .cm-seasonal-list a:hover { color: var(--cy-accent); }
#app.aw-cy .cm-seasonal-list img { display: block; width: 45px; height: 60px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .cm-seasonal-gone { color: var(--cy-muted); font-size: 12px; }

/* Recommendation */
#app.aw-cy .cm-rec-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 12px; }
#app.aw-cy .cm-rec-item { display: block; min-width: 0; color: var(--cy-text); }
#app.aw-cy .cm-rec-item img { display: block; width: 100%; aspect-ratio: 381 / 541; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .cm-rec-item span { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; text-align: center; }
#app.aw-cy .cm-rec-item:hover { color: var(--cy-accent); }
@media (max-width: 500px) {
    #app.aw-cy .aw-cy-fmt { padding: 8px; }
    #app.aw-cy .cm-matchup-row { gap: 8px; }
    #app.aw-cy .cm-matchup-vs { flex-basis: 32px; width: 32px; height: 32px; font-size: 12px; }
    #app.aw-cy .tl-view .tl-row { grid-template-columns: 56px minmax(0, 1fr); }
    #app.aw-cy .tl-view .tl-label { font-size: 12px; }
    #app.aw-cy .tl-view .tl-item img, #app.aw-cy .tl-view .tl-item-gone { width: 40px; height: 56px; }
    #app.aw-cy .tl-view .tl-items { min-height: 64px; }
    #app.aw-cy .cm-rec-refs { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
}

/* ── 5. Create / edit ──────────────────────────────────────────────────── */

#app.aw-cy .aw-cy-create .widget-body { padding: 15px; }
#app.aw-cy .aw-cy-alert .alert { margin: 0 0 14px; padding: 8px 12px; border-radius: 2px; font-family: "Nunito Sans", sans-serif; font-size: 13px; }
#app.aw-cy .aw-cy-form .aw-cy-field { margin-bottom: 16px; }
#app.aw-cy .aw-cy-lbl { display: block; margin: 0 0 6px; font-family: "Nunito Sans", sans-serif; font-size: 13px; font-weight: 600; color: var(--cy-text); }
#app.aw-cy .aw-cy-form textarea.form-control { height: auto; min-height: 150px; resize: vertical; line-height: 1.5; }
#app.aw-cy .aw-cy-form .invalid-feedback { display: block; margin-top: 4px; font-size: 12px; color: #e0434f; }
#app.aw-cy .aw-cy-form .is-invalid { border-color: #e0434f; }
#app.aw-cy .aw-cy-tagset { display: flex; flex-wrap: wrap; gap: 6px; }
#app.aw-cy .aw-cy-tagset .cp-tag { position: relative; padding: 5px 10px; }
#app.aw-cy .aw-cy-tagset .cp-tag input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
#app.aw-cy .aw-cy-tagset .cp-tag .aw-cy-dot { margin-right: 0; }
#app.aw-cy .aw-cy-tagset .cp-tag small { padding: 1px 4px; border-radius: 2px; background: rgba(0, 0, 0, .12); font-size: 10px; font-weight: 700; text-transform: uppercase; }
#app.aw-cy .aw-cy-tagset .cp-tag:focus-within { border-color: var(--cy-accent); }
#app.aw-cy .aw-cy-tagset .cp-tag.is-on .aw-cy-dot { box-shadow: 0 0 0 2px #fff; }
.aw-cy-fmtbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.aw-cy-fmtbar .cp-fmt-btn i { font-size: 11px; }
@media (max-width: 500px) {
    .aw-cy-fmtbar .cp-fmt-btn span { display: none; }
}
#app.aw-cy .aw-cy-md-help { margin: 6px 0 0; font-size: 11px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-md-help code { margin-right: 6px; padding: 1px 5px; border-radius: 2px; background: var(--cy-inset); color: var(--cy-text); font-size: 11px; }
#app.aw-cy .aw-cy-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
#app.aw-cy .aw-cy-form-foot .aw-cy-mana { margin-left: auto; font-size: 12px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-form-foot .aw-cy-mana i { margin-right: 5px; color: var(--cy-accent); }
#app.aw-cy .aw-cy-builder { margin-bottom: 16px; }
#app.aw-cy .aw-cy-builder-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-bottom: 8px; }
#app.aw-cy .aw-cy-builder-head .aw-cy-lbl { margin: 0; }
#app.aw-cy .aw-cy-builder-head .tl-limits, #app.aw-cy .aw-cy-builder-head #poll-builder-hint { font-size: 11px; color: var(--cy-muted); }

/* Tier list builder (rows re-rendered by community.min.js). */
#app.aw-cy .tl-builder .tl-brow { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 2px; margin-bottom: 2px; }
#app.aw-cy .tl-builder .tl-label { display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 3px 0 0 3px; background: var(--tl, #b0bec5); }
#app.aw-cy .tl-builder .tl-label-input { width: 100%; height: auto; padding: 4px 2px; border: 0; border-radius: 2px; background: transparent; color: #11161d; font-size: 14px; font-weight: 700; text-align: center; }
#app.aw-cy .tl-builder .tl-label-input:focus { outline: 1px dashed rgba(17, 22, 29, .5); background: rgba(255, 255, 255, .3); }
#app.aw-cy .tl-builder .tl-bitems { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 78px; padding: 4px; background: var(--cy-box); }
#app.aw-cy .tl-builder .tl-bitem { position: relative; }
#app.aw-cy .tl-builder .tl-bitem img, #app.aw-cy .tl-builder .tl-bitem-ph { display: block; width: 50px; height: 70px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .tl-builder .tl-bitem-ph { padding: 4px; overflow: hidden; color: var(--cy-text); font-size: 9px; line-height: 1.2; }
#app.aw-cy .tl-builder .tl-bitem-x { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; background: #e0434f; color: #fff; font-size: 9px; line-height: 18px; text-align: center; cursor: pointer; opacity: 0; transition: opacity .15s; }
#app.aw-cy .tl-builder .tl-bitem:hover .tl-bitem-x, #app.aw-cy .tl-builder .tl-bitem-x:focus { opacity: 1; }
@media (hover: none) { #app.aw-cy .tl-builder .tl-bitem-x { opacity: 1; } }
#app.aw-cy .tl-builder .tl-add-item { width: 50px; height: 70px; padding: 0; border: 1px dashed #b5b5b5; border-radius: 3px; background: none; color: var(--cy-muted); cursor: pointer; }
#app.aw-cy .tl-builder .tl-add-item:hover { border-color: var(--cy-accent); color: var(--cy-accent); }
#app.aw-cy .tl-builder .tl-rowtools { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 2px 4px; border-radius: 0 3px 3px 0; background: var(--cy-box); }
#app.aw-cy .tl-builder .tl-tool { display: block; width: 24px; height: 18px; border-radius: 2px; color: var(--cy-muted); font-size: 11px; line-height: 18px; text-align: center; }
#app.aw-cy .tl-builder .tl-tool:hover { background: var(--cy-deep); color: var(--cy-accent); }
#app.aw-cy .tl-builder .tl-tool.is-off { opacity: .3; pointer-events: none; }
#app.aw-cy .tl-builder .tl-remove-row:hover { color: #e0434f; }
#app.aw-cy .aw-cy-fmt.aw-cy-builder { padding: 12px; }
#app.aw-cy .tl-toolbar, #app.aw-cy .poll-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
#app.aw-cy .tl-count, #app.aw-cy .poll-count { font-size: 12px; color: var(--cy-muted); }
@media (max-width: 500px) {
    #app.aw-cy .tl-builder .tl-brow { grid-template-columns: 56px minmax(0, 1fr) auto; }
    #app.aw-cy .tl-builder .tl-label-input { font-size: 12px; }
}

/* Poll / matchup / seasonal / recommendation builder. */
#app.aw-cy .poll-season-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
#app.aw-cy .poll-season-bar select, #app.aw-cy .poll-season-bar input { width: auto; background-color: var(--cy-box); }
#app.aw-cy .poll-season-bar select { height: 32px; padding: 4px 8px; }
#app.aw-cy .poll-season-bar #poll-year { width: 90px; }
#app.aw-cy .poll-options .poll-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; padding: 6px; border-radius: 3px; background: var(--cy-box); }
#app.aw-cy .poll-options .poll-rank { flex: 0 0 28px; color: var(--cy-accent); font-size: 14px; font-weight: 700; text-align: center; }
#app.aw-cy .poll-options .poll-opt img, #app.aw-cy .poll-options .poll-opt-ph { display: block; width: 40px; height: 57px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#app.aw-cy .poll-options .poll-opt-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cy-strong); font-size: 13px; font-weight: 600; }
#app.aw-cy .poll-options .poll-opt-tools { display: flex; gap: 2px; }
#app.aw-cy .poll-options .poll-opt-tools a, #app.aw-cy .poll-options .poll-opt-tools button { display: inline-block; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 2px; background: none; color: var(--cy-muted); font-size: 12px; line-height: 26px; text-align: center; cursor: pointer; }
#app.aw-cy .poll-options .poll-opt-tools a:hover, #app.aw-cy .poll-options .poll-opt-tools button:hover { background: var(--cy-deep); color: var(--cy-accent); }
#app.aw-cy .poll-options .poll-opt-x:hover { color: #e0434f !important; }
#app.aw-cy .poll-options .poll-empty { padding: 12px; border-radius: 3px; background: var(--cy-box); color: var(--cy-muted) !important; font-size: 12px; text-align: center; }
#app.aw-cy .poll-type-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
#app.aw-cy .poll-type-switch .poll-switch { padding: 3px 8px; font-size: 12px; }

/* The anime search dialog community.min.js appends to <body> (Bootstrap markup: .modal-dialog
   .modal-dialog-centered > .modal-content > .modal-header + .modal-body); aw-community.js gives it `aw-cy-modal`. */
#tl-search-modal.aw-cy-modal .modal-dialog { max-width: 560px; }
#tl-search-modal.aw-cy-modal .modal-content { width: 100%; }
#tl-search-modal.aw-cy-modal .modal-header h5 { margin: 0; font-family: "Nunito Sans", sans-serif; font-size: 1.1em; font-weight: 600; line-height: 35px; color: var(--cy-accent); text-transform: uppercase; }
#tl-search-modal.aw-cy-modal #tl-search-input { width: 100%; height: 32px; padding: 6px 12px; border: 1px solid var(--cy-field); border-radius: 3px; background: var(--cy-field); color: var(--cy-text); font-size: 13px; outline: 0; box-shadow: none; }
#tl-search-modal.aw-cy-modal #tl-search-input:focus { background: var(--cy-field-f); border-color: var(--cy-accent); }
#tl-search-modal.aw-cy-modal #tl-search-results { max-height: 50vh; margin-top: 10px; overflow-y: auto; }
#tl-search-modal.aw-cy-modal .tl-search-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-bottom: 1px solid var(--cy-line); background: none; color: var(--cy-text); text-align: left; cursor: pointer; }
#tl-search-modal.aw-cy-modal .tl-search-item:hover { background: var(--cy-inset); color: var(--cy-accent); }
#tl-search-modal.aw-cy-modal .tl-search-item img { width: 45px; height: 60px; flex: 0 0 45px; border-radius: 3px; object-fit: cover; background: var(--cy-deep); }
#tl-search-modal.aw-cy-modal .tl-search-name { flex: 1 1 auto; min-width: 0; font-family: "Nunito Sans", sans-serif; font-size: 1.1rem; font-weight: 500; }
#tl-search-modal.aw-cy-modal .tl-search-state { font-size: 12px; font-weight: 400; }
#tl-search-modal.aw-cy-modal .tl-search-item.is-added { opacity: .55; }
#tl-search-modal.aw-cy-modal .tl-search-hint { padding: 10px 0; color: var(--cy-muted); font-size: 12px; text-align: center; }

/* ── 6. La mia zona ────────────────────────────────────────────────────── */

#app.aw-cy .aw-cy-zone .mz-post-row { display: block; padding: 10px 0; border-bottom: 1px solid var(--cy-line); }
#app.aw-cy .aw-cy-zone .mz-post-row:first-child { padding-top: 0; }
#app.aw-cy .aw-cy-zone .mz-post-row:last-child { border-bottom: 0; padding-bottom: 0; }
#app.aw-cy .aw-cy-zone .mz-title { display: block; margin: 5px 0; font-family: "Nunito Sans", sans-serif; font-size: 1.25rem; font-weight: 500; line-height: 1.35; color: var(--cy-title); overflow-wrap: anywhere; }
#app.aw-cy .aw-cy-zone .mz-title:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-zone .mz-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-zone .mz-foot i { margin-right: 4px; }
#app.aw-cy .aw-cy-zone .mz-acts { display: flex; gap: 6px; margin-left: auto; }
#app.aw-cy .aw-cy-zone .mz-acts i { margin-right: 0; }
#app.aw-cy .aw-cy-zone .mz-hidden { padding: 2px 5px; border-radius: 2px; background: #7d7979; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; }
#app.aw-cy .aw-cy-more { display: block; width: 100%; margin-top: 12px; text-align: center; }
#app.aw-cy a.aw-cy-more.mz-older { padding: 6px 10px; border-radius: 2px; background: var(--cy-btn); color: var(--cy-btn-text); }
#app.aw-cy a.aw-cy-more.mz-older:hover { background: var(--cy-btn-h); }
#app.aw-cy .aw-cy-card { padding: 15px 10px; text-align: center; font-family: "Nunito Sans", sans-serif; }
#app.aw-cy .aw-cy-card .aw-cy-av-100 { display: block; margin: 0 auto 10px; }
#app.aw-cy .aw-cy-card-name { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--cy-title); overflow-wrap: anywhere; }
#app.aw-cy .aw-cy-card-name:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-card-rank { margin-top: 6px; font-size: 12px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-card-rank .badg-level { vertical-align: -3px; }
#app.aw-cy .aw-cy-mana { margin-top: 14px; text-align: left; }
#app.aw-cy .aw-cy-mana-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-mana-head strong { font-size: 14px; color: var(--cy-strong); }
#app.aw-cy .aw-cy-mana .aw-cy-bar { height: 6px; margin: 6px 0; border-radius: 3px; background: var(--cy-deep); overflow: hidden; }
#app.aw-cy .aw-cy-mana .aw-cy-bar > span { display: block; height: 100%; border-radius: 3px; background: var(--cy-accent); }
#app.aw-cy .aw-cy-mana-foot { margin: 0; font-size: 11px; color: var(--cy-muted); }
#app.aw-cy .aw-cy-card-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
#app.aw-cy .aw-cy-ladder .aw-cy-row { opacity: .55; }
#app.aw-cy .aw-cy-ladder .aw-cy-row.is-reached { opacity: 1; }
#app.aw-cy .aw-cy-ladder .aw-cy-row.is-current .aw-cy-row-title { color: var(--cy-accent); font-weight: 700; }
#app.aw-cy .aw-cy-ladder .aw-cy-row img { display: block; width: 16px; height: 16px; object-fit: contain; }
#app.aw-cy .aw-cy-ledger .is-pos { color: #2e9e3f; }
#app.aw-cy .aw-cy-ledger .is-neg { color: #e0434f; }
#app.aw-cy .aw-cy-ledger .aw-cy-mana { margin: 0 0 12px; }

/* ── 7. Super X ────────────────────────────────────────────────────────── */

#app.aw-cy .aw-cy-boards { margin-right: -7.5px; margin-left: -7.5px; }
#app.aw-cy .aw-cy-boards > [class*="col-"] { padding-right: 7.5px; padding-left: 7.5px; }
#app.aw-cy .aw-cy-boards .tab-content > .tab-pane { display: none; }
#app.aw-cy .aw-cy-boards .tab-content > .tab-pane.active { display: block; }
#app.aw-cy .wv-ul:not(.expand) > .aw-cy-row:nth-child(n+6) { display: none; }
#app.aw-cy .wv-ul:not(.expand) > .aw-cy-row:nth-child(5) { padding-bottom: 0; border-bottom: 0; }
#app.aw-cy .wv-loadmore { margin-top: 10px; }
#app.aw-cy .wv-loadmore .aw-cy-more { margin-top: 0; }
#app.aw-cy .aw-cy-quote { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--cy-text); font-family: "Nunito Sans", sans-serif; font-size: 1rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
#app.aw-cy a.aw-cy-quote:hover { color: var(--cy-accent); }
#app.aw-cy .aw-cy-tally { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 10px; color: #8c8c8c; white-space: nowrap; }
#app.aw-cy .aw-cy-tally i { margin-right: 3px; }
#app.aw-cy .aw-cy-sx-foot { margin: 0 0 15px; text-align: center; }
#app.aw-cy .aw-cy-sorts { margin-right: 8px; }

/* ---- fidelity pass 3: the owner's mascot in the empty board (images/mascot/web/chat.webp) ---- */
#app.aw-cy .post-list > .aw-cy-empty .aw-cy-empty-art { display: block; width: auto; height: auto; max-width: min(150px, 50%); max-height: 152px; margin: 0 auto 12px; object-fit: contain; }
/* fidelity pass 3, dark numbers against news / news-article (-dark via dark.css): the breadcrumb links are #b3b2b2,
   a widget title #ccc8c8 — also the post's topic title, which is a link. */
body.dark #app.aw-cy .aw-cy-crumb .title a { color: #b3b2b2; }
body.dark #app.aw-cy .aw-cy-crumb .title a:hover { color: #5c9fe0; }
body.dark #app.aw-cy .aw-cy-article .widget-title a.title { color: #ccc8c8; }
