/* 언어(국가) 선택 창 - e8.css에서 옮김. e8.css를 쓰지 않는 인트로·기술 페이지용 (2026-11-27) */
.e8-cm{--ink:#121413;--t2:#4d524f;--t3:#5b605d;--ln:#e4e7e5;--bg2:#f5f7f6;font-family:"Pretendard Variable",Pretendard,-apple-system,system-ui,sans-serif;color:var(--ink)}
body.lock { overflow: hidden; }
.e8-cm { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.e8-cm.on { visibility: visible; opacity: 1; }
.e8-cm .bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.e8-cm .box { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 20px; background: #fff; transform: translateY(10px); transition: transform .3s; }
.e8-cm.on .box { transform: none; }
.e8-cm .hd { position: sticky; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--ln); background: #fff; z-index: 1; }
.e8-cm .hd .note { font-size: 12px; color: var(--t3); }
.e8-cm .hd h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.e8-cm .hd .x { justify-self: end; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #111; }
.e8-cm .bd { padding: 8px 24px 20px; }
.e8-cm h3 { margin: 22px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--t3); }
.e8-cm .gr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.e8-cm .gr button { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; background: none; font: inherit; font-size: 15px; color: #222; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.e8-cm .gr button:hover { background: var(--bg2); }
.e8-cm .gr button[aria-current="true"] { border-color: #111; }
.e8-cm .gr .fl { width: 28px; height: 28px; }
.e8-cm .gr b { font-weight: 700; }
.e8-cm .ft { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--ln); font-size: 12px; color: var(--t3); }
.e8-ltoast { position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 400; padding: 14px 22px; border-radius: 999px; background: #111; color: #fff; font-size: 14px; }
@media (max-width: 760px) {
.e8-cm { padding: 0; align-items: end; }
.e8-cm .box { border-radius: 20px 20px 0 0; max-height: 88vh; }
.e8-cm .hd { grid-template-columns: 1fr auto; }
.e8-cm .hd .note { display: none; }
.e8-cm .gr { grid-template-columns: 1fr 1fr; }
.e8-cm .gr button { padding: 0 10px; font-size: 14px; gap: 9px; }
.e8-cm .ft { flex-direction: column; }
}
