/*
 | The name in type on a solid colour (App\Services\Tools\Registry\NameLogo),
 | shared by the name generator (tools/registry/generator) and the home
 | page's row of names (26 Nov 2026). Moved here from name-generator.css.
 */

/* The preview (App\Services\Tools\Registry\NameLogo), the way Namelix shows its
   ideas: the name in type alone, on a solid colour. A palette (`.ng-pal-N`:
   background, type, accent, muted) and a treatment (`.ng-t-*`) are picked from
   the name, a size (`.ng-z-1` to 9, NameLogo::SIZES) from its length: classes, never an inline
   style. The same in both themes: a preview is a picture of a brand. */
.ng-pal-0 { --lg-bg: #ffffff; --lg-fg: #38bdf8; --lg-ac: #0ea5e9; --lg-mu: #94a3b8; }
.ng-pal-1 { --lg-bg: #ffffff; --lg-fg: #222222; --lg-ac: #f97316; --lg-mu: #8a8a8a; }
.ng-pal-2 { --lg-bg: #ffffff; --lg-fg: #1d6ff2; --lg-ac: #f43f5e; --lg-mu: #7c8ba1; }
.ng-pal-3 { --lg-bg: #4b7bff; --lg-fg: #ffffff; --lg-ac: #fca5a5; --lg-mu: #c7d2fe; }
.ng-pal-4 { --lg-bg: #1f1f1f; --lg-fg: #ffffff; --lg-ac: #facc15; --lg-mu: #9ca3af; }
.ng-pal-5 { --lg-bg: #6a5947; --lg-fg: #e7d5bb; --lg-ac: #f59e0b; --lg-mu: #b8a48a; }
.ng-pal-6 { --lg-bg: #06a1e6; --lg-fg: #0b0b0b; --lg-ac: #ffffff; --lg-mu: #075985; }
.ng-pal-7 { --lg-bg: #3e5770; --lg-fg: #ffffff; --lg-ac: #d6cf9f; --lg-mu: #b9c4cf; }
.ng-pal-8 { --lg-bg: #2a6b5c; --lg-fg: #c3e86b; --lg-ac: #ffffff; --lg-mu: #8fbfa8; }
.ng-pal-9 { --lg-bg: #f5e6c8; --lg-fg: #3b3b3b; --lg-ac: #c2410c; --lg-mu: #8b7d6b; }
.ng-pal-10 { --lg-bg: #111827; --lg-fg: #fbbf24; --lg-ac: #ffffff; --lg-mu: #9ca3af; }
.ng-pal-11 { --lg-bg: #fdf2f8; --lg-fg: #9d174d; --lg-ac: #db2777; --lg-mu: #c08497; }
.ng-pal-12 { --lg-bg: #0f172a; --lg-fg: #5eead4; --lg-ac: #f0abfc; --lg-mu: #64748b; }
.ng-pal-13 { --lg-bg: #ecfccb; --lg-fg: #365314; --lg-ac: #65a30d; --lg-mu: #6b8e23; }
.ng-pal-14 { --lg-bg: #fff7ed; --lg-fg: #7c2d12; --lg-ac: #ea580c; --lg-mu: #b4876b; }
.ng-pal-15 { --lg-bg: #ede9fe; --lg-fg: #4c1d95; --lg-ac: #8b5cf6; --lg-mu: #8b7fb0; }

.ng-logo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 20px 16px; overflow: hidden; background: var(--lg-bg); color: var(--lg-fg); border-bottom: 1px solid var(--line); }
.ng-z-1 { --z: 1; } .ng-z-2 { --z: 0.85; } .ng-z-3 { --z: 0.72; } .ng-z-4 { --z: 0.62; } .ng-z-5 { --z: 0.54; } .ng-z-6 { --z: 0.47; } .ng-z-7 { --z: 0.41; } .ng-z-8 { --z: 0.36; } .ng-z-9 { --z: 0.31; }
.ng-word { max-width: 100%; text-align: center; line-height: 1.05; white-space: nowrap; font-family: var(--font-sans); font-size: calc(46px * var(--z)); }
.ng-word i { font-style: normal; }
.ng-word b { font-weight: inherit; color: var(--lg-ac); }
/* The tick while the name is free, as the card's state says (also after a later check). */
.ng-ok { display: none; position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: #10b981; box-shadow: 0 2px 6px rgb(0 0 0 / 0.18); }
.ng-ok::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.ng-card[data-state="available"] .ng-ok { display: block; }

.ng-t-spaced .ng-word { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.32em; margin-right: -0.32em; }
.ng-t-twoweight .ng-word { font-weight: 900; letter-spacing: -0.04em; }
.ng-t-twoweight .ng-word i { font-weight: 200; color: var(--lg-mu); }
.ng-t-swapthin .ng-word { font-weight: 200; letter-spacing: 0.08em; }
.ng-t-accentwide .ng-word { font-family: var(--font-display); font-weight: 900; letter-spacing: 0.22em; margin-right: -0.22em; }
.ng-t-tight .ng-word { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.ng-t-swapaccent .ng-word { font-weight: 800; letter-spacing: 0.02em; }
.ng-t-heavy .ng-word { font-weight: 900; letter-spacing: 0.06em; }
.ng-t-serif .ng-word { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -0.02em; }
.ng-t-serif .ng-word i { font-weight: 400; color: var(--lg-ac); }
.ng-t-drawn .ng-word { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.14em; }
.ng-ring { display: inline-block; width: 0.74em; height: 0.74em; border: 0.12em solid var(--lg-fg); border-right-color: transparent; border-radius: 50%; transform: translateY(0.04em) rotate(-30deg); box-sizing: border-box; }
.ng-t-mono .ng-word { font-family: var(--font-mono); font-weight: 400; font-size: calc(40px * var(--z)); letter-spacing: 0.02em; }
.ng-t-thin .ng-word { font-weight: 100; letter-spacing: 0.3em; margin-right: -0.3em; }
.ng-t-dot .ng-word { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.05em; }
.ng-t-stacked .ng-word { font-weight: 900; line-height: 0.95; }
.ng-t-stacked .ng-word span { display: block; margin-top: 0.3em; font-size: 0.45em; font-weight: 300; letter-spacing: 0.5em; margin-right: -0.5em; color: var(--lg-mu); }
.ng-t-italic .ng-word { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; letter-spacing: -0.02em; }
.ng-t-outline .ng-word { font-family: var(--font-display); font-weight: 900; color: transparent; -webkit-text-stroke: 1.4px var(--lg-fg); letter-spacing: 0.04em; }
.ng-t-underline .ng-word { font-weight: 800; letter-spacing: -0.02em; padding-bottom: 0.08em; border-bottom: 0.12em solid var(--lg-ac); }
/* Bengali: the site's Bengali face, taller lines, never spaced or cased. */
.ng-word:lang(bn) { font-family: var(--font-display); line-height: 1.35; letter-spacing: 0; margin-right: 0; font-size: calc(36px * var(--z)); }
.ng-t-outline .ng-word:lang(bn) { -webkit-text-stroke-width: 1px; }
