/* 누리 허브 (1915) — Gemini 방향: 어두운 남색 바탕 · 문 두 개(VZION = 각진·빨강, Nuri = 보라 남색·노란 점) · 큰 글씨·큰 버튼 (고령 사용자) · Pretendard 600 이하 */
@font-face { font-family: "Pretendard"; src: url("fonts/PretendardVariable.woff2") format("woff2-variations"), url("fonts/PretendardVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #0f1117; --card-vz: #14171f; --card-nuri: #191724; --line: #2a2e3b; --line-nuri: #322d47;
  --red: #ff3b30; --yellow: #ffcc00; --purple: #5e5ce6; --ink: #fff; --ink-2: #a1a5b0; --field: #161922;
  --radius: 28px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 18px/1.6 Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif; display: flex; flex-direction: column; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 머리글: 화면 위에 붙어 있음 → 전화번호가 늘 보임 */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(15, 17, 23, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo img { display: block; height: 34px; width: auto; }
.top-r { display: flex; align-items: center; gap: 12px; }
.phone { font-size: 20px; font-weight: 600; text-decoration: none; background: #2c2f38; padding: 10px 20px; border-radius: 50px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.phone:hover { background: #383c48; }
.lang select { font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.linkish { font: inherit; font-size: 16px; color: var(--ink-2); background: none; border: 0; cursor: pointer; text-decoration: underline; }
.flash { margin: 16px auto 0; max-width: 1200px; padding: 12px 20px; border-radius: 12px; background: #1d2a1f; color: #b9f2c4; }
.foot { margin-top: auto; padding: 28px 16px; text-align: center; color: var(--ink-2); font-size: 15px; }

/* 첫 화면: 문 두 개 */
.doors-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(32px, 7vh, 80px) 24px 0; }
.lede { margin: 0 0 24px; color: var(--ink-2); font-size: 20px; }
.doors { display: flex; gap: 32px; }
.door { flex: 1; min-height: 440px; border-radius: var(--radius); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.door:hover, .door:focus-visible { transform: translateY(-4px); }
.door:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.d-title { font-size: 44px; font-weight: 600; line-height: 1.2; }
.d-text { font-size: 22px; color: var(--ink-2); line-height: 1.5; margin-top: 12px; }
.d-go { font-size: 22px; font-weight: 600; }
.door-vz { background: var(--card-vz); border: 2px solid var(--line); }
.door-vz:hover { border-color: var(--red); }
.door-vz .d-title { letter-spacing: .08em; }
.door-vz .d-go { color: var(--red); }
.door-nuri { background: var(--card-nuri); border: 2px solid var(--line-nuri); }
.door-nuri:hover { border-color: var(--yellow); }
.door-nuri .d-title { letter-spacing: -.01em; }
.dot { display: inline-block; width: .22em; height: .22em; border-radius: 50%; background: var(--yellow); margin-left: .12em; vertical-align: .9em; }
.door-nuri .d-go { color: var(--yellow); }
.tbd { display: inline-block; font-size: 13px; color: var(--ink-2); border: 1px dashed var(--line-nuri); border-radius: 6px; padding: 1px 8px; margin-left: 6px; vertical-align: middle; }

/* 소개 영상 */
.intro .top { position: fixed; width: 100%; background: transparent; border: 0; backdrop-filter: none; }
.intro-wrap { position: fixed; inset: 0; background: #000; display: grid; place-items: center; transition: opacity .4s ease; }
.intro-wrap.out { opacity: 0; }
.intro-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }   /* 1337: 데스크톱에서 영상 칸이 화면보다 커져(2275px) 위만 보이고 박힌 자막이 잘리던 것 고침 — 화면 안에 통째로 */
.intro-ctl { position: fixed; right: 24px; bottom: 24px; display: flex; gap: 12px; z-index: 20; }
.intro .foot { display: none; }

/* 버튼·폼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 14px; font: inherit; font-size: 20px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.big { width: 100%; min-height: 64px; font-size: 22px; }
.btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.skip { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .4); border-radius: 40px; }
.auth-wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) 20px 0; }
.auth h1 { font-size: 30px; font-weight: 600; line-height: 1.3; margin: 0 0 8px; }
.sub { color: var(--ink-2); margin: 0 0 24px; }
.auth form { display: grid; gap: 18px; }
.auth label { display: grid; gap: 6px; font-size: 18px; }
.auth label small { color: var(--ink-2); font-size: 15px; }
.auth input { height: 64px; font: inherit; font-size: 20px; color: var(--ink); background: var(--field); border: 1px solid #3a3d4a; border-radius: 12px; padding: 0 18px; }
.auth input:focus { outline: 3px solid var(--purple); outline-offset: 1px; }
.alt { margin-top: 22px; font-size: 18px; color: var(--ink-2); }
.alt a { color: var(--ink); font-weight: 600; }
.alert { background: #3a1416; color: #ffd2d0; border: 1px solid #6b1f22; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; }

/* 대시보드 */
.dash-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: clamp(28px, 6vh, 56px) 24px 0; }
.hello { color: var(--ink-2); margin: 0; }
.dash-wrap h1 { font-size: 34px; font-weight: 600; margin: 4px 0; }
.grp h2 { font-size: 22px; font-weight: 600; color: var(--yellow); margin: 40px 0 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { min-height: 180px; border-radius: 20px; padding: 24px; background: #181b24; border: 1px solid #282c38; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s ease, transform .2s ease; }
.card:hover, .card:focus-visible { border-color: var(--yellow); transform: translateY(-2px); }
.c-name { font-size: 22px; font-weight: 600; }
.c-desc { color: var(--ink-2); flex: 1; }
.c-go { font-weight: 600; color: var(--yellow); }
.tag { font-size: 13px; color: var(--yellow); border: 1px solid var(--yellow); border-radius: 6px; padding: 0 6px; vertical-align: middle; }
.empty { margin-top: 32px; padding: 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--ink-2); }
.empty a { color: var(--ink); font-weight: 600; }

/* 휴대폰 */
@media (max-width: 1023px) {
  .doors { flex-direction: column; gap: 20px; }
  .door { min-height: 300px; padding: 32px; }
  .d-title { font-size: 34px; }
  .d-text, .d-go { font-size: 19px; }
}
@media (max-width: 560px) {
  .top { padding: 10px 14px; }
  .logo img { height: 26px; }
  .phone { font-size: 17px; padding: 8px 14px; }
  .lang select { font-size: 14px; padding: 6px; }
  .auth h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .door, .card, .intro-wrap { transition: none; } }
/* 아주 좁은 휴대폰: 머리글이 넘치지 않게 (전화번호는 그대로 크게) */
@media (max-width: 430px) {
  .top { gap: 8px; }
  .top-r { gap: 6px; }
  .logo img { height: 22px; }
  .phone { font-size: 16px; padding: 8px 12px; }
  .lang select { max-width: 74px; }
}

/* 0813 로그인 + 소개 영상 나란히: 데스크톱 왼쪽 로그인 · 오른쪽 영상 / 폰은 로그인 먼저 */
.auth-split { max-width: 1120px; display: grid; grid-template-columns: minmax(300px, 480px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: 24px; }
.auth-media { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.auth-media video { display: block; height: min(72vh, 680px); max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 24px; background: #000; border: 1px solid var(--line); }
.auth-media .snd { min-height: 48px; font-size: 17px; }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; max-width: 560px; }
  .auth-media video { height: auto; width: min(100%, 360px); }
}

/* 1730 대시보드: 앱 아이콘 (각 앱 로고와 같은 파일) · 준비 중 카드 */
.c-icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 6px; }
.card.soon { opacity: .55; cursor: default; }
.card.soon:hover { border-color: #282c38; transform: none; }
.card.soon .c-go { color: var(--ink-2); }

/* 1840 보충 (Kevin "카드 전체를 클릭 · 커서 올리면 손가락"): 카드 어디를 눌러도 열림 — 손가락 커서 · 올리면 밝아지고 화살표가 나감 · 누르면 살짝 눌림 */
a.card { cursor: pointer; color: inherit; }
a.card:hover, a.card:focus-visible { background: #1f2330; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
a.card .c-go { transition: transform .2s ease; }
a.card:hover .c-go, a.card:focus-visible .c-go { transform: translateX(6px); }
a.card:active { transform: translateY(0) scale(.99); }
@media (prefers-reduced-motion: reduce) { a.card .c-go { transition: none; } }

/* 1841 회원 관리 (어드민) */
.adm-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.adm-n { font-size: 18px; color: var(--ink-2); font-weight: 400; margin-left: 8px; }
.adm-search { display: flex; gap: 10px; margin: 18px 0; }
.adm-search input { flex: 1; height: 54px; font: inherit; color: var(--ink); background: var(--field); border: 1px solid #3a3d4a; border-radius: 12px; padding: 0 16px; }
.adm-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.adm-table th, .adm-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.adm-table th { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.adm-table tbody tr { cursor: pointer; }
.adm-table tbody tr:hover { background: #1b1e28; }
.adm-table a { color: var(--ink); font-weight: 600; }
.tag-off { color: #fca5a5; border-color: #fca5a5; }
.adm-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 20px 0; }
.adm-dl dt { color: var(--ink-2); }
.adm-dl dd { margin: 0; }
.adm-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.adm-sum { display: flex; flex-wrap: wrap; gap: 8px; }
.ok-msg { color: #86efac; }

/* 1846 대시보드 프리미엄 — "목록" → "작품": 큰 제목 위계 · 대표 카드 + 받치는 카드(빈 칸 없는 한 판) · 은은한 깊이 · 아이콘 받침 · 분명한 '열기' 단추
   색은 그대로 (어두운 남색 + 보라 + 노랑), 글자 굵기 600 이하 */
.dash-wrap { max-width: 1240px; padding-top: clamp(36px, 7vh, 72px); overflow-x: clip; }
.dash-head { position: relative; margin-bottom: clamp(28px, 4vw, 44px); }
.dash-head::before { content: ""; position: absolute; z-index: -1; left: -24px; top: -150px; width: min(620px, 100%); height: 420px; background: radial-gradient(closest-side, rgba(94, 92, 230, .22), transparent); pointer-events: none; }
.dash-head .hello { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: .01em; }
.dash-head .hello::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px rgba(255, 204, 0, .7); }
.dash-wrap .dash-head h1 { font-size: clamp(40px, 5.2vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; margin: 12px 0 14px; }
.dash-head .sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 38em; margin: 0; }

.bento { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .feat { grid-column: 1 / -1; }
  .bento .t2 { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento.has-feat .feat { grid-column: 1 / 3; grid-row: 1 / 3; }
  .bento .t2 { grid-column: auto; }
  .bento .w2 { grid-column: span 2; }
  .bento .w3 { grid-column: 1 / -1; }
}

.bento .card { position: relative; isolation: isolate; min-height: 220px; padding: 26px 26px 24px; gap: 8px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 46%), #141722;
  border: 1px solid rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 2px rgba(0, 0, 0, .45), 0 18px 40px -22px rgba(0, 0, 0, .85);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.bento a.card:hover, .bento a.card:focus-visible { transform: translateY(-3px); border-color: rgba(255, 204, 0, .42); background-color: #181b28;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 2px 4px rgba(0, 0, 0, .4), 0 26px 50px -24px rgba(0, 0, 0, .9), 0 0 0 4px rgba(255, 204, 0, .06); }
.bento a.card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.bento a.card:active { transform: translateY(-1px) scale(.995); }

.c-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.c-ico { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 19px; padding: 4px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px -10px rgba(94, 92, 230, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
.c-ico img, .bento .c-icon { width: 56px; height: 56px; border-radius: 15px; margin: 0; display: block; }
.c-cat { font-size: 13px; line-height: 1.3; color: var(--ink-2); text-align: right; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); max-width: 60%; }
.bento .c-name { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.bento .c-desc { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.bento .c-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; height: 44px; padding: 0 16px 0 18px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: var(--yellow); background: rgba(255, 204, 0, .08); border: 1px solid rgba(255, 204, 0, .28); transition: background-color .2s ease, transform .2s ease; }
.bento .c-go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.bento a.card:hover .c-go, .bento a.card:focus-visible .c-go { transform: none; background: rgba(255, 204, 0, .16); }
.bento a.card:hover .c-go svg, .bento a.card:focus-visible .c-go svg { transform: translateX(4px); }

/* 대표 카드: 크게 · 보라빛 · 노란 단추 */
.bento .card.feat { min-height: 300px; padding: clamp(28px, 3.4vw, 44px); justify-content: flex-end;
  background: radial-gradient(90% 80% at 100% 0%, rgba(118, 116, 255, .36), transparent 62%), radial-gradient(70% 60% at 0% 100%, rgba(255, 204, 0, .09), transparent 70%), linear-gradient(160deg, #1f1d38 0%, #161827 60%, #12141d 100%);
  border-color: rgba(140, 138, 255, .32); }
/* 대표 카드 그림: 누리 로고의 아치 + 노란 점을 크게 (빈 가운데를 브랜드로 채움) */
.bento .card.feat::after { content: ""; position: absolute; z-index: -1; right: clamp(8px, 3vw, 40px); bottom: clamp(-10px, -1vw, 0px); width: clamp(220px, 30vw, 380px); aspect-ratio: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 130'%3E%3Cdefs%3E%3Cfilter id='g' x='-1' y='-1' width='3' height='3'%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M44 112 V68 a21 21 0 0 1 42 0 V112' fill='none' stroke='%238c8aff' stroke-opacity='.12' stroke-width='15' stroke-linecap='round'/%3E%3Ccircle cx='98' cy='38' r='12' fill='%23ffcc00' opacity='.55' filter='url%28%23g%29'/%3E%3Ccircle cx='98' cy='38' r='9' fill='%23ffcc00'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.bento .card.feat .c-top { margin-bottom: auto; padding-bottom: 28px; }
.bento .card.feat .c-cat { display: none; }
.bento .card.feat .c-ico { width: 92px; height: 92px; border-radius: 26px; padding: 6px; }
.bento .card.feat .c-ico img { width: 80px; height: 80px; border-radius: 21px; }
.c-badge { align-self: flex-start; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #e3e2ff; padding: 5px 12px; border-radius: 999px; background: rgba(118, 116, 255, .22); border: 1px solid rgba(160, 158, 255, .35); margin-bottom: 6px; }
.bento .card.feat .c-name { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.1; }
.bento .card.feat .c-desc { font-size: clamp(17px, 1.6vw, 20px); color: #c4c6d4; max-width: 30em; }
.bento .card.feat .c-go { height: 56px; padding: 0 22px 0 26px; font-size: 18px; color: #16130a; background: var(--yellow); border-color: var(--yellow); box-shadow: 0 10px 28px -10px rgba(255, 204, 0, .6); }
.bento a.card.feat:hover .c-go, .bento a.card.feat:focus-visible .c-go { background: #ffd633; }

/* 넓은 카드(마지막 줄 채움): 넓은 화면에서는 가로로 */
@media (min-width: 1080px) {
  .bento .w3, .bento .w2 { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 22px; align-items: center; }
  .bento .w3 .c-top, .bento .w2 .c-top { grid-row: 1 / 3; margin: 0; }
  .bento .w3 .c-cat, .bento .w2 .c-cat { display: none; }
  .bento .w3 .c-go, .bento .w2 .c-go { grid-column: 3; grid-row: 1 / 3; margin: 0; align-self: center; }
}

/* 준비 중: 맨 아래 한 줄 */
.soon-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; padding: 16px 22px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, .12); color: var(--ink-2); }
.soon-lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); }
.soon-item { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.soon-item img { width: 32px; height: 32px; border-radius: 9px; opacity: .7; }
.soon-item b { font-weight: 600; color: #d4d6de; }
.soon-item small { font-size: 14px; }

/* 폰: 받치는 카드는 한 줄짜리 (아이콘 · 이름/설명 · 화살표) — 스크롤 줄이고 누를 곳은 그대로 큼 */
@media (max-width: 560px) {
  .bento { gap: 14px; }
  .bento .card:not(.feat) { min-height: 0; padding: 18px 16px 18px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 2px; align-items: center; }
  .bento .card:not(.feat) .c-top { grid-row: 1 / 3; margin: 0; }
  .bento .card:not(.feat) .c-cat { display: none; }
  .bento .card:not(.feat) .c-name { font-size: 20px; align-self: end; }
  .bento .card:not(.feat) .c-desc { font-size: 15px; align-self: start; }
  .bento .card:not(.feat) .c-go { grid-column: 3; grid-row: 1 / 3; margin: 0; width: 48px; height: 48px; padding: 0; justify-content: center; align-self: center; }
  .bento .card:not(.feat) .c-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bento .card:not(.feat) .c-ico { width: 56px; height: 56px; border-radius: 17px; }
  .bento .card:not(.feat) .c-ico img { width: 48px; height: 48px; border-radius: 13px; }
  .bento .card.feat { min-height: 360px; padding: 26px; }
  .bento .card.feat::after { width: 200px; right: -10px; bottom: auto; top: -6px; opacity: .9; }
  .soon-row { padding: 14px 16px; }
  .top .linkish { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .bento .card, .bento .c-go, .bento .c-go svg { transition: none; } }
/* 1846: 아주 좁은 폰 머리글 — 로그아웃이 세로로 쪼개지거나 화면 밖으로 나가지 않게 */
@media (max-width: 430px) {
  .top { padding: 10px 12px; }
  .logo img { height: 20px; }
  .phone { font-size: 15px; padding: 8px 11px; }
  .lang select { max-width: 64px; font-size: 13px; padding: 6px 4px; }
  .top .linkish { font-size: 14px; white-space: nowrap; }
}
.lo .lo-i { display: none; width: 22px; height: 22px; }
@media (max-width: 430px) {
  .top .lo { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--field); color: var(--ink); text-decoration: none; }
  .lo .lo-i { display: block; }
  .lo .lo-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .phone { font-size: 16px; padding: 8px 12px; }
  .lang select { max-width: 72px; font-size: 14px; }
}
@media (max-width: 430px) { .phone { font-size: 15px; padding: 8px 10px; } .top-r { gap: 6px; } }
@media (max-width: 370px) { .logo img { height: 18px; } .lang select { max-width: 62px; } }
@media (max-width: 430px) { .top .logo { flex: 0 1 auto; min-width: 56px; } .top .logo img { width: 100%; max-width: 110px; height: auto; } .top-r { flex: none; } }
/* 1846 비평 반영 (제미나이·Claude 둘 다 동의한 것): 받치는 카드 '열기'를 단추답게 · 카드에 올리면 노란 단추 · 고령 사용자용 글자 크기 · 준비 중 줄을 같은 디자인 언어로 */
.bento .card:not(.feat) .c-go { background: rgba(255, 204, 0, .13); border-color: rgba(255, 204, 0, .45); }
.bento a.card:not(.feat):hover .c-go, .bento a.card:not(.feat):focus-visible .c-go { background: var(--yellow); border-color: var(--yellow); color: #16130a; }
.bento .c-desc { font-size: 17px; }
.c-cat { font-size: 14px; color: #c3c6d1; }
.soon-row { border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
@media (max-width: 560px) { .bento .card:not(.feat) .c-desc { font-size: 16px; } }
/* 0631 이용약관 */
.terms-wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: clamp(28px, 6vh, 56px) 20px 0; }
.terms h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 600; letter-spacing: -.03em; margin: 0 0 6px; }
.terms-ver { color: var(--ink-2); margin: 0 0 18px; font-size: 16px; }
.terms-note { background: rgba(255, 204, 0, .08); border: 1px solid rgba(255, 204, 0, .3); color: #f5e7a8; border-radius: 14px; padding: 12px 16px; font-size: 16px; }
.terms-note a { color: var(--yellow); }
.terms section { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.terms h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }
.terms p, .terms li { color: #d3d6df; font-size: 17px; line-height: 1.7; }
.terms ul { padding-left: 1.2em; margin: 6px 0; }
.terms li { margin: 4px 0; }
.terms a { color: #c7c9ff; }
.terms .caps { font-size: 15px; letter-spacing: .01em; color: #c3c6d1; }
.terms strong { color: #fff; font-weight: 600; }
.terms-accept { position: sticky; bottom: 0; display: grid; gap: 12px; padding: 18px 0 22px; background: linear-gradient(180deg, rgba(15, 17, 23, 0), var(--bg) 28%); }
.terms-ok { display: flex !important; gap: 12px; align-items: flex-start; font-size: 17px !important; cursor: pointer; }
.terms-ok input { width: 24px; height: 24px; margin-top: 3px; flex: none; accent-color: var(--yellow); height: 24px !important; }
.terms-ok a { color: var(--yellow); }
.terms-done { color: #86efac; margin: 18px 0 0; }
.terms-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: space-between; margin: 0 0 22px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(255, 204, 0, .32); background: rgba(255, 204, 0, .07); color: #f5e7a8; font-size: 16px; }
.pill-link { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--yellow); color: #16130a; font-weight: 600; text-decoration: none; white-space: nowrap; }
.terms :is(p, li, h2, h1), .terms-note, .terms-banner, .terms-ok { word-break: keep-all; overflow-wrap: anywhere; }   /* 한국어 낱말 중간에서 줄이 안 끊기게 */
/* 2026-11-06 전화 로그인·가입 */
.auth .or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; margin: 18px 0 6px; }
.auth .or::before, .auth .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth .code-in { font-size: 28px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.dev-code { background: #fef3c7; color: #78350f; border-radius: 10px; padding: 10px 14px; font-size: 15px; }
/* 1337: 소개 영상 자막 — 크고 읽기 쉽게 (소리 없이 자동 재생돼도 내용이 보임) */
.intro-cap { position: fixed; transform: translate(-50%, -50%); z-index: 5; margin: 0; padding: 6px 14px; border-radius: 6px; background: rgba(12, 12, 14, .94); color: #fff; line-height: 1.35; text-align: center; white-space: pre-line; pointer-events: none; }

/* 2049 로그인 한 번: 관리자 입구 · 관리자 탭 */
.adm-entry { text-align: center; margin-top: 18px; font-size: 15px; }
.adm-entry a { color: #475569; text-decoration: underline; text-underline-offset: 3px; }
.adm-entry.home { margin-top: 28px; }
.adm-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }
.adm-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid #e3e6eb; background: #fff; color: #0f172a; font-size: 16px; font-weight: 500; text-decoration: none; }
.adm-tabs a.on { background: #0b4b8f; border-color: #0b4b8f; color: #fff; }
.adm-tabs .adm-badge { margin-left: auto; font-size: 14px; color: #0b4b8f; background: #e8eef5; padding: 6px 12px; border-radius: 999px; }
body.home .adm-entry.home a { color: #e2e8f0; font-size: 16px; padding: 10px 16px; border: 1px solid rgba(226,232,240,.35); border-radius: 999px; text-decoration: none; display: inline-block; }
body.home .adm-entry.home a:hover { border-color: #e2e8f0; }
/* 0609: 언어 4개 — 좁은 폰에서도 "Español" 이 잘리지 않게 (로고가 대신 줄어듦) */
@media (max-width: 430px) { .lang select { max-width: none; width: auto; padding: 6px 2px 6px 6px; } }
.adm-diag { margin: 14px 0; } .adm-diag summary { cursor: pointer; font-size: 16px; } .adm-diag p { margin: 10px 0; }

/* ───── 0638 · 0639 (2026-11-11) 첫 화면(두 문) + 내 서비스 = B안 (Gemini 안): 밝은 바탕 · 2px 선 · 네이비 한 색 · 카드마다 [열기] 단추. 다른 화면은 그대로 ───── */
body.home, body.dash { --bg: #f2f4f7; --ink: #101828; --ink-2: #475467; --line: #c2c9d6; --field: #fff; --yellow: #0b4b8f; }   /* --yellow = 이 두 화면에서는 네이비 (초점 테두리 등 남은 곳까지 한 색) */
:is(body.home, body.dash) .top { height: 60px; padding: 0 24px; gap: 12px; background: #fff; backdrop-filter: none; border-bottom: 2px solid #c2c9d6; }
.logo.txt { font-size: 20px; font-weight: 600; color: #0b4b8f; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.logo.txt span { margin-left: 12px; padding-left: 12px; border-left: 2px solid #c2c9d6; font-size: 15px; font-weight: 500; color: #475467; text-transform: none; }
:is(body.home, body.dash) .phone { padding: 7px 12px; background: #e8eef5; border: 1px solid #c2c9d6; border-radius: 6px; font-size: 15px; font-weight: 600; color: #101828; }
:is(body.home, body.dash) .phone:hover { background: #dbe5f0; }
:is(body.home, body.dash) .lang select { height: 38px; padding: 0 10px; border: 2px solid #c2c9d6; border-radius: 6px; font-size: 14px; font-weight: 600; }
:is(body.home, body.dash) .top .lo { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border: 2px solid #c2c9d6; border-radius: 6px; background: #fff; font-size: 14px; font-weight: 600; color: #101828; text-decoration: none; }
:is(body.home, body.dash) .foot { padding: 14px 16px; font-size: 13px; color: #667085; } :is(body.home, body.dash) .foot a { color: inherit; }
:is(body.home, body.dash) .flash { border-radius: 6px; background: #e7f4ea; color: #14532d; border: 1px solid #b7dcc0; }
:is(body.home, body.dash) :focus-visible { outline: 3px solid #0b4b8f; outline-offset: 2px; }

/* 첫 화면: 문 두 개 */
body.home .doors-wrap { max-width: 848px; padding: clamp(24px, 10vh, 90px) 24px 0; }
body.home .lede { margin: 0 0 12px; font-size: 15px; }
body.home .doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.home .door { min-height: 420px; padding: 28px; border-radius: 8px; background: #fff; border: 2px solid #c2c9d6; color: #101828; justify-content: flex-start; gap: 8px; transition: none; }
body.home .door:hover, body.home .door:focus-visible { transform: none; border-color: #0b4b8f; }
body.home .door-nuri { background: #e8eef5; border-color: #0b4b8f; }
body.home .d-title { font-size: 22px; font-weight: 600; letter-spacing: 0; } body.home .dot { display: none; }
body.home .d-text { margin: 0; font-size: 15px; line-height: 1.45; color: #475467; }
body.home .d-go { margin-top: auto; display: flex; justify-content: center; align-items: center; height: 48px; border: 2px solid #c2c9d6; border-radius: 6px; background: #fff; font-size: 16px; font-weight: 600; color: #475467; }
body.home .door-nuri .d-go { background: #0b4b8f; border-color: #083768; color: #fff; }
body.home .adm-entry.home { margin-top: 12px; text-align: right; }
body.home .adm-entry.home a { padding: 0; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; color: #475467; text-decoration: underline; text-underline-offset: 3px; }

/* 내 서비스 */
body.dash .dash-wrap { max-width: 1100px; padding: 18px 24px 0; }
body.dash .dash-head { margin: 0 0 14px; } body.dash .dash-head::before, body.dash .dash-head .hello::before { content: none; }
body.dash .dash-wrap .dash-head h1 { margin: 0 0 2px; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
body.dash .dash-head .hello, body.dash .dash-head .sub { display: block; margin: 0; font-size: 15px; letter-spacing: 0; max-width: none; }
body.dash .adm-tabs { margin: 0 0 14px; } body.dash .adm-tabs a { min-height: 38px; padding: 0 14px; border: 2px solid #c2c9d6; border-radius: 6px; font-size: 14px; font-weight: 600; } body.dash .adm-tabs a.on { border-color: #083768; }
body.dash .adm-tabs .adm-badge { border-radius: 6px; }
body.dash .terms-banner { margin: 0 0 14px; border-radius: 6px; border: 2px solid #c2c9d6; background: #fff; color: #101828; font-size: 15px; }
body.dash .pill-link { height: 38px; border-radius: 6px; background: #0b4b8f; border: 2px solid #083768; color: #fff; font-size: 15px; }
body.dash .empty { border: 2px solid #c2c9d6; border-radius: 8px; background: #fff; }
body.dash .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.dash .bento .feat, body.dash .bento .t2 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  body.dash .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.dash .bento .feat, body.dash .bento .w2 { grid-column: span 2; grid-row: auto; } body.dash .bento .t2 { grid-column: auto; } body.dash .bento .t2.w2 { grid-column: span 2; } body.dash .bento .w3 { grid-column: 1 / -1; }
}
body.dash .bento .card, body.dash .bento .card.feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 4px 12px; align-items: start; min-height: 130px; padding: 16px; border-radius: 8px; background: #fff; border: 2px solid #c2c9d6; box-shadow: none; color: #101828; transition: none; }
body.dash .bento .card::before, body.dash .bento .card::after { content: none; }
body.dash .bento a.card:hover, body.dash .bento a.card:focus-visible, body.dash .bento a.card:active { transform: none; background: #fff; border-color: #0b4b8f; box-shadow: none; }
body.dash .bento .card.feat, body.dash .bento a.card.feat:hover { background: #e8eef5; border-color: #0b4b8f; border-top-width: 6px; }
body.dash .bento .c-top, body.dash .bento .card.feat .c-top { grid-column: 1; grid-row: 1 / 3; margin: 0; padding: 0; } body.dash .c-cat { display: none; }
body.dash .bento .c-ico, body.dash .bento .card.feat .c-ico { width: 44px; height: 44px; padding: 0; border-radius: 8px; background: none; border: 0; box-shadow: none; }
body.dash .bento .c-ico img, body.dash .bento .card.feat .c-ico img { width: 44px; height: 44px; border-radius: 8px; }
body.dash .bento .c-name, body.dash .bento .card.feat .c-name { grid-column: 2; grid-row: 1; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
body.dash .bento .c-desc, body.dash .bento .card.feat .c-desc { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.35; color: #475467; max-width: none; }
body.dash .c-badge { grid-column: 2; grid-row: 3; justify-self: start; align-self: center; padding: 1px 8px; background: #fff; border: 1px solid #0b4b8f; border-radius: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: #0b4b8f; }
body.dash .tag { color: #0b4b8f; border-color: #0b4b8f; border-radius: 4px; }
body.dash .bento .c-go, body.dash .bento .card.feat .c-go, body.dash .bento .card:not(.feat) .c-go { grid-column: 1 / -1; grid-row: 3; justify-self: end; align-self: end; margin: 0; width: 100px; height: 38px; padding: 0; justify-content: center; gap: 6px; background: #0b4b8f; border: 2px solid #083768; border-radius: 6px; box-shadow: none; color: #fff; font-size: 15px; font-weight: 600; transition: none; }
body.dash .bento .card.feat .c-go { width: 120px; height: 42px; }
body.dash .bento a.card:hover .c-go, body.dash .bento a.card:focus-visible .c-go, body.dash .bento a.card:not(.feat):hover .c-go { transform: none; background: #083768; border-color: #083768; color: #fff; }
body.dash .bento .c-go svg { width: 16px; height: 16px; transition: none; } body.dash .bento a.card:hover .c-go svg { transform: none; }
body.dash .bento .c-go span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
body.dash .soon-row { gap: 10px; margin-top: 14px; padding: 8px 14px; border: 1px solid #c2c9d6; border-radius: 6px; background: none; }
body.dash .soon-lbl { padding: 0; background: none; font-size: 14px; font-weight: 500; color: #475467; }
body.dash .soon-item { gap: 6px; padding: 5px 10px; background: #fff; border: 1px solid #c2c9d6; border-radius: 6px; font-size: 13px; }
body.dash .soon-item img { width: 18px; height: 18px; border-radius: 4px; filter: grayscale(1); opacity: .6; } body.dash .soon-item b { font-weight: 500; color: #667085; } body.dash .soon-item small { display: none; }
@media (max-width: 640px) {
  :is(body.home, body.dash) .top { padding: 0 10px; gap: 6px; } .logo.txt { font-size: 15px; } .logo.txt span { display: none; }
  :is(body.home, body.dash) .phone { font-size: 13px; padding: 6px 8px; } :is(body.home, body.dash) .lang select { max-width: 84px; padding: 0 4px; font-size: 13px; }
  :is(body.home, body.dash) .top .lo { width: 38px; padding: 0; justify-content: center; }
  body.home .doors-wrap { padding: 16px 10px 0; } body.home .doors { grid-template-columns: 1fr; } body.home .door { min-height: 190px; padding: 20px; }
  body.dash .dash-wrap { padding: 12px 10px 0; } body.dash .bento { gap: 10px; }
  body.dash .bento .card, body.dash .bento .card.feat { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto; min-height: 0; padding: 12px; }
  body.dash .bento .card .c-top, body.dash .bento .card:not(.feat) .c-top { grid-column: 1; grid-row: 1; } body.dash .bento .card .c-ico, body.dash .bento .card .c-ico img, body.dash .bento .card:not(.feat) .c-ico, body.dash .bento .card:not(.feat) .c-ico img { width: 36px; height: 36px; border-radius: 8px; }
  body.dash .bento .card .c-name, body.dash .bento .card:not(.feat) .c-name { grid-column: 1; grid-row: 2; font-size: 17px; align-self: start; } body.dash .bento .card .c-desc, body.dash .bento .card:not(.feat) .c-desc { grid-column: 1; grid-row: 3; font-size: 13px; }
  body.dash .c-badge { grid-column: 1; grid-row: 4; } body.dash .bento .card .c-go, body.dash .bento .card:not(.feat) .c-go { grid-column: 1; grid-row: 5; width: 84px; height: 34px; margin-top: 8px; }
  body.dash .bento .card:not(.feat) .c-go span { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  body.dash .bento .card.feat .c-top { grid-column: 1; grid-row: 1; } body.dash .bento .card.feat .c-ico, body.dash .bento .card.feat .c-ico img { width: 36px; height: 36px; }
  body.dash .bento .card.feat .c-name { grid-column: 1; grid-row: 2; font-size: 17px; } body.dash .bento .card.feat .c-desc { grid-column: 1; grid-row: 3; font-size: 13px; }
  body.dash .bento .card.feat .c-go { grid-column: 1; grid-row: 5; width: 84px; height: 34px; margin-top: 8px; }
}
