/* =====================================================================
   style.css — 게임 위에 뜨는 HTML 패널(로그인/핸드폰/어드민/모달) 스타일
   게임 화면 자체는 Phaser 캔버스가 그리므로, 여기선 UI 패널만 꾸민다.
   ===================================================================== */

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", -apple-system, sans-serif;
  background: #2b2b3a;
  overflow: hidden;
}

/* 게임 캔버스를 화면 가운데에 */
#game { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
#game canvas { display: block; }

.hidden { display: none !important; }

/* ---------------- HUD 버튼(오른쪽 아래) ---------------- */
#hud {
  position: fixed; right: 16px; bottom: 16px;
  display: flex; gap: 10px; z-index: 50;
}
.hud-btn {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  border: none; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25);
  font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hud-btn:hover { transform: translateY(-2px); }
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #e03131; color: #fff; border-radius: 10px;
  font-size: 12px; line-height: 20px; text-align: center; font-weight: 700;
}
/* 핸드폰 흔들림 애니메이션 */
.shake { animation: shake .5s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-4px) rotate(-8deg); }
  40%,80% { transform: translateX(4px) rotate(8deg); }
}

/* ---------------- 토스트(왼쪽 위, 여러 개 쌓임) ---------------- */
/* 새 토스트는 아래에 추가되고, 아래에서 위로 슬라이드되며 나타난다(계속 올라오는 느낌). */
#toast-stack {
  position: fixed; top: 16px; left: 16px; z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast-item {
  background: #212529; color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  animation: toast-rise .28s ease;
}
.toast-item.out { animation: toast-fade .3s ease forwards; }
@keyframes toast-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-fade { to { opacity: 0; transform: translateY(-8px); } }

/* ---------------- 전체 덮는 오버레이(로그인/비번변경) ---------------- */
.panel-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,20,30,.55);
  display: flex; align-items: center; justify-content: center;
}
.card {
  background: #fff; border-radius: 16px; padding: 26px 28px;
  width: 340px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.card h1 { margin: 0; font-size: 28px; text-align: center; }
.card h2 { margin: 0 0 14px; font-size: 20px; }
.card .sub { margin: 4px 0 20px; text-align: center; color: #868e96; font-size: 13px; }
.card label { display: block; font-size: 13px; color: #495057; margin-bottom: 12px; }
.card input, .card select {
  width: 100%; margin-top: 5px; padding: 10px; font-size: 15px;
  border: 1px solid #ced4da; border-radius: 8px;
}
.row { display: flex; gap: 10px; }
button {
  padding: 11px 16px; border: none; border-radius: 8px; font-size: 15px;
  background: #e9ecef; cursor: pointer;
}
button:hover { background: #dee2e6; }
button.primary { background: #e8590c; color: #fff; font-weight: 700; }
button.primary:hover { background: #d9480f; }
.msg { color: #e03131; font-size: 13px; min-height: 18px; margin: 8px 0 0; }
.notice { background: #fff4e6; border-radius: 8px; padding: 10px; font-size: 13px; color: #d9480f; }

/* ---------------- 옆에서 나오는 패널(핸드폰/어드민) ---------------- */
.side-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 340px; max-width: 90vw;
  background: #fff; z-index: 90; box-shadow: -4px 0 20px rgba(0,0,0,.2);
  display: flex; flex-direction: column;
}
.side-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #e9ecef; font-size: 17px;
}
.side-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.x { background: none; font-size: 14px; }

/* 어드민 섹션 */
.adm-sec { border: 1px solid #e9ecef; border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.adm-sec h3 { margin: 0 0 10px; font-size: 15px; color: #e8590c; }
.adm-sec label { display: block; font-size: 13px; color: #495057; margin-bottom: 8px; }
.adm-sec input, .adm-sec select, .adm-sec textarea {
  width: 100%; margin-top: 4px; padding: 8px; border: 1px solid #ced4da; border-radius: 6px; font-size: 14px;
}

/* 핸드폰 수신함 아이템 */
.phone-empty { color: #adb5bd; text-align: center; margin-top: 30px; }
.phone-item { border: 1px solid #e9ecef; border-left: 4px solid #e8590c; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.phone-item.read { border-left-color: #ced4da; opacity: .75; }
.phone-item-head { font-size: 14px; margin-bottom: 6px; }
.phone-type { font-size: 11px; padding: 1px 7px; border-radius: 10px; color: #fff; }
.phone-type.sms { background: #4dabf7; }
.phone-type.poll { background: #f783ac; }
.phone-type.survey { background: #9775fa; }
.phone-item-body p { margin: 6px 0; font-size: 14px; }
.phone-opt { display: block; font-size: 14px; margin: 4px 0; }
.phone-answer { width: 100%; padding: 7px; border: 1px solid #ced4da; border-radius: 6px; margin: 4px 0; }
.phone-btn { margin-top: 8px; background: #e8590c; color: #fff; font-size: 13px; padding: 7px 14px; }
.phone-done { color: #2f9e44; font-weight: 700; }

/* =====================================================================
   로그인 화면 — 게임과 어울리는 레트로 픽셀아트 룩
   (모두 #login-panel / lg-* 로 스코프해서 다른 패널·HUD 와 충돌 안 나게)
   - 부드러운 곡선/블러 대신, 정수 픽셀 단위의 하드 box-shadow 로
     계단식 픽셀 테두리(bevel)를 그린다.
   - 색은 게임 팔레트(하늘/풀/나무판) 를 픽셀 블록으로 표현.
   ===================================================================== */
#login-panel {
  /* 하드 스톱 그라데이션으로 만든 픽셀 하늘→풀밭 (블러 없음) */
  background:
    linear-gradient(
      #5fcde4 0%,   #5fcde4 58%,   /* 하늘 */
      #8fd94f 58%,   #8fd94f 74%,   /* 밝은 풀 */
      #6abe30 74%,   #6abe30 100%   /* 진한 풀 */
    );
  overflow: hidden;
  padding: 16px;
  image-rendering: pixelated;
  /* 픽셀 힌트를 주는 굵은 폰트 스택. 픽셀 폰트가 없으면 한글은
     Apple SD Gothic Neo / Malgun Gothic 으로 또렷하게 폴백된다. */
  font-family: "DungGeunMo", "Galmuri11", "Galmuri",
               "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", monospace;
}

/* ---- 배경 장식(블록 구름 + 계단식 풀밭) ---- */
#login-panel .lg-scenery { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* 하드 엣지 사각 구름: 본체 + ::before/::after 블록으로 계단 모양을 만든다 */
#login-panel .lg-cloud {
  position: absolute; display: block;
  background: #ffffff; border-radius: 0;
  image-rendering: pixelated;
  box-shadow: 0 6px 0 #d6eef5;   /* 아래쪽 그림자도 하드 픽셀 */
}
#login-panel .lg-cloud::before,
#login-panel .lg-cloud::after {
  content: ""; position: absolute; background: #ffffff; border-radius: 0;
}
/* 위로 튀어나온 블록 / 옆으로 넓힌 블록 → 픽셀 구름 실루엣 */
#login-panel .lg-cloud::before { width: 40%; height: 12px; top: -12px; left: 18%; }
#login-panel .lg-cloud::after  { width: 66%; height: 12px; top: -12px; left: 6%;  box-shadow: 0 -12px 0 -2px #fff; }
#login-panel .lg-cloud-1 { width: 96px;  height: 24px; top: 12%; left: -140px; animation: lg-drift 46s linear infinite; }
#login-panel .lg-cloud-2 { width: 72px;  height: 18px; top: 26%; left: -140px; animation: lg-drift 62s linear infinite 8s; }
#login-panel .lg-cloud-3 { width: 120px; height: 30px; top: 6%;  left: -200px; animation: lg-drift 78s linear infinite 20s; }
/* 정수 픽셀 단위로만 이동(계단 느낌 유지). */
@keyframes lg-drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 220px)); } }

/* 계단식 픽셀 언덕: 둥근 곡선 대신 사각 블록을 층층이 쌓는다 */
#login-panel .lg-hill {
  position: absolute; left: 0; right: 0; border-radius: 0;
  image-rendering: pixelated;
}
#login-panel .lg-hill-back {
  bottom: 30%; left: -6%; width: 44%; height: 60px; background: #7fce3e;
  /* 계단 블록: 위로 갈수록 좁아지는 하드 그림자 층 */
  box-shadow:
    64px -12px 0 -0px #7fce3e,
    128px -24px 0 -0px #7fce3e;
}
#login-panel .lg-hill-front {
  bottom: 26%; height: 12px; background: #4b7f2b;   /* 풀밭 경계 픽셀 라인 */
  box-shadow: 0 6px 0 #3c6a22;
}

/* ---- 나무 게임 보드(픽셀 베벨 테두리) ---- */
#login-panel .lg-board {
  position: relative; z-index: 1;
  width: 380px; max-width: 100%;
  max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 22px 24px 26px;
  /* 픽셀 나무 널판 텍스처: 가로 널 이음새(16px) + 세로 픽셀 결(하드 스톱) */
  background:
    repeating-linear-gradient(90deg, rgba(74,52,24,.05) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(0deg, #ecd6a2 0 15px, #e2c88d 15px 16px),
    #ecd6a2;
  border: 0; border-radius: 0;
  image-rendering: pixelated;
  /* 계단식 픽셀 테두리: 검은 외곽선 + 밝은(위/왼쪽)·어두운(아래/오른쪽) 베벨 */
  box-shadow:
    0 0 0 4px #2b2340,                          /* 바깥 검은 픽셀 외곽선 */
    inset 4px 4px 0 0 #fff6e0,                   /* 밝은 안쪽 베벨(위/왼) */
    inset -4px -4px 0 0 #c69a5e,                 /* 어두운 안쪽 베벨(아래/오른) */
    inset 0 0 0 4px #a9713f,                     /* 나무 프레임 라인 */
    8px 8px 0 0 rgba(43,35,64,.35);              /* 하드 드롭섀도(블러 없음) */
}

#login-panel .lg-title-wrap { text-align: center; margin-bottom: 16px; }
#login-panel .lg-title {
  margin: 0; font-size: 30px; font-weight: 900; letter-spacing: 1px;
  color: #e8590c;
  /* 픽셀 아웃라인 느낌: 하드 텍스트 그림자를 정수 픽셀로 겹친다 */
  text-shadow:
    2px 0 0 #2b2340, -2px 0 0 #2b2340,
    0 2px 0 #2b2340, 0 -2px 0 #2b2340,
    3px 3px 0 #ffd8a8;
}
#login-panel .lg-sub { margin: 8px 0 0; font-size: 12px; color: #6b4f2a; font-weight: 700; letter-spacing: .5px; }

#login-panel .lg-pick-label {
  margin: 0 0 12px; text-align: center; font-size: 12px; font-weight: 900;
  color: #a9713f; letter-spacing: .5px;
}

/* ---- 캐릭터 카드 그리드(픽셀 패널 버튼) ---- */
#login-panel .lg-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  /* 스크롤 없이 전부 표시(마지막 카드 하단 테두리 짤림 방지). 넘치면 보드 전체가 스크롤됨. */
  padding: 4px 4px 6px;
}
#login-panel .lg-card {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 9px 10px; width: 100%;
  background: #fbf3df; border: 0; border-radius: 0;
  cursor: pointer; color: #4a3418;
  image-rendering: pixelated;
  /* 픽셀 베벨: 검은 외곽 + 밝은/어두운 안쪽 베벨 */
  box-shadow:
    0 0 0 3px #2b2340,
    inset 3px 3px 0 0 #ffffff,
    inset -3px -3px 0 0 #d8b98a;
  transition: none;
}
#login-panel .lg-card:hover { background: #fff7e6; }
/* 선택 = 눌린(inset) 픽셀 룩 + 주황 액센트 외곽선 */
#login-panel .lg-card.selected {
  background: #ffe9c2;
  transform: translate(2px, 2px);
  box-shadow:
    0 0 0 3px #e8590c,                    /* 액센트 테두리 */
    inset 3px 3px 0 0 #d8b98a,            /* 베벨 뒤집힘 = 눌린 느낌 */
    inset -3px -3px 0 0 #fff3dd;
}
#login-panel .lg-card-dot {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 15px;
  image-rendering: pixelated;
  /* 도트도 픽셀 블록: 검은 외곽 + 안쪽 하이라이트/섀도 */
  box-shadow:
    0 0 0 2px #2b2340,
    inset 2px 2px 0 0 rgba(255,255,255,.45),
    inset -2px -2px 0 0 rgba(0,0,0,.28);
}
#login-panel .lg-card-meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
#login-panel .lg-card-name {
  font-size: 14px; font-weight: 900; color: #4a3418;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#login-panel .lg-card-role { font-size: 10px; font-weight: 800; color: #97795a; letter-spacing: .5px; }

/* 선생님/게스트 강조 */
#login-panel .lg-card-admin { background: #fff3d6; }
#login-panel .lg-card-admin .lg-card-role { color: #d9840a; }
#login-panel .lg-card-guest { background: #eeeae2; }
#login-panel .lg-card-guest .lg-card-role { color: #868e96; }

/* ---- 비밀번호 입력(픽셀 인셋 필드) ---- */
#login-panel .lg-pw-row { margin-top: 16px; }
#login-panel .lg-field {
  display: block; font-size: 12px; font-weight: 900; color: #6b4f2a; margin: 16px 0 0; letter-spacing: .5px;
}
#login-panel .lg-field input {
  width: 100%; margin-top: 8px; padding: 11px 12px; font-size: 16px;
  border: 0; border-radius: 0; background: #fffdf5; color: #3a2a12;
  outline: none;
  font-family: inherit;
  image-rendering: pixelated;
  /* 눌린(inset) 픽셀 입력칸 */
  box-shadow:
    0 0 0 3px #2b2340,
    inset 3px 3px 0 0 #d8b98a,
    inset -3px -3px 0 0 #ffffff;
}
#login-panel .lg-field input:focus {
  box-shadow:
    0 0 0 3px #e8590c,
    inset 3px 3px 0 0 #d8b98a,
    inset -3px -3px 0 0 #ffffff;
}

/* ---- 큼직한 픽셀 게임 버튼 ---- */
#login-panel .lg-btn {
  display: block; width: 100%; margin-top: 20px;
  padding: 14px 16px; font-size: 17px; font-weight: 900; letter-spacing: 1px;
  color: #fff; cursor: pointer;
  background: #59c14a;               /* 평평한 채움(그라데이션 없음) */
  border: 0; border-radius: 0;
  font-family: inherit;
  image-rendering: pixelated;
  text-shadow: 2px 2px 0 #2f6b25;
  /* 밝은(위/왼) · 어두운(아래/오른) 베벨 + 검은 외곽선 */
  box-shadow:
    0 0 0 3px #2b2340,
    inset 3px 3px 0 0 #8ee07a,
    inset -3px -3px 0 0 #37610f;
  transition: none;
}
#login-panel .lg-btn:hover { background: #63cc52; }
/* 눌리면 2px 내려가고 베벨을 뒤집어 실제로 눌린 느낌 */
#login-panel .lg-btn:active {
  transform: translate(2px, 2px);
  background: #4fae40;
  box-shadow:
    0 0 0 3px #2b2340,
    inset 3px 3px 0 0 #37610f,
    inset -3px -3px 0 0 #8ee07a;
}

#login-panel .lg-msg { text-align: center; font-weight: 900; color: #e03131; }
#login-panel .lg-notice {
  background: #fff4e0; border: 0; border-radius: 0;
  padding: 12px; font-size: 12px; font-weight: 800; color: #b5540b; margin: 0 0 4px;
  line-height: 1.5;
  box-shadow:
    0 0 0 3px #2b2340,
    inset 3px 3px 0 0 #ffffff,
    inset -3px -3px 0 0 #ffca8a;
}

/* 움직임 최소화 선호 시 구름 애니메이션 끔 */
@media (prefers-reduced-motion: reduce) {
  #login-panel .lg-cloud { animation: none; }
}

/* 좁은 화면에서는 카드 한 줄 */
@media (max-width: 420px) {
  #login-panel .lg-cards { grid-template-columns: 1fr; }
}

/* ---------------- 강의자료 전체화면 모달 ---------------- */
.modal {
  position: fixed; inset: 0; z-index: 150; background: #1a1a25;
  display: flex; flex-direction: column;
}
.modal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #12121a; color: #fff;
}
.modal-bar .x { color: #fff; }
#ppt-frame { flex: 1; width: 100%; border: none; background: #fff; }

/* =====================================================================
   픽셀 게임 창 — 내 설정 팝업(#me-panel) + 받은 쪽지함(#phone-panel)
   로그인 화면과 같은 디자인 언어: 검은 외곽선 + 하드 베벨(블러 없음) + 픽셀 폰트.
   ===================================================================== */
.pix-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(18,18,30,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  font-family: "DungGeunMo", "Galmuri11", "Galmuri",
               "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", monospace;
  image-rendering: pixelated;
}
.pix-window {
  position: relative;
  width: 400px; max-width: 100%;
  max-height: calc(100vh - 32px);
  display: flex; flex-direction: column;
  /* 나무 널판 텍스처(로그인 보드와 동일 톤) */
  background:
    repeating-linear-gradient(90deg, rgba(74,52,24,.05) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(0deg, #ecd6a2 0 15px, #e2c88d 15px 16px),
    #ecd6a2;
  border: 0; border-radius: 0;
  /* 계단식 픽셀 테두리 */
  box-shadow:
    0 0 0 4px #2b2340,
    inset 4px 4px 0 0 #fff6e0,
    inset -4px -4px 0 0 #c69a5e,
    inset 0 0 0 4px #a9713f,
    8px 8px 0 0 rgba(43,35,64,.35);
}

/* ---- 타이틀 바(어두운 픽셀 헤더) ---- */
.pix-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; margin: 4px;
  background: #2b2340;
  box-shadow: inset 2px 2px 0 0 #4a4070, inset -2px -2px 0 0 #17122b;
}
.pix-title { color: #ffe066; font-weight: 900; font-size: 16px; letter-spacing: .5px;
  text-shadow: 2px 2px 0 rgba(0,0,0,.4); }
.pix-x {
  background: #e8590c; color: #fff; font-weight: 900; font-size: 13px;
  padding: 4px 9px; border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #ffb17a, inset -2px -2px 0 0 #a63c05;
}
.pix-x:active { transform: translate(1px,1px); }

/* ---- 탭 ---- */
.pix-tabs { display: flex; gap: 6px; padding: 8px 10px 0; }
.pix-tab {
  flex: 1; padding: 9px 4px; font-family: inherit; font-size: 12px; font-weight: 900;
  color: #6b4f2a; background: #fbf3df; cursor: pointer; border: 0; border-radius: 0;
  box-shadow: 0 0 0 3px #2b2340, inset 2px 2px 0 0 #ffffff, inset -2px -2px 0 0 #d8b98a;
}
.pix-tab:hover { background: #fff7e6; }
.pix-tab.selected {
  color: #fff; background: #e8590c; transform: translate(0,1px);
  box-shadow: 0 0 0 3px #2b2340, inset 2px 2px 0 0 #ffb17a, inset -2px -2px 0 0 #a63c05;
}

/* ---- 서브탭(설문/미션 안의 만들기/현황) : 상위 탭보다 작게 ---- */
.pix-subtabs { display: flex; gap: 6px; margin: 0 0 12px; }
.pix-subtab {
  flex: 1; padding: 6px 4px; font-family: inherit; font-size: 12px; font-weight: 900;
  color: #6b4f2a; background: #fffdf5; cursor: pointer; border: 0; border-radius: 0;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #ffffff, inset -2px -2px 0 0 #d8b98a;
}
.pix-subtab:hover { background: #fff7e6; }
.pix-subtab.selected {
  color: #fff; background: #1c7ed6;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #74c0fc, inset -2px -2px 0 0 #1862ab;
}

/* ---- 본문 ---- */
.pix-body { flex: 1; overflow-y: auto; padding: 14px 16px 16px; }
.pix-pane { display: block; }

/* 라벨 + 입력 */
.pix-field {
  display: block; font-size: 12px; font-weight: 900; color: #6b4f2a;
  letter-spacing: .5px; margin: 0 0 14px;
}
.pix-input {
  display: block; width: 100%; margin-top: 7px; padding: 10px 11px;
  font-family: inherit; font-size: 15px; color: #3a2a12;
  background: #fffdf5; border: 0; border-radius: 0; outline: none;
  image-rendering: pixelated;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #d8b98a, inset -3px -3px 0 0 #ffffff;
}
textarea.pix-input { resize: vertical; }
/* select 는 입력창보다 작고 덜 튀게(전반적으로 크다는 피드백 반영) */
select.pix-input { padding: 6px 8px; font-size: 12px; margin-top: 5px; }
.pix-input:focus {
  box-shadow: 0 0 0 3px #e8590c, inset 3px 3px 0 0 #d8b98a, inset -3px -3px 0 0 #ffffff;
}

/* 픽셀 버튼 */
.pix-btn {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font-family: inherit; font-size: 15px; font-weight: 900; letter-spacing: .5px;
  color: #4a3418; background: #f0d9a8; cursor: pointer; border: 0; border-radius: 0;
  image-rendering: pixelated;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #fff4d8, inset -3px -3px 0 0 #c99f5f;
}
.pix-btn:hover { background: #f6e2b8; }
.pix-btn.primary {
  color: #fff; background: #59c14a; text-shadow: 2px 2px 0 #2f6b25;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #8ee07a, inset -3px -3px 0 0 #37610f;
}
.pix-btn.primary:hover { background: #63cc52; }
.pix-btn:active {
  transform: translate(2px,2px);
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #37610f, inset -3px -3px 0 0 #8ee07a;
}

/* 안내 한 줄 */
.pix-line { min-height: 18px; margin: 10px 0 0; font-size: 13px; font-weight: 900; text-align: center; }
.pix-line.ok { color: #2f9e44; }
.pix-line.err { color: #e03131; }

/* 내 정보: 아바타 미리보기 */
.pix-avatar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pix-avatar-dot {
  width: 46px; height: 46px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: #8ee07a;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 rgba(255,255,255,.5), inset -3px -3px 0 0 rgba(0,0,0,.25);
}
.pix-avatar-meta { display: flex; flex-direction: column; gap: 3px; }
.pix-role { font-size: 13px; font-weight: 900; color: #e8590c; }
.pix-hint { font-size: 11px; font-weight: 700; color: #97795a; line-height: 1.4; }
/* 설정 내 정보: 닉네임/비밀번호 구분선 */
.svd-divider { height: 3px; margin: 18px 0 14px; background: #c69a5e; box-shadow: 0 2px 0 #fff6e0, 0 -1px 0 #a9713f; }

/* ---- 설문 만들기: 질문 블록(기본 1개 + "+ 질문 추가") ---- */
.svq-block {
  background: #fbf3df; padding: 10px 11px; margin-bottom: 12px;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #d8b98a;
}
.svq-head { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
/* 번호는 왼쪽 끝, 셀렉트+× 는 오른쪽으로(셀렉트를 × 버튼 바로 왼쪽에 붙인다) */
.svq-num { font-size: 12px; font-weight: 900; color: #e8590c; letter-spacing: .5px; margin-right: auto; }
.svq-del {
  width: 22px; height: 22px; padding: 0; line-height: 20px; text-align: center;
  font-family: inherit; font-size: 13px; font-weight: 900; color: #fff;
  background: #e03131; cursor: pointer; border: 0; border-radius: 0;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #ff8787, inset -2px -2px 0 0 #9c1a1a;
}
.svq-del:hover:not(:disabled) { background: #ec4646; }
.svq-del:active:not(:disabled) { transform: translate(1px,1px); }
.svq-del:disabled { background: #c9beac; cursor: default; box-shadow: 0 0 0 2px #2b2340; opacity: .6; }
.svq-block .pix-field:last-child { margin-bottom: 4px; }

/* "+ 질문 추가" 버튼(보조 버튼 톤) */
#me-survey-add {
  color: #2f6b25; background: #eaf7e2; margin-bottom: 14px;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #b7d9a3;
}
#me-survey-add:hover { background: #f2fbeb; }

/* ---- 설문 현황(목록 → 상세, depth 한 단계) ---- */
.poll-card {
  background: #fbf3df; padding: 11px 12px; margin-bottom: 12px;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #d8b98a;
}
/* 목록 카드: 클릭해서 상세로 들어갈 수 있음을 알려주는 커서/호버 */
.sv-card { cursor: pointer; }
.sv-card:hover { box-shadow: 0 0 0 3px #e8590c, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #d8b98a; }
.sv-card:active { transform: translate(1px,1px); }

/* 상세: "← 목록" 버튼 */
.sv-back {
  width: auto; display: inline-block; margin: 0 0 12px; padding: 7px 14px;
  font-size: 13px; color: #4a3418;
}

/* 상세: 질문 그룹 구분 */
.svd-q { margin: 14px 0 4px; padding-top: 12px; border-top: 2px dashed #d8b98a; }
.svd-q:first-of-type { border-top: 0; padding-top: 0; }
.svd-q-title { font-size: 13px; font-weight: 900; color: #4a3418; margin-bottom: 6px; }
.poll-q { font-size: 14px; font-weight: 900; color: #4a3418; margin-bottom: 5px; }
.poll-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 5px; }
.poll-tag {
  font-size: 10px; font-weight: 900; color: #fff; padding: 1px 7px;
  box-shadow: 0 0 0 2px #2b2340;
}
.poll-tag.mine { background: #e8590c; }
.poll-tag.pub { background: #1c9c6b; }
.poll-tag.tgt { background: #1c6fa8; }
/* 설문 빌더의 유형 선택(객관식/주관식) — 헤더 안에서 좁게 */
.svq-head .svq-type {
  width: auto; margin: 0; padding: 4px 7px; font-size: 11px;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #d8b98a, inset -2px -2px 0 0 #fff;
}
/* 설문 상세 — 주관식 응답 목록 */
.svd-text {
  font-size: 13px; color: #3a2a12; background: #fffdf5; padding: 5px 9px; margin: 4px 0;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #d8b98a, inset -2px -2px 0 0 #fff;
}
.svd-text.mine { box-shadow: 0 0 0 2px #e8590c, inset 2px 2px 0 0 #ffd8a8, inset -2px -2px 0 0 #fff; }
.svd-empty { font-size: 12px; color: #97795a; font-weight: 700; margin: 4px 0; }
/* 설문 상세 — 개별 응답(누가 무엇을 답했나) */
.svd-resp-head { margin: 14px 0 6px; font-size: 13px; font-weight: 900; color: #6b4f2a; }
.svd-resp {
  background: #fbf3df; padding: 8px 10px; margin: 6px 0;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #fff, inset -2px -2px 0 0 #d8b98a;
}
.svd-resp-name { font-size: 12px; font-weight: 900; color: #1c6fa8; margin-bottom: 3px; }
.svd-resp-line { font-size: 12px; color: #3a2a12; margin: 1px 0 1px 6px; }
/* 응답 보기 선택(통계/응답자) */
.svd-viewsel { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; }
.svd-viewsel-label { font-size: 12px; font-weight: 900; color: #6b4f2a; white-space: nowrap; }
.svd-viewsel select.pix-input {
  margin-top: 0; width: auto; flex: 1;
  font-size: 11px; padding: 4px 7px;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #d8b98a, inset -2px -2px 0 0 #fff;
}
.svd-viewsel .svd-pub-save {
  flex: 0 0 auto; width: auto; margin-top: 0; padding: 5px 12px; font-size: 12px;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #fff4d8, inset -2px -2px 0 0 #c99f5f;
}
/* 개별 응답의 답(질문 박스 안, "ㄴ 답") */
.svd-answer { font-size: 13px; font-weight: 800; color: #2f7d1f; margin: 4px 0 0 4px; }

/* ---- 미션 현황(진행률 막대 + 완료/미완료 이름 칩) ---- */
.mis-prog { height: 12px; margin: 6px 0 4px; background: #ece0c2; overflow: hidden;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #d8b98a; }
.mis-prog.big { height: 18px; margin: 10px 0; }
.mis-prog-fill { height: 100%; background: #8ee07a; box-shadow: inset -2px 0 0 0 #5fae4c; transition: width .25s steps(6); }
.mis-urgent-soon { color: #b5540b; }
.mis-urgent-today { color: #e8590c; }
.mis-urgent-over { color: #e03131; }
.mis-names { margin: 12px 0 4px; }
.mis-names-head { font-size: 13px; font-weight: 900; color: #6b4f2a; margin-bottom: 6px; }
.mis-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mis-chip { font-size: 12px; font-weight: 800; padding: 3px 9px; box-shadow: 0 0 0 2px #2b2340; }
.mis-chip.done { background: #d3f9d8; color: #2b8a3e; }
.mis-chip.pend { background: #ffe3e3; color: #c92a2a; }
/* 학생용 미션 결과: 내 완료 여부 배지 */
.stu-mis-status { margin-top: 8px; font-size: 13px; font-weight: 900; padding: 6px 10px; box-shadow: 0 0 0 2px #2b2340; }
.stu-mis-status.done { background: #d3f9d8; color: #2b8a3e; }
.stu-mis-status.pend { background: #fff3bf; color: #b5540b; }
.poll-meta { font-size: 11px; font-weight: 800; color: #97795a; margin-bottom: 9px; }
/* 내가 고른 보기 강조(투표 현황) */
.poll-row.mine { box-shadow: 0 0 0 2px #e8590c, inset 2px 2px 0 0 #ffd8a8, inset -2px -2px 0 0 #fffdf5; }
.poll-row.mine .poll-label { color: #a63c05; }
.poll-row {
  position: relative; height: 24px; margin: 6px 0; overflow: hidden;
  background: #ece0c2; display: flex; align-items: center;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #d8b98a, inset -2px -2px 0 0 #fffdf5;
}
.poll-bar {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: #8ee07a; box-shadow: inset -2px 0 0 0 #5fae4c;
  transition: width .25s steps(6);
}
.poll-bar.lead { background: #ffbf69; box-shadow: inset -2px 0 0 0 #e8890c; }
.poll-label {
  position: relative; z-index: 1; padding-left: 8px; font-size: 12px; font-weight: 900;
  color: #3a2a12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.poll-val {
  position: relative; z-index: 1; margin-left: auto; padding: 0 8px;
  font-size: 11px; font-weight: 900; color: #4a3418; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .poll-bar { transition: none; } }

/* ---- 쪽지함 아이템(픽셀 카드) : #phone-list 안에서만 ---- */
#phone-list .phone-empty { color: #97795a; text-align: center; margin-top: 30px; font-weight: 800; }
#phone-list .phone-item {
  background: #fbf3df; border: 0; border-radius: 0; padding: 11px 12px; margin-bottom: 12px;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #d8b98a;
}
#phone-list .phone-item.read { opacity: .72; }
#phone-list .phone-item-head { font-size: 13px; margin-bottom: 7px; color: #4a3418; }
#phone-list .phone-from { font-size: 11px; font-weight: 900; color: #1c6fa8; }
#phone-list .phone-type { font-size: 10px; font-weight: 900; padding: 1px 7px; color: #fff; box-shadow: 0 0 0 2px #2b2340; }
#phone-list .phone-type.sms { background: #4dabf7; }
#phone-list .phone-type.poll { background: #f06595; }
#phone-list .phone-type.survey { background: #845ef7; }
#phone-list .phone-type.mission { background: #e8590c; }
/* 미션 우편함: 기한/임박 배지 */
#phone-list .mission-meta { font-size: 12px; font-weight: 800; color: #6b4f2a; margin: 4px 0 8px; }
#phone-list .mission-urg { padding: 1px 7px; color: #fff; font-size: 11px; box-shadow: 0 0 0 2px #2b2340; }
#phone-list .mission-urg.soon { background: #f59f00; }
#phone-list .mission-urg.today { background: #e8590c; }
#phone-list .mission-urg.overdue { background: #e03131; }
#phone-list .phone-item-body p { margin: 6px 0; font-size: 14px; color: #3a2a12; }
/* 받은 설문의 질문은 굵게(strong) */
#phone-list .phone-q { font-weight: 800; color: #2b2340; margin: 9px 0 3px; }
/* 응답 결과: 질문 굵게 + 개행 후 "ㄴ 답" */
#phone-list .phone-ans { margin: 7px 0; font-size: 13px; color: #3a2a12; line-height: 1.5; }
#phone-list .phone-ans b { color: #2f7d1f; }
#phone-list .phone-opt { display: block; font-size: 14px; margin: 5px 0; color: #3a2a12; }
#phone-list .phone-answer {
  width: 100%; padding: 8px; margin: 5px 0; font-family: inherit; font-size: 14px;
  background: #fffdf5; border: 0; border-radius: 0;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #d8b98a, inset -2px -2px 0 0 #ffffff;
}
#phone-list .phone-btnrow { display: flex; gap: 8px; margin-top: 8px; }
#phone-list .phone-reply { margin-top: 8px; }
#phone-list .phone-btn {
  margin-top: 0; font-family: inherit; font-weight: 900; color: #fff; background: #e8590c;
  font-size: 13px; padding: 7px 14px; border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #ffb17a, inset -2px -2px 0 0 #a63c05;
}
#phone-list .phone-btn:active { transform: translate(1px,1px); }
#phone-list .phone-done { color: #2f9e44; font-weight: 900; font-size: 13px; }
/* 내가 이미 낸 답 표시(우편함) */
#phone-list .phone-myanswer {
  margin-top: 8px; padding: 8px 10px; font-size: 13px; color: #3a2a12;
  background: #eaf7e2; box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 #fff, inset -2px -2px 0 0 #b7d9a3;
}
#phone-list .phone-myanswer b { color: #2f7d1f; }
#phone-list .phone-myanswer > div { margin: 2px 0; }

/* ---- 교실 책장(안내 문서) 목록 ---- */
#guide-list { display: flex; flex-direction: column; gap: 10px; }
.guide-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 12px 14px; font-family: inherit; font-size: 15px; font-weight: 800; color: #4a3418;
  background: #fbf3df; border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #d8b98a;
}
.guide-item:hover { background: #fff7e6; }
.guide-item:active { transform: translate(2px, 2px); }
.guide-item-ic { flex: 0 0 auto; font-size: 18px; }
.guide-item-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- 작품 갤러리(#gallery-modal) ---- */
.gal-window { width: 460px; }

/* 학생 네비게이션 행: ◀ 닉네임(색점) ▶ */
.gal-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px 0;
}
.gal-nav-btn { width: auto; flex: 0 0 auto; margin-top: 0; padding: 9px 12px; }
.gal-student {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fbf3df; padding: 9px 4px;
  box-shadow: 0 0 0 3px #2b2340, inset 2px 2px 0 0 #ffffff, inset -2px -2px 0 0 #d8b98a;
}
.gal-dot {
  width: 16px; height: 16px; flex: 0 0 auto; background: #8ee07a;
  box-shadow: 0 0 0 2px #2b2340, inset 2px 2px 0 0 rgba(255,255,255,.5), inset -2px -2px 0 0 rgba(0,0,0,.25);
}
.gal-name { font-size: 13px; font-weight: 900; color: #4a3418; letter-spacing: .3px; }

/* 2x2 작품 카드 그리드 */
.gal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 4px;
}
.gal-card {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; height: 128px; padding: 10px 8px;
  font-family: inherit; color: #4a3418; background: #fbf3df center/cover no-repeat;
  border: 0; border-radius: 0; cursor: pointer;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #ffffff, inset -3px -3px 0 0 #d8b98a;
}
.gal-card.filled:hover { background-color: #fff7e6; transform: translate(-1px,-1px); }
.gal-card.filled:active { transform: translate(1px,1px); }
.gal-card.empty {
  cursor: default; opacity: .55;
  background-color: #ded2b4;
  box-shadow: 0 0 0 3px #2b2340, inset 3px 3px 0 0 #efe6cc, inset -3px -3px 0 0 #b7a377;
}
.gal-card-icon { font-size: 26px; text-shadow: 2px 2px 0 rgba(255,255,255,.5); }
.gal-card-label { font-size: 13px; font-weight: 900; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.gal-card-sub { font-size: 10px; font-weight: 800; color: #97795a; }
.gal-card-status {
  margin-top: 2px; font-size: 10px; font-weight: 900; padding: 1px 7px; color: #fff;
  box-shadow: 0 0 0 2px #2b2340; background: #97795a;
}
.gal-card.filled .gal-card-status { background: #1c9c6b; }
.gal-card.filled[style*="background-image"] .gal-card-icon,
.gal-card.filled[style*="background-image"] .gal-card-label,
.gal-card.filled[style*="background-image"] .gal-card-sub,
.gal-card.filled[style*="background-image"] .gal-card-status {
  background: rgba(43,35,64,.55); padding: 2px 6px; text-shadow: none;
}

@media (max-width: 440px) {
  .pix-window { width: 100%; }
  .gal-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gal-card { height: 104px; }
}

/* =====================================================================
   인트로 화면 — 로그인보다 먼저 뜨는 환영 애니메이션(픽셀 룩)
   ===================================================================== */
/* 옛날 게임 픽셀 폰트(영문). 자체 호스팅(오프라인 LAN 대응). SIL OFL. */
@font-face {
  font-family: "Press Start 2P";
  src: url("/fonts/PressStart2P.ttf") format("truetype");
  font-display: swap;
}
#intro-screen {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  /* 픽셀 밤하늘(디더 줄무늬). 산·나무·땅은 캔버스가 그린다. */
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 2px, transparent 2px 4px),
    linear-gradient(#0e1430 0%, #182350 62%, #243466 100%);
  image-rendering: pixelated;
  overflow: hidden;
  cursor: pointer;
  font-family: "DungGeunMo", "Galmuri11", "Galmuri", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", monospace;
}
/* 캔버스 픽셀 풍경(맨 뒤) */
#intro-screen #intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; image-rendering: pixelated; }
/* 굵은 픽셀 화면 테두리(레트로 게임기 느낌) — 자식 위에 얹기 위해 ::after */
#intro-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  box-shadow: inset 0 0 0 6px #0b0f22, inset 0 0 0 12px #46407a;
}
/* CRT 스캔라인 */
#intro-screen .intro-scanlines {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 2px, transparent 2px 4px);
  opacity: .5;
}
/* 픽셀 달(계단 모서리 8각형 + 크레이터 블록) */
#intro-screen .intro-moon {
  position: absolute; top: 46px; right: 64px; width: 46px; height: 46px; z-index: 1;
  background: #f6f2c9; image-rendering: pixelated;
  clip-path: polygon(33% 0, 67% 0, 100% 33%, 100% 67%, 67% 100%, 33% 100%, 0 67%, 0 33%);
  box-shadow: inset -8px -8px 0 rgba(60,50,20,.12);
}
#intro-screen .intro-moon::before, #intro-screen .intro-moon::after { content: ""; position: absolute; background: #e4dda0; }
#intro-screen .intro-moon::before { width: 8px; height: 8px; top: 12px; left: 12px; }
#intro-screen .intro-moon::after  { width: 6px; height: 6px; top: 26px; left: 27px; }
/* 반짝이는 픽셀 별들(박스섀도 점 여러 개) */
#intro-screen .intro-stars {
  position: absolute; top: 40px; left: 50%; width: 3px; height: 3px; background: transparent; z-index: 1;
  box-shadow:
    -220px 20px #fff, -140px 60px #cfe3ff, -60px 10px #fff, 40px 50px #fff,
    120px 24px #cfe3ff, 200px 70px #fff, -300px 90px #fff, 260px 8px #fff,
    -100px 120px #cfe3ff, 80px 110px #fff, -200px 150px #fff, 180px 140px #cfe3ff;
  animation: intro-twinkle 2.4s steps(2) infinite;
}
#intro-screen .intro-inner { position: relative; z-index: 2; text-align: center; padding: 20px; }
#intro-screen .intro-emojis { font-size: 44px; letter-spacing: 20px; margin-bottom: 10px; }
#intro-screen .intro-emojis span { display: inline-block; }
#intro-screen .intro-emojis .ie1 { animation: intro-bob 1.6s ease-in-out infinite; }
#intro-screen .intro-emojis .ie2 { animation: intro-bob 1.6s ease-in-out infinite .5s; }
#intro-screen .intro-title {
  margin: 0; font-size: clamp(15px, 4.6vw, 30px); line-height: 1.6; letter-spacing: 0;
  font-family: "Press Start 2P", "Courier New", monospace; /* 옛날 게임 픽셀 폰트 */
  color: #ffe066;
  /* 정수 픽셀 하드 아웃라인 */
  text-shadow:
    3px 0 0 #1c1230, -3px 0 0 #1c1230, 0 3px 0 #1c1230, 0 -3px 0 #1c1230,
    4px 4px 0 #b5540b, 7px 7px 0 rgba(0,0,0,.35);
  transform: scale(.6); opacity: 0;
  animation: intro-pop .6s steps(4) forwards;
}
#intro-screen .intro-sub {
  margin: 16px 0 0; font-size: 15px; font-weight: 800; color: #dbe7ff; letter-spacing: 1px;
  opacity: 0; animation: intro-fade .5s ease forwards .5s;
}
#intro-screen .intro-prompt {
  display: inline-block; margin: 40px 0 0; padding: 10px 16px;
  font-size: 14px; font-weight: 800; color: #ffe066; letter-spacing: 1px;
  background: #1c1230; /* 픽셀 버튼 박스 */
  box-shadow: 0 0 0 3px #ffe066, 5px 5px 0 rgba(0,0,0,.45);
  opacity: 0; animation: intro-fade .4s ease forwards .9s, intro-blink 1s steps(2) infinite 1.3s;
}
/* 사라질 때 */
#intro-screen.intro-out { animation: intro-out .38s ease forwards; }

@keyframes intro-pop { to { transform: scale(1); opacity: 1; } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-blink { 50% { opacity: .35; } }
@keyframes intro-out { to { opacity: 0; transform: scale(1.04); } }
@keyframes intro-bob { 50% { transform: translateY(-8px); } }
@keyframes intro-twinkle { 50% { opacity: .4; } }

@media (prefers-reduced-motion: reduce) {
  #intro-screen .intro-title { animation: none; transform: none; opacity: 1; }
  #intro-screen .intro-sub, #intro-screen .intro-prompt { animation: none; opacity: 1; }
  #intro-screen .intro-emojis .ie1, #intro-screen .intro-emojis .ie2, #intro-screen .intro-stars { animation: none; }
}
