/*
 * `animeworld` theme — misc area (errors, maintenance, coming soon; the auth / static / contact pages of the
 * "auth + static + misc" work package add their rules here). animeworld.ac's own rules are in the vendored
 * css/all.css; this file holds what the CMS adds.
 *
 *   1. Error pages     errors/partials/error-page: animeworld's "Errore 404" widget with own art
 *   2. Standalone      errors/partials/standalone: the mini shell of 5xx / maintenance / coming soon
 *   3. Coming soon     the countdown boxes
 */

/* 1. Error pages */
.aw-error-page { padding-bottom: 20px; }
.aw-error .widget-body { padding: 20px 15px 30px; text-align: center; }
.aw-error #img-container { display: block; color: #367dc3; }
.aw-error .aw-error-art { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.aw-error .aw-error-title { margin: 10px 0 6px; font-family: "Nunito Sans", sans-serif; font-size: 1.7rem; font-weight: 400; color: #165fa7; }
.aw-error .aw-error-text { margin: 0 auto 6px; max-width: 520px; font-family: "Nunito Sans", sans-serif; font-size: 1.05rem; color: #555; }
.aw-error .aw-error-sub { margin: 0 auto 6px; max-width: 520px; color: #8c8c8c; }
.aw-error .aw-error-btn { margin-top: 14px; padding: 6px 18px; }
body.dark .aw-error #img-container { color: #8c8c8c; }
body.dark .aw-error .aw-error-title { color: #e0e0e0; }
body.dark .aw-error .aw-error-text { color: #c8c8c8; }

/* 2. Standalone */
.aw-standalone #header .head .container { overflow: hidden; }
.aw-standalone #header .nav.aw-standalone-bar { display: block; height: 34px; }
.aw-standalone main#content { min-height: calc(100vh - 150px); padding-top: 10px; }
@media (max-width: 800px) { .aw-standalone #header .nav.aw-standalone-bar { position: static; width: auto; height: 6px; } }

/* 3. Coming soon */
.aw-hold .aw-hold-cd { display: flex; justify-content: center; gap: 10px; margin: 10px 0 22px; }
.aw-hold .aw-hold-box { min-width: 76px; padding: 10px 6px; border-radius: 3px; background: #f1f1f1; }
.aw-hold .aw-hold-n { display: block; font-family: Montserrat, "Nunito Sans", sans-serif; font-size: 2rem; line-height: 1.1; color: #367dc3; font-variant-numeric: tabular-nums; }
.aw-hold .aw-hold-u { font-family: "Nunito Sans", sans-serif; font-size: .8rem; text-transform: uppercase; color: #6d6d6d; }
.aw-hold .aw-hold-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
body.dark .aw-hold .aw-hold-box { background: #333; }
@media (max-width: 480px) { .aw-hold .aw-hold-box { min-width: 0; flex: 1; } .aw-hold .aw-hold-n { font-size: 1.5rem; } }

/* ==================================================================================================================
 * The "auth + static + misc" package. Sections 4–9:
 *   4. Auth page       auth/reset-password: animeworld's /login card as a page (`#body.login-page.aw-auth`)
 *   5. Shared bits     .aw-misc pages: the count in a title bar, loaders, in-flow alerts
 *   6. Contact / static pages   frontend/contact, frontend/page (termini look, the FAQ list)
 *   7. Guides          frontend/guides/*
 *   8. Request queue   frontend/request-anime, partials/anime-request-item, partials/request-new-modal
 *   9. Leaderboard     frontend/leaderboard + partials/leaderboard/*
 * ================================================================================================================== */

/* 4. Auth page ------------------------------------------------------------------------------------------------- */
/* animeworld.ac's dist/frontend/views/login/login.css. The layout's copy (css/aw-sign.css, generated) is scoped to
   the `#sign` modal; these are the same declarations scoped to `.aw-auth` (tmp/aw/misc/auth-css.mjs prints them),
   minus the social-button rules the reset page has no use for. The dark look is dark.css's `body.dark .login-page`. */
.aw-auth input[name="password"]:active,.aw-auth input[name="password"]:focus,.aw-auth input[name="password"]:hover,.aw-auth input[name="password"][focus-within],.aw-auth input[name="username"]:active,.aw-auth input[name="username"]:focus,.aw-auth input[name="username"]:hover,.aw-auth input[name="username"][focus-within]{cursor:text}
.aw-auth input[name="password"]:active,.aw-auth input[name="password"]:focus,.aw-auth input[name="password"]:focus-within,.aw-auth input[name="password"]:hover,.aw-auth input[name="username"]:active,.aw-auth input[name="username"]:focus,.aw-auth input[name="username"]:focus-within,.aw-auth input[name="username"]:hover{cursor:text}
.aw-auth .login-footer{padding:15px;text-align:center;border-top:1px solid #e5e5e5}
.aw-auth .form-control,.aw-auth .input-group{width:100%!important}
.aw-auth .form-control{display:block!important;height:38px!important;padding:6px 12px!important;font-size:14px!important;line-height:1.42857143!important;color:#555;background-color:#fff;background-image:none!important;border:1px solid #ccc;border-radius:2px!important;cursor:pointer;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)!important}
.aw-auth .login-modal-header{border:none;padding:25px 40px 0}
.aw-auth .login-modal-header,.aw-auth .titolo-login{text-align:center;position:relative}
.aw-auth .titolo-login{font-weight:400;font-size:1.7rem;margin-bottom:5px;font-family:Nunito Sans,sans-serif;color:#165fa7;display:inline-block}
.aw-auth :focus{outline:none!important}
.aw-auth .input-group-prepend{border:1px solid #ccc;border-radius:2px 0 0 2px}
.aw-auth .input-group-text{outline:none;font-size:16px;background-color:#fff;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)!important}
.aw-auth .input-group-prepend span{border-left:0;border-top:0;border-bottom:0}
.aw-auth .input-group-append{border:1px solid #ccc;border-left:0;border-radius:2px}
.aw-auth [data-aw-eye]{font-size:18px;border:0}
body:not(.dark) .aw-auth .input-group[focus-within] *{border-color:#367dc3!important;outline:none}
body:not(.dark) .aw-auth .input-group:focus-within *{border-color:#367dc3!important;outline:none}
.aw-auth .input-group input{border-radius:2px 2px 2px 0;font-family:Nunito Sans,sans-serif;font-size:110%;border-left:0}
.aw-auth input[name="password"]{border-radius:0!important;border-right:0}
.aw-auth .visible-password-text{font-family:Nunito Sans,sans-serif}
/* what the page adds (the modal's equivalents are in aw-bridge.css §4) */
.aw-auth .btn.full { width: 100%; }
/* the reset form's first field is `email` (login's is `username`): same text cursor on hover / focus */
.aw-auth input[name="email"]:active,.aw-auth input[name="email"]:focus,.aw-auth input[name="email"]:focus-within,.aw-auth input[name="email"]:hover,.aw-auth input[name="password_confirmation"]:active,.aw-auth input[name="password_confirmation"]:focus,.aw-auth input[name="password_confirmation"]:hover{cursor:text}
/* the scope above outweighs Bootstrap's `.form-control:focus` text colour, which animeworld's page keeps */
body:not(.dark) .aw-auth .form-control:focus { color: #495057; }
.aw-auth form > .alert { margin: 0 0 12px; padding: 8px 12px; font-family: "Nunito Sans", sans-serif; font-size: 13px; border-radius: 2px; text-align: left; }
.aw-auth form.au-busy { cursor: progress; }
.aw-auth [data-aw-eye] { cursor: pointer; }
.aw-auth .login-footer a, .aw-auth .form-group a { cursor: pointer; }

/* 5. Shared bits ------------------------------------------------------------------------------------------------ */
.aw-misc .widget-title .aw-widget-count { float: right; line-height: 35px; font-family: "Nunito Sans", sans-serif; font-size: .9rem; color: #8c8c8c; }
.aw-misc .modal-body > .alert { margin-bottom: 12px; text-align: left; font-family: "Nunito Sans", sans-serif; }
/* the owner's mascot under an empty-list line (partials/misc/empty-art): animeworld's not-found picture box —
   all.css `.search-not-found-wrapper img` (centred, 35% of the column; 45% ≤ 400px) */
.aw-misc-empty-art { margin: 0 0 12px; text-align: center; line-height: 0; }
.aw-misc-empty-art img { width: 35%; max-width: 260px; height: auto; }
.aw-misc-empty-art--sm img { width: 45%; max-width: 140px; }
@media (max-width: 400px) { .aw-misc-empty-art img { width: 45%; } }
.aw-rq-loading { padding: 24px 0; text-align: center; color: #367dc3; }
.aw-rq-loading .spinner-border { width: 28px; height: 28px; border-width: 3px; }

/* 6. Contact / static pages --------------------------------------------------------------------------------------- */
/* contact: animeworld's form is its plain `.form-control` (all.css); only the CMS's extras are dressed here. */
.aw-contact-page #contact-form .invalid-feedback { display: block; margin-top: 4px; text-align: left; font-size: 12px; color: #c9302c; }
.aw-contact-page #contact-form .form-control.is-invalid { border-color: #d9534f; background-image: none; padding-right: 12px; }
.aw-contact-page .aw-contact-accept { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 8px; padding-left: 0; text-align: left; font-family: "Nunito Sans", sans-serif; }
.aw-contact-page .aw-contact-accept .form-check-input { position: static; flex: 0 0 auto; margin: 3px 0 0; }
.aw-contact-page .aw-contact-accept .form-check-label { flex: 1; margin: 0; cursor: pointer; }
.aw-contact-page .aw-contact-accept .invalid-feedback { flex: 0 0 100%; }
.aw-contact-page .aw-contact-captcha { text-align: center; margin-top: 4%; margin-bottom: 2%; }
.aw-contact-page .aw-contact-captcha > div { display: inline-block; }
.aw-contact-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; font-size: 1.9rem; }
.aw-contact-socials a { color: #367dc3; }
.aw-contact-socials a:hover { color: #2868a7; }
/* the picture box under the form: animeworld's `img.gif-rotonda` (500x281, `max-width:100%`, `margin:10px auto`) —
   own art in the same box: a drawn room (wall, shelf, desk) in the picture's palette with the owner's mascot. */
.aw-contact-art { position: relative; display: block; width: 500px; max-width: 100%; aspect-ratio: 500 / 281; margin: 10px auto; overflow: hidden; background: linear-gradient(180deg, #efe6d8 0%, #f6efe4 62%, #e9dfcf 100%); line-height: 0; text-align: left; }
.aw-contact-art:before { content: ""; position: absolute; right: 0; top: 0; width: 15%; height: 62%; background: repeating-linear-gradient(180deg, #8a5a3c 0 4%, #6f4630 4% 6%, #b8323c 6% 20%, #8a5a3c 20% 24%, #6f4630 24% 26%, #367dc3 26% 40%); opacity: .9; }
.aw-contact-art:after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 13%; background: linear-gradient(180deg, #d7d9e2 0%, #b9bcc9 100%); border-top: 2px solid #9a9db0; }
.aw-contact-art img { position: absolute; left: 50%; bottom: 3%; z-index: 1; width: auto; height: 106%; max-width: none; transform: translateX(-50%); pointer-events: none; }
.aw-contact-art i { position: absolute; z-index: 1; line-height: 1; color: #367dc3; opacity: .55; }
.aw-contact-art .aw-contact-art-i1 { left: 9%; top: 16%; font-size: 34px; transform: rotate(-12deg); }
.aw-contact-art .aw-contact-art-i2 { left: 17%; top: 52%; font-size: 24px; color: #b8323c; transform: rotate(10deg); }
.aw-contact-art .aw-contact-art-i3 { left: 4%; top: 38%; font-size: 20px; color: #8a5a3c; }
body.dark .aw-contact-art { background: linear-gradient(180deg, #2d2b29 0%, #353230 62%, #2a2826 100%); }
body.dark .aw-contact-art:before { opacity: .6; }
body.dark .aw-contact-art:after { background: linear-gradient(180deg, #4a4c55 0%, #3a3c44 100%); border-top-color: #5a5d68; }
@media (max-width: 480px) { .aw-contact-art .aw-contact-art-i1 { font-size: 24px; } .aw-contact-art .aw-contact-art-i2 { font-size: 17px; } .aw-contact-art .aw-contact-art-i3 { font-size: 14px; } }

/* static pages: animeworld's termini.css is `h1,h2,h3{margin-top:0!important;color:#367dc3}` for the whole page;
   here it is scoped to the editor's HTML, whose other blocks (lists, quotes, tables, images) get the same hand. */
.aw-page-body h1, .aw-page-body h2, .aw-page-body h3, .aw-page-body h4,
.aw-guide-article h3 { margin-top: 0 !important; color: #367dc3; }
.aw-page-body h1 { font-size: 1.9rem; }
.aw-page-body h2 { font-size: 1.75rem; }
.aw-page-body h4 { font-size: 1.25rem; }
.aw-page-body > :last-child { margin-bottom: 0; }
.aw-page-body a { color: #367dc3; }
.aw-page-body a:hover { color: #2868a7; text-decoration: underline; }
.aw-page-body img { max-width: 100%; height: auto; border-radius: 3px; }
.aw-page-body blockquote { margin: 0 0 1rem; padding: 10px 15px; border-left: 4px solid #165fa7; background: #fafafa; color: #165fa7; }
.aw-page-body hr { border-top: 1px solid #eee; }
.aw-page-body code { padding: 1px 5px; border-radius: 3px; background: #eee; color: #555; font-size: 12px; }
.aw-page-body table { width: 100%; margin: 0 0 1rem; border-collapse: collapse; }
.aw-page-body th { padding: 6px 10px; background: #367dc3; color: #fff; font-family: "Nunito Sans", sans-serif; font-weight: 600; text-align: left; }
.aw-page-body td { padding: 8px 10px; border-bottom: 1px solid #eee; vertical-align: top; }
.aw-page-body { overflow-wrap: break-word; }
.aw-static-page .aw-page-body table { display: block; overflow-x: auto; }
.aw-static-page .faq .aw-faq-lead { margin-bottom: 10px; }
.aw-static-page .faq ol li .question:focus-visible { outline: 2px solid #367dc3; outline-offset: 2px; }
body.dark .aw-page-body blockquote { background: #1d1d1d; color: #c3bfbf; border-left-color: #367dc3; }
body.dark .aw-page-body hr, body.dark .aw-page-body td { border-color: rgba(51, 51, 51, .84); }
body.dark .aw-page-body code { background: #292929; color: #c3bfbf; }

/* 7. Guides ------------------------------------------------------------------------------------------------------ */
.aw-guide-search { margin-bottom: 10px; }
.aw-guide-list { display: block; }
/* the row = animeworld's `.simple-film-list .item` (thumb 45×60 left, name 1.1rem, grey line, #eee rule) */
.aw-guide-row { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid #eee; color: #6d6d6d; }
.aw-guide-row:last-child { border-bottom: 0; }
.aw-guide-row[hidden] { display: none; }
.aw-guide-row:hover { color: #6d6d6d; text-decoration: none; }
.aw-guide-row .aw-guide-thumb { flex: 0 0 45px; width: 45px; height: 60px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 3px; background: #e6e8f0; color: #367dc3; font-size: 18px; }
.aw-guide-row .aw-guide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.aw-guide-row .aw-guide-info { flex: 1; min-width: 0; display: block; }
.aw-guide-row .aw-guide-cat { display: block; font-family: "Nunito Sans", sans-serif; font-size: .8rem; text-transform: uppercase; color: #367dc3; }
.aw-guide-row .name { display: block; font-weight: 500; font-size: 1.1rem; color: #555; }
.aw-guide-row:hover .name { color: #367dc3; }
.aw-guide-row .aw-guide-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; color: #8c8c8c; }
body.dark .aw-guide-row { border-color: rgba(51, 51, 51, .84); color: #c3bfbf; }
body.dark .aw-guide-row .aw-guide-thumb { background: #292929; }
body.dark .aw-guide-row .name { color: #888; }
body.dark .aw-guide-row:hover .name { color: #ddd; }
body.dark .aw-guide-row .aw-guide-desc { color: #6d6d6d; }

.aw-guide-article .aw-guide-meta { margin-bottom: 8px; font-size: .9rem; color: #8c8c8c; }
.aw-guide-article .aw-guide-cat { font-family: "Nunito Sans", sans-serif; text-transform: uppercase; color: #367dc3; }
.aw-guide-article .aw-guide-intro { font-size: 1.1rem; color: #555; }
.aw-guide-article .aw-guide-section { margin-bottom: 14px; }
.aw-guide-article .aw-guide-section > h3 { margin-bottom: .5rem; }
.aw-guide-article .gd-body > :last-child { margin-bottom: 0; }
.aw-guide-article .gd-p { margin: 0 0 10px; }
.aw-guide-article .gd-body a { color: #367dc3; }
.aw-guide-article .gd-body a:hover { color: #2868a7; text-decoration: underline; }
.aw-guide-article .gd-list { margin: 0 0 10px; padding-left: 34px; list-style: disc; }
.aw-guide-article .gd-li { margin-bottom: 4px; }
.aw-guide-article .gd-h3 { margin: 12px 0 6px; font-family: "Nunito Sans", sans-serif; font-size: 1.15rem; font-weight: 700; color: #555; }
.aw-guide-article .gd-note { margin: 0 0 10px; padding: 12px 15px; border-left: 4px solid #165fa7; background: #fafafa; color: #165fa7; box-shadow: 0 5px 8px -6px rgba(0, 0, 0, .2); }
.aw-guide-article .gd-shot { margin: 0 0 10px; text-align: center; }
.aw-guide-article .gd-shot img, .aw-guide-article .gd-body img { max-width: 100%; height: auto; border-radius: 3px; box-shadow: 0 2px 3px rgba(0, 0, 0, .1); }
.aw-guide-article .gd-caption { margin-top: 4px; font-size: .9rem; color: #8c8c8c; }
.aw-guide-article .aw-guide-lead { margin-bottom: 10px; }
.aw-guide-article .aw-guide-steps { margin: 0; padding: 0; list-style: none; }
.aw-guide-article .aw-guide-step { position: relative; min-height: 44px; padding: 8px 8px 8px 50px; border-bottom: 1px solid #eee; }
.aw-guide-article .aw-guide-step:last-child { border-bottom: 0; }
/* the step number = the ranking widget's number square */
.aw-guide-article .aw-guide-step-num { position: absolute; left: 8px; top: 9px; width: 27px; line-height: 26px; border: 1px solid #367dc3; border-radius: 3px; text-align: center; font-size: 1rem; font-weight: 500; color: #367dc3; }
.aw-guide-article .aw-guide-step h4 { margin: 0 0 4px; font-family: "Nunito Sans", sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 28px; color: #555; }
.aw-guide-article .gd-path { margin: 0 0 6px; font-family: "Nunito Sans", sans-serif; font-size: .85rem; text-transform: uppercase; color: #8c8c8c; }
.aw-guide-article .gd-path-sep { margin: 0 2px; font-size: .8rem; }
.aw-guide-article .aw-guide-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
body.dark .aw-guide-article .aw-guide-intro, body.dark .aw-guide-article .gd-h3, body.dark .aw-guide-article .aw-guide-step h4 { color: #ccc8c8; }
body.dark .aw-guide-article .gd-note { background: #1d1d1d; color: #c3bfbf; border-left-color: #367dc3; }
body.dark .aw-guide-article .aw-guide-step { border-color: rgba(51, 51, 51, .84); }

/* 8. Request queue ------------------------------------------------------------------------------------------------ */
.aw-rq .widget-title a.more { cursor: pointer; }
.aw-rq .widget-title a.more .fas { font-size: .7rem; margin-right: 2px; }
.aw-rq .aw-rq-tabs .tab.active { color: #367dc3; }
.aw-rq .aw-rq-lead { padding: 5px 15px 0; margin-bottom: 3%; text-align: center; }
.aw-rq .aw-rq-lead .req-totals { display: block; margin-top: 6px; font-family: "Nunito Sans", sans-serif; color: #8c8c8c; }
.aw-rq .aw-rq-lead .req-totals b { color: #367dc3; }
.aw-rq .aw-rq-tools { padding: 0 5px; margin-bottom: 10px; }
.aw-rq .req-search { position: relative; }
.aw-rq .req-search .form-control { padding-right: 70px; }
.aw-rq .req-matches { position: absolute; top: 6px; right: 34px; min-width: 20px; padding: 0 6px; border-radius: 2px; background: #367dc3; color: #eee; font-size: .8rem; line-height: 20px; text-align: center; }
.aw-rq .req-search-clear { position: absolute; top: 0; right: 0; width: 32px; height: 32px; border: 0; background: none; color: #8c8c8c; cursor: pointer; }
.aw-rq .req-search-clear:hover { color: #367dc3; }
.aw-rq .aw-rq-grid::after { content: ""; display: table; clear: both; }
.aw-rq .aw-rq-grid .item .inner .poster { background: #e6e8f0; overflow: hidden; border-radius: 3px; }
.aw-rq .aw-rq-grid .item .inner .poster img { object-fit: cover; color: transparent; font-size: 0; }
.aw-rq .aw-rq-noposter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #aaa; }
/* the status flag: the shape of animeworld's `.dub` / type flag (all.css `.film-list .item .inner .poster .status .dub`) */
.aw-rq .aw-rq-grid .status .aw-rq-st { float: right; position: relative; z-index: 2; height: 0; padding: 0 3px 0 1px; border-bottom: 20px solid var(--aw-rq-st, #cf8a00); border-left: 10px solid transparent; font-size: .7rem; text-transform: uppercase; color: #fff; white-space: nowrap; }
.aw-rq .aw-rq-grid .status .aw-rq-st ~ .bar { content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 20px; background: rgba(0, 0, 0, .3); z-index: 1; }
.aw-rq .aw-rq-st-available { --aw-rq-st: #2e9b46; }
.aw-rq .aw-rq-st-approved { --aw-rq-st: #0061aa; }
.aw-rq .aw-rq-st-pending { --aw-rq-st: #cf8a00; }
.aw-rq .aw-rq-st-rejected { --aw-rq-st: #b8323c; }
.aw-rq .aw-rq-meta { margin: 0 0 6px; height: 34px; overflow: hidden; font-size: .9rem; line-height: 17px; color: #8c8c8c; text-align: center; }
.aw-rq .aw-rq-meta .fas { font-size: .75rem; }
.aw-rq .aw-rq-meta strong { color: #555; }
.aw-rq .aw-rq-meta small { display: block; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the CTA: the request script rewrites the class list to `au-cy-btn-o req-cta [is-req|is-watch]`; drawn as
   animeworld's `.btn.btn-sm.btn-primary` (grey `.btn-default` once requested). */
.aw-rq .req-cta, #req-new-modal .req-cta { display: inline-block; padding: 3px 6px; border: 1px solid #367dc3; border-radius: 2px; background-color: #367dc3; color: #fff; font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1.5; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out; }
.aw-rq .req-cta { display: block; width: 100%; }
.aw-rq .req-cta:hover, #req-new-modal .req-cta:hover,
.aw-rq .req-cta:focus, #req-new-modal .req-cta:focus { background-color: #2868a7; border-color: #2868a7; color: #fff; text-decoration: none; outline: 0; }
.aw-rq .req-cta.is-req, #req-new-modal .req-cta.is-req { background-color: #efefef; border-color: #efefef; color: #333; }
.aw-rq .req-cta.is-req:hover, .aw-rq .req-cta.is-req:focus { background-color: #dbdbdb; border-color: #dbdbdb; color: #333; }
.aw-rq .req-cta[disabled], #req-new-modal .req-cta[disabled] { opacity: .65; cursor: not-allowed; }
.aw-rq .req-cta .fas, #req-new-modal .req-cta .fas { margin-right: 4px; font-size: .85em; }
.aw-rq .au-cy-spin, #req-new-modal .au-cy-spin { display: inline-block; width: 11px; height: 11px; margin-left: 5px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: spinner-border .75s linear infinite; }
.aw-rq .req-state { padding: 6px 0 14px; text-align: center; }
.aw-rq .req-state .aw-empty { padding: 18px 10px 12px; }
.aw-rq .req-state-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.aw-rq .req-more-wrap { padding: 10px 5px 0; }
.aw-rq .req-foot { margin: 14px 0 4px; text-align: center; font-family: "Nunito Sans", sans-serif; }
.aw-rq .req-foot a { cursor: pointer; }
body.dark .aw-rq .aw-rq-grid .item .inner .poster { background: #292929; }
body.dark .aw-rq .aw-rq-meta strong { color: #c3bfbf; }
body.dark .aw-rq .req-cta.is-req, body.dark #req-new-modal .req-cta.is-req { background-color: #1d1b1b; border-color: #1d1b1b; color: #888; }
body.dark .aw-rq .req-cta.is-req:hover { background-color: #151313; border-color: #151313; color: #888; }

/* the "Richiedi un anime" dialog: a Bootstrap modal whose content is a widget */
#req-new-modal { font-family: Roobert, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; color: #6d6d6d; }
#req-new-modal .aw-rq-dialog { max-width: 560px; margin: 30px auto; padding: 0 10px; }
#req-new-modal .modal-content.widget { margin-bottom: 0; border: 0; border-radius: 3px; background: #fff; box-shadow: 0 5px 25px rgba(0, 0, 0, .45); }
#req-new-modal .widget-title .aw-rq-close { float: right; padding: 0 4px; font-size: 22px; line-height: 35px; color: #8c8c8c; opacity: 1; text-shadow: none; }
#req-new-modal .widget-title .aw-rq-close:hover { color: #367dc3; }
#req-new-modal .widget-body { padding: 15px; }
#req-new-modal .aw-rq-intro { margin-bottom: 12px; text-align: center; }
#req-new-modal .aw-rq-loading { padding: 10px 0; }
#req-new-modal .req-results { max-height: 46vh; overflow-y: auto; }
/* a result = animeworld's live-search row (poster, name, grey line) with the CTA at the right */
#req-new-modal .req-hit { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #eee; }
#req-new-modal .req-hit:last-child { border-bottom: 0; }
#req-new-modal .req-hit-poster { flex: 0 0 40px; width: 40px; height: 56px; overflow: hidden; border-radius: 3px; background: #e6e8f0; }
#req-new-modal .req-hit-poster img { width: 100%; height: 100%; object-fit: cover; }
#req-new-modal .req-hit-body { flex: 1; min-width: 0; }
#req-new-modal .req-hit-title { font-size: 1.1rem; font-weight: 500; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#req-new-modal .req-hit-meta { font-size: .9rem; color: #8c8c8c; }
#req-new-modal .req-hit-err { font-size: .9rem; color: #c9302c; }
#req-new-modal .req-note { padding: 14px 6px; text-align: center; color: #8c8c8c; }
#req-new-modal .req-by-id { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eee; }
#req-new-modal .req-by-id summary { cursor: pointer; font-family: "Nunito Sans", sans-serif; color: #367dc3; outline: 0; }
#req-new-modal .req-by-id summary:hover { color: #2868a7; }
#req-new-modal .req-by-id form { margin-top: 10px; }
#req-new-modal .req-src { display: flex; gap: 16px; margin-bottom: 8px; font-family: "Nunito Sans", sans-serif; }
#req-new-modal .req-src label { margin: 0; cursor: pointer; }
#req-new-modal .req-id-row { display: flex; gap: 8px; }
#req-new-modal .req-id-row .form-control { flex: 1; }
#req-new-modal .req-id-row .btn { flex: 0 0 auto; height: 32px; padding: 0 14px; line-height: 30px; }
#req-new-modal .req-id-hint { display: block; margin-top: 4px; color: #8c8c8c; }
#req-new-modal .alert { margin-bottom: 0; }
body.dark #req-new-modal { color: #c3bfbf; }
body.dark #req-new-modal .modal-content.widget { background: #222; }
body.dark #req-new-modal .req-hit, body.dark #req-new-modal .req-by-id { border-color: rgba(51, 51, 51, .84); }
body.dark #req-new-modal .req-hit-poster { background: #292929; }
body.dark #req-new-modal .req-hit-title { color: #888; }
@media (max-width: 575px) { #req-new-modal .aw-rq-dialog { margin: 10px auto; } }

/* 9. Leaderboard -------------------------------------------------------------------------------------------------- */
/* Rows are animeworld's `.widget.ranking .item` (i.rank, a.thumb, .info > .name + p); all.css fixes their height at
   80px for its three-line sidebar rows — the boards' rows size themselves. */
.aw-lb .aw-lb-head .widget-body p { margin: 0; }
.aw-lb .aw-lb-board .item.aw-lb-row { height: auto; min-height: 62px; display: flex; align-items: center; }
.aw-lb .aw-lb-board .item.aw-lb-row .rank { float: none; flex: 0 0 auto; margin-top: 0; }
.aw-lb .aw-lb-board .item.aw-lb-row .info { flex: 1; min-width: 0; margin-left: 0; order: 2; }
.aw-lb .aw-lb-board .item.aw-lb-row .info p { margin: 0; }
.aw-lb .aw-lb-board.aw-lb-users .item .aw-lb-avatar { float: none; flex: 0 0 45px; width: 45px; height: 45px; margin-right: 12px; }
.aw-lb .aw-lb-board.aw-lb-users .item .aw-lb-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.aw-lb .aw-lb-users .aw-lb-val { order: 3; flex: 0 0 auto; margin-left: 10px; font-family: "Nunito Sans", sans-serif; font-size: 1.2rem; color: #367dc3; white-space: nowrap; }
.aw-lb .aw-lb-users .aw-lb-val small { font-size: .9rem; color: #8c8c8c; }
.aw-lb .aw-lb-users .info .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-lb .aw-lb-board .item.aw-lb-me { background: #f4f8fd; }
.aw-lb .aw-lb-board .item.aw-lb-me .rank { background: #367dc3; border-color: #367dc3; color: #fff !important; }
.aw-lb .aw-lb-board .item.aw-lb-mine { border-top: 1px dashed #c9d6e6; }
.aw-lb .aw-lb-comments .aw-lb-quote { align-items: flex-start; }
.aw-lb .aw-lb-comments .aw-lb-quote .rank { margin-top: 4px; }
.aw-lb .aw-lb-board.aw-lb-comments .item.aw-lb-quote .info .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-size: 1.1rem; }
.aw-lb .aw-lb-comments .aw-lb-quote p { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.aw-lb .aw-lb-board.aw-lb-comments .item .info p .aw-lb-author { display: inline-flex; justify-content: flex-start; margin-right: auto; min-width: 0; max-width: 100%; white-space: nowrap; }
.aw-lb .aw-lb-comments .aw-lb-author a { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.aw-lb .aw-lb-comments .aw-lb-av { flex: 0 0 20px; }
.aw-lb .aw-lb-comments .aw-lb-author a { color: #555; font-weight: 500; }
.aw-lb .aw-lb-comments .aw-lb-author a:hover { color: #367dc3; }
.aw-lb .aw-lb-comments .aw-lb-av { width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; object-fit: cover; }
.aw-lb .aw-lb-comments .tip .fas { font-size: .8rem; }
.aw-lb .aw-lb-board [data-aw-lb-fold]:not(.aw-lb-open) .aw-lb-extra { display: none !important; }
.aw-lb .aw-lb-board .aw-lb-more { margin-top: 10px; clear: both; }
.aw-lb .aw-lb-board [data-aw-lb-fold]::after { content: ""; display: table; clear: both; }
.aw-lb .aw-lb-board .aw-empty { padding: 18px 10px; }
.aw-lb .aw-lb-tier-bronze { color: #a8683a !important; }
.aw-lb .aw-lb-tier-silver { color: #7d8a99 !important; }
.aw-lb .aw-lb-tier-gold { color: #c08e12 !important; }
.aw-lb .aw-lb-tier-emerald { color: #1f9d6b !important; }
.aw-lb .aw-lb-tier-radiant { color: #c0457f !important; }
body.dark .aw-lb .aw-lb-board .item.aw-lb-me { background: #2b3440; }
body.dark .aw-lb .aw-lb-board .item.aw-lb-mine { border-top-color: #3a4656; }
body.dark .aw-lb .aw-lb-comments .aw-lb-author a { color: #888; }
body.dark .aw-lb .aw-lb-comments .aw-lb-author a:hover { color: #ddd; }
