/*
 * animeunity-v2 — member area + the shared "CMS screen" kit.
 *
 * animeunity.cx's logged-in pages were not captured (reference-v2/README.md), and the
 * community / watch2gether screens exist only in the CMS: they are DESIGNED in v2's
 * vocabulary, measured off the captured pages (home, archive, top-anime, auth card).
 * Tailwind utilities the vendored app.css lacks cannot be relied on for CMS-only markup,
 * so the vocabulary is written out here once, as `v2-…` classes on the tokens:
 *
 *   §0  kit (loaded by member, community and watch2gether pages alike — every page of
 *       the three areas pushes this file first, then its own v2-<area>.css):
 *         .v2-page            the reference's page container (`mx-auto w-full px-4 font-overpass lg:container sm:px-8`)
 *         .v2-h               section heading (`text-lg font-black tracking-wide` + the left bar)
 *         .v2-box             card (`bg-fore-800 rounded-md`)
 *         .v2-seg / -item     pill tab group (home's Tutti/Sub/Dub, Giorno/Settimana/Mese)
 *         .v2-btn (+ --sm --xs --ghost --onpage --line --danger --block --icon --caps)   buttons
 *         .v2-label .v2-input .v2-select .v2-textarea .v2-field .v2-help .v2-check .v2-switch .v2-search
 *         .v2-pill .v2-chip   small labels
 *         .v2-trow            table row (top-anime's poster + fore-800 body)
 *         .v2-dialog          modal card (the auth card)
 *         .v2-menu            popup menu (fore-800 panel)
 *         .v2-pager           Laravel paginator in the reference's look
 *         .v2-blank           empty state
 *   §1… member pages (below)
 *
 * Tokens only (rgb(var(--tw-…))): dark and light come free.
 */

/* ---------- §0 kit ---------- */

.v2-page { width: 100%; margin: 0 auto; padding: 2rem 1rem 2.5rem; font-family: Overpass, sans-serif; color: rgb(var(--tw-text-100)); }
@media (min-width: 500px) { .v2-page { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1040px) { .v2-page { max-width: 1040px; } }
@media (min-width: 1140px) { .v2-page { max-width: 1140px; } }
@media (min-width: 1540px) { .v2-page { max-width: 1540px; } }
.v2-page.v2-page--narrow { max-width: 900px; }
.v2-page *, .v2-dialog * { min-width: 0; }
.v2-page a { color: inherit; text-decoration: none; }
.v2-page img { max-width: 100%; }
.v2-page ul, .v2-page ol { margin: 0; padding: 0; list-style: none; }
.v2-page p { margin: 0; }
.v2-page [hidden] { display: none !important; }

.v2-h { display: flex; align-items: center; gap: .5rem; margin: 0; font-family: Overpass, sans-serif; font-size: 1.125rem; line-height: 1.75rem; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; color: rgb(var(--tw-text-100)); }
.v2-h::before { content: ""; flex: 0 0 auto; width: .25rem; height: 1.25rem; background: rgb(var(--tw-text-100)); border-radius: 9999px; }
.v2-h--plain::before { content: none; }
.v2-h small, .v2-h .v2-h-count { font-size: .75rem; font-weight: 700; letter-spacing: .06rem; color: rgb(var(--tw-text-300)); }
.v2-h a:hover { color: rgb(var(--tw-blue-100)); }
.v2-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: 1rem; }
.v2-sec + .v2-sec { margin-top: 2rem; }
.v2-sub { font-size: .8125rem; line-height: 1.4; color: rgb(var(--tw-text-300)); }
.v2-muted { color: rgb(var(--tw-text-300)); }
.v2-page a.v2-link, .v2-dialog a.v2-link, .v2-link { color: rgb(var(--tw-blue-200)); font-weight: 700; }
.v2-page a.v2-link:hover, .v2-link:hover { text-decoration: underline; }

.v2-box { background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-box--pad { padding: 1rem; }
@media (min-width: 800px) { .v2-box--pad { padding: 1.25rem 1.5rem; } }
.v2-box--line { border: 1px solid rgb(var(--tw-fore-600)); }
.v2-box-title { margin: 0 0 .75rem; font-size: .9375rem; line-height: 1.3; font-weight: 800; color: rgb(var(--tw-text-100)); }
.v2-hr { height: 0; margin: 1rem 0; border: 0; border-top: 1px solid rgb(var(--tw-fore-600)); }

/* Pill tab group. */
.v2-seg { display: inline-flex; align-items: center; gap: .125rem; height: 1.75rem; max-width: 100%; padding: .125rem; font-family: Overpass, sans-serif; font-size: .75rem; line-height: 1rem; font-weight: 700; background: rgb(var(--tw-fore-800)); border: 1px solid rgb(var(--tw-fore-600)); border-radius: .375rem; }
.v2-seg-item, :where(.v2-page) a.v2-seg-item { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: .35rem; height: 100%; padding: 0 .5rem; white-space: nowrap; color: rgb(var(--tw-text-300)); background: transparent; border: 0; border-radius: .25rem; cursor: pointer; transition: color .2s, background-color .2s; }
.v2-seg-item:hover, .v2-page a.v2-seg-item:hover { color: rgb(var(--tw-text-100)); }
.v2-seg-item.active, .v2-seg-item.is-active, .v2-seg-item[aria-pressed="true"], .v2-seg-item[aria-selected="true"], .v2-seg-item[aria-current="page"],
.v2-page a.v2-seg-item.active, .v2-page a.v2-seg-item.is-active, .v2-page a.v2-seg-item[aria-current="page"], .v2-page a.v2-seg-item[aria-selected="true"], .v2-page a.v2-seg-item[aria-pressed="true"] { color: #fff; background: rgb(var(--tw-blue-300)); }
@media (min-width: 800px) { .v2-seg { height: 2rem; font-size: .875rem; } .v2-seg-item, .v2-page a.v2-seg-item { padding: 0 .625rem; } }
.v2-seg--scroll { display: flex; overflow-x: auto; scrollbar-width: none; }
.v2-seg--scroll::-webkit-scrollbar { display: none; }
.v2-seg-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.125rem; height: 1.125rem; padding: 0 .3rem; font-size: .625rem; line-height: 1; color: rgb(var(--tw-text-200)); background: rgb(var(--tw-fore-600)); border-radius: 9999px; }
.active > .v2-seg-count, .is-active > .v2-seg-count, [aria-current="page"] > .v2-seg-count, [aria-selected="true"] > .v2-seg-count, [aria-pressed="true"] > .v2-seg-count { color: #fff; background: rgb(255 255 255 / .22); }

/* Buttons. */
.v2-btn, :where(.v2-page, .v2-dialog) a.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 2.5rem; padding: 0 .875rem; font-family: Overpass, sans-serif; font-size: .875rem; line-height: 1; font-weight: 800; letter-spacing: .01em; white-space: nowrap; color: #fff; text-decoration: none; background: rgb(var(--tw-blue-300)); border: 0; border-radius: .375rem; outline: 0; cursor: pointer; box-shadow: 0 0 0 rgba(8, 150, 230, .6); transition: box-shadow .4s, background-color .2s, color .2s, opacity .2s; }
.v2-btn:hover { box-shadow: 0 2px 10px rgba(8, 150, 230, .6); }
.v2-btn:focus-visible { box-shadow: 0 0 0 2px rgb(var(--tw-blue-100)); }
.v2-btn:disabled, .v2-btn.disabled, .v2-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.v2-btn.v2-btn--sm { height: 2rem; padding: 0 .625rem; font-size: .75rem; font-weight: 700; gap: .375rem; }
.v2-btn.v2-btn--xs { height: 1.625rem; padding: 0 .5rem; font-size: .6875rem; font-weight: 700; gap: .3rem; border-radius: .3125rem; }
.v2-btn.v2-btn--block { display: flex; width: 100%; }
.v2-btn.v2-btn--ghost { color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-700)); box-shadow: none; }
.v2-btn.v2-btn--ghost:hover { color: rgb(var(--tw-text-100)); box-shadow: none; }
.v2-box .v2-btn.v2-btn--ghost, .v2-dialog .v2-btn.v2-btn--ghost { background: rgb(var(--tw-fore-600)); }
.v2-btn.v2-btn--onpage { color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); box-shadow: none; }
.v2-btn.v2-btn--onpage:hover { color: rgb(var(--tw-text-100)); box-shadow: none; }
.v2-btn.v2-btn--line { color: rgb(var(--tw-text-200)); background: transparent; border: 1px solid rgb(var(--tw-fore-500)); box-shadow: none; }
.v2-btn.v2-btn--line:hover { color: rgb(var(--tw-text-100)); border-color: rgb(var(--tw-blue-300)); box-shadow: none; }
.v2-btn.v2-btn--danger { color: #fff; background: #dc2626; box-shadow: none; }
.v2-btn.v2-btn--danger:hover { box-shadow: 0 2px 10px rgba(220, 38, 38, .5); }
.v2-btn.v2-btn--caps { font-size: .75rem; font-weight: 700; letter-spacing: .06rem; text-transform: uppercase; }
.v2-btn.v2-btn--icon { width: 2rem; height: 2rem; padding: 0; }
.v2-btn svg { flex: 0 0 auto; }
.v2-iconbtn, :where(.v2-page, .v2-dialog) a.v2-iconbtn { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; padding: 0; font-size: .75rem; color: rgb(var(--tw-text-200)); background: rgb(var(--tw-fore-700)); border: 0; border-radius: 5px; cursor: pointer; transition: color .2s, background-color .2s; }
.v2-iconbtn:hover, :where(.v2-page, .v2-dialog) a.v2-iconbtn:hover { color: rgb(var(--tw-blue-100)); }
.v2-iconbtn.v2-iconbtn--lg { width: 2rem; height: 2rem; font-size: .875rem; }
.v2-box .v2-iconbtn { background: rgb(var(--tw-fore-600)); }

/* Forms (the auth card's fields: common.css .auth-label / .form-input). */
.v2-field { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.v2-field + .v2-field { margin-top: 1rem; }
.v2-fields { display: grid; gap: 1rem; }
.v2-fields > .v2-field { margin-top: 0; }
@media (min-width: 800px) { .v2-fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v2-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v2-label { display: block; margin: 0; font-size: .875rem; line-height: 1.3; font-weight: 700; color: rgb(var(--tw-text-200)); }
.v2-label.v2-label--caps { font-size: .6875rem; letter-spacing: .06rem; text-transform: uppercase; color: rgb(var(--tw-text-300)); }
.v2-help { font-size: .75rem; line-height: 1.4; color: rgb(var(--tw-text-300)); }
.v2-input, .v2-select, .v2-textarea { display: block; width: 100%; height: 2.25rem; margin: 0; padding: .5rem 1rem; font-family: Overpass, sans-serif; font-size: .875rem; line-height: normal; color: rgb(var(--tw-text-100)); background-color: rgb(var(--tw-fore-600)); border: 0; border-radius: 3px; outline: 0; box-shadow: none; -webkit-appearance: none; appearance: none; transition: background-color .2s; }
.v2-input:focus, .v2-select:focus, .v2-textarea:focus { background-color: rgb(var(--tw-fore-500)); outline: 0; box-shadow: none; }
.v2-input::placeholder, .v2-textarea::placeholder { color: rgb(var(--tw-text-300)); opacity: 1; }
.v2-input:disabled, .v2-input[readonly], .v2-select:disabled { color: rgb(var(--tw-text-300)); cursor: not-allowed; }
.v2-textarea { height: auto; min-height: 6rem; padding: .625rem 1rem; line-height: 1.45; resize: vertical; }
.v2-select { padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%237d8696' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.700 86.600 169.400c-12.500-12.500-32.800-12.500-45.300 0s-12.500 32.800 0 45.300l192 192z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; background-size: .625rem; cursor: pointer; }
.v2-select option { color: rgb(var(--tw-text-100)); background: rgb(var(--tw-fore-700)); }
/* On the page (not inside a card) controls are the archive's: 42px, fore-800. */
.v2-input.v2-input--onpage, .v2-select.v2-select--onpage { height: 2.625rem; font-size: .8125rem; font-weight: 700; letter-spacing: .03rem; color: rgb(var(--tw-text-200)); background-color: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-input.v2-input--onpage:focus, .v2-select.v2-select--onpage:focus { background-color: rgb(var(--tw-fore-700)); }
.v2-search { display: grid; grid-template-columns: 13px minmax(0, 1fr); align-items: center; gap: .75rem; height: 2.625rem; padding: 0 1rem 0 13px; color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-search svg { font-size: .75rem; }
.v2-search input { width: 100%; height: auto; padding: 0; font-family: Overpass, sans-serif; font-size: .8125rem; line-height: 1rem; color: rgb(var(--tw-text-200)); background: transparent; border: 0; outline: 0; box-shadow: none; }
.v2-search input::placeholder { color: rgb(var(--tw-text-300)); }
.v2-box .v2-search { background: rgb(var(--tw-fore-600)); }

.v2-check { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .8125rem; line-height: 1.3; color: rgb(var(--tw-text-200)); cursor: pointer; }
.v2-check input[type="checkbox"], .v2-check input[type="radio"], input.v2-checkbox { flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0; padding: 0; background: transparent; border: 1px solid rgb(var(--tw-text-300)); border-radius: .25rem; -webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .2s, border-color .2s; }
.v2-check input[type="radio"] { border-radius: 9999px; }
.v2-check input:checked, input.v2-checkbox:checked { background: rgb(var(--tw-blue-300)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.500-12.500-32.800 0-45.300s32.800-12.500 45.300 0L160 338.700 393.400 105.400c12.500-12.500 32.800-12.500 45.300 0z'/%3E%3C/svg%3E") center / .6rem no-repeat; border-color: rgb(var(--tw-blue-300)); }
.v2-check input:focus-visible, input.v2-checkbox:focus-visible { box-shadow: 0 0 0 2px rgba(var(--tw-blue-300), .5); outline: 0; }
/* A switch: label.v2-switch > input[type=checkbox] + span.v2-switch-track + text. */
.v2-switch { position: relative; display: inline-flex; align-items: center; gap: .625rem; margin: 0; font-size: .875rem; color: rgb(var(--tw-text-200)); cursor: pointer; }
.v2-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v2-switch-track { flex: 0 0 auto; display: inline-flex; align-items: center; width: 34px; height: 18px; padding: 2px; background: rgb(var(--tw-fore-500)); border-radius: 9999px; transition: background-color .2s; }
.v2-switch-track::before { content: ""; display: block; width: 14px; height: 14px; background: #fff; border-radius: 9999px; transition: transform .2s; }
.v2-switch input:checked + .v2-switch-track { background: rgb(var(--tw-blue-300)); }
.v2-switch input:checked + .v2-switch-track::before { transform: translateX(16px); }
.v2-switch input:focus-visible + .v2-switch-track { box-shadow: 0 0 0 2px rgba(var(--tw-blue-300), .5); }

/* Small labels. */
.v2-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .125rem .5rem; font-size: .75rem; line-height: 1rem; font-weight: 700; white-space: nowrap; color: rgb(var(--tw-text-200)); background: rgb(var(--tw-fore-600)); border-radius: 9999px; }
.v2-pill.v2-pill--blue { color: #fff; background: rgb(var(--tw-blue-300)); }
.v2-pill.v2-pill--green { color: #fff; background: rgb(var(--tw-green-200)); }
.v2-pill.v2-pill--red { color: #fff; background: #dc2626; }
.v2-pill.v2-pill--amber { color: #1f2937; background: #f59e0b; }
.v2-chip { display: inline-flex; align-items: center; gap: .25rem; height: 1.25rem; padding: 0 .375rem; font-size: .625rem; line-height: 1; font-weight: 700; white-space: nowrap; color: rgb(var(--tw-text-200)); background: rgba(var(--tw-back-900), .6); border-radius: .25rem; }
.v2-dot { display: inline-block; flex: 0 0 auto; width: .25em; height: .25em; background: currentColor; border-radius: 9999px; vertical-align: middle; }

/* Table row (top-anime's): a.v2-trow-poster + div.v2-trow-body. */
.v2-trows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.v2-trow { position: relative; display: flex; align-items: stretch; min-height: 80px; }
.v2-trow-poster, .v2-page a.v2-trow-poster { position: relative; z-index: 1; display: block; flex: 0 0 auto; width: 61px; min-height: 80px; overflow: hidden; background: rgb(var(--tw-fore-700)); border-radius: .375rem; }
.v2-trow-poster img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.v2-trow-body { position: relative; flex: 1 1 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-left: -.5rem; padding: .625rem .75rem .625rem 1.375rem; background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
@media (min-width: 800px) { .v2-trow-body { padding: .5rem .75rem .5rem 1.5rem; } }
.v2-trow-title, .v2-page a.v2-trow-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; font-weight: 600; color: rgb(var(--tw-text-100)); transition: color .3s; }
.v2-page a.v2-trow-title:hover, a.v2-trow-title:hover { color: rgb(var(--tw-blue-100)); }
.v2-trow-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 600; color: rgb(var(--tw-text-300)); }

/* Modal card (the engine's Bootstrap modals:
   .modal.fade > .modal-dialog.v2-modal-dialog > .modal-content.v2-modal-content > .v2-dialog). */
.v2-dialog { position: relative; width: 100%; max-width: 440px; padding: 2rem 1.5rem; font-family: Overpass, sans-serif; color: rgb(var(--tw-text-100)); background: rgb(var(--tw-fore-800)); border-radius: 4px; box-shadow: 0 10px 30px rgb(0 0 0 / .35); }
@media (min-width: 500px) { .v2-dialog { padding: 2.25rem; } }
.v2-dialog.v2-dialog--wide { max-width: 640px; }
.v2-dialog.v2-dialog--xl { max-width: 860px; }
@media (min-width: 500px) {
    .modal-dialog.v2-modal-dialog--wide { max-width: 680px; }
    .modal-dialog.v2-modal-dialog--xl { max-width: 900px; }
}
@media (max-width: 720px) { .modal-dialog.v2-modal-dialog--wide { margin-left: .5rem; margin-right: .5rem; } }
@media (max-width: 940px) { .modal-dialog.v2-modal-dialog--xl { margin-left: .5rem; margin-right: .5rem; } }
.v2-dialog a { color: inherit; text-decoration: none; }
.v2-dialog-title { margin: 0 0 1.25rem; padding-right: 2rem; font-size: 1.375rem; line-height: 1.25; font-weight: 700; color: rgb(var(--tw-text-100)); }
.v2-dialog-x { position: absolute; top: .75rem; right: .75rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; padding: 0; color: rgb(var(--tw-text-300)); background: transparent; border: 0; border-radius: .375rem; cursor: pointer; transition: color .2s, background-color .2s; }
.v2-dialog-x:hover { color: rgb(var(--tw-text-100)); background: rgb(var(--tw-fore-700)); }
.v2-dialog-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1.5rem; }

/* Popup menu panel. */
.v2-menu { min-width: 180px; padding: .25rem 0; font-family: Overpass, sans-serif; font-size: .875rem; background: rgb(var(--tw-fore-800)); border: 1px solid rgb(var(--tw-fore-600)); border-radius: .375rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .25), 0 2px 4px -2px rgb(0 0 0 / .25); }
.v2-menu-item, :where(.v2-page) a.v2-menu-item { display: flex; align-items: center; gap: .625rem; width: 100%; padding: .5rem 1rem; font-weight: 600; text-align: left; white-space: nowrap; color: rgb(var(--tw-text-200)); background: transparent; border: 0; cursor: pointer; transition: color .2s, background-color .2s; }
.v2-menu-item:hover, .v2-page a.v2-menu-item:hover { color: rgb(var(--tw-blue-100)); background: rgb(var(--tw-fore-700)); }
.v2-menu-item.active, .v2-page a.v2-menu-item.active { color: #fff; background: rgb(var(--tw-blue-300)); }

/* Laravel's paginator (`ul.pagination > li.page-item[.active|.disabled] > a|span.page-link`). */
.v2-pager { display: flex; justify-content: center; margin-top: 1.5rem; }
.v2-pager nav { display: contents; }
.v2-pager .pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem; margin: 0; padding: 0; list-style: none; font-size: .8125rem; font-weight: 700; }
.v2-pager .page-link, .v2-page .v2-pager a.page-link { display: flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .5rem; color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); border-radius: .375rem; transition: color .2s, background-color .2s; }
.v2-page .v2-pager a.page-link:hover { color: rgb(var(--tw-text-100)); }
.v2-page .v2-pager .page-item.active .page-link { color: #fff; background: rgb(var(--tw-blue-300)); }
.v2-pager .page-item.disabled .page-link { opacity: .45; cursor: default; }

/* Empty state. */
.v2-blank { padding: 1.75rem 1rem; font-size: .875rem; line-height: 1.5; text-align: center; color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-blank.v2-blank--plain { background: transparent; }
.v2-blank > svg { display: block; margin: 0 auto .625rem; font-size: 1.5rem; opacity: .7; }
.v2-blank strong { display: block; margin-bottom: .25rem; font-size: .9375rem; color: rgb(var(--tw-text-100)); }

/* Round avatar. */
.v2-ava { display: block; flex: 0 0 auto; width: 2rem; height: 2rem; object-fit: cover; background: rgb(var(--tw-fore-600)) center / cover no-repeat; border-radius: 9999px; }
.v2-ava.v2-ava--sm { width: 1.5rem; height: 1.5rem; }
.v2-ava.v2-ava--lg { width: 3rem; height: 3rem; }

.v2-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.v2-row-flex { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.v2-grow { flex: 1 1 0; }

/* The engine's inline `.alert` inside a form of these pages stays in place (not the fixed toast). */
.v2-page form > .alert, .v2-dialog form > .alert, .v2-page .v2-inline-alert .alert, .v2-dialog .alert { position: static; display: block; width: auto; margin: 0 0 1rem; padding: .6rem .9rem; font-size: 13px; line-height: 1.4; color: rgb(var(--tw-text-100)); background: rgb(var(--tw-fore-700)); border-top: 2px solid var(--color-green-2); border-radius: 3px; box-shadow: none; }
.v2-page form > .alert.alert-danger, .v2-dialog .alert.alert-danger, .v2-page .v2-inline-alert .alert.alert-danger { border-top-color: red; }

/* ---------- §1 member pages ---------- */

.v2-mb-ic { display: inline-block; flex: 0 0 auto; vertical-align: -.2em; }
.v2-page svg, .v2-dialog svg, .v2-ph svg { display: inline-block; }

/* -- profile header (member area + public profile) -- */
.v2-ph { position: relative; font-family: Overpass, sans-serif; color: rgb(var(--tw-text-100)); }
.v2-ph a { color: inherit; text-decoration: none; }
.v2-ph-banner { position: relative; height: 160px; overflow: hidden; background: rgb(var(--tw-back-950)); }
.v2-ph-banner.is-empty { height: 110px; background: linear-gradient(120deg, rgba(var(--tw-blue-300), .35), rgba(var(--tw-fore-700), 1) 60%); }
.v2-ph-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .75; }
.v2-ph-shade { position: absolute; inset: 0; box-shadow: inset 5px -20px 38px -28px rgb(17 22 29); }
@media (min-width: 800px) { .v2-ph-banner { height: 260px; } .v2-ph-banner.is-empty { height: 150px; } }
.v2-ph-band { position: relative; background: rgb(var(--tw-fore-800)); }
.v2-ph-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; width: 100%; margin: 0 auto; padding: 0 1rem .875rem; }
.v2-ph-nav { width: 100%; margin: 0 auto; padding: 1rem 1rem 0; }
@media (min-width: 500px) { .v2-ph-in, .v2-ph-nav { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1040px) { .v2-ph-in, .v2-ph-nav { max-width: 1040px; } }
@media (min-width: 1140px) { .v2-ph-in, .v2-ph-nav { max-width: 1140px; } }
@media (min-width: 1540px) { .v2-ph-in, .v2-ph-nav { max-width: 1540px; } }
.v2-ph-avatar { position: relative; flex: 0 0 auto; width: 96px; height: 96px; margin-top: -48px; background: rgb(var(--tw-fore-600)); border: 3px solid rgb(var(--tw-fore-800)); border-radius: .5rem; }
.v2-ph-avatar img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: .375rem; }
@media (min-width: 800px) { .v2-ph-avatar { width: 128px; height: 128px; margin-top: -64px; } }
.v2-ph a.v2-ph-edit { position: absolute; right: -6px; bottom: -6px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 12px; color: #fff; background: rgb(var(--tw-blue-300)); border: 2px solid rgb(var(--tw-fore-800)); border-radius: 9999px; transition: filter .2s; }
.v2-ph-edit:hover { filter: brightness(1.15); }
.v2-ph-id { flex: 1 1 0; min-width: 0; padding-top: .625rem; }
.v2-ph-name { overflow: hidden; font-size: 1.375rem; line-height: 1.2; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 800px) { .v2-ph-name { font-size: 1.5rem; } }
.v2-ph-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; margin-top: .375rem; font-size: .8125rem; font-weight: 600; color: rgb(var(--tw-text-300)); }
.v2-ph-right { align-self: center; }
.v2-ph a.v2-btn.v2-ph-right { color: rgb(var(--tw-text-200)); background: rgb(var(--tw-fore-600)); }
.v2-ph a.v2-btn.v2-ph-right:hover { color: rgb(var(--tw-text-100)); }
@media (max-width: 499px) { .v2-ph-right { flex: 1 1 100%; } }
.v2-ph-tabs { width: fit-content; max-width: 100%; }
.v2-ph a.v2-seg-item { color: rgb(var(--tw-text-300)); }
.v2-ph a.v2-seg-item:hover { color: rgb(var(--tw-text-100)); }
.v2-ph a.v2-seg-item.active { color: #fff; }
.v2-mb-body.v2-page { padding-top: 1.5rem; }

/* -- page columns -- */
.v2-mb-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1040px) {
    .v2-mb-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 2.5rem; align-items: start; }
    .v2-mb-cols.v2-mb-cols--profile { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
}
.v2-head.v2-head--next { margin-top: 2rem; }
.v2-box + .v2-box { margin-top: 1rem; }

/* -- forms inside cards -- */
.v2-form > * + * { margin-top: 1rem; }
.v2-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.v2-help.v2-help--end { text-align: right; }
.v2-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.v2-actions.v2-actions--end { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgb(var(--tw-fore-600)); }
.v2-fold { margin-top: 1rem; padding: 1rem; background: rgb(var(--tw-fore-700)); border-radius: .375rem; }
.v2-plain { display: inline; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; }
.v2-inline-form { display: inline; }
.v2-num { max-width: 7.5rem; }
.v2-account-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgb(var(--tw-fore-600)); }
.v2-account-avatar { flex: 0 0 auto; display: block; width: 80px; height: 80px; overflow: hidden; background: rgb(var(--tw-fore-600)); border-radius: .5rem; }
.v2-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.v2-account-mail { flex: 1 1 0; }
.v2-account-mail .v2-label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
@media (max-width: 499px) { .v2-account-avatar { width: 56px; height: 56px; } }
.v2-connection { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .75rem 0; border-top: 1px solid rgb(var(--tw-fore-600)); }
.v2-connection:first-child { padding-top: 0; border-top: 0; }
.v2-connection:last-child { padding-bottom: 0; }
.v2-connection-name { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; }
.v2-note-box p { font-size: .8125rem; line-height: 1.6; color: rgb(var(--tw-text-200)); }
.v2-page p.v2-al-note { margin-top: .75rem; }
.v2-al-feedback { margin-top: .75rem; }
.v2-al-feedback:empty { display: none; }
.v2-al-foot { border-top: 1px solid rgb(var(--tw-fore-600)); }
.v2-port-status { margin-top: 1rem; }
.v2-port-status .alert { margin-bottom: 0; }

/* stats list (dl.v2-stats > div.v2-stat > dt + dd) */
.v2-stats { margin: 0; padding: .25rem 1rem; }
@media (min-width: 800px) { .v2-stats { padding: .25rem 1.25rem; } }
.v2-stat { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .75rem 0; border-top: 1px solid rgb(var(--tw-fore-600)); }
.v2-stat:first-child { border-top: 0; }
.v2-stat dt { font-size: .6875rem; font-weight: 700; letter-spacing: .06rem; text-transform: uppercase; color: rgb(var(--tw-text-300)); }
.v2-stat dd { margin: 0; font-size: .875rem; font-weight: 600; text-align: right; color: rgb(var(--tw-text-100)); overflow-wrap: anywhere; }
.v2-stat dd small { display: block; font-size: .6875rem; font-weight: 400; color: rgb(var(--tw-text-300)); }
.v2-stat.v2-stat--block { display: block; }
.v2-stat.v2-stat--block dd { margin-top: .375rem; font-weight: 400; line-height: 1.5; text-align: left; color: rgb(var(--tw-text-200)); white-space: pre-line; }
.v2-stat .v2-switch { justify-content: flex-end; text-align: left; }

/* -- settings rows -- */
.v2-set { padding: .25rem 1rem; }
@media (min-width: 800px) { .v2-set { padding: .25rem 1.5rem; } }
.v2-set-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: .875rem 0; border-top: 1px solid rgb(var(--tw-fore-600)); }
.v2-set-row:first-child { border-top: 0; }
@media (min-width: 800px) { .v2-set-row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem; align-items: center; } }
.v2-set-label { margin: 0; font-size: .875rem; line-height: 1.3; font-weight: 700; color: rgb(var(--tw-text-100)); }
.v2-set-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.v2-set-ctl > .v2-help { flex: 1 1 12rem; }
.v2-switch.is-disabled { cursor: default; opacity: .75; }
.v2-settings-save { justify-content: flex-end; margin-top: 1.5rem; }
.v2-settings-save .v2-btn { min-width: 9rem; }
.v2-checks { display: flex; flex-wrap: wrap; gap: .625rem 1.25rem; width: 100%; }
/* radios drawn as a pill group: label.v2-choice-item > input + span.v2-seg-item */
.v2-choice-item { position: relative; display: inline-flex; flex: 0 0 auto; height: 100%; margin: 0; cursor: pointer; }
.v2-choice-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v2-choice-item input:checked + .v2-seg-item { color: #fff; background: rgb(var(--tw-blue-300)); }
.v2-choice-item input:focus-visible + .v2-seg-item { box-shadow: 0 0 0 2px rgba(var(--tw-blue-100), .6); }
.v2-choice-item input:disabled + .v2-seg-item { opacity: .45; cursor: not-allowed; }
.v2-box .v2-seg { background: rgb(var(--tw-fore-700)); }

/* -- list toolbar: search, folders, filters -- */
.v2-lt { display: grid; gap: 1rem; margin-bottom: 1rem; }
.v2-lt-folders { width: fit-content; max-width: 100%; }
.v2-lt-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .5rem; }
@media (min-width: 500px) { .v2-lt-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .v2-lt-filters { grid-template-columns: repeat(var(--v2-lt-cols, 5), minmax(0, 1fr)); } .v2-anime-list--public .v2-lt-filters { grid-template-columns: minmax(0, 220px); } }
.v2-ms { position: relative; }
.v2-ms-cap { padding-bottom: .375rem; font-size: .6875rem; line-height: 1rem; font-weight: 700; letter-spacing: .06rem; text-transform: uppercase; color: rgb(var(--tw-text-300)); }
.v2-ms-box { position: relative; }
.v2-ms-btn { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; height: 2.625rem; padding: 0 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .03rem; list-style: none; background: rgb(var(--tw-fore-800)); border-radius: .375rem; cursor: pointer; }
.v2-ms-btn::-webkit-details-marker { display: none; }
.v2-ms-val { overflow: hidden; margin-right: .75rem; text-overflow: ellipsis; white-space: nowrap; color: rgb(var(--tw-text-300)); }
.v2-ms-val.is-set { color: rgb(var(--tw-text-200)); }
.v2-ms-caret { justify-self: end; font-size: .625rem; color: rgb(var(--tw-text-200)); transform: rotate(90deg); transition: transform .2s; }
.v2-ms-box[open] .v2-ms-caret { transform: rotate(-90deg); }
.v2-ms-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: 100%; min-width: 170px; max-height: 300px; overflow-y: auto; }
.v2-ms:nth-child(even) .v2-ms-menu { right: 0; left: auto; }
@media (min-width: 500px) { .v2-ms:nth-child(even) .v2-ms-menu { right: auto; left: 0; } }
.v2-ms-menu .v2-menu-item { padding: .5rem 1rem; font-size: .8125rem; }

/* -- result bar -- */
.v2-list-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; min-height: 23px; margin-bottom: 1.25rem; font-size: .875rem; color: rgb(var(--tw-text-300)); }
.v2-list-total strong { font-weight: 700; color: rgb(var(--tw-text-200)); }
.v2-page a.v2-list-reset { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; letter-spacing: .06rem; text-transform: uppercase; color: rgb(var(--tw-text-300)); transition: color .2s; }
.v2-page a.v2-list-reset:hover { color: rgb(var(--tw-text-100)); }
.v2-list-rule { width: 1px; height: 1.25rem; background: rgb(var(--tw-fore-500)); }
.v2-public-switch { font-size: .8125rem; color: rgb(var(--tw-text-300)); }
.v2-views { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: .375rem; }
.v2-view { position: relative; display: flex; align-items: center; justify-content: center; padding: 0; font-size: 1.125rem; color: rgb(var(--tw-text-300)); background: none; border: 0; cursor: pointer; opacity: .6; transition: color .3s, opacity .3s; }
.v2-view:hover, .v2-view.active { color: rgb(var(--tw-text-200)); opacity: 1; }

/* -- entries: poster cards (default) -- */
.v2-entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 1rem .75rem; }
@media (min-width: 500px) { .v2-entries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 800px) { .v2-entries { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .v2-entries { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem 1rem; } }
@media (min-width: 1540px) { .v2-entries { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.v2-mb-cols--profile .v2-entries { grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); }
@media (min-width: 800px) { .v2-mb-cols--profile .v2-entries { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
.v2-entries > .no-result { grid-column: 1 / -1; padding: 1.75rem 1rem; font-size: .875rem; line-height: 1.5; text-align: center; color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-entry { position: relative; display: grid; grid-template-rows: min-content auto; width: 100%; }
.v2-page a.v2-entry-poster { position: relative; display: block; width: 100%; aspect-ratio: 381 / 541; overflow: hidden; background: rgb(var(--tw-fore-700)); border-radius: .25rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); }
.v2-entry-poster img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.v2-entry-body { margin-top: .625rem; }
.v2-page a.v2-entry-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: rgb(var(--tw-text-200)); text-wrap: balance; transition: color .3s; }
.v2-page .v2-entry:hover a.v2-entry-title { color: var(--media-text); }
.v2-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .625rem; margin-top: .25rem; font-size: .75rem; line-height: 1rem; font-weight: 600; color: rgb(var(--tw-text-300)); }
.v2-entry-prog { color: rgb(var(--tw-blue-100)); font-variant-numeric: tabular-nums; }
.v2-entry-score { display: inline-flex; align-items: center; gap: .25rem; }
.v2-entry-score svg { font-size: .625rem; color: #eab308; }
.v2-entry-type { display: none; text-transform: uppercase; }
.v2-entry-folder { display: none; position: absolute; top: 6px; left: 6px; z-index: 2; max-width: calc(100% - 40px); height: 1.125rem; padding: 0 .375rem; overflow: hidden; font-size: .625rem; line-height: 1.125rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; color: #fff; background: var(--v2-folder, rgb(var(--tw-blue-300))); border-radius: .25rem; }
.v2-entry--chip .v2-entry-folder { display: block; }
.v2-entry[data-folder="1"] { --v2-folder: #2563eb; }
.v2-entry[data-folder="5"] { --v2-folder: #16a34a; }
.v2-entry[data-folder="2"] { --v2-folder: #d97706; }
.v2-entry[data-folder="4"] { --v2-folder: #dc2626; }
.v2-entry[data-folder="3"] { --v2-folder: #7c3aed; }
.v2-entry-menu { position: absolute; top: 6px; right: 6px; z-index: 3; }
.v2-entry-menu.show { z-index: 30; }
.v2-page a.v2-entry-edit { display: flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; font-size: .75rem; color: rgb(var(--tw-text-200)); background: rgba(var(--tw-back-900), .9); border-radius: 5px; transition: color .2s; }
.v2-page a.v2-entry-edit:hover, .v2-page .v2-entry-menu.show a.v2-entry-edit { color: var(--media-text); }
.v2-entry-folders { top: calc(100% + 4px); min-width: 190px; }
.v2-entry-menu-cap { display: block; padding: .375rem 1rem .25rem; font-size: .6875rem; font-weight: 700; letter-spacing: .06rem; text-transform: uppercase; color: rgb(var(--tw-text-300)); }
.v2-page .v2-entry-folders a.dropdown-item { display: flex; align-items: center; gap: .5rem; color: rgb(var(--tw-text-200)); }
.v2-page .v2-entry-folders a.dropdown-item:hover { color: rgb(var(--tw-blue-100)); }
.v2-page .v2-entry-folders a.dropdown-item.active { color: #fff; }
.v2-page .v2-entry-folders a.v2-entry-remove { color: #ef4444; }
.v2-entry.wl-busy { opacity: .5; pointer-events: none; }

/* -- entries: table rows (Top Anime) -- */
.v2-view-table .v2-entries { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.v2-view-table .v2-entry { display: flex; align-items: stretch; min-height: 80px; }
.v2-page .v2-view-table a.v2-entry-poster { z-index: 1; flex: 0 0 61px; width: 61px; min-height: 80px; aspect-ratio: auto; border-radius: .375rem; box-shadow: none; }
.v2-view-table .v2-entry-body { display: flex; flex: 1 1 0; flex-direction: column; justify-content: center; gap: .375rem; margin: 0 0 0 -.5rem; padding: .625rem 3rem .625rem 1.375rem; background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-page .v2-view-table a.v2-entry-title { -webkit-line-clamp: 1; font-size: 1rem; line-height: 1.5; color: rgb(var(--tw-text-100)); }
.v2-view-table .v2-entry-meta { margin: 0; gap: .375rem .5rem; }
.v2-view-table .v2-entry-type { display: inline; }
.v2-view-table .v2-entry-prog, .v2-view-table .v2-entry-score, .v2-view-table .v2-entry-type { padding: .125rem .5rem; font-size: .75rem; font-weight: 700; color: rgb(var(--tw-text-200)); background: rgb(var(--tw-fore-600)); border-radius: 9999px; }
.v2-view-table .v2-entry-prog { color: rgb(var(--tw-blue-100)); }
.v2-view-table .v2-entry-folder { top: 50%; right: 3.25rem; left: auto; max-width: 9rem; height: 1.25rem; padding: 0 .5rem; font-size: .6875rem; line-height: 1.25rem; border-radius: 9999px; transform: translateY(-50%); }
.v2-view-table .v2-entry--chip .v2-entry-body { padding-right: 12.5rem; }
.v2-view-table .v2-entry-menu { top: 50%; right: .875rem; transform: translateY(-50%); }
.v2-page .v2-view-table a.v2-entry-edit { background: rgb(var(--tw-fore-700)); }
@media (min-width: 800px) {
    .v2-view-table .v2-entry-body { flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; padding-left: 1.5rem; }
    .v2-view-table .v2-entry-title { flex: 1 1 0; }
    .v2-view-table .v2-entry-meta { flex: 0 0 auto; flex-wrap: nowrap; }
}
@media (max-width: 799px) {
    .v2-view-table .v2-entry--chip .v2-entry-body { padding-right: 3rem; }
    .v2-view-table .v2-entry--chip .v2-entry-folder { top: auto; right: 3rem; bottom: .625rem; transform: none; }
    .v2-view-table .v2-entry--chip .v2-entry-meta { padding-right: 6.5rem; }
}

/* -- continue watching (page) -- */
.v2-cw-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 1rem .75rem; }
@media (min-width: 500px) { .v2-cw-page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 800px) { .v2-cw-page-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .v2-cw-page-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem 1rem; } }
@media (min-width: 1540px) { .v2-cw-page-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.v2-cw-page-grid > .no-result { grid-column: 1 / -1; padding: 1.75rem 1rem; font-size: .875rem; text-align: center; color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); border-radius: .375rem; }
.v2-cw-page-grid .v2-cw-item { position: relative; }
.v2-cw-page-grid .v2-cwp-rule { position: static; margin-top: .5rem; height: 3px; overflow: hidden; background: rgb(var(--tw-fore-600)); border-radius: 9999px; }
.v2-cwp-time { margin-top: .25rem; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; color: rgb(var(--tw-text-300)); }

/* -- notifications -- */
.v2-noti-list { display: grid; gap: .75rem; }
.v2-noti-row { position: relative; display: flex; align-items: stretch; background: rgb(var(--tw-fore-800)); border-radius: .375rem; overflow: hidden; }
.v2-noti-row.new { box-shadow: inset 3px 0 0 rgb(var(--tw-blue-300)); }
.v2-noti-row.old .v2-noti-link { opacity: .65; }
.v2-noti-link, .v2-page a.v2-noti-link { display: flex; flex: 1 1 0; align-items: center; gap: .875rem; padding: .625rem .75rem .625rem 1rem; color: inherit; }
.v2-noti-thumb { flex: 0 0 auto; width: 46px; height: 64px; object-fit: cover; background: rgb(var(--tw-fore-600)); border-radius: .25rem; }
.v2-noti-thumb.v2-noti-avatar, .v2-noti-thumb.v2-noti-icon { width: 40px; height: 40px; border-radius: 9999px; }
.v2-noti-icon { display: flex; align-items: center; justify-content: center; font-size: .9375rem; color: rgb(var(--tw-blue-100)); }
.v2-noti-system .v2-noti-icon { color: #f59e0b; }
.v2-noti-text { display: flex; flex: 1 1 0; flex-direction: column; gap: .125rem; }
.v2-noti-title { font-size: .875rem; line-height: 1.35; font-weight: 600; color: rgb(var(--tw-text-100)); overflow-wrap: anywhere; }
.v2-noti-lead { color: rgb(var(--tw-blue-100)); }
.v2-pill.v2-noti-new { display: none; margin-left: .5rem; vertical-align: 1px; font-size: .625rem; }
.v2-noti-row.new .v2-pill.v2-noti-new { display: inline-flex; }
.v2-noti-body { font-size: .75rem; line-height: 1.45; color: rgb(var(--tw-text-200)); overflow-wrap: anywhere; }
.v2-noti-time { font-size: .6875rem; color: rgb(var(--tw-text-300)); }
a.v2-noti-link:hover .v2-noti-title { color: rgb(var(--tw-blue-100)); }
.v2-noti-acts { display: flex; flex: 0 0 auto; align-items: center; gap: .375rem; padding: 0 .875rem 0 0; }
.v2-noti-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.v2-btn.v2-noti-clear:hover { color: #ef4444; }
@media (max-width: 499px) { .v2-noti-actions .v2-btn span { display: none; } }
.v2-noti .items > .no-result { padding: 1.75rem 1rem; font-size: .875rem; text-align: center; color: rgb(var(--tw-text-300)); background: rgb(var(--tw-fore-800)); border-radius: .375rem; }

/* -- public profile: activity rows, headings that link -- */
.v2-acts { padding: .25rem 1rem; }
.v2-act { display: flex; gap: .625rem; padding: .75rem 0; border-top: 1px solid rgb(var(--tw-fore-600)); }
.v2-act:first-child { border-top: 0; }
.v2-act-ic { flex: 0 0 auto; margin-top: .125rem; font-size: .6875rem; color: rgb(var(--tw-blue-100)); }
.v2-act-text { flex: 1 1 0; font-size: .8125rem; line-height: 1.45; color: rgb(var(--tw-text-200)); overflow-wrap: anywhere; }
.v2-act-text strong { color: rgb(var(--tw-text-100)); }
.v2-page .v2-act-text a { font-weight: 600; color: rgb(var(--tw-text-100)); transition: color .2s; }
.v2-page .v2-act-text a:hover { color: rgb(var(--tw-blue-100)); }
.v2-act-time { display: block; margin-top: .125rem; font-size: .6875rem; color: rgb(var(--tw-text-300)); }
.v2-page p.v2-acts-empty { padding: .875rem 0; font-size: .8125rem; color: rgb(var(--tw-text-300)); }
.v2-acts-more { padding: .25rem 0 .75rem; }
.v2-page a.v2-h-link { display: inline-flex; align-items: center; gap: .5rem; }
.v2-h-more { width: 1.5rem; height: 1.5rem; margin-left: -.25rem; color: rgb(var(--tw-text-300)); transition: color .2s; }
.v2-h-link:hover .v2-h-more { color: rgb(var(--tw-text-100)); }

/* -- avatar picker -- */
.v2-avatar-body { padding: 0; }
.v2-avatar-groups { margin-bottom: 1rem; }
.v2-dialog a.v2-seg-item { color: rgb(var(--tw-text-300)); }
.v2-dialog a.v2-seg-item.active { color: #fff; background: rgb(var(--tw-blue-300)); }
.v2-dialog .v2-seg { background: rgb(var(--tw-fore-700)); }
.v2-avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .75rem; max-height: min(52vh, 420px); padding: 4px; overflow-y: auto; }
.v2-avatar-grid[style*="display: block"] { display: grid !important; }
.v2-avatar-grid .item span { position: relative; display: block; aspect-ratio: 1; border-radius: 9999px; cursor: pointer; outline: 0; transition: box-shadow .2s; }
.v2-avatar-grid .item img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 9999px; }
.v2-avatar-grid .item span:hover, .v2-avatar-grid .item span:focus-visible { box-shadow: 0 0 0 2px rgb(var(--tw-fore-500)); }
.v2-avatar-grid .item span.active { box-shadow: 0 0 0 3px rgb(var(--tw-blue-300)); }
.v2-avatar-tick { position: absolute; right: -2px; bottom: -2px; display: none; align-items: center; justify-content: center; width: 20px; height: 20px; font-size: 9px; font-style: normal; color: #fff; background: rgb(var(--tw-blue-300)); border: 2px solid rgb(var(--tw-fore-800)); border-radius: 9999px; }
.v2-avatar-grid .item span.active .v2-avatar-tick { display: flex; }
.v2-avatar-foot { align-items: center; justify-content: space-between; }
.v2-field > .v2-seg, .v2-set-ctl > .v2-seg { align-self: flex-start; width: fit-content; }
