/* 학생 입장 화면(entry.js). ai-judge, fact-detective, evidence-lab이 같은 파일을 쓴다. */
.entry-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #eef2f9f2; backdrop-filter: blur(6px); overflow: auto; font-family: 'Pretendard Variable', Pretendard, 'Malgun Gothic', sans-serif; word-break: keep-all; color: #292b35; }
.entry-card { width: min(440px, 100%); background: #fff; border: 1px solid #e3e8ef; border-radius: 22px; box-shadow: 0 18px 50px #1d22321f; padding: 28px 26px 24px; animation: entry-pop .22s ease-out; }
.entry-overlay.wide .entry-card { width: min(980px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
@keyframes entry-pop { from { transform: translateY(8px); opacity: 0; } }
.entry-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: #346bdd; }
.entry-card h2 { margin: 0; font-family: 'Paperlogy', 'Pretendard Variable', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.entry-help { margin: 8px 0 18px; color: #60636f; font-size: 15px; }
.entry-form { display: flex; gap: 8px; }
.entry-form input { flex: 1; min-width: 0; height: 54px; padding: 0 16px; border: 1px solid #d5dce8; border-radius: 14px; font: inherit; font-size: 19px; letter-spacing: .04em; }
.entry-form input:focus { outline: none; border-color: #346bdd; box-shadow: 0 0 0 4px #edf3ff; }
.entry-btn { height: 54px; padding: 0 20px; border: 1px solid #d5dce8; border-radius: 14px; background: #fff; color: #60636f; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; white-space: nowrap; }
.entry-btn.primary { background: #346bdd; border-color: #346bdd; color: #fff; }
.entry-btn:disabled { opacity: .55; cursor: progress; }
.entry-head .entry-btn { height: 42px; font-size: 14px; padding: 0 14px; }
.entry-err { min-height: 1.4em; margin: 10px 0 0; color: #b86461; font-weight: 650; font-size: 14px; }
.entry-link { margin-top: 6px; padding: 0; border: 0; background: none; color: #60636f; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.entry-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.entry-groups { overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 2px; }
.entry-group { background: #f5f7fa; border-radius: 16px; padding: 12px; }
.entry-group h3 { margin: 0 0 8px 4px; font-size: 13px; color: #60636f; font-weight: 750; }
.entry-group h3:empty { display: none; }
.entry-names { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.entry-name { min-height: 54px; padding: 8px 10px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; font: inherit; font-size: 18px; font-weight: 700; color: #292b35; cursor: pointer; }
.entry-name:hover { border-color: #346bdd; color: #2757b5; background: #f6f9ff; }
.entry-name:disabled { opacity: .6; cursor: progress; }
.entry-overlay.single .entry-groups { grid-template-columns: 1fr; }
.entry-overlay.single .entry-names { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
@media (max-width: 520px) {
  .entry-card { padding: 22px 16px 18px; }
  .entry-head { flex-direction: column; align-items: stretch; }
  .entry-groups { grid-template-columns: 1fr; }
}
