/* social.css — NL.Talk: nameplate pills, speech bubbles, NPC chat panel, phone contact card (Island Luxe tokens) */
#socialLayer { position: absolute; inset: 0; z-index: var(--z-labels, 1); pointer-events: none; overflow: hidden; contain: layout paint; }
#socialLayer .sl-pills, #socialLayer .sl-bubbles { position: absolute; inset: 0; pointer-events: none; }
#socialLayer.no-pills .sl-pills { display: none; }
#socialLayer.no-bubbles .sl-bubbles { display: none; }

/* ---------- nameplate pill ---------- */
.sp { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; will-change: transform; transition: opacity .15s; }
.sp-in { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 3px)); display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 8px; border-radius: var(--nl-r-pill, 999px); white-space: nowrap;
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.5) blur(8px); backdrop-filter: saturate(1.5) blur(8px); border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 2px 6px rgba(11, 20, 48, .22), 0 8px 20px rgba(11, 20, 48, .14), inset 0 1px 0 rgba(255, 255, 255, .9); color: var(--nl-ink, #0B1430); font: 700 11.5px/1 var(--nl-font-ui, system-ui); letter-spacing: .005em;
  pointer-events: auto; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: box-shadow .15s, background .15s; }
.sp-in::after { content: ""; position: absolute; inset: -8px -6px; } /* >= 36px tap target */
.sp-in:hover { background: rgba(255, 255, 255, .96); box-shadow: 0 3px 8px rgba(11, 20, 48, .28), 0 10px 24px rgba(11, 20, 48, .18), inset 0 1px 0 #fff; }
.sp:focus-visible .sp-in { outline: 2px solid var(--nl-teal, #00A693); outline-offset: 2px; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 6px currentColor; }
.sp-dot[hidden], .sp-rl[hidden] { display: none; }
.sp-nm { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.sp-rl { font-weight: 600; font-size: 10px; color: var(--nl-ink-3, #7A84A3); padding-left: 6px; border-left: 1px solid var(--nl-line, rgba(11, 20, 48, .12)); max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
/* mood lives on the card now */ .sp-npc .sp-in::before-unused { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--mood, transparent); opacity: .75; }
.sp-remote .sp-in { background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(236, 253, 250, .88)); }
.sp-self .sp-in { height: 21px; font-size: 10.5px; }
.sp-t { display: none; font: 800 9px/1 var(--nl-font-ui); color: #fff; background: var(--nl-ink, #0B1430); border-radius: 5px; padding: 3px 5px; margin-right: -3px; }
.sp-near .sp-t { display: inline-block; }
.sp-near .sp-in { box-shadow: 0 0 0 2px var(--nl-teal, #00A693), 0 4px 14px rgba(0, 166, 147, .35), inset 0 1px 0 #fff; }
html.nl-touch .sp-t { display: none !important; }
html.nl-touch .sp-in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .92); font-size: 11px; }

/* ---------- speech bubble ---------- */
.sb { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.sb-in { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); transform-origin: calc(50% + var(--tail, 0px)) 100%; width: max-content; min-width: 120px; max-width: 260px; white-space: normal; padding: 8px 12px 9px; border-radius: 16px; background: rgba(255, 255, 255, .97); color: var(--nl-ink, #0B1430);
  box-shadow: 0 2px 4px rgba(11, 20, 48, .18), 0 10px 26px rgba(11, 20, 48, .22), inset 0 1px 0 #fff; border: 1px solid rgba(11, 20, 48, .06); font: 600 13px/1.32 var(--nl-font-ui, system-ui); text-align: left; word-break: normal; overflow-wrap: break-word; hyphens: none; }
.sb-in::after { content: ""; position: absolute; left: calc(50% + var(--tail, 0px) - 7px); bottom: -7px; width: 14px; height: 14px; background: inherit; border-right: 1px solid rgba(11, 20, 48, .06); border-bottom: 1px solid rgba(11, 20, 48, .06); border-radius: 0 0 5px 0; transform: rotate(45deg) scale(.82); z-index: -1; }
.sb-who { font: 800 9.5px/1 var(--nl-font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--nl-teal, #00A693); margin-bottom: 4px; }
.sb-who[hidden] { display: none; }
.sb-sz { visibility: hidden; }
.sb-txt { position: absolute; left: 12px; right: 12px; bottom: 9px; top: auto; }
.sb.ph-dots .sb-sz, .sb.ph-dots .sb-who { display: none; }
.sb.ph-dots .sb-in { min-width: 52px; padding: 13px 14px; }
.sb.ph-dots .sb-txt { display: none; }
.sb-dots { display: none; justify-content: center; gap: 5px; }
.sb.ph-dots .sb-dots { display: flex; }
.sb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--nl-ink-3, #7A84A3); animation: sbDot 1s infinite ease-in-out; }
.sb-dots i:nth-child(2) { animation-delay: .16s; } .sb-dots i:nth-child(3) { animation-delay: .32s; }
.sb.sb-pop .sb-in { animation: sbPop .42s cubic-bezier(.2, .9, .25, 1.25) both; }
.sb.ph-type .sb-in, .sb.ph-fade .sb-in { animation: none; }
.sb.ph-type .sb-txt::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: var(--nl-teal, #00A693); animation: sbCaret .8s steps(1) infinite; }
.sb.ph-fade .sb-in { animation: sbOut .32s ease-in forwards; }
@keyframes sbPop { 0% { opacity: 0; transform: translate(-50%, -100%) scale(.5); } 60% { opacity: 1; transform: translate(-50%, -100%) scale(1.07); } 100% { opacity: 1; transform: translate(-50%, -100%) scale(1); } }
@keyframes sbOut { from { opacity: 1; transform: translate(-50%, -100%) scale(1); } to { opacity: 0; transform: translate(-50%, calc(-100% - 8px)) scale(.94); } }
@keyframes sbDot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes sbCaret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sb.sb-pop .sb-in, .sb.ph-fade .sb-in, .sb-dots i { animation-duration: .01s; } }

/* ---------- player -> NPC chat panel ---------- */
#socialChat { position: absolute; left: 50%; bottom: calc(var(--nl-gutter, 16px) + 66px); z-index: 28; width: min(400px, calc(100vw - 2 * var(--nl-gutter, 16px))); transform: translate(-50%, 18px) scale(.97); opacity: 0; pointer-events: none; transition: transform .28s cubic-bezier(.2, .9, .25, 1.1), opacity .2s;
  background: var(--nl-glass, rgba(255, 255, 255, .78)); -webkit-backdrop-filter: var(--nl-blur, saturate(1.6) blur(18px)); backdrop-filter: var(--nl-blur, saturate(1.6) blur(18px)); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; padding: 12px 12px 10px;
  box-shadow: 0 4px 12px rgba(11, 20, 48, .12), 0 22px 54px rgba(11, 20, 48, .22), inset 0 1px 0 rgba(255, 255, 255, .85); font-family: var(--nl-font-ui, system-ui); color: var(--nl-ink, #0B1430); }
#socialChat.on { transform: translate(-50%, 0) scale(1); opacity: 1; pointer-events: auto; }
.sc-head { display: flex; align-items: center; gap: 10px; }
.sc-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 16px/1 var(--nl-font-ui); flex: none; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .18), 0 2px 6px rgba(11, 20, 48, .25); }
.sc-id { display: flex; flex-direction: column; min-width: 0; flex: 1; } .sc-id b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sc-id small { font-size: 11.5px; color: var(--nl-ink-3, #7A84A3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mood { display: inline-flex; align-items: center; gap: 5px; font: 700 11px/1 var(--nl-font-ui); padding: 5px 8px; border-radius: 999px; background: rgba(11, 20, 48, .06); color: var(--nl-ink-2, #3A4566); } .sc-mood i { width: 7px; height: 7px; border-radius: 50%; background: var(--mc); }
.sc-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(11, 20, 48, .07); color: var(--nl-ink, #0B1430); font-size: 20px; line-height: 1; cursor: pointer; flex: none; } .sc-x:hover { background: rgba(11, 20, 48, .13); }
.sc-line { margin: 10px 2px 8px; font: 600 14.5px/1.38 var(--nl-font-ui); min-height: 40px; } .sc-d { font-style: normal; font-weight: 800; color: var(--nl-teal, #00A693); background: rgba(0, 166, 147, .12); border-radius: 8px; padding: 1px 6px; margin-left: 4px; }
.sc-relbar { height: 4px; border-radius: 4px; background: rgba(11, 20, 48, .08); overflow: hidden; margin: 0 2px 10px; } .sc-relbar i { display: block; height: 100%; background: var(--nl-grad-sunrise, linear-gradient(90deg, #FFE08A, #FF5C8A)); border-radius: 4px; transition: width .4s; }
.sc-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sc-ch { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 12px; border-radius: 14px; border: 1px solid rgba(11, 20, 48, .08); background: rgba(255, 255, 255, .85); color: var(--nl-ink, #0B1430); font: 650 13px/1.25 var(--nl-font-ui); text-align: left; cursor: pointer; touch-action: manipulation; transition: transform .12s, background .15s, box-shadow .15s; box-shadow: 0 1px 2px rgba(11, 20, 48, .06); }
.sc-ch:hover { background: #fff; box-shadow: 0 4px 12px rgba(11, 20, 48, .12); transform: translateY(-1px); } .sc-ch:active { transform: scale(.98); }
.sc-k { flex: none; width: 20px; height: 20px; border-radius: 7px; display: grid; place-items: center; background: var(--nl-ink, #0B1430); color: #fff; font: 800 11px/1 var(--nl-font-ui); }
html.nl-touch .sc-k { display: none; }
.sc-foot { display: flex; justify-content: center; margin-top: 6px; } .sc-bye { border: 0; background: none; color: var(--nl-ink-3, #7A84A3); font: 700 12px/1 var(--nl-font-ui); padding: 10px 14px; min-height: 36px; cursor: pointer; border-radius: 10px; } .sc-bye:hover { color: var(--nl-ink, #0B1430); background: rgba(11, 20, 48, .05); }
@media (max-width: 520px) { #socialChat { bottom: calc(var(--nl-gutter, 12px) + 64px); padding: 8px 8px 6px; border-radius: 18px; width: calc(100vw - 16px); } .sc-av { width: 30px; height: 30px; font-size: 13px; } .sc-id b { font-size: 13.5px; } .sc-id small { display: none; } .sc-x { width: 36px; height: 36px; } .sc-mood { padding: 4px 7px; font-size: 10px; }
  .sc-line { margin: 6px 2px 5px; font-size: 13px; line-height: 1.3; min-height: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .sc-relbar { margin: 0 2px 6px; height: 3px; }
  .sc-choices { grid-template-columns: 1fr 1fr; gap: 5px; } .sc-ch { min-height: 38px; font-size: 12px; line-height: 1.2; padding: 4px 8px; border-radius: 12px; } .sc-foot { display: none; } }
@media (max-height: 560px) { #socialChat { bottom: 8px; } .sc-choices { grid-template-columns: 1fr 1fr; } }

/* ---------- phone contact card (inside the handset; built by NL.PhoneUI.openCard) ---------- */
.pd-card { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; background: #F4F6FA; color: #0B1430; font-family: var(--nl-font-ui, system-ui); overflow: hidden; transform: translateY(100%); transition: transform .42s cubic-bezier(.32, .72, 0, 1); }
.pd-card.on { transform: none; }
.pc-band { position: relative; flex: none; padding: 64px 18px 66px; background: var(--pc-tint, #0EA5A4); color: #fff; text-align: center; overflow: hidden; }
.pc-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% -10%, rgba(255, 255, 255, .45), transparent 60%), linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .28)); }
.pc-back { position: absolute; left: 10px; top: 56px; z-index: 2; border: 0; background: rgba(255, 255, 255, .22); color: #fff; font: 700 15px/1 var(--nl-font-ui); height: 36px; padding: 0 14px 0 10px; border-radius: 18px; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pc-av { position: relative; z-index: 1; width: 112px; height: 112px; margin: 6px auto 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); border: 3px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 26px rgba(0, 0, 0, .3), inset 0 -14px 24px rgba(0, 0, 0, .16); font: 800 46px/1 var(--nl-font-ui); overflow: hidden; }
.pc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-st { position: absolute; z-index: 2; right: calc(50% - 56px); bottom: -2px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; }
.pc-body { position: relative; z-index: 2; margin: -34px 12px 0; flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px 20px; background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -8px 30px rgba(11, 20, 48, .12); -webkit-overflow-scrolling: touch; }
.pc-name { font: 800 24px/1.1 var(--nl-font-ui); letter-spacing: -.02em; text-align: center; margin-top: 4px; }
.pc-sub { text-align: center; color: #7A84A3; font: 600 13px/1.3 var(--nl-font-ui); margin-top: 3px; }
.pc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.pc-chip { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--nl-font-ui); padding: 7px 10px; border-radius: 999px; background: #F1F4F9; color: #3A4566; } .pc-chip i { width: 8px; height: 8px; border-radius: 50%; }
.pc-acts { display: flex; justify-content: center; gap: 14px; margin: 14px 0 6px; }
.pc-act { width: 76px; border: 0; background: none; padding: 0; cursor: pointer; font: 700 12px/1.2 var(--nl-font-ui); color: #3A4566; display: flex; flex-direction: column; align-items: center; gap: 6px; touch-action: manipulation; }
.pc-act span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #0B1430; color: #fff; box-shadow: 0 6px 14px rgba(11, 20, 48, .22); transition: transform .12s; } .pc-act:active span { transform: scale(.93); }
.pc-act svg { width: 24px; height: 24px; } .pc-act[disabled] { opacity: .5; cursor: default; } .pc-act.call span { background: #1FA97A; } .pc-act.add span { background: linear-gradient(135deg, #FFB43D, #FF5C8A); } .pc-act.end span { background: #E5484D; } .pc-act.talk span { background: #00A693; }
.pc-sec { font: 800 10.5px/1 var(--nl-font-ui); letter-spacing: .12em; text-transform: uppercase; color: #00A693; margin: 16px 2px 8px; }
.pc-rel { background: #F7F9FC; border-radius: 16px; padding: 12px 14px; } .pc-rel b { font: 700 14px var(--nl-font-ui); } .pc-rel .bar { height: 6px; border-radius: 6px; background: rgba(11, 20, 48, .08); margin-top: 8px; position: relative; } .pc-rel .bar i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid #00A693; box-shadow: 0 2px 5px rgba(11, 20, 48, .25); }
.pc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid rgba(11, 20, 48, .07); font: 600 14px/1.25 var(--nl-font-ui); } .pc-row span:first-child { color: #7A84A3; } .pc-row:last-child { border: 0; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; } .pc-tag { font: 700 12px/1 var(--nl-font-ui); padding: 7px 10px; border-radius: 10px; background: linear-gradient(135deg, #FFF3C4, #FFE08A); color: #6B4B00; } .pc-tag.on { background: linear-gradient(135deg, #FFC72C, #FF9E3D); color: #3b2500; }
.pc-sw { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; font: 600 14px var(--nl-font-ui); } .pc-sw button { position: relative; width: 52px; height: 32px; border-radius: 16px; border: 0; background: #D5DAE5; cursor: pointer; transition: background .2s; } .pc-sw button::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .25); transition: transform .2s; } .pc-sw button[aria-pressed="true"] { background: #00A693; } .pc-sw button[aria-pressed="true"]::after { transform: translateX(20px); }
.pc-call { text-align: center; font: 700 13px var(--nl-font-ui); color: #6D4AE0; margin: 2px 0 0; min-height: 16px; }

.sb-quiet .sb-in, .sb.ph-dots.sb-quiet .sb-in { min-width: 54px; width: auto; padding: 12px 14px; }
.sb-quiet .sb-dots { display: flex; }
.sb-quiet .sb-sz, .sb-quiet .sb-txt, .sb-quiet .sb-who { display: none; }
@media (max-width: 520px) { .sb-in { max-width: 200px; } }

.sp-ph { position: relative; width: 18px; height: 18px; flex: none; margin-left: -4px; border-radius: 50%; background: linear-gradient(135deg, #BFE9E4, #8FB8E8); display: grid; place-items: center; overflow: visible; }
.sp-ph b { font: 800 10px/1 var(--nl-font-ui); color: #0B1430; } .sp-ph b[hidden], .sp-ph img[hidden] { display: none; }
.sp-ph img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sp-ph .sp-dot { position: absolute; right: -3px; bottom: -3px; width: 8px; height: 8px; box-shadow: 0 0 0 1.5px #fff; }
.sp-nm { margin-left: 1px; }
.sc-av { overflow: hidden; } .sc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* person card: unfriend + Confront group (iOS-style grouped rows, red tones) */
.pc-act.unf span { background: #1FA97A; } .pc-act.talk span { background: #00A693; }
.pd-card .pc-acts { flex-wrap: wrap; row-gap: 12px; } .pd-card .pc-act { width: 68px; }
.pc-conf { margin: 16px 0 4px; border-radius: 16px; background: #FFF4F4; border: 1px solid rgba(229, 72, 77, .22); overflow: hidden; }
.pc-conf-h { display: flex; align-items: center; gap: 6px; padding: 10px 14px 6px; font: 800 10.5px/1 var(--nl-font-ui); letter-spacing: .12em; text-transform: uppercase; color: #C42B31; } .pc-conf-h svg { width: 12px; height: 12px; }
.pc-cf { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; border-top: 1px solid rgba(229, 72, 77, .16); background: none; text-align: left; cursor: pointer; color: #B3262B; font-family: var(--nl-font-ui); touch-action: manipulation; min-height: 52px; }
.pc-cf:active { background: rgba(229, 72, 77, .1); }
.pc-cf i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #E5484D; color: #fff; } .pc-cf i svg { width: 18px; height: 18px; }
.pc-cf span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pc-cf b { font: 700 15px/1.2 var(--nl-font-ui); } .pc-cf small { font: 500 12px/1.3 var(--nl-font-ui); color: #8A5558; }
.pc-cf.off { cursor: default; } .pc-cf.off i { background: #D9B7B8; } .pc-cf.off b { color: #A67C7E; } .pc-cf.off small { color: #A04044; }
.pc-cf.soft i { background: #0B1430; } .pc-cf.soft { color: #0B1430; } .pc-cf.soft small { color: #5B6585; }

/* ---- NL.Chat: tappable bubbles, street conversation panel, Messages sheets ---- */
.sb-tap .sb-in { pointer-events: auto; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sb-tap .sb-in:hover { box-shadow: 0 0 0 2px var(--nl-teal, #00A693); }
#nlStreet { position: absolute; left: var(--nl-gutter, 16px); bottom: calc(var(--nl-gutter, 16px) + 72px); z-index: 27; width: min(340px, calc(100vw - 2 * var(--nl-gutter, 16px))); background: rgba(255, 255, 255, .97); color: var(--nl-ink, #0B1430); border-radius: 18px; box-shadow: 0 10px 34px rgba(11, 20, 48, .28); padding: 10px 12px 12px; font: 500 14px/1.35 var(--nl-font-ui, system-ui); }
#nlStreet .nls-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
#nlStreet .nls-h button, .nlc-sm, .nlc-act button { min-height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(0, 122, 255, .12); color: #0a64d6; font: 600 12.5px/1 var(--nl-font-ui, system-ui); cursor: pointer; margin-left: 4px; }
#nlStreet .nls-h .nls-leave { background: rgba(220, 38, 38, .12); color: #b91c1c; }
#nlStreet .nls-l { max-height: 32vh; min-height: 56px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 4px 2px; overscroll-behavior: contain; }
#nlStreet .nls-line b { color: var(--nl-teal, #00A693); font-weight: 700; } #nlStreet .nls-line.me b { color: #0a64d6; }
#nlStreet .nls-f { display: flex; gap: 6px; margin-top: 6px; }
#nlStreet .nls-f input { flex: 1; min-height: 40px; border: 1px solid rgba(11, 20, 48, .18); border-radius: 12px; padding: 0 10px; font: inherit; }
#nlStreet .nls-f button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--nl-teal, #00A693); color: #fff; font-weight: 700; cursor: pointer; }
.nlc-scrim { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center; background: rgba(11, 20, 48, .5); }
.nlc-sheet { width: min(460px, 100vw); max-height: 86vh; overflow-y: auto; background: #fff; color: #0B1430; border-radius: 22px 22px 0 0; padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px)); font: 500 15px/1.35 var(--nl-font-ui, system-ui); box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); }
@media (min-width: 700px) { .nlc-scrim { align-items: center; } .nlc-sheet { border-radius: 22px; } }
.nlc-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .nlc-h b { font-size: 18px; }
.nlc-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(120, 120, 128, .14); font-size: 22px; line-height: 1; cursor: pointer; }
.nlc-l { display: block; margin: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6482; }
.nlc-sheet input[type=text], .nlc-sheet select { width: 100%; box-sizing: border-box; min-height: 44px; border: 1px solid rgba(11, 20, 48, .18); border-radius: 12px; padding: 0 12px; font: inherit; background: #fff; color: inherit; }
.nlc-inline { display: flex; gap: 6px; } .nlc-inline .nlc-sm { min-height: 44px; }
.nlc-res { margin-top: 6px; } .nlc-hint { color: #6b7391; font-size: 13px; padding: 6px 2px; }
.nlc-row, .nlc-mem { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 4px; border: 0; background: none; text-align: left; font: inherit; color: inherit; border-bottom: 1px solid rgba(11, 20, 48, .07); }
.nlc-row { cursor: pointer; } .nlc-row em, .nlc-mem em { margin-left: auto; font-style: normal; font-size: 12px; color: #6b7391; }
.nlc-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #00A693, #1d4ed8); color: #fff; font: 700 15px/1 var(--nl-font-ui, system-ui); font-style: normal; }
.nlc-act { margin-left: auto; display: flex; gap: 4px; }
.nlc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .nlc-chip { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(0, 166, 147, .14); color: #00796b; font: 600 13px/1 var(--nl-font-ui, system-ui); cursor: pointer; }
.nlc-go { width: 100%; min-height: 46px; margin-top: 12px; border: 0; border-radius: 14px; background: #0a64d6; color: #fff; font: 700 15px/1 var(--nl-font-ui, system-ui); cursor: pointer; }
.nlc-go.nlc-warn { background: #dc2626; } .nlc-go.nlc-ghost { background: rgba(120, 120, 128, .16); color: #0B1430; }
.nlc-two { display: flex; gap: 8px; } .nlc-pick .nlc-m, .nlc-sheet .nlc-m { margin-top: 8px; }
.nlc-err { min-height: 18px; margin-top: 8px; color: #b91c1c; font-size: 13px; }
.nlc-lines { background: rgba(11, 20, 48, .05); border-radius: 12px; padding: 8px 10px; max-height: 30vh; overflow-y: auto; } .nlc-line { padding: 2px 0; } .nlc-line b { color: #00796b; }
.nlc-chk { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; } .nlc-p { margin: 0 0 8px; }
