/* ==========================================================================
   Amar Upazila Portal — public stylesheet
   Palette: Teesta green, paddy gold, blood red on a cool paper ground.
   Type: Noto Sans Bengali (interface; switchable in settings) + Noto Serif Bengali (display).
   ========================================================================== */

:root {
	--aup-g: #0E6E4C;
	--aup-g9: #08452F;
	--aup-g8: #0B5A3E;
	--aup-g2: #D4E7DD;
	--aup-g1: #EAF3EE;
	--aup-gold: #E5AC2E;
	--aup-gold-d: #8A5F00;
	--aup-gold1: #FDF5E1;
	--aup-red: #C9302C;
	--aup-red-d: #9E2320;
	--aup-red1: #FCEDEC;
	--aup-orange: #C2410C;
	--aup-blue: #2C6BB5;
	--aup-ink: #16231C;
	--aup-ink2: #33443B;
	--aup-mut: #6B6255;
	--aup-line: #E5DFD1;
	--aup-line2: #EFEADF;
	--aup-bg: #F7F4EC;
	--aup-card: #fff;
	--aup-r: 14px;
	--aup-r-sm: 10px;
	--aup-r-lg: 22px;
	--aup-sh: 0 1px 2px rgba(10, 40, 26, .05), 0 8px 24px -14px rgba(10, 40, 26, .28);
	--aup-sh-lg: 0 20px 50px -20px rgba(6, 30, 20, .45);
	--aup-font: 'Noto Sans Bengali', 'SolaimanLipi', system-ui, sans-serif;
	--aup-serif: 'Anek Bangla', 'Noto Sans Bengali', sans-serif;
	--aup-head: var(--aup-g8);
	--aup-head-h: 68px;
}

/* ---------- base ---------- */
html.aup-html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html.aup-html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body.aup-body { margin: 0; background: var(--aup-bg); color: var(--aup-ink); font-family: var(--aup-font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.aup-body *, .aup-body *::before, .aup-body *::after { box-sizing: border-box; }
.aup-body img { max-width: 100%; height: auto; display: block; }
.aup-body a { color: var(--aup-g); text-decoration: none; }
.aup-body a:hover { color: var(--aup-g8); }
.aup-body h1, .aup-body h2, .aup-body h3, .aup-body h4 { margin: 0; line-height: 1.3; font-weight: 700; color: inherit; }
.aup-body p { margin: 0 0 .8em; }
:where(.aup-body) :where(button, input, select, textarea) { font: inherit; color: inherit; }
.aup-body :focus-visible { outline: 3px solid var(--aup-gold); outline-offset: 2px; border-radius: 6px; }
.aup-ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.aup-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--aup-ink); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.aup-skip:focus { left: 12px; }
.aup-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.aup-main { min-height: 50vh; padding-bottom: 24px; }
.aup-muted { color: var(--aup-mut); }
.aup-small { font-size: .86rem; }
.aup-center { text-align: center; }
.aup-pad { padding: 14px 0; }
.aup-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.req { color: var(--aup-red); }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.aup-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 44px; padding: .5em 1.15em; border-radius: 12px; border: 1.5px solid var(--aup-g); background: var(--aup-g); color: #fff !important; font-weight: 600; font-size: .98rem; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.aup-btn:hover { background: var(--aup-g8); border-color: var(--aup-g8); color: #fff; }
.aup-btn-sm { min-height: 36px; padding: .35em .85em; font-size: .9rem; border-radius: 10px; }
.aup-btn-block { display: flex; width: 100%; }
.aup-btn-ghost { background: #fff; color: var(--aup-g) !important; border-color: var(--aup-line); }
.aup-btn-ghost:hover { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8) !important; }
.aup-btn-light { background: #fff; color: var(--aup-g9) !important; border-color: #fff; }
.aup-btn-light:hover { background: var(--aup-g1); border-color: var(--aup-g1); color: var(--aup-g9) !important; }
.aup-btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.aup-btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.aup-btn-red { background: var(--aup-red); border-color: var(--aup-red); }
.aup-btn-red:hover { background: var(--aup-red-d); border-color: var(--aup-red-d); }
.aup-btn-gold { background: var(--aup-gold); border-color: var(--aup-gold); color: #2a1d00 !important; }
.aup-btn-gold:hover { background: #d29a1f; border-color: #d29a1f; color: #2a1d00 !important; }
.aup-btn-redsoft { background: var(--aup-red1); border-color: #f2cfcd; color: var(--aup-red-d) !important; }
.aup-btn-redsoft:hover { background: var(--aup-red); border-color: var(--aup-red); color: #fff !important; }
.aup-btn-call { background: var(--aup-g1); color: var(--aup-g8) !important; border-color: var(--aup-g2); }
.aup-btn-call:hover { background: var(--aup-g); color: #fff !important; }
.aup-link-btn { background: none; border: 0; padding: 0; color: var(--aup-g); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: .35em; }
.aup-link-light { color: #fff !important; opacity: .9; }
.aup-icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--aup-ink2); }
.aup-icon-btn:hover { background: var(--aup-g1); color: var(--aup-g); }
.aup-icon-btn .aup-ic { width: 22px; height: 22px; }

/* ---------- blood ticker ---------- */
.aup-ticker { background: var(--aup-red); color: #fff; font-size: .9rem; }
.aup-ticker-in { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.aup-ticker-label { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 700; white-space: nowrap; }
.aup-ticker-label b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--aup-red); font-size: .8rem; }
.aup-ticker-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.aup-ticker-items { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: aup-slide 40s linear infinite; }
.aup-ticker-track:hover .aup-ticker-items { animation-play-state: paused; }
.aup-ticker-item { display: inline-flex; align-items: center; gap: 6px; }
.aup-ticker-item a { color: #fff !important; display: inline-flex; align-items: center; gap: 3px; background: rgba(255, 255, 255, .16); border-radius: 99px; padding: 0 10px; font-weight: 600; }
.aup-bg { display: inline-block; min-width: 2.6em; text-align: center; padding: 0 .4em; border-radius: 6px; background: #fff; color: var(--aup-red); font-weight: 700; font-size: .85em; font-family: system-ui, sans-serif; }
.aup-ticker-all { color: #fff !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
@keyframes aup-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.aup-noticebar { background: var(--aup-gold1); color: #5b3d00; font-size: .92rem; padding: 7px 0; border-bottom: 1px solid #f1dfae; }

/* ---------- header ---------- */
.aup-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--aup-line); }
.admin-bar .aup-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .aup-header { top: 0; } }
.aup-header-in { display: flex; align-items: center; gap: 18px; min-height: var(--aup-head-h); }
.aup-brand { display: flex; align-items: center; gap: 10px; color: var(--aup-ink) !important; min-width: 0; }
.aup-logo-svg, .aup-logo-img { width: 44px; height: 44px; border-radius: 13px; color: var(--aup-g); flex: none; object-fit: cover; }
.aup-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.aup-brand-text strong { font-family: var(--aup-serif); font-size: 1.18rem; font-weight: 800; white-space: nowrap; }
.aup-brand-text small { font-size: .78rem; color: var(--aup-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aup-nav { display: none; align-items: center; gap: 2px; margin-left: auto; }
.aup-nav > a, .aup-dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; color: var(--aup-ink2) !important; font-weight: 600; font-size: .97rem; background: none; border: 0; cursor: pointer; }
.aup-nav > a:hover, .aup-dd-btn:hover, .aup-dd.is-open .aup-dd-btn { background: var(--aup-g1); color: var(--aup-g) !important; }
.aup-dd { position: relative; }
.aup-dd-btn .aup-ic { width: 16px; height: 16px; transition: transform .15s; }
.aup-dd.is-open .aup-dd-btn .aup-ic { transform: rotate(180deg); }
.aup-dd-panel { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--aup-line); border-radius: 18px; box-shadow: var(--aup-sh-lg); padding: 14px; z-index: 95; }
.aup-dd.is-open .aup-dd-panel { display: block; }
.aup-mega { width: min(1080px, 94vw); left: auto; right: -260px; transform: none; padding: 18px 18px 12px; }
.aup-mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 18px; }
.aup-mega-col h4 { font-size: .8rem; color: var(--aup-mut); font-weight: 600; margin: 4px 10px 6px; }
.aup-mega-link { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--aup-ink) !important; }
.aup-mega-link:hover { background: var(--aup-g1); }
.aup-mega-link strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.aup-mega-link small { display: block; color: var(--aup-mut); font-size: .8rem; line-height: 1.35; }
.aup-mega-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--aup-g1); color: var(--aup-g); display: grid; place-items: center; flex: none; }
.aup-mega-foot { margin: 10px 10px 0; padding-top: 10px; border-top: 1px dashed var(--aup-line); font-size: .9rem; color: var(--aup-mut); }
.aup-mega-foot a { font-weight: 700; }
.aup-dd-small { width: 300px; }
.aup-head-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 1100px) { .aup-nav + .aup-head-actions { margin-left: 8px; } }
.aup-avatar-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid var(--aup-line); color: var(--aup-ink) !important; font-weight: 600; font-size: .9rem; }
.aup-avatar-btn span { width: 32px; height: 32px; border-radius: 50%; background: var(--aup-g); color: #fff; display: grid; place-items: center; }
.aup-avatar-btn em { font-style: normal; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aup-hide-sm { display: none; }
@media (min-width: 640px) { .aup-hide-sm { display: inline-flex; } }
@media (min-width: 1100px) {
	.aup-nav { display: flex; }
	.aup-burger { display: none; }
}
@media (max-width: 480px) {
	.aup-avatar-btn em { display: none; }
	.aup-brand-text small { max-width: 52vw; }
}

/* ---------- drawer ---------- */
.aup-drawer { position: fixed; inset: 0; z-index: 200; }
.aup-drawer-backdrop { position: absolute; inset: 0; background: rgba(6, 26, 17, .5); }
.aup-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: #fff; overflow-y: auto; padding: 14px 14px 90px; animation: aup-in-right .22s ease-out; }
@keyframes aup-in-right { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.aup-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-family: var(--aup-serif); font-size: 1.1rem; }
.aup-drawer-search { width: 100%; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--aup-line); background: var(--aup-bg); color: var(--aup-mut); cursor: pointer; text-align: left; }
.aup-drawer-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.aup-drawer-quick a { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--aup-g1); color: var(--aup-g8) !important; font-weight: 600; }
.aup-drawer-group { border-top: 1px solid var(--aup-line2); }
.aup-drawer-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; font-weight: 700; cursor: pointer; }
.aup-drawer-group summary::-webkit-details-marker { display: none; }
.aup-drawer-group[open] summary .aup-ic { transform: rotate(180deg); }
.aup-drawer-group .aup-mega-link { padding: 7px 6px; }
.aup-drawer-foot { display: flex; gap: 8px; margin-top: 14px; }
.aup-drawer-foot .aup-btn { flex: 1; }
body.aup-lock { overflow: hidden; }

/* ---------- hero (inner pages) ---------- */
.aup-hero { position: relative; color: #fff; background: var(--aup-g9); overflow: hidden; padding: 22px 0 30px; }
.aup-hero::before { content: ''; position: absolute; inset: 0; background:
	radial-gradient(1000px 300px at 85% -40%, rgba(255, 255, 255, .12), transparent 60%),
	linear-gradient(135deg, var(--aup-g8), var(--aup-g9)); }
.aup-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C150 10 300 46 450 28 S750 8 900 26 1100 44 1200 24' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='2'/%3E%3Cpath d='M0 40 C200 22 350 48 520 36 S800 20 960 36 1120 46 1200 34' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='2'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; pointer-events: none; }
.aup-hero > .aup-wrap { position: relative; z-index: 1; }
.aup-hero-red { background: #7e1714; }
.aup-hero-red::before { background: radial-gradient(900px 300px at 85% -40%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(135deg, #b42a26, #6e1310); }
.aup-hero-blue::before { background: radial-gradient(900px 300px at 85% -40%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(135deg, #2a64a8, #143a68); }
.aup-hero-orange::before { background: radial-gradient(900px 300px at 85% -40%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(135deg, #b8460f, #6f2706); }
.aup-hero-gold { color: #2b1d00; }
.aup-hero-gold::before { background: radial-gradient(900px 320px at 85% -40%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(135deg, #f3c55c, #dc9f1d); }
.aup-hero-gold .aup-crumbs a, .aup-hero-gold .aup-crumbs span { color: #4a3300 !important; }
.aup-hero-gold .aup-hero-sub, .aup-hero-gold .aup-eyebrow { color: #4a3300; }
.aup-hero-gold .aup-hero-ic { background: rgba(255, 255, 255, .45); color: #6b4a00; }
.aup-hero-gold .aup-hero-stats > div { background: rgba(255, 255, 255, .42); border-color: rgba(255, 255, 255, .55); }
.aup-hero-gold .aup-hero-stats span { color: #4a3300; }
.aup-hero-gold .aup-btn-light { background: #2b1d00; border-color: #2b1d00; color: #fff !important; }
.aup-hero-gold .aup-btn-outline-light { color: #2b1d00 !important; border-color: rgba(43, 29, 0, .45); }
.aup-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .86rem; margin-bottom: 14px; }
.aup-crumbs a, .aup-crumbs span { color: rgba(255, 255, 255, .82) !important; }
.aup-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.aup-crumbs .aup-ic { width: 14px; height: 14px; opacity: .6; }
.aup-crumbs-dark a, .aup-crumbs-dark span { color: var(--aup-mut) !important; }
.aup-hero-body { display: flex; gap: 16px; align-items: flex-start; }
.aup-hero-ic { display: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .14); place-items: center; flex: none; margin-top: 6px; }
.aup-hero-ic .aup-ic { width: 28px; height: 28px; }
@media (min-width: 640px) { .aup-hero-ic { display: grid; } }
.aup-hero-text { max-width: 760px; }
.aup-eyebrow { font-size: .92rem; font-weight: 600; opacity: .9; margin: 0 0 4px !important; }
.aup-hero h1 { font-family: var(--aup-serif); font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 800; line-height: 1.25; letter-spacing: -.005em; }
.aup-hero-sub { margin: 10px 0 0 !important; font-size: 1.04rem; color: rgba(255, 255, 255, .88); max-width: 62ch; }
.aup-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.aup-hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.aup-hero-stats > div { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); min-width: 110px; }
.aup-hero-stats b { font-size: 1.45rem; font-weight: 700; line-height: 1.2; font-family: var(--aup-serif); }
.aup-hero-stats span { font-size: .86rem; color: rgba(255, 255, 255, .85); }
.aup-hero-search { display: flex; align-items: center; gap: 8px; margin-top: 18px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 14px; max-width: 620px; color: var(--aup-mut); box-shadow: var(--aup-sh-lg); }
.aup-hero-search input { flex: 1; border: 0; outline: 0; min-width: 0; padding: 8px 4px; color: var(--aup-ink); background: transparent; }
.aup-chips-light .aup-chip { background: rgba(255, 255, 255, .14); color: #fff !important; border-color: rgba(255, 255, 255, .22); }
.aup-chips-light .aup-chip:hover { background: rgba(255, 255, 255, .26); }
.aup-hero .aup-chips { margin-top: 12px; }

/* ---------- home hero ---------- */
.aup-home-hero { position: relative; overflow: hidden; color: #fff; background: var(--aup-g9); padding: 34px 0 20px; }
.aup-home-hero-bg { position: absolute; inset: 0; background:
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 420' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-linecap='round'%3E%3Cpath d='M-20 300 C180 250 300 340 520 300 S860 230 1040 280 1300 340 1460 290' stroke-opacity='.10' stroke-width='3'/%3E%3Cpath d='M-20 330 C200 290 340 370 560 330 S880 270 1060 312 1320 362 1460 322' stroke-opacity='.07' stroke-width='2'/%3E%3Cpath d='M-20 360 C220 330 360 396 600 360 S900 306 1080 344 1340 386 1460 352' stroke-opacity='.05' stroke-width='2'/%3E%3Cpath d='M-20 120 C240 70 420 160 700 110 S1100 60 1460 120' stroke='%23E5AC2E' stroke-opacity='.18' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
	radial-gradient(800px 380px at 92% 0%, rgba(229, 172, 46, .22), transparent 60%),
	radial-gradient(700px 400px at 0% 100%, rgba(255, 255, 255, .08), transparent 60%),
	linear-gradient(160deg, var(--aup-g8) 0%, var(--aup-g9) 70%); }
.aup-home-hero > .aup-wrap { position: relative; }
.aup-greet { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; margin: 0 0 14px !important; }
.aup-greet .aup-ic { color: var(--aup-gold); }
.aup-home-hero h1 { font-family: var(--aup-serif); font-weight: 800; font-size: clamp(3rem, 13vw, 6.4rem); line-height: 1.12; letter-spacing: -.01em; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .18); }
.aup-home-sub { font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 54ch; color: rgba(255, 255, 255, .9); margin: 10px 0 0 !important; }
.aup-home-search { display: flex; align-items: center; gap: 8px; margin-top: 22px; background: #fff; border-radius: 18px; padding: 6px 6px 6px 16px; max-width: 680px; color: var(--aup-mut); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.aup-home-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 4px; background: transparent; color: var(--aup-ink); font-size: 1.02rem; }
.aup-home-search .aup-btn { min-height: 46px; border-radius: 13px; padding: .5em 1.4em; }
.aup-marquee { margin: 22px -16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.aup-marquee-track { display: flex; gap: 8px; width: max-content; padding: 4px 16px; animation: aup-slide 60s linear infinite; }
.aup-marquee:hover .aup-marquee-track, .aup-marquee:focus-within .aup-marquee-track { animation-play-state: paused; }
.aup-hchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-weight: 600; font-size: .94rem; white-space: nowrap; }
.aup-hchip:hover { background: #fff; color: var(--aup-g9) !important; }
.aup-hchip .aup-ic { opacity: .85; }

/* area picker */
.aup-area-pick { margin-top: -2px; }
.aup-area-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: #fff; border: 1px solid var(--aup-line); border-radius: 0 0 var(--aup-r-lg) var(--aup-r-lg); padding: 14px; box-shadow: var(--aup-sh); }
.aup-area-text { display: flex; gap: 10px; align-items: center; color: var(--aup-ink2); }
.aup-area-text .aup-ic { width: 26px; height: 26px; color: var(--aup-g); }
.aup-area-text p { margin: 0 !important; font-size: .93rem; line-height: 1.4; }
.aup-area-form label { display: flex; flex-direction: column; gap: 2px; font-size: .8rem; color: var(--aup-mut); }
.aup-area-form select, .aup-area-form input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 42px; border: 1px solid var(--aup-line); border-radius: 10px; padding: 6px 10px; background: var(--aup-bg); font-size: .95rem; color: var(--aup-ink); }
.aup-area-text { grid-column: 1 / -1; }
.aup-area-form > label:first-of-type { display: none; }
.aup-area-form > label:nth-of-type(2) { grid-column: 1 / -1; }
@media (min-width: 640px) { .aup-area-form > label:first-of-type { display: flex; } .aup-area-form > label:nth-of-type(2) { grid-column: auto; } }
@media (min-width: 1000px) { .aup-area-form { grid-template-columns: 1.6fr 1fr 1fr 1fr .8fr auto; align-items: end; } .aup-area-text { grid-column: auto; } }
@media (max-width: 999px) { .aup-area-form .aup-btn { grid-column: 1 / -1; } }

/* ---------- sections ---------- */
.aup-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 34px 0 14px; flex-wrap: wrap; }
.aup-sec-head h2 { font-family: var(--aup-serif); font-size: clamp(1.3rem, 3.2vw, 1.7rem); font-weight: 700; }
.aup-sec-head p { margin: 4px 0 0 !important; }
.aup-sec-head .aup-eyebrow { color: var(--aup-g); opacity: 1; }
.aup-sec-head-c { justify-content: center; text-align: center; }
.aup-sec-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }
.aup-sec-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- need grid (home) ---------- */
.aup-need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.aup-need-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--aup-r); background: #fff; border: 1px solid var(--aup-line); color: var(--aup-ink) !important; min-height: 150px; transition: border-color .15s, box-shadow .15s; }
.aup-need-card:hover { border-color: var(--c, var(--aup-g)); box-shadow: var(--aup-sh); }
.aup-need-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--aup-g)) 12%, #fff); color: var(--c, var(--aup-g)); margin-bottom: 6px; }
.aup-need-ic .aup-ic { width: 22px; height: 22px; }
.aup-need-card strong { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.aup-need-desc { font-size: .86rem; color: var(--aup-mut); line-height: 1.45; }
.aup-need-count { position: absolute; top: 12px; right: 12px; font-size: .78rem; font-weight: 700; color: var(--c, var(--aup-g)); background: color-mix(in srgb, var(--c, var(--aup-g)) 10%, #fff); padding: 2px 8px; border-radius: 99px; }
.aup-mini-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 6px; }
.aup-mini-tags span { font-size: .76rem; padding: 1px 8px; border-radius: 99px; background: var(--aup-bg); border: 1px solid var(--aup-line); color: var(--aup-ink2); }
.aup-need-blood { grid-column: 1 / -1; --c: var(--aup-red); background: linear-gradient(150deg, #fff 30%, var(--aup-red1)); border-color: #f2cfcd; }
.aup-need-blood strong { font-size: 1.35rem; font-family: var(--aup-serif); }
.aup-bg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 6px; }
.aup-bg-grid span { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: #fff; border: 1px solid #f2cfcd; font-size: .95rem; font-weight: 600; color: var(--aup-ink2); line-height: 1.3; }
.aup-bg-grid b { color: var(--aup-red); font-size: 1.05rem; font-family: system-ui, sans-serif; }
.aup-need-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; font-size: .88rem; }
.aup-need-foot > span { color: var(--aup-g8); display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.aup-need-foot em { font-style: normal; font-weight: 700; color: var(--c, var(--aup-g)); display: inline-flex; align-items: center; gap: 4px; }
.aup-need-map { grid-column: 1 / -1; --c: var(--aup-g); background: linear-gradient(150deg, #fff 35%, var(--aup-g1)); }
@media (min-width: 760px) {
	.aup-need-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
	.aup-need-blood { grid-column: span 2; grid-row: span 2; padding: 22px; }
	.aup-need-map { grid-column: span 2; }
	.aup-bg-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- doctorate band ---------- */
.aup-doc-band { margin-top: 40px; padding: 30px 0; background: linear-gradient(180deg, var(--aup-gold1), #fffaf0); border-top: 1px solid #f2e2b6; border-bottom: 1px solid #f2e2b6; }
.aup-doc-head { display: grid; gap: 16px; align-items: end; }
.aup-doc-head .aup-eyebrow { color: var(--aup-gold-d); }
.aup-doc-head h2 { font-family: var(--aup-serif); font-size: clamp(1.35rem, 3.6vw, 2rem); color: #3b2a00; }
.aup-doc-head h2 span { display: block; font-weight: 600; font-size: .7em; color: #6b4a00; margin-top: 4px; }
.aup-doc-stats { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.aup-doc-big { display: flex; flex-direction: column; line-height: 1.1; }
.aup-doc-big b { font-family: var(--aup-serif); font-size: 2.8rem; color: var(--aup-gold-d); }
.aup-doc-big span { font-size: .85rem; color: #6b4a00; }
.aup-doc-stats ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; color: #6b4a00; }
.aup-doc-stats li b { font-size: 1.2rem; color: #3b2a00; }
@media (min-width: 900px) { .aup-doc-head { grid-template-columns: 1fr auto; } }
.aup-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 12px; overflow-x: auto; padding: 18px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.aup-hscroll > * { scroll-snap-align: start; }
.aup-dcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #efe1bd; border-radius: var(--aup-r); overflow: hidden; color: var(--aup-ink) !important; }
.aup-dcard:hover { border-color: var(--aup-gold); box-shadow: 0 10px 30px -18px rgba(120, 80, 0, .6); }
.aup-dcard-img { aspect-ratio: 4 / 4.4; background: #f6ecd2; overflow: hidden; }
.aup-dcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.aup-dcard-noimg { display: grid; place-items: center; font-family: var(--aup-serif); font-size: 3.4rem; color: #c49a3a; }
.aup-dcard-year { position: absolute; top: 10px; left: 10px; background: #3b2a00; color: #fff; font-size: .74rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.aup-dcard-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; flex: 1; }
.aup-dcard-body strong { font-size: 1rem; line-height: 1.35; }
.aup-dcard-body em { font-style: normal; color: var(--aup-gold-d); font-size: .86rem; font-weight: 600; }
.aup-dcard-body small { color: var(--aup-mut); font-size: .8rem; line-height: 1.4; }
.aup-dcard-go { margin-top: auto; padding-top: 6px; font-size: .84rem; font-weight: 700; color: var(--aup-g); display: inline-flex; align-items: center; gap: 4px; }
.aup-dcard-all { justify-content: center; align-items: center; text-align: center; padding: 20px; background: #3b2a00; color: #fff !important; border-color: #3b2a00; gap: 6px; }
.aup-dcard-all span { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.aup-dcard-all small { color: rgba(255, 255, 255, .75); }
.aup-dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .aup-dgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .aup-dgrid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- glance ---------- */
.aup-glance { display: grid; gap: 16px; margin-top: 36px; }
.aup-glance-main { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 20px; }
.aup-glance-main h2 { font-family: var(--aup-serif); font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 8px; }
.aup-glance-main > p { color: var(--aup-ink2); max-width: 64ch; }
.aup-glance-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.aup-glance-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.aup-glance-stats a { display: flex; flex-direction: column; padding: 14px; border-radius: var(--aup-r); background: var(--aup-g1); color: var(--aup-ink) !important; border: 1px solid transparent; }
.aup-glance-stats a:hover { border-color: var(--aup-g2); background: #fff; }
.aup-glance-stats b { font-family: var(--aup-serif); font-size: 1.9rem; line-height: 1.1; color: var(--aup-g); }
.aup-glance-stats span { font-weight: 600; font-size: .92rem; }
.aup-glance-stats small { color: var(--aup-mut); font-size: .8rem; }
@media (min-width: 760px) { .aup-glance-stats { grid-template-columns: repeat(4, 1fr); } .aup-glance-stats-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .aup-glance { grid-template-columns: 1.7fr 1fr; } .aup-glance-stats-6 { grid-template-columns: repeat(6, 1fr); } .aup-panel .aup-glance-stats-6 { grid-template-columns: repeat(3, 1fr); } }
.aup-latest { background: var(--aup-g9); color: #fff; border-radius: var(--aup-r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.aup-latest h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.aup-latest h3 .aup-ic { color: var(--aup-gold); }
.aup-latest-win { height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); }
.aup-latest-list { list-style: none; margin: 0; padding: 0; }
.aup-latest-list.is-moving { animation: aup-up 40s linear infinite; }
.aup-latest-win:hover .aup-latest-list { animation-play-state: paused; }
@keyframes aup-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.aup-latest-list li a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff !important; }
.aup-latest-list strong { display: block; font-size: .93rem; font-weight: 600; line-height: 1.35; }
.aup-latest-list small { color: rgba(255, 255, 255, .65); font-size: .78rem; }
.aup-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--aup-g)); flex: none; margin-top: 7px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--aup-g)) 25%, transparent); }
.aup-latest .aup-btn { background: var(--aup-gold); border-color: var(--aup-gold); color: #2a1d00 !important; }

/* ---------- two column blocks ---------- */
.aup-two { display: grid; gap: 0 22px; }
@media (min-width: 960px) { .aup-two { grid-template-columns: 1fr 1.5fr; } }
.aup-col { min-width: 0; }
.aup-notices, .aup-events { display: flex; flex-direction: column; gap: 8px; }
.aup-notice, .aup-event { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--aup-r); background: #fff; border: 1px solid var(--aup-line); color: var(--aup-ink) !important; }
.aup-notice:hover, .aup-event:hover { border-color: var(--aup-g2); box-shadow: var(--aup-sh); }
.aup-notice.is-imp { border-left: 4px solid var(--aup-orange); }
.aup-notice-body, .aup-event-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.aup-notice-body strong, .aup-event-body strong { font-weight: 600; line-height: 1.4; }
.aup-notice-body small, .aup-event-body small { color: var(--aup-mut); font-size: .84rem; display: flex; align-items: center; gap: 4px; }
.aup-notice-body .aup-badge { align-self: flex-start; }
.aup-event-go { color: var(--aup-mut); }
.aup-dateblock { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; min-height: 62px; border-radius: 12px; background: var(--aup-g1); color: var(--aup-g8); flex: none; line-height: 1.1; padding: 4px; text-align: center; }
.aup-dateblock b { font-family: var(--aup-serif); font-size: 1.5rem; }
.aup-dateblock small { font-size: .72rem; font-weight: 600; }
.aup-dateblock-sm { width: 52px; min-height: 52px; }
.aup-dateblock-sm b { font-size: 1.25rem; }
.aup-events-past .aup-event { opacity: .75; }
.aup-news-mix { display: grid; gap: 12px; }
.aup-news-side { display: grid; gap: 10px; }
@media (min-width: 700px) { .aup-news-mix { grid-template-columns: 1.25fr 1fr; } .aup-news-side .aup-acard a { flex-direction: row; } .aup-news-side .aup-acard-img { width: 110px; aspect-ratio: 1; flex: none; } }

/* ---------- article cards ---------- */
.aup-agrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .aup-agrid { grid-template-columns: repeat(2, 1fr); } .aup-agrid .aup-acard-big { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .aup-agrid { grid-template-columns: repeat(3, 1fr); } .aup-agrid .aup-acard-big { grid-column: span 2; grid-row: span 2; } .aup-agrid-3 .aup-acard-big { grid-column: auto; grid-row: auto; } }
.aup-acard a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); overflow: hidden; color: var(--aup-ink) !important; }
.aup-acard a:hover { border-color: var(--aup-g2); box-shadow: var(--aup-sh); }
.aup-acard-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--aup-g1); }
.aup-acard-img img { width: 100%; height: 100%; object-fit: cover; }
.aup-acard-noimg { display: grid; place-items: center; color: color-mix(in srgb, var(--c) 55%, #fff); background: color-mix(in srgb, var(--c) 8%, #fff); }
.aup-acard-noimg .aup-ic { width: 40px; height: 40px; }
.aup-acard-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.aup-acard-body strong { font-size: 1.02rem; line-height: 1.4; font-weight: 700; }
.aup-acard-big .aup-acard-body strong { font-family: var(--aup-serif); font-size: 1.35rem; }
.aup-acard-ex { color: var(--aup-ink2); font-size: .94rem; }
.aup-acard-date { margin-top: auto; color: var(--aup-mut); font-size: .82rem; display: inline-flex; align-items: center; gap: 4px; }
.aup-acard-body .aup-tag { align-self: flex-start; }

/* ---------- gallery ---------- */
.aup-gallery { columns: 2 160px; column-gap: 10px; }
.aup-gal-item { display: block; position: relative; margin-bottom: 10px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: var(--aup-g1); }
.aup-gal-item img { width: 100%; transition: transform .3s; }
.aup-gal-item:hover img { transform: scale(1.03); }
.aup-gal-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; font-size: .82rem; line-height: 1.3; }
@media (min-width: 900px) { .aup-gallery { columns: 4 200px; } .aup-gallery-home { columns: 3 160px; } }
.aup-videos { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .aup-videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aup-videos { grid-template-columns: repeat(3, 1fr); } }
.aup-video { margin: 0; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); overflow: hidden; }
.aup-video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; background: #000; }
.aup-video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.aup-video-play span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.aup-video-play span .aup-ic { width: 64px; height: 64px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .5)); }
.aup-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.aup-video figcaption { padding: 10px 12px; display: flex; flex-direction: column; }
.aup-video figcaption small { color: var(--aup-mut); }

/* ---------- earn band ---------- */
.aup-earn { position: relative; overflow: hidden; display: grid; gap: 18px; margin-top: 40px; padding: 24px; border-radius: var(--aup-r-lg); background: linear-gradient(135deg, var(--aup-g8), var(--aup-g9)); color: #fff; }
.aup-earn-deco { position: absolute; right: -10px; top: -20px; display: flex; gap: 6px; font-family: var(--aup-serif); font-size: 6rem; color: rgba(229, 172, 46, .14); pointer-events: none; transform: rotate(-8deg); }
.aup-earn-main { position: relative; }
.aup-earn .aup-eyebrow { color: var(--aup-gold); opacity: 1; }
.aup-earn h2 { font-family: var(--aup-serif); font-size: clamp(1.5rem, 3.8vw, 2.1rem); margin: 2px 0 8px; }
.aup-earn-main p { color: rgba(255, 255, 255, .85); max-width: 56ch; }
.aup-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; padding: 0; }
.aup-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-weight: 600; font-size: .92rem; }
.aup-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--aup-gold); color: #2a1d00; display: grid; place-items: center; font-size: .85rem; }
.aup-earn-list { position: relative; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--aup-r); padding: 16px; display: flex; flex-direction: column; gap: 10px; align-self: center; }
.aup-earn-list p { margin: 0 !important; font-size: .88rem; color: rgba(255, 255, 255, .75); }
.aup-earn-list div { display: flex; align-items: baseline; gap: 12px; }
.aup-earn-list b { font-family: var(--aup-serif); font-size: 1.7rem; color: var(--aup-gold); min-width: 64px; }
@media (min-width: 860px) { .aup-earn { grid-template-columns: 1.6fr 1fr; padding: 34px; } }

/* ---------- leaderboard ---------- */
.aup-leader { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .aup-leader { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aup-leader { grid-template-columns: repeat(4, 1fr); } }
.aup-leader a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); color: var(--aup-ink) !important; }
.aup-leader a:hover { border-color: var(--aup-g2); }
.aup-leader-rank { width: 26px; text-align: center; font-weight: 700; color: var(--aup-mut); }
.aup-leader-name { display: flex; flex-direction: column; min-width: 0; }
.aup-leader-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aup-leader-name small { color: var(--aup-mut); font-size: .8rem; line-height: 1.35; }
.aup-leader .is-top a { background: var(--aup-gold1); border-color: #efd98f; }
.aup-leader .is-top-1 .aup-leader-rank { color: var(--aup-gold-d); font-size: 1.2rem; }

/* ---------- SOS band ---------- */
.aup-sos { margin-top: 40px; background: #3a0d0b; color: #fff; padding: 30px 0; background-image: radial-gradient(700px 300px at 10% 0%, rgba(201, 48, 44, .55), transparent 60%); }
.aup-sos-in { display: grid; gap: 18px; }
.aup-sos .aup-eyebrow { color: #ffb4b0; opacity: 1; }
.aup-sos h2 { font-family: var(--aup-serif); font-size: clamp(1.5rem, 3.6vw, 2rem); }
.aup-sos-text p { color: rgba(255, 255, 255, .8); }
.aup-sos-big { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px; border-radius: 18px; background: var(--aup-red); color: #fff !important; margin: 6px 0 12px; box-shadow: 0 12px 30px -12px rgba(201, 48, 44, .9); }
.aup-sos-big span { font-size: .9rem; max-width: 9em; line-height: 1.3; }
.aup-sos-big b { font-family: var(--aup-serif); font-size: 2.6rem; line-height: 1; }
.aup-sos-big .aup-ic { width: 28px; height: 28px; }
.aup-sos-big:hover { background: var(--aup-red-d); color: #fff !important; }
.aup-sos-hero { margin-top: 18px; }
.aup-sos-list { display: grid; gap: 8px; align-content: start; }
.aup-sos-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; }
.aup-sos-list a span { flex: 1; font-size: .92rem; line-height: 1.35; }
.aup-sos-list a b { font-family: system-ui, sans-serif; font-size: 1.05rem; letter-spacing: .02em; }
.aup-sos-list a:hover { background: rgba(255, 255, 255, .14); }
@media (min-width: 860px) { .aup-sos-in { grid-template-columns: 1fr 1.3fr; align-items: center; } .aup-sos-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- lists, filters, tabs ---------- */
.aup-list { padding-top: 18px; }
.aup-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.aup-tabs::-webkit-scrollbar { display: none; }
.aup-tab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 13px; border-radius: 99px; background: #fff; border: 1px solid var(--aup-line); color: var(--aup-ink2) !important; font-weight: 600; font-size: .9rem; }
.aup-tab b { font-weight: 600; color: var(--aup-mut); font-size: .82rem; }
.aup-tab:hover { border-color: var(--aup-g2); color: var(--aup-g) !important; }
.aup-tab.is-on { background: var(--aup-g); border-color: var(--aup-g); color: #fff !important; }
.aup-tab.is-on b { color: rgba(255, 255, 255, .8); }
.aup-tab.is-zero { opacity: .6; }
.aup-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); padding: 10px; margin-bottom: 12px; }
.aup-filter-row { display: flex; gap: 8px; flex: 1 1 100%; min-width: 0; }
.aup-filter-q { flex: 1 1 100%; min-width: 0; display: flex; align-items: center; gap: 8px; border: 1px solid var(--aup-line); border-radius: 11px; padding: 0 12px; background: var(--aup-bg); color: var(--aup-mut); }
.aup-filter-q input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; color: var(--aup-ink); }
.aup-filter-q:focus-within { border-color: var(--aup-g); box-shadow: 0 0 0 3px var(--aup-g2); background: #fff; }
.aup-filter-solo { margin-bottom: 14px; background: #fff; }
.aup-filter-more { display: contents; }
.aup-filter-tg { display: none; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--aup-line); background: #fff; color: var(--aup-ink2); font-weight: 600; font-size: .92rem; cursor: pointer; }
.aup-filter-tg b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--aup-g); color: #fff; font-size: .74rem; display: inline-grid; place-items: center; }
.aup-filter.is-open .aup-filter-tg { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8); }
.aup-filter-sel { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; font-size: .78rem; color: var(--aup-mut); min-width: 0; }
.aup-filter-sel select, .aup-filter-sel input { width: 100%; min-height: 44px; border: 1px solid var(--aup-line); border-radius: 10px; padding: 6px 10px; background: var(--aup-bg); color: var(--aup-ink); font-size: .94rem; }
.aup-filter-toggles { flex: 1 1 100%; display: flex; gap: 6px; flex-wrap: wrap; }
.aup-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--aup-line); background: var(--aup-bg); font-weight: 600; font-size: .88rem; }
.aup-toggle input { accent-color: var(--aup-g); width: 18px; height: 18px; margin: 0; }
.aup-toggle:has(input:checked) { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8); }
.aup-filter .aup-btn { min-height: 44px; flex: 1 1 100%; }
.aup-filter .aup-link-btn { padding: 10px 4px; }
.aup-filter-reset { flex: 1 1 100%; justify-content: center; color: var(--aup-mut) !important; font-weight: 600; }
@media (min-width: 760px) {
	.aup-filter-row { flex: 2 1 260px; }
	.aup-filter-sel { flex: 1 1 150px; }
	.aup-filter .aup-btn { flex: 0 0 auto; }
	.aup-filter-reset { flex: 0 0 auto; }
	.aup-filter-toggles { order: 5; }
}
@media (max-width: 759px) {
	.aup-js .aup-filter-has-more .aup-filter-tg { display: inline-flex; }
	.aup-js .aup-filter-has-more:not(.is-open) .aup-filter-more { display: none; }
	.aup-js .aup-filter-has-more.is-open .aup-filter-more { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; animation: aup-pop .16s ease-out; }
}
.aup-result-count { margin: 6px 0 12px !important; color: var(--aup-ink2); }
.aup-tip { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--aup-gold1); color: #5b3d00; font-size: .9rem; border: 1px solid #f1dfae; margin: 0 0 14px !important; }
.aup-tip .aup-ic { margin-top: 3px; }

/* ---------- generic cards ---------- */
.aup-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .aup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aup-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.aup-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); padding: 14px; color: var(--aup-ink) !important; min-width: 0; }
a.aup-card:hover, .aup-card:hover { border-color: color-mix(in srgb, var(--c, var(--aup-g)) 35%, #fff); }
.aup-card-top { display: flex; gap: 12px; align-items: flex-start; }
.aup-card-head { min-width: 0; flex: 1; }
.aup-card-head h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.aup-card-head h3 a { color: var(--aup-ink) !important; }
.aup-card-head h3 a:hover { color: var(--aup-g) !important; }
.aup-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.aup-tag { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 99px; font-size: .78rem; font-weight: 600; background: color-mix(in srgb, var(--c, var(--aup-g)) 11%, #fff); color: color-mix(in srgb, var(--c, var(--aup-g)) 85%, #000); }
.aup-badge { display: inline-flex; align-items: center; padding: 1px 9px; border-radius: 99px; font-size: .76rem; font-weight: 600; background: var(--aup-bg); border: 1px solid var(--aup-line); color: var(--aup-ink2); }
.aup-badge-red { background: var(--aup-red1); border-color: #f2cfcd; color: var(--aup-red-d); }
.aup-badge-green { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8); }
.aup-av { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; background: var(--aup-g1); display: grid; place-items: center; }
.aup-av img { width: 100%; height: 100%; object-fit: cover; }
.aup-av-txt { border-radius: 50%; background: color-mix(in srgb, var(--c, var(--aup-g)) 14%, #fff); color: var(--c, var(--aup-g)); font-weight: 700; font-size: 1.3rem; font-family: var(--aup-serif); }
.aup-av-ic { background: color-mix(in srgb, var(--c, var(--aup-g)) 11%, #fff); color: var(--c, var(--aup-g)); }
.aup-av-ic .aup-ic { width: 24px; height: 24px; }
.aup-av-xl { width: 76px; height: 76px; font-size: 2rem; }
.aup-card-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: var(--aup-ink2); }
.aup-card-meta li { display: flex; gap: 7px; align-items: flex-start; line-height: 1.45; }
.aup-card-meta li .aup-ic { color: var(--aup-mut); margin-top: 3px; }
.aup-card-meta em { font-style: normal; color: var(--aup-mut); }
.aup-card-loc { display: flex; gap: 6px; align-items: flex-start; font-size: .86rem; color: var(--aup-mut); margin: 0 !important; line-height: 1.45; }
.aup-card-loc .aup-ic { margin-top: 3px; }
.aup-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.aup-card-actions .aup-btn { flex: 1; }

/* pagination & empty */
.aup-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 22px 0 6px; }
.aup-page { min-width: 40px; height: 40px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--aup-line); color: var(--aup-ink2) !important; font-weight: 600; }
.aup-page:hover { border-color: var(--aup-g); }
.aup-page.is-on { background: var(--aup-g); border-color: var(--aup-g); color: #fff !important; }
.aup-page-gap { align-self: center; color: var(--aup-mut); }
.aup-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 38px 18px; background: #fff; border: 1px dashed var(--aup-line); border-radius: var(--aup-r-lg); color: var(--aup-mut); }
.aup-empty > .aup-ic { width: 44px; height: 44px; color: var(--aup-g2); }
.aup-empty p { max-width: 46ch; margin: 0 !important; }
.aup-empty-sm { padding: 20px; flex-direction: row; justify-content: center; }
.aup-empty-sm > .aup-ic { width: 24px; height: 24px; color: var(--aup-g); }
.aup-404 { padding: 40px 16px; }
.aup-404 h1 { font-family: var(--aup-serif); color: var(--aup-ink); }

/* ---------- panels / detail ---------- */
.aup-panel { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 18px; margin-bottom: 14px; min-width: 0; }
.aup-panel h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.aup-panel h2 .aup-ic, .aup-panel h3 .aup-ic { color: var(--aup-g); }
.aup-panel h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.aup-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.aup-panel-head h2 { margin: 0; }
.aup-dhero { background: linear-gradient(180deg, color-mix(in srgb, var(--c, var(--aup-g)) 10%, #fff), var(--aup-bg)); border-bottom: 1px solid var(--aup-line); padding: 18px 0 22px; }
.aup-dhero .aup-crumbs a, .aup-dhero .aup-crumbs span { color: var(--aup-mut) !important; }
.aup-dhero-in { display: flex; gap: 16px; align-items: center; }
.aup-dhero-in .aup-av { width: 84px; height: 84px; border-radius: 20px; }
.aup-dhero-in .aup-av-txt { border-radius: 50%; font-size: 2.2rem; }
.aup-dhero h1 { font-family: var(--aup-serif); font-size: clamp(1.5rem, 4vw, 2.2rem); margin-top: 6px; }
.aup-dhero-place { display: flex; align-items: center; gap: 6px; color: var(--aup-mut); margin: 4px 0 0 !important; }
.aup-detail { display: grid; gap: 14px; padding-top: 18px; }
@media (min-width: 960px) { .aup-detail { grid-template-columns: 1fr 340px; align-items: start; } .aup-detail-side { position: sticky; top: 90px; } }
.aup-detail-main, .aup-detail-side { min-width: 0; }
.aup-detail-img { margin: 0 0 14px; border-radius: var(--aup-r-lg); overflow: hidden; }
.aup-facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.aup-fact { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--aup-line2); }
.aup-fact:last-child { border-bottom: 0; }
.aup-fact dt { color: var(--aup-mut); font-size: .9rem; display: flex; gap: 6px; align-items: flex-start; }
.aup-fact dt .aup-ic { margin-top: 4px; }
.aup-fact dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.aup-fact-flag { display: flex; gap: 8px; align-items: center; color: var(--aup-g8); font-weight: 600; grid-template-columns: none; }
@media (max-width: 480px) { .aup-fact { grid-template-columns: 1fr; gap: 0; } }
.aup-facts-inline { grid-template-columns: 1fr; margin: 12px 0; }
@media (min-width: 760px) { .aup-facts-inline { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.aup-prose { font-size: 1.02rem; line-height: 1.8; overflow-wrap: anywhere; }
.aup-prose h2 { font-family: var(--aup-serif); font-size: 1.3rem; margin: 1.2em 0 .5em; }
.aup-prose h2:first-child { margin-top: 0; }
.aup-prose ul, .aup-prose ol { padding-left: 1.4em; }
.aup-prose img { border-radius: 12px; }
.aup-prose h3 { font-family: var(--aup-serif); font-size: 1.08rem; color: var(--aup-g9); margin: 1.2em 0 .45em; }
.aup-prose ul.aup-inline-list { list-style: none; padding: 0; margin: .4em 0 .6em; display: flex; flex-wrap: wrap; gap: 6px; }
.aup-prose ul.aup-inline-list li { background: var(--aup-g1); border: 1px solid var(--aup-g2); color: var(--aup-g9); border-radius: 999px; padding: 2px 12px; font-size: .92rem; line-height: 1.7; }
.aup-note { color: var(--aup-mut); font-size: .86rem; line-height: 1.6; }
.aup-prose .aup-note:last-child { margin-bottom: 0; border-top: 1px dashed var(--aup-line); padding-top: 10px; margin-top: 16px; }
.aup-upz-glance { margin-top: 18px; }
.aup-upz-glance .aup-panel h2 { display: flex; align-items: center; gap: 8px; }
.aup-upz-glance .aup-note { margin: 12px 0 0; }
.aup-prose-page { max-width: 820px; margin: 24px auto 0; padding: 24px; }
.aup-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.aup-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.aup-mapbox { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 10px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.aup-minimap { position: relative; overflow: hidden; height: 260px; border-radius: 12px; background: var(--aup-g1); }
.aup-contact { display: flex; flex-direction: column; gap: 8px; }
.aup-callrow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--aup-g); color: #fff !important; }
.aup-callrow:hover { background: var(--aup-g8); }
.aup-callrow-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.aup-callrow > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.aup-callrow small { opacity: .85; font-size: .8rem; }
.aup-callrow b { font-size: 1.15rem; letter-spacing: .02em; }
.aup-callrow em { font-style: normal; font-weight: 700; background: #fff; color: var(--aup-g9); padding: 4px 12px; border-radius: 99px; font-size: .86rem; }
.aup-wa-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: #128C4A !important; padding: 0 4px 6px; }
.aup-side-note p { display: flex; gap: 8px; font-size: .9rem; color: var(--aup-ink2); }
.aup-side-note p .aup-ic { margin-top: 3px; color: var(--aup-mut); flex: none; }
.aup-credit { display: flex; gap: 6px; align-items: center; font-size: .9rem; color: var(--aup-ink2); margin: 10px 0 !important; }
.aup-credit .aup-ic { color: var(--aup-red); }
.aup-related { padding-bottom: 6px; }

/* ---------- article ---------- */
.aup-article { max-width: 860px; padding-top: 22px; }
.aup-article-head h1 { font-family: var(--aup-serif); font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.3; margin: 8px 0 10px; }
.aup-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--aup-mut); font-size: .92rem; }
.aup-article-meta > span { display: inline-flex; align-items: flex-start; gap: 5px; }
.aup-article-meta > span + span { margin-left: 8px; }
.aup-article-meta > span .aup-ic { margin-top: 3px; }
.aup-article-img { margin: 16px 0 18px; border-radius: var(--aup-r-lg); overflow: hidden; }
.aup-article-img img { width: 100%; }
.aup-article .aup-prose { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 20px; margin-bottom: 14px; }
.aup-event-box { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 16px; margin: 14px 0; }
.aup-event-box .aup-dateblock { width: 80px; min-height: 80px; }
.aup-event-box > div { flex: 1; min-width: 0; }

/* ---------- blood ---------- */
.aup-why { display: grid; gap: 18px; margin-top: 30px; }
.aup-why-text .aup-eyebrow { color: var(--aup-red); opacity: 1; }
.aup-why-text h2 { font-family: var(--aup-serif); font-size: clamp(1.4rem, 3.6vw, 2rem); margin: 0 0 10px; }
.aup-why-text p { color: var(--aup-ink2); }
.aup-why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.aup-why-list li { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); }
.aup-why-list li > .aup-ic { width: 38px; height: 38px; padding: 8px; border-radius: 12px; background: var(--aup-red1); color: var(--aup-red); }
.aup-why-list strong { display: block; margin-bottom: 2px; }
.aup-why-list span { font-size: .92rem; color: var(--aup-ink2); }
@media (min-width: 900px) { .aup-why { grid-template-columns: 1fr 1fr; align-items: center; } .aup-why-list { grid-template-columns: 1fr 1fr; } }
.aup-need-reqs { display: grid; gap: 10px; }
@media (min-width: 760px) { .aup-need-reqs { grid-template-columns: repeat(2, 1fr); } }
.aup-need-req { display: flex; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid #f2cfcd; border-left: 5px solid var(--aup-red); border-radius: var(--aup-r); flex-wrap: wrap; }
.aup-urg-normal { border-left-color: #e79a98; }
.aup-bg-big { width: 64px; height: 64px; border-radius: 50%; background: var(--aup-red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; font-family: system-ui, sans-serif; flex: none; }
.aup-need-req-body { flex: 1; min-width: 180px; }
.aup-need-req-when { margin: 0 !important; color: var(--aup-ink2); }
.aup-need-req-when b { color: var(--aup-red-d); }
.aup-urg-critical .aup-need-req-when span { color: #fff; background: var(--aup-red); padding: 0 8px; border-radius: 99px; font-size: .82rem; font-weight: 700; }
.aup-need-req-where { display: flex; gap: 6px; align-items: center; margin: 2px 0 0 !important; font-weight: 600; }
.aup-need-req-note { margin: 2px 0 0 !important; font-size: .88rem; color: var(--aup-mut); }
.aup-bg-tabs .aup-tab { font-family: system-ui, sans-serif; }
.aup-bg-tabs .aup-tab.is-on { background: var(--aup-red); border-color: var(--aup-red); }
.aup-blood .aup-tab.is-on { background: var(--aup-red); border-color: var(--aup-red); }
.aup-donors { display: grid; gap: 10px; }
@media (min-width: 760px) { .aup-donors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .aup-donors { grid-template-columns: repeat(3, 1fr); } }
.aup-donor { position: relative; display: flex; gap: 12px; align-items: center; padding: 14px 14px 14px 12px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); flex-wrap: wrap; }
.aup-donor-bg { position: absolute; top: -1px; right: -1px; background: var(--aup-red); color: #fff; font-weight: 800; font-family: system-ui, sans-serif; padding: 4px 12px; border-radius: 0 var(--aup-r) 0 12px; font-size: .95rem; }
.aup-donor .aup-av { width: 50px; height: 50px; border-radius: 50%; }
.aup-donor-body { flex: 1; min-width: 150px; padding-right: 44px; }
.aup-donor-body h3 { font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.aup-donor-loc { display: flex; gap: 5px; align-items: flex-start; font-size: .86rem; color: var(--aup-mut); margin: 2px 0 0 !important; line-height: 1.4; }
.aup-donor-loc .aup-ic { margin-top: 2px; }
.aup-donor-last { font-size: .82rem; color: var(--aup-ink2); margin: 4px 0 0 !important; line-height: 1.45; }
.aup-donor-last b { color: #8a5a00; font-weight: 600; }
.aup-donor > .aup-btn { flex: 1 1 100%; }
.aup-donor-resting, .aup-donor-off { background: #fbfcfb; }
.aup-pill { display: inline-flex; align-items: center; padding: 0 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; line-height: 1.7; }
.aup-pill-available { background: #DDF3E6; color: #0b6a3c; }
.aup-pill-resting { background: #FFF1D0; color: #8a5a00; }
.aup-pill-off { background: #ECEFED; color: #5D6E65; }

/* ---------- complaints / requests / feed ---------- */
.aup-issues { display: grid; gap: 10px; }
.aup-issue { display: flex; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); }
.aup-issue-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aup-issue h3 { font-size: 1.08rem; line-height: 1.4; }
.aup-issue h3 a { color: var(--aup-ink) !important; }
.aup-issue-where { display: flex; gap: 6px; align-items: flex-start; color: var(--aup-mut); font-size: .86rem; margin: 0 !important; }
.aup-issue-where .aup-ic { margin-top: 3px; }
.aup-issue-ex { margin: 2px 0 0 !important; color: var(--aup-ink2); font-size: .94rem; }
.aup-issue-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.aup-issue-img { width: 96px; flex: none; border-radius: 12px; overflow: hidden; align-self: flex-start; aspect-ratio: 1; }
.aup-issue-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .aup-issue-img { width: 150px; aspect-ratio: 4 / 3; } }
.aup-vote { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--aup-line); background: #fff; cursor: pointer; font-weight: 600; color: var(--aup-ink2); font-size: .88rem; }
.aup-vote b { font-weight: 700; color: var(--aup-ink); }
.aup-vote:hover { border-color: var(--aup-g); color: var(--aup-g); }
.aup-vote.is-voted { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8); }
.aup-vote-big { padding: 10px 18px; font-size: 1rem; background: var(--aup-g); border-color: var(--aup-g); color: #fff; }
.aup-vote-big b { color: #fff; font-size: 1.1rem; }
.aup-vote-big:hover { background: var(--aup-g8); color: #fff; }
.aup-vote-big.is-voted { background: var(--aup-g1); color: var(--aup-g8); }
.aup-vote-big.is-voted b { color: var(--aup-g8); }
.aup-st-submitted { background: #ECEFED; color: #4a5a52; }
.aup-st-verifying { background: #FFF1D0; color: #8a5a00; }
.aup-st-forwarded { background: #E3EDFA; color: #23548f; }
.aup-st-working { background: #FDE8D7; color: #a03a0b; }
.aup-st-resolved { background: #DDF3E6; color: #0b6a3c; }
.aup-st-open { background: #E3EDFA; color: #23548f; }
.aup-st-off { background: #ECEFED; color: #5D6E65; }
.aup-track { list-style: none; margin: 16px 0; padding: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); counter-reset: s; }
.aup-track li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: .76rem; color: var(--aup-mut); line-height: 1.3; }
.aup-track li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--aup-line); z-index: 0; }
.aup-track li:first-child::before { display: none; }
.aup-track li span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--aup-line); display: grid; place-items: center; font-weight: 700; }
.aup-track li em { font-style: normal; }
.aup-track li.is-done::before, .aup-track li.is-now::before { background: var(--aup-g); }
.aup-track li.is-done span, .aup-track li.is-now span { background: var(--aup-g); border-color: var(--aup-g); color: #fff; }
.aup-track li.is-now em { color: var(--aup-g8); font-weight: 700; }
.aup-issue-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--aup-r-lg); background: var(--aup-g1); border: 1px solid var(--aup-g2); margin-bottom: 14px; }
.aup-issue-support > div strong { display: block; }
.aup-issue-support > div span { font-size: .9rem; color: var(--aup-ink2); }
.aup-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--aup-g2); }
.aup-timeline li { position: relative; padding: 0 0 14px 12px; }
.aup-timeline li::before { content: ''; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--aup-g); box-shadow: 0 0 0 3px #fff; }
.aup-timeline b { display: block; font-size: .86rem; color: var(--aup-mut); font-weight: 600; }
.aup-feed-wrap { display: grid; gap: 16px; padding-top: 18px; }
@media (min-width: 960px) { .aup-feed-wrap { grid-template-columns: 1fr 320px; align-items: start; } .aup-feed-side { position: sticky; top: 90px; } }
.aup-feed-main { min-width: 0; }
.aup-fitem { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 14px 16px; margin-bottom: 10px; }
.aup-fitem-top { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; margin-bottom: 6px; }
.aup-fitem-type { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c); }
.aup-fitem-body { display: flex; gap: 12px; }
.aup-fitem-body > div { flex: 1; min-width: 0; }
.aup-fitem h3 { font-size: 1.1rem; line-height: 1.4; }
.aup-fitem h3 a { color: var(--aup-ink) !important; }
.aup-fitem-loc { display: flex; gap: 5px; align-items: center; font-size: .86rem; color: var(--aup-mut); margin: 3px 0 0 !important; }
.aup-fitem-ex { margin: 6px 0 0 !important; color: var(--aup-ink2); font-size: .95rem; }
.aup-fitem-img { width: 110px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; flex: none; }
.aup-fitem-img img { width: 100%; height: 100%; object-fit: cover; }
.aup-fitem-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--aup-line2); }
.aup-fitem-share { margin-left: auto; display: flex; gap: 6px; }
.aup-fitem-share a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--aup-bg); color: var(--aup-ink2) !important; }
.aup-fitem-share a:hover { background: var(--aup-g1); color: var(--aup-g) !important; }
.aup-toplist { margin: 0; padding-left: 1.4em; list-style: bengali; display: flex; flex-direction: column; gap: 8px; }
.aup-toplist li { padding-left: 2px; }
.aup-toplist li a, .aup-toplist li > span:first-child { display: block; font-weight: 600; color: var(--aup-ink) !important; line-height: 1.4; }
.aup-toplist li > span:last-child, .aup-toplist li > b { display: inline-flex; gap: 4px; align-items: center; font-size: .85rem; color: var(--aup-g8); }
.aup-write-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.aup-write-links a { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 12px; background: var(--aup-bg); color: var(--aup-ink2) !important; font-weight: 600; font-size: .88rem; }
.aup-write-links a:hover { background: var(--aup-g1); color: var(--aup-g) !important; }

/* ---------- emergency ---------- */
.aup-egroup { margin-top: 18px; }
.aup-egroup h2 { font-family: var(--aup-serif); font-size: 1.25rem; margin-bottom: 10px; padding-left: 12px; border-left: 4px solid var(--aup-red); }
.aup-ecards { display: grid; gap: 10px; }
@media (min-width: 760px) { .aup-ecards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .aup-ecards { grid-template-columns: repeat(3, 1fr); } }
.aup-ecard { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); }
.aup-ecard h3 { font-size: 1rem; line-height: 1.4; }
.aup-ecard-body p { margin: 4px 0 0 !important; font-size: .88rem; display: flex; gap: 5px; align-items: flex-start; }
.aup-ecard-nums { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.aup-ecall { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: var(--aup-red); color: #fff !important; }
.aup-ecall b { font-size: 1.12rem; letter-spacing: .02em; }
.aup-ecall:hover { background: var(--aup-red-d); }
.aup-ecard-nums small { color: var(--aup-mut); font-size: .8rem; }

/* ---------- citizen services ---------- */
.aup-services { display: grid; gap: 10px; }
.aup-svc { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); overflow: hidden; }
.aup-svc[open] { border-color: color-mix(in srgb, var(--aup-blue) 40%, #fff); box-shadow: var(--aup-sh); }
.aup-svc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
.aup-svc summary::-webkit-details-marker { display: none; }
.aup-svc-ic { width: 44px; height: 44px; border-radius: 12px; background: #E8F0FA; color: var(--aup-blue); display: grid; place-items: center; flex: none; }
.aup-svc-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aup-svc-title strong { font-size: 1.05rem; }
.aup-svc-title > span { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.aup-svc-title em { font-style: normal; font-size: .82rem; color: var(--aup-mut); display: inline-flex; gap: 4px; align-items: center; }
.aup-svc-chev { color: var(--aup-mut); transition: transform .2s; }
.aup-svc[open] .aup-svc-chev { transform: rotate(180deg); }
.aup-svc-body { padding: 0 16px 16px; border-top: 1px solid var(--aup-line2); }
.aup-svc-desc { margin: 12px 0 !important; color: var(--aup-ink2); }
.aup-svc-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .aup-svc-grid { grid-template-columns: 1fr 1fr; } }
.aup-svc-grid h4 { font-size: .95rem; display: flex; gap: 6px; align-items: center; margin-bottom: 6px; color: var(--aup-blue); }
.aup-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.aup-checks li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.aup-checks li .aup-ic { color: var(--aup-g); margin-top: 4px; }
.aup-steps-v { margin: 0; padding-left: 1.4em; list-style: bengali; display: flex; flex-direction: column; gap: 6px; }
.aup-svc-req { margin-top: 10px; }

/* ---------- unions / villages ---------- */
.aup-unions { display: grid; gap: 10px; }
@media (min-width: 640px) { .aup-unions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aup-unions { grid-template-columns: repeat(3, 1fr); } }
.aup-union { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); color: var(--aup-ink) !important; }
.aup-union:hover { border-color: var(--aup-g2); box-shadow: var(--aup-sh); }
.aup-union-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aup-g1); color: var(--aup-g); flex: none; }
.aup-union-no { font-size: 1.12rem; font-weight: 700; line-height: 1; }
.aup-union-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aup-union-body strong { font-size: 1.04rem; }
.aup-union-body small { color: var(--aup-ink2); font-size: .85rem; }
.aup-union-body em { font-style: normal; color: var(--aup-mut); font-size: .8rem; }
.aup-union > .aup-ic { color: var(--aup-mut); }
.aup-vgroup { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); padding: 14px; margin-bottom: 10px; }
.aup-vgroup h3 { font-size: 1.02rem; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.aup-vgroup h3 .aup-muted { font-weight: 500; font-size: .85rem; }
.aup-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aup-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--aup-bg); border: 1px solid var(--aup-line); color: var(--aup-ink2) !important; font-size: .9rem; font-weight: 500; }
a.aup-chip:hover { border-color: var(--aup-g2); color: var(--aup-g) !important; background: var(--aup-g1); }
.aup-chip-strong { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8) !important; font-weight: 600; }
.aup-sec-hits { margin-bottom: 10px; }

/* ---------- search results ---------- */
.aup-hero-find { padding-bottom: 26px; }
.aup-hero-find h1 { font-size: 1.6rem; }
.aup-hero-find .aup-home-search { margin-top: 14px; }
.aup-sgroup { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 14px 16px; margin-bottom: 12px; }
.aup-sgroup-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.aup-sgroup-head h2 { font-size: 1.05rem; display: flex; gap: 8px; align-items: center; }
.aup-sgroup-head h2 .aup-ic { color: var(--aup-g); }
.aup-slist { list-style: none; margin: 0; padding: 0; }
.aup-slist li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--aup-line2); }
.aup-slist li > a:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--aup-ink) !important; }
.aup-slist li > a:first-child:hover strong { color: var(--aup-g); }
.aup-slist strong { font-weight: 600; }
.aup-slist small { color: var(--aup-mut); font-size: .84rem; }

/* ---------- forms ---------- */
.aup-form { display: flex; flex-direction: column; gap: 12px; }
.aup-label { display: block; font-weight: 600; font-size: .92rem; color: var(--aup-ink2); }
.aup-label > input, .aup-label > select, .aup-label > textarea { display: block; margin-top: 5px; }
.aup-label > .aup-help { display: block; margin-top: 3px; }
.aup-form input[type=text], .aup-form input[type=tel], .aup-form input[type=email], .aup-form input[type=url], .aup-form input[type=password], .aup-form input[type=date], .aup-form input[type=time], .aup-form input[type=search], .aup-form input[type=file], .aup-form select, .aup-form textarea { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #cfdbd4; border-radius: 12px; background: #fff; font-weight: 400; font-size: 1rem; color: var(--aup-ink); }
.aup-form textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.aup-form input:focus, .aup-form select:focus, .aup-form textarea:focus { outline: 0; border-color: var(--aup-g); box-shadow: 0 0 0 3px var(--aup-g2); }
.aup-form input[disabled] { background: var(--aup-bg); color: var(--aup-mut); }
.aup-form-2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .aup-form-2 { grid-template-columns: 1fr 1fr; } }
.aup-form-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .aup-form-grid { grid-template-columns: 1fr 1fr; } .aup-fwrap-wide { grid-column: 1 / -1; } }
.aup-fwrap { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aup-help { font-size: .8rem; color: var(--aup-mut); font-weight: 400; }
.aup-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .93rem; line-height: 1.5; color: var(--aup-ink2); }
.aup-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--aup-g); flex: none; }
.aup-form-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.aup-form-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.aup-form-inline .aup-label { flex: 1 1 200px; }
.aup-inline { display: inline; }
.aup-submit { max-width: 860px; padding-top: 18px; }
.aup-file input { padding: 8px; }
.aup-radio-row { display: flex; flex-wrap: wrap; gap: 6px; }
.aup-radio-row label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--aup-line); border-radius: 99px; cursor: pointer; font-size: .9rem; }
.aup-radio-row label:has(input:checked) { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8); font-weight: 600; }
.aup-radio-row input { accent-color: var(--aup-g); }

/* flash */
.aup-flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin: 14px 0 0 !important; font-weight: 500; }
.aup-flash .aup-ic { margin-top: 3px; }
.aup-flash-ok { background: #DDF3E6; color: #0b5a33; border: 1px solid #b8e3c9; }
.aup-flash-err { background: var(--aup-red1); color: var(--aup-red-d); border: 1px solid #f2cfcd; }
.aup-flash-info { background: var(--aup-gold1); color: #5b3d00; border: 1px solid #f1dfae; }
.aup-submit .aup-flash { margin: 0 0 12px !important; }

/* ---------- auth & profile ---------- */
.aup-auth { padding: 30px 16px 10px; display: flex; justify-content: center; }
.aup-auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 24px; box-shadow: var(--aup-sh); }
.aup-auth-wide { max-width: 620px; }
.aup-auth-head { text-align: center; margin-bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.aup-auth-head h1 { font-family: var(--aup-serif); font-size: 1.5rem; }
.aup-auth-head p { margin: 0 !important; }
.aup-auth-alt { text-align: center; margin: 16px 0 0 !important; font-size: .93rem; line-height: 1.9; }
.aup-prof-hero { background: linear-gradient(135deg, var(--aup-g8), var(--aup-g9)); color: #fff; padding: 26px 0; }
.aup-prof-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.aup-prof-hero h1 { font-family: var(--aup-serif); font-size: 1.6rem; }
.aup-prof-hero p { margin: 2px 0 0 !important; display: flex; gap: 6px; align-items: center; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.aup-prof-hero .aup-av-xl { background: #fff; color: var(--aup-g); }
.aup-prof-hero .aup-hero-stats { margin: 0 0 0 auto; }
.aup-prof { display: grid; gap: 14px; padding-top: 18px; }
@media (min-width: 960px) { .aup-prof { grid-template-columns: 1fr 340px; align-items: start; } }
.aup-prof-main, .aup-prof-side { min-width: 0; }
.aup-prof-side .aup-panel > .aup-btn + .aup-btn { margin-top: 8px; }
.aup-mylist { list-style: none; margin: 0; padding: 0; }
.aup-mylist li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--aup-line2); }
.aup-mylist li:last-child { border-bottom: 0; }
.aup-mylist-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aup-mylist-t small { color: var(--aup-mut); font-size: .8rem; }
.aup-earn-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px; border-radius: 14px; background: var(--aup-gold1); border: 1px solid #f1dfae; margin-bottom: 14px; }
.aup-earn-box small { display: block; color: #6b4a00; }
.aup-earn-box b { font-family: var(--aup-serif); font-size: 1.8rem; color: #3b2a00; }
.aup-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: .9rem; }
.aup-table th, .aup-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--aup-line2); vertical-align: top; }
.aup-table th { color: var(--aup-mut); font-weight: 600; font-size: .82rem; }
.aup-neg { color: var(--aup-red-d); white-space: nowrap; }
.aup-pos { color: var(--aup-g8); white-space: nowrap; }

/* contribute */
.aup-steps-big { list-style: none; margin: 24px 0 14px; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .aup-steps-big { grid-template-columns: repeat(3, 1fr); } }
.aup-steps-big li { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 18px; }
.aup-steps-big b { width: 38px; height: 38px; border-radius: 12px; background: var(--aup-gold); color: #2a1d00; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 10px; }
.aup-steps-big h3 { font-size: 1.08rem; margin-bottom: 4px; }
.aup-steps-big p { margin: 0 !important; color: var(--aup-ink2); font-size: .93rem; }
.aup-values h2 { font-family: var(--aup-serif); }
.aup-values > p { color: var(--aup-ink2); }
.aup-reward-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .aup-reward-grid { grid-template-columns: repeat(4, 1fr); } }
.aup-reward { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); color: var(--aup-ink) !important; }
.aup-reward:hover { border-color: var(--c); box-shadow: var(--aup-sh); }
.aup-reward-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 11%, #fff); color: var(--c); margin-bottom: 4px; }
.aup-reward strong { font-size: .97rem; line-height: 1.35; }
.aup-reward b { font-family: var(--aup-serif); font-size: 1.6rem; color: var(--aup-gold-d); line-height: 1.1; }
.aup-reward em { margin-top: auto; font-style: normal; font-weight: 700; color: var(--aup-g); font-size: .86rem; display: inline-flex; gap: 4px; align-items: center; padding-top: 4px; }
.aup-reward-free { background: var(--aup-bg); }
.aup-faq { display: grid; gap: 8px; }
.aup-faq details { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r); }
.aup-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; cursor: pointer; }
.aup-faq summary::-webkit-details-marker { display: none; }
.aup-faq details[open] summary .aup-ic { transform: rotate(180deg); }
.aup-faq p { padding: 0 16px 14px; margin: 0 !important; color: var(--aup-ink2); }

/* ---------- map ---------- */
.aup-mapwrap { display: grid; gap: 12px; padding-top: 18px; }
@media (min-width: 960px) { .aup-mapwrap { grid-template-columns: 280px 1fr; } }
.aup-map-side { background: #fff; border: 1px solid var(--aup-line); border-radius: var(--aup-r-lg); padding: 14px; align-self: start; }
.aup-map-side h3 { font-size: .98rem; display: flex; gap: 6px; align-items: center; margin: 4px 0 8px; }
.aup-layer { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: .93rem; }
.aup-layer .aup-dot { margin-top: 0; }
.aup-layer b { margin-left: auto; font-weight: 600; color: var(--aup-mut); font-size: .84rem; }
.aup-layer input { accent-color: var(--aup-g); }
.aup-map-unions { display: flex; flex-wrap: wrap; gap: 4px; }
.aup-map-unions a { font-size: .84rem; padding: 3px 9px; border-radius: 99px; background: var(--aup-bg); border: 1px solid var(--aup-line); color: var(--aup-ink2) !important; }
.aup-map { min-height: 520px; height: 70vh; border-radius: var(--aup-r-lg); overflow: hidden; border: 1px solid var(--aup-line); background: var(--aup-g1); position: relative; z-index: 1; }
.aup-map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--aup-mut); margin: 0 !important; }
.aup-map-pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.leaflet-popup-content { font-family: var(--aup-font); }

/* ---------- quiz ---------- */
.aup-quiz-wrap { display: grid; gap: 14px; padding-top: 18px; }
@media (min-width: 960px) { .aup-quiz-wrap { grid-template-columns: 1fr 320px; align-items: start; } }
.aup-q { border: 1px solid var(--aup-line); border-radius: var(--aup-r); padding: 12px 14px; margin: 0; }
.aup-q legend { font-weight: 600; padding: 0 6px; line-height: 1.5; }
.aup-q-opts { display: grid; gap: 6px; margin-top: 6px; }
@media (min-width: 640px) { .aup-q-opts { grid-template-columns: 1fr 1fr; } }
.aup-q-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--aup-line); cursor: pointer; }
.aup-q-opt:has(input:checked) { border-color: var(--aup-gold); background: var(--aup-gold1); }
.aup-q-opt input { accent-color: var(--aup-gold-d); width: 18px; height: 18px; }
.aup-q-opt.is-right { border-color: #2ea56a; background: #DDF3E6; }
.aup-q-opt.is-wrong { border-color: var(--aup-red); background: var(--aup-red1); }
.aup-quiz-result { padding: 16px; border-radius: 14px; background: var(--aup-gold1); border: 1px solid #f1dfae; text-align: center; }
.aup-quiz-result b { display: block; font-family: var(--aup-serif); font-size: 2.4rem; color: var(--aup-gold-d); }
.aup-quiz-card { text-decoration: none; }

/* ---------- page tools (share, enrich) ---------- */
.aup-tools { margin-top: 30px; }
.aup-tools-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--aup-line); }
.aup-views { display: inline-flex; align-items: center; gap: 6px; color: var(--aup-mut); font-size: .88rem; }
.aup-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .88rem; }
.aup-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--aup-line); background: #fff; color: var(--aup-ink2) !important; font-weight: 600; font-size: .85rem; cursor: pointer; }
.aup-share-btn:hover { border-color: var(--aup-g2); color: var(--aup-g) !important; }
.aup-wa .aup-ic { color: #1fa855; }
.aup-fb .aup-ic { color: #1877F2; }
.aup-enrich { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px; border-radius: var(--aup-r-lg); background: #fff; border: 1px solid var(--aup-line); }
.aup-enrich-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aup-gold1); color: var(--aup-gold-d); flex: none; }
.aup-enrich-text { flex: 1 1 320px; display: flex; flex-direction: column; }
.aup-enrich-text span { color: var(--aup-mut); font-size: .9rem; }
.aup-enrich-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.aup-thanks { display: flex; gap: 6px; align-items: center; margin: 10px 0 0 !important; font-size: .9rem; color: var(--aup-ink2); }
.aup-thanks .aup-ic { color: var(--aup-red); }

/* ---------- footer ---------- */
.aup-footer { background: #0b1f16; color: rgba(255, 255, 255, .78); padding: 36px 0 90px; margin-top: 30px; font-size: .94rem; }
@media (min-width: 1100px) { .aup-footer { padding-bottom: 20px; } }
.aup-footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .aup-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.aup-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.aup-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.aup-footer a { color: rgba(255, 255, 255, .78) !important; }
.aup-footer a:hover { color: #fff !important; }
.aup-brand-light { color: #fff !important; margin-bottom: 10px; }
.aup-brand-light .aup-brand-text small { color: rgba(255, 255, 255, .6); }
.aup-brand-light .aup-logo-svg { color: var(--aup-g); }
.aup-footer-about p { max-width: 42ch; }
.aup-footer-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--aup-gold) !important; }
.aup-social { display: flex; gap: 8px; margin-top: 12px; }
.aup-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.aup-contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.aup-contact-list .aup-ic { margin-top: 4px; color: var(--aup-gold); }
.aup-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.aup-footer-bottom p { margin: 0 !important; }
.aup-footer-bottom nav { display: flex; gap: 14px; flex-wrap: wrap; }

/* bottom nav (mobile) */
.aup-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--aup-line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3); }
.aup-bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0; color: var(--aup-ink2) !important; font-size: .74rem; font-weight: 600; border-radius: 10px; }
.aup-bottomnav a .aup-ic { width: 22px; height: 22px; }
.aup-bottomnav a:hover { color: var(--aup-g) !important; background: var(--aup-g1); }
.aup-bn-blood .aup-ic { color: var(--aup-red); }
.aup-bn-sos { color: var(--aup-red) !important; }
@media (min-width: 1100px) { .aup-bottomnav { display: none; } }

/* ---------- modals ---------- */
.aup-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 12px 12px; }
.aup-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 26, 17, .55); backdrop-filter: blur(2px); }
.aup-modal-box { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--aup-sh-lg); animation: aup-pop .18s ease-out; }
@keyframes aup-pop { from { transform: translateY(8px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.aup-modal-x { position: absolute; top: 10px; right: 10px; }
.aup-modal-box h2 { font-family: var(--aup-serif); font-size: 1.3rem; padding-right: 40px; }
.aup-correct-page { font-size: .88rem; padding: 8px 12px; border-radius: 10px; background: var(--aup-bg); margin: 0 !important; color: var(--aup-ink2); }
.aup-done { text-align: center; padding: 20px 0 6px; }
.aup-done-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; background: #DDF3E6; color: #0b6a3c; }
.aup-done-ic .aup-ic { width: 32px; height: 32px; }
.aup-search-modal { padding-top: 8vh; }
.aup-search-box { max-width: 680px; padding: 0; }
.aup-search-form { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--aup-line); color: var(--aup-mut); position: sticky; top: 0; background: #fff; z-index: 1; }
.aup-search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.1rem; padding: 10px 0; background: transparent; color: var(--aup-ink); }
.aup-search-results:empty { display: none; }
.aup-search-results { padding: 6px; }
.aup-sr { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--aup-ink) !important; }
.aup-sr:hover, .aup-sr.is-active { background: var(--aup-g1); }
.aup-sr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aup-sr-main strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aup-sr-main small { color: var(--aup-mut); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aup-sr-type { font-size: .74rem; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); white-space: nowrap; }
.aup-sr-sec { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; }
.aup-sr-all { display: block; text-align: center; padding: 10px; font-weight: 700; border-top: 1px solid var(--aup-line2); }
.aup-sr-empty { padding: 18px; text-align: center; color: var(--aup-mut); }
.aup-search-popular { padding: 14px 18px; }
.aup-search-popular strong { display: flex; align-items: center; gap: 6px; font-size: .9rem; margin-bottom: 8px; color: var(--aup-ink2); }
.aup-search-hint { padding: 10px 18px 14px; margin: 0 !important; font-size: .8rem; color: var(--aup-mut); border-top: 1px solid var(--aup-line2); display: none; }
@media (min-width: 900px) { .aup-search-hint { display: block; } }
.aup-search-hint kbd { font-family: inherit; font-size: .78rem; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--aup-line); background: var(--aup-bg); }
.aup-qr-box { max-width: 380px; text-align: center; }
.aup-qr-code { display: grid; place-items: center; min-height: 220px; margin: 14px auto; }
.aup-qr-code img, .aup-qr-code canvas { margin: 0 auto; border: 10px solid #fff; border-radius: 8px; box-shadow: 0 0 0 1px var(--aup-line); }

/* lightbox */
.aup-lightbox { position: fixed; inset: 0; z-index: 320; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; padding: 40px 50px; }
.aup-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.aup-lightbox img { max-height: 80vh; width: auto; border-radius: 8px; }
.aup-lightbox figcaption { color: #fff; margin-top: 10px; text-align: center; }
.aup-lightbox .aup-icon-btn { position: absolute; color: #fff; background: rgba(255, 255, 255, .12); }
.aup-lb-x { top: 12px; right: 12px; }
.aup-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.aup-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* contribute popup */
.aup-popup { position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 250; max-width: 420px; margin-left: auto; background: #fff; border: 1px solid var(--aup-line); border-radius: 20px; padding: 18px; box-shadow: var(--aup-sh-lg); animation: aup-pop .25s ease-out; }
@media (min-width: 1100px) { .aup-popup { bottom: 20px; right: 20px; } }
.aup-popup-x { position: absolute; top: 8px; right: 8px; }
.aup-popup-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--aup-gold1); color: var(--aup-gold-d); margin-bottom: 8px; }
.aup-popup p { font-size: .94rem; color: var(--aup-ink2); padding-right: 20px; }
.aup-popup-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0 12px; }
.aup-popup-links a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px; background: var(--aup-bg); color: var(--aup-ink2) !important; font-size: .8rem; font-weight: 600; text-align: center; }
.aup-popup-links a:hover { background: var(--aup-g1); color: var(--aup-g) !important; }
.aup-popup-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aup-popup-actions .aup-link-btn { color: var(--aup-mut); }

/* toast */
.aup-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 400; background: var(--aup-ink); color: #fff; padding: 10px 18px; border-radius: 99px; font-size: .92rem; box-shadow: var(--aup-sh-lg); }

/* ==========================================================================
   Mobile UX (1.2.0) — phone-first fixes on top of the base styles above.
   ========================================================================== */

/* Icon + mixed inline text (links, bold) must stay one paragraph, not flex columns. */
.aup-tip { display: block; position: relative; padding-left: 38px; line-height: 1.6; }
.aup-tip > .aup-ic { position: absolute; left: 12px; top: 13px; margin: 0; }
.aup-checks li { display: block; position: relative; padding-left: 26px; }
.aup-checks li > .aup-ic { position: absolute; left: 0; top: 4px; margin: 0; }
.aup-side-note p { display: block; position: relative; padding-left: 26px; }
.aup-side-note p > .aup-ic { position: absolute; left: 0; top: 4px; margin: 0; }
.aup-side-note p.aup-small { margin: 10px 0 0 !important; padding-left: 0; }
.aup-credit, .aup-thanks { display: block; position: relative; padding-left: 24px; line-height: 1.55; }
.aup-credit > .aup-ic, .aup-thanks > .aup-ic { position: absolute; left: 0; top: 4px; }
.aup-card-meta li > span:first-child { padding-left: calc(1.15em + 7px); }
.aup-issue-where, .aup-card-loc, .aup-donor-loc, .aup-fitem-loc, .aup-dhero-place { overflow-wrap: anywhere; }

/* Bigger, friendlier tap targets. */
.aup-ticker-label, .aup-ticker-all { min-height: 40px; }
.aup-ticker-all { display: inline-flex; align-items: center; padding: 0 4px; }
.aup-ticker-item a { padding: 2px 10px; }
.aup-sec-link { padding: 6px 0; }
.aup-crumbs a { padding: 4px 0; }
.aup-footer ul a { display: inline-block; padding: 4px 0; }
.aup-footer-bottom nav a { display: inline-block; padding: 6px 0; }
.aup-link-btn { min-height: 36px; }
.aup-chip { min-height: 34px; }

/* Bottom nav: show where you are. */
.aup-bottomnav a { position: relative; font-size: .76rem; }
.aup-bottomnav a.is-on { color: var(--aup-g) !important; background: var(--aup-g1); }
.aup-bottomnav a.is-on::before { content: ''; position: absolute; top: -5px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--aup-g); }
.aup-bottomnav a.aup-bn-blood.is-on { color: var(--aup-red) !important; background: var(--aup-red1); }
.aup-bottomnav a.aup-bn-blood.is-on::before, .aup-bottomnav a.aup-bn-sos.is-on::before { background: var(--aup-red); }
.aup-bottomnav a.aup-bn-sos.is-on { background: var(--aup-red1); }

/* Detail pages. */
.aup-detail-desc { font-size: 1.04rem; }
.aup-prose > :last-child { margin-bottom: 0; }
.aup-side-note .aup-btn { margin-top: 2px; }

/* Native file picker looks like the rest of the form. */
.aup-form input[type=file] { padding: 6px; font-size: .9rem; }
.aup-form input[type=file]::file-selector-button { border: 0; border-radius: 9px; background: var(--aup-g1); color: var(--aup-g8); font: inherit; font-weight: 600; padding: 8px 14px; margin-right: 10px; cursor: pointer; }

/* Scrollable tab rows hint that there is more to the right. */
.aup-tabs { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); scroll-padding-left: 2px; }

@media (max-width: 959px) {
	/* Call / contact box comes before the long fact list. */
	.aup-detail-side { display: contents; }
	.aup-detail-side > .aup-contact { order: -1; }
	.aup-detail-side > * { margin-bottom: 0; }
	.aup-detail { gap: 12px; }
	.aup-detail-main > .aup-panel:last-child, .aup-detail-main > .aup-mapbox:last-child { margin-bottom: 0; }
	/* Map first, layer list after it. */
	.aup-mapwrap > .aup-map-side { order: 2; }
	.aup-map { min-height: 380px; height: 62vh; }
}

@media (max-width: 759px) {
	/* iOS zooms into inputs smaller than 16px. */
	.aup-body input:not([type=checkbox]):not([type=radio]):not([type=file]), .aup-body select, .aup-body textarea { font-size: 16px; }

	/* Section rhythm. */
	.aup-sec-head { margin: 28px 0 12px; }
	.aup-panel { padding: 16px; border-radius: 18px; }

	/* Hero: compact, buttons share a row, stats as an even grid. */
	.aup-hero { padding: 16px 0 28px; }
	.aup-crumbs { font-size: .82rem; margin-bottom: 10px; }
	.aup-hero h1 { font-size: 1.62rem; }
	.aup-hero-sub { font-size: .97rem; line-height: 1.6; }
	.aup-hero-btns { gap: 8px; margin-top: 14px; }
	.aup-hero-btns .aup-btn { flex: 1 1 auto; min-height: 44px; padding: .45em .9em; font-size: .94rem; }
	.aup-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
	.aup-hero-stats:has(> :nth-child(3):last-child), .aup-hero-stats:has(> :nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.aup-hero-stats > div { min-width: 0; padding: 9px 11px; border-radius: 12px; }
	.aup-hero-stats b { font-size: 1.22rem; overflow-wrap: anywhere; }
	.aup-hero-stats span { font-size: .78rem; line-height: 1.35; }
	.aup-hero-search { margin-top: 14px; }
	.aup-prof-hero .aup-hero-stats { margin: 0; width: 100%; }

	/* Detail hero. */
	.aup-dhero { padding: 14px 0 18px; }
	.aup-dhero-in { gap: 12px; align-items: flex-start; }
	.aup-dhero-in .aup-av { width: 64px; height: 64px; border-radius: 16px; }
	.aup-dhero-in .aup-av-txt { font-size: 1.7rem; }
	.aup-dhero h1 { font-size: 1.42rem; }

	/* Facts: label | value side by side instead of stacked. */
	.aup-fact { grid-template-columns: minmax(88px, 34%) minmax(0, 1fr); gap: 10px; padding: 10px 0; }
	.aup-fact dt { font-size: .84rem; }
	.aup-fact-flag { display: flex; }

	/* Complaint / request cards: small photo top-right, text and actions full width. */
	.aup-issue { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 12px; }
	.aup-issue-body { display: contents; }
	.aup-issue:has(.aup-issue-img) { grid-template-columns: minmax(0, 1fr) 84px; }
	.aup-issue:has(.aup-issue-img) > .aup-issue-body > * { grid-column: 1 / -1; }
	.aup-issue:has(.aup-issue-img) > .aup-issue-body > .aup-card-tags,
	.aup-issue:has(.aup-issue-img) > .aup-issue-body > h3,
	.aup-issue:has(.aup-issue-img) > .aup-issue-body > .aup-issue-where { grid-column: 1; }
	.aup-issue-img { grid-column: 2; grid-row: 1 / span 3; width: 84px; aspect-ratio: 1; }
	.aup-issue-foot { margin-top: 8px; }

	/* Feed: compact square thumbnail, excerpt clamped. */
	.aup-fitem { padding: 12px 14px; }
	.aup-fitem-img { width: 84px; height: 84px; align-self: flex-start; }
	.aup-fitem-ex { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.aup-fitem-foot { gap: 10px; }

	/* News: lead story keeps its photo, the rest become compact rows. */
	.aup-news-side .aup-acard a, .aup-agrid .aup-acard:not(.aup-acard-big) a { flex-direction: row; align-items: stretch; }
	.aup-news-side .aup-acard-img, .aup-agrid .aup-acard:not(.aup-acard-big) .aup-acard-img { width: 104px; aspect-ratio: auto; min-height: 96px; flex: none; }
	.aup-news-side .aup-acard-noimg .aup-ic, .aup-agrid .aup-acard:not(.aup-acard-big) .aup-acard-noimg .aup-ic { width: 28px; height: 28px; }
	.aup-news-side .aup-acard-body, .aup-agrid .aup-acard:not(.aup-acard-big) .aup-acard-body { padding: 10px 12px; gap: 4px; min-width: 0; }
	.aup-news-side .aup-acard-body strong, .aup-agrid .aup-acard:not(.aup-acard-big) .aup-acard-body strong { font-size: .97rem; line-height: 1.4; }
	.aup-agrid { gap: 10px; }

	/* Blood request cards: call button full width. */
	.aup-need-req > .aup-btn, .aup-need-req > a.aup-btn { flex: 1 1 100%; }
	.aup-need-req-body { min-width: 0; }

	/* Citizen services accordion. */
	.aup-svc summary { align-items: flex-start; padding: 12px; gap: 10px; }
	.aup-svc-ic { width: 40px; height: 40px; }
	.aup-svc-chev { margin-top: 10px; }
	.aup-svc-body { padding: 0 12px 14px; }

	/* Quiz. */
	.aup-q { padding: 10px; }
	.aup-q-opt { min-height: 46px; }

	/* Profile earnings box stacks. */
	.aup-earn-box { flex-direction: column; align-items: stretch; }
	.aup-earn-box .aup-btn { width: 100%; }
	.aup-table { font-size: .86rem; }

	/* Forms: primary + secondary actions share the row, full width. */
	.aup-form-actions { gap: 8px; }
	.aup-form-actions > .aup-btn { flex: 1 1 0; }

	/* "Enrich this page" box. */
	.aup-tools { margin-top: 22px; }
	.aup-enrich { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 8px 12px; padding: 14px; }
	.aup-enrich-ic { width: 40px; height: 40px; }
	.aup-enrich-text { display: contents; }
	.aup-enrich-text strong { line-height: 1.4; }
	.aup-enrich-text span { grid-column: 1 / -1; font-size: .86rem; line-height: 1.55; }
	.aup-enrich-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
	.aup-enrich-actions .aup-btn { white-space: normal; text-align: center; min-height: 44px; line-height: 1.3; padding: .4em .6em; gap: .3em; font-size: .88rem; }

	/* Share: one tidy row of four app-style buttons. */
	.aup-tools-row { flex-direction: column; align-items: stretch; gap: 8px; }
	.aup-share { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
	.aup-share-label { grid-column: 1 / -1; font-size: .84rem; }
	.aup-share-btn { flex-direction: column; justify-content: center; gap: 4px; padding: 8px 4px; border-radius: 14px; font-size: .76rem; min-height: 60px; text-align: center; line-height: 1.25; }
	.aup-share-btn .aup-ic { width: 20px; height: 20px; }

	/* Footer: two link columns side by side. */
	.aup-footer { padding: 28px 0 calc(84px + env(safe-area-inset-bottom)); font-size: .93rem; }
	.aup-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
	.aup-footer-about, .aup-footer-grid > div:last-child { grid-column: 1 / -1; }
	.aup-footer ul { gap: 2px; }
	.aup-footer-bottom { flex-direction: column; gap: 6px; margin-top: 20px; }

	/* Modals become bottom sheets; search drops from the top. */
	.aup-modal { align-items: flex-end; padding: 0; }
	.aup-modal-box { max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); animation: aup-sheet .22s ease-out; }
	.aup-modal-box::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--aup-line); margin: -6px auto 12px; }
	.aup-modal-box .aup-form-actions { position: sticky; bottom: 0; z-index: 2; background: #fff; margin: 4px -16px 0; padding: 10px 16px; border-top: 1px solid var(--aup-line2); }
	.aup-search-modal { align-items: flex-start; }
	.aup-search-box { border-radius: 0 0 22px 22px; max-height: 88vh; padding: 0; animation: aup-drop .2s ease-out; }
	.aup-search-box::before { display: none; }
	.aup-qr-box { text-align: center; }
	.aup-popup { left: 10px; right: 10px; bottom: calc(74px + env(safe-area-inset-bottom)); padding: 16px; }
	.aup-toast { bottom: calc(84px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); text-align: center; }
	.aup-lightbox { padding: 50px 8px; }
}
@keyframes aup-sheet { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes aup-drop { from { transform: translateY(-24px); opacity: .4; } to { transform: none; opacity: 1; } }

@media (max-width: 400px) {
	.aup-wrap { padding-left: 14px; padding-right: 14px; }
	.aup-hero h1 { font-size: 1.5rem; }
	.aup-hero-stats b { font-size: 1.12rem; }
	.aup-brand-text strong { font-size: 1.08rem; }
	.aup-head-actions { gap: 2px; }
	.aup-need-grid { gap: 8px; }
	.aup-need-card { padding: 12px; }
	.aup-card { padding: 12px; }
	.aup-card-actions .aup-btn { padding: .35em .5em; }
}

/* Safe-area padding for phones with a home indicator. */
.aup-bottomnav { padding-left: max(4px, env(safe-area-inset-left)); padding-right: max(4px, env(safe-area-inset-right)); }

/* ==========================================================================
   Motion & micro-interactions (1.3.0)
   Everything here is decoration: the page reads the same without it, and
   visitors who ask their device for reduced motion get a still page.
   ========================================================================== */
@keyframes aup-up-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aup-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes aup-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes aup-wave-x { from { transform: translateX(0); } to { transform: translateX(-600px); } }
@keyframes aup-shine { 0%, 55% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes aup-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.25) rotate(18deg); opacity: .7; } }
@keyframes aup-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes aup-wiggle { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-14deg); } 70% { transform: rotate(12deg); } 76% { transform: rotate(-9deg); } 82% { transform: rotate(6deg); } }
@keyframes aup-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.18, 1.5); opacity: 0; } }
@keyframes aup-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@keyframes aup-glow { 0% { box-shadow: 0 0 0 0 rgba(201, 48, 44, .5); } 100% { box-shadow: 0 0 0 8px rgba(201, 48, 44, 0); } }
@keyframes aup-live { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } }
@keyframes aup-ripple { to { transform: scale(1); opacity: 0; } }
@keyframes aup-plus { 0% { transform: translateY(0) scale(.6); opacity: 0; } 25% { opacity: 1; transform: translateY(-10px) scale(1.15); } 100% { transform: translateY(-34px) scale(1); opacity: 0; } }
@keyframes aup-bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes aup-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes aup-load { 0% { transform: scaleX(0); } 20% { transform: scaleX(.35); } 60% { transform: scaleX(.7); } 100% { transform: scaleX(.92); } }
@keyframes aup-toast-in { from { opacity: 0; transform: translate(-50%, 18px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes aup-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* --- scroll reveal (classes added by portal.js only to things below the fold) --- */
.aup-rv { opacity: 0; transform: translateY(26px); }
.aup-rv.is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0ms), transform .75s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0ms); }
.aup-sec-head h2::after { content: ''; display: block; width: 46px; height: 3px; margin-top: 8px; border-radius: 3px; background: linear-gradient(90deg, var(--aup-gold), var(--aup-g)); transition: width .8s cubic-bezier(.2, .7, .2, 1) .25s; }
.aup-sec-head-c h2::after { margin-left: auto; margin-right: auto; }
.aup-sec-head.aup-rv h2::after { width: 0; }
.aup-sec-head.aup-rv.is-in h2::after { width: 46px; }

.aup-home-hero h1 { text-shadow: none; }
.aup-shine { display: inline-block; padding: .14em .04em .1em; margin: -.14em -.04em -.1em; color: #fff; background: linear-gradient(105deg, #fff 0%, #fff 42%, #ffe2a0 50%, #fff 58%, #fff 100%) 120% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 22px rgba(0, 0, 0, .22)); animation: aup-shine 7s ease-in-out 1.4s infinite; }
.aup-greet .aup-ic { animation: aup-twinkle 2.6s ease-in-out infinite; }
.aup-greet { flex-wrap: wrap; row-gap: 0; }
.aup-clock { opacity: .85; white-space: nowrap; }
.aup-home-hero .aup-greet, .aup-home-hero h1, .aup-home-sub, .aup-home-search, .aup-marquee { animation: aup-up-in .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.aup-home-hero h1 { animation-delay: .08s; }
.aup-home-sub { animation-delay: .18s; }
.aup-home-search { animation-delay: .28s; transition: box-shadow .25s, transform .25s; }
.aup-marquee { animation-delay: .4s; }
.aup-home-search:focus-within { box-shadow: 0 0 0 4px rgba(229, 172, 46, .45), 0 22px 44px -18px rgba(0, 0, 0, .6); transform: translateY(-2px); }
.aup-area-pick { animation: aup-up-in .8s cubic-bezier(.2, .7, .2, 1) .5s backwards; }

/* --- inner page heroes: content glides in, the wave keeps flowing --- */
.aup-hero .aup-crumbs, .aup-hero .aup-eyebrow, .aup-hero h1, .aup-hero-sub, .aup-hero-btns, .aup-hero-stats > div, .aup-hero-search, .aup-hero .aup-chips, .aup-hero-ic { animation: aup-up-in .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.aup-hero .aup-eyebrow { animation-delay: .04s; }
.aup-hero h1 { animation-delay: .1s; }
.aup-hero-sub { animation-delay: .18s; }
.aup-hero-btns, .aup-hero-search { animation-delay: .26s; }
.aup-hero .aup-chips { animation-delay: .34s; }
.aup-hero-stats > div:nth-child(1) { animation-delay: .3s; }
.aup-hero-stats > div:nth-child(2) { animation-delay: .38s; }
.aup-hero-stats > div:nth-child(3) { animation-delay: .46s; }
.aup-hero-stats > div:nth-child(n+4) { animation-delay: .54s; }
.aup-hero-ic { animation: aup-up-in .7s cubic-bezier(.2, .7, .2, 1) backwards, aup-bob 4.5s ease-in-out .8s infinite; }
.aup-hero::after { right: auto; width: calc(100% + 600px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 48' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C100 18 200 18 300 30 C400 42 500 42 600 30' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='2'/%3E%3Cpath d='M0 40 C100 47 200 47 300 40 C400 33 500 33 600 40' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E") 0 100% / 600px 100% repeat-x; animation: aup-wave-x 16s linear infinite; }
.aup-hero-stats > div { transition: background .2s, transform .2s; }
@media (hover: hover) { .aup-hero-stats > div:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); } }

/* --- cards lift on hover, press down on tap --- */
.aup-need-card, .aup-card, .aup-union, .aup-dcard, .aup-acard a, .aup-ecard, .aup-donor, .aup-event, .aup-notice, .aup-issue, .aup-glance-stats a, .aup-gal-item, .aup-sos-list a, .aup-drawer-quick a, .aup-callrow, .aup-btn, .aup-hchip, .aup-chip, .aup-tab, .aup-share-btn, .aup-page { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .2s, background-color .2s, color .2s; }
@media (hover: hover) {
	.aup-need-card:hover, .aup-union:hover, .aup-dcard:hover, .aup-acard a:hover, .aup-ecard:hover, .aup-card:hover, .aup-donor:hover, .aup-issue:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -20px rgba(8, 69, 47, .45); }
	.aup-event:hover, .aup-notice:hover, .aup-sos-list a:hover, .aup-glance-stats a:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(8, 69, 47, .45); }
	.aup-btn:hover, .aup-hchip:hover { transform: translateY(-1px); }
	.aup-need-card:hover .aup-need-ic { animation: aup-bob .9s ease-in-out; }
	.aup-need-card:hover .aup-need-foot em .aup-ic, .aup-sec-link:hover .aup-ic, .aup-dcard:hover .aup-dcard-go .aup-ic, .aup-union:hover > .aup-ic:last-child { animation: aup-nudge .8s ease-in-out infinite; }
	.aup-gal-item img, .aup-acard-img img, .aup-dcard-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .45s; }
	.aup-gal-item:hover img, .aup-acard a:hover .aup-acard-img img, .aup-dcard:hover .aup-dcard-img img { transform: scale(1.06); }
}
a.aup-need-card:active, a.aup-union:active, a.aup-dcard:active, .aup-acard a:active, a.aup-event:active, a.aup-notice:active, .aup-sos-list a:active, .aup-glance-stats a:active, .aup-drawer-quick a:active, .aup-callrow:active { transform: scale(.975); transition-duration: .08s; }
.aup-btn:active, .aup-hchip:active, .aup-chip:active, .aup-tab:active, .aup-share-btn:active, .aup-page:active, .aup-vote:active, .aup-icon-btn:active, .aup-bottomnav a:active { transform: scale(.95); transition-duration: .08s; }

/* --- tap ripple --- */
.aup-has-ripple { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.aup-ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: aup-ripple .65s cubic-bezier(.2, .7, .3, 1) forwards; pointer-events: none; }
.aup-bottomnav a.is-on::before { top: 0; border-radius: 0 0 3px 3px; }
.aup-bottomnav a.is-on .aup-ic { animation: aup-bump .45s ease-out; }

/* --- header, reading progress, back to top, page loading --- */
.aup-header { transition: transform .32s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.aup-header.is-scrolled { box-shadow: 0 10px 24px -18px rgba(8, 40, 28, .45); }
.aup-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.aup-progress, .aup-loadbar { position: fixed; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.aup-progress { z-index: 95; background: linear-gradient(90deg, var(--aup-gold), #f6d06d 40%, var(--aup-g)); }
.aup-loadbar { z-index: 460; height: 3px; background: var(--aup-gold); box-shadow: 0 0 10px rgba(229, 172, 46, .8); opacity: 0; }
.aup-loadbar.is-loading { opacity: 1; animation: aup-load 9s cubic-bezier(.08, .7, .2, 1) forwards; }
.aup-loadbar.is-done { transform: scaleX(1); opacity: 0; transition: transform .2s, opacity .35s .15s; }
.aup-totop { position: fixed; right: 16px; bottom: 24px; z-index: 85; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--aup-g8); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(8, 40, 28, .5); opacity: 0; transform: translateY(18px) scale(.85); pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(.2, .7, .2, 1.4); }
.aup-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.aup-totop svg { width: 44px; height: 44px; overflow: visible; }
.aup-totop circle { fill: none; stroke-width: 3; transform: rotate(-90deg); transform-origin: 22px 22px; }
.aup-totop-track { stroke: var(--aup-g2); }
.aup-totop-ring { stroke: var(--aup-g); stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.aup-totop:hover { color: var(--aup-g); }
@media (max-width: 1099px) { .aup-totop { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 46px; height: 46px; } }
body:has(.aup-popup:not([hidden])) .aup-totop { opacity: 0; pointer-events: none; }
@view-transition { navigation: auto; }
.aup-header { view-transition-name: aup-header; }
.aup-bottomnav { view-transition-name: aup-bottomnav; }
::view-transition-old(root) { animation: .18s ease-in both aup-vt-out; }
::view-transition-new(root) { animation: .32s cubic-bezier(.2, .7, .2, 1) both aup-vt-in; }
@keyframes aup-vt-out { to { opacity: 0; } }
@keyframes aup-vt-in { from { opacity: 0; transform: translateY(10px); } }

/* --- photos fade in over a shimmer --- */
.aup-img-wait { background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 70%) !important; background-size: 300% 100% !important; animation: aup-shimmer 1.3s linear infinite; }
.aup-img-wait img { opacity: 0; }
.aup-acard-img img, .aup-dcard-img img, .aup-gal-item img, .aup-issue-img img, .aup-fitem-img img, .aup-detail-img img, .aup-article-img img, .aup-av img { transition: opacity .45s, transform .6s cubic-bezier(.2, .7, .2, 1); }

/* --- living details: SOS, ticker, live feed, badges, votes, toasts --- */
.aup-sos-big { position: relative; isolation: isolate; }
.aup-sos-big::before, .aup-sos-big::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255, 120, 110, .75); z-index: -1; animation: aup-ring 2.4s ease-out infinite; pointer-events: none; }
.aup-sos-big::after { animation-delay: 1.2s; }
.aup-sos-big .aup-ic { animation: aup-wiggle 2.4s ease-in-out infinite; }
.aup-ecall .aup-ic, .aup-callrow > .aup-ic:first-child { animation: aup-wiggle 3s ease-in-out infinite; }
.aup-ticker-label .aup-ic { animation: aup-beat 1.6s ease-in-out infinite; }
.aup-ticker-label b { animation: aup-glow 1.8s ease-out infinite; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
.aup-latest h3::after { content: ''; flex: none; width: 9px; height: 9px; margin-left: auto; border-radius: 50%; background: #4ade80; animation: aup-live 1.8s ease-out infinite; }
.aup-notice.is-imp .aup-badge-red, .aup-need-card .aup-badge-red { animation: aup-glow 2s ease-out infinite; }
.aup-vote { position: relative; }
.aup-vote.is-voted b { display: inline-block; animation: aup-bump .45s ease-out; }
.aup-plus1 { position: absolute; right: 8px; top: -6px; font-weight: 800; color: var(--aup-g); font-size: 1rem; pointer-events: none; animation: aup-plus .9s ease-out forwards; }
.aup-share-btn.is-copied { background: var(--aup-g1); border-color: var(--aup-g2); color: var(--aup-g8) !important; }
.aup-toast { animation: aup-toast-in .38s cubic-bezier(.2, .9, .3, 1.25) both; }
details.is-opening > :not(summary) { animation: aup-fade-down .35s ease both; }
details > summary .aup-ic { transition: transform .25s; }
.aup-drawer:not([hidden]) .aup-drawer-quick a, .aup-drawer:not([hidden]) .aup-drawer-group { animation: aup-up-in .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.aup-drawer:not([hidden]) .aup-drawer-quick a:nth-child(2) { animation-delay: .04s; }
.aup-drawer:not([hidden]) .aup-drawer-quick a:nth-child(3) { animation-delay: .08s; }
.aup-drawer:not([hidden]) .aup-drawer-quick a:nth-child(4) { animation-delay: .12s; }
.aup-drawer:not([hidden]) .aup-drawer-quick a:nth-child(n+5) { animation-delay: .16s; }
.aup-drawer:not([hidden]) .aup-drawer-group { animation-delay: .18s; }
.aup-drawer:not([hidden]) .aup-drawer-backdrop { animation: aup-fade-in .25s ease both; }
.aup-modal:not([hidden]) .aup-modal-backdrop { animation: aup-fade-in .2s ease both; }

/* --- doctorate strip arrows (desktop) --- */
.aup-hs-nav { display: none; }
@media (min-width: 760px) {
	.aup-hs-nav { display: flex; justify-content: flex-end; gap: 8px; margin: 14px 0 -8px; }
	.aup-hs-nav .aup-icon-btn { background: #fff; border-color: #efe1bd; color: var(--aup-gold-d); box-shadow: 0 6px 16px -12px rgba(0, 0, 0, .4); }
	.aup-hs-nav .aup-icon-btn:hover { background: var(--aup-gold); color: #2b1d00; }
}
.aup-hscroll { scroll-behavior: smooth; }

/* --- keep it still for people who ask for less motion (animations are already off, see top) --- */
@media (prefers-reduced-motion: reduce) {
	.aup-rv { opacity: 1; transform: none; }
	@view-transition { navigation: none; }
}

/* ---------- footer credit (1.3.1) ---------- */
.aup-footer-credit { display: flex; justify-content: center; margin-top: 18px; }
.aup-footer-credit p { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; margin: 0 !important; padding: 8px 16px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; line-height: 1.4; color: rgba(255, 255, 255, .72); text-align: center; }
.aup-footer-credit .aup-ic { width: 17px; height: 17px; color: var(--aup-gold); flex: none; }
.aup-footer-credit b, .aup-footer-credit a { color: var(--aup-gold) !important; font-weight: 700; }
.aup-footer-credit a { text-decoration: underline; text-decoration-color: rgba(229, 172, 46, .45); text-underline-offset: 3px; }
.aup-footer-credit a:hover { color: #ffd27a !important; text-decoration-color: currentColor; }
/* Phones: sit left like the copyright line and stop short of the round back-to-top button. */
@media (max-width: 759px) { .aup-footer-credit { justify-content: flex-start; margin-top: 14px; } .aup-footer-credit p { justify-content: flex-start; text-align: left; max-width: calc(100% - 54px); border-radius: 16px; padding: 8px 14px; } }

/* ==========================================================================
   QR panel + photo card (1.4.0)
   ========================================================================== */
.aup-qrp h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--aup-serif); font-size: 1.15rem; color: var(--aup-g9); }
.aup-qrp h2 .aup-ic { color: var(--aup-g); }
.aup-qrp-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 14px; align-items: center; }
.aup-qrp-code { aspect-ratio: 1; display: grid; place-items: center; padding: 8px; background: #fff; border: 4px solid #E3CF9C; border-radius: 18px; box-shadow: 0 10px 24px -18px rgba(90, 60, 10, .55); }
.aup-qrp-code svg { display: block; width: 100%; height: 100%; }
.aup-qrp-btns { display: grid; gap: 8px; }
.aup-qrp-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 6px 12px; border-radius: 99px; border: 1.5px solid #C9DCD2; background: #fff; color: var(--aup-g8); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; line-height: 1.2; }
.aup-qrp-btn .aup-ic { width: 18px; height: 18px; flex: none; }
.aup-qrp-btn:hover { background: var(--aup-g1); border-color: var(--aup-g2); }
.aup-qrp-card { background: var(--aup-g1); border-color: var(--aup-g2); }
.aup-qrp.is-flash { animation: aup-glow-g 1.4s ease-out 2; }
@keyframes aup-glow-g { 0% { box-shadow: 0 0 0 0 rgba(14, 110, 76, .45); } 100% { box-shadow: 0 0 0 14px rgba(14, 110, 76, 0); } }
.aup-article .aup-qrp { max-width: 520px; margin-top: 18px; }
/* The side column carries more now; let it scroll with the page instead of sticking. */
.aup-detail-side:has(.aup-qrp) { position: static; }
@media (max-width: 380px) { .aup-qrp-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; } .aup-qrp-btn { font-size: .9rem; padding: 6px 8px; } }

/* print only the QR sheet */
.aup-print-sheet { display: none; }
@media print {
	body.aup-printing > *:not(.aup-print-sheet) { display: none !important; }
	body.aup-printing { padding: 0 !important; background: #fff !important; }
	body.aup-printing .aup-print-sheet { display: flex !important; justify-content: center; padding-top: 12mm; }
	body.aup-printing .aup-print-sheet img { width: 125mm; height: auto; }
}

/* photo-card dialog */
.aup-cardm { padding: 3vh 12px 12px; }
.aup-cardm-box { max-width: 980px; padding: 0; max-height: 94vh; }
.aup-cardm-box::before { display: none !important; }
.aup-cardm-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; background: #fff; border-bottom: 1px solid var(--aup-line2); }
.aup-cardm-head h2 { margin: 0; padding: 0; font-size: 1.3rem; color: var(--aup-g9); }
.aup-cardm-head .aup-icon-btn { border: 1px solid var(--aup-line); width: 46px; height: 46px; }
.aup-cardm-body { display: grid; gap: 18px; padding: 18px 22px 22px; }
@media (min-width: 860px) { .aup-cardm-body { grid-template-columns: minmax(0, 430px) minmax(0, 1fr); align-items: start; } .aup-cardm-left { position: sticky; top: 84px; } }
.aup-cardm-stage { position: relative; padding: 16px; border-radius: 16px; background: repeating-conic-gradient(#EFE8D8 0 25%, #F8F3E9 0 50%) 0 0 / 22px 22px; }
.aup-cardm-canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 6px; box-shadow: 0 18px 40px -22px rgba(30, 20, 0, .55); background: #FBF6EC; opacity: 0; transition: opacity .3s; }
.aup-cardm.is-ready .aup-cardm-canvas { opacity: 1; }
.aup-cardm-wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--aup-mut); font-weight: 600; }
.aup-cardm.is-ready .aup-cardm-wait { display: none; }
.aup-cardm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.aup-cardm-actions .aup-btn { min-height: 50px; border-radius: 14px; font-size: 1rem; }
.aup-cardm-actions .aup-btn:first-child { background: var(--aup-g9); border-color: var(--aup-g9); }
.aup-cardm-link { grid-column: 1 / -1; white-space: normal; text-align: center; }
.aup-cardm-note { margin: 10px 0 0 !important; font-size: .86rem; color: var(--aup-mut); text-align: center; }
.aup-cardm-form { display: grid; gap: 14px; align-content: start; }
.aup-cardm-field { display: grid; gap: 6px; margin: 0; }
.aup-cardm-field > span, .aup-cardm-rows legend { font-weight: 700; font-size: .92rem; color: var(--aup-ink2); }
.aup-cardm-field input[type=text] { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid var(--aup-line); border-radius: 12px; font: inherit; font-size: 1rem; color: var(--aup-ink); background: #fff; }
.aup-cardm-field input[type=text]:focus { outline: 0; border-color: var(--aup-g); box-shadow: 0 0 0 3px var(--aup-g2); }
.aup-cardm-rows { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.aup-cardm-rows legend { padding: 0; margin-bottom: 6px; }
.aup-cardm-row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--aup-line); border-radius: 12px; background: #fff; cursor: pointer; font-size: .95rem; line-height: 1.35; }
.aup-cardm-row input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--aup-g); }
.aup-cardm-row .aup-ic { width: 18px; height: 18px; flex: none; color: var(--aup-g); }
.aup-cardm-row span { min-width: 0; overflow-wrap: anywhere; }
.aup-cardm-row:has(input:checked) { border-color: var(--aup-g2); background: var(--aup-g1); }
.aup-cardm-hint { margin: 0 !important; font-size: .84rem; color: var(--aup-mut); }
.aup-cardm-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aup-cardm-seg button { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--aup-line); background: #fff; font: inherit; font-weight: 700; color: var(--aup-ink2); cursor: pointer; }
.aup-cardm-seg button.is-on { background: var(--aup-g9); border-color: var(--aup-g9); color: #fff; }
@media (max-width: 759px) {
	.aup-modal.aup-cardm { padding: 0; align-items: stretch; }
	.aup-cardm-box { max-height: none; height: 100%; border-radius: 0; padding: 0 0 env(safe-area-inset-bottom); animation: aup-sheet .22s ease-out; }
	.aup-cardm-head { padding: 10px 12px 10px 16px; }
	.aup-cardm-head h2 { font-size: 1.15rem; }
	.aup-cardm-body { padding: 0 0 20px; gap: 16px; }
	.aup-cardm-stage { border-radius: 0; padding: 14px; }
	.aup-cardm-actions { margin-left: 16px; margin-right: 16px; }
	.aup-cardm-note { margin: 10px 16px 0 !important; }
	.aup-cardm-form { padding: 16px 16px 0; border-top: 1px solid var(--aup-line2); }
}

/* ==========================================================================
   Village hero (1.5.0) — an animated Teesta-side village behind the home hero.
   Four skies: morning (default), noon, evening, night. portal.js picks the one
   that matches the visitor's clock.
   ========================================================================== */
.aup-village {
	--sky1: #F7D3A6; --sky2: #FBEACF; --sky3: #E8F1E3;
	--orb: #F6B54A; --orb-hi: #FFF3D2; --orb-glow: rgba(246, 181, 74, .42); --orb-x: 79%; --orb-y: 30%; --orb-s: 96px;
	--cloud: rgba(255, 255, 255, .92); --bird: #3B4A42;
	--far2: #AFC6A6; --far: #6F9C7C; --river: #79B0BF; --rp: rgba(255, 255, 255, .7); --glint: rgba(255, 238, 196, .75);
	--sand: #EBD8B1; --sand-l: #F6EACF; --kash: #ffffff; --kstem: #B6A479;
	--bank: #9DBE7C; --edge: #CADDAA; --field: #6F9B40; --row: #87B353; --tuft: #4F7B2A;
	--tree: #3F7B4F; --tree-l: #5C9764; --trunk: #6B4A2B; --ptrunk: #8C6B44; --palm: #2F6B47; --nut: #D99A2B; --bstem: #82B05A; --bleaf: #4F9A4C;
	--wall: #C98E58; --wall-l: #B47A46; --roof: #BAC5CD; --roof-l: #9CA9B3; --roof-d: #8996A0; --door: #5B3A21; --win: #6E4B2C; --plinth: #A87B4F;
	--hay: #DAAF52; --hay-l: #B88C34; --hull: #6A4527; --hull-l: #8F6139; --sail: #EFD8A6; --sail-l: #D6BB82; --man: #3A2A1C; --smoke: rgba(255, 255, 255, .75);
	--ink: #0B4532; --sub: #3C4E44; --chip-bg: rgba(255, 255, 255, .64); --chip-line: rgba(11, 69, 50, .14); --chip-ink: #0B4532; --greet-bg: rgba(255, 255, 255, .58); --hi: #C98A16;
	position: relative; overflow: visible; overflow-x: clip; isolation: isolate;
	color: var(--ink); background: linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 42%, var(--sky3) 78%);
	--lh: clamp(270px, 36vw, 540px);
	padding: 30px 0 calc(var(--lh) * .44);
	transition: color .6s;
}
.aup-village.is-noon {
	--sky1: #A6D3EA; --sky2: #D6ECF3; --sky3: #EEF5E4;
	--orb: #FFD66B; --orb-hi: #FFFBE6; --orb-glow: rgba(255, 214, 107, .5); --orb-x: 70%; --orb-y: 13%; --orb-s: 86px;
	--far2: #A9C9AE; --far: #679F77; --river: #5FAACA; --glint: rgba(255, 255, 255, .8); --bank: #94C072; --field: #67A03A; --row: #80B84C;
}
.aup-village.is-evening {
	--sky1: #EE9563; --sky2: #F6C594; --sky3: #F8E1BD;
	--orb: #E8733F; --orb-hi: #FFD7A8; --orb-glow: rgba(233, 115, 63, .5); --orb-x: 81%; --orb-y: 50%; --orb-s: 108px;
	--cloud: rgba(255, 232, 214, .88); --bird: #4A2E22;
	--far2: #BC9C80; --far: #6C7F56; --river: #D19A72; --rp: rgba(255, 234, 205, .75); --glint: rgba(255, 196, 132, .9);
	--sand: #E8C79C; --sand-l: #F2DABA; --bank: #8FA86A; --edge: #B7C38F; --field: #5F8436; --row: #77994A; --tuft: #48662A;
	--tree: #3D6B42; --tree-l: #557F51; --palm: #2D5A39; --wall: #B8794A; --roof: #C4B0A2; --roof-l: #A99486; --roof-d: #97847A;
	--ink: #4A2412; --sub: #5B3B29; --chip-bg: rgba(255, 246, 236, .66); --chip-line: rgba(74, 36, 18, .16); --chip-ink: #4A2412; --greet-bg: rgba(255, 246, 236, .6); --hi: #B6400E;
}
.aup-village.is-night {
	--sky1: #0A1A2C; --sky2: #142D46; --sky3: #22425A;
	--orb: #F3EBD2; --orb-hi: #FFFDF4; --orb-glow: rgba(243, 235, 210, .26); --orb-x: 80%; --orb-y: 15%; --orb-s: 74px;
	--cloud: rgba(190, 206, 226, .14); --bird: transparent;
	--far2: #1B3240; --far: #162E2B; --river: #1E4459; --rp: rgba(243, 235, 210, .32); --glint: rgba(243, 235, 210, .42);
	--sand: #575342; --sand-l: #67624F; --kash: #DCE4DF; --kstem: #6C6753;
	--bank: #233F31; --edge: #2F5341; --field: #1E3926; --row: #2A4C32; --tuft: #17301E;
	--tree: #12301F; --tree-l: #1B4029; --trunk: #2E2318; --ptrunk: #3A2D1F; --palm: #0F2A1B; --nut: #6E5520; --bstem: #2C4A2A; --bleaf: #1D3E22;
	--wall: #4E3929; --wall-l: #433021; --roof: #3E4A57; --roof-l: #343F4B; --roof-d: #2B353F; --door: #1F150E; --win: #FFD36E; --plinth: #3A2C20;
	--hay: #6D592D; --hay-l: #594823; --hull: #2A1C12; --hull-l: #3B2A1B; --sail: #8A816E; --sail-l: #6D6656; --man: #120C08; --smoke: rgba(220, 225, 235, .3);
	--ink: #F4EEDD; --sub: #C9D6CF; --chip-bg: rgba(255, 255, 255, .1); --chip-line: rgba(255, 255, 255, .2); --chip-ink: #F4EEDD; --greet-bg: rgba(255, 255, 255, .1); --hi: #F2C55C;
}

/* sky */
.aup-vsky { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aup-vorb { position: absolute; left: var(--orb-x); top: var(--orb-y); width: var(--orb-s); height: var(--orb-s); margin: calc(var(--orb-s) / -2) 0 0 calc(var(--orb-s) / -2); border-radius: 50%; background: radial-gradient(circle at 38% 36%, var(--orb-hi) 0%, var(--orb) 58%); box-shadow: 0 0 50px 16px var(--orb-glow), 0 0 140px 60px var(--orb-glow); animation: v-glow 6s ease-in-out infinite; }
.is-night .aup-vorb { background: radial-gradient(circle at 34% 40%, rgba(160, 150, 120, .3) 0 9%, transparent 10%), radial-gradient(circle at 63% 62%, rgba(160, 150, 120, .26) 0 7%, transparent 8%), radial-gradient(circle at 60% 30%, rgba(160, 150, 120, .2) 0 5%, transparent 6%), radial-gradient(circle at 40% 36%, var(--orb-hi), var(--orb) 62%); }
.aup-vstars { position: absolute; inset: 0 0 35% 0; opacity: 0; transition: opacity .8s;
	background-image: radial-gradient(1.4px 1.4px at 4% 18%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 11% 40%, #fff 60%, transparent 70%), radial-gradient(1.6px 1.6px at 19% 9%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 24% 52%, #fff 60%, transparent 70%), radial-gradient(1.3px 1.3px at 33% 22%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 38% 6%, #fff 60%, transparent 70%), radial-gradient(1.5px 1.5px at 46% 34%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 51% 14%, #fff 60%, transparent 70%), radial-gradient(1.2px 1.2px at 58% 46%, #fff 60%, transparent 70%), radial-gradient(1.6px 1.6px at 64% 20%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 69% 4%, #fff 60%, transparent 70%), radial-gradient(1.3px 1.3px at 74% 38%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 86% 30%, #fff 60%, transparent 70%), radial-gradient(1.5px 1.5px at 91% 12%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 97% 44%, #fff 60%, transparent 70%), radial-gradient(1.2px 1.2px at 8% 60%, #fff 60%, transparent 70%), radial-gradient(1px 1px at 29% 66%, #fff 60%, transparent 70%), radial-gradient(1.2px 1.2px at 82% 58%, #fff 60%, transparent 70%); }
.is-night .aup-vstars { opacity: .9; animation: v-stars 6s ease-in-out infinite alternate; }
.aup-vtw { position: absolute; left: var(--x); top: var(--y); width: 11px; height: 11px; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); opacity: 0; }
.is-night .aup-vtw { animation: v-twinkle 3.4s ease-in-out infinite; animation-delay: var(--d); }
.aup-vshoot { position: absolute; left: 72%; top: 9%; width: 150px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); opacity: 0; }
.is-night .aup-vshoot { animation: v-shoot 10s ease-in 2.5s infinite; }
.aup-vcloud { position: absolute; left: 0; top: var(--t, 12%); width: 170px; height: 46px; border-radius: 46px; background: var(--cloud); animation: v-cloud var(--dur, 110s) linear infinite; animation-delay: var(--dl, 0s); }
.aup-vcloud::before, .aup-vcloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }
.aup-vcloud::before { width: 74px; height: 74px; left: 26px; top: -36px; }
.aup-vcloud::after { width: 54px; height: 54px; left: 86px; top: -24px; }
.aup-vcloud.c1 { --t: 15%; --dur: 105s; --dl: -30s; }
.aup-vcloud.c2 { --t: 28%; --s: .7; --dur: 80s; --dl: -62s; }
.aup-vcloud.c3 { --t: 7%; --s: .52; --dur: 150s; --dl: -110s; }
.aup-vbirds { position: absolute; left: 0; top: 17%; width: 96px; height: 44px; overflow: visible; animation: v-birds 36s linear infinite; animation-delay: -9s; }
.aup-vbirds .b { fill: none; stroke: var(--bird); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: v-flap .55s ease-in-out infinite alternate; }
.aup-vbirds .b2 { animation-delay: -.2s; }
.aup-vbirds .b3 { animation-delay: -.38s; }
.is-night .aup-vbirds { display: none; }

/* land */
.aup-vland { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; display: block; width: 100%; height: var(--lh); pointer-events: none; }
.aup-vland .v-far2 { fill: var(--far2); }
.aup-vland .v-far, .aup-vland .v-far-c { fill: var(--far); }
.aup-vland .v-far-p, .aup-vland .v-far-c { stroke: var(--far); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.aup-vland .v-river { fill: var(--river); }
.aup-vland .v-glint ellipse { fill: var(--glint); transform-box: fill-box; transform-origin: center; animation: v-glint 3.6s ease-in-out infinite alternate; }
.aup-vland .v-glint ellipse:nth-child(2) { animation-delay: -1.2s; }
.aup-vland .v-glint ellipse:nth-child(3) { animation-delay: -2.2s; }
.aup-vland .v-rp { fill: none; stroke: var(--rp); stroke-width: 2; stroke-linecap: round; opacity: 0; animation: v-rp 5.5s ease-in-out infinite; animation-delay: var(--d); }
.aup-vland .v-sand { fill: var(--sand); }
.aup-vland .v-sand-l { fill: none; stroke: var(--sand-l); stroke-width: 3; stroke-linecap: round; }
.aup-vland .v-kash { transform-box: fill-box; transform-origin: 50% 100%; animation: v-kash 4.8s ease-in-out infinite alternate; animation-delay: var(--d); }
.aup-vland .v-kstem { fill: none; stroke: var(--kstem); stroke-width: 1.3; }
.aup-vland .v-kplume { fill: none; stroke: var(--kash); stroke-width: 2.1; stroke-linecap: round; opacity: .92; }
.aup-vland .v-bank { fill: var(--bank); }
.aup-vland .v-edge { fill: none; stroke: var(--edge); stroke-width: 4; }
.aup-vland .v-hull { fill: var(--hull); }
.aup-vland .v-hull-l, .aup-vland .v-sail-l { fill: none; stroke: var(--hull-l); stroke-width: 1.6; }
.aup-vland .v-sail-l { stroke: var(--sail-l); }
.aup-vland .v-mast, .aup-vland .v-pole, .aup-vland .v-oar { fill: none; stroke: var(--trunk); stroke-width: 2.4; stroke-linecap: round; }
.aup-vland .v-sail { fill: var(--sail); }
.aup-vland .v-roof-b { fill: var(--hay-l); }
.aup-vland .v-man { fill: none; stroke: var(--man); stroke-width: 3; stroke-linecap: round; }
.aup-vland .v-head { fill: var(--man); }
.aup-vland .v-boat { animation: v-boat 74s linear infinite; animation-delay: -21s; }
.aup-vland .v-boat2 { animation: v-boat2 120s linear infinite; animation-delay: -46s; }
.aup-vland .v-bob { transform-box: fill-box; transform-origin: 50% 100%; animation: v-bob 3.8s ease-in-out infinite alternate; }
.aup-vland .v-moor .v-bob { animation-duration: 4.6s; }
.aup-vland .v-ptrunk { fill: none; stroke: var(--ptrunk); stroke-width: 5; stroke-linecap: round; }
.aup-vland .v-pring { fill: none; stroke: rgba(0, 0, 0, .16); stroke-width: 1.2; }
.aup-vland .v-sw { transform-box: fill-box; transform-origin: 50% 30%; animation: v-sway 4.4s ease-in-out infinite alternate; animation-delay: var(--d); }
.aup-vland .v-frond { fill: none; stroke: var(--palm); stroke-width: 3.4; stroke-linecap: round; }
.aup-vland .v-nut { fill: var(--nut); }
.aup-vland .v-mango, .aup-vland .v-banana { transform-box: fill-box; transform-origin: 50% 100%; animation: v-sway-s 6s ease-in-out infinite alternate; animation-delay: var(--d); }
.aup-vland .v-banana { animation-duration: 4.2s; }
.aup-vland .v-trunk { fill: none; stroke: var(--trunk); stroke-width: 7; stroke-linecap: round; }
.aup-vland .v-tree { fill: var(--tree); }
.aup-vland .v-tree-l { fill: var(--tree-l); }
.aup-vland .v-bstem { fill: var(--bstem); }
.aup-vland .v-bleaf { fill: var(--bleaf); }
.aup-vland .v-haystack { fill: var(--hay); }
.aup-vland .v-hay-l { fill: none; stroke: var(--hay-l); stroke-width: 1.6; }
.aup-vland .v-wall { fill: var(--wall); }
.aup-vland .v-wall-l { fill: none; stroke: var(--wall-l); stroke-width: 1.2; }
.aup-vland .v-roof { fill: var(--roof); }
.aup-vland .v-roof-l { fill: none; stroke: var(--roof-l); stroke-width: 1.2; }
.aup-vland .v-roof-d { fill: var(--roof-d); }
.aup-vland .v-door { fill: var(--door); }
.aup-vland .v-win { fill: var(--win); }
.aup-vland .v-plinth { fill: var(--plinth); }
.aup-vland .v-smoke circle { fill: var(--smoke); opacity: 0; transform-box: fill-box; transform-origin: center; animation: v-smoke 5s ease-out infinite; }
.aup-vland .v-smoke circle:nth-child(2) { animation-delay: 1.66s; }
.aup-vland .v-smoke circle:nth-child(3) { animation-delay: 3.33s; }
.aup-vland .v-field { fill: var(--field); }
.aup-vland .v-row { fill: none; stroke: var(--row); stroke-width: 2.2; }
.aup-vland .v-tuft { fill: none; stroke: var(--tuft); stroke-width: 1.8; stroke-linecap: round; }
.aup-vland .v-ff { fill: #FFE68A; opacity: 0; }
.is-night .aup-vland .v-ff { animation: v-ff 4.2s ease-in-out infinite; animation-delay: var(--d); }
.is-night .aup-vland .v-win { animation: v-win 6s steps(1) infinite; filter: drop-shadow(0 0 5px rgba(255, 206, 92, .95)); }
.is-night .aup-vland .v-hut:nth-child(odd) .v-win { animation-delay: -2.5s; }

@keyframes v-glow { 0%, 100% { filter: brightness(1); transform: scale(1); } 50% { filter: brightness(1.08); transform: scale(1.04); } }
@keyframes v-stars { from { opacity: .65; } to { opacity: 1; } }
@keyframes v-twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes v-shoot { 0%, 86% { opacity: 0; transform: translate(0, 0) rotate(-25deg); } 88% { opacity: 1; } 100% { opacity: 0; transform: translate(-380px, 178px) rotate(-25deg); } }
@keyframes v-cloud { from { transform: translateX(-240px) scale(var(--s, 1)); } to { transform: translateX(calc(100vw + 60px)) scale(var(--s, 1)); } }
@keyframes v-birds { 0% { transform: translate(-130px, 26px); } 50% { transform: translate(50vw, -6px); } 100% { transform: translate(calc(100vw + 60px), 18px); } }
@keyframes v-flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
@keyframes v-glint { from { opacity: .55; transform: scaleX(.8); } to { opacity: 1; transform: scaleX(1.15); } }
@keyframes v-rp { 0% { opacity: 0; transform: translateX(-10px); } 45% { opacity: 1; } 100% { opacity: 0; transform: translateX(16px); } }
@keyframes v-kash { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
@keyframes v-boat { from { transform: translate(-90px, 296px); } to { transform: translate(1530px, 292px); } }
@keyframes v-boat2 { from { transform: translate(1500px, 268px) scale(-.62, .62); } to { transform: translate(-70px, 270px) scale(-.62, .62); } }
@keyframes v-bob { from { transform: rotate(-2deg) translateY(0); } to { transform: rotate(2deg) translateY(1.5px); } }
@keyframes v-sway { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
@keyframes v-sway-s { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
@keyframes v-smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: .85; } 100% { opacity: 0; transform: translate(16px, -48px) scale(2.5); } }
@keyframes v-ff { 0%, 100% { opacity: 0; transform: translate(0, 0); } 50% { opacity: 1; transform: translate(var(--dx), var(--dy)); } }
@keyframes v-win { 0%, 100% { opacity: 1; } 47% { opacity: .82; } 50% { opacity: 1; } 83% { opacity: .9; } }

/* hero content on the village */
.aup-village > .aup-vcontent { position: relative; z-index: 1; }
.aup-village .aup-greet { background: var(--greet-bg); border-color: var(--chip-line); color: var(--ink); backdrop-filter: blur(4px); }
.aup-village .aup-greet .aup-ic { color: var(--hi); }
.aup-village h1 { font-family: var(--aup-serif); font-weight: 800; font-size: clamp(3.4rem, 13vw, 8rem); line-height: 1.04; letter-spacing: -.015em; margin: 4px 0 0; }
.aup-village .aup-shine { color: var(--ink); background-image: linear-gradient(105deg, var(--ink) 0%, var(--ink) 42%, var(--hi) 50%, var(--ink) 58%, var(--ink) 100%); filter: drop-shadow(0 6px 24px rgba(255, 255, 255, .35)); }
.aup-village.is-night .aup-shine { filter: drop-shadow(0 4px 22px rgba(0, 0, 0, .35)); }
.aup-village .aup-home-sub { color: var(--sub); font-size: clamp(1rem, 2.4vw, 1.2rem); max-width: 50ch; }
.aup-village .aup-home-search { position: relative; z-index: 4; box-shadow: 0 18px 44px -20px rgba(30, 40, 25, .45), 0 0 0 1px rgba(11, 69, 50, .08); }
.aup-village .aup-home-search:focus-within { box-shadow: 0 0 0 4px rgba(229, 172, 46, .45), 0 22px 44px -18px rgba(30, 40, 25, .5); }
.aup-village .aup-hchip { background: var(--chip-bg); border-color: var(--chip-line); color: var(--chip-ink) !important; backdrop-filter: blur(4px); }
.aup-village .aup-hchip:hover { background: var(--aup-g8); border-color: var(--aup-g8); color: #fff !important; }
.aup-village .aup-clock { opacity: .8; }
.aup-village + .aup-area-pick { position: relative; z-index: 2; margin-top: -36px; }
.aup-village + .aup-area-pick .aup-area-form { border-radius: var(--aup-r-lg); box-shadow: 0 22px 44px -26px rgba(30, 40, 20, .5); }
@media (min-width: 900px) {
	.aup-village { padding-top: 54px; }
	.aup-village .aup-home-sub { margin-top: 14px !important; }
}
@media (max-width: 759px) {
	.aup-village { --orb-x: 87%; --orb-y: 27%; --orb-s: 52px; padding-top: 20px; }
	.aup-village.is-noon { --orb-y: 25%; }
	.aup-village.is-evening { --orb-y: 29%; --orb-s: 58px; }
	.aup-village.is-night { --orb-y: 26%; --orb-s: 46px; }
	.aup-village .aup-vcloud.c1 { --t: 5%; }
	.aup-village .aup-vcloud.c2 { --t: 14%; }
	.aup-village .aup-vcloud.c3 { display: none; }
	.aup-village .aup-vbirds { top: 9%; width: 70px; }
	.aup-village .aup-vtw:nth-child(n+7) { display: none; }
}

/* blood requests inside the hero */
.aup-balert { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 0 16px; padding: 6px 6px 6px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(201, 48, 44, .18); box-shadow: 0 12px 30px -20px rgba(120, 20, 10, .55); color: #3B1A13; animation: aup-up-in .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.aup-balert-head { display: inline-flex; align-items: center; gap: 7px; flex: none; color: var(--aup-red-d) !important; font-weight: 800; font-size: .92rem; white-space: nowrap; }
.aup-balert-head b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--aup-red); color: #fff; font-size: .8rem; }
.aup-balert-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--aup-red); animation: aup-glow 1.6s ease-out infinite; }
.aup-balert-stage { position: relative; flex: 1; min-width: 0; height: 40px; overflow: hidden; border-left: 1px solid rgba(201, 48, 44, .16); }
.aup-balert-item { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 4px 0 10px; color: #3B1A13 !important; font-size: .9rem; opacity: 0; transform: translateY(100%); transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s; pointer-events: none; }
.aup-balert-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.aup-balert-item.is-out { opacity: 0; transform: translateY(-100%); }
.aup-balert-bg { flex: none; min-width: 38px; padding: 2px 7px; border-radius: 8px; background: var(--aup-red); color: #fff; font-weight: 800; font-family: system-ui, sans-serif; text-align: center; font-size: .86rem; }
.aup-balert-txt { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.aup-balert-txt b { color: var(--aup-red-d); }
.aup-balert-call { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 99px; background: var(--aup-red1); color: var(--aup-red-d); font-weight: 800; font-size: .84rem; }
.aup-balert-call .aup-ic { width: 15px; height: 15px; animation: aup-wiggle 2.6s ease-in-out infinite; }
.aup-balert-all { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--aup-red); color: #fff !important; }
@media (max-width: 480px) { .aup-balert { padding-left: 10px; gap: 8px; } .aup-balert-head { font-size: .82rem; gap: 5px; } .aup-balert-call { padding: 5px 8px; } .aup-balert-item { padding-left: 8px; gap: 6px; font-size: .84rem; } }
@media (max-width: 420px) { .aup-village .aup-clock { display: none; } .aup-village .aup-greet { font-size: .84rem; } }

/* search suggestions + voice */
.aup-mic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--aup-g1); color: var(--aup-g8); cursor: pointer; }
.aup-mic .aup-ic { width: 20px; height: 20px; }
.aup-mic.is-on { background: var(--aup-red); color: #fff; animation: aup-glow 1.2s ease-out infinite; }
.aup-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; max-height: 360px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(20, 30, 20, .45), 0 0 0 1px rgba(11, 69, 50, .08); text-align: left; animation: aup-fade-down .18s ease-out; }
.aup-sg { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; color: var(--aup-ink) !important; line-height: 1.3; }
.aup-sg:hover, .aup-sg.is-active { background: var(--aup-g1); }
.aup-sg-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--c, var(--aup-g)) 12%, #fff); color: var(--c, var(--aup-g)); font-weight: 800; font-size: .8rem; }
.aup-sg-ic .aup-ic { width: 18px; height: 18px; }
.aup-sg-t { flex: 1; min-width: 0; }
.aup-sg-t strong { display: block; font-size: .95rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.aup-sg-t small { display: block; font-size: .8rem; color: var(--aup-mut); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.aup-sg-call { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--aup-g); color: #fff !important; }
.aup-sg-call .aup-ic { width: 16px; height: 16px; }
.aup-sg-all { display: block; padding: 10px; text-align: center; font-weight: 700; color: var(--aup-g8) !important; border-top: 1px solid var(--aup-line2); margin-top: 4px; }
.aup-sg-empty { padding: 14px; text-align: center; color: var(--aup-mut); font-size: .92rem; }

/* animations pause while their section is off screen */
.aup-paused, .aup-paused *, .aup-paused *::before, .aup-paused *::after { animation-play-state: paused !important; }
.aup-sg-secs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 6px 8px; border-bottom: 1px solid var(--aup-line2); margin-bottom: 4px; }

/* ==========================================================================
   Services bento (1.5.0)
   ========================================================================== */
.aup-need .aup-need-grid { gap: 12px; }
.aup-need .aup-need-card { border: 0; border-radius: 22px; padding: 18px; min-height: 160px; background: var(--tile, #EDF3EC); overflow: hidden; isolation: isolate; }
.aup-need .aup-need-card:hover { box-shadow: 0 20px 40px -24px rgba(40, 50, 30, .45); }
.aup-need .aup-need-card strong { font-family: var(--aup-serif); font-size: 1.22rem; font-weight: 700; color: #1D2A24; }
.aup-need .aup-need-desc { color: #5F5A4E; }
.aup-need .aup-need-ic { width: 48px; height: 48px; border-radius: 15px; background: #fff; box-shadow: 0 6px 16px -10px rgba(30, 40, 20, .35); margin-bottom: 10px; }
.aup-need .aup-need-ic .aup-ic { width: 24px; height: 24px; }
.aup-need .aup-need-count { top: 16px; right: 16px; background: rgba(255, 255, 255, .75); }
.aup-need .aup-mini-tags span { background: rgba(255, 255, 255, .7); border-color: transparent; }
.aup-need-go { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--c, var(--aup-g)); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.aup-need-go .aup-ic { width: 16px; height: 16px; }
.aup-need-card:hover .aup-need-go, .aup-need-card:focus-visible .aup-need-go { opacity: 1; transform: none; }
.aup-need-doctor, .aup-need-health { --tile: #E7F0E9; }
.aup-need-business, .aup-need-complaint { --tile: #F5EDDC; }
.aup-need-professional { --tile: #F4E8E2; }
.aup-need-service { --tile: #EDF3EC; }

/* blood: the big red tile */
.aup-need .aup-need-blood { --c: #fff; color: #fff !important; background: radial-gradient(120% 90% at 100% 0%, rgba(240, 213, 151, .2), transparent 55%), linear-gradient(150deg, #B9291F 0%, #8E1A14 55%, #66100C 100%); }
.aup-need .aup-need-blood strong { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; }
.aup-need .aup-need-blood .aup-need-desc { color: rgba(255, 255, 255, .86); font-size: .95rem; }
.aup-need .aup-need-blood .aup-need-ic { display: none; }
.aup-need .aup-need-blood .aup-need-count { position: static; align-self: flex-start; margin-bottom: 14px; color: #fff; background: rgba(255, 255, 255, .18); padding: 4px 12px; font-size: .86rem; }
.aup-need-blood .aup-bg-grid { margin: 14px 0 10px; gap: 8px; max-width: 420px; }
.aup-need-blood .aup-bg-grid span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); }
.aup-need-blood .aup-bg-grid span b { color: #fff; }
.aup-need-blood .aup-bg-grid span.has { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .36); color: #fff; }
.aup-need-blood .aup-bg-grid span.has::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7CF0A9; margin-top: 3px; box-shadow: 0 0 0 3px rgba(124, 240, 169, .2); }
.aup-need-blood .aup-need-foot > span { color: rgba(255, 255, 255, .9); }
.aup-need-blood .aup-need-foot em { color: #8E1A14; background: #fff; padding: 8px 16px; border-radius: 99px; }
.aup-bt-art { position: absolute; right: 22px; top: 18px; width: 150px; height: 150px; pointer-events: none; z-index: -1; }
.aup-bt-ring { position: absolute; inset: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: aup-ring-c 2.6s ease-out infinite; }
@keyframes aup-ring-c { 0% { transform: scale(.75); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }
.aup-bt-ring.r2 { animation-delay: 1.3s; }
.aup-bt-drop { position: absolute; inset: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; animation: aup-beat 1.6s ease-in-out infinite; }
.aup-bt-drop .aup-ic { width: 38px; height: 38px; }
.aup-bt-ecg { position: absolute; right: -12px; top: 156px; width: 236px; height: 44px; overflow: visible; }
.aup-bt-ecg polyline { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: aup-ecg 2.8s linear infinite; }
@keyframes aup-ecg { 0% { stroke-dashoffset: 300; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* map: wide tile with pins */
.aup-need .aup-need-map { --tile: #E4EFEC; background: linear-gradient(135deg, #E9F3EF 0%, #DCEBE6 100%); padding-right: 46%; }
.aup-map-art { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: -1; overflow: hidden; border-left: 1px solid rgba(14, 110, 76, .08); background: #F3F8F1; }
.aup-map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.aup-map-art .mr { fill: none; stroke: #9CCBDA; stroke-width: 12; stroke-linecap: round; }
.aup-map-art .mrd { fill: none; stroke: #E5D9BC; stroke-width: 4; stroke-dasharray: 2 0; stroke-linecap: round; }
.aup-map-art .mf { fill: #D7E9CF; }
.aup-map-art .pin { position: absolute; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pc, #C9302C); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .35); animation: aup-pin 2.4s ease-in-out infinite; }
.aup-map-art .pin::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.aup-map-art .p1 { left: 30%; top: 46%; }
.aup-map-art .p2 { left: 62%; top: 30%; --pc: #0E6E4C; animation-delay: .5s; }
.aup-map-art .p3 { left: 76%; top: 70%; --pc: #D99A2B; animation-delay: 1s; }
@keyframes aup-pin { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(5px, -5px); } }

@media (min-width: 960px) {
	.aup-need .aup-need-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(160px, auto); gap: 14px; }
	.aup-need .aup-need-blood { grid-column: span 2; grid-row: span 2; padding: 26px; }
	.aup-need .aup-need-service, .aup-need .aup-need-complaint { min-height: 230px; }
	.aup-need .aup-need-map { grid-column: span 2; min-height: 230px; }
}
@media (max-width: 759px) {
	.aup-need .aup-need-card { border-radius: 18px; padding: 14px; min-height: 140px; }
	.aup-need .aup-need-ic { width: 42px; height: 42px; margin-bottom: 6px; }
	.aup-need .aup-need-card strong { font-size: 1.08rem; }
	.aup-need .aup-need-blood { padding: 18px; }
	.aup-bt-art { right: 6px; top: 8px; width: 112px; height: 112px; }
	.aup-bt-drop .aup-ic { width: 28px; height: 28px; }
	.aup-bt-ecg { display: none; }
	.aup-need .aup-need-map { padding-right: 18px; padding-bottom: 120px; }
	.aup-map-art { top: auto; left: 0; width: auto; height: 104px; border-left: 0; border-top: 1px solid rgba(14, 110, 76, .08); }
	.aup-need-go { display: none; }
}

/* ==========================================================================
   Section touches (1.5.0)
   ========================================================================== */
/* headings */
.aup-sec-head h2, .aup-glance-main h2, .aup-panel > h2, .aup-hero h1 { letter-spacing: -.005em; }
.aup-sec-head h2, .aup-glance-main h2 { color: var(--aup-head); }

/* header: a live dot on the directory menu */
.aup-pulse-dot { display: inline-block; width: 7px; height: 7px; margin: 0 2px 0 4px; border-radius: 50%; background: #22B573; vertical-align: 2px; animation: aup-live 1.8s ease-out infinite; }

/* doctorates: glass shell on drifting blobs, intro left + strip right */
.aup-doc-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #F7F4EC 0%, #FFFDF8 55%, #F7F4EC 100%); border: 0; padding: 40px 0; }
.aup-doc-blob { position: absolute; z-index: -1; border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; filter: blur(30px); opacity: .55; animation: aup-blob 18s ease-in-out infinite alternate; }
.aup-doc-blob.a { width: 420px; height: 420px; left: -120px; top: -90px; background: radial-gradient(circle at 40% 40%, #F3D48C, rgba(243, 212, 140, 0) 70%); }
.aup-doc-blob.b { width: 480px; height: 480px; right: -140px; bottom: -160px; background: radial-gradient(circle at 50% 50%, #BFE0CB, rgba(191, 224, 203, 0) 70%); animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes aup-blob { 0% { transform: translate(0, 0) rotate(0); border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%; } 100% { transform: translate(40px, 30px) rotate(25deg); border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; } }
.aup-doc-shell { display: grid; gap: 18px; padding: 18px; border-radius: 28px; background: rgba(255, 255, 255, .58); border: 1px solid rgba(232, 214, 168, .7); box-shadow: 0 24px 50px -36px rgba(90, 60, 10, .45); backdrop-filter: blur(8px); }
.aup-doc-shell .aup-doc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.aup-doc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(198, 161, 91, .14); color: var(--aup-gold-d) !important; font-weight: 700; margin-bottom: 8px !important; }
.aup-doc-pill .aup-ic { width: 16px; height: 16px; }
.aup-doc-shell .aup-doc-head h2 { color: #2E2200; }
.aup-doc-shell .aup-doc-stats { flex-direction: column; align-items: flex-start; gap: 10px; }
.aup-doc-shell .aup-doc-big { flex-direction: row; align-items: baseline; gap: 8px; }
.aup-doc-cta { margin-top: 2px; }
.aup-doc-stage { display: flex; flex-direction: column; min-width: 0; }
.aup-doc-stage .aup-hscroll { padding-top: 6px; }
.aup-doc-stage .aup-hs-nav { order: 2; margin: 10px 0 0; justify-content: flex-start; }
@media (min-width: 1000px) {
	.aup-doc-shell { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; padding: 28px; align-items: center; }
	.aup-doc-shell .aup-doc-head h2 { font-size: 2.1rem; }
}

/* earn: floating coins, shining words, rewards sliding in */
.aup-earn { isolation: isolate; }
.aup-earn-deco { inset: 0; right: auto; top: auto; display: block; width: 100%; height: 100%; transform: none; font-size: 0; }
.aup-earn-deco span { position: absolute; display: grid; place-items: center; width: var(--z, 46px); height: var(--z, 46px); border-radius: 50%; font-family: var(--aup-serif); font-weight: 800; font-size: calc(var(--z, 46px) * .5); color: #8A5F00; background: radial-gradient(circle at 35% 30%, #FFF1B8, #F2C14E 55%, #C98E14); box-shadow: inset 0 -3px 0 rgba(120, 80, 0, .35), 0 10px 20px -10px rgba(0, 0, 0, .5); opacity: .9; animation: aup-coin 6s ease-in-out infinite; }
.aup-earn-deco span:nth-child(1) { --z: 52px; right: 6%; top: 10%; }
.aup-earn-deco span:nth-child(2) { --z: 36px; right: 22%; top: 4%; animation-delay: -1.5s; opacity: .7; }
.aup-earn-deco span:nth-child(3) { --z: 30px; right: 3%; top: 52%; animation-delay: -3s; opacity: .6; }
.aup-earn-deco span:nth-child(4) { --z: 60px; left: 46%; bottom: -14px; animation-delay: -4.2s; opacity: .35; }
.aup-earn-deco span:nth-child(5) { --z: 26px; left: 38%; top: 8%; animation-delay: -2.4s; opacity: .5; }
@keyframes aup-coin { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(10deg); } }
.aup-earn-sweep { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .1) 45%, transparent 55%) -100% 0 / 220% 100% no-repeat; animation: aup-sweep 6s ease-in-out infinite; }
@keyframes aup-sweep { 0%, 40% { background-position: 140% 0; } 100% { background-position: -60% 0; } }
.aup-earn-hl { background: linear-gradient(100deg, #FFD45C 0%, #FFF3C4 45%, #FFD45C 60%, #E5AC2E 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: aup-hl 4s ease-in-out infinite; }
@keyframes aup-hl { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.aup-earn-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.aup-earn-spark { width: 8px; height: 8px; border-radius: 50%; background: #FFD45C; animation: aup-glow 1.8s ease-out infinite; }
.aup-js .aup-earn-list[data-aup-seen]:not(.is-seen) > div { opacity: 0; transform: translateX(26px); }
.aup-earn-list.is-seen > div { opacity: 1; transform: none; transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.aup-earn-list.is-seen > div:nth-of-type(2) { transition-delay: .12s; }
.aup-earn-list.is-seen > div:nth-of-type(3) { transition-delay: .24s; }
.aup-earn-list.is-seen > div:nth-of-type(4) { transition-delay: .36s; }

/* emergency: a live pulse on the kicker */
.aup-sos .aup-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.aup-sos .aup-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FF6A60; animation: aup-glow 1.4s ease-out infinite; }

/* glance tiles: colour accents and number pop */
.aup-glance-stats a:nth-child(4n+1) { --gt: #0E6E4C; }
.aup-glance-stats a:nth-child(4n+2) { --gt: #8A3B2B; }
.aup-glance-stats a:nth-child(4n+3) { --gt: #B07D1A; }
.aup-glance-stats a:nth-child(4n+4) { --gt: #2C6BB5; }
.aup-glance-stats a { position: relative; background: #fff; border: 1px solid var(--aup-line); border-top: 3px solid var(--gt, var(--aup-g)); }
.aup-glance-stats a b { color: var(--gt, var(--aup-g)); }
.aup-glance-stats a:hover { background: #fff; border-color: var(--aup-line); border-top-color: var(--gt, var(--aup-g)); }

/* ==========================================================================
   Live chat (1.5.0)
   ========================================================================== */
.aup-chat { position: fixed; right: 22px; bottom: 22px; z-index: 92; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.aup-chat > * { pointer-events: auto; }
.aup-chat-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: linear-gradient(145deg, var(--aup-g), var(--aup-g9)); color: #fff; cursor: pointer; box-shadow: 0 16px 30px -12px rgba(8, 69, 47, .7); animation: aup-chat-pulse 2.8s ease-out infinite; transition: transform .25s; }
.aup-chat-fab:hover { transform: scale(1.06); }
.aup-chat-fab .aup-ic { width: 26px; height: 26px; transition: transform .3s, opacity .3s; }
.aup-chat-fab > span { grid-area: 1 / 1; display: grid; place-items: center; }
.aup-chat-ix { opacity: 0; transform: rotate(-90deg); }
.aup-chat.is-open .aup-chat-ic { opacity: 0; transform: rotate(90deg) scale(.6); }
.aup-chat.is-open .aup-chat-ix { opacity: 1; transform: none; }
.aup-chat.is-open .aup-chat-fab { animation: none; }
@keyframes aup-chat-pulse { 0% { box-shadow: 0 16px 30px -12px rgba(8, 69, 47, .7), 0 0 0 0 rgba(14, 110, 76, .45); } 70%, 100% { box-shadow: 0 16px 30px -12px rgba(8, 69, 47, .7), 0 0 0 16px rgba(14, 110, 76, 0); } }
.aup-chat-badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--aup-red); color: #fff; font-size: .78rem; display: grid; place-items: center; border: 2px solid #fff; }
.aup-chat-teaser { position: relative; max-width: 270px; padding: 12px 34px 12px 14px; border-radius: 18px 18px 4px 18px; background: #fff; color: var(--aup-ink); font-size: .92rem; line-height: 1.5; box-shadow: 0 18px 40px -18px rgba(20, 30, 20, .45), 0 0 0 1px rgba(11, 69, 50, .08); animation: aup-pop .3s ease-out; }
.aup-chat-teaser p { margin: 0 !important; }
.aup-chat-tx { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--aup-bg); color: var(--aup-mut); cursor: pointer; }
.aup-chat-tx .aup-ic { width: 14px; height: 14px; }
.aup-chat-panel { display: flex; flex-direction: column; width: 360px; height: min(540px, calc(100vh - 140px)); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -26px rgba(10, 30, 20, .55), 0 0 0 1px rgba(11, 69, 50, .08); transform-origin: 100% 100%; animation: aup-chat-in .28s cubic-bezier(.2, .8, .3, 1.2); }
.aup-chat-panel[hidden] { display: none; }
@keyframes aup-chat-in { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.aup-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 10px 14px 14px; background: linear-gradient(135deg, var(--aup-g8), var(--aup-g9)); color: #fff; }
.aup-chat-logo svg, .aup-chat-logo img { display: block; width: 40px; height: 40px; border-radius: 12px; color: rgba(255, 255, 255, .2); }
.aup-chat-head > div { flex: 1; min-width: 0; line-height: 1.3; }
.aup-chat-head strong { display: block; font-family: var(--aup-serif); font-size: 1.05rem; }
.aup-chat-head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .9; }
.aup-chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #B9C4BE; flex: none; }
.aup-chat.is-online .aup-chat-dot { background: #4ADE80; animation: aup-live 1.8s ease-out infinite; }
.aup-chat-close { color: #fff; }
.aup-chat-close:hover { background: rgba(255, 255, 255, .12); }
.aup-chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; background: #F7F4EC; overscroll-behavior: contain; }
.aup-chat-m { display: flex; flex-direction: column; max-width: 84%; align-self: flex-end; animation: aup-up-in .25s ease-out; }
.aup-chat-m > div { padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--aup-g); color: #fff; font-size: .93rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.aup-chat-m small { margin-top: 3px; font-size: .7rem; color: var(--aup-mut); text-align: right; }
.aup-chat-m.is-a { align-self: flex-start; }
.aup-chat-m.is-a > div { background: #fff; color: var(--aup-ink); border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.aup-chat-m.is-a small { text-align: left; }
.aup-chat-m.is-sending > div { opacity: .6; }
.aup-chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #fff; }
.aup-chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--aup-mut); animation: aup-typing 1s ease-in-out infinite; }
.aup-chat-typing i:nth-child(2) { animation-delay: .15s; }
.aup-chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aup-typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.aup-chat-form { display: grid; gap: 6px; padding: 10px 12px 8px; border-top: 1px solid var(--aup-line2); background: #fff; }
.aup-chat-name { width: 100%; box-sizing: border-box; min-height: 38px; padding: 6px 12px; border: 1px solid var(--aup-line); border-radius: 10px; font: inherit; font-size: .9rem; }
.aup-chat.has-convo .aup-chat-name { display: none; }
.aup-chat-row { display: flex; align-items: flex-end; gap: 8px; }
.aup-chat-row textarea { flex: 1; min-width: 0; box-sizing: border-box; min-height: 44px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--aup-line); border-radius: 14px; font: inherit; font-size: .95rem; resize: none; line-height: 1.4; }
.aup-chat-row textarea:focus, .aup-chat-name:focus { outline: 0; border-color: var(--aup-g); box-shadow: 0 0 0 3px var(--aup-g2); }
.aup-chat-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--aup-g); color: #fff; cursor: pointer; }
.aup-chat-send .aup-ic { width: 20px; height: 20px; }
.aup-chat-send:disabled { opacity: .5; }
.aup-chat-note { margin: 0 !important; font-size: .74rem; color: var(--aup-mut); text-align: center; }
/* stay clear of the other floating bits */
.aup-chat ~ .aup-totop { bottom: 94px; right: 28px; width: 46px; height: 46px; }
body:has(.aup-popup:not([hidden])) .aup-chat { display: none; }
body.aup-lock .aup-chat:not(.is-open) { display: none; }
@media (max-width: 1099px) {
	.aup-chat { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); }
	.aup-chat-fab { width: 52px; height: 52px; }
	.aup-chat ~ .aup-totop { right: 15px; bottom: calc(142px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (max-width: 520px) {
	.aup-chat-panel { position: fixed; left: 8px; right: 8px; bottom: calc(144px + env(safe-area-inset-bottom)); width: auto; height: min(520px, calc(100vh - 220px)); }
	.aup-chat-teaser { max-width: calc(100vw - 90px); }
}
.aup-chat.is-open ~ .aup-totop { opacity: 0; pointer-events: none; }

.aup-village.is-suggesting { z-index: 5; }
.aup-village .aup-home-search input:focus, .aup-village .aup-home-search input:focus-visible { outline: none; box-shadow: none; }
.aup-vland { overflow: hidden; }
@media (max-width: 400px) { .aup-village .aup-marquee { margin-left: -14px; margin-right: -14px; } }

/* ==========================================================================
   Reference match (1.6.0) — layout and details matched to the reference portal
   ========================================================================== */
:root { --aup-terra: #8A3B2B; --aup-grad: linear-gradient(135deg, #0E6E4C, #8A3B2B); --aup-head: #0A4F37; }
@media (min-width: 1200px) { .aup-wrap { max-width: 1164px; padding-left: 12px; padding-right: 12px; } }
@media (min-width: 1400px) { .aup-wrap { max-width: 1344px; } }

/* header */
.aup-header { background: rgba(255, 255, 255, .97); border-bottom: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.aup-header-in { min-height: 78px; gap: 14px; }
.aup-header .aup-logo-svg, .aup-header .aup-logo-img { width: 50px; height: 50px; border-radius: 12px; box-shadow: 0 4px 12px rgba(10, 79, 55, .22); }
.aup-brand-text strong { font-size: 1.32rem; line-height: 1.15; letter-spacing: -.01em; }
.aup-bn1 { color: var(--aup-terra); }
.aup-bn2 { color: var(--aup-g); }
.aup-brand-text small { font-size: .74rem; color: #6B6255; font-weight: 600; }
.aup-nav { gap: 2px; margin-left: auto; }
.aup-nav > a, .aup-dd-btn { gap: 6px; padding: 9px 8px; border-radius: 10px; color: #1E2723 !important; font-size: .97rem; font-weight: 600; }
.aup-nav > a .aup-ic, .aup-dd-btn .aup-ic { width: 17px; height: 17px; color: #4B5A52; }
.aup-nav .aup-nav-blood .aup-ic { color: #3B3B3B; }
.aup-nav .aup-nav-em .aup-ic { color: var(--aup-red); }
.aup-dd-btn .aup-dd-chev { width: 14px; height: 14px; }
.aup-dd-dir > .aup-dd-btn { background: rgba(14, 110, 76, .07); box-shadow: inset 0 0 0 1px rgba(14, 110, 76, .15); border-radius: 12px; font-weight: 700; padding-left: 10px; padding-right: 10px; }
.aup-dd-dir .aup-pulse-dot { background: #D9534F; margin: 0 0 0 4px; vertical-align: 1px; animation: aup-glow 1.6s ease-out infinite; }
.aup-head-actions { gap: 8px; }
.aup-head-actions { margin-left: auto; }
@media (min-width: 1100px) { .aup-nav + .aup-head-actions { margin-left: 18px; } }
.aup-theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E6E1D3; }
.aup-theme-btn .aup-ic { width: 18px; height: 18px; color: #5B544A; }
.aup-theme-btn .aup-i-sun { display: none; }
.aup-head-login, .aup-head-reg { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: .9rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--aup-g); }
.aup-head-login { color: var(--aup-g) !important; background: transparent; }
.aup-head-login:hover { background: var(--aup-g1); }
.aup-head-reg { color: #fff !important; background: var(--aup-grad); box-shadow: 0 6px 16px -8px rgba(14, 110, 76, .6); }
.aup-head-reg:hover { filter: brightness(1.06); }
.aup-search-btn { border: 1px solid #E6E1D3; border-radius: 10px; width: 40px; height: 40px; background: #fff; }
@media (max-width: 639px) { .aup-head-login.aup-hide-sm, .aup-head-reg.aup-hide-sm { display: none; } }
@media (max-width: 1099px) {
	.aup-theme-btn { display: none; }
	.aup-search-btn { border-color: transparent; }
}
@media (min-width: 1100px) and (max-width: 1379px) {
	.aup-nav > a .aup-ic, .aup-dd-btn > .aup-ic:first-child { display: none; }
	.aup-nav > a, .aup-dd-btn { padding-left: 7px; padding-right: 7px; font-size: .93rem; }
	.aup-nav + .aup-head-actions { margin-left: 8px; }
	.aup-head-actions { gap: 6px; }
}

/* home hero (1.6.0): left-aligned content in a 1140 column, calmer flat village */
.aup-village {
	--hill1: #B7D2A4; --hill2: #8DB77E; --bush: #6FA061;
	--sky1: #FAD9B0; --sky2: #FCEBD2; --sky3: #E6F0DD;
	--river: #7BB5C6; --bank: #93BE6E; --field: #74A247; --row: rgba(255, 255, 255, .22); --tuft: #4D7A2C;
	--wall: #D9AC74; --roof: #8E4D30; --door: #5A3420; --win: #6B4528;
	--tree: #3E7A4C; --tree-l: #5A9563; --palm: #2E6845; --ptrunk: #7E5E3A; --nut: #C98A2C;
	--ink: #0A3D2B; --sub: #3C4E44; --hi: #C98A16;
	--chip-bg: rgba(255, 255, 255, .62); --chip-line: rgba(10, 61, 43, .14); --chip-ink: #0A3D2B; --chip-ic: #0E6E4C; --greet-bg: rgba(255, 255, 255, .6);
	--lh: clamp(300px, 34vw, 520px);
	padding: 0;
}
.aup-village.is-noon { --hill1: #ADD0A8; --hill2: #7FB277; --bush: #64A05A; --river: #62ADCB; --bank: #8BC067; --field: #6AA23C; }
.aup-village.is-evening { --hill1: #C7A98A; --hill2: #8C9A66; --bush: #6E8A4E; --river: #CF9C78; --bank: #8EA868; --field: #648A3A; --wall: #C99460; --roof: #7D4129; --chip-ic: #B6400E; }
.aup-village.is-night {
	--sky1: #0E1F33; --sky2: #18324A; --sky3: #24435A;
	--hill1: #1C3343; --hill2: #1A3A31; --bush: #173526; --river: #2A5470; --bank: #23402F; --field: #1F3A27; --row: rgba(255, 255, 255, .1); --tuft: #2F5238;
	--wall: #4C3A2D; --roof: #3A281D; --door: #1D150F; --win: #FFD36E;
	--chip-bg: rgba(255, 255, 255, .1); --chip-line: rgba(255, 255, 255, .16); --chip-ink: #F4EEDD; --chip-ic: #9FDCC0; --greet-bg: rgba(255, 255, 255, .1);
}
.aup-village.is-night { background: linear-gradient(180deg, var(--sky1) 0%, var(--sky3) 72%); }
.aup-vland .v-hill1 { fill: var(--hill1); }
.aup-vland .v-hill2 { fill: var(--hill2); }
.aup-vland .v-bush { fill: var(--bush); }
.aup-vland .v-ptrunk { stroke-width: 7; }
.aup-vland .v-frond { stroke-width: 6; }
.aup-vland .v-trunk { stroke-width: 8; }
.aup-vland .v-mast, .aup-vland .v-pole { stroke-width: 3; }
.aup-vland .v-row { stroke-width: 2.4; }
.aup-vland .v-tuft { stroke-width: 2.4; }
.aup-vland .v-roof-b { fill: var(--roof); }
.aup-vland .v-boat { animation: v-boat3 80s linear infinite; animation-delay: -30s; }
@keyframes v-boat3 { from { transform: translate(-90px, 341px); } to { transform: translate(1540px, 338px); } }
.aup-village > .aup-vcontent { max-width: 1164px; padding-top: 70px; padding-bottom: calc(var(--lh) * .3 + 50px); }
.aup-village .aup-greet { display: inline-flex; gap: 6px; padding: 5px 14px; border-radius: 30px; border: 0; font-size: .92rem; font-weight: 600; margin: 0 !important; backdrop-filter: blur(6px); }
.aup-village h1 { font-size: clamp(3.6rem, 12vw, 8rem); line-height: 1.1; letter-spacing: -.01em; margin: 38px 0 18px; }
.aup-village .aup-home-sub { font-size: clamp(1.02rem, 2.2vw, 1.2rem); line-height: 1.65; max-width: 34em; margin: 0 0 26px !important; }
.aup-village .aup-home-search { max-width: 620px; margin-top: 0; padding: 7px 7px 7px 18px; border-radius: 18px; min-height: 67px; color: #6B6255; box-shadow: 0 18px 40px -18px rgba(10, 30, 20, .45); }
.aup-village .aup-home-search input { font-size: 1.02rem; color: #1E2A24; }
.aup-village .aup-home-search .aup-btn { min-height: 50px; padding: 0 1.3em; border-radius: 13px; background: var(--aup-g); font-weight: 700; }
.aup-village .aup-marquee { margin: 16px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.aup-village .aup-marquee-track { padding: 4px 0; gap: 10px; }
.aup-village .aup-hchip { padding: 7px 14px; border-radius: 30px; font-size: .92rem; font-weight: 600; border: 1px solid var(--chip-line); background: var(--chip-bg); }
.aup-village .aup-hchip .aup-ic { color: var(--chip-ic); opacity: 1; }
.aup-village .aup-hchip.is-hot { border-color: rgba(212, 169, 58, .7); }
.aup-village .aup-hchip.is-hot .aup-ic { color: #B8862B; }
.aup-village .aup-hchip:hover .aup-ic { color: #fff; }
.aup-village .aup-balert { max-width: 568px; min-height: 46px; padding: 0 6px 0 14px; margin: 0 0 16px; border-radius: 999px; border: 1px solid rgba(194, 65, 45, .25); background: rgba(255, 255, 255, .92); box-shadow: 0 10px 26px -16px rgba(120, 20, 10, .5); }
.aup-village .aup-balert-stage { height: 44px; }
.aup-village .aup-balert-call { background: var(--aup-red); color: #fff; }
.aup-village .aup-balert-all { width: auto; height: auto; padding: 4px 8px; border-radius: 99px; background: transparent; color: var(--aup-red-d) !important; font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 2px; }
.aup-village .aup-balert-all .aup-ic { width: 14px; height: 14px; }
@media (min-width: 1200px) { .aup-village { min-height: 800px; } }
@media (max-width: 759px) {
	.aup-village > .aup-vcontent { padding-top: 22px; padding-bottom: calc(var(--lh) * .32 + 46px); }
	.aup-village h1 { margin: 18px 0 10px; }
	.aup-village .aup-home-sub { margin-bottom: 18px !important; }
	.aup-village .aup-home-search { min-height: 58px; padding-left: 14px; }
	.aup-village .aup-home-search .aup-btn { min-height: 44px; }
	.aup-village .aup-marquee { margin: 14px -16px 0; }
	.aup-village .aup-marquee-track { padding: 4px 16px; }
	.aup-village .aup-balert { border-radius: 18px; }
}

/* area bar (1.6.0) */
.aup-village + .aup-area-pick { margin-top: -46px; position: relative; z-index: 3; }
.aup-area-pick .aup-area-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 16px 14px 19px; border-radius: 20px !important; border: 1px solid #E6E1D3; background: #fff; box-shadow: 0 16px 40px rgba(16, 58, 42, .14) !important; }
.aup-area-pick .aup-area-text { display: flex; align-items: center; gap: 12px; flex: 0 1 300px; min-width: 0; margin: 0; }
.aup-area-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--aup-g); color: #fff; }
.aup-area-text .aup-area-ic .aup-ic { width: 21px; height: 21px; color: #fff; stroke-width: 2.1; }
.aup-area-pick .aup-area-text p { margin: 0 !important; display: flex; flex-direction: column; line-height: 1.4; }
.aup-area-pick .aup-area-text strong { font-size: 1.05rem; font-weight: 700; color: #1E2723; }
.aup-area-pick .aup-area-text p span { font-size: .84rem; color: #6B6255; }
.aup-area-pick .aup-area-f { display: block !important; flex: 1 1 180px; min-width: 0; margin: 0; grid-column: auto !important; }
.aup-area-pick .aup-area-f select { width: 100%; min-height: 40px; padding: 6px 36px 6px 12px; border: 1px solid #E6E1D3; border-radius: 12px; background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center / 14px 10px; -webkit-appearance: none; appearance: none; font-size: .98rem; color: #212529; cursor: pointer; }
.aup-area-pick .aup-area-f select:disabled { background-color: #E9ECEF; color: #6c757d; cursor: not-allowed; }
.aup-area-pick .aup-area-go { flex: none; min-height: 40px; padding: 0 18px; border-radius: 12px; background: var(--aup-grad); border: 0; font-weight: 600; gap: 6px; }
.aup-area-pick .aup-area-go .aup-ic { width: 16px; height: 16px; }
@media (min-width: 1000px) { .aup-area-pick .aup-area-form { flex-wrap: nowrap; } }
@media (max-width: 999px) {
	.aup-area-pick .aup-area-text { flex: 1 1 100%; }
	.aup-area-pick .aup-area-go { flex: 1 1 100%; }
}
@media (max-width: 559px) {
	.aup-village + .aup-area-pick { margin-top: -34px; }
	.aup-area-pick .aup-area-form { padding: 14px; gap: 10px; }
	.aup-area-pick .aup-area-f { flex: 1 1 calc(50% - 5px); }
	.aup-area-pick .aup-area-f:first-of-type { flex-basis: 100%; }
}

/* ==========================================================================
   Home sections (1.6.0)
   ========================================================================== */
/* buttons */
.aup-btn-pill { border-radius: 99px; }
.aup-btn-grad { background: var(--aup-grad); border-color: transparent; color: #fff !important; box-shadow: 0 8px 18px -10px rgba(14, 110, 76, .7); }
.aup-btn-grad:hover { background: var(--aup-grad); border-color: transparent; filter: brightness(1.07); color: #fff !important; }
.aup-btn-white { background: #fff; color: #1E2723 !important; border: 1px solid #E6E1D3; }
.aup-btn-white:hover { background: #fff; border-color: var(--aup-g2); color: var(--aup-g8) !important; }
.aup-btn-line { background: transparent; color: var(--aup-g) !important; border: 1px solid var(--aup-g); }
.aup-btn-line:hover { background: var(--aup-g1); border-color: var(--aup-g); color: var(--aup-g8) !important; }
.aup-btn-terra { background: #fff; color: var(--aup-terra) !important; border: 1px solid rgba(138, 59, 43, .45); }
.aup-btn-terra:hover { background: #FBF1EE; border-color: var(--aup-terra); color: var(--aup-terra) !important; }

/* section heads: dashed terra accent, big green title, link on the right */
.aup-sec-head { align-items: flex-end; margin: 56px 0 18px; }
.aup-sec-head h2 { font-family: var(--aup-serif); font-size: clamp(1.55rem, 3.6vw, 2.15rem); font-weight: 700; line-height: 1.25; color: var(--aup-head); }
.aup-sec-head h2::after { display: none; }
.aup-sec-head h2::before, .aup-glance-main h2::before { content: ''; display: block; width: 46px; height: 3px; margin-bottom: 14px; background: repeating-linear-gradient(90deg, var(--aup-terra) 0 9px, transparent 9px 14px); transition: width .8s cubic-bezier(.2, .7, .2, 1) .2s; }
.aup-sec-head.aup-rv h2::before { width: 0; }
.aup-sec-head.aup-rv.is-in h2::before { width: 46px; }
.aup-sec-head > div > p { color: var(--aup-mut); font-size: 1rem; margin-top: 6px !important; }
.aup-sec-link { font-weight: 600; color: var(--aup-g) !important; display: inline-flex; align-items: center; gap: 5px; padding-bottom: 6px; }
.aup-sec-link .aup-ic { width: 16px; height: 16px; transition: transform .2s; }
.aup-sec-link:hover .aup-ic { transform: translateX(3px); }
@media (max-width: 759px) { .aup-sec-head { margin: 40px 0 14px; } }

/* bento */
.aup-need { margin-top: 26px; }
.aup-need .aup-sec-head { margin-top: 40px; }
.aup-need .aup-need-card { padding: 18px 19px; border: 1px solid color-mix(in srgb, var(--c, #0E6E4C) 16%, transparent); }
.aup-need .aup-need-card:hover { transform: translateY(-3px); }
.aup-need .aup-need-ic { color: var(--c, var(--aup-g)); margin-bottom: 0; }
.aup-need .aup-need-count { top: 16px; right: 16px; padding: 2px 9px; border-radius: 99px; background: #fff; color: var(--c, var(--aup-g)); font-size: .8rem; box-shadow: 0 2px 6px -3px rgba(0, 0, 0, .15); }
.aup-need-tx { display: flex; flex-direction: column; margin-top: auto; padding-right: 40px; }
.aup-need .aup-need-tx strong { font-size: 1.2rem; line-height: 1.3; }
.aup-need .aup-need-tx .aup-need-desc { font-size: .86rem; line-height: 1.45; }
.aup-need .aup-need-go { opacity: 1; transform: none; right: 16px; bottom: 16px; width: 32px; height: 32px; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 3px 8px -5px rgba(0, 0, 0, .3); }
.aup-need .aup-need-card:hover .aup-need-go { background: var(--c, var(--aup-g)); color: #fff; }
.aup-need-professional { --tile: #F4E8E2; }
.aup-need-wm { position: absolute; right: -18px; top: -8px; z-index: -1; color: color-mix(in srgb, var(--c, #0E6E4C) 12%, transparent); transform: rotate(-12deg); pointer-events: none; }
.aup-need-wm .aup-ic { width: 128px; height: 128px; stroke-width: 1.4; }
.aup-need .aup-need-service .aup-need-tx, .aup-need .aup-need-complaint .aup-need-tx { margin-top: auto; }
.aup-need .aup-mini-tags { margin-top: 10px; padding-top: 0; gap: 6px; padding-right: 40px; }
.aup-need .aup-mini-tags span { background: #fff; border: 1px solid rgba(0, 0, 0, .07); color: #33443B; padding: 2px 10px; font-size: .78rem; font-weight: 600; }
.aup-need .aup-need-blood { background: radial-gradient(120% 90% at 100% 0%, rgba(240, 213, 151, .18), transparent 55%), linear-gradient(150deg, #9A4431 0%, #6E2A1E 100%); border: 0; }
.aup-need .aup-need-blood .aup-need-ic { display: grid; width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; margin-bottom: 18px; }
.aup-need .aup-need-blood .aup-need-ic .aup-ic { width: 26px; height: 26px; }
.aup-need .aup-need-blood .aup-need-count { position: absolute; top: 22px; right: 22px; margin: 0; color: #fff; background: rgba(255, 255, 255, .18); box-shadow: none; padding: 3px 11px; font-size: .9rem; }
.aup-need .aup-need-blood strong { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.aup-need-blood .aup-bg-grid { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; margin: 18px 0 16px; }
.aup-need-blood .aup-bg-grid span, .aup-need-blood .aup-bg-grid span.has { min-width: 42px; padding: 4px 8px; border-radius: 10px; background: #fff; border: 0; color: #8E3A28; font-size: .72rem; line-height: 1.2; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .4); }
.aup-need-blood .aup-bg-grid span b { color: #6E2A1E; font-size: .9rem; }
.aup-need-blood .aup-bg-grid span:not(.has) { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .6); box-shadow: none; }
.aup-need-blood .aup-bg-grid span:not(.has) b { color: rgba(255, 255, 255, .7); }
.aup-need-blood .aup-bg-grid span.has::after { display: none; }
.aup-need-blood .aup-need-foot { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.aup-need-blood .aup-need-foot > span { font-weight: 600; font-size: .9rem; gap: 7px; }
.aup-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .22); animation: aup-glow 1.8s ease-out infinite; }
.aup-need-blood .aup-need-foot em { color: #8E2A1E; padding: 9px 18px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.aup-need .aup-bt-art { right: 70px; top: 50%; width: 190px; height: 190px; margin-top: -95px; }
.aup-need .aup-bt-ring { inset: -40px; border: 1px solid rgba(255, 255, 255, .22); animation: aup-ring-soft 4s ease-in-out infinite; }
.aup-need .aup-bt-ring.r2 { inset: -18px; animation-delay: -2s; }
@keyframes aup-ring-soft { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .45; } }
.aup-need .aup-bt-drop { inset: 30px; background: transparent; color: rgba(255, 255, 255, .16); }
.aup-need .aup-bt-drop .aup-ic { width: 100px; height: 100px; stroke-width: 1.2; fill: rgba(255, 255, 255, .12); }
.aup-need .aup-bt-ecg { left: -76px; right: auto; top: 75px; width: 342px; height: 40px; }
.aup-need .aup-bt-ecg polyline { stroke: rgba(255, 255, 255, .45); stroke-dasharray: 520; stroke-dashoffset: 520; animation: aup-ecg2 3.2s linear infinite; }
@keyframes aup-ecg2 { 0% { stroke-dashoffset: 520; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.aup-need .aup-need-map { padding-right: 46%; color: #fff !important; border: 0; background: radial-gradient(90% 120% at 100% 50%, rgba(240, 199, 94, .14), transparent 60%), linear-gradient(135deg, #0F6A49 0%, #0A4A33 100%); }
.aup-need .aup-need-map .aup-need-ic { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.aup-need .aup-need-map .aup-need-count { position: static; align-self: flex-start; margin: 14px 0 8px; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; font-size: .86rem; padding: 4px 12px; }
.aup-need .aup-need-map strong { color: #fff; font-size: 1.25rem; }
.aup-need .aup-need-map .aup-need-desc { color: rgba(255, 255, 255, .78); font-size: .88rem; }
.aup-need .aup-need-map .aup-need-foot { margin-top: 12px; }
.aup-need .aup-need-map .aup-need-foot em { color: #F0C75E; }
.aup-need .aup-map-art { left: auto; right: 10px; top: 8px; bottom: 8px; width: 46%; height: auto; background: transparent; border: 0; }
.aup-map-art .mo { fill: rgba(255, 255, 255, .04); stroke: #E4B94F; stroke-width: 2.2; stroke-linejoin: round; }
.aup-map-art .mi { fill: none; stroke: rgba(228, 185, 79, .45); stroke-width: 1.1; stroke-linejoin: round; }
.aup-map-art .mp circle { fill: #F0C75E; stroke: #0A4A33; stroke-width: 2; }
.aup-map-art .mpr { fill: none; stroke: #F0C75E; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: aup-map-ping 2.2s ease-out infinite; }
@keyframes aup-map-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@media (max-width: 759px) {
	.aup-need .aup-need-blood .aup-need-ic { width: 46px; height: 46px; margin-bottom: 12px; }
	.aup-need .aup-bt-art { right: 4px; top: 30%; width: 120px; height: 120px; margin-top: -60px; }
	.aup-need .aup-bt-drop .aup-ic { width: 64px; height: 64px; }
	.aup-need-blood .aup-bg-grid span { min-width: 38px; }
	.aup-need-tx { padding-right: 0; }
	.aup-need .aup-need-go { display: none; }
	.aup-need .aup-need-map { padding-right: 18px; padding-bottom: 150px; }
	.aup-need .aup-map-art { left: 0; right: 0; top: auto; bottom: 6px; width: auto; height: 140px; }
	.aup-need-wm .aup-ic { width: 96px; height: 96px; }
}

/* doctorates */
.aup-doc-band { margin-top: 56px; padding: 26px 0; }
.aup-doc-band .aup-doc-shell { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid #EEE7D6; box-shadow: 0 24px 50px -36px rgba(60, 50, 20, .45); }
.aup-doc-shell .aup-doc-head { gap: 0; }
.aup-doc-band .aup-doc-pill { margin: 0 0 14px !important; padding: 5px 12px; border-radius: 99px; background: #F7EFDC; border: 1px solid #E9DAB2; color: #8A6A1F; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-family: system-ui, sans-serif; }
.aup-doc-shell .aup-doc-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.15rem); color: var(--aup-head); line-height: 1.2; }
.aup-doc-sub { margin: 4px 0 18px !important; color: #4F5A53; font-size: .98rem; }
.aup-doc-shell .aup-doc-big { flex-direction: row; align-items: center; gap: 14px; margin-bottom: 16px; }
.aup-doc-shell .aup-doc-big b { font-size: clamp(2.8rem, 6vw, 3.6rem); line-height: 1; color: var(--aup-g); background: linear-gradient(135deg, #0E6E4C, #0A4F37); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 14px; border-right: 2px solid #E9DAB2; }
.aup-doc-shell .aup-doc-big span { color: #1E2723; font-weight: 700; font-size: .92rem; line-height: 1.35; }
.aup-doc-chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aup-doc-chips li { padding: 6px 12px; border-radius: 10px; border: 1px solid #E6E1D3; background: #fff; font-size: .84rem; color: #4F5A53; }
.aup-doc-chips li b { color: #1E2723; font-weight: 800; margin-right: 2px; }
.aup-doc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.aup-doc-btns .aup-btn { min-height: 46px; border-radius: 12px; font-weight: 700; }
.aup-doc-src { display: flex; gap: 6px; align-items: flex-start; margin: 16px 0 0 !important; color: #6B6255; font-size: .78rem; line-height: 1.5; }
.aup-doc-src .aup-ic { width: 14px; height: 14px; color: #B7791F; margin-top: 2px; }
.aup-doc-stage .aup-hscroll { grid-auto-columns: 220px; gap: 14px; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.aup-doc-stage .aup-hscroll::-webkit-scrollbar { display: none; }
.aup-doc-stage .aup-dcard { position: relative; flex: 0 0 220px; width: 220px; height: 304px; border: 0; border-radius: 20px; overflow: hidden; background: #1B2A22; scroll-snap-align: start; isolation: isolate; box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .55); }
.aup-doc-stage .aup-dcard-img { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; background: #24392D; }
.aup-doc-stage .aup-dcard-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.aup-doc-stage .aup-dcard:hover .aup-dcard-img img { transform: scale(1.06); }
.aup-doc-stage .aup-dcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(8, 30, 20, .55) 62%, rgba(8, 26, 18, .92) 100%); }
.aup-doc-stage .aup-dcard-noimg { color: rgba(255, 255, 255, .5); font-size: 4rem; }
.aup-doc-stage .aup-dcard-year { top: 12px; left: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(20, 40, 30, .55); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); font-size: .74rem; }
.aup-dcard-ic { display: none; }
.aup-doc-stage .aup-dcard-ic { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(20, 40, 30, .55); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(6px); }
.aup-doc-stage .aup-dcard-ic .aup-ic { width: 15px; height: 15px; }
.aup-doc-stage .aup-dcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 14px 14px; gap: 2px; flex: none; }
.aup-doc-stage .aup-dcard-body strong { color: #fff; font-family: var(--aup-serif); font-size: 1.12rem; line-height: 1.25; }
.aup-doc-stage .aup-dcard-body em { color: #F0C75E; font-size: .82rem; }
.aup-doc-stage .aup-dcard-body small { color: rgba(255, 255, 255, .78); font-size: .76rem; }
.aup-doc-stage .aup-dcard-go { display: none; }
.aup-doc-stage .aup-dcard-all { justify-content: center; align-items: center; height: 304px; background: linear-gradient(160deg, #0E6E4C, #0A3D2B); }
.aup-doc-nav { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.aup-doc-nav button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid #E6E1D3; background: #fff; color: #1E2723; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.aup-doc-nav button:hover { background: var(--aup-g); border-color: var(--aup-g); color: #fff; }
.aup-doc-nav button .aup-ic { width: 18px; height: 18px; }
.aup-doc-bar { flex: 1; height: 4px; border-radius: 4px; background: #EEE9DC; overflow: hidden; }
.aup-doc-bar i { display: block; height: 100%; width: 30%; border-radius: 4px; background: linear-gradient(90deg, #0E6E4C, #C6A15B); transition: margin-left .3s, width .3s; }
.aup-doc-band .aup-hs-nav { display: none; }
@media (min-width: 960px) {
	.aup-doc-band .aup-doc-shell { grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: center; padding: 28px 26px 26px 28px; }
}

/* glance */
.aup-glance { display: block; margin-top: 56px; }
.aup-glance-card { position: relative; overflow: hidden; display: grid; gap: 26px; padding: 34px; border-radius: 26px; background: radial-gradient(60% 80% at 100% 100%, rgba(232, 211, 160, .28), transparent 60%), #fff; border: 1px solid #ECE6D8; }
.aup-glance .aup-glance-main { background: transparent; border: 0; padding: 0; align-self: center; }
.aup-glance .aup-glance-main h2 { font-size: clamp(1.7rem, 3.8vw, 2.3rem); color: var(--aup-head); margin-bottom: 10px; }
.aup-glance .aup-glance-main > p { color: #3C4E44; font-size: 1.02rem; line-height: 1.75; max-width: 40em; }
.aup-glance .aup-glance-links { margin: 18px 0 0; gap: 10px; }
.aup-glance .aup-glance-links .aup-btn { min-height: 40px; padding: 0 20px; font-weight: 600; }
.aup-glance-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aup-gt { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #ECE6D8; color: #1E2723 !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.aup-gt::after { content: ''; position: absolute; right: -26px; bottom: -26px; z-index: -1; width: 86px; height: 86px; border-radius: 50%; background: color-mix(in srgb, var(--c) 12%, transparent); transition: transform .4s; }
.aup-gt:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(30, 40, 20, .5); border-color: color-mix(in srgb, var(--c) 30%, #fff); }
.aup-gt:hover::after { transform: scale(1.35); }
.aup-gt-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); margin-bottom: 10px; }
.aup-gt-ic .aup-ic { width: 19px; height: 19px; }
.aup-gt-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #E6E1D3; color: #33443B; transition: background .2s, color .2s; }
.aup-gt-go .aup-ic { width: 14px; height: 14px; }
.aup-gt:hover .aup-gt-go { background: var(--c); border-color: var(--c); color: #fff; }
.aup-gt b { display: inline; font-family: var(--aup-serif); font-size: clamp(1.9rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.05; color: var(--c); }
.aup-gt em { font-style: normal; font-size: .9rem; font-weight: 600; color: #4F5A53; margin-left: 4px; }
.aup-gt b + em { display: inline; }
.aup-gt strong { margin-top: 6px; font-size: 1rem; font-weight: 700; }
.aup-gt small { color: #6B6255; font-size: .8rem; }
.aup-gt-num { display: flex; align-items: baseline; }
@media (min-width: 960px) {
	.aup-glance-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding: 36px; }
	.aup-gt { padding: 16px 18px 18px; min-height: 150px; }
}
@media (max-width: 559px) { .aup-glance-card { padding: 22px 16px; border-radius: 22px; } .aup-gt { padding: 14px; } .aup-gt-go { top: 12px; right: 12px; } }

/* live feed bar */
.aup-feed { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 7px 7px 7px 8px; border-radius: 99px; background: #fff; border: 1px solid #ECE6D8; box-shadow: 0 10px 26px -22px rgba(30, 40, 20, .5); }
.aup-feed-label { flex: none; display: inline-flex; align-items: center; gap: 10px; padding-right: 12px; border-right: 1px solid #ECE6D8; font-weight: 700; font-size: .92rem; color: #1E2723; white-space: nowrap; }
.aup-feed-ic { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #C9302C; color: #fff; }
.aup-feed-ic::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(201, 48, 44, .3); animation: aup-ring-soft 2.4s ease-in-out infinite; }
.aup-feed-ic .aup-ic { width: 16px; height: 16px; fill: currentColor; }
.aup-feed-win { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.aup-feed-track { display: flex; gap: 10px; width: max-content; }
.aup-feed-track.is-moving { animation: aup-slide 70s linear infinite; }
.aup-feed:hover .aup-feed-track { animation-play-state: paused; }
.aup-feed-item { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 99px; background: #F7F4EC; color: #1E2723 !important; white-space: nowrap; font-size: .88rem; }
.aup-feed-item .aup-ic { width: 15px; height: 15px; color: var(--c); }
.aup-feed-item strong { font-weight: 700; }
.aup-feed-item small { color: #6B6255; font-size: .8rem; }
.aup-feed-item:hover { background: var(--aup-g1); }
.aup-feed-cta { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 99px; background: linear-gradient(135deg, #E9C46A, #C9962E); color: #2A1D00 !important; font-weight: 700; font-size: .9rem; white-space: nowrap; box-shadow: 0 8px 18px -12px rgba(150, 100, 0, .8); }
.aup-feed-cta .aup-ic { width: 17px; height: 17px; }
.aup-feed-cta:hover { filter: brightness(1.06); }
@media (max-width: 759px) {
	.aup-feed { flex-wrap: wrap; border-radius: 20px; padding: 10px; }
	.aup-feed-label { border-right: 0; padding-right: 0; }
	.aup-feed-win { order: 3; flex-basis: 100%; }
	.aup-feed-cta { margin-left: auto; padding: 7px 12px; font-size: .84rem; }
}
@media (max-width: 400px) { .aup-feed-cta span { display: none; } }

/* notices + news */
.aup-home .aup-two { gap: 0 32px; }
@media (min-width: 960px) {
	.aup-home .aup-two { grid-template-columns: minmax(0, .66fr) minmax(0, 1fr); }
	.aup-home .aup-two > .aup-col + .aup-col { position: relative; padding-left: 32px; }
	.aup-home .aup-two > .aup-col + .aup-col::before { content: ''; position: absolute; left: 0; top: 56px; bottom: 0; width: 1px; background: #E6E1D3; }
}
.aup-home .aup-notices { display: flex; flex-direction: column; gap: 10px; }
.aup-home .aup-notice { align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ECE6D8; border-left-width: 1px; }
.aup-home .aup-notice:hover { border-color: var(--aup-g2); transform: translateX(3px); }
.aup-home .aup-notice .aup-dateblock { width: 46px; min-width: 46px; height: 50px; border-radius: 12px; background: #EEF5F0; color: var(--aup-head); }
.aup-home .aup-notice .aup-badge { background: #FBF1DA; color: #8A6A1F; border: 0; font-size: .7rem; padding: 1px 8px; }
.aup-home .aup-notice-body small, .aup-home .aup-notice .aup-event-go { display: none; }
.aup-home .aup-notice-body strong { font-size: .98rem; }

/* events + gallery */
.aup-ev3 { display: grid; gap: 14px; }
@media (min-width: 760px) { .aup-ev3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aup-ev3-card { display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #ECE6D8; color: #1E2723 !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.aup-ev3-card:hover { transform: translateY(-3px); border-color: var(--aup-g2); box-shadow: 0 18px 34px -26px rgba(30, 40, 20, .5); }
.aup-ev3-card strong { font-size: 1.04rem; font-weight: 700; line-height: 1.4; }
.aup-ev3-card small { display: flex; gap: 6px; align-items: flex-start; color: #6B6255; font-size: .84rem; line-height: 1.5; }
.aup-ev3-card small .aup-ic { width: 15px; height: 15px; margin-top: 2px; }
.aup-ev3-when { color: #4F5A53 !important; }
.aup-ev3-when .aup-ic { color: var(--aup-g); }
.aup-home-gallery .aup-gallery-home { columns: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .aup-home-gallery .aup-gallery-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .aup-home-gallery .aup-gallery-home { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.aup-home-gallery .aup-gal-item { margin: 0; aspect-ratio: 1; border-radius: 16px; }
.aup-home-gallery .aup-gal-item img { width: 100%; height: 100%; object-fit: cover; }
.aup-home-gallery .aup-gal-item span { opacity: 0; transition: opacity .25s; }
.aup-home-gallery .aup-gal-item:hover span, .aup-home-gallery .aup-gal-item:focus-visible span { opacity: 1; }

/* earn */
.aup-earn-sec { margin-top: 56px; }
.aup-earn-sec .aup-earn { margin-top: 0; padding: 34px; border-radius: 26px; background: radial-gradient(80% 120% at 0% 0%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(135deg, #0F6A49 0%, #0A4A33 100%); box-shadow: 0 30px 60px -40px rgba(10, 60, 40, .8); align-items: center; }
.aup-earn-sec .aup-earn-tag { margin: 0 0 12px !important; background: rgba(255, 255, 255, .12); color: #F6E7B8; font-size: .82rem; font-weight: 700; }
.aup-earn-sec .aup-earn h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); color: #fff; margin: 0 0 10px; }
.aup-earn-sec .aup-earn-main p { color: rgba(255, 255, 255, .86); font-size: 1rem; line-height: 1.7; }
.aup-earn-sec .aup-steps { margin: 16px 0 22px; }
.aup-earn-sec .aup-steps li { padding: 5px 12px 5px 5px; gap: 8px; background: rgba(0, 0, 0, .14); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: .86rem; }
.aup-earn-sec .aup-steps li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #F0C75E; }
.aup-earn-sec .aup-steps li > span .aup-ic { width: 14px; height: 14px; }
.aup-earn-sec .aup-steps .aup-step-arr { width: 14px; height: 14px; opacity: .7; }
.aup-earn-cta { min-height: 52px; padding: 0 26px; border: 0; border-radius: 99px; background: linear-gradient(135deg, #FFE08A, #E5AC2E); color: #2A1D00 !important; font-weight: 800; box-shadow: 0 14px 28px -14px rgba(229, 172, 46, .9); }
.aup-earn-cta:hover { background: linear-gradient(135deg, #FFE08A, #E5AC2E); filter: brightness(1.05); color: #2A1D00 !important; }
.aup-earn-sec .aup-earn-list { background: transparent; border: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.aup-earn-sec .aup-earn-list > p { color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600; margin-bottom: 2px !important; }
.aup-earn-list > a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #fff !important; font-weight: 600; transition: background .2s, transform .2s; }
.aup-earn-list > a:hover { background: rgba(255, 255, 255, .16); transform: translateX(3px); }
.aup-earn-sec .aup-earn-list > a b { display: grid; place-items: center; min-width: 68px; height: 40px; padding: 0 12px; border-radius: 12px; background: linear-gradient(135deg, #FFE08A, #E5AC2E); color: #2A1D00; font-family: var(--aup-serif); font-size: 1.3rem; font-weight: 800; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.aup-earn-list > a span { flex: 1; }
.aup-earn-list > a .aup-ic { width: 16px; height: 16px; opacity: .7; }
.aup-earn-list:not(.is-seen) > a { opacity: 0; transform: translateY(14px); }
.aup-earn-list.is-seen > a { transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1), background .2s; }
.aup-earn-list.is-seen > a:nth-of-type(2) { transition-delay: .12s, .12s, 0s; }
.aup-earn-list.is-seen > a:nth-of-type(3) { transition-delay: .24s, .24s, 0s; }
.aup-earn-sec .aup-earn-deco span { background: radial-gradient(circle at 35% 30%, #FFE7A0, #D9A537 70%); color: #8A6A1F; }
@media (min-width: 960px) { .aup-earn-sec .aup-earn { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding: 36px 34px 36px 36px; } }
@media (max-width: 559px) { .aup-earn-sec .aup-earn { padding: 24px 18px; border-radius: 22px; } }
@media (prefers-reduced-motion: reduce) { .aup-earn-list:not(.is-seen) > a { opacity: 1; transform: none; } }

/* contributors */
.aup-leader { gap: 12px; }
@media (min-width: 640px) { .aup-leader { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .aup-leader { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.aup-leader li { position: relative; }
.aup-leader a { gap: 12px; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid #ECE6D8; min-height: 76px; }
.aup-leader a:hover { border-color: var(--aup-g2); transform: translateY(-2px); box-shadow: 0 14px 28px -22px rgba(30, 40, 20, .5); }
.aup-leader .aup-leader-rank { position: absolute; top: -9px; left: -7px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #EEE9DC; color: #6B6255; font-size: .74rem; font-weight: 800; box-shadow: 0 0 0 3px var(--aup-bg); }
.aup-leader .is-top-1 .aup-leader-rank { background: linear-gradient(135deg, #F6D06B, #D9A537); color: #fff; font-size: .74rem; }
.aup-leader .is-top-2 .aup-leader-rank { background: #8E9AA3; color: #fff; }
.aup-leader .is-top-3 .aup-leader-rank { background: #B9733B; color: #fff; }
.aup-leader .is-top a { background: #fff; border-color: #ECE6D8; }
.aup-leader .is-top-1 a { background: linear-gradient(135deg, #FFF8E6, #FFFDF7); border-color: #EBD49A; }
.aup-leader .aup-av { width: 44px; height: 44px; font-size: 1.1rem; }
.aup-leader-name strong { font-size: 1rem; }
.aup-leader-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 16px; }
.aup-leader-foot p { display: flex; align-items: flex-start; gap: 7px; margin: 0 !important; color: #4F5A53; font-size: .88rem; }
.aup-leader-foot p .aup-ic { width: 16px; height: 16px; margin-top: 3px; color: #6B6255; }

/* emergency */
.aup-sos-sec { margin-top: 56px; }
.aup-sos-sec .aup-sos { display: grid; gap: 22px; align-items: center; margin: 0; padding: 30px; border-radius: 26px; overflow: hidden; position: relative; isolation: isolate; color: #fff; background: radial-gradient(70% 120% at 100% 100%, rgba(255, 255, 255, .06), transparent 60%), linear-gradient(135deg, #B42A22 0%, #8C1A15 55%, #6E120E 100%); box-shadow: 0 30px 60px -40px rgba(120, 20, 10, .8); }
.aup-sos-sec .aup-sos::after { content: ''; position: absolute; right: -80px; bottom: -120px; z-index: -1; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .04); }
.aup-sos-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px !important; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #FFE3E0; font-size: .82rem; font-weight: 700; }
.aup-sos-tag i { width: 8px; height: 8px; border-radius: 50%; background: #FFB4AE; animation: aup-glow 1.4s ease-out infinite; }
.aup-sos-sec .aup-sos h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 6px; }
.aup-sos-sec .aup-sos-text > p { color: rgba(255, 255, 255, .86); }
.aup-sos-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 16px; }
.aup-sos-sec .aup-sos-big { gap: 12px; padding: 7px 22px 7px 7px; border-radius: 99px; background: #fff; color: #8C1A15 !important; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
.aup-sos-sec .aup-sos-big:hover { background: #fff; color: #6E120E !important; }
.aup-sos-big-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #B42A22; color: #fff; }
.aup-sos-sec .aup-sos-big .aup-ic { width: 20px; height: 20px; }
.aup-sos-sec .aup-sos-big span { max-width: none; }
.aup-sos-sec .aup-sos-big small { display: block; font-size: .74rem; color: #6B4A45; line-height: 1.2; }
.aup-sos-sec .aup-sos-big b { display: block; font-size: 1.9rem; line-height: 1; letter-spacing: .02em; }
.aup-sos-all { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 700; }
.aup-sos-all .aup-ic { width: 16px; height: 16px; }
.aup-sos-sec .aup-sos-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .aup-sos-sec .aup-sos-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aup-sos-sec .aup-sos-list a.aup-sos-card { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; border: 0; color: #1E2723 !important; box-shadow: 0 12px 24px -18px rgba(0, 0, 0, .6); }
.aup-sos-sec .aup-sos-list a.aup-sos-card:hover { transform: translateY(-2px); background: #fff; }
.aup-sos-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c); color: #fff; }
.aup-sos-ic .aup-ic { width: 19px; height: 19px; }
.aup-sos-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aup-sos-sec .aup-sos-list a .aup-sos-tx small { font-size: .76rem; color: #4F5A53; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.aup-sos-sec .aup-sos-list a .aup-sos-tx b { font-family: var(--aup-serif); font-size: 1.2rem; font-weight: 800; letter-spacing: .02em; color: #1E2723; line-height: 1.2; }
.aup-sos-call { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #E3F3EA; color: #0E6E4C; }
.aup-sos-call .aup-ic { width: 16px; height: 16px; }
@media (min-width: 960px) { .aup-sos-sec .aup-sos { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; padding: 34px 30px 34px 36px; } }
@media (max-width: 559px) { .aup-sos-sec .aup-sos { padding: 24px 16px; border-radius: 22px; } }

/* page tools */
.aup-tools { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.aup-tools-row { padding: 14px 16px; border: 1px solid #ECE6D8; border-radius: 16px; background: #fff; }
.aup-share-btn { border-radius: 8px; padding: 5px 11px; font-size: .86rem; border-color: #D5DDD6; color: #33443B !important; background: #fff; }
.aup-share-btn .aup-ic { width: 15px; height: 15px; }
.aup-share-main { background: var(--aup-g); border-color: var(--aup-g); color: #fff !important; }
.aup-share-main:hover { background: var(--aup-g8); color: #fff !important; }
.aup-share .aup-wa .aup-ic { color: #1FA855; }
.aup-share .aup-fb .aup-ic { color: #1877F2; }
.aup-enrich { padding: 14px 16px; border-radius: 18px; background: linear-gradient(90deg, #EEF6F0, #FBF7EC); border: 1px solid #E9DAB2; }
.aup-enrich-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--aup-g); color: #fff; }
.aup-enrich-text strong { font-size: 1rem; }
.aup-enrich-text span { font-size: .84rem; }
.aup-enrich-actions .aup-btn { min-height: 40px; padding: 0 16px; font-weight: 700; }
.aup-enrich-actions .aup-btn:not(.aup-btn-terra) { background: #0A4F37; border-color: #0A4F37; }
.aup-fix-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #F1EDE2; border: 1px solid #E6E1D3; }
.aup-fix-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--aup-g); box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .3); }
.aup-fix-card > div { flex: 1 1 300px; display: flex; flex-direction: column; }
.aup-fix-card strong { font-size: 1rem; }
.aup-fix-card > div span { color: #4F5A53; font-size: .86rem; }
.aup-fix-card .aup-btn { min-height: 42px; padding: 0 20px; font-weight: 700; }

/* footer */
.aup-footer { position: relative; background: #17201C; margin-top: 56px; padding-top: 44px; }
.aup-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #0E6E4C, #C6A15B 50%, #8A3B2B); }
.aup-foot-brand { display: inline-block; font-family: var(--aup-serif); font-size: 1.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.aup-foot-brand .aup-bn1 { color: #E9C46A; }
.aup-foot-brand .aup-bn2 { color: #fff; }
.aup-footer h3 { font-size: 1.02rem; font-weight: 700; color: #fff; }
.aup-contact-list .aup-ic { color: #E9C46A; }
.aup-footer-bottom { align-items: center; }
.aup-footer-bottom p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: rgba(255, 255, 255, .62); font-size: .86rem; }
.aup-footer-credit { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding-left: 12px; margin-left: 12px; border-left: 1px solid rgba(255, 255, 255, .2); }
.aup-footer-credit .aup-ic { width: 15px; height: 15px; color: #E9C46A; flex: none; }
.aup-footer-credit b, .aup-footer-credit a { color: #E9C46A !important; font-weight: 700; }
@media (max-width: 639px) {
	.aup-footer-bottom p { flex-direction: column; align-items: flex-start; gap: 4px; }
	.aup-footer-credit { padding-left: 0; margin-left: 0; border-left: 0; }
}
.aup-gt-num { display: flex; align-items: baseline; gap: 4px; }
.aup-gt-num em { margin-left: 0; }
.aup-sos-sec .aup-sos-list a > .aup-sos-ic, .aup-sos-sec .aup-sos-list a > .aup-sos-call { flex: none; }
.aup-sos-sec .aup-sos-list a > .aup-sos-tx { flex: 1; }
.aup-leader .aup-av-txt { background: var(--lc, #0E6E4C) !important; color: #fff !important; }
.aup-leader li:nth-child(4n+2) .aup-av-txt { --lc: #8A3B2B; }
.aup-leader li:nth-child(4n+3) .aup-av-txt { --lc: #B7791F; }
.aup-leader li:nth-child(4n+4) .aup-av-txt { --lc: #6B4E8E; }
.aup-footer .aup-footer-more { color: #E9C46A !important; }
.aup-footer .aup-footer-more:hover { color: #FFD98A !important; }
.aup-earn-sec .aup-earn-deco span:nth-child(3) { right: auto; left: 54%; top: auto; bottom: 18%; }
.aup-earn-sec .aup-earn-deco span:nth-child(1) { right: 4%; top: 6%; }

/* ==========================================================================
   Inner page hero (1.6.0): module colour, big icon tile with rings,
   stat cards, wave edge
   ========================================================================== */
.aup-hero { --hc: #0E6E4C; color: #fff; padding: 26px 0 96px; background: color-mix(in srgb, var(--hc) 70%, #061a12); }
.aup-hero::before { background: radial-gradient(520px 520px at 6% 70%, rgba(255, 255, 255, .06), transparent 60%), radial-gradient(420px 420px at 96% 4%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--hc) 62%, #0a1c2c) 0%, color-mix(in srgb, var(--hc) 88%, #000) 100%) !important; }
.aup-hero-dots { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.aup-hero::after { height: 64px; bottom: -1px; background: var(--aup-bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C240 6 420 6 720 30 S1200 62 1440 22 V64 H0 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C240 6 420 6 720 30 S1200 62 1440 22 V64 H0 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.aup-hero .aup-crumbs { font-size: .84rem; margin-bottom: 16px; }
.aup-hero .aup-crumbs a, .aup-hero .aup-crumbs span { color: rgba(255, 255, 255, .82) !important; }
.aup-hero-body { align-items: center; justify-content: space-between; gap: 30px; }
.aup-hero-body > .aup-hero-ic { display: none !important; }
.aup-hero-text { max-width: 720px; }
.aup-hero-pill { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px !important; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); color: #fff !important; font-size: .84rem; font-weight: 700; opacity: 1 !important; text-transform: none; letter-spacing: 0; }
.aup-hero-pill i { width: 8px; height: 8px; border-radius: 50%; background: #FF8A80; box-shadow: 0 0 0 3px rgba(255, 138, 128, .25); animation: aup-glow 1.8s ease-out infinite; }
.aup-hero h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.18; letter-spacing: -.01em; }
.aup-hero-sub { margin-top: 12px !important; font-size: clamp(1rem, 2.2vw, 1.16rem); line-height: 1.7; color: rgba(255, 255, 255, .9); max-width: 40em; }
.aup-hero-btns { margin-top: 22px; gap: 12px; }
.aup-hero-btns .aup-btn { min-height: 46px; padding: 0 22px; border-radius: 99px; font-weight: 700; }
.aup-hero .aup-hero-b1 { background: #fff; border-color: #fff; color: color-mix(in srgb, var(--hc) 80%, #000) !important; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55); }
.aup-hero .aup-hero-b1:hover { background: #fff; color: var(--hc) !important; transform: translateY(-2px); }
.aup-hero .aup-hero-b2 { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff !important; }
.aup-hero .aup-hero-b2:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); color: #fff !important; }
.aup-hero-art { display: none; position: relative; flex: none; width: 260px; height: 260px; margin-right: 40px; }
.aup-hero-art .r1, .aup-hero-art .r2 { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.aup-hero-art .r2 { inset: 38px; border-color: rgba(255, 255, 255, .28); animation: aup-ring-soft 4.5s ease-in-out infinite; }
.aup-hero-art .r1 { animation: aup-ring-soft 4.5s ease-in-out -2.2s infinite; }
.aup-hero-tile { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 116px; height: 116px; margin: -58px 0 0 -58px; border-radius: 28px; background: linear-gradient(160deg, #fff 0%, color-mix(in srgb, var(--hc) 14%, #fff) 100%); color: color-mix(in srgb, var(--hc) 85%, #000); box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .55), inset 0 -4px 0 rgba(0, 0, 0, .05); transform: rotate(-6deg); animation: aup-tile-float 6s ease-in-out infinite; }
.aup-hero-tile .aup-ic { width: 54px; height: 54px; stroke-width: 1.7; }
@keyframes aup-tile-float { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@media (min-width: 900px) { .aup-hero-art { display: block; } .aup-hero { padding-top: 30px; } }
.aup-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 30px; }
.aup-hero-stats > div { flex-direction: row; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.aup-hs-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; }
.aup-hs-ic .aup-ic { width: 19px; height: 19px; }
.aup-hs-tx { display: flex; flex-direction: column; min-width: 0; }
.aup-hero-stats .aup-hs-tx b { font-size: 1.5rem; line-height: 1.1; }
.aup-hero-stats .aup-hs-tx span { font-size: .84rem; }
@media (min-width: 900px) { .aup-hero-stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (max-width: 559px) {
	.aup-hero { padding-bottom: 70px; }
	.aup-hero::after { height: 40px; }
	.aup-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
	.aup-hero-stats > div { padding: 10px; gap: 8px; }
	.aup-hs-ic { width: 34px; height: 34px; border-radius: 10px; }
	.aup-hero-btns .aup-btn { min-height: 42px; padding: 0 16px; }
}
/* gold tone keeps white text on a deep amber */
.aup-hero-gold { color: #fff; }
.aup-hero-gold .aup-crumbs a, .aup-hero-gold .aup-crumbs span, .aup-hero-gold .aup-hero-sub, .aup-hero-gold .aup-eyebrow { color: rgba(255, 255, 255, .9) !important; }
.aup-hero-gold .aup-hero-stats > div { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }
.aup-hero-gold .aup-hero-stats span { color: rgba(255, 255, 255, .88); }
.aup-hero-gold .aup-btn-light { background: #fff; border-color: #fff; color: #6B4A00 !important; }
.aup-hero-gold .aup-btn-outline-light { color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.aup-hero-gold::before { background: radial-gradient(420px 420px at 96% 4%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(135deg, #8A5A0B 0%, #B07D1A 60%, #C68A12 100%) !important; }

/* add / fix strip under list heroes */
.aup-addfix { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: -10px 0 22px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(90deg, #EEF6F0, #FBF7EC); border: 1px solid #E9DAB2; position: relative; z-index: 2; }
.aup-addfix-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--aup-g); color: #fff; }
.aup-addfix-ic .aup-ic { width: 22px; height: 22px; }
.aup-addfix-tx { flex: 1 1 280px; display: flex; flex-direction: column; min-width: 0; }
.aup-addfix-tx strong { font-size: 1rem; color: #1E2723; }
.aup-addfix-tx span { color: #4F5A53; font-size: .84rem; }
.aup-addfix-act { display: flex; flex-wrap: wrap; gap: 8px; }
.aup-addfix-act .aup-btn { min-height: 40px; padding: 0 16px; font-weight: 700; }
.aup-btn-dark { background: #0A4F37; border-color: #0A4F37; color: #fff !important; }
.aup-btn-dark:hover { background: #073827; border-color: #073827; color: #fff !important; }

/* tabs + filter */
.aup-tab { gap: 7px; padding: 7px 8px 7px 14px; border-color: #E6E1D3; font-size: .9rem; }
.aup-tab b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #F1EDE2; color: #4F5A53; font-size: .74rem; font-weight: 700; }
.aup-tab.is-on b { background: rgba(255, 255, 255, .22); color: #fff; }
.aup-list .aup-filter { padding: 14px; border-radius: 18px; border-color: #ECE6D8; box-shadow: 0 10px 26px -22px rgba(30, 40, 20, .5); }
.aup-list .aup-filter .aup-btn { border-radius: 12px; background: var(--aup-grad); border-color: transparent; }
.aup-result-count { color: #4F5A53; }

/* ==========================================================================
   Dark theme (1.6.0) — toggled by the moon button; remembered per visitor
   ========================================================================== */
:root[data-theme="dark"] {
	color-scheme: dark;
	--aup-bg: #0E1512; --aup-card: #151F1B; --dk-card2: #1A2621; --dk-input: #111A16;
	--aup-line: #27352F; --aup-line2: #1F2B26;
	--aup-ink: #E6ECE8; --aup-ink2: #C3CFC8; --aup-mut: #93A29A;
	--aup-g: #1C9467; --aup-g8: #1A8059; --aup-g9: #0B3324; --aup-g1: #14261E; --aup-g2: #24443A;
	--aup-gold1: #2A2414; --aup-red1: #2C1716; --aup-head: #7FD8AE;
	--aup-sh: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -14px rgba(0, 0, 0, .7);
}
:root[data-theme="dark"] body.aup-body { background: var(--aup-bg); color: var(--aup-ink); }
:root[data-theme="dark"] .aup-theme-btn .aup-i-moon { display: none; }
:root[data-theme="dark"] .aup-theme-btn .aup-i-sun { display: block; color: #F0C75E; }
:root[data-theme="dark"] .aup-body a:not(.aup-btn):not([class*="aup-hchip"]) { color: #5FCB9C; }
/* surfaces */
:root[data-theme="dark"] :is(.aup-dd-panel, .aup-drawer-panel, .aup-need-card:not(.aup-need-blood):not(.aup-need-map), .aup-dcard, .aup-glance-main, .aup-notice, .aup-event, .aup-acard a, .aup-video, .aup-leader a, .aup-tab, .aup-filter, .aup-filter-solo, .aup-filter-tg, .aup-card, .aup-page, .aup-empty, .aup-panel, .aup-mapbox, .aup-article .aup-prose, .aup-event-box, .aup-why-list li, .aup-need-req, .aup-donor, .aup-issue, .aup-vote, .aup-track, .aup-fitem, .aup-ecard, .aup-svc, .aup-union, .aup-vgroup, .aup-sgroup, .aup-auth-card, .aup-steps-big li, .aup-reward, .aup-faq details, .aup-map-side, .aup-share-btn:not(.aup-share-main), .aup-modal-box, .aup-search-form, .aup-popup, .aup-totop, .aup-qrp-btn, .aup-cardm-row, .aup-suggest, .aup-chat-teaser, .aup-chat-panel, .aup-chat-form, .aup-search-btn, .aup-area-pick .aup-area-form, .aup-btn-white, .aup-btn-ghost, .aup-doc-band .aup-doc-shell, .aup-doc-chips li, .aup-doc-nav button, .aup-gt, .aup-glance-card, .aup-feed, .aup-ev3-card, .aup-tools-row, .aup-fix-ic, .aup-qrp, .aup-bottomnav, .aup-home-search, .aup-hero-search) { background-color: var(--aup-card) !important; border-color: var(--aup-line) !important; color: var(--aup-ink); }
:root[data-theme="dark"] :is(.aup-glance-card, .aup-doc-band .aup-doc-shell) { background-image: none !important; }
:root[data-theme="dark"] :is(.aup-need-card:not(.aup-need-blood):not(.aup-need-map)) { background: color-mix(in srgb, var(--c, #0E6E4C) 12%, var(--aup-card)) !important; }
:root[data-theme="dark"] :is(.aup-need .aup-need-ic, .aup-need-go, .aup-need .aup-need-count, .aup-need .aup-mini-tags span, .aup-feed-item, .aup-tab b, .aup-gt-go, .aup-sos-call) { background: var(--dk-card2) !important; border-color: var(--aup-line) !important; }
:root[data-theme="dark"] :is(.aup-need-tx strong, .aup-need .aup-need-card strong, .aup-gt strong, .aup-feed-label, .aup-feed-item, .aup-ev3-card, .aup-leader-name strong, .aup-addfix-tx strong, .aup-fix-card strong, .aup-area-pick .aup-area-text strong, .aup-doc-shell .aup-doc-big span, .aup-doc-chips li b, .aup-enrich-text strong, .aup-btn-white, .aup-doc-nav button, .aup-sos-sec .aup-sos-list a .aup-sos-tx b, .aup-notice-body strong) { color: var(--aup-ink) !important; }
:root[data-theme="dark"] :is(.aup-need-desc, .aup-gt small, .aup-gt em, .aup-feed-item small, .aup-ev3-card small, .aup-leader-foot p, .aup-addfix-tx span, .aup-fix-card > div span, .aup-area-pick .aup-area-text p span, .aup-doc-sub, .aup-doc-chips li, .aup-doc-src, .aup-glance .aup-glance-main > p, .aup-result-count, .aup-sos-sec .aup-sos-list a .aup-sos-tx small, .aup-enrich-text span, .aup-sec-head > div > p) { color: var(--aup-mut) !important; }
:root[data-theme="dark"] :is(.aup-addfix, .aup-enrich) { background: linear-gradient(90deg, #13241C, #1E1C14) !important; border-color: #3A3420 !important; }
:root[data-theme="dark"] .aup-fix-card { background: #1A2420; border-color: var(--aup-line); }
:root[data-theme="dark"] .aup-sos-sec .aup-sos-list a.aup-sos-card { background: #1B1111 !important; }
:root[data-theme="dark"] .aup-leader .is-top-1 a { background: linear-gradient(135deg, #2A2414, #1C1A12) !important; border-color: #4A3E1C !important; }
:root[data-theme="dark"] .aup-leader .aup-leader-rank { box-shadow: 0 0 0 3px var(--aup-bg); }
/* inputs */
:root[data-theme="dark"] :is(.aup-form input[type=text], .aup-form input[type=tel], .aup-form input[type=email], .aup-form input[type=url], .aup-form input[type=password], .aup-form input[type=date], .aup-form input[type=time], .aup-form input[type=search], .aup-form input[type=file], .aup-form select, .aup-form textarea, .aup-filter-q, .aup-filter-sel select, .aup-filter-sel input, .aup-area-pick .aup-area-f select, .aup-cardm-field input[type=text], .aup-chat-form textarea, .aup-chat-form input) { background-color: var(--dk-input) !important; border-color: var(--aup-line) !important; color: var(--aup-ink) !important; }
:root[data-theme="dark"] .aup-area-pick .aup-area-f select:disabled { background-color: #18211D !important; color: #6E7C75 !important; }
:root[data-theme="dark"] .aup-home-search input, :root[data-theme="dark"] .aup-hero-search input { color: var(--aup-ink) !important; }
/* header + nav */
:root[data-theme="dark"] .aup-header { background: rgba(16, 24, 21, .96); box-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] :is(.aup-nav > a, .aup-dd-btn) { color: #DCE5E0 !important; }
:root[data-theme="dark"] :is(.aup-nav > a .aup-ic, .aup-dd-btn .aup-ic, .aup-theme-btn .aup-ic, .aup-search-btn .aup-ic) { color: #A9B8B0; }
:root[data-theme="dark"] .aup-dd-dir > .aup-dd-btn { background: rgba(28, 148, 103, .14); }
:root[data-theme="dark"] :is(.aup-theme-btn, .aup-search-btn) { border-color: var(--aup-line) !important; }
:root[data-theme="dark"] .aup-head-login { color: #7FD8AE !important; border-color: #2E6E55; }
:root[data-theme="dark"] .aup-brand-text small { color: #93A29A; }
:root[data-theme="dark"] .aup-bn1 { color: #E9C46A; }
:root[data-theme="dark"] .aup-bn2 { color: #7FD8AE; }
:root[data-theme="dark"] :is(.aup-mega-link, .aup-drawer-panel a) { color: var(--aup-ink) !important; }
:root[data-theme="dark"] .aup-bottomnav a { color: #A9B8B0 !important; }
/* sections */
:root[data-theme="dark"] .aup-sec-head h2, :root[data-theme="dark"] .aup-glance .aup-glance-main h2, :root[data-theme="dark"] .aup-doc-shell .aup-doc-head h2 { color: var(--aup-head); }
:root[data-theme="dark"] .aup-sec-link { color: #5FCB9C !important; }
:root[data-theme="dark"] .aup-doc-band { background: transparent; }
:root[data-theme="dark"] .aup-doc-blob { opacity: .12; }
:root[data-theme="dark"] .aup-doc-band .aup-doc-pill { background: #2A2414; border-color: #4A3E1C; color: #E9C46A; }
:root[data-theme="dark"] .aup-doc-shell .aup-doc-big b { border-right-color: #4A3E1C; background: linear-gradient(135deg, #5FCB9C, #2FA77A); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="dark"] .aup-doc-bar { background: #26332D; }
:root[data-theme="dark"] .aup-gt::after { background: color-mix(in srgb, var(--c) 22%, transparent); }
:root[data-theme="dark"] .aup-gt-ic { background: color-mix(in srgb, var(--c) 24%, var(--aup-card)); color: color-mix(in srgb, var(--c) 55%, #fff); }
:root[data-theme="dark"] .aup-gt b { color: color-mix(in srgb, var(--c) 55%, #fff); }
:root[data-theme="dark"] .aup-home .aup-notice .aup-dateblock { background: #14261E; color: #7FD8AE; }
:root[data-theme="dark"] .aup-home .aup-two > .aup-col + .aup-col::before { background: var(--aup-line); }
:root[data-theme="dark"] .aup-feed-label { border-right-color: var(--aup-line); }
:root[data-theme="dark"] .aup-dateblock { background: #14261E; color: #7FD8AE; }
:root[data-theme="dark"] .aup-tag, :root[data-theme="dark"] .aup-badge { background: #1E2B25; color: #BFE3D0; border-color: transparent; }
:root[data-theme="dark"] .aup-chip { background: var(--dk-card2); border-color: var(--aup-line); color: var(--aup-ink) !important; }
:root[data-theme="dark"] .aup-tab.is-on { background: var(--aup-g) !important; border-color: var(--aup-g) !important; color: #fff !important; }
:root[data-theme="dark"] .aup-tab { color: var(--aup-ink2) !important; }
:root[data-theme="dark"] .aup-footer { background: #0A100D; }
:root[data-theme="dark"] .aup-hero::after { background: var(--aup-bg); }
:root[data-theme="dark"] .aup-village + .aup-area-pick .aup-area-form { box-shadow: 0 16px 40px rgba(0, 0, 0, .5) !important; }
:root[data-theme="dark"] .aup-chat-m.is-a > div { background: var(--dk-card2); color: var(--aup-ink); }
:root[data-theme="dark"] img { filter: brightness(.94); }
:root[data-theme="dark"] .aup-prose, :root[data-theme="dark"] .aup-facts { color: var(--aup-ink2); }
:root[data-theme="dark"] .aup-share-btn:not(.aup-share-main) { color: var(--aup-ink2) !important; }
:root[data-theme="dark"] .aup-btn-terra { background: transparent !important; color: #F0A592 !important; border-color: rgba(240, 165, 146, .45) !important; }
:root[data-theme="dark"] :is(.aup-btn-dark, .aup-enrich-actions .aup-btn:not(.aup-btn-terra)) { background: #1C9467 !important; border-color: #1C9467 !important; }
.aup-drawer-prefs { display: flex; gap: 8px; padding: 12px 16px 0; }
.aup-drawer-pref { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--aup-line); background: var(--aup-bg); color: var(--aup-ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.aup-drawer-pref .aup-ic { width: 18px; height: 18px; }
.aup-drawer-pref .aup-i-sun { display: none; }
:root[data-theme="dark"] .aup-drawer-pref .aup-i-moon { display: none; }
:root[data-theme="dark"] .aup-drawer-pref .aup-i-sun { display: inline-block; color: #F0C75E; }
.aup-drawer-pref.is-on { background: var(--aup-g); border-color: var(--aup-g); color: #fff; }

/* live chat sits bottom-left (back-to-top keeps the right), as on the reference */
.aup-chat { right: auto; left: 22px; align-items: flex-start; }
.aup-chat-teaser { border-radius: 18px 18px 18px 4px; }
.aup-chat-panel { transform-origin: 0 100%; }
.aup-chat ~ .aup-totop { right: 22px; bottom: 22px; width: 50px; height: 50px; }
@media (max-width: 1099px) {
	.aup-chat { right: auto; left: 12px; }
	.aup-chat ~ .aup-totop { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
}
/* directory cards: outline "বিস্তারিত" + soft green "কল" pills */
.aup-card-actions .aup-btn { border-radius: 99px; min-height: 38px; font-weight: 700; }
.aup-card-actions .aup-btn-ghost { background: #fff; border: 1.5px solid var(--aup-g); color: var(--aup-g) !important; }
.aup-card-actions .aup-btn-ghost:hover { background: var(--aup-g); color: #fff !important; }
.aup-card-actions .aup-btn-call { background: #E3F0E8; border: 1px solid #CFE3D6; color: var(--aup-g8) !important; }
.aup-card-actions .aup-btn-call:hover { background: var(--aup-g); border-color: var(--aup-g); color: #fff !important; }
.aup-list .aup-card { border-radius: 18px; border-color: #ECE6D8; }
:root[data-theme="dark"] .aup-card-actions .aup-btn-ghost { background: transparent !important; color: #5FCB9C !important; border-color: #2E7A5C !important; }
:root[data-theme="dark"] .aup-card-actions .aup-btn-call { background: #14261E; border-color: #24443A; color: #7FD8AE !important; }
/* filter card stays in reach while scrolling a long list (desktop) */
@media (min-width: 1100px) { .aup-list .aup-filter { position: sticky; top: 92px; z-index: 20; } }
@media (max-width: 559px) {
	.aup-tools-row .aup-share { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 100%; }
	.aup-tools-row .aup-share-label { display: none; }
	.aup-tools-row .aup-share-btn { flex-direction: column; justify-content: center; gap: 3px; padding: 7px 2px; font-size: .68rem; line-height: 1.2; text-align: center; min-height: 54px; }
	.aup-tools-row .aup-share-btn span { white-space: normal; }
}

/* 1.8.0: rejected request note on the profile */
.aup-mylist-t .aup-mylist-note { color: #b42318; }
