/* LIvVE portal navigation/theme v230 - synchronized current navigation */
:root {
    --pink: #ff1f62;
    --pink-dark: #e81654;
    --ink: #111111;
    --muted: #6a6a6a;
    --paper: #ffffff;
    --field: #eeeeef;
    --line: #d5d5d7;
    --shadow: 0 26px 70px rgba(48, 0, 18, .16);
    --theme-page-bg: #ff1f62;
    --theme-page-text: #ffffff;
    --theme-nav-bg: #ffffff;
    --theme-nav-text: #151515;
    --theme-nav-hover: #f3f3f4;
    --theme-accent-text: #ffffff;
    --theme-accent-soft: #fff0f5;
    --theme-accent-soft-strong: #ffdbe6;
    --theme-accent-border: #ff91b2;
    --theme-accent-ink: #8c1136;
    --theme-accent-shadow: rgba(255,31,98,.16);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    background: var(--theme-page-bg);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select { font: inherit; }
.page-shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 26px;
}
.portal-frame {
    border: 6px solid #ffffff;
    border-radius: 18px;
    padding: 10px 10px 12px;
}
.portal-topbar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.hero {
    flex: 0 0 114px;
    text-align: left;
    color: var(--theme-page-text);
    margin: 0 0 0 -1px;
}
.hero-logo {
    position: relative;
    top: 7px;
    display: block;
    width: 114px;
    max-width: 100%;
    height: 94px;
    object-fit: contain;
}
.site-nav-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.site-nav-tagline {
    position: absolute;
    top: 2px;
    left: auto;
    right: 8px;
    margin: 0;
    overflow: hidden;
    color: var(--theme-page-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.site-nav {
    margin-top: 36px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: var(--theme-nav-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.site-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--theme-nav-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}
.site-nav-link:hover,
.site-nav-link:focus-visible {
    border-color: var(--line);
    background: var(--theme-nav-hover);
    color: var(--pink-dark);
    outline: none;
}
.site-nav-link-active,
.site-nav-link-active:hover,
.site-nav-link-active:focus-visible {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--theme-accent-text);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .16);
}

.site-nav-menu {
    position: relative;
    min-width: 0;
}
.site-nav-menu > summary {
    width: 100%;
    height: 100%;
    cursor: pointer;
    list-style: none;
    gap: 7px;
    user-select: none;
}
.site-nav-menu > summary::-webkit-details-marker { display: none; }
.site-nav-menu > summary::marker { content: ""; }
/* v177 - dropdown triggers use the normal nav hover treatment when opened by hover */
.site-nav-menu[open][data-nav-hover="1"] > summary {
    background: var(--theme-nav-hover);
    border-color: var(--line);
    color: var(--pink-dark);
    box-shadow: none;
}
.site-nav-menu[open][data-nav-pinned="1"] > summary,
.site-nav-menu-active > summary,
.site-nav-menu-active[open] > summary {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--theme-accent-text);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .16);
}
.site-nav-chevron {
    display: inline-block;
    font-size: 10px;
    line-height: 1;
    transition: transform .15s ease;
}
.site-nav-menu[open] .site-nav-chevron { transform: rotate(180deg); }
.site-nav-dropdown {
    position: absolute;
    z-index: 50;
    top: calc(100% + 7px);
    left: 0;
    min-width: 220px;
    padding: 7px;
    background: var(--theme-nav-bg);
    border: 1px solid #d9d9dc;
    border-radius: 11px;
    box-shadow: 0 16px 34px rgba(40, 0, 14, .20);
}
.site-nav-dropdown-events { min-width: 236px; }
.site-nav-dropdown-lobbies { min-width: 238px; }
.site-nav-dropdown-label {
    padding: 4px 10px 2px;
    color: #77777b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.2;
}
.site-nav-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}
.site-nav-dropdown a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--theme-nav-text);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav-dropdown a:hover,
.site-nav-dropdown a:focus-visible {
    background: var(--theme-nav-hover);
    border-color: var(--line);
    color: var(--pink-dark);
    outline: none;
}
.site-nav-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    font-size: 17px;
    line-height: 1;
    text-align: center;
}
.site-nav-menu-icon.suit-icon { font-size: 22px; color: var(--theme-nav-text); }
.site-nav-menu-icon.heart-icon { color: var(--pink-dark); }
.site-nav-menu-icon.board-icon { font-size: 20px; }
.site-nav-menu-icon.dice-icon { font-size: 17px; }
.site-nav-dropdown-separator {
    height: 1px;
    margin: 5px 6px;
    background: #dedee1;
}
.hero h1 {
    margin: 0;
    font-family: "Arial Black", "Arial Narrow Bold", Arial, Helvetica, sans-serif;
    font-size: clamp(38px, 5.4vw, 56px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .98;
    text-shadow: 0 2px 0 rgba(125, 0, 37, .12);
}
.hero p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 11px 0 0;
    max-width: 620px;
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 1.7vw, 17px);
    font-weight: 700;
    letter-spacing: .045em;
    line-height: 1.35;
    color: var(--theme-page-text);
}
.hero p::before {
    content: "";
    width: 28px;
    height: 3px;
    flex: 0 0 28px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
}
.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(375px, 1.008fr);
    gap: 12px;
    align-items: stretch;
    margin-top: 24px;
}
.panel {
    background: var(--paper);
    border-radius: 13px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.panel-left { padding: 28px 30px; min-height: 560px; display: flex; flex-direction: column; }
.panel-right { padding: 28px 32px 34px; min-height: 560px; }
.eyebrow { color: var(--pink-dark); font-size: 11px; font-weight: 900; letter-spacing: .22em; }
.panel-heading h2, .member-card h2, .view-panel h2 {
    margin: 4px 0 14px;
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
    font-size: 30px;
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.025em;
    color: #171717;
}
.panel-heading p, .member-card p, .intro { margin: 0 0 24px; color: #3d3d3f; font-size: 13px; line-height: 1.55; }
.featured-visual { width: 100%; max-width: none; margin: 8px 0 0; }
.featured-visual img { display: block; width: 100%; height: auto; border-radius: 10px; }

.featured-carousel-stage {
    position: relative;
    width: 100%;
}
.featured-carousel-slide {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.featured-carousel-slide[hidden] { display: none; }
.featured-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    padding: 8px 0 0;
}
.featured-carousel-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    padding: 0;
    border: 1px solid #a4a4a8;
    border-radius: 50%;
    background: #dedee1;
    cursor: pointer;
}
.featured-carousel-dot.active {
    border-color: #242424;
    background: #242424;
}
.featured-carousel-dot:focus-visible {
    outline: 2px solid var(--pink-dark);
    outline-offset: 3px;
}

.guest-feature-heading { margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 28px; }
.stat-card { background: #f3f3f4; border-radius: 10px; padding: 20px; border: 1px solid #e8e8e9; }
.stat-card strong { display: block; font-size: 34px; line-height: 1; font-weight: 900; }
.stat-card span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.new-members { border-top: 2px solid #111; padding-top: 17px; }
.new-members h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.new-members ul { list-style: none; margin: 0; padding: 0; }
.new-members li { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid #ededee; font-size: 13px; }
.new-members li span { font-weight: 800; }
.new-members time { color: var(--muted); white-space: nowrap; }
.auth-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin: -4px 0 27px;
    padding: 4px;
    border: 1px solid #dedee1;
    border-radius: 10px;
    background: #f1f1f3;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.auth-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 7px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #666;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.auth-tabs a:hover,
.auth-tabs a:focus-visible {
    background: #fff;
    border-color: #d8d8dc;
    color: #111;
    outline: none;
}
.auth-tabs a.active {
    background: var(--pink);
    border-color: var(--pink-dark);
    color: var(--theme-accent-text);
    box-shadow: 0 3px 8px var(--theme-accent-shadow);
}
.auth-tabs a.active:hover,
.auth-tabs a.active:focus-visible {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: #fff;
}
.view-panel { display: none; }
.view-panel.active { display: block; }
form { margin: 0; }
label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 13px; line-height: 1.4; }
label small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="date"], select {
    display: block;
    width: 100%;
    margin-top: 5px;
    min-height: 43px;
    border: 1px solid #bfc0c2;
    border-radius: 5px;
    background: var(--field);
    padding: 10px 11px;
    color: #111;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:focus, select:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 3px var(--theme-accent-shadow); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.three-col { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 10px; }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; margin: 8px 0 16px; }
.check-row input { margin-top: 3px; accent-color: var(--pink); }
.primary-button {
    width: 100%;
    border: 0;
    border-radius: 5px;
    min-height: 45px;
    background: var(--pink);
    color: var(--theme-accent-text);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
}
.primary-button:hover { background: var(--pink-dark); }
.primary-button:active { transform: translateY(1px); }
.form-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; font-size: 12px; }
.form-links a { color: var(--pink-dark); font-weight: 800; text-decoration: none; }
.form-links a:hover { text-decoration: underline; }
.alert { border-radius: 7px; padding: 11px 12px; margin-bottom: 17px; font-size: 13px; }
.alert.success { background: #eaf8ef; border: 1px solid #a8dbb9; color: #1f6d3c; }
.alert.error { background: #fff1f3; border: 1px solid #efb5c0; color: #8e1530; }
.alert ul { margin: 6px 0 0 18px; padding: 0; }
.alert code { font-family: Consolas, monospace; }
/* v62: tightly fitted signed-in sidebar. */
body[data-authenticated="1"] .account-grid {
    grid-template-columns: 203px minmax(420px, 1fr);
    align-items: start;
}
body[data-authenticated="1"] .panel-left {
    width: 203px;
    min-height: 0;
    padding: 0;
    align-self: start;
    justify-self: start;
}
.member-sidebar {
    width: 203px;
    max-width: 100%;
    align-self: flex-start;
    margin: 0;
}
.member-card {
    width: 100%;
    margin: 0 0 10px;
    padding: 13px 15px 14px;
    border: 1px solid #e0e0e3;
    border-left: 0;
    border-radius: 0;
    background: #f8f8f9;
    box-shadow: 0 2px 8px rgba(0,0,0,.045);
    text-align: center;
}
.member-card .avatar {
    width: 82px;
    height: 82px;
    margin: 0;
    border-radius: 10px;
}
.member-portrait-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto 9px;
}
.member-plus-portrait-badge {
    position: absolute;
    top: 5px; 
	right: 45px; 
	bottom: -0px; 
	width: 32px; 
	height: 12;
    max-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    pointer-events: none;
    z-index: 3;
}
.member-card .member-name {
    display: block;
    color: #29292c;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 4px 0;
    border: 1px solid #e0e0e3;
    border-left: 0;
    border-radius: 0;
    background: #f8f8f9;
    box-shadow: 0 2px 8px rgba(0,0,0,.045);
    overflow: hidden;
}
.account-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 15px 7px 8px;
    border: 0;
    border-bottom: 1px solid #ececee;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(232,22,84,.045) 0%, rgba(232,22,84,.018) 56%, rgba(232,22,84,0) 100%);
    color: #5b5b5e;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.account-nav a:hover,
.account-nav a:focus-visible {
    background: linear-gradient(90deg, rgba(232,22,84,.12) 0%, rgba(232,22,84,.05) 58%, rgba(232,22,84,0) 100%);
    color: #111;
    outline: none;
}
.account-nav a.active {
    background: linear-gradient(90deg, rgba(232,22,84,.045) 0%, rgba(232,22,84,.018) 56%, rgba(232,22,84,0) 100%);
    color: #5b5b5e;
    font-weight: 800;
}
.account-nav a.active:hover,
.account-nav a.active:focus-visible {
    background: linear-gradient(90deg, rgba(232,22,84,.12) 0%, rgba(232,22,84,.05) 58%, rgba(232,22,84,0) 100%);
    color: #111;
}
.account-nav-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    box-sizing: content-box;
    margin-right: 5px;
    padding-right: 5px;
    border-right: 2px solid transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: .82;
    transition: border-color .15s ease, opacity .15s ease;
}
.account-nav a:hover .account-nav-icon,
.account-nav a:focus-visible .account-nav-icon { border-right-color: #c7c7ca; }
.account-nav a.active .account-nav-icon {
    border-right-color: transparent;
    opacity: .82;
}
.account-nav a.active:hover .account-nav-icon,
.account-nav a.active:focus-visible .account-nav-icon {
    border-right-color: #c7c7ca;
    opacity: .82;
}
.logout-form { margin: 0; padding: 0; }
.sidebar-logout { width: 100%; }
.sidebar-logout-button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 34px;
    padding: 7px 15px 7px 8px;
    border: 0;
    background: linear-gradient(90deg, rgba(95,95,100,.06) 0%, rgba(95,95,100,.02) 58%, rgba(95,95,100,0) 100%);
    color: #66666a;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.sidebar-logout-button .account-nav-icon {
    border-right-color: #d1d1d4;
}
.sidebar-logout-button:hover,
.sidebar-logout-button:focus-visible {
    background: linear-gradient(90deg, rgba(232,22,84,.14) 0%, rgba(232,22,84,.055) 58%, rgba(232,22,84,0) 100%);
    color: var(--pink-dark);
    outline: none;
}
.sidebar-logout-button:hover .account-nav-icon,
.sidebar-logout-button:focus-visible .account-nav-icon {
    border-right-color: var(--pink);
    opacity: 1;
}
/* v66: grouped member navigation, hover-only selection, and refined volunteer submenu. */
.nav-section-title {
    display: flex;
    align-items: center;
    min-height: 31px;
    padding: 7px 10px;
    border-bottom: 1px solid #dedee1;
    background: linear-gradient(90deg, rgba(232,22,84,.19) 0%, rgba(232,22,84,.075) 62%, rgba(232,22,84,.012) 100%);
    color: #353538;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.1;
    text-transform: uppercase;
    user-select: none;
    cursor: default;
}
.nav-submenu-group {
    width: 100%;
    margin: 5px 0 6px;
    box-sizing: border-box;
    border: 1px solid #e1e1e4;
    background: #fbfbfc;
}
.nav-submenu-title {
    display: flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 8px;
    border-bottom: 1px solid #e5e5e7;
    background: linear-gradient(90deg, rgba(232,22,84,.075) 0%, rgba(232,22,84,.028) 66%, rgba(232,22,84,0) 100%);
    color: #505054;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.15;
    user-select: none;
    cursor: default;
}
.nav-submenu-parent-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    box-sizing: content-box;
    margin-right: 5px;
    padding-right: 5px;
    border-right: 2px solid #d3d3d6;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: .8;
}
.nav-submenu-chevron {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    margin-left: auto;
    stroke: #8a8a8e;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.nav-submenu {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2px 0 3px;
    background: #fcfcfd;
}
.account-nav .nav-submenu a {
    z-index: 1;
    min-height: 29px;
    margin-left: 0;
    padding: 6px 8px 6px 8px;
    border-bottom: 0;
    background: transparent;
    font-size: 10.5px;
}
.account-nav .nav-submenu a .account-nav-icon {
    width: 12px;
    height: 12px;
    flex-basis: 12px;
    margin-right: 4px;
    padding-right: 4px;
}
.account-nav .nav-submenu a:hover,
.account-nav .nav-submenu a:focus-visible,
.account-nav .nav-submenu a.active:hover,
.account-nav .nav-submenu a.active:focus-visible {
    background: linear-gradient(90deg, rgba(232,22,84,.105) 0%, rgba(232,22,84,.04) 58%, rgba(232,22,84,0) 100%);
    color: #111;
}
.account-nav .nav-submenu a.active {
    background: transparent;
    color: #5b5b5e;
    font-weight: 800;
}
.account-nav .nav-submenu a.active .account-nav-icon {
    border-right-color: transparent;
    opacity: .82;
}
.account-nav .nav-submenu a:hover .account-nav-icon,
.account-nav .nav-submenu a:focus-visible .account-nav-icon,
.account-nav .nav-submenu a.active:hover .account-nav-icon,
.account-nav .nav-submenu a.active:focus-visible .account-nav-icon {
    border-right-color: #c7c7ca;
}
.portal-card-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.portal-content-card {
    border: 1px solid #dedee1;
    border-radius: 8px;
    background: #fafafa;
    padding: 15px 16px;
}
.portal-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #77777b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.portal-card-meta span { color: var(--pink-dark); }
.portal-content-card h3 {
    margin: 0 0 8px;
    color: #202023;
    font-size: 16px;
    line-height: 1.25;
}
.portal-content-card h4 {
    margin: 15px 0 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.portal-summary {
    margin: 0 0 10px;
    color: #4d4d51;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}
.portal-copy {
    color: #333337;
    font-size: 13px;
    line-height: 1.6;
}
.portal-static-copy {
    margin-top: 12px;
    padding: 16px;
    border-top: 2px solid #111;
    background: #fafafa;
}
.portal-contact {
    margin: 14px 0 0;
    font-size: 12px;
}
.portal-footnote {
    margin: 15px 0 0;
    color: #77777b;
    font-size: 10.5px;
    line-height: 1.45;
}
.portal-footnote code { font-family: Consolas, monospace; }
.volunteer-feature-card {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 20px;
    margin-top: 12px;
    padding-top: 17px;
    border-top: 2px solid #111;
}
.volunteer-feature-person {
    text-align: center;
}
.volunteer-feature-person img,
.volunteer-feature-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    margin: 0 auto 9px;
    border: 1px solid #dedee1;
    border-radius: 8px;
    background: #f5f5f6;
    object-fit: cover;
}
.volunteer-feature-placeholder {
    color: var(--pink-dark);
    font-size: 36px;
    font-weight: 900;
}
.volunteer-feature-person strong,
.volunteer-feature-person span { display: block; }
.volunteer-feature-person strong { font-size: 13px; }
.volunteer-feature-person span { margin-top: 3px; color: #77777b; font-size: 10px; }
.volunteer-interview {
    color: #333337;
    font-size: 13px;
    line-height: 1.65;
}
.volunteer-test-form { margin-top: 18px; }
.volunteer-test-question {
    margin-bottom: 14px;
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.volunteer-test-question h3 {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
}
.volunteer-roster-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}
.volunteer-roster-card {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e0e0e2;
    border-radius: 7px;
    background: #f8f8f9;
}
.volunteer-roster-person {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.volunteer-roster-person > div { min-width: 0; }
.volunteer-roster-card strong,
.volunteer-roster-card span { display: block; overflow-wrap: anywhere; }
.volunteer-roster-card strong { color: #222225; font-size: 12px; }
.volunteer-roster-card span { margin-top: 2px; color: #77777b; font-size: 10px; }
.volunteer-roster-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    margin-top: 9px;
}
.volunteer-roster-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid #d5b5c5;
    border-radius: 4px;
    background: #fff;
    color: #8d315f;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}
.volunteer-roster-action:hover,
.volunteer-roster-action:focus-visible {
    border-color: #bd5a8d;
    background: #fff0f6;
    color: #751f4d;
}
.volunteer-roster-nominate { min-width: 0; }
.volunteer-nominee-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 11px 12px;
    border: 1px solid #e0e0e2;
    border-radius: 6px;
    background: #f8f8f9;
}
.volunteer-nominee-summary > div { min-width: 0; }
.volunteer-nominee-summary span,
.volunteer-nominee-summary strong,
.volunteer-nominee-summary small { display: block; }
.volunteer-nominee-summary span { color: #77777b; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.volunteer-nominee-summary strong { margin-top: 2px; color: #222225; font-size: 13px; }
.volunteer-nominee-summary small { margin-top: 2px; color: #77777b; font-size: 10px; }
.volunteer-nomination-form textarea { width: 100%; resize: vertical; }
@media (max-width: 560px) {
    .volunteer-feature-card { grid-template-columns: 1fr; }
    .volunteer-roster-grid { grid-template-columns: 1fr; }
    .volunteer-roster-actions { grid-template-columns: 1fr; }
    .portal-card-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
}

.detail-list { border-top: 2px solid #111; }
.detail-list div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e8e8e9; }
.detail-list span { color: var(--muted); font-size: 12px; }
.detail-list strong { text-align: right; font-size: 13px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 13px; }
.section-status { margin: 16px 0 0; }
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: calc(100% + 20px);
    margin: 22px -10px -12px;
    padding: 9px 20px 11px;
    color: #4f4f53;
    font-size: 11px;
    background: #ffffff;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
.site-footer-copy {
    flex: 0 1 auto;
    text-align: left;
    white-space: nowrap;
}
.site-footer-links {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}
.site-footer-links a,
.site-footer .cookie-settings-link {
    color: #4f4f53;
    text-decoration: none;
}
.site-footer-links a:hover,
.site-footer-links a:focus-visible,
.site-footer .cookie-settings-link:hover,
.site-footer .cookie-settings-link:focus {
    color: var(--pink-dark);
    outline: none;
}
.site-footer-separator {
    color: #b5b5b8;
}

/* v237: the Cookie Policy uses the shared footer without a portal-frame wrapper. */
.cookie-policy-page > .site-footer {
    width: 100%;
    margin: 22px 0 0;
}
@media (max-width: 960px) {
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
    .site-footer-copy,
    .site-footer-links {
        width: 100%;
        white-space: normal;
    }
    .site-footer-links {
        justify-content: flex-start;
        margin-left: 0;
        text-align: left;
        flex-wrap: wrap;
    }
}
@media (max-width: 850px) {
    .page-shell { width: min(680px, calc(100% - 24px)); padding-top: 30px; }
    .account-grid { grid-template-columns: 1fr; }
    .panel-left, .panel-right { min-height: 0; }
    .panel-left { padding: 24px; }
    .panel-right { padding: 24px; }
    body[data-authenticated="1"] .account-grid { grid-template-columns: 1fr; }
    body[data-authenticated="1"] .panel-left {
        width: 203px;
        padding: 0;
    }
    .member-sidebar {
        width: 203px;
        max-width: 100%;
        margin: 0;
    }
}
@media (max-width: 560px) {
    .hero h1 { font-size: clamp(36px, 11vw, 48px); }
    .hero p { gap: 8px; font-size: 14px; letter-spacing: .025em; }
    .hero p::before { width: 20px; flex-basis: 20px; }
    .two-col, .three-col, .stat-grid { grid-template-columns: 1fr; }
    .auth-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .auth-tabs a { min-height: 40px; }
    .form-links { flex-direction: column; }
}

/* v4 account modules */
textarea,
input[type="number"] {
    display: block;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #bfc0c2;
    border-radius: 5px;
    background: var(--field);
    padding: 10px 11px;
    color: #111;
    outline: none;
    font: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
textarea:focus,
input[type="number"]:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 3px var(--theme-accent-shadow); }
textarea { resize: vertical; line-height: 1.45; }
.form-section { margin: 22px 0; padding-top: 18px; border-top: 2px solid #111; }
.form-section:first-of-type { margin-top: 6px; }
.form-section.compact { margin-top: 20px; }
.form-section h3,
.subheading {
    margin: 0 0 12px;
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
    line-height: 1.3;
}
.section-copy { margin: -2px 0 15px; color: var(--muted); font-size: 12px; }
.terms-box { min-height: 170px; max-height: 260px; background: #f7f7f8; font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-card,
.check-card { border: 1px solid #dedee0; border-radius: 8px; background: #f7f7f8; padding: 12px; cursor: pointer; }
.choice-card { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.choice-card input,
.check-card input { accent-color: var(--pink); margin-top: 3px; }
.choice-card strong,
.choice-card small { display: block; }
.choice-card small { margin-top: 3px; color: var(--muted); font-weight: 400; }
/* v64: themed Interests e-mail preference checkboxes. */
.interest-preferences {
    display: grid;
    gap: 9px;
    margin: 2px 0 20px;
}
.interest-preference {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #dedee0;
    border-radius: 7px;
    background: linear-gradient(90deg, #fff7fa 0%, #f7f7f8 72%);
    color: #222;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.interest-preference:hover {
    border-color: #cfcfd2;
    background: #fff;
}
.interest-preference:focus-within {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--theme-accent-shadow);
}
.interest-preference input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--pink);
    cursor: pointer;
}
.interest-preference span {
    min-width: 0;
}
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.check-card { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-weight: 600; font-size: 12px; }
.secondary-button {
    border: 1px solid #c9c9cc;
    border-radius: 5px;
    min-height: 43px;
    padding: 9px 14px;
    background: #fff;
    color: #111;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
}
.secondary-button:hover { border-color: var(--pink); color: var(--pink-dark); }
.primary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
    margin-top: 18px;
    border-radius: 5px;
    background: var(--pink);
    color: var(--theme-accent-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center;
}
.primary-link:hover { background: var(--pink-dark); }
.avatar-image { object-fit: cover; background: #f2f2f3; border: 1px solid #e2e2e4; }
.portrait-current { display: flex; gap: 16px; align-items: center; padding: 14px; margin: 0 0 18px; border: 1px solid #e3e3e5; border-radius: 10px; background: #f7f7f8; }
.portrait-current-image-wrap { position: relative; flex: 0 0 96px; width: 96px; height: 96px; }
.portrait-current .portrait-current-image { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 8px; background: #fff; }
.portrait-current .portrait-current-plus-badge { top: 5px; right: 58px; bottom: -0px; width: 32px; height: 12; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
.portrait-current strong,
.portrait-current small { display: block; }
.portrait-current strong { margin-top: 4px; }
.portrait-current small { margin-top: 5px; color: var(--muted); }
.gallery-picker { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-bottom: 18px; }
.gallery-picker label { margin-bottom: 0; }
.portrait-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; max-height: 550px; overflow: auto; padding-right: 4px; }
.portrait-choice button { width: 100%; border: 1px solid #dedee0; border-radius: 8px; background: #f7f7f8; padding: 7px; cursor: pointer; }
.portrait-choice button:hover { border-color: var(--pink); background: #fff; }
.portrait-choice img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 5px; background: #fff; }
.portrait-choice span { display: block; margin-top: 6px; font-size: 10px; font-weight: 800; }
.table-scroll { overflow-x: auto; margin-top: 18px; }
.audit-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.audit-table th { text-align: left; border-bottom: 2px solid #111; padding: 9px 8px; }
.audit-table td { border-bottom: 1px solid #e5e5e7; padding: 9px 8px; vertical-align: top; }
.subscription-list { display: grid; gap: 9px; }
.subscription-card,
.empty-card { border: 1px solid #e0e0e2; border-radius: 8px; padding: 14px; background: #f7f7f8; }
.subscription-card strong,
.subscription-card span,
.empty-card strong,
.empty-card span { display: block; }
.subscription-card span,
.empty-card span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.download-link { margin: 6px 0 20px; }
.download-steps { border-top: 2px solid #111; padding-top: 12px; }
.download-steps p { margin: 9px 0; font-size: 13px; }
.panel-right { min-height: 690px; }
@media (max-width: 560px) {
    .choice-grid, .interest-grid, .gallery-picker { grid-template-columns: 1fr; }
    .portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* v61 signed-in member/sidebar styling is defined above. */
.user-icon-detail {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}
.user-icon-detail > span { color: #111; font-size: 13px; }
.user-icon-sprite {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background-image: url("user-icons.png");
    background-repeat: no-repeat;
    background-size: 384px 16px;
    image-rendering: pixelated;
}
.current-plan-card {
    margin: 0 0 20px;
    padding: 15px 16px;
    border: 1px solid #dedee0;
    border-radius: 9px;
    background: #f7f7f8;
}
.current-plan-card strong {
    display: block;
    margin-top: 5px;
    font-size: 18px;
}
.upgrade-subheading { margin-top: 22px; }
.upgrade-option-list { display: grid; gap: 11px; }
.upgrade-option-card {
    border: 1px solid #dedee0;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}
.upgrade-option-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: baseline;
    padding: 12px 14px;
    background: #f7f7f8;
    border-bottom: 1px solid #e7e7e8;
}
.upgrade-option-head strong { font-size: 13px; }
.upgrade-option-head span { color: var(--pink-dark); font-size: 11px; font-weight: 900; text-align: right; }
.upgrade-price-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 34px;
    padding: 8px 13px;
    border: 0;
    border-radius: 6px;
    background: var(--pink);
    color: var(--theme-accent-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
.upgrade-price-button:hover,
.upgrade-price-button:focus-visible { background: var(--pink-dark); color: #fff; }
.upgrade-option-card ul { margin: 11px 14px 13px 31px; padding: 0; color: #444; font-size: 12px; }
.upgrade-option-card li { margin: 4px 0; }
@media (max-width: 560px) {
    .upgrade-option-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .upgrade-option-head span { text-align: left; }
    .upgrade-price-button { align-self: flex-start; }
}

/* v21: keep Account Details subscriptions anchored at the bottom of the right panel. */
.panel-right { display: flex; flex-direction: column; }
.view-panel[data-panel="account"].active {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
}
.account-subscriptions { margin-top: auto; padding-top: 24px; }
.account-subscriptions .upgrade-subheading { margin: 0 0 10px; }


/* v26: split polished Free vs Plus feature guide. */
.plus-benefits { margin-top: 24px; }
.plus-benefits-intro-card {
    padding: 18px;
    border: 1px solid #dedee0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}
.plus-benefits-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.plus-benefits .upgrade-subheading { margin: 0; }
.plus-benefits-copy {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.plus-benefits-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}
.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #e3e3e6;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    color: #333;
    white-space: nowrap;
}
.plus-benefits-table-wrap {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #dedee0;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.plus-benefits-table {
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 12px;
}
.plus-benefits-table th,
.plus-benefits-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #ececef;
    vertical-align: middle;
}
.plus-benefits-table thead th {
    background: #f4f4f6;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}
.plus-benefits-table thead th:first-child {
    width: 56%;
    text-align: left;
    border-top-left-radius: 11px;
}
.plus-benefits-table thead th:last-child { border-top-right-radius: 11px; }
.plus-benefits-table thead th:nth-child(2),
.plus-benefits-table thead th:nth-child(3) { width: 22%; }
.plus-benefits-table tbody tr:nth-child(even):not(.benefit-group) th,
.plus-benefits-table tbody tr:nth-child(even):not(.benefit-group) td {
    background: #fcfcfd;
}
.plus-benefits-table tbody th {
    text-align: left;
    color: #222;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
}
.plus-benefits-table tbody td { text-align: center; }
.plus-benefits-table tbody tr:last-child th,
.plus-benefits-table tbody tr:last-child td { border-bottom: 0; }
.benefit-group th {
    padding: 8px 12px;
    background: #fff3f6;
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-top: 1px solid #f0d6df;
    border-bottom: 1px solid #f0d6df;
}
.plan-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 900;
}
.free-plan { background: #fff0f1; color: #9b1e27; }
.plus-plan { background: #fff8d8; color: #8b6500; }
.plan-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 1000;
    line-height: 1;
}
.free-check {
    color: #fff;
    background: #ca2c34;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
}
.plus-check {
    color: #5a4300;
    background: #f1c93a;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.12);
}
.plan-empty {
    color: #b7b7bb;
    font-size: 16px;
    font-weight: 700;
}
.plus-benefits-note {
    margin: 10px 2px 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}
@media (max-width: 680px) {
    .plus-benefits-head {
        flex-direction: column;
        align-items: stretch;
    }
    .plus-benefits-legend { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .plus-benefits-intro-card { padding: 14px; }
    .plus-benefits-table { min-width: 0; font-size: 11px; }
    .plus-benefits-table th, .plus-benefits-table td { padding: 8px 6px; }
    .plus-benefits-table thead th:first-child { width: 54%; }
    .plus-benefits-table thead th:nth-child(2),
    .plus-benefits-table thead th:nth-child(3) { width: 23%; }
    .plan-heading { min-width: 0; padding: 4px 7px; }
    .plan-check { width: 22px; height: 22px; font-size: 14px; }
}
@media (max-width: 420px) {
    .plus-benefits-table { font-size: 10px; }
    .plus-benefits-table th, .plus-benefits-table td { padding: 7px 4px; }
    .benefit-group th { padding: 7px 6px; font-size: 10px; }
    .plan-heading { padding: 3px 5px; font-size: 10px; }
    .plan-check { width: 20px; height: 20px; font-size: 13px; }
}

/* v47: typography cleanup. */
@media (max-width: 560px) {
    .panel-heading h2, .member-card h2, .view-panel h2 {
        font-size: 27px;
        letter-spacing: -.02em;
    }
}


/* v49: button-driven front-page community information. */
.community-info {
    margin-top: 2px;
}
.community-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid #dedee1;
    border-radius: 11px;
    background: #f1f1f3;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.community-tabs button {
    min-height: 34px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: transparent;
    color: #666;
    padding: 6px 8px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.community-tabs button:hover,
.community-tabs button:focus-visible {
    background: #fff;
    border-color: #d8d8dc;
    color: #111;
    outline: none;
}
.community-tabs button.active {
    background: var(--pink);
    border-color: var(--pink-dark);
    color: var(--theme-accent-text);
    box-shadow: 0 3px 8px var(--theme-accent-shadow);
}
.community-tabs button.active:hover,
.community-tabs button.active:focus-visible {
    background: var(--pink-dark);
    border-color: var(--pink-dark);
    color: #fff;
}
.community-panels {
    margin-top: 10px;
}
.community-panel {
    min-height: 218px;
    padding: 17px 18px;
    border: 1px solid #e3e3e5;
    border-radius: 10px;
    background: #fafafb;
}
.community-panel[hidden] { display: none !important; }
.community-panel h3 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #202022;
}
.newest-member-list { list-style: none; margin: 0; padding: 0; }
.newest-member-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8ea;
    font-size: 12px;
}
.newest-member-list li:last-child { border-bottom: 0; }
.newest-member-list span { font-weight: 800; }
.newest-member-list time { color: var(--muted); white-space: nowrap; }
.member-quotes { display: grid; gap: 11px; }
.member-quote {
    margin: 0;
    padding: 12px 13px;
    border: 1px solid #e6e6e8;
    border-left: 3px solid var(--pink);
    border-radius: 7px;
    background: #fff;
}
.member-quote blockquote {
    margin: 0;
    color: #353537;
    font-size: 12px;
    line-height: 1.55;
    font-style: italic;
}
.member-quote figcaption {
    margin-top: 7px;
    color: #555;
    font-size: 11px;
}
.member-quote figcaption strong { color: #222; }
.member-quote-plus {
    display: inline-block;
    margin-left: 3px;
    color: var(--pink-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
}
.member-quote-location {
    display: block;
    margin: 2px 0 0 14px;
    color: var(--muted);
}
.member-quotes-empty {
    margin: 8px 0;
    color: var(--muted);
    font-size: 12px;
}
.community-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.community-feature-list li {
    position: relative;
    padding: 6px 0 6px 18px;
    border-bottom: 1px solid #ededee;
    color: #353537;
    font-size: 12px;
    line-height: 1.4;
}
.community-feature-list li:last-child { border-bottom: 0; }
.community-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--pink-dark);
    font-weight: 900;
}
.requirements-note {
    margin: 13px 0 0;
    padding: 11px 12px;
    border-radius: 7px;
    background: #fff;
    color: #555;
    font-size: 11px;
    line-height: 1.5;
}
.requirements-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.requirements-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid var(--pink-dark);
    border-radius: 7px;
    background: var(--pink);
    color: var(--theme-accent-text);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}
.requirements-links a:hover,
.requirements-links a:focus-visible { background: var(--pink-dark); outline: none; }
@media (max-width: 560px) {
    .community-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; }
    .community-tabs button { min-height: 32px; padding: 5px 4px; font-size: 9.5px; }
    .community-panel { min-height: 0; }
    .requirements-links { grid-template-columns: 1fr; }
}

/* v50: consolidated front-page information and software requirements. */
.community-subheading {
    margin: 18px 0 8px;
    padding-top: 14px;
    border-top: 1px solid #e5e5e8;
    font-size: 13px;
    font-weight: 800;
    color: #222;
}
.software-requirements {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e8;
}
.software-requirements .subheading { margin: 0 0 10px; }


/* v68: collapsible grouped sidebar, integrated volunteer submenu, +25px width. */
.nav-section-title {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #dedee1;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.nav-section-title:hover,
.nav-section-title:focus-visible {
    background: linear-gradient(90deg, rgba(232,22,84,.27) 0%, rgba(232,22,84,.105) 62%, rgba(232,22,84,.018) 100%);
    color: #161618;
    outline: none;
}
.nav-section-title > span { min-width: 0; }
.nav-section-chevron {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    margin-left: auto;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: .72;
    transform: rotate(-90deg);
    transition: transform .15s ease, opacity .15s ease;
}
.nav-section-title[aria-expanded="true"] .nav-section-chevron {
    transform: rotate(0deg);
    opacity: .9;
}
.nav-section-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.nav-section-body[hidden] { display: none !important; }
.nav-submenu-group {
    margin: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #ececee;
    background: transparent;
}
.nav-submenu-title {
    min-height: 34px;
    padding: 7px 15px 7px 8px;
    border-bottom: 1px solid #ececee;
    background: linear-gradient(90deg, rgba(232,22,84,.045) 0%, rgba(232,22,84,.018) 56%, rgba(232,22,84,0) 100%);
    color: #5b5b5e;
    font-size: 11px;
    font-weight: 800;
}
.nav-submenu {
    padding: 0;
    background: #fcfcfd;
}
.account-nav .nav-submenu a {
    min-height: 30px;
    padding-top: 6px;
    padding-bottom: 6px;
}


/* v69: remove the rule/blank strip above Account Management. */
.account-nav {
    padding-top: 0;
    border-top: 0;
}

/* v69: historical volunteer form/content treatment. */
.compliment-intro,
.volunteer-test-intro {
    margin: 0 0 17px;
}
.volunteer-compliment-form textarea {
    min-height: 76px;
}
.volunteer-test-form {
    display: grid;
    gap: 0;
}
.volunteer-test-question {
    margin: 0;
    padding: 11px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.volunteer-test-question label {
    margin: 0;
    color: #303034;
    font-size: 12px;
    line-height: 1.45;
}
.volunteer-test-question label strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
}
.volunteer-test-question input {
    margin-top: 0;
}
.volunteer-question-label {
    display: block;
    margin: 0 0 6px;
}
.volunteer-name-builder {
    display: flex;
    align-items: stretch;
    gap: 6px;
    max-width: 390px;
}
.volunteer-name-builder select {
    flex: 0 0 92px;
    width: 92px;
    margin: 0;
}
.volunteer-name-builder input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}
.volunteer-test-thanks {
    max-width: 680px;
    margin: 0 auto;
}
.volunteer-test-thanks h2 {
    margin-bottom: 20px;
}
.volunteer-test-thanks p {
    margin: 0 0 16px;
    line-height: 1.65;
}
.volunteer-test-thanks .submission-reference {
    margin-top: 22px;
    padding-top: 12px;
    color: #77777b;
    font-size: 11px;
}
.volunteer-application-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 20px;
    padding: 10px 12px;
    border: 1px solid #d7bfd0;
    background: #fff8fb;
}
.volunteer-application-status span {
    color: #5f4d58;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.volunteer-application-status strong {
    font-size: 13px;
}
.volunteer-application-status-pending strong {
    color: #8a6419;
}
.volunteer-application-status-approved strong {
    color: #2f7541;
}
.volunteer-application-status-unapproved strong {
    color: #9b3348;
}
.volunteer-test-thanks .volunteer-application-status-note {
    margin-top: 4px;
    padding: 10px 12px;
    border-left: 3px solid #d6afc3;
    background: #fff9fc;
    color: #564850;
    font-size: 11.5px;
}

/* v70: seamless member header/menu join and themed Volunteer source pages. */
.member-card {
    margin-bottom: 0;
    border-bottom: 0;
}
.account-nav {
    margin-top: 0;
    border-top: 0;
}
.volunteer-requirements-thanks {
    max-width: 720px;
    margin: 0 auto 12px;
    padding: 13px 15px;
    border: 1px solid #e3c3d5;
    background: #fff7fb;
}
.volunteer-requirements-thanks p {
    margin: 0 0 12px;
    line-height: 1.6;
}
.volunteer-requirements-thanks p:last-child {
    margin-bottom: 0;
}
.volunteer-requirements-copy {
    max-width: 720px;
    margin: 0 auto;
}
.volunteer-requirements-copy p {
    margin: 0 0 14px;
    line-height: 1.6;
}
.volunteer-requirements-list {
    margin: 16px 0;
    padding: 0;
    list-style: none;
    border: 1px solid #e3e3e6;
    background: #fcfcfd;
}
.volunteer-requirements-list li {
    position: relative;
    margin: 0;
    padding: 9px 12px 9px 30px;
    border-bottom: 1px solid #ececef;
    line-height: 1.45;
}
.volunteer-requirements-list li:last-child { border-bottom: 0; }
.volunteer-requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 11px;
    top: 9px;
    color: var(--pink-dark);
    font-weight: 900;
}
.volunteer-mandatory-note {
    color: #6f6f74;
    font-size: 11px;
    font-weight: 800;
}
.volunteer-test-actions,
.volunteer-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.volunteer-test-actions .primary-button,
.volunteer-test-actions .secondary-button,
.volunteer-form-actions .primary-button,
.volunteer-form-actions .secondary-button {
    width: auto;
    margin-top: 0;
}
.volunteer-form-actions a.secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.volunteer-test-question > label input {
    width: 100%;
}
@media (max-width: 430px) {
    .volunteer-name-builder {
        max-width: none;
    }
    .volunteer-name-builder select {
        flex-basis: 88px;
        width: 88px;
    }
}
@media (max-width: 560px) {
    .volunteer-test-actions .primary-button,
    .volunteer-test-actions .secondary-button,
    .volunteer-form-actions .primary-button,
    .volunteer-form-actions .secondary-button {
        width: 100%;
    }
}

/* v75: keep the requirements outline separate from the mandatory/follow-up copy. */
.volunteer-requirements-copy {
    border-top: 2px solid #111;
}
.volunteer-requirements-after {
    max-width: 720px;
    margin: 12px auto 0;
}
.volunteer-requirements-after p {
    margin: 0 0 14px;
    line-height: 1.6;
}
/* v76: match the two Volunteer Requirements sections and tighten the checklist box. */
.volunteer-requirements-thanks {
    border-top: 2px solid #111;
}
.volunteer-requirements-copy {
    padding-bottom: 0;
}
.volunteer-requirements-copy p {
    margin-bottom: 10px;
}
.volunteer-requirements-copy .volunteer-requirements-list {
    margin-top: 10px;
    margin-bottom: 0;
}

/* v77: restore a modest amount of breathing room below the Requirements checklist. */
.volunteer-requirements-copy {
    padding-bottom: 8px;
}

/* v78: remove the enclosing box from the Volunteer Requirements checklist block. */
.volunteer-requirements-copy {
    margin-top: 12px;
    padding: 0 0 8px;
    border: 0;
    background: transparent;
}
.volunteer-requirements-copy .volunteer-requirements-list {
    border: 0;
    background: transparent;
}


/* v79: remove separators between Volunteer Requirements list items. */
.volunteer-requirements-list li {
    border-bottom: 0;
}


/* v81: inline no-star Volunteer designation icon. */
.volunteer-designation-copy .volunteer-inline-icon {
    margin: 0 4px;
    vertical-align: -3px;
}


/* v80: closing Volunteer Central call-to-action. */
.volunteer-requirements-after .volunteer-wanna-cta {
    margin-top: 18px;
    margin-bottom: 0;
}

/* v83: Safety Tips use paired headline/content boxes for faster scanning. */
.volunteer-safety-copy {
    max-width: 720px;
    margin: 0 auto;
}
.volunteer-safety-subtitle {
    margin: 0 0 18px;
    text-align: center;
    color: #6b6b70;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
}
.volunteer-safety-tip {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}
.volunteer-safety-tip h3 {
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #e0b8cb;
    background: linear-gradient(90deg, #f8d8e7 0%, #fdebf3 58%, #fff 100%);
    color: #303034;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}
.volunteer-safety-tip-body {
    padding: 9px 10px 10px;
    border: 1px solid #e4d8de;
    border-top: 0;
    background: #fff;
}
.volunteer-safety-tip-body p {
    margin: 0 0 7px;
    line-height: 1.6;
}
.volunteer-safety-tip-body p:last-child {
    margin-bottom: 0;
}


/* v85: split the Volunteer Roster into permission/rank groups. */
.volunteer-roster-groups {
    max-width: 760px;
    margin: 18px auto 0;
}
.volunteer-rank-section {
    margin: 0 0 18px;
}
.volunteer-rank-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #d9b8c9;
    background: linear-gradient(90deg, #f7dce9 0%, #fff 100%);
    color: #6f214c;
    font-size: 12px;
    line-height: 1.25;
}
.volunteer-rank-heading span {
    min-width: 20px;
    padding: 1px 6px;
    border: 1px solid #dfc2d1;
    border-radius: 10px;
    background: #fff;
    color: #7a5367;
    font-size: 9px;
    text-align: center;
}
.volunteer-rank-description {
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #ead6e0;
    border-top: 0;
    background: #fffafb;
    color: #57525a;
    font-size: 11px;
    line-height: 1.5;
}
.volunteer-rank-section .volunteer-roster-grid {
    margin-top: 7px;
}

/* v92: clearer Volunteer Requirements hierarchy and at-a-glance eligibility summary. */
.volunteer-requirements-section-title,
.volunteer-requirements-main-title {
    margin: 16px 0 7px;
    color: #55205f;
    font-size: 15px;
    line-height: 1.25;
}
.volunteer-requirements-thanks .volunteer-requirements-section-title:first-child {
    margin-top: 0;
}
.volunteer-requirements-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 720px;
    margin: 0 auto 16px;
}
.volunteer-requirements-summary-item {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #e3c3d5;
    background: #fff9fc;
    text-align: center;
}
.volunteer-requirements-summary-item span,
.volunteer-requirements-summary-item strong {
    display: block;
}
.volunteer-requirements-summary-item span {
    margin-bottom: 3px;
    color: #6f6470;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.volunteer-requirements-summary-item strong {
    color: #4c164f;
    font-size: 13px;
}
.volunteer-requirements-main-title {
    margin-top: 0;
    font-size: 16px;
}
.volunteer-requirements-ready-title {
    margin-top: 18px;
}
.volunteer-requirements-list li {
    padding-top: 7px;
    padding-bottom: 7px;
}
@media (max-width: 560px) {
    .volunteer-requirements-summary {
        grid-template-columns: 1fr;
    }
}

/* v93: turn the application requirements into a compact eligibility checklist. */
.volunteer-requirements-copy {
    padding-bottom: 0;
}
.volunteer-requirements-copy .volunteer-requirements-main-title {
    position: relative;
    margin: 0 0 5px;
    padding: 0 0 7px;
    border-bottom: 2px solid #d7a9c0;
}
.volunteer-requirements-copy > p {
    margin: 0 0 11px;
    color: #5f5960;
}
.volunteer-requirements-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}
.volunteer-requirement-card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #e5d7df;
    background: #fffafb;
    line-height: 1.45;
}
.volunteer-requirement-check {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1px solid #d6abc1;
    border-radius: 50%;
    background: #f9e5ef;
    color: #7a2854;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}
.volunteer-requirement-text {
    min-width: 0;
}
.volunteer-requirement-card-mandatory {
    border-color: #d7abc0;
    background: #fff5fa;
}
.volunteer-requirement-star {
    color: #8b2055;
    font-size: 13px;
}
.volunteer-requirements-after .volunteer-mandatory-note {
    display: inline-block;
    margin: 10px 0 2px;
    padding: 5px 8px;
    border: 1px solid #dfbfd0;
    background: #fff5fa;
    color: #75234d;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
}
@media (max-width: 620px) {
    .volunteer-requirements-checklist {
        grid-template-columns: 1fr;
    }
}

/* v94 Volunteer of the Month */
.volunteer-month-empty {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #e3c3d5;
    background: #fff7fb;
    text-align: center;
}
.volunteer-month-empty strong {
    display: block;
    color: #7a2853;
    font-size: 15px;
}
.volunteer-month-empty p {
    margin: 6px 0 0;
    color: #66666a;
    font-size: 12px;
}
.volunteer-month-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    align-items: start;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid #111;
}
.volunteer-month-intro {
    min-width: 0;
}
.volunteer-month-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #9a3f70;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.volunteer-month-intro h3 {
    margin: 0 0 12px;
    color: #6e2550;
    font-size: 22px;
    line-height: 1.2;
}
.volunteer-month-intro p {
    margin: 0 0 12px;
    color: #333337;
    font-size: 13px;
    line-height: 1.65;
}
.volunteer-month-person-card {
    overflow: hidden;
    border: 1px solid #b98aa4;
    background: #fff;
    text-align: center;
}
.volunteer-month-person-title {
    padding: 7px 8px;
    background: linear-gradient(90deg, #7c3560, #a54f7e);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .025em;
}
.volunteer-month-person-card img,
.volunteer-month-person-card .volunteer-feature-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    margin: 14px auto 9px;
    border: 1px solid #dedee1;
    border-radius: 4px;
    background: #f5f5f6;
    object-fit: cover;
}
.volunteer-month-person-card .volunteer-feature-placeholder {
    color: var(--pink-dark);
    font-size: 36px;
    font-weight: 900;
}
.volunteer-month-person-card > strong {
    display: block;
    padding: 0 10px;
    color: #6e2550;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.volunteer-month-person-card > span {
    display: block;
    padding: 4px 10px 12px;
    color: #77777b;
    font-size: 10px;
}
.volunteer-month-interview {
    margin-top: 24px;
}
.volunteer-month-section-heading {
    padding: 9px 12px 10px;
    border: 1px solid #d5b5c5;
    background: #fff3f8;
}
.volunteer-month-section-heading span {
    display: block;
    color: #8a5d74;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.volunteer-month-section-heading h3 {
    margin: 2px 0 0;
    color: #6e2550;
    font-size: 17px;
}
.volunteer-interview-dialogue {
    padding: 15px 14px;
    border: 1px solid #e4d7de;
    border-top: 0;
    background: #fff;
}
.volunteer-interview-turn {
    display: grid;
    grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
    gap: 9px;
    padding: 8px 0;
    border-bottom: 1px solid #eee7eb;
}
.volunteer-interview-turn:last-child {
    border-bottom: 0;
}
.volunteer-interview-turn strong {
    font-size: 12px;
    line-height: 1.55;
}
.volunteer-interview-turn.from-livve strong {
    color: #bd315e;
}
.volunteer-interview-turn.from-volunteer strong {
    color: #713e91;
}
.volunteer-interview-turn p,
.volunteer-interview-paragraph {
    margin: 0;
    color: #333337;
    font-size: 12.5px;
    line-height: 1.6;
}
.volunteer-interview-paragraph {
    padding: 7px 0;
}
.volunteer-month-help-box {
    margin-top: 26px;
    padding: 15px 16px;
    border: 1px solid #d5b5c5;
    background: #fff7fb;
}
.volunteer-month-help-box h3 {
    margin: 0 0 9px;
    color: #6e2550;
    font-size: 14px;
}
.volunteer-month-help-box p {
    margin: 0;
    color: #333337;
    font-size: 12px;
    line-height: 1.65;
}
.volunteer-month-help-box .volunteer-month-join {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #ead5e0;
}
.volunteer-month-help-box a {
    font-weight: 700;
}
@media (max-width: 620px) {
    .volunteer-month-spotlight {
        grid-template-columns: 1fr;
    }
    .volunteer-month-person-card {
        max-width: 220px;
        width: 100%;
        margin: 0 auto;
    }
    .volunteer-interview-turn {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}


/* v97: Volunteer of the Month help/join copy and inline Sage icon. */
.volunteer-month-help-box .volunteer-month-join {
    margin-top: 12px;
    margin-bottom: 0;
    padding-top: 11px;
    padding-bottom: 0;
    border-top: 1px solid #ead5e0;
    border-bottom: 0;
}
.volunteer-month-join-title {
    display: block;
    margin-bottom: 3px;
    color: #6e2550;
    font-size: 12.5px;
}
.volunteer-month-help-box .volunteer-month-identify {
    margin-top: 0;
}
.volunteer-month-sage-icon {
    margin: 0 3px;
    vertical-align: -3px;
}

/* v102: Volunteer of the Month archive navigation. */
.volunteer-month-portrait-nav {
    display: grid;
    grid-template-columns: 34px minmax(0, 128px) 34px;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin: 14px auto 9px;
    padding: 0 5px;
}
.volunteer-month-portrait-frame {
    min-width: 0;
}
.volunteer-month-portrait-frame img,
.volunteer-month-portrait-frame .volunteer-feature-placeholder {
    margin: 0;
}
.volunteer-month-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    border: 1px solid #cda4b9;
    border-radius: 4px;
    background: #fff7fb;
    color: #7c3560;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.volunteer-month-arrow:hover,
.volunteer-month-arrow:focus-visible {
    border-color: #a54f7e;
    background: #f8e7f0;
    color: #5f2145;
    outline: none;
}
.volunteer-month-arrow.is-disabled {
    border-color: #e4dde1;
    background: #f7f7f7;
    color: #c6c1c4;
    cursor: default;
}
.volunteer-month-history-status {
    margin: 0 8px 11px;
    color: #8b6a7b;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .025em;
}
@media (max-width: 620px) {
    .volunteer-month-portrait-nav {
        grid-template-columns: 38px minmax(0, 128px) 38px;
        gap: 8px;
    }
    .volunteer-month-arrow {
        width: 38px;
    }
}


/* v107 - member support ticket conversations */
.support-conversation-warning,
.support-ticket-closed-note {
    max-width: 760px;
    margin: 0 auto 16px;
    padding: 11px 13px;
    border: 1px solid #dfc2d2;
    background: #fff8fb;
    line-height: 1.5;
}
.member-support-thread,
.member-support-list {
    max-width: 820px;
    margin: 0 auto 20px;
}
.member-support-thread {
    border: 1px solid #d8c7d1;
    background: #fff;
}
.member-support-thread-head,
.member-support-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #d8c7d1;
    background: linear-gradient(to right, #f7e6ef, #fff);
}
.member-support-thread-head h3,
.member-support-list-head h3 {
    margin: 0;
    font-size: 15px;
}
.member-support-thread-head p {
    margin: 4px 0 0;
    color: #666;
    font-size: 12px;
}
.member-support-list-head span {
    color: #666;
    font-size: 12px;
    white-space: nowrap;
}
.support-thread-back {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
}
.support-conversation {
    display: grid;
    gap: 10px;
    max-height: 430px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 14px;
    background: #fafafa;
}
.support-thread-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
}
.support-chat-refresh {
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #c99ab4;
    background: #fff8fb;
    color: #5a2350;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.support-chat-refresh:hover,
.support-chat-refresh:focus {
    background: #f7e6ef;
}
.support-chat-refresh:disabled {
    cursor: wait;
    opacity: .65;
}
.support-message {
    max-width: 88%;
    border: 1px solid #d6d6d6;
    background: #fff;
}
.support-message-member {
    justify-self: start;
}
.support-message-staff {
    justify-self: end;
    border-color: #d8b8ca;
    background: #fff8fb;
}
.support-message-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 7px 9px;
    border-bottom: 1px solid #e4e4e4;
    font-size: 11px;
    color: #666;
}
.support-message-meta strong {
    color: #4e1740;
    font-size: 12px;
}
.support-staff-name::before {
    content: "·";
    margin-right: 7px;
}
.support-message-body {
    padding: 10px 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.support-reply-form {
    padding: 14px;
    border-top: 1px solid #d8c7d1;
}
.support-reply-form textarea {
    resize: vertical;
}
.member-support-ticket-grid {
    display: grid;
    gap: 8px;
    padding-top: 12px;
}
.member-support-ticket {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) 130px;
    gap: 6px 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #d8c7d1;
    background: #fff;
    text-decoration: none;
}
.member-support-ticket:hover,
.member-support-ticket:focus,
.member-support-ticket.active {
    background: #fff5fa;
    border-color: #c98bac;
}
.member-support-ticket-number {
    font-weight: 700;
    color: #5a2350;
}
.member-support-ticket > span:nth-of-type(2) {
    color: #666;
    text-align: right;
}
.member-support-ticket small {
    grid-column: 2 / -1;
    color: #777;
}
.member-support-ticket-preview {
    grid-column: 2 / -1;
    min-width: 0;
    color: #4f4f4f;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.member-support-ticket-preview b {
    color: #5a2350;
}
@media (max-width: 680px) {
    .member-support-thread-head,
    .member-support-list-head {
        flex-direction: column;
    }
    .support-message {
        max-width: 100%;
    }
    .member-support-ticket {
        grid-template-columns: 1fr;
    }
    .member-support-ticket > span:nth-of-type(2) {
        text-align: left;
    }
    .member-support-ticket small,
    .member-support-ticket-preview {
        grid-column: auto;
    }
}

/* v109 - compact support chat with in-place refresh */
@media (max-width: 650px) {
    .support-conversation { max-height: 360px; }
    .support-thread-actions { width: 100%; justify-content: space-between; }
}

/* v112 - latest support reply preview */

/* v113 - unread LIvVE Support reply indicators */
.support-unread-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-left: auto;
    border-radius: 50%;
    background: #d71920;
    box-shadow: 0 0 0 1px rgba(145, 0, 0, .18);
}
.member-support-ticket {
    position: relative;
}
.support-ticket-unread-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d71920;
    box-shadow: 0 0 0 1px rgba(145, 0, 0, .18);
}
.member-support-ticket.has-unread-reply {
    padding-right: 28px;
}


/* v114 - front-page guest login panel widened by 15px on desktop. */


/* v115 - member-controlled support ticket closure. */
.support-ticket-close-form {
    margin: 0;
}
.support-ticket-close-button {
    border-color: #d8a2ad;
    background: #fff4f6;
    color: #8e1530;
}
.support-ticket-close-button:hover,
.support-ticket-close-button:focus {
    border-color: #c56f82;
    background: #ffe9ee;
    color: #751126;
}


/* One-time registration confirmation shown before the new member enters the account. */
.registration-success-overlay {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
}

.registration-success-dialog {
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid #c7c7c7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    color: #222;
}

.registration-success-dialog h2 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 28px;
}

.registration-success-lead {
    margin: 0 0 22px;
    text-align: center;
    font-size: 17px;
}

.registration-credentials {
    margin: 20px 0;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    overflow: hidden;
}

.registration-credential-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: #f7f7f7;
}

.registration-credential-row + .registration-credential-row {
    border-top: 1px solid #d4d4d4;
}

.registration-credential-row > span {
    font-weight: 600;
}

.registration-credential-row strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
}

.registration-password-row strong {
    user-select: all;
}

.registration-copy-button {
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #777;
    border-radius: 4px;
    background: #f0f0f0;
    color: #111;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
}

.registration-copy-button:hover,
.registration-copy-button:focus {
    background: #e2e2e2;
}

.registration-security-note {
    padding: 10px 12px;
    border-left: 4px solid #666;
    background: #f4f4f4;
    font-size: 13px;
}

.registration-success-actions {
    margin-top: 22px;
    text-align: center;
}

.registration-copy-status {
    display: block;
    min-height: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 620px) {
    .registration-success-overlay {
        padding: 12px;
    }

    .registration-success-dialog {
        padding: 20px 16px;
    }

    .registration-credential-row {
        grid-template-columns: 1fr;
    }

    .registration-copy-button {
        width: 100%;
    }
}


/* v117 - registration availability indicators and cookie consent. */
.availability-input-wrap {
    position: relative;
    display: block;
}

.availability-input-wrap input {
    padding-right: 38px;
}

.availability-mark {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    pointer-events: none;
}

.availability-mark.is-available {
    color: #147a32;
}

.availability-mark.is-unavailable {
    color: #bd1f2d;
}

.availability-mark.is-checking {
    color: #777;
}

.availability-status {
    display: block;
    min-height: 17px;
    margin-top: 4px;
    font-weight: 600;
}

.availability-status.is-available {
    color: #147a32;
}

.availability-status.is-unavailable {
    color: #bd1f2d;
}

.availability-status.is-checking {
    color: #666;
}

input.availability-available {
    border-color: #4d9b61;
}

input.availability-unavailable {
    border-color: #c94d58;
}

.cookie-settings-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
    color: #fff;
}

.cookie-consent-overlay {
    position: fixed;
    z-index: 12000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(0, 0, 0, .68);
}

.cookie-consent-overlay[hidden] {
    display: none;
}

.cookie-consent-dialog {
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    padding: 26px;
    border: 1px solid #bcbcbc;
    border-radius: 8px;
    background: #fff;
    color: #222;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .38);
}

.cookie-consent-dialog h2 {
    margin: 0 0 12px;
    font-size: 25px;
    text-align: center;
}

.cookie-consent-dialog p {
    margin: 10px 0;
    line-height: 1.55;
}

.cookie-policy-link {
    text-align: center;
}

.cookie-policy-link a {
    font-weight: 700;
}

.cookie-consent-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.cookie-consent-actions .primary-button,
.cookie-consent-actions .secondary-button {
    min-width: 155px;
    margin: 0;
}

body.cookie-consent-open {
    overflow: hidden;
}

.cookie-policy-page {
    max-width: 900px;
}

.cookie-policy-card {
    padding: 30px;
}

.cookie-policy-card h1 {
    margin-top: 0;
}

.cookie-policy-card h2 {
    margin-top: 28px;
}

.cookie-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    background: #fff;
}

.cookie-policy-table th,
.cookie-policy-table td {
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    text-align: left;
    vertical-align: top;
}

.cookie-policy-table th {
    background: #f3f3f3;
}

@media (max-width: 620px) {
    .cookie-consent-overlay {
        padding: 12px;
    }

    .cookie-consent-dialog {
        padding: 20px 16px;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-actions .primary-button,
    .cookie-consent-actions .secondary-button {
        width: 100%;
    }

    .cookie-policy-card {
        padding: 20px 14px;
    }

    .cookie-policy-table {
        display: block;
        overflow-x: auto;
    }
}

/* v119 - support ticket response-time notice */
.support-response-notice {
    max-width: 760px;
    margin: -8px auto 22px;
    border: 1px solid #d8c7d1;
    background: #fff;
    font-size: 13px;
    line-height: 1.55;
}

.support-response-notice-title {
    padding: 8px 12px;
    border-bottom: 1px solid #d8c7d1;
    background: #f4edf1;
    color: #5d2444;
    font-weight: bold;
}

.support-response-notice-message {
    padding: 11px 12px;
    color: #3d3d3f;
}


/* v121: Account Security / Two-Factor Authentication layout. */
.two-factor-panel {
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #fff;
    padding: 24px 26px 20px;
}

.two-factor-heading {
    margin-bottom: 14px;
}

.two-factor-heading h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.two-factor-heading p {
    margin: 0;
    color: #303033;
    font-size: 14px;
    line-height: 1.5;
}

.two-factor-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 22px;
}

.two-factor-info-row:last-child {
    margin-bottom: 0;
}

.two-factor-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #777;
}

.two-factor-icon svg {
    display: block;
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.two-factor-icon svg circle,
.two-factor-icon svg path:first-child {
    fill: none;
}

.two-factor-icon-phone {
    color: #65788d;
}

.two-factor-copy {
    min-width: 0;
}

.two-factor-copy p {
    margin: 0;
    color: #28282b;
    font-size: 13px;
    line-height: 1.55;
}

.two-factor-actions {
    margin: 16px 0 14px;
}

.two-factor-setup-button {
    min-width: 100px;
    margin: 0;
}

.two-factor-setup-button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.two-factor-note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    color: #66666a;
    font-size: 12px;
    line-height: 1.55;
}

.two-factor-pending {
    margin: 10px 0 0;
    color: #77777b;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .two-factor-panel {
        padding: 18px 16px 16px;
    }

    .two-factor-info-row {
        align-items: flex-start;
        gap: 12px;
    }

    .two-factor-icon,
    .two-factor-icon svg {
        width: 36px;
        height: 36px;
    }

    .two-factor-icon {
        flex-basis: 36px;
    }

}

/* Optional Google reCAPTCHA v2 on Sign In and Register. */
.recaptcha-wrap {
    margin: 14px 0 16px;
    min-height: 78px;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: left;
}
.recaptcha-wrap .g-recaptcha {
    display: inline-block;
    vertical-align: top;
}
.recaptcha-wrap-register {
    margin-top: 18px;
    text-align: center;
}
.recaptcha-wrap-login {
    text-align: center;
}

.login-reset-prompt {
    margin: 0 0 16px;
    text-align: center;
}

/* v131 - registration scroll area increased by an additional 5px. */
.view-panel[data-panel="register"] > center {
    position: relative;
    z-index: 1;
}
.view-panel[data-panel="register"] > center .intro {
    margin-bottom: 16px;
}
.register-scroll-bevel {
    height: 0;
    margin: 0 0 8px;
    border-top: 1px solid #dedee1;
    box-shadow: 0 1px 0 rgba(255,255,255,.9);
}
.register-scroll-area {
    width: calc(100% + 25px);
    height: 637px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0 -13px 0 -12px;
    padding: 14px 18px 14px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: thin;
    scrollbar-color: #b7b7bb #f1f1f3;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.register-scroll-area:focus {
    outline: none;
}
.register-scroll-area .form-section:first-child {
    margin-top: 6px;
    border-top: 0;
    padding-top: 0;
}
.register-scroll-area .primary-button {
    margin-bottom: 4px;
}
.register-scroll-area::-webkit-scrollbar {
    width: 10px;
}
.register-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f3;
    border-radius: 8px;
}
.register-scroll-area::-webkit-scrollbar-thumb {
    background: #b7b7bb;
    border: 2px solid #f1f1f3;
    border-radius: 8px;
}
.register-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #96969b;
}
@media (max-width: 640px) {
    .view-panel[data-panel="register"] > center .intro {
        margin-bottom: 12px;
    }
    .register-scroll-area {
        height: 500px;
        padding: 12px 14px 14px;
    }
    .register-scroll-area .two-col,
    .register-scroll-area .choice-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-height: 700px) {
    .register-scroll-area {
        height: 425px;
    }
}

/* v132 - three guest tabs, centred sign-in reCAPTCHA, configurable failed-login reset prompt. */

/* v135 - completed Google Authenticator / TOTP account security flow. */
.two-factor-login-heading {
    margin: 4px 0 16px;
    text-align: center;
}
.two-factor-login-heading h2 {
    margin: 0 0 6px;
    font-size: 20px;
}
.two-factor-login-heading p {
    margin: 0;
    color: #4d4d51;
    font-size: 13px;
    line-height: 1.5;
}
.two-factor-login-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #dedee1;
    border-radius: 8px;
    background: #fff;
}
.two-factor-login-card .primary-button {
    margin-top: 4px;
}
.two-factor-login-back {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
}
.two-factor-login-back a {
    color: var(--pink-dark);
    font-weight: 700;
}
.two-factor-status-card,
.two-factor-recovery-card,
.two-factor-setup-card,
.two-factor-management-card {
    margin-top: 16px;
    border: 1px solid #dedee1;
    border-radius: 8px;
    background: #fff;
}
.two-factor-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
}
.two-factor-status-card h3,
.two-factor-recovery-card h3,
.two-factor-setup-card h3,
.two-factor-management-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
}
.two-factor-status-card p,
.two-factor-recovery-card p,
.two-factor-setup-card p,
.two-factor-management-card p {
    margin: 0;
    color: #59595d;
    font-size: 12px;
    line-height: 1.55;
}
.two-factor-status-enabled {
    border-color: #b8d9bd;
    background: #f7fbf7;
}
.two-factor-status-badge {
    flex: 0 0 auto;
    border: 1px solid #7fb78a;
    border-radius: 999px;
    padding: 5px 9px;
    background: #fff;
    color: #2f6f3b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
}
.two-factor-recovery-card,
.two-factor-setup-card,
.two-factor-management-card {
    padding: 18px;
}
.two-factor-recovery-card {
    border-color: #ddca8b;
    background: #fffdf6;
}
.two-factor-recovery-list {
    display: grid;
    margin: 14px 0 12px;
    padding: 14px;
    border: 1px solid #ded8c4;
    border-radius: 6px;
    background: #fff;
    color: #252528;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    white-space: pre-wrap;
    user-select: all;
}
.two-factor-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.two-factor-copy-status {
    min-height: 18px;
    margin-top: 8px !important;
    color: #4c6a50 !important;
    font-weight: 700;
}
.two-factor-recovery-count {
    margin: 12px 0 0;
    color: #55555a;
    font-size: 12px;
}
.two-factor-management-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.two-factor-management-card form {
    margin-top: 12px;
}
.two-factor-danger-card {
    border-color: #e3c5c5;
    background: #fffafa;
}
.danger-button {
    border-color: #c98b8b;
    color: #8c2929;
}
.danger-button:hover {
    border-color: #a92f2f;
    color: #a92f2f;
}
.two-factor-setup-steps {
    margin: 12px 0 16px 20px;
    padding: 0;
    color: #343438;
    font-size: 12px;
    line-height: 1.6;
}
.two-factor-setup-steps li {
    margin-bottom: 6px;
}
.two-factor-secret-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid #d6d6da;
    border-radius: 6px;
    background: #f8f8fa;
}
.two-factor-secret-label {
    width: 100%;
    color: #66666a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.two-factor-secret-box code {
    flex: 1 1 230px;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #202024;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    user-select: all;
}
.two-factor-open-app-copy {
    margin-top: 12px !important;
}
.two-factor-open-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 9px;
    padding: 8px 13px;
    border: 1px solid #c9c9cc;
    border-radius: 5px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
}
.two-factor-open-app:hover {
    border-color: var(--pink);
    color: var(--pink-dark);
}
.two-factor-enable-form {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e8;
}
.two-factor-cancel-form {
    margin-top: 8px;
}
.two-factor-setup-card + .two-factor-note,
.two-factor-management-grid + .two-factor-note,
.two-factor-status-card + .two-factor-note {
    margin-top: 16px;
}

@media (max-width: 700px) {
    .two-factor-management-grid {
        grid-template-columns: 1fr;
    }
    .two-factor-status-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .two-factor-secret-box .secondary-button {
        width: 100%;
    }
}

.two-factor-setup-help {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #5e6570;
}


/* Two-factor setup v139: keep one pending secret stable and make the
   desktop/mobile authenticator handoff explicit. */
.two-factor-current-key-warning {
    margin: 12px 0 14px;
    padding: 10px 12px;
    border-left: 4px solid #d4a61f;
    background: #fff9df;
    color: #29240f;
    font-size: 12px;
    line-height: 1.5;
}
.two-factor-current-key-warning strong {
    display: block;
    margin-bottom: 2px;
}
.two-factor-mobile-open {
    display: none;
}
.two-factor-desktop-open-help {
    margin-top: 12px !important;
    padding: 9px 11px;
    border: 1px solid #e2e2e5;
    border-radius: 5px;
    background: #fafafa;
    color: #4d4d54;
    font-size: 12px;
    line-height: 1.45;
}
.two-factor-setup-reset-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.two-factor-setup-reset-actions form {
    margin: 0;
}
@media (max-width: 768px) {
    .two-factor-mobile-open {
        display: block;
    }
    .two-factor-desktop-open-help {
        display: none;
    }
}

.two-factor-qr-section {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #dedee2;
    border-radius: 6px;
    background: #fff;
}
.two-factor-qr-copy {
    flex: 1 1 250px;
    min-width: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #33333a;
}
.two-factor-qr-copy strong {
    display: block;
    margin-bottom: 4px;
    color: #15151a;
    font-size: 13px;
}
.two-factor-qr-copy span strong {
    display: inline;
    margin: 0;
    font-size: inherit;
}
.two-factor-qr {
    flex: 0 0 176px;
    width: 176px;
    height: 176px;
    padding: 5px;
    border: 1px solid #d5d5d9;
    background: #fff;
}
.two-factor-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}
.two-factor-qr-fallback {
    margin: 0 !important;
    color: #7c221f;
    font-size: 12px;
}
@media (max-width: 620px) {
    .two-factor-qr-section {
        flex-direction: column;
        align-items: flex-start;
    }
    .two-factor-qr {
        align-self: center;
    }
}


/* v140 - centred reCAPTCHA on the two-factor sign-in step. */
.recaptcha-wrap-two-factor {
    margin-top: 16px;
    text-align: center;
}

/* v143 - remembered Google Authenticator devices */
.two-factor-remember-device {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 12px;
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.035);
    cursor: pointer;
}
.two-factor-remember-device input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}
.two-factor-remember-device span {
    min-width: 0;
    display: block;
    line-height: 1.35;
}
.two-factor-remember-device strong,
.two-factor-remember-device small {
    display: block;
}
.two-factor-remember-device small {
    margin-top: 3px;
    color: #666;
    font-weight: normal;
}
.two-factor-trusted-count {
    margin: 6px 0 8px;
}
.two-factor-forget-devices-form {
    margin: 0 0 16px;
}

/* v143 - six-box Google Authenticator code entry */
.two-factor-code-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
.two-factor-code-fieldset legend {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    font-weight: 700;
}
.two-factor-code-fieldset > small {
    display: block;
    margin-top: 8px;
    color: #666;
    line-height: 1.35;
}
.two-factor-code-boxes {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
}
.two-factor-code-digit {
    box-sizing: border-box;
    width: 44px !important;
    min-width: 44px;
    height: 48px;
    padding: 0 !important;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 48px;
    border: 1px solid #a7adb5;
    border-radius: 5px;
    background: #fff;
}
.two-factor-code-digit:focus {
    outline: 2px solid #2276c9;
    outline-offset: 1px;
    border-color: #2276c9;
}
.two-factor-recovery-option {
    margin: 10px 0 2px;
    text-align: center;
}
.two-factor-recovery-toggle {
    border: 0;
    padding: 5px 7px;
    background: transparent;
    color: #075da8;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.two-factor-recovery-toggle:hover {
    text-decoration: none;
}
.two-factor-recovery-entry {
    margin-top: 8px;
    text-align: left;
}
.two-factor-setup-code {
    align-self: end;
}
.two-factor-setup-code .two-factor-code-boxes {
    justify-content: flex-start;
}

@media (max-width: 520px) {
    .two-factor-code-boxes {
        gap: 5px;
    }
    .two-factor-code-digit {
        width: 38px !important;
        min-width: 38px;
        height: 44px;
        font-size: 20px;
        line-height: 44px;
    }
    .two-factor-setup-code .two-factor-code-boxes {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .two-factor-code-boxes {
        gap: 4px;
    }
    .two-factor-code-digit {
        width: 34px !important;
        min-width: 34px;
        height: 42px;
        font-size: 19px;
        line-height: 42px;
    }
}


/* v144 - Account details two-factor authentication status card. */
.account-security-status {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #e2e2e5;
    border-radius: 8px;
    background: #fafafa;
}
.account-security-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f0f2;
}
.account-security-status-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.account-security-status-icon.is-enabled { color: #237a3b; background: #edf8f0; }
.account-security-status-icon.is-disabled { color: #777; background: #f1f1f2; }
.account-security-status-copy { min-width: 0; }
.account-security-status-copy > span {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.account-security-status-copy > strong {
    display: block;
    font-size: 14px;
}
.account-security-status-state {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}
.account-security-status-state > strong { font-size: 13px; }
.account-security-status-state > strong.is-enabled { color: #237a3b; }
.account-security-status-state > strong.is-disabled { color: #777; }
.account-security-status-state > a {
    font-size: 11px;
    font-weight: 700;
}
@media (max-width: 520px) {
    .account-security-status {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 12px;
    }
    .account-security-status-state {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 980px) {
    .portal-topbar {
        flex-direction: column;
        align-items: stretch;
    }
    .hero {
        flex-basis: auto;
    }
    .site-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .page-shell { width: min(680px, calc(100% - 24px)); padding-top: 16px; }
    .portal-frame { border-width: 4px; padding: 8px; }
    .site-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-grid { margin-top: 18px; }
}
@media (max-width: 460px) {
    .site-nav { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .site-nav-menu:nth-of-type(2) .site-nav-dropdown {
        left: 0;
        right: auto;
    }
}
@media (max-width: 560px) {
    .site-nav-dropdown,
    .site-nav-dropdown-events {
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 6px;
        box-shadow: 0 8px 20px rgba(40, 0, 14, .14);
    }
    .site-nav-menu[open] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .site-nav-wrap {
        width: 100%;
    }
    .site-nav-tagline {
        position: static;
        margin: 0 8px 7px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        text-align: right;
    }
    .site-nav {
        margin-top: 3px;
    }
}

/* v175 - enhanced single-panel missing-page layout */
.single-panel-grid {
    margin-top: 24px;
}
.error-page-panel {
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 34px;
    background: var(--paper);
    border-radius: 13px;
    box-shadow: var(--shadow);
}
.error-page-panel-enhanced {
    text-align: left;
}
.error-page-layout {
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}
.error-page-illustration {
    margin: 0;
}
.error-page-illustration img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
}
.error-page-message {
    width: min(560px, 100%);
}
.error-page-code {
    margin: 0 0 10px;
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.error-page-message h1 {
    margin: 0 0 14px;
    color: #171717;
    font-size: clamp(34px, 5.4vw, 50px);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -.035em;
}
.error-page-lead {
    margin: 0 0 14px;
    color: #26262a;
    font-size: 17px;
    line-height: 1.55;
}
.error-page-copy {
    margin: 0 0 18px;
    color: #55555a;
    font-size: 14px;
    line-height: 1.6;
}
.error-page-tips {
    margin: 0 0 24px 18px;
    padding: 0;
    color: #45454a;
    font-size: 14px;
    line-height: 1.6;
}
.error-page-tips li + li {
    margin-top: 6px;
}
.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.error-page-home,
.error-page-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}
.error-page-home {
    border: 1px solid var(--pink-dark);
    background: var(--pink);
    color: var(--theme-accent-text);
}
.error-page-home:hover,
.error-page-home:focus-visible {
    background: var(--pink-dark);
    color: #fff;
    outline: none;
}
.error-page-secondary {
    border: 1px solid var(--line);
    background: #f5f5f6;
    color: #3f3f43;
}
.error-page-secondary:hover,
.error-page-secondary:focus-visible {
    border-color: #bfc0c3;
    background: #ececef;
    color: #222226;
    outline: none;
}
@media (max-width: 760px) {
    .single-panel-grid { margin-top: 18px; }
    .error-page-panel { min-height: 420px; padding: 34px 22px; }
    .error-page-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .error-page-panel-enhanced,
    .error-page-message {
        text-align: center;
        width: 100%;
    }
    .error-page-tips {
        text-align: left;
        display: inline-block;
        margin-left: 0;
        padding-left: 18px;
    }
    .error-page-actions {
        justify-content: center;
    }
}


/* v194 - Games > Ranked Games fly-out submenu */
.site-nav-submenu {
    position: relative;
}
.site-nav-submenu > summary {
    list-style: none;
}
.site-nav-submenu > summary::-webkit-details-marker { display: none; }
.site-nav-submenu > summary::marker { content: ""; }

.site-nav-submenu-trigger {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--theme-nav-text);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}
.site-nav-submenu-trigger:hover,
.site-nav-submenu-trigger:focus-visible,
.site-nav-submenu[open] > .site-nav-submenu-trigger {
    background: var(--theme-nav-hover);
    border-color: var(--line);
    color: var(--pink-dark);
    outline: none;
}
.site-nav-submenu-arrow {
    justify-self: end;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}
.site-nav-submenu-panel {
    position: absolute;
    z-index: 70;
    top: -7px;
    left: calc(100% + 8px);
    min-width: 255px;
    padding: 7px;
    background: var(--theme-nav-bg);
    border: 1px solid #d9d9dc;
    border-radius: 11px;
    box-shadow: 0 16px 34px rgba(40, 0, 14, .20);
}
.site-nav-submenu-panel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -9px;
    width: 9px;
}
.site-nav-submenu:not([open]) > .site-nav-submenu-panel {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .site-nav-submenu:hover > .site-nav-submenu-panel,
    .site-nav-submenu:focus-within > .site-nav-submenu-panel {
        display: block;
    }
    .site-nav-submenu:hover > .site-nav-submenu-trigger {
        background: #f3f3f4;
        border-color: var(--line);
        color: var(--pink-dark);
    }
}

@media (max-width: 760px) {
    .site-nav-submenu-panel {
        position: static;
        min-width: 0;
        margin: 4px 0 4px 16px;
        border-radius: 8px;
        box-shadow: none;
    }
    .site-nav-submenu-arrow { transform: rotate(90deg); }
    .site-nav-submenu[open] .site-nav-submenu-arrow { transform: rotate(-90deg); }
}

/* v178 - signed-in account portal uses the same full-width white content shell as the main site directories. */
body[data-authenticated="1"] .account-grid {
    gap: 14px;
    padding: 14px;
    background: #fff;
    border-radius: 13px;
    box-shadow: var(--shadow);
}
body[data-authenticated="1"] .panel-left,
body[data-authenticated="1"] .panel-right {
    box-shadow: none;
}
body[data-authenticated="1"] .panel-right {
    border: 1px solid #e2e2e4;
}
body[data-authenticated="1"] .member-card,
body[data-authenticated="1"] .account-nav {
    border-left: 1px solid #e0e0e3;
}
@media (max-width: 680px) {
    body[data-authenticated="1"] .account-grid {
        padding: 10px;
    }
}


/* v185 - lightweight local LIvVE icon SVGs (Font Awesome Pro Plus subset). */
.livve-fa-icon { display:inline-block; width:1em; height:1em; object-fit:contain; vertical-align:-0.125em; flex:0 0 auto; }


/* v226 - per-account theme customization */
.theme-customizer { margin-top: 18px; }
.theme-preset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 20px;
}
.theme-preset {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid #dcdce0;
    border-radius: 8px;
    background: #fafafb;
    color: #303034;
    cursor: pointer;
    text-align: left;
}
.theme-preset:hover,
.theme-preset:focus-visible {
    border-color: var(--pink);
    box-shadow: 0 0 0 2px rgba(0,0,0,.08);
    outline: none;
}
.theme-preset-swatch {
    display: grid;
    grid-template-columns: repeat(3, 12px);
    overflow: hidden;
    flex: 0 0 auto;
    height: 30px;
    border: 1px solid #cfcfd3;
    border-radius: 6px;
}
.theme-preset-swatch i { display: block; width: 12px; height: 100%; }
.theme-preset strong { font-size: 11px; line-height: 1.2; }
.theme-color-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
.theme-color-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    border: 1px solid #dedee1;
    border-radius: 9px;
    background: #f8f8f9;
}
.theme-color-field > span:first-child { color: #29292d; font-size: 12px; font-weight: 850; }
.theme-color-field small { min-height: 33px; color: #6c6c70; font-size: 10px; line-height: 1.4; }
.theme-color-control { display: flex; align-items: center; gap: 9px; }
.theme-color-control input[type="color"] {
    width: 52px;
    height: 38px;
    padding: 2px;
    border: 1px solid #c9c9cd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.theme-color-control code {
    color: #55555a;
    font: 700 11px/1.2 Consolas, "Courier New", monospace;
}
.theme-preview {
    overflow: hidden;
    margin: 0 0 16px;
    padding: 12px;
    border: 1px solid #d8d8dc;
    border-radius: 10px;
    background: var(--preview-page);
}
.theme-preview-nav {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 7px;
    background: var(--preview-nav);
}
.theme-preview-nav span {
    flex: 1 1 0;
    padding: 6px 5px;
    border-radius: 5px;
    color: var(--preview-nav-text, #36363a);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}
.theme-preview-nav .is-active { background: var(--preview-accent); color: var(--preview-accent-text, #fff); }
.theme-preview-content {
    margin-top: 8px;
    padding: 12px;
    border-radius: 7px;
    background: #fff;
    color: #242428;
}
.theme-preview-content strong { font-size: 12px; }
.theme-preview-content p { margin: 3px 0 9px; color: #66666a; font-size: 10px; }
.theme-preview-button {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 5px 9px;
    border-radius: 5px;
    background: var(--preview-accent);
    color: var(--preview-accent-text, #fff);
    font-size: 9px;
    font-weight: 900;
}
.theme-reset-form { margin-top: 9px; }
.theme-reset-form .secondary-button { width: 100%; }
.primary-button:disabled,
.secondary-button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 760px) {
    .theme-preset-grid,
    .theme-color-grid { grid-template-columns: 1fr; }
    .theme-color-field small { min-height: 0; }
}


/* v227 - finished theme customization: live preview controls and removal of legacy pink decorative tints. */
.theme-customizer-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 9px 11px;
    border: 1px solid #dedee1;
    border-radius: 8px;
    background: #f8f8f9;
}
.theme-customizer-help {
    margin: 0;
    color: #59595e;
    font-size: 10.5px;
    line-height: 1.45;
}
.theme-customizer-status {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid #bfd9c7;
    border-radius: 999px;
    background: #eef9f1;
    color: #2e6f40;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}
.theme-customizer-status.is-unsaved {
    border-color: var(--theme-accent-border);
    background: var(--theme-accent-soft);
    color: var(--theme-accent-ink);
}
.theme-preset.is-selected {
    border-color: var(--pink);
    background: var(--theme-accent-soft);
    box-shadow: 0 0 0 2px var(--theme-accent-shadow);
}
.theme-preset.is-selected strong { color: var(--theme-accent-ink); }
.theme-color-control { align-items: stretch; }
.theme-hex-input[type="text"] {
    min-width: 0;
    height: 38px;
    min-height: 38px;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid #c9c9cd;
    border-radius: 6px;
    background: #fff;
    color: #55555a;
    font: 700 11px/1.2 Consolas, "Courier New", monospace;
    text-transform: uppercase;
}
.theme-hex-input[type="text"]:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--theme-accent-shadow);
}
.theme-hex-input.is-invalid {
    border-color: #bb3131 !important;
    box-shadow: 0 0 0 2px rgba(187,49,49,.12) !important;
}
.theme-save-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, .42fr);
    gap: 9px;
}
.theme-save-actions .primary-button,
.theme-save-actions .secondary-button { width: 100%; }

/* Carry the user's accent into older decorative areas that previously stayed pink. */
.interest-preference { background: linear-gradient(90deg, var(--theme-accent-soft) 0%, #f7f7f8 72%); }
.benefit-group th,
.volunteer-application-status,
.volunteer-test-thanks .volunteer-application-status-note,
.volunteer-requirements-thanks,
.volunteer-requirements-summary-item,
.volunteer-requirement-card,
.volunteer-requirement-card-mandatory,
.volunteer-requirements-after .volunteer-mandatory-note,
.volunteer-month-empty,
.volunteer-month-section-heading,
.volunteer-month-help-box,
.volunteer-month-arrow,
.support-conversation-warning,
.support-ticket-closed-note,
.support-chat-refresh,
.support-message-staff,
.member-support-ticket:hover,
.member-support-ticket:focus,
.member-support-ticket.active {
    background: var(--theme-accent-soft);
}
.volunteer-rank-description { background: var(--theme-accent-soft); }
.volunteer-requirement-check { background: var(--theme-accent-soft-strong); }
.benefit-group th,
.volunteer-application-status,
.volunteer-requirements-thanks,
.volunteer-requirements-summary-item,
.volunteer-requirement-card,
.volunteer-requirement-card-mandatory,
.volunteer-requirements-after .volunteer-mandatory-note,
.volunteer-month-empty,
.volunteer-month-section-heading,
.volunteer-month-help-box,
.volunteer-month-arrow,
.support-conversation-warning,
.support-ticket-closed-note,
.support-chat-refresh,
.support-message-staff,
.member-support-ticket:hover,
.member-support-ticket:focus,
.member-support-ticket.active {
    border-color: var(--theme-accent-border);
}
.volunteer-requirements-section-title,
.volunteer-requirements-main-title,
.volunteer-requirements-summary-item strong,
.volunteer-month-empty strong,
.volunteer-month-section-heading h3,
.volunteer-month-help-box h3,
.member-support-ticket-number,
.member-support-ticket-preview b,
.support-message-meta strong {
    color: var(--theme-accent-ink);
}
.volunteer-roster-action:hover,
.volunteer-roster-action:focus-visible {
    border-color: var(--theme-accent-border);
    background: var(--theme-accent-soft);
    color: var(--theme-accent-ink);
}

@media (max-width: 760px) {
    .theme-customizer-status-row { align-items: flex-start; flex-direction: column; }
    .theme-save-actions { grid-template-columns: 1fr; }
}


/* v227 - account sidebar/navigation also follows the user's accent instead of the legacy pink RGB gradients. */
.account-nav a,
.account-nav a.active {
    background: linear-gradient(90deg, var(--theme-accent-soft) 0%, #f8f8f9 72%);
}
.account-nav a:hover,
.account-nav a:focus-visible,
.account-nav a.active:hover,
.account-nav a.active:focus-visible,
.sidebar-logout-button:hover,
.sidebar-logout-button:focus-visible,
.account-nav .nav-submenu a:hover,
.account-nav .nav-submenu a:focus-visible,
.account-nav .nav-submenu a.active:hover,
.account-nav .nav-submenu a.active:focus-visible {
    background: linear-gradient(90deg, var(--theme-accent-soft-strong) 0%, var(--theme-accent-soft) 62%, transparent 100%);
}
.nav-section-title {
    background: linear-gradient(90deg, var(--theme-accent-soft-strong) 0%, var(--theme-accent-soft) 72%, #f8f8f9 100%);
}
.nav-submenu-title {
    background: linear-gradient(90deg, var(--theme-accent-soft) 0%, #fbfbfc 82%);
}


/* v306: front-page account entry links after standalone Register and Downloads pages. */
.auth-help-links {
    margin: 14px 0 0;
    text-align: center;
    color: #77777b;
    font-size: 12px;
    line-height: 1.6;
}
.auth-help-links a {
    color: var(--pink-dark);
    font-weight: 800;
    text-decoration: none;
}
.auth-help-links a:hover,
.auth-help-links a:focus-visible { text-decoration: underline; outline: none; }

/* v308 - Elite Beta Tester badge in signed-in account card */
.member-ebt-badge-link { display:block; width:max-content; max-width:100%; margin:7px auto 0; line-height:0; }
.member-ebt-badge { display:block; width:48px; max-width:100%; height:48px; object-fit:contain; }
.member-ebt-badge-link:focus-visible { outline:2px solid var(--pink, #e81654); outline-offset:3px; border-radius:3px; }
