/* v6-union.css — Union screens (js/v6-union.js). Prefix un-.
   Dark UI; champagne #D4B98A only on the one primary action per screen;
   selected tabs / toggles neutral white; numbers white; union number =
   small red rectangle with a white number; subtle motion. Mobile-first
   (390px), holds down to 300px. */

.un-root, .un-sheet, .un-scrim {
  --un-bg: #0B0C0E; --un-s1: #141519; --un-s2: #1B1D22; --un-s3: #23262C;
  --un-line: rgba(255,255,255,.07); --un-line2: rgba(255,255,255,.12);
  --un-t1: #F5F3EF; --un-t2: #A6A8AE; --un-t3: #6B6E75;
  --un-champ: #D4B98A; --un-ink: #15120D;
  --un-pos: #3FCF8E; --un-neg: #FF6B70; --un-amber: #F2B76A;
}

/* ---------------------------------------------------------------- layer -- */
.un-root {
  position: fixed; inset: 0; z-index: 55; margin: 0 auto; width: 100%; max-width: var(--app-w, 544px);
  overflow: hidden; pointer-events: none; font-family: Manrope, sans-serif; color: var(--un-t1);
}
.un-page {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--un-bg);
  pointer-events: auto; transform: translateX(28px); opacity: 0;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  box-shadow: -12px 0 30px rgba(0,0,0,.45);
}
.un-page.in { transform: none; opacity: 1; }
.un-page.under { transform: translateX(-14px); opacity: .5; }
.un-page.out { transform: translateX(28px); opacity: 0; pointer-events: none; }

.un-hd { display: flex; align-items: center; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 14px 10px; flex: none; border-bottom: 1px solid var(--un-line); }
.un-back, .un-hd-b {
  width: 36px; height: 36px; flex: none; border-radius: 12px; border: 0; display: grid; place-items: center;
  background: var(--un-s1); color: var(--un-t1); box-shadow: inset 0 0 0 1px var(--un-line);
}
.un-back:hover, .un-hd-b:hover { background: var(--un-s2); }
.un-hd-x { flex: 1; min-width: 0; }
.un-hd-t { font: 800 16px Manrope, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-hd-s { font: 600 11.5px Manrope, sans-serif; color: var(--un-t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-hd-s:empty { display: none; }
.un-hd-r { flex: none; min-width: 36px; display: flex; justify-content: flex-end; }

.un-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.un-scroll::-webkit-scrollbar { display: none; }
.un-body { padding: 8px 14px 28px; box-sizing: border-box; }
.un-bar {
  flex: none; padding: 10px 14px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--un-line);
  background: linear-gradient(180deg, rgba(11,12,14,.92), var(--un-bg)); display: flex; flex-direction: column; gap: 10px;
}
.un-bar[hidden] { display: none; }

/* --------------------------------------------------------------- basics -- */
.un-root button { font-family: inherit; cursor: pointer; color: inherit; }
.un-root button:focus-visible, .un-sheet button:focus-visible { outline: 2px solid rgba(245,243,239,.55); outline-offset: 2px; }
.un-root input, .un-root textarea, .un-sheet input, .un-sheet textarea { outline: none !important; }
.un-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.un-sect { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 2px 8px; font: 800 10.5px Manrope, sans-serif; letter-spacing: .14em; color: var(--un-t3); text-transform: uppercase; }
.un-sect-b { background: none; border: 0; padding: 2px 0; display: inline-flex; align-items: center; gap: 4px; font: 800 11px Manrope, sans-serif; letter-spacing: 0; text-transform: none; color: var(--un-t2) !important; }
.un-hint { font: 600 11.5px/1.4 Manrope, sans-serif; color: var(--un-t3); margin: 6px 2px 8px; }
.un-lead { font: 600 12.5px/1.45 Manrope, sans-serif; color: var(--un-t2); margin: 10px 4px 0; text-align: center; }
.un-lead.l { text-align: left; margin: 0 0 12px; }
.un-foot { margin-top: 14px; text-align: center; font: 600 11.5px Manrope, sans-serif; color: var(--un-t3); }
.un-legal { margin: 22px 0 4px; text-align: center; font: 600 10.5px Manrope, sans-serif; color: var(--un-t3); opacity: .8; }
.un-panel { background: var(--un-s1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--un-line); padding: 12px; }
.un-panel p { margin: 0; }
.pos { color: var(--un-pos) !important; } .neg { color: var(--un-neg) !important; }

/* tag + crest */
.un-tag {
  display: inline-flex; align-items: center; justify-content: center; height: 20px; min-width: 20px; padding: 0 7px; box-sizing: border-box;
  border-radius: 5px; background: linear-gradient(180deg, #C8283F, #8E1226); box-shadow: 0 1px 3px rgba(0,0,0,.4);
  font: 800 11.5px/1 Manrope, sans-serif; letter-spacing: .05em; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; flex: none;
}
.un-crest { display: block; margin: 0 auto; overflow: visible; max-width: 100%; height: auto; }
.un-tw { transform-box: fill-box; transform-origin: center; opacity: .15; animation: un-tw 2.6s ease-in-out infinite; filter: drop-shadow(0 0 3px #fff); }
@keyframes un-tw { 0%, 100% { opacity: .12; transform: scale(.5); } 50% { opacity: .82; transform: scale(1); } }
.un-hero { text-align: center; padding: 6px 0 4px; }
.un-hero.dim .un-crest { opacity: .55; }
.un-hero-n { font: 800 19px/1.25 Manrope, sans-serif; margin-top: 8px; overflow-wrap: anywhere; }
.un-hero-r { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; margin-top: 6px; font: 600 11.5px Manrope, sans-serif; color: var(--un-t3); }

/* stat strips */
.un-tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; padding: 11px 0; margin: 12px 0 4px; border-radius: 16px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line); }
.un-tri small, .un-stats small { display: block; font: 700 10.5px Manrope, sans-serif; color: var(--un-t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-tri b { display: block; font: 800 17px Manrope, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.un-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0 2px; }
.un-stats > div { background: var(--un-s1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--un-line); padding: 10px 12px; min-width: 0; }
.un-stats > div:nth-child(5):last-child { grid-column: 1 / -1; }
.un-stats b { display: flex; align-items: center; gap: 5px; font: 800 16px Manrope, sans-serif; font-variant-numeric: tabular-nums; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-stats b svg { flex: none; }
.un-dim { transition: opacity .18s; } .un-dim.on { opacity: .5; }

/* grouped rows */
.un-group { background: var(--un-s1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--un-line); overflow: hidden; }
.un-group > * + * { border-top: 1px solid var(--un-line); }
.un-link, .un-row {
  width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 11px; padding: 11px 12px; min-height: 54px;
  background: none; border: 0; text-align: left; color: var(--un-t1); transition: background .15s;
}
button.un-link:hover, button.un-row:hover { background: rgba(255,255,255,.03); }
button.un-link:active, button.un-row:active { background: rgba(255,255,255,.05); }
.un-link-ic { width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--un-s2); display: grid; place-items: center; color: var(--un-t1); }
.un-link.danger .un-link-ic, .un-link.danger b { color: var(--un-neg); }
.un-link-x, .un-row-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.un-link-x b, .un-row-x > b { font: 800 13.5px Manrope, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-link-x small, .un-row-x > small { font: 600 11px Manrope, sans-serif; color: var(--un-t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-link-v { font: 800 12.5px Manrope, sans-serif; font-style: normal; color: var(--un-t2); flex: none; max-width: 40%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-count { font: 800 10.5px Manrope, sans-serif; font-style: normal; color: #fff; background: #E5484D; border-radius: 8px; padding: 1px 6px; flex: none; }
.un-chev { color: var(--un-t3); display: grid; place-items: center; flex: none; }
.un-row-a { display: flex; gap: 6px; flex: none; }
.un-tags { display: flex !important; align-items: center; gap: 5px; flex-wrap: wrap; min-width: 0; }
.un-row-x > b.un-tags { flex-wrap: nowrap; }
.un-tags .un-ell { min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; }
.un-tags small { font: 700 11px Manrope, sans-serif; color: var(--un-t3); }
.un-mini { font: 800 8.5px Manrope, sans-serif; letter-spacing: .07em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--un-s3); color: var(--un-t2); flex: none; white-space: nowrap; }
.un-mini.hi { color: var(--un-t1); } .un-mini.neg { color: var(--un-neg); } .un-mini.pos { color: var(--un-pos); }
.un-mark { flex: none; display: grid; place-items: center; color: #fff; font-family: Manrope, sans-serif; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.un-init { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--un-s3); display: grid; place-items: center; font: 800 14px Manrope, sans-serif; }
.un-role { font: 800 10px Manrope, sans-serif; color: var(--un-t2); background: var(--un-s2); border-radius: 6px; padding: 3px 7px; flex: none; white-space: nowrap; }
.un-chips { display: inline-flex; align-items: center; gap: 5px; font: 800 13px Manrope, sans-serif; color: var(--un-t1); font-variant-numeric: tabular-nums; flex: none; letter-spacing: 0; text-transform: none; }

/* notes / empty / spinner */
.un-note { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; padding: 10px 10px 10px 12px; border-radius: 12px; background: rgba(229,154,58,.08); box-shadow: inset 0 0 0 1px rgba(229,154,58,.25); }
.un-note > svg { flex: none; color: var(--un-amber); margin-top: 1px; }
.un-note > span { flex: 1; min-width: 0; font: 600 12px/1.4 Manrope, sans-serif; color: var(--un-t2); }
.un-note.calm { background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line); } .un-note.calm > svg { color: var(--un-t2); }
.un-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 12px; text-align: center; color: var(--un-t3); }
.un-empty b { font: 800 14px Manrope, sans-serif; color: var(--un-t1); }
.un-empty small { font: 600 12px/1.4 Manrope, sans-serif; max-width: 280px; }
.un-spin { width: 22px; height: 22px; margin: 18px auto; border-radius: 50%; border: 2px solid var(--un-s3); border-top-color: var(--un-t1); animation: un-spin .8s linear infinite; }
@keyframes un-spin { to { transform: rotate(360deg); } }
.un-fi { animation: un-fi .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes un-fi { from { opacity: 0; transform: translateY(8px); } }

/* buttons */
.un-primary {
  width: 100%; height: 48px; border: 0; border-radius: 14px; background: var(--un-champ); color: var(--un-ink) !important;
  font: 800 14.5px Manrope, sans-serif; letter-spacing: .01em; transition: filter .15s, opacity .15s, transform .1s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px;
}
.un-primary:hover:not(:disabled) { filter: brightness(1.06); }
.un-primary:active:not(:disabled) { transform: scale(.985); }
.un-primary:disabled { background: var(--un-s2); color: var(--un-t3) !important; box-shadow: inset 0 0 0 1px var(--un-line); cursor: default; }
.un-primary.busy:disabled { background: var(--un-champ); color: var(--un-ink) !important; box-shadow: none; opacity: .8; }
.un-btn {
  height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--un-s2); color: var(--un-t1) !important;
  box-shadow: inset 0 0 0 1px var(--un-line2); font: 800 13px Manrope, sans-serif; white-space: nowrap; transition: background .15s, opacity .15s; min-width: 0;
}
.un-btn:hover:not(:disabled) { background: var(--un-s3); }
.un-btn.fill { background: var(--un-t1); color: var(--un-bg) !important; box-shadow: none; }
.un-btn.fill:hover:not(:disabled) { background: #FFFFFF; }
.un-btn.danger { color: var(--un-neg) !important; }
.un-btn.danger.fill { background: rgba(255,107,112,.14); box-shadow: inset 0 0 0 1px rgba(255,107,112,.35); }
.un-btn.sm { height: 32px; padding: 0 11px; border-radius: 10px; font-size: 12px; }
.un-btn:disabled { opacity: .4; cursor: default; }
.un-dots { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: un-spin .7s linear infinite; vertical-align: middle; opacity: .8; }
.un-duo { display: flex; gap: 8px; }
.un-duo > * { flex: 1; }
.un-bar .un-duo > .un-btn { flex: 0 0 96px; height: 48px; border-radius: 14px; }
.un-link-b { background: none; border: 0; font: 800 12px Manrope, sans-serif; color: var(--un-t2) !important; padding: 2px 0; flex: none; }

/* segmented tabs: selected = neutral white */
.un-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line); margin: 4px 0 10px; }
.un-seg button { flex: 1; min-width: 0; height: 32px; border: 0; border-radius: 9px; background: none; color: var(--un-t2) !important; font: 800 12px Manrope, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .18s, color .18s; padding: 0 6px; }
.un-seg button.on { background: var(--un-t1); color: var(--un-bg) !important; }
.un-seg button i { font-style: normal; font-size: 10px; background: #E5484D; color: #fff; border-radius: 7px; padding: 0 5px; margin-left: 2px; }
.un-chipsel { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 4px -14px 10px; padding: 0 14px; }
.un-chipsel::-webkit-scrollbar { display: none; }
.un-chipsel button { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 15px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line2); color: var(--un-t2) !important; font: 800 11.5px Manrope, sans-serif; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.un-chipsel button.on { background: var(--un-t1); color: var(--un-bg) !important; box-shadow: none; }

/* switch: white when on, never gold */
.un-sw { width: 46px; height: 28px; flex: none; border: 0; border-radius: 14px; background: var(--un-s3); box-shadow: inset 0 0 0 1px var(--un-line2); position: relative; transition: background .2s; padding: 0; }
.un-sw i { position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--un-t3); transition: transform .2s cubic-bezier(.2,.8,.2,1), background .2s; }
.un-sw.on { background: var(--un-t1); }
.un-sw.on i { transform: translateX(18px); background: var(--un-bg); }
.un-sw:disabled { opacity: .45; cursor: default; }
.un-tg { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; }
.un-tg.danger .un-row-x > b { color: var(--un-neg); }

/* fields */
.un-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px; }
.un-field > span { font: 700 11px Manrope, sans-serif; color: var(--un-t3); }
.un-field input, .un-field textarea {
  width: 100%; box-sizing: border-box; border: 0; border-radius: 12px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line2);
  color: var(--un-t1); font: 700 14px Manrope, sans-serif; padding: 11px 12px; outline: none; resize: vertical;
}
.un-field input { height: 44px; }
.un-field input:focus, .un-field textarea:focus { box-shadow: inset 0 0 0 1px rgba(245,243,239,.45); }
.un-field ::placeholder { color: var(--un-t3); font-weight: 600; }
.un-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 12px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line2); color: var(--un-t3); margin: 4px 0 10px; }
.un-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; color: var(--un-t1); font: 700 13.5px Manrope, sans-serif; }
.un-search:focus-within { box-shadow: inset 0 0 0 1px rgba(245,243,239,.4); }

/* applicants / notices / application */
.un-info { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; color: var(--un-t2); }
.un-info > svg { flex: none; }
.un-info span { font: 600 11.5px/1.4 Manrope, sans-serif; }
.un-info.big > svg { color: var(--un-t1); }
.un-info.big b { display: block; font: 800 14px Manrope, sans-serif; color: var(--un-t1); margin-bottom: 3px; }
.un-req { margin-bottom: 8px; }
.un-req-h { display: flex; align-items: center; gap: 10px; }
.un-req-m { font: 600 12px/1.4 Manrope, sans-serif; color: var(--un-t2); margin: 8px 0 0 !important; overflow-wrap: anywhere; }
.un-req .un-duo { margin-top: 10px; }
.un-req-w { display: block; margin-top: 8px; font: 600 11px Manrope, sans-serif; color: var(--un-t3); }
.un-notice { margin-bottom: 8px; }
.un-notice-h { display: flex; align-items: baseline; gap: 8px; }
.un-notice-h b { flex: 1; min-width: 0; font: 800 14px Manrope, sans-serif; overflow-wrap: anywhere; }
.un-notice-h small { flex: none; font: 600 11px Manrope, sans-serif; color: var(--un-t3); }
.un-notice p { margin-top: 6px !important; font: 600 12.5px/1.45 Manrope, sans-serif; color: var(--un-t2); white-space: pre-wrap; overflow-wrap: anywhere; }
.un-notice-a { display: block; margin-top: 6px; font: 700 10.5px Manrope, sans-serif; color: var(--un-t3); }
.un-app-h { display: flex; align-items: center; gap: 8px; }
.un-app-h b { flex: 1; min-width: 0; font: 800 14px Manrope, sans-serif; }
.un-app-h.pos { color: var(--un-pos); } .un-app-h.neg { color: var(--un-neg); } .un-app-h.amber { color: var(--un-amber); }
.un-app p { margin-top: 6px !important; font: 600 11.5px/1.4 Manrope, sans-serif; color: var(--un-t2); }
.un-app p.un-app-note { font-weight: 700; font-size: 12px; color: var(--un-t1); }
.un-kv { display: flex; gap: 8px; margin-top: 6px; }
.un-kv span { flex: 0 0 92px; font: 700 11.5px Manrope, sans-serif; color: var(--un-t3); }
.un-kv b { flex: 1; min-width: 0; font: 800 12.5px Manrope, sans-serif; overflow-wrap: anywhere; }

/* club detail */
.un-cd { display: flex; align-items: center; gap: 12px; padding: 4px 0; }
.un-cd .un-cd-n { font-size: 17px !important; white-space: normal !important; overflow-wrap: anywhere; }
.un-pl { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 10px 12px; }
.un-pl span { font: 800 12px Manrope, sans-serif; color: var(--un-t3); }
.un-pl b { font: 800 14px Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.un-stk { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 600px) { .un-stk { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.un-stk button { height: 30px; padding: 0; border: 0; border-radius: 8px; background: var(--un-s2); color: var(--un-t3) !important; font: 800 10px Manrope, sans-serif; white-space: nowrap; overflow: hidden; transition: background .16s, color .16s; }
.un-stk button.in { background: var(--un-s3); color: var(--un-t1) !important; }
.un-stk button.cap { background: var(--un-t1); color: var(--un-bg) !important; }
.un-stk button:disabled { cursor: default; }
.un-stk-l { margin: 8px 0 0 !important; font: 700 11px Manrope, sans-serif; color: var(--un-t3); }
.un-stk-l b { color: var(--un-t1); }
.un-cd + .un-sect, .un-panel + .un-group { margin-top: 10px; }
.un-panel + .un-group { margin-top: 10px; }

/* fee */
.un-big { text-align: center; padding: 18px 14px 12px; border-radius: 20px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line2); margin-top: 4px; }
.un-big small { font: 800 10.5px Manrope, sans-serif; letter-spacing: .14em; color: var(--un-t3); }
.un-big-n { font: 800 52px/1.05 Manrope, sans-serif; letter-spacing: -.03em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.un-big-n em { font-style: normal; font-size: 24px; color: var(--un-t2); letter-spacing: 0; }
.un-big-s { font: 700 11px Manrope, sans-serif; color: var(--un-t3); }
.un-big-e { display: flex; justify-content: space-between; gap: 8px; margin: 6px 2px 0; font: 700 10.5px Manrope, sans-serif; color: var(--un-t3); }
.un-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 10px 0 0; background: transparent; cursor: pointer; --p: 50%; }
.un-range::-webkit-slider-runnable-track { height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--un-t1) var(--p), var(--un-s3) var(--p)); }
.un-range::-moz-range-track { height: 8px; border-radius: 6px; background: var(--un-s3); }
.un-range::-moz-range-progress { height: 8px; border-radius: 6px; background: var(--un-t1); }
.un-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.5); border: 0; }
.un-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.un-range:focus-visible { outline: none; }
.un-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.un-ex { margin-top: 12px; border-radius: 16px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line); padding: 12px 14px 10px; }
.un-ex-h { font: 800 10px Manrope, sans-serif; letter-spacing: .12em; color: var(--un-t3); margin-bottom: 6px; }
.un-ex-r { display: grid; grid-template-columns: minmax(0, 1fr) 54px 50px; gap: 6px; align-items: center; padding: 4px 0; font: 700 12px Manrope, sans-serif; color: var(--un-t2); font-variant-numeric: tabular-nums; }
.un-ex-r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-ex-r em { font-style: normal; text-align: right; }
.un-ex-r b { text-align: right; color: var(--un-t1); }
.un-ex-r.hd { font-size: 10px; color: var(--un-t3); } .un-ex-r.hd b { color: var(--un-t3); font-weight: 700; }
.un-ex-r.ft { border-top: 1px solid var(--un-line); margin-top: 4px; padding-top: 8px; color: var(--un-t3); font-size: 11.5px; }
.un-pct { font: 800 12.5px Manrope, sans-serif; font-style: normal; color: var(--un-t3); flex: none; white-space: nowrap; }
.un-pct.set { color: var(--un-t1); }

/* data */
.un-date { height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line); color: var(--un-t2); margin: 4px 0 10px; }
.un-date b { font: 800 12.5px Manrope, sans-serif; color: var(--un-t1); }
.un-dc { background: var(--un-s1); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--un-line); margin-bottom: 8px; overflow: hidden; }
.un-dc-h { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.un-dc-pl { font: 800 14px Manrope, sans-serif; font-variant-numeric: tabular-nums; flex: none; }
.un-dc-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 8px 12px 10px; border-top: 1px solid var(--un-line); }
.un-dc-k small { display: block; font: 700 10px Manrope, sans-serif; color: var(--un-t3); }
.un-dc-k b { display: block; font: 800 13px Manrope, sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* chips */
.un-ck { width: 20px; height: 20px; flex: none; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--un-line2); display: grid; place-items: center; transition: background .14s, box-shadow .14s; color: var(--un-bg); }
.un-ck.on { background: var(--un-t1); box-shadow: none; }
.un-mv { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--un-s2); display: grid; place-items: center; }
.un-mv-a { font: 800 13.5px Manrope, sans-serif; font-variant-numeric: tabular-nums; flex: none; }
.un-tray { display: flex; align-items: center; gap: 10px; }
.un-tray-t { flex: 1; min-width: 0; font: 600 12px Manrope, sans-serif; color: var(--un-t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.un-tray-t b { color: var(--un-t1); font-weight: 800; }
.un-tray-e { margin: 4px 0; text-align: center; font: 600 12px Manrope, sans-serif; color: var(--un-t3); }

/* create / join */
.un-req-r { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.un-req-r i { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.un-req-r i.ok { background: rgba(63,207,142,.16); color: var(--un-pos); }
.un-req-r i.no { background: rgba(229,154,58,.16); color: var(--un-amber); }
.un-req-r span { flex: 1; min-width: 0; font: 700 12.5px Manrope, sans-serif; }
.un-req-r em { font: 700 11.5px Manrope, sans-serif; font-style: normal; color: var(--un-t3); flex: none; white-space: nowrap; }
.un-host { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line); margin: 0 0 12px; }
.un-host .un-row-x small { order: -1; }
.un-find { display: flex; align-items: flex-end; gap: 8px; }
.un-find .un-field { flex: 1; min-width: 0; }
.un-find [data-slot] { padding-bottom: 12px; flex: none; }
.un-find .un-btn { height: 44px; }
.un-found { text-align: center; padding-top: 6px; }
.un-found-h { display: block; font: 600 11.5px Manrope, sans-serif; color: var(--un-t3); margin-top: 2px; }
.un-found .un-panel { margin: 10px 0 12px; text-align: left; }
.un-found .un-field { text-align: left; }

/* --------------------------------------------------------------- sheets -- */
.un-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .2s; }
.un-scrim.in { opacity: 1; }
.un-sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 81; width: 100%; max-width: var(--sheet-w, 560px); box-sizing: border-box;
  max-height: 88dvh; overflow-y: auto; padding: 8px 16px max(16px, env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0; background: #16171B; box-shadow: 0 -20px 40px rgba(0,0,0,.7), inset 0 1px 0 var(--un-line2);
  color: var(--un-t1); font-family: Manrope, sans-serif; transform: translate(-50%, 100%); transition: transform .24s cubic-bezier(.2,.8,.2,1);
}
.un-sheet.in { transform: translate(-50%, 0); }
.un-sheet button { font-family: inherit; cursor: pointer; }
.un-grip { display: block; width: 40px; height: 4px; border-radius: 2px; background: #3A3B40; margin: 2px auto 12px; }
.un-sh-t { font: 800 16px/1.3 Manrope, sans-serif; overflow-wrap: anywhere; }
.un-sh-s { font: 600 12px/1.4 Manrope, sans-serif; color: var(--un-t3); margin: 4px 0 12px; }
.un-sh-s b { color: var(--un-t1); }
.un-sh-row { display: flex; gap: 8px; margin-top: 6px; }
.un-sh-row > * { flex: 1; height: 46px; }
.un-sheet .un-primary { margin-top: 2px; }
.un-amt { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 14px; border-radius: 14px; background: var(--un-s1); box-shadow: inset 0 0 0 1px var(--un-line2); }
.un-amt input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--un-t1); font: 800 24px Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.un-amt:focus-within { box-shadow: inset 0 0 0 1px rgba(245,243,239,.45); }
.un-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.un-sheet .un-range { margin: 4px 0 8px; }

@media (max-width: 340px) {
  .un-body { padding-left: 10px; padding-right: 10px; }
  .un-hd { padding-left: 10px; padding-right: 10px; }
  .un-bar { padding-left: 10px; padding-right: 10px; }
  .un-chipsel { margin-left: -10px; margin-right: -10px; padding: 0 10px; }
  .un-big-n { font-size: 44px; }
  .un-tri b { font-size: 15px; }
  .un-stats b { font-size: 14.5px; }
  .un-ex-r { grid-template-columns: minmax(0, 1fr) 46px 44px; font-size: 11px; }
  .un-bar .un-duo > .un-btn { flex-basis: 84px; }
  .un-link, .un-row { gap: 9px; padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .un-page, .un-sheet, .un-scrim, .un-sw i { transition: none !important; }
  .un-tw, .un-fi { animation: none !important; }
  .un-tw { opacity: .45; }
}
