/*
 * Organisation pages redesign (directory, public profile tabs, staff area, forms).
 * Everything is scoped under .orv and uses orv-* class names so it never clashes with
 * Bootstrap or organisation.css. Classes that scripts or tests rely on (org-tab, org-hero,
 * org-profile-media-field, gh-custom-filter, team-player-*, polaroid…) are kept and restyled here.
 */
.orv {
  --o-yellow: #FFDF00;
  --o-card: #171718;
  --o-inner: #111112;
  --o-text: #f4f4f6;
  --o-muted: #a8a8ad;
  --o-dim: #6e6e74;
  --o-line: rgba(255, 255, 255, .08);
  --o-red: #ff4655;
  --o-green: #59f18b;
  --o-blue: #58a6ff;
  --o-silver: #d4dae2;
  --o-bronze: #e0975a;
  --o-ease: cubic-bezier(.16, 1, .3, 1);
  color: var(--o-text);
}
.orv *, .orv *::before, .orv *::after { box-sizing: border-box; }
.orv a { color: inherit; text-decoration: none; }
.orv [hidden] { display: none !important; }
.orv h1, .orv h2, .orv h3, .orv h4 { color: var(--o-text); }
.orv form { margin: 0; }
.orv p { margin-bottom: 0; }
.orv img { max-width: 100%; }
.orv-kicker { display: block; color: var(--o-yellow); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.orv-muted { color: var(--o-muted); }

/* ---------- Buttons ---------- */
.orv .orv-btn, .orv .org-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 14px; background: none; color: var(--o-text); font-size: .9rem; font-weight: 800; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .2s var(--o-ease), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.orv .orv-btn--primary, .orv .org-btn--primary { border-color: transparent; background: var(--o-yellow); color: #111; }
.orv .orv-btn--primary:hover, .orv .org-btn--primary:hover { background: var(--o-yellow); color: #111; box-shadow: 0 10px 30px -8px rgba(255, 223, 0, .6); transform: translateY(-1px); }
.orv .orv-btn--soft, .orv .org-btn.is-following { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv .orv-btn--soft:hover, .orv .org-btn.is-following:hover { background: rgba(255, 223, 0, .18); color: var(--o-yellow); }
.orv .orv-btn--ghost, .orv .org-btn--quiet, .orv .org-btn:not(.org-btn--primary):not(.org-btn--danger):not(.is-following) { border-color: var(--o-line); background: var(--o-inner); color: var(--o-muted); }
.orv .orv-btn--ghost:hover, .orv .org-btn--quiet:hover { border-color: rgba(255, 255, 255, .22); background: var(--o-inner); color: var(--o-text); }
.orv .orv-btn--danger, .orv .org-btn--danger { border-color: rgba(255, 70, 85, .45); background: rgba(255, 70, 85, .08); color: #ff7480; }
.orv .orv-btn--danger:hover, .orv .org-btn--danger:hover { background: rgba(255, 70, 85, .16); color: #ff7480; }
.orv .orv-btn--sm { min-height: 36px; padding: 0 12px; border-radius: 11px; font-size: .82rem; }
.orv .orv-btn--icon { width: 36px; padding: 0; }
.orv .orv-btn:disabled { opacity: .35; cursor: default; transform: none; }
.orv-tlink { display: inline-flex; align-items: center; gap: 6px; color: var(--o-yellow) !important; font-size: .86rem; font-weight: 800; }
.orv-tlink i { transition: transform .3s var(--o-ease); }
.orv-tlink:hover i { transform: translateX(4px); }

/* ---------- Cards and small parts ---------- */
.orv-card { position: relative; padding: 22px; border: 1px solid var(--o-line); border-radius: 18px; background: var(--o-card); }
.orv-inner { border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-inner); }
.orv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.orv-head h2 { margin: 4px 0 0; font-size: 1.3rem; font-weight: 900; line-height: 1.2; }
.orv-head p { margin: 4px 0 0; color: var(--o-muted); font-size: .9rem; }
.orv-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 9px; border-radius: 9px; background: rgba(255, 223, 0, .1); color: var(--o-yellow); font-size: .8rem; font-weight: 900; }
.orv-stack { display: grid; gap: 10px; }
.orv-section-stack { display: grid; gap: 18px; }
.orv-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.orv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--o-line); border-radius: 9px; background: var(--o-inner); color: var(--o-text); font-size: .78rem; font-weight: 700; }
.orv-chip img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; }
.orv-chip i { color: var(--o-yellow); }
.orv-chip--muted { color: var(--o-dim); font-style: italic; }
.orv-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: .66rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.orv-badge--y { background: rgba(255, 223, 0, .12); color: var(--o-yellow); }
.orv-badge--g { background: rgba(89, 241, 139, .12); color: var(--o-green); }
.orv-badge--r { background: rgba(255, 70, 85, .12); color: #ff7480; }
.orv-badge--b { background: rgba(88, 166, 255, .12); color: var(--o-blue); }
.orv-badge--n { background: rgba(255, 255, 255, .06); color: var(--o-muted); }
.orv .famous-check { color: var(--o-yellow); }
.orv-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; border: 1px dashed rgba(255, 255, 255, .12); border-radius: 16px; color: var(--o-muted); text-align: center; grid-column: 1 / -1; }
.orv-empty > i { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 16px; background: rgba(255, 223, 0, .06); color: var(--o-yellow); font-size: 1.5rem; }
.orv-empty h3 { margin: 0; font-size: 1.2rem; font-weight: 900; }
.orv-empty p { margin: 0; }
.orv-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--o-muted); font-size: .86rem; font-weight: 700; }
.orv-sep { height: 1px; margin: 22px 0; background: var(--o-line); }
.orv-fb { display: grid; place-items: center; background: linear-gradient(135deg, #26261a, #111112); color: var(--o-yellow); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.orv-otag { padding: 4px 9px; border: 1px solid rgba(255, 223, 0, .4); border-radius: 8px; background: rgba(255, 223, 0, .1); color: var(--o-yellow); font-size: .76rem; font-weight: 900; letter-spacing: .08em; }

/* ---------- Directory ---------- */
.orv-dhero { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; padding: 38px 34px; border: 1px solid var(--o-line); border-radius: 18px; background: var(--o-inner); }
.orv-dhero__wash { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 140% at 0% 20%, rgba(255, 223, 0, .16), transparent 60%); }
.orv-dhero__spot { position: absolute; inset: 0; z-index: -2; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 223, 0, .08), transparent 60%); pointer-events: none; }
.orv-ghost { position: absolute; left: -10px; bottom: -8px; z-index: -1; color: transparent; font-size: clamp(70px, 12vw, 160px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; animation: orv-ghost 34s linear infinite; }
@keyframes orv-ghost { to { transform: translateX(-15%); } }
.orv-dhero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.orv-dhero h1 { margin: 8px 0 10px; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.orv-dhero p { margin: 0; max-width: 540px; color: var(--o-muted); font-size: 1.02rem; font-weight: 500; }
.orv-inbox { margin-top: 14px; padding: 16px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 18px; background: linear-gradient(100deg, rgba(255, 223, 0, .07), var(--o-card) 45%); }
.orv-inbox__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.orv-inbox__head > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--o-yellow); color: #111; }
.orv-inbox__head h2 { margin: 0; font-size: 1.05rem; font-weight: 900; }
.orv-inbox__head small { margin-left: auto; color: var(--o-dim); font-weight: 700; }
.orv-inbox__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 10px; }
.orv-invite { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-inner); }
.orv-invite > img, .orv-invite > .orv-fb { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.orv-invite__txt { flex: 1; min-width: 0; }
.orv-invite__txt h3 { margin: 0; overflow: hidden; font-size: .95rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.orv-invite__txt p { margin: 2px 0 0; color: var(--o-muted); font-size: .8rem; }
.orv-invite__kind { display: inline-block; margin-bottom: 3px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--o-muted); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.orv-invite__actions { display: flex; flex: none; gap: 6px; }
.orv-toolbar { position: sticky; top: 10px; z-index: 30; display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px; border: 1px solid var(--o-line); border-radius: 16px; background: rgba(23, 23, 24, .92); backdrop-filter: blur(12px); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .8); }
.orv-search { position: relative; flex: 1; min-width: 0; margin: 0; }
.orv-search i { position: absolute; left: 14px; top: 50%; color: var(--o-dim); transform: translateY(-50%); }
.orv-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); color: var(--o-text); font-size: .92rem; font-weight: 600; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.orv-search input::placeholder { color: var(--o-dim); }
.orv-search input:focus { border-color: rgba(255, 223, 0, .5); box-shadow: 0 0 0 3px rgba(255, 223, 0, .1); }
.orv-sort { display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); }
.orv-sort > span { padding: 0 8px 0 6px; color: var(--o-dim); font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.orv-sort button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; background: none; color: var(--o-muted); font-size: .84rem; font-weight: 800; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.orv-sort button:hover { color: var(--o-text); }
.orv-sort button.is-on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv-results { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 30px 0 14px; }
.orv-results h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.35rem; font-weight: 900; }
.orv-results h2::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--o-yellow); box-shadow: 0 0 14px rgba(255, 223, 0, .6); }
.orv-results h2 small { padding: 3px 9px; border-radius: 8px; background: var(--o-card); color: var(--o-dim); font-size: .74rem; font-weight: 800; }
.orv-results__query { color: var(--o-muted); font-size: .9rem; }
.orv-results__query b { color: var(--o-text); }
.orv-linkbtn { display: inline-flex; align-items: center; gap: 6px; color: var(--o-muted) !important; font-size: .86rem; font-weight: 700; }
.orv-linkbtn:hover { color: #ff7480 !important; }
.orv-dgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.orv-ocard { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--o-line); border-radius: 18px; background: var(--o-card); transition: border-color .25s ease, transform .35s var(--o-ease), box-shadow .35s ease; }
.orv-ocard::before { content: ""; position: absolute; inset: 0; z-index: 3; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 223, 0, .07), transparent 55%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.orv-ocard:hover { border-color: rgba(255, 223, 0, .45); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .95); }
.orv-ocard:hover::before { opacity: 1; }
.orv-ocard.is-verified { border-color: rgba(255, 223, 0, .28); box-shadow: 0 0 0 1px rgba(255, 223, 0, .05), 0 14px 40px -26px rgba(255, 223, 0, .45); }
.orv-ocard__banner { position: relative; height: 150px; overflow: hidden; background: var(--o-inner); }
.orv-ocard__banner img { display: block; width: 100%; height: 100%; object-fit: cover; color: transparent; transition: transform .7s var(--o-ease); }
.orv-ocard:hover .orv-ocard__banner img { transform: scale(1.06); }
.orv-ocard__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), transparent 40%, rgba(23, 23, 24, .96)); }
.orv-ocard__banner.is-empty { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 223, 0, .16), transparent 55%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px), var(--o-inner); }
.orv-ocard__banner.is-empty span { position: absolute; right: -6px; top: -8px; color: transparent; font-size: 110px; font-weight: 900; line-height: 1; letter-spacing: -.03em; -webkit-text-stroke: 1px rgba(255, 223, 0, .16); }
.orv-ocard__flags { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; }
.orv-flag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 9px; background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); color: #fff; font-size: .7rem; font-weight: 800; }
.orv-ocard__id { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 14px; margin-top: -44px; padding: 0 18px; }
.orv-ocard__logo { flex: none; width: 78px; height: 78px; border: 3px solid var(--o-card); border-radius: 18px; background: var(--o-inner); object-fit: cover; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .9); font-size: 1.5rem; transition: box-shadow .3s ease, transform .35s var(--o-ease); }
.orv-ocard:hover .orv-ocard__logo { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 0 0 1px rgba(255, 223, 0, .5), 0 14px 30px -10px rgba(255, 223, 0, .35); }
.orv-ocard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 4px; }
.orv-ocard__meta .orv-otag { padding: 3px 8px; font-size: .72rem; }
.orv-followers { display: inline-flex; align-items: center; gap: 5px; color: var(--o-muted); font-size: .78rem; font-weight: 700; }
.orv-ocard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 14px 18px 16px; }
.orv-ocard h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 1.2rem; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.orv-ocard h3 .famous-check { flex: none; font-size: .95rem; }
.orv-ocard__mission { margin: 0; min-height: 3em; overflow: hidden; color: var(--o-muted); font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.orv-ocard__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--o-line); color: var(--o-dim); font-size: .78rem; font-weight: 700; }
.orv-ocard__foot span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.orv-ocard__go { margin-left: auto; color: var(--o-yellow); font-weight: 800; }
.orv-ocard__go i { transition: transform .3s var(--o-ease); }
.orv-ocard:hover .orv-ocard__go i { transform: translateX(4px); }

/* ---------- Public hero ---------- */
.orv .orv-preview { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 10px 16px; border: 1px solid rgba(88, 166, 255, .4); border-radius: 14px; background: rgba(88, 166, 255, .08); color: var(--o-blue); font-weight: 800; }
.orv .orv-preview a { text-decoration: underline; }
.orv .orv-hero { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--o-line); border-radius: 20px; background: var(--o-inner); }
.orv-hero__banner { position: relative; height: 290px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 223, 0, .18), transparent 55%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px), var(--o-inner); }
.orv-hero__banner img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); animation: orv-drift 26s ease-in-out infinite alternate; }
@keyframes orv-drift { to { transform: scale(1.1) translateX(-1.5%); } }
.orv-hero__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 18, .15), rgba(15, 15, 18, .35) 45%, var(--o-inner)), radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 223, 0, .14), transparent 60%); }
.orv-hero__ghost { position: absolute; left: -10px; bottom: 6px; z-index: 1; color: transparent; font-size: clamp(80px, 13vw, 170px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); pointer-events: none; animation: orv-ghost-wide 36s linear infinite; }
@keyframes orv-ghost-wide { to { transform: translateX(-18%); } }
.orv-hero__body { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 22px; margin-top: -92px; padding: 0 26px 24px; }
.orv-hero__logo { width: 132px; height: 132px; border: 4px solid var(--o-inner); border-radius: 26px; background: var(--o-card); object-fit: cover; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 223, 0, .25); font-size: 2.4rem; }
.orv-hero__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.orv-hero h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.orv-hero .famous-check { font-size: 1.4rem; }
.orv-hero__mission { max-width: 640px; margin: 10px 0 12px; color: #d6d6da; font-size: 1rem; line-height: 1.5; }
.orv-hero__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.orv-hero__meta > * { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--o-line); border-radius: 9px; background: rgba(23, 23, 24, .75); color: var(--o-muted); font-size: .8rem; font-weight: 700; }
.orv-hero__meta i { color: var(--o-yellow); }
.orv-hero__meta a:hover { border-color: rgba(255, 223, 0, .45); color: var(--o-text); }
.orv-hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.orv .org-hero--compact .orv-hero__banner { height: 150px; }
.orv .org-hero--compact .orv-hero__body { margin-top: -58px; padding-bottom: 18px; }
.orv .org-hero--compact .orv-hero__logo { width: 92px; height: 92px; border-radius: 20px; font-size: 1.7rem; }
.orv .org-hero--compact h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.orv .org-hero--compact .orv-hero__mission { display: none; }
.orv .org-hero--compact .orv-hero__meta { margin-top: 10px; }
.orv .org-hero--compact .orv-hero__ghost { bottom: 30px; font-size: 110px; }

/* ---------- Public tabs (keeps org-tab + data hooks used by organisation_nav.js) ---------- */
.orv .orv-tabs-shell { position: sticky; top: 8px; z-index: 30; display: flex; align-items: center; gap: 6px; margin: 12px 0 18px; padding: 6px; border: 1px solid var(--o-line); border-radius: 16px; background: rgba(23, 23, 24, .92); backdrop-filter: blur(12px); }
.orv .orv-tabs { display: flex; flex: 1; gap: 4px; min-width: 0; margin: 0; padding: 0; overflow-x: auto; border: 0; background: none; scroll-behavior: smooth; scrollbar-width: none; }
.orv .orv-tabs::-webkit-scrollbar { display: none; }
.orv .orv-tabs .org-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 11px; background: none; color: var(--o-muted); font-size: .9rem; font-weight: 800; box-shadow: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.orv .orv-tabs .org-tab:hover { background: rgba(255, 255, 255, .03); color: var(--o-text); }
.orv .orv-tabs .org-tab.is-active { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv .orv-tabs-arrow { position: static; flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 1px solid var(--o-line); border-radius: 10px; background: var(--o-inner); color: var(--o-muted); transform: none; cursor: pointer; }
.orv .orv-tabs-arrow:hover:not(:disabled) { border-color: rgba(255, 223, 0, .5); color: var(--o-yellow); }
.orv .orv-tabs-arrow:disabled { opacity: .3; cursor: default; }

/* ---------- Overview ---------- */
.orv-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.orv-stat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--o-line); border-radius: 16px; background: var(--o-card); }
.orv-stat > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 223, 0, .1); color: var(--o-yellow); font-size: 1.1rem; }
.orv-stat small { display: block; color: var(--o-dim); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.orv-stat strong { font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.orv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.orv-main { display: grid; gap: 18px; min-width: 0; }
.orv-side { position: sticky; top: 76px; display: grid; gap: 18px; }
.orv-story { margin: 0; color: #d6d6da; font-size: 1rem; line-height: 1.75; }
.orv-aboutlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 14px 16px; }
.orv-aboutlink strong { display: block; }
.orv-aboutlink small { color: var(--o-muted); }
.orv-featured { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border: 1px solid rgba(255, 223, 0, .3); border-radius: 16px; background: var(--o-inner); transition: border-color .2s ease, transform .3s var(--o-ease); }
.orv-featured:hover { border-color: rgba(255, 223, 0, .6); transform: translateY(-2px); }
.orv-featured__img { position: relative; min-height: 220px; overflow: hidden; }
.orv-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--o-ease); }
.orv-featured:hover .orv-featured__img img { transform: scale(1.05); }
.orv-featured__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.orv-featured__body h3 { margin: 0; font-size: 1.35rem; font-weight: 900; }
.orv-featured__body p { margin: 0; color: var(--o-muted); line-height: 1.6; }
.orv-featured__body small { margin-top: auto; color: var(--o-dim); font-weight: 700; }
.orv-featured--noimg { grid-template-columns: 1fr; }
.orv-postlinks { display: grid; gap: 8px; }
.orv-postlinks a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; transition: border-color .2s ease; }
.orv-postlinks a:hover { border-color: rgba(255, 223, 0, .45); }
.orv-postlinks small { color: var(--o-dim); white-space: nowrap; }
.orv-tpreview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.orv-tp { display: flex; align-items: center; gap: 12px; padding: 12px; transition: border-color .2s ease, transform .25s var(--o-ease); }
.orv-tp:hover { border-color: rgba(255, 223, 0, .45); transform: translateY(-2px); }
.orv-tp > img, .orv-tp > .orv-fb { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--o-card); object-fit: cover; }
.orv-tp strong { display: block; font-size: .95rem; }
.orv-tp small { color: var(--o-muted); font-size: .8rem; }
.orv-photostrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.orv-photostrip a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.orv-photostrip a:first-child { grid-row: span 2; grid-column: span 2; }
.orv-photostrip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .6s var(--o-ease), filter .3s ease; }
.orv-photostrip a:hover img { filter: none; transform: scale(1.07); }
.orv-podium { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.orv-honour { --medal: var(--o-muted); position: relative; display: flex; gap: 14px; overflow: hidden; padding: 16px; border: 1px solid var(--o-line); border-radius: 16px; background: var(--o-inner); transition: border-color .2s ease, transform .25s var(--o-ease); }
.orv-honour:hover { border-color: color-mix(in srgb, var(--medal) 55%, transparent); transform: translateY(-2px); }
.orv-honour::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--medal) 22%, transparent), transparent 70%); pointer-events: none; }
.orv-honour--1 { --medal: var(--o-yellow); }
.orv-mrow.orv-honour--1, .orv-mrow.orv-honour--2, .orv-mrow.orv-honour--3 { border-color: var(--o-line); }
.orv-honour--2 { --medal: var(--o-silver); }
.orv-honour--3 { --medal: var(--o-bronze); }
.orv-medal { --m: var(--medal, var(--o-muted)); display: grid; place-items: center; flex: none; width: 50px; height: 50px; border: 1px solid color-mix(in srgb, var(--m) 50%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--m) 14%, transparent); color: var(--m); font-size: 1.35rem; font-weight: 900; }
.orv-medal i { font-size: 1.1rem; }
.orv-honour__txt { min-width: 0; }
.orv-honour strong { display: block; font-size: 1rem; line-height: 1.25; }
.orv-honour small { display: block; margin-top: 3px; color: var(--o-muted); font-size: .8rem; }
.orv-honour .orv-placement { color: var(--medal); font-weight: 800; }
.orv-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 3px 8px; border-radius: 7px; background: rgba(255, 223, 0, .1); color: var(--o-yellow); font-size: .66rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.orv-src--sub { background: rgba(255, 255, 255, .06); color: var(--o-muted); }
.orv-rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.orv-rcard { --kc: var(--o-yellow); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid color-mix(in srgb, var(--kc) 40%, transparent); border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--kc) 8%, transparent), var(--o-inner) 45%); box-shadow: 0 0 22px -12px var(--kc); transition: transform .25s var(--o-ease), box-shadow .3s ease; }
.orv-rcard:hover { transform: translateY(-3px); box-shadow: 0 0 30px -8px var(--kc); }
.orv-rcard--player_available { --kc: var(--o-blue); }
.orv-rcard--play_together, .orv-rcard--staff { --kc: var(--o-green); }
.orv-rcard__link { position: absolute; inset: 0; z-index: 1; }
.orv-rcard header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.orv-rcard h3 { margin: 0; font-size: 1.08rem; font-weight: 900; }
.orv-rcard p { margin: 0; color: var(--o-muted); font-size: .86rem; line-height: 1.5; }
.orv-rcard footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--o-line); color: var(--o-muted); font-size: .8rem; font-weight: 700; }
.orv-rcard__id { display: flex; align-items: center; gap: 8px; }
.orv-rcard__id img, .orv-rcard__id .orv-fb { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; font-size: .7rem; }
.orv-rcard__id strong { display: block; font-size: .84rem; }
.orv-rcard__id small { color: var(--o-dim); font-size: .74rem; }
.orv-kind { padding: 4px 9px; border-radius: 8px; background: color-mix(in srgb, var(--kc) 14%, transparent); color: var(--kc); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.orv-logostrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.orv-logostrip a { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); color: var(--o-muted); font-size: .8rem; font-weight: 700; transition: border-color .2s ease, color .2s ease; }
.orv-logostrip a:hover { border-color: rgba(255, 223, 0, .45); color: var(--o-text); }
.orv-logostrip img { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.orv-logostrip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orv-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.orv-social { --sc: var(--o-yellow); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--sc) 55%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--sc) 10%, transparent); color: var(--sc) !important; font-size: 1.1rem; transition: transform .25s var(--o-ease), background .2s ease; }
.orv-social:hover { background: color-mix(in srgb, var(--sc) 20%, transparent); transform: translateY(-3px); }
.orv-social--x { --sc: #fff; }
.orv-social--instagram { --sc: #e4405f; }
.orv-social--twitch { --sc: #9146ff; }
.orv-social--youtube { --sc: #ff0000; }
.orv-social--discord { --sc: #5865f2; }
.orv-social--kick { --sc: #53fc18; }
.orv-people { display: grid; gap: 6px; }
.orv-person { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: background .2s ease, border-color .2s ease; }
.orv-person:hover { background: var(--o-inner); }
.orv-person img { flex: none; width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.orv-person strong { display: block; font-size: .92rem; overflow-wrap: anywhere; }
.orv-person small { color: var(--o-muted); font-size: .78rem; }
.orv-person > .bi-arrow-up-right { margin-left: auto; color: var(--o-dim); }
.orv-role-owner { color: var(--o-yellow) !important; }

/* ---------- Posts ---------- */
.orv-pfeat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; margin-bottom: 14px; border: 1px solid rgba(255, 223, 0, .4); border-radius: 18px; background: var(--o-inner); box-shadow: 0 0 34px -22px rgba(255, 223, 0, .8); }
.orv-pfeat--noimg { grid-template-columns: 1fr; }
.orv-pfeat__img { position: relative; min-height: 260px; overflow: hidden; }
.orv-pfeat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--o-ease); }
.orv-pfeat:hover .orv-pfeat__img img { transform: scale(1.05); }
.orv-pfeat__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 0; }
.orv-pfeat__body h3 { margin: 0; font-size: 1.45rem; font-weight: 900; line-height: 1.2; }
.orv-pfeat__body p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--o-muted); line-height: 1.6; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.orv-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.orv-pc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--o-line); border-radius: 16px; background: var(--o-inner); transition: border-color .2s ease, transform .3s var(--o-ease), box-shadow .3s ease; }
.orv-pc:hover { border-color: rgba(255, 223, 0, .45); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .95); }
.orv-pc__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--o-card); }
.orv-pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--o-ease); }
.orv-pc:hover .orv-pc__media img { transform: scale(1.06); }
.orv-pc__media--text { display: grid; place-items: center; background: radial-gradient(120% 120% at 0% 0%, rgba(255, 223, 0, .16), transparent 60%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 14px), var(--o-card); }
.orv-pc__media--text i { color: rgba(255, 223, 0, .5); font-size: 2.4rem; }
.orv-pc__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px; }
.orv-pc__body small, .orv-pfeat__body small { color: var(--o-dim); font-size: .76rem; font-weight: 700; }
.orv-pc__body h3 { margin: 0; font-size: 1.05rem; font-weight: 900; line-height: 1.3; }
.orv-pc__body p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--o-muted); font-size: .86rem; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.orv-pfoot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 10px 16px; border-top: 1px solid var(--o-line); color: var(--o-muted); font-size: .82rem; font-weight: 700; }
.orv-pfeat .orv-pfoot { margin: auto -20px 0; padding: 12px 20px; }
.orv-pfoot__actions { display: flex; gap: 4px; margin-left: auto; }

/* ---------- Partners ---------- */
.orv-tier { margin-top: 18px; }
.orv-tier__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.orv-tier__head h2 { margin: 0; font-size: 1.15rem; font-weight: 900; }
.orv-tier__head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--o-line), transparent); }
.orv-tier__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv-ptiles { --logo: 64px; --tile: 240px; display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--tile), 1fr)); gap: 10px; }
.orv-ptiles--title { --logo: 76px; --tile: 280px; }
.orv-ptiles--official { --logo: 52px; --tile: 230px; }
.orv-ptiles--supporter { --logo: 42px; --tile: 210px; }
.orv-ptile { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-inner); transition: border-color .2s ease, transform .3s var(--o-ease), box-shadow .3s ease; }
a.orv-ptile:hover { border-color: rgba(255, 223, 0, .5); transform: translateY(-2px); box-shadow: 0 16px 34px -24px rgba(255, 223, 0, .55); }
.orv-ptile__logo { flex: none; width: var(--logo); height: var(--logo); overflow: hidden; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-card); }
.orv-ptile__logo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--o-ease); }
a.orv-ptile:hover .orv-ptile__logo img { transform: scale(1.08); }
.orv-ptile__txt { min-width: 0; }
.orv-ptile__txt strong { display: -webkit-box; overflow: hidden; font-size: .92rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.orv-ptile__txt small { display: block; color: var(--o-dim); font-size: .76rem; font-weight: 700; }
.orv-ptile__go { margin-left: auto; color: var(--o-dim); transition: color .2s ease, transform .3s var(--o-ease); }
a.orv-ptile:hover .orv-ptile__go { color: var(--o-yellow); transform: translate(2px, -2px); }
.orv-ptile.is-featured { border-color: rgba(255, 223, 0, .4); background: linear-gradient(100deg, rgba(255, 223, 0, .07), var(--o-inner) 60%); }
.orv-ptile.is-featured .orv-ptile__txt small { color: var(--o-yellow); }

/* ---------- Filter pills ---------- */
.orv-pills { display: flex; gap: 6px; margin-bottom: 16px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.orv-pill { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border: 1px solid var(--o-line); border-radius: 9px; background: var(--o-inner); color: var(--o-muted) !important; font-size: .84rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.orv-pill:hover { border-color: rgba(255, 255, 255, .2); color: var(--o-text) !important; }
.orv-pill.is-on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow) !important; }
.orv-pill img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; }
.orv-pills__sep { flex: none; width: 1px; margin: 4px 6px; background: var(--o-line); }

/* ---------- Competition ---------- */
.orv-matches { display: grid; gap: 8px; }
.orv-match { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto 130px; align-items: center; gap: 16px; padding: 14px 16px; transition: border-color .2s ease; }
.orv-match:hover { border-color: rgba(255, 223, 0, .4); }
.orv-match strong { display: block; }
.orv-match small { color: var(--o-dim); font-size: .78rem; }
.orv-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font-weight: 900; }
.orv-vs span:first-child { text-align: right; }
.orv-vs em { padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, .05); color: var(--o-dim); font-size: .7rem; font-style: normal; }
.orv-res { min-width: 58px; padding: 5px 10px; border-radius: 9px; background: rgba(255, 255, 255, .06); color: var(--o-muted); font-size: .74rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.orv-res--win { background: rgba(89, 241, 139, .14); color: var(--o-green); }
.orv-res--loss { background: rgba(255, 70, 85, .14); color: #ff7480; }
.orv-match time { color: var(--o-muted); font-size: .8rem; text-align: right; }
.orv-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.orv-event { display: flex; flex-direction: column; gap: 6px; padding: 16px; transition: border-color .2s ease, transform .25s var(--o-ease); }
a.orv-event:hover { border-color: rgba(255, 223, 0, .4); transform: translateY(-2px); }
.orv-event h3 { margin: 4px 0 0; font-size: 1rem; font-weight: 900; }
.orv-event h3 a:hover { color: var(--o-yellow); }
.orv-event p { margin: 0; color: var(--o-muted); font-size: .84rem; }
.orv-event small { color: var(--o-dim); font-size: .78rem; font-weight: 700; }
.orv-event .orv-chip { width: max-content; }
.orv-subhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 10px; }
.orv-subhead h3 { margin: 0; font-size: 1rem; font-weight: 900; }

/* ---------- Teams ---------- */
.orv-division { margin-top: 22px; }
.orv-division__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.orv-division__icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--o-line); border-radius: 11px; background: var(--o-card); color: var(--o-yellow); }
.orv-division__icon img { width: 26px; height: 26px; object-fit: contain; }
.orv-division__head h2 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.orv-division__head .orv-count { margin-left: auto; width: auto; }
.orv-lineup { margin-bottom: 14px; padding: 0; overflow: hidden; }
.orv-lineup__head { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--o-line); background: linear-gradient(100deg, rgba(255, 223, 0, .07), transparent 55%); }
.orv-lineup__id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.orv-lineup__id > img, .orv-lineup__id > .orv-fb { flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--o-inner); object-fit: cover; font-size: 1.2rem; }
.orv-lineup__head h3 { margin: 2px 0; font-size: 1.25rem; font-weight: 900; }
.orv-lineup__head p { margin: 0; color: var(--o-muted); font-size: .84rem; }
.orv-lineup__managers { margin-left: auto; text-align: right; }
.orv-lineup__managers small { display: block; margin-bottom: 6px; color: var(--o-dim); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.orv-avatars { display: flex; justify-content: flex-end; padding-left: 8px; }
.orv-avatars img { width: 32px; height: 32px; margin-left: -8px; border: 2px solid var(--o-card); border-radius: 9px; object-fit: cover; }
.orv-lineup__body { padding: 16px 20px 20px; }
.orv-roster-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.orv-roster-title h4 { margin: 0; font-size: 1rem; font-weight: 900; }
.orv-roster-title p { margin: 2px 0 0; color: var(--o-dim); font-size: .8rem; }
.orv-roster-title span { color: var(--o-muted); font-size: .84rem; }
.orv-roster-title b { color: var(--o-yellow); }
.orv details.orv-fold { margin-top: 14px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); }
.orv details.orv-fold summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: var(--o-muted); font-size: .88rem; font-weight: 800; list-style: none; cursor: pointer; }
.orv details.orv-fold summary::-webkit-details-marker { display: none; }
.orv details.orv-fold summary .bi-chevron-down { transition: transform .25s var(--o-ease); }
.orv details.orv-fold[open] summary .bi-chevron-down { transform: rotate(180deg); }
.orv-fold__body { display: grid; gap: 6px; padding: 0 14px 14px; }
.orv-hrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--o-card); font-size: .86rem; transition: border-color .2s ease; }
a.orv-hrow:hover { color: var(--o-yellow); }
.orv-hrow strong { display: block; }
.orv-hrow small { display: block; color: var(--o-dim); }
.orv-hrow time { color: var(--o-muted); font-size: .8rem; white-space: nowrap; }
.orv-endform label { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--o-muted); font-size: .86rem; cursor: pointer; }
.orv-endform label input { margin-top: 3px; accent-color: var(--o-red); }
.orv-endform strong { display: block; color: var(--o-text); }
.orv-reqform { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: start; gap: 12px; }
.orv-reqform > .orv-btn { margin-top: 27px; }

/* ---------- Gallery (keeps the site's polaroid component) ---------- */
.orv .orv-polaroids { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 30px 22px; padding: 14px 6px 6px; }
.orv .orv-polaroids .polaroid { width: auto; max-width: none; margin: 0; }
.orv .orv-polaroids .polaroid small { position: absolute; left: 12px; right: 12px; bottom: 6px; margin: 0; overflow: hidden; color: #2a2a2a; font-size: .72rem; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.orv-photo-wrap { position: relative; }
.orv-photo-actions { position: absolute; right: 4px; bottom: -14px; z-index: 3; display: flex; gap: 4px; opacity: 0; transition: opacity .2s ease; }
.orv-photo-wrap:hover .orv-photo-actions, .orv-photo-wrap:focus-within .orv-photo-actions { opacity: 1; }
.orv-gallery-placeholder { display: grid; place-items: center; aspect-ratio: 1; background: #ddd; color: #888; font-size: 2rem; }

/* ---------- About / followers ---------- */
.orv-quote { position: relative; margin: 0 0 18px; padding: 18px 20px 18px 54px; border-left: 3px solid var(--o-yellow); border-radius: 0 14px 14px 0; background: linear-gradient(90deg, rgba(255, 223, 0, .08), transparent); font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
.orv-quote::before { content: "\F6B0"; position: absolute; left: 18px; top: 16px; color: var(--o-yellow); font-family: "bootstrap-icons"; font-size: 1.4rem; }
.orv-facts { display: grid; gap: 2px; margin: 0; }
.orv-facts div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--o-line); }
.orv-facts div:last-child { border-bottom: 0; }
.orv-facts dt { display: flex; align-items: center; gap: 8px; color: var(--o-muted); font-size: .86rem; font-weight: 700; }
.orv-facts dt i { color: var(--o-yellow); }
.orv-facts dd { margin: 0; font-weight: 900; text-align: right; }
.orv-staffgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.orv-staffgrid .orv-person { padding: 12px; border: 1px solid var(--o-line); background: var(--o-inner); }
.orv-staffgrid .orv-person:hover { border-color: rgba(255, 223, 0, .4); }
.orv-staffgrid .orv-person img { width: 52px; height: 52px; border-radius: 13px; }
.orv-followers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.orv-follower { display: grid; justify-items: center; gap: 10px; padding: 16px 10px; text-align: center; transition: border-color .2s ease, transform .25s var(--o-ease); }
.orv-follower:hover { border-color: rgba(255, 223, 0, .45); transform: translateY(-3px); }
.orv-follower img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.orv-follower strong { max-width: 100%; overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Staff area ---------- */
.orv-ws { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.orv-ws__nav { position: sticky; top: 8px; display: grid; gap: 12px; }
.orv-ws__id { overflow: hidden; padding: 0; }
.orv-ws__id-banner { height: 70px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 223, 0, .18), transparent 55%), var(--o-inner) center / cover; }
.orv-ws__id-body { padding: 0 16px 16px; }
.orv-ws__id-body > img, .orv-ws__id-body > .orv-fb { width: 64px; height: 64px; margin-top: -32px; border: 3px solid var(--o-card); border-radius: 16px; object-fit: cover; font-size: 1.2rem; }
.orv-ws__id-body h3 { display: flex; align-items: center; gap: 6px; margin: 10px 0 8px; font-size: 1.05rem; font-weight: 900; }
.orv .orv-ws__links { display: grid; gap: 2px; margin: 0; padding: 8px; border: 1px solid var(--o-line); border-radius: 18px; background: var(--o-card); }
.orv .orv-ws__links .org-tab { display: flex; align-items: center; justify-content: flex-start; width: 100%; gap: 10px; min-height: 0; padding: 10px 12px; border: 1px solid transparent; border-radius: 11px; background: none; color: var(--o-muted); font-size: .9rem; font-weight: 800; box-shadow: none; transition: color .2s ease, background .2s ease; }
.orv .orv-ws__links .org-tab i { width: 18px; text-align: center; }
.orv .orv-ws__links .org-tab:hover { background: var(--o-inner); color: var(--o-text); }
.orv .orv-ws__links .org-tab.is-active { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv .orv-ws__links .org-tab--preview { margin-top: 6px; border-top-color: var(--o-line); border-radius: 0 0 11px 11px; }
.orv-ws__main { display: grid; gap: 16px; min-width: 0; }
.orv-ws__main > *, .orv-main > *, .orv-side > * { min-width: 0; }
.orv-ws__head { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; padding: 26px; border: 1px solid var(--o-line); border-radius: 18px; background: var(--o-inner); }
.orv-ws__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 140% at 0% 20%, rgba(255, 223, 0, .13), transparent 60%), radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 223, 0, .07), transparent 60%); }
.orv-ws__ghost { position: absolute; right: -10px; bottom: -14px; z-index: -1; color: transparent; font-size: 110px; font-weight: 900; line-height: .9; text-transform: uppercase; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; }
.orv-ws__head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.orv-ws__head h1 { margin: 6px 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.orv-ws__head p { max-width: 560px; margin: 0; color: var(--o-muted); }
.orv-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--o-muted) !important; font-size: .86rem; font-weight: 800; }
.orv-back:hover { color: var(--o-yellow) !important; }

/* Verification */
.orv-verify { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.orv-ring { --p: 0; position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--o-yellow) calc(var(--p) * 1%), rgba(255, 255, 255, .07) 0); }
.orv-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--o-card); }
.orv-ring > span { position: relative; font-size: 1.15rem; font-weight: 900; text-align: center; }
.orv-ring small { display: block; margin-top: -4px; color: var(--o-dim); font-size: .62rem; font-weight: 800; }
.orv-ring--done { --p: 100; }
.orv-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.orv-checklist span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--o-line); border-radius: 11px; background: var(--o-inner); color: var(--o-muted); font-size: .86rem; font-weight: 700; }
.orv-checklist span.is-complete { border-color: rgba(89, 241, 139, .3); color: var(--o-text); }
.orv-checklist span.is-complete i { color: var(--o-green); }
.orv-vstatus { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--o-muted); font-size: .8rem; font-weight: 900; }
.orv-vstatus--pending { background: rgba(88, 166, 255, .12); color: var(--o-blue); }
.orv-vstatus--verified { background: rgba(255, 223, 0, .12); color: var(--o-yellow); }
.orv-feedback { margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(255, 70, 85, .35); border-radius: 12px; background: rgba(255, 70, 85, .06); }
.orv-feedback strong { color: #ff7480; }
.orv-feedback p { margin: 4px 0 0; color: var(--o-muted); font-size: .88rem; }

/* Forms */
.orv-fsec { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--o-line); }
.orv-fsec:first-of-type { padding-top: 0; }
.orv-fsec:last-of-type { border-bottom: 0; }
.orv-fsec__intro { display: flex; gap: 12px; }
.orv-step { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 223, 0, .12); color: var(--o-yellow); font-size: .8rem; font-weight: 900; }
.orv-fsec__intro h2 { margin: 4px 0; font-size: 1.05rem; font-weight: 900; }
.orv-fsec__intro p { margin: 0; color: var(--o-muted); font-size: .84rem; line-height: 1.45; }
.orv-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.orv-field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.orv-field--wide { grid-column: 1 / -1; }
.orv-field > label, .orv-label { color: var(--o-text); font-size: .86rem; font-weight: 800; }
.orv-field small, .orv-field .helptext { color: var(--o-dim); font-size: .78rem; }
.orv-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.orv-field textarea, .orv-field select,
.orv-plainform input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.orv-plainform textarea, .orv-plainform select {
  width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); color: var(--o-text); font-size: .92rem; font-weight: 600; outline: none; color-scheme: dark; transition: border-color .2s ease, box-shadow .2s ease;
}
.orv-field textarea, .orv-plainform textarea { min-height: 110px; line-height: 1.5; resize: vertical; }
.orv-field input:focus, .orv-field textarea:focus, .orv-field select:focus, .orv-plainform input:focus, .orv-plainform textarea:focus, .orv-plainform select:focus { border-color: rgba(255, 223, 0, .5); box-shadow: 0 0 0 3px rgba(255, 223, 0, .1); }
.orv-field input::placeholder, .orv-field textarea::placeholder, .orv-plainform input::placeholder, .orv-plainform textarea::placeholder { color: var(--o-dim); }
.orv-field input[type="file"], .orv-plainform input[type="file"] { width: 100%; padding: 10px; border: 1px dashed rgba(255, 223, 0, .35); border-radius: 12px; background: rgba(255, 223, 0, .03); color: var(--o-muted); }
.orv-plainform { display: grid; gap: 14px; }
.orv-plainform > label { display: grid; gap: 7px; color: var(--o-text); font-size: .86rem; font-weight: 800; }
.orv-plainform > label > input[type="checkbox"] { justify-self: start; width: 18px; height: 18px; accent-color: var(--o-yellow); }
.orv-iconinput { position: relative; }
.orv-iconinput > i { position: absolute; left: 14px; top: 50%; z-index: 1; color: var(--sc, var(--o-muted)); transform: translateY(-50%); }
.orv-iconinput input { padding-left: 40px !important; }
.orv-err, .orv .errorlist, .orv .org-form-error { margin: 0; padding: 0; color: #ff7480; font-size: .8rem; font-weight: 700; list-style: none; }
.orv-errbox { margin-bottom: 16px; padding: 12px 14px; border: 1px solid rgba(255, 70, 85, .35); border-radius: 12px; background: rgba(255, 70, 85, .06); }
.orv .org-profile-media-preview { display: grid; place-items: center; overflow: hidden; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-inner); color: var(--o-dim); font-size: .84rem; font-weight: 700; }
.orv .org-profile-media-preview img { width: 100%; height: 100%; object-fit: cover; }
.orv .org-profile-media-preview--logo { width: 110px; height: 110px; }
.orv .org-profile-media-preview--banner { width: 100%; height: 110px; }
.orv .org-profile-media-preview.is-pending { border-color: rgba(255, 223, 0, .6); box-shadow: 0 0 0 3px rgba(255, 223, 0, .1); }
.orv .org-profile-media-status { color: var(--o-yellow) !important; font-weight: 800; }
.orv-upload { position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; overflow: hidden; border: 1px dashed rgba(255, 223, 0, .4); border-radius: 12px; background: rgba(255, 223, 0, .03); color: var(--o-yellow); font-size: .88rem; font-weight: 800; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.orv-upload:hover { border-color: rgba(255, 223, 0, .7); background: rgba(255, 223, 0, .07); }
.orv-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.orv-upload__name { overflow: hidden; color: var(--o-muted); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.orv-clear { display: inline-flex; align-items: center; gap: 8px; color: var(--o-muted); font-size: .82rem; font-weight: 700; cursor: pointer; }
.orv-clear input { accent-color: var(--o-yellow); }
.orv-gpick { display: flex; flex-wrap: wrap; gap: 8px; }
.orv-gpick label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--o-line); border-radius: 9px; background: var(--o-inner); color: var(--o-muted); font-size: .86rem; font-weight: 800; cursor: pointer; transition: all .2s ease; }
.orv-gpick input { position: absolute; opacity: 0; pointer-events: none; }
.orv-gpick img { width: 20px; height: 20px; border-radius: 5px; object-fit: contain; }
.orv-gpick label:has(input:checked) { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv-gpick label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 223, 0, .2); }
.orv-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.orv-choice label { display: flex; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--o-line); border-radius: 14px; background: var(--o-inner); cursor: pointer; transition: all .2s ease; }
.orv-choice input { position: absolute; opacity: 0; pointer-events: none; }
.orv-choice i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--o-muted); font-size: 1.1rem; }
.orv-choice strong { display: block; }
.orv-choice small { color: var(--o-muted); font-size: .8rem; }
.orv-choice label:has(input:checked) { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .06); }
.orv-choice label:has(input:checked) i { background: var(--o-yellow); color: #111; }
.orv-choice label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 223, 0, .2); }
.orv-savebar { position: sticky; bottom: 14px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 12px 14px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 16px; background: rgba(23, 23, 24, .95); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .9); }
.orv-savebar--static { position: static; margin-top: 18px; }
.orv-savebar > span { color: var(--o-muted); font-size: .86rem; font-weight: 700; }
.orv-savebar > div { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.orv-switch { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--o-muted); font-size: .84rem; font-weight: 800; cursor: pointer; }
.orv-switch input { position: absolute; opacity: 0; pointer-events: none; }
.orv-switch i { position: relative; flex: none; width: 38px; height: 22px; border-radius: 99px; background: rgba(255, 255, 255, .12); transition: background .2s ease; }
.orv-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--o-ease); }
.orv-switch input:checked + i { background: var(--o-yellow); }
.orv-switch input:checked + i::after { background: #111; transform: translateX(16px); }
.orv-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(255, 223, 0, .25); }
.orv-check { display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); font-weight: 800; cursor: pointer; }
.orv-check input { width: 18px; height: 18px; accent-color: var(--o-yellow); }

/* Restyle the site's custom dropdown inside these pages */
.orv .gh-custom-filter { width: 100%; }
.orv .gh-custom-filter__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--o-line); border-radius: 12px; background: var(--o-inner); color: var(--o-text); font-size: .92rem; font-weight: 600; text-align: left; }
.orv .gh-custom-filter__toggle:focus, .orv .gh-custom-filter__toggle[aria-expanded="true"] { border-color: rgba(255, 223, 0, .5); box-shadow: 0 0 0 3px rgba(255, 223, 0, .1); }
.orv .gh-custom-filter__menu { width: 100%; min-width: 100%; max-height: 260px; overflow-y: auto; padding: 5px; border: 1px solid rgba(255, 223, 0, .24); border-radius: 12px; background: var(--o-card); box-shadow: 0 16px 34px rgba(0, 0, 0, .48); }
.orv .gh-custom-filter__option { padding: 8px 11px; border-radius: 8px; background: transparent; color: var(--o-text); font-size: .86rem; font-weight: 600; white-space: normal; }
.orv .gh-custom-filter__option:hover, .orv .gh-custom-filter__option:focus, .orv .gh-custom-filter__option.active { background: rgba(255, 223, 0, .14); color: var(--o-yellow); }
.orv .orv-srow .gh-custom-filter { width: 170px; }
.orv .orv-srow .gh-custom-filter__toggle { min-height: 36px; padding: 6px 12px; border-radius: 10px; background: var(--o-card); font-size: .86rem; font-weight: 700; }

/* Staff rows */
.orv-srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; }
.orv-srow__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.orv-srow__who img { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.orv-srow__who h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: .95rem; font-weight: 800; overflow-wrap: anywhere; }
.orv-srow__who p { margin: 0; color: var(--o-dim); font-size: .78rem; }
.orv-srow__ctl { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.orv-srow__ctl form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.orv-srow.is-owner { border-color: rgba(255, 223, 0, .35); background: linear-gradient(90deg, rgba(255, 223, 0, .07), var(--o-inner) 50%); }
.orv-srow__role { display: grid; justify-items: end; gap: 2px; font-weight: 800; }
.orv-srow__role small { color: var(--o-dim); font-size: .76rem; }
.orv-invrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.orv-invrow__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.orv-invrow__who > img, .orv-invrow__who > .orv-fb { flex: none; width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.orv-invrow h3 { margin: 0; font-size: .95rem; font-weight: 800; }
.orv-invrow p { margin: 2px 0 0; color: var(--o-muted); font-size: .8rem; }
.orv-invrow__actions { display: flex; gap: 6px; }
.orv-inline { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.orv-danger { border-color: rgba(255, 70, 85, .3); background: linear-gradient(160deg, rgba(255, 70, 85, .06), var(--o-card) 40%); }
.orv-danger .orv-kicker { color: #ff7480; }
.orv-timeline { position: relative; display: grid; gap: 4px; margin: 0; padding: 0 0 0 22px; list-style: none; }
.orv-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--o-line); }
.orv-timeline li { position: relative; padding: 8px 0; }
.orv-timeline li::before { content: ""; position: absolute; left: -21px; top: 13px; width: 12px; height: 12px; border: 2px solid var(--o-yellow); border-radius: 50%; background: var(--o-card); }
.orv-timeline strong { display: block; font-size: .9rem; font-weight: 700; }
.orv-timeline small { color: var(--o-dim); font-size: .78rem; }

/* Permissions matrix */
.orv-matrix { overflow-x: auto; border: 1px solid var(--o-line); border-radius: 16px; }
.orv-matrix table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; color: var(--o-text); }
.orv-matrix th, .orv-matrix td { padding: 12px 10px; border-bottom: 1px solid var(--o-line); font-size: .86rem; text-align: center; vertical-align: middle; }
.orv-matrix thead th { background: var(--o-card); vertical-align: bottom; }
.orv-matrix thead th strong { display: block; font-size: .9rem; font-weight: 900; }
.orv-matrix thead th small { color: var(--o-dim); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.orv-matrix tbody th { min-width: 210px; padding-left: 16px; color: var(--o-text); font-weight: 700; text-align: left; }
.orv-matrix tbody tr:hover { background: rgba(255, 255, 255, .02); }
.orv-matrix .orv-col-owner { background: rgba(255, 223, 0, .04); color: var(--o-yellow); }
.orv-matrix tfoot td { border-bottom: 0; }
.orv-cb { display: inline-grid; place-items: center; margin: 0; cursor: pointer; }
.orv-cb input { position: absolute; opacity: 0; pointer-events: none; }
.orv-cb i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--o-line); border-radius: 8px; background: var(--o-inner); color: transparent; transition: all .15s ease; }
.orv-cb input:checked + i { border-color: rgba(255, 223, 0, .6); background: var(--o-yellow); color: #111; }
.orv-cb:hover i { border-color: rgba(255, 223, 0, .5); }
.orv-cb input:focus-visible + i { box-shadow: 0 0 0 3px rgba(255, 223, 0, .25); }

/* Affiliations */
.orv-agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.orv-aff { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.orv-aff header { display: flex; align-items: center; gap: 12px; }
.orv-aff header a { display: flex; align-items: center; gap: 12px; min-width: 0; }
.orv-aff header img, .orv-aff header .orv-fb { flex: none; width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.orv-aff header h3 { margin: 0; font-size: 1rem; font-weight: 900; }
.orv-aff header p { margin: 0; color: var(--o-muted); font-size: .82rem; }
.orv-aff header .orv-badge { margin-left: auto; }
.orv-mpick { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.orv-mpick legend { float: none; width: 100%; margin: 0 0 6px; color: var(--o-text); font-size: .86rem; font-weight: 800; }
.orv-mpick label { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 4px 10px 4px 4px; border: 1px solid var(--o-line); border-radius: 10px; background: var(--o-card); color: var(--o-muted); font-size: .8rem; font-weight: 800; cursor: pointer; }
.orv-mpick input { position: absolute; opacity: 0; pointer-events: none; }
.orv-mpick img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.orv-mpick label:has(input:checked) { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv-aff footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--o-line); }
.orv-aff__summary { display: grid; gap: 6px; color: var(--o-muted); font-size: .86rem; }
.orv-aff__summary strong { color: var(--o-text); }

/* Manage rows */
.orv-mrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.orv-mrow > img { flex: none; width: 54px; height: 54px; border-radius: 12px; background: var(--o-card); object-fit: cover; }
.orv-mrow__txt { flex: 1; min-width: 0; }
.orv-mrow strong { display: block; }
.orv-mrow small { color: var(--o-muted); font-size: .8rem; }
.orv-mrow__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.orv-mrow.is-inactive > img, .orv-mrow.is-inactive .orv-mrow__txt { opacity: .55; }
.orv-order { display: grid; place-items: center; flex: none; width: 26px; color: var(--o-dim); font-weight: 900; }
.orv-mrow .orv-medal { width: 46px; height: 46px; font-size: 1.1rem; }
.orv-albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.orv-album { display: flex; flex-direction: column; overflow: hidden; }
.orv-album__cover { position: relative; display: grid; place-items: center; height: 150px; overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 223, 0, .14), transparent 55%), var(--o-card); color: var(--o-dim); font-size: 2rem; }
.orv-album__cover img { width: 100%; height: 100%; object-fit: cover; }
.orv-album__cover span { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 8px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .74rem; font-weight: 800; }
.orv-album__body { display: grid; gap: 10px; padding: 14px; }
.orv-album__body strong { font-size: 1rem; }
.orv-album__body div { display: flex; flex-wrap: wrap; gap: 6px; }

/* Form pages */
.orv-fpage { max-width: 880px; margin: 0 auto; }
.orv-fhead { margin-bottom: 18px; }
.orv-fhead h1 { margin: 8px 0 6px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -.02em; }
.orv-fhead p { margin: 0; color: var(--o-muted); }
.orv-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.orv-pvcard { position: sticky; top: 8px; overflow: hidden; padding: 0; }
.orv-pvcard__banner { height: 110px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 223, 0, .18), transparent 55%), var(--o-inner) center / cover; }
.orv-pvcard__body { padding: 0 16px 16px; }
.orv-pvcard__body > .orv-fb, .orv-pvcard__body > img { width: 66px; height: 66px; margin-top: -33px; border: 3px solid var(--o-card); border-radius: 16px; object-fit: cover; font-size: 1.3rem; }
.orv-pvcard h3 { margin: 10px 0 6px; font-size: 1.15rem; font-weight: 900; overflow-wrap: anywhere; }
.orv-pvcard p { margin: 0 0 10px; color: var(--o-muted); font-size: .86rem; line-height: 1.45; }
.orv-note { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border: 1px solid rgba(88, 166, 255, .3); border-radius: 12px; background: rgba(88, 166, 255, .06); color: var(--o-muted); font-size: .86rem; }
.orv-note i { color: var(--o-blue); }
.orv-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.orv-evidence > span { padding: 12px; border-radius: 12px; background: var(--o-inner); }
.orv-evidence small { display: block; color: var(--o-dim); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.orv-evidence strong, .orv-evidence a { font-weight: 800; overflow-wrap: anywhere; }
.orv-evidence a { color: var(--o-yellow) !important; }
.orv-photo-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.orv-photo-edit > img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; }

/* Motion */
.orv.is-animated .orv-hero h1, .orv.is-animated .orv-dhero h1, .orv.is-animated .orv-ws__head h1, .orv.is-animated .orv-fhead h1 { animation: orv-in-left .8s var(--o-ease) both; }
.orv.is-animated .orv-rise { animation: orv-rise .6s var(--o-ease) both; animation-delay: calc(.05s + var(--i, 0) * 55ms); }
@keyframes orv-in-left { from { opacity: 0; transform: translateX(-40px); } }
@keyframes orv-rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .orv *, .orv *::before, .orv *::after { animation: none !important; transition: none !important; } }

/* Responsive */
@media (max-width: 1100px) {
  .orv-dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orv-layout { grid-template-columns: 1fr; }
  .orv-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orv-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .orv-ws { grid-template-columns: 1fr; }
  .orv-ws__nav { position: static; }
  .orv-ws__id { display: none; }
  .orv .orv-ws__links { display: flex; overflow-x: auto; }
  .orv .orv-ws__links .org-tab { flex: none; }
  .orv-events, .orv-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orv-split { grid-template-columns: 1fr; }
  .orv-pvcard { position: static; }
  .orv-staffgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .orv-dhero { padding: 24px 16px; }
  .orv-dhero__grid { grid-template-columns: 1fr; }
  .orv-toolbar { position: static; flex-wrap: wrap; }
  .orv-search { flex-basis: 100%; }
  .orv-sort { flex: 1; overflow-x: auto; }
  .orv-dgrid, .orv-inbox__list { grid-template-columns: 1fr; }
  .orv-invite { flex-wrap: wrap; }
  .orv-invite__actions { width: 100%; }
  .orv-hero__body { grid-template-columns: 1fr; margin-top: -70px; padding: 0 16px 18px; }
  .orv-hero__actions { justify-content: flex-start; }
  .orv-hero__logo { width: 96px; height: 96px; }
  .orv-hero__banner { height: 200px; }
  .orv-side, .orv-tpreview, .orv-rgrid, .orv-agrid, .orv-albums, .orv-staffgrid, .orv-checklist, .orv-fgrid, .orv-choice, .orv-evidence, .orv-photo-edit { grid-template-columns: 1fr; }
  .orv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orv-featured, .orv-pfeat, .orv-pgrid, .orv-events, .orv-match { grid-template-columns: 1fr; }
  .orv-pfeat__img { min-height: 200px; }
  .orv-match time { text-align: left; }
  .orv-ptiles { grid-template-columns: 1fr; }
  .orv-fsec { grid-template-columns: 1fr; }
  .orv-verify { grid-template-columns: 1fr; justify-items: start; }
  .orv-srow { grid-template-columns: 1fr; }
  .orv-srow__ctl { justify-content: flex-start; }
  .orv-srow__role { justify-items: start; }
  .orv-inline, .orv-reqform { grid-template-columns: 1fr; }
  .orv-reqform > .orv-btn { margin-top: 0; }
  .orv-lineup__head { flex-wrap: wrap; }
  .orv-lineup__managers { margin-left: 0; text-align: left; }
  .orv-avatars { justify-content: flex-start; }
  .orv-mrow { flex-wrap: wrap; }
  .orv-card { padding: 16px; }
}

/* Directory pagination */
.orv .orv-pager-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.orv .orv-pager-list a, .orv .orv-pager-list span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid var(--o-line); border-radius: 10px; background: var(--o-card); color: var(--o-muted); font-weight: 800; }
.orv .orv-pager-list a:hover { border-color: rgba(255, 223, 0, .4); color: var(--o-text); }
.orv .orv-pager-list .is-on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--o-yellow); }
.orv .orv-pager-list .is-off { opacity: .4; }
