/* LeeChard — opulent BLACK & GOLD AI salon SPA. Pretendard (KO) + Playfair Display (Latin). */ :root { /* black & gold */ --black: #0b0907; /* app background */ --black-2: #120d09; /* deep panels */ --panel: rgba(18, 13, 8, .82); /* opaque dark glass — occludes the waves behind */ --panel-2: rgba(28, 21, 12, .9); --ink: #f1e6cf; /* primary text on black */ --muted: #b6a583; /* secondary text */ --faint: #8a7c5f; /* tertiary */ --gold: #e6c879; /* base gold */ --gold-bright: #f8e7b0; /* highlight */ --gold-deep: #b8893c; /* bronze */ --gold-line: rgba(230, 200, 121, .26); /* hairline */ --gold-line-strong: rgba(230, 200, 121, .5); --gold-grad: linear-gradient(135deg, #fbeab8 0%, #e6c879 42%, #c79a44 74%, #9c7528 100%); --gold-text: linear-gradient(100deg, #c79a44 0%, #f3dd9e 25%, #fff7df 50%, #f3dd9e 75%, #c79a44 100%); /* flowing gold ribbon motif (elegant parallel-line waves + scattered sparkles on black) */ --motif: url("data:image/svg+xml;utf8,"); --error: #d2685b; --serif: "Playfair Display", "Pretendard", Georgia, serif; --sans: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --r: 22px; --r-sm: 14px; --shadow: 0 10px 30px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4); --gold-glow: 0 6px 20px rgba(184, 137, 60, .45), 0 0 0 1px rgba(247,231,176,.25) inset; } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; } body { font-family: var(--sans); color: var(--ink); background: radial-gradient(120% 70% at 50% -10%, #2a1f10 0%, rgba(42,31,16,0) 55%), radial-gradient(100% 60% at 50% 120%, #1a1206 0%, rgba(26,18,6,0) 60%), #060504; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; line-height: 1.55; /* Korean line-breaking: wrap at WORD boundaries (spaces), never mid-word — without this, CJK text breaks between any two syllables and sentences look chopped/pushed around. overflow-wrap keeps a too-long unbroken run (URL, long token) from overflowing the box. */ word-break: keep-all; overflow-wrap: break-word; } .app { position: relative; width: 100%; max-width: 460px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: radial-gradient(130% 50% at 50% 0%, rgba(214,170,86,.14) 0%, rgba(11,9,7,0) 55%) center / cover no-repeat, var(--black); overflow: hidden; } /* film grain for richness */ .app::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 40; opacity: .05; background-image: url("data:image/svg+xml;utf8,"); } /* --- screen routing --- */ .screen { display: none; flex-direction: column; min-height: 100vh; min-height: 100dvh; position: relative; z-index: 1; } .screen.active { display: flex; } /* animated gold waves behind every screen */ .bg-waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; } .bg-waves svg { width: 100%; height: 100%; display: block; } .screen-body { flex: 1; padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; } .screen-body.center-col { align-items: center; justify-content: center; text-align: center; gap: 18px; } .screen-foot { padding: 16px 24px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; } /* --- page transition: each screen fades in, content rises + staggers --- */ @keyframes screenIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } } @keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } } .screen.active { animation: screenIn .5s cubic-bezier(.22, .61, .36, 1) backwards; } .screen.active .topbar, .screen.active .hero-content > *, .screen.active .screen-body > *, .screen.active .loading-center > *, .screen.active .share-head, .screen.active .screen-foot > * { animation: riseIn .6s cubic-bezier(.22, .61, .36, 1) backwards; } .screen.active .hero-content > *:nth-child(1) { animation-delay: .10s; } .screen.active .hero-content > *:nth-child(2) { animation-delay: .20s; } .screen.active .hero-content > *:nth-child(3) { animation-delay: .30s; } .screen.active .hero-content > *:nth-child(4) { animation-delay: .40s; } .screen.active .screen-body > *:nth-child(1) { animation-delay: .06s; } .screen.active .screen-body > *:nth-child(2) { animation-delay: .13s; } .screen.active .screen-body > *:nth-child(3) { animation-delay: .20s; } .screen.active .screen-body > *:nth-child(4) { animation-delay: .27s; } .screen.active .screen-body > *:nth-child(5) { animation-delay: .34s; } .screen.active .loading-center > *:nth-child(1) { animation-delay: .05s; } .screen.active .loading-center > *:nth-child(2) { animation-delay: .14s; } .screen.active .loading-center > *:nth-child(3) { animation-delay: .23s; } .screen.active .loading-center > *:nth-child(4) { animation-delay: .32s; } .screen.active .loading-center > *:nth-child(5) { animation-delay: .41s; } .screen.active .loading-center > *:nth-child(6) { animation-delay: .50s; } .screen.active .screen-foot > *:nth-child(1) { animation-delay: .24s; } .screen.active .screen-foot > *:nth-child(2) { animation-delay: .32s; } @media (prefers-reduced-motion: reduce) { .screen.active, .screen.active * { animation-duration: .001ms !important; animation-delay: 0s !important; } } /* --- step indicator --- */ .stepbar { position: absolute; top: 0; left: 0; right: 0; height: 3px; display: flex; gap: 2px; z-index: 30; } .stepbar i { flex: 1; background: rgba(230,200,121,.14); transition: background .4s ease; } .stepbar i.on { background: var(--gold-grad); box-shadow: 0 0 8px rgba(230,200,121,.6); } /* --- gold shimmer helpers --- */ @keyframes shine { to { background-position: 200% center; } } .gold-text { background: var(--gold-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; } /* --- typography --- */ .brand-logo { font-family: var(--serif); font-weight: 600; font-size: 48px; letter-spacing: .5px; line-height: 1; background: var(--gold-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; filter: drop-shadow(0 2px 14px rgba(214,170,86,.35)); } .brand-logo.small { font-size: 24px; } .slogan { font-family: var(--serif); font-size: 23px; font-weight: 500; font-style: italic; margin-top: 8px; color: var(--ink); } .brand-sub { color: var(--muted); font-size: 11.5px; margin-top: 14px; letter-spacing: 3.5px; text-transform: uppercase; } .title { font-size: 25px; font-weight: 700; letter-spacing: -.3px; line-height: 1.3; color: var(--gold-bright); text-shadow: 0 1px 20px rgba(214,170,86,.18); } .title.light { color: var(--gold-bright); } .fineprint { color: var(--faint); font-size: 12px; text-align: center; letter-spacing: .2px; } .disclosure { color: var(--muted); font-size: 12.5px; text-align: center; line-height: 1.55; } /* ornaments */ .ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); font-size: 12px; } .ornament::before, .ornament::after { content: ""; width: 46px; height: 1px; } .ornament::before { background: linear-gradient(90deg, transparent, var(--gold)); } .ornament::after { background: linear-gradient(90deg, var(--gold), transparent); } .center-col .title::after { content: "✦"; display: block; color: var(--gold); font-size: 12px; margin-top: 12px; text-shadow: 0 0 10px rgba(230,200,121,.6); } #screen-consent .title::after { content: ""; display: block; width: 50px; height: 2px; margin-top: 14px; background: var(--gold-grad); border-radius: 2px; box-shadow: 0 0 10px rgba(230,200,121,.5); } /* --- topbar --- */ .topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 14px 6px; } .topbar-title { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; } .icon-btn { width: 40px; height: 40px; border: none; background: none; font-size: 26px; line-height: 1; color: var(--gold); cursor: pointer; border-radius: 50%; transition: background .15s; } .icon-btn:active { background: rgba(230,200,121,.12); } .icon-btn.ghost { visibility: hidden; } /* --- buttons --- */ .btn { position: relative; width: 100%; border: none; border-radius: 999px; font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: .3px; padding: 17px; cursor: pointer; overflow: hidden; transition: transform .1s ease, box-shadow .2s ease, opacity .2s; } .btn:active { transform: translateY(1px) scale(.99); } .btn-primary { background: var(--gold-grad); color: #2a1c06; box-shadow: var(--gold-glow), 0 10px 26px rgba(184,137,60,.4); } .btn-primary::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); } /* shine sweep */ .btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-20deg); background: linear-gradient(110deg, transparent, rgba(255,255,255,.55), transparent); animation: sweep 4s ease-in-out infinite; } @keyframes sweep { 0% { left: -60%; } 55% { left: 150%; } 100% { left: 150%; } } .btn-primary:disabled { background: #2a2114; color: #6b5d3e; box-shadow: none; cursor: not-allowed; } .btn-primary:disabled::before, .btn-primary:disabled::after { display: none; } .btn-text { background: none; color: var(--muted); font-weight: 500; padding: 12px; letter-spacing: .2px; } /* keyboard focus ring (only on keyboard nav, not programmatic/mouse focus) */ :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; } .title:focus-visible, .brand-logo:focus-visible { outline: none; } /* --- landing --- */ #screen-landing { background: radial-gradient(120% 70% at 50% 16%, rgba(214,170,86,.20) 0%, rgba(11,9,7,0) 55%) center / cover no-repeat, radial-gradient(140% 90% at 50% 120%, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 60%) center / cover no-repeat; } .hero { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; } .hero-overlay { position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 42%, rgba(214,170,86,.10), transparent 70%); } .hero-content { position: relative; z-index: 1; padding: 0 28px; } .hero-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0 0; color: var(--gold); font-size: 12px; } .hero-rule::before, .hero-rule::after { content: ""; width: 46px; height: 1px; } .hero-rule::before { background: linear-gradient(90deg, transparent, var(--gold)); } .hero-rule::after { background: linear-gradient(90deg, var(--gold), transparent); } #screen-landing .fineprint { color: var(--faint); } /* --- consent --- */ .trust-list { list-style: none; display: flex; flex-direction: column; gap: 11px; } .trust-list li { display: flex; align-items: center; gap: 13px; background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--r-sm); padding: 15px 16px; font-size: 14.5px; color: var(--ink); box-shadow: inset 0 1px 0 rgba(247,231,176,.06), 0 8px 22px rgba(0,0,0,.35); } .trust-list .ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; font-size: 17px; background: linear-gradient(135deg, rgba(247,231,176,.18), rgba(184,137,60,.12)); border: 1px solid var(--gold-line); border-radius: 10px; } .consents { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; } .check { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; cursor: pointer; padding: 9px 4px; color: var(--ink); } .check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin-top: 1px; flex: none; border: 1.5px solid var(--gold-line-strong); border-radius: 7px; background: rgba(0,0,0,.3); cursor: pointer; transition: background .15s, border-color .15s; position: relative; } .check input:checked { background: var(--gold-grad); border-color: transparent; box-shadow: 0 0 10px rgba(230,200,121,.5); } .check input:checked::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #2a1c06; font-size: 13px; font-weight: 800; } .consent-note { margin: 2px 4px 0 33px; font-size: 11.5px; line-height: 1.5; color: var(--faint); } /* --- capture --- */ .capture-body { padding-top: 10px; } .capture-frame { position: relative; flex: 1; min-height: 340px; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 80% at 50% 26%, #1a140c, #0a0805); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; } .capture-frame::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 0 40px rgba(214,170,86,.08); pointer-events: none; } .capture-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .face-guide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; } .oval { width: 56%; aspect-ratio: 3/4; border: 1.5px dashed rgba(247,231,176,.6); border-radius: 50%; box-shadow: 0 0 0 100vmax rgba(0,0,0,.32); } .capture-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--gold-bright); font-size: 13.5px; text-shadow: 0 1px 8px rgba(0,0,0,.8); padding: 0 20px; } .capture-foot #btn-shoot { font-size: 17px; } .chips { display: flex; gap: 8px; flex-wrap: wrap; } .chips.center { justify-content: center; } .chip { background: var(--panel); border: 1px solid var(--gold-line); color: var(--muted); font-size: 12px; padding: 7px 14px; border-radius: 999px; letter-spacing: .2px; } .chip.gold { color: #2a1c06; border-color: transparent; background: var(--gold-grad); font-weight: 700; box-shadow: 0 4px 12px rgba(184,137,60,.35); } /* --- gender pick (capture confirm) --- */ .gender-pick { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .gender-pick-label { font-size: 11px; color: var(--muted); font-weight: 600; flex: none; letter-spacing: 2px; text-transform: uppercase; } .gender-seg { display: flex; flex: 1; gap: 4px; padding: 4px; background: rgba(0,0,0,.35); border: 1px solid var(--gold-line); border-radius: 999px; } .gender-opt { flex: 1; padding: 10px 0; border: none; background: none; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .18s ease; } .gender-opt.active { background: var(--gold-grad); color: #2a1c06; box-shadow: 0 4px 14px rgba(184,137,60,.45); } /* --- loading --- */ #screen-loading { background: transparent; } .loading-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(32px) brightness(.32) saturate(.85); transform: scale(1.2); } .loading-center { position: relative; z-index: 1; margin: auto; text-align: center; padding: 0 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; } .ring { width: 70px; height: 70px; border-radius: 50%; background: conic-gradient(#f8e7b0, #e6c879 30%, rgba(230,200,121,.06) 72%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); animation: spin 1.1s linear infinite; filter: drop-shadow(0 0 10px rgba(230,200,121,.5)); } @keyframes spin { to { transform: rotate(360deg); } } .loading-time { color: var(--muted); font-size: 13.5px; } .loading-pct { font-size: 36px; font-weight: 700; font-variant-numeric: tabular-nums; font-family: var(--serif); background: var(--gold-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; } .progress { width: 220px; height: 6px; background: rgba(230,200,121,.12); border-radius: 999px; overflow: hidden; } .progress-fill { width: 0%; height: 100%; background: var(--gold-grad); border-radius: 999px; box-shadow: 0 0 10px rgba(230,200,121,.55); transition: width .45s ease; } .value-banner { margin-top: 6px; background: var(--panel); color: var(--gold-bright); border: 1px solid var(--gold-line); border-radius: 999px; padding: 9px 18px; font-size: 12.5px; letter-spacing: .3px; } /* rotating notice on the loading screen */ .loading-notice { margin-top: 14px; display: flex; align-items: center; gap: 10px; max-width: 300px; min-height: 44px; background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--r-sm); padding: 10px 13px; } .notice-tag { flex: none; font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #2a1c06; background: var(--gold-grad); border-radius: 6px; padding: 3px 8px; } .notice-text { font-size: 12.5px; color: var(--gold-bright); line-height: 1.45; text-align: left; transition: opacity .35s ease; } /* --- access gate --- */ .code-input { width: 250px; max-width: 80%; margin-top: 8px; text-align: center; font-size: 20px; letter-spacing: 3px; padding: 14px; border: 1px solid var(--gold-line-strong); border-radius: var(--r-sm); background: rgba(0,0,0,.4); color: var(--gold-bright); } .code-input::placeholder { color: var(--faint); } .code-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230,200,121,.2); } /* --- result before/after --- */ .ba { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; background: #100b07; box-shadow: var(--shadow); } .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .ba-before { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); } .ba::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--gold-line); pointer-events: none; } .ba-tag { position: absolute; top: 12px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-bright); background: rgba(10,7,4,.55); border: 1px solid var(--gold-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 5px 11px; border-radius: 999px; } .ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; } .wm { position: absolute; right: 12px; bottom: 12px; font-size: 10.5px; color: var(--gold-bright); background: rgba(10,7,4,.5); border: 1px solid var(--gold-line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 9px; border-radius: 7px; } .ba-range { width: 100%; accent-color: var(--gold); margin-top: -2px; } /* --- qr --- */ .qr-card { position: relative; background: linear-gradient(135deg, rgba(247,231,176,.06), rgba(184,137,60,.04)); border: 1px solid var(--gold-line-strong); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow), 0 0 30px rgba(214,170,86,.12); } .qr-card::before, .qr-card::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); } .qr-card::before { top: 9px; left: 9px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; } .qr-card::after { bottom: 9px; right: 9px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; } .qr-img { width: 214px; height: 214px; display: block; image-rendering: pixelated; background: #fff; border-radius: 8px; padding: 8px; } .qr-instr { font-size: 14.5px; color: var(--ink); } .link-row { display: flex; align-items: center; gap: 8px; width: 100%; background: rgba(0,0,0,.35); border: 1px solid var(--gold-line); border-radius: var(--r-sm); padding: 6px 6px 6px 15px; } .link-text { flex: 1; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .btn-copy { border: none; background: var(--gold-grad); color: #2a1c06; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 12px rgba(184,137,60,.35); } .note-card { background: var(--panel); border: 1px solid var(--gold-line); color: var(--gold-bright); font-size: 12.5px; border-radius: var(--r-sm); padding: 13px 16px; text-align: center; line-height: 1.55; } /* --- done / success / error --- */ .success-check, .error-mark { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; } .success-check { background: var(--gold-grad); color: #2a1c06; box-shadow: 0 0 30px rgba(230,200,121,.5), var(--gold-glow); } .error-mark { background: rgba(210,104,91,.16); border: 1px solid rgba(210,104,91,.5); color: var(--error); font-weight: 700; } .error-mark.muted { background: var(--panel); border: 1px solid var(--gold-line); color: var(--muted); } .done-thumb, .share-img { width: 100%; max-width: 320px; border-radius: var(--r); box-shadow: var(--shadow), 0 0 24px rgba(214,170,86,.12); border: 1px solid var(--gold-line); } .error-msg { color: var(--muted); font-size: 14px; max-width: 300px; } /* --- share (customer) --- */ .share-head { text-align: center; padding: 24px 0 6px; } .share-frame { width: 100%; display: flex; justify-content: center; } /* --- recent results (operator-local gallery) --- */ .recent-note { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.5; } .recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .recent-item { position: relative; aspect-ratio: 3/4; border: none; padding: 0; border-radius: var(--r-sm); overflow: hidden; background: #100b07; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 0 0 1px var(--gold-line); transition: transform .12s ease, box-shadow .2s ease; } .recent-item:active { transform: scale(.97); } .recent-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,.5), inset 0 0 0 1px var(--gold-line-strong); } .recent-item img { width: 100%; height: 100%; object-fit: cover; display: block; } .recent-empty { text-align: center; color: var(--faint); font-size: 13.5px; line-height: 1.8; margin-top: 34px; } /* --- toast --- */ .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: min(420px, calc(100vw - 32px)); background: var(--black-2); color: var(--gold-bright); border: 1px solid var(--gold-line); padding: 13px 18px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 12px 34px rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; } .toast.show { opacity: 1; } @media (min-width: 500px) { body { display: flex; align-items: center; justify-content: center; padding: 28px 0; } .app { min-height: min(880px, calc(100dvh - 56px)); border-radius: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 0 1px var(--gold-line-strong), 0 0 60px rgba(214,170,86,.1); } .screen, .screen.active { min-height: min(880px, calc(100dvh - 56px)); } }