/* 반울림 겨울 분위기 (html.winter 일 때만 적용) */
html.winter body { background:#F6F3EC url("paper.jpg"); background-image:linear-gradient(180deg, rgba(186,213,238,.72) 0, rgba(200,222,242,.56) 900px, rgba(203,224,243,.52) 2200px, rgba(203,224,243,.52) 100%), url("paper.jpg"); }
html.winter header.top { background:rgba(242,246,249,.93); }
@media (max-width:860px) { html.winter header.top { background:#F0F5F8; } }

/* 마스킹테이프: 하늘색 눈꽃 무늬 */
html.winter .tape::before, html.winter .tape::after {
  background-color:rgba(214,230,242,.93);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='26' viewBox='0 0 38 26'%3E%3Cg stroke='%23fff' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M12 8v10M7.7 10.5l8.6 5M7.7 15.5l8.6-5M10.4 8.6 12 10l1.6-1.4M10.4 17.4 12 16l1.6 1.4'/%3E%3C/g%3E%3Ccircle cx='29' cy='7' r='1.4' fill='%23fff'/%3E%3Ccircle cx='31' cy='19' r='1' fill='%23fff'/%3E%3C/svg%3E");
  background-size:38px 26px;
}

/* 카드 위에 소복이 쌓인 눈 */
.wsnow { position:absolute; left:10px; right:10px; top:-11px; height:20px; z-index:3; pointer-events:none; filter:drop-shadow(0 2px 2px rgba(70,90,120,.18)); }
.wsnow b { display:block; width:100%; height:100%; background:#fff url("felt.png"); background-size:180px;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 19 Q2 8 12 9 Q20 1 33 7 Q43 2 55 8 Q66 3 78 7 Q90 0 103 8 Q113 3 125 7 Q137 1 149 8 Q159 3 171 7 Q184 2 193 10 Q200 13 199 19 Q198 24 188 23 Q160 20 130 24 Q100 20 70 24 Q40 20 12 24 Q1 24 0 19Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 19 Q2 8 12 9 Q20 1 33 7 Q43 2 55 8 Q66 3 78 7 Q90 0 103 8 Q113 3 125 7 Q137 1 149 8 Q159 3 171 7 Q184 2 193 10 Q200 13 199 19 Q198 24 188 23 Q160 20 130 24 Q100 20 70 24 Q40 20 12 24 Q1 24 0 19Z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.wsnow.big { height:26px; top:-14px; left:16px; right:16px; }

/* 내리는 종이 눈 */
#wsnowfall { position:fixed; inset:0; width:100%; height:100%; pointer-events:none; z-index:-1; }
.wsnowbtn { position:fixed; left:16px; bottom:18px; z-index:11; width:42px; height:42px; border-radius:50%; border:0; cursor:pointer;
  background:#fff url("felt.png"); box-shadow:0 3px 10px rgba(40,50,80,.18); display:grid; place-items:center; padding:0; }
.wsnowbtn svg { width:22px; height:22px; }
.wsnowbtn[aria-pressed="false"] svg { opacity:.35; }
.wsnowbtn:focus-visible { outline:3px solid var(--or,#EC6A2C); outline-offset:2px; }
@media (prefers-reduced-motion: reduce) { #wsnowfall, .wsnowbtn { display:none; } }

/* 4) 겨울 시즌 안내 띠 (2027학년도 1학기 미리 문의) */
.wnotice { position:relative; background:#1E2C57 url("felt.png"); background-blend-mode:soft-light; color:#fff; font-size:16px; }
.wnotice .wrap { display:flex; align-items:center; justify-content:center; gap:14px; padding:10px 44px; flex-wrap:wrap; text-align:center; }
.wnotice p { margin:0; line-height:1.45; }
.wnotice p b { color:#FFD9C2; font-weight:inherit; }
.wnotice svg { width:18px; height:18px; vertical-align:-3px; margin-right:6px; }
.wnotice a.go { display:inline-block; background:#EC6A2C; color:#fff; text-decoration:none; border-radius:999px; padding:5px 16px; font-size:15px; box-shadow:0 2px 0 rgba(0,0,0,.25); white-space:nowrap; }
.wnotice a.go:hover { background:#F07B40; }
.wnotice .x { position:absolute; right:10px; top:50%; transform:translateY(-50%); width:30px; height:30px; border:0; border-radius:50%; background:transparent; color:#fff; opacity:.7; font-size:20px; line-height:1; cursor:pointer; }
.wnotice .x:hover, .wnotice .x:focus-visible { opacity:1; background:rgba(255,255,255,.12); }
.wnotice .short { display:none; }
@media (max-width:860px) {
  .wnotice { font-size:14px; } .wnotice .wrap { padding:8px 38px 8px 12px; gap:10px; flex-wrap:nowrap; }
  .wnotice p svg { display:none; } .wnotice .long { display:none; } .wnotice .short { display:inline; }
  .wnotice a.go { font-size:13.5px; padding:4px 12px; } .wnotice .x { right:4px; }
  html.winter .hero { position:relative; }
  .wsnowbtn { position:absolute; left:auto; right:12px; bottom:auto; top:10px; width:36px; height:36px; }
  .wsnowbtn svg { width:19px; height:19px; }
}

/* 숫자 칸 연말 인사 스티커 */
.wthanks { display:inline-block; vertical-align:middle; margin-left:22px; transform:rotate(3deg); background:#fff url("felt.png"); color:#EC6A2C; font-size:17px; padding:7px 16px 7px 14px; border-radius:6px; box-shadow:0 3px 8px rgba(40,50,80,.16); border:2px dashed rgba(127,163,196,.55); position:relative; top:-6px; }
.wthanks svg { width:16px; height:16px; vertical-align:-2px; margin-right:6px; }
@media (max-width:860px) { .wthanks { display:table; margin:14px 0 0 6px; font-size:15px; top:0; } }

/* 학생 소감 말풍선: 겨울 카드 */
.wsticker { position:absolute; right:-8px; top:-12px; width:34px; height:34px; border-radius:50%; z-index:4; background:#fff url("felt.png"); box-shadow:0 2px 6px rgba(40,50,80,.2); display:grid; place-items:center; transform:rotate(-12deg); pointer-events:none; }
.wsticker svg { width:20px; height:20px; }

/* 5) 더 눈에 띄게: 메뉴 고드름, 첫 화면 눈 언덕과 눈사람, 문의 버튼 반짝임 */

html.winter .hero { padding-bottom:78px; }
.wbank { position:absolute; left:0; right:0; bottom:0; height:60px; pointer-events:none; z-index:0; filter:drop-shadow(0 -2px 3px rgba(70,100,140,.18)); }
.wbank b { display:block; height:100%; background:linear-gradient(180deg,#fff 0,#fff 45%,rgba(255,255,255,.6) 75%,rgba(255,255,255,0) 100%);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34Q60 18 140 26Q220 34 300 22Q390 8 480 24Q560 36 640 26Q740 12 840 24Q930 34 1010 22Q1100 10 1200 26V60Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34Q60 18 140 26Q220 34 300 22Q390 8 480 24Q560 36 640 26Q740 12 840 24Q930 34 1010 22Q1100 10 1200 26V60Z'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.wman { position:absolute; bottom:22px; left:calc(50% - 140px); width:66px; z-index:1; pointer-events:none; filter:drop-shadow(1px 3px 3px rgba(40,50,80,.22)); transform-origin:50% 100%; animation:wsway 4s ease-in-out infinite; }
@keyframes wsway { 0%,100% { transform:rotate(-2deg); } 50% { transform:rotate(2deg); } }
@media (min-width:861px) and (max-width:1240px) { .wman { display:none; } }
@media (max-width:860px) { html.winter .hero { padding-bottom:96px; } .wbank { height:44px; } .wman { left:auto; right:22px; bottom:16px; width:48px; } }

.wnotice a.go { animation:wpulse 2.6s ease-out infinite; }
@keyframes wpulse { 0% { box-shadow:0 2px 0 rgba(0,0,0,.25), 0 0 0 0 rgba(255,170,120,.75); } 70%,100% { box-shadow:0 2px 0 rgba(0,0,0,.25), 0 0 0 11px rgba(255,170,120,0); } }
@media (prefers-reduced-motion: reduce) { .wman, .wnotice a.go { animation:none; } }


/* 6) 2027 안내 띠 강조: 큰 글씨 + 노란 이름표 */
.wnotice{font-size:19px;}
.wnotice .wrap{padding:13px 48px;gap:16px;}
.wnotice p{font-weight:600;letter-spacing:-.2px;}
.wnotice p b{display:inline-block;background:#FFD45C;color:#1E2C57;padding:1px 10px 2px;border-radius:5px;transform:rotate(-1.5deg);margin-right:4px;box-shadow:0 2px 0 rgba(0,0,0,.25);}
.wnotice a.go{font-size:17px;padding:7px 20px;font-weight:600;}
@media (max-width:860px){.wnotice{font-size:16px;}.wnotice .wrap{padding:10px 38px 10px 12px;gap:8px;}.wnotice p b{padding:0 7px 1px;}.wnotice a.go{font-size:14.5px;padding:5px 12px;}}

/* 8) 고드름 v2: 눈 쌓인 처마 + 투명한 얼음 고드름 + 똑 떨어지는 물방울 */
.wicicle { position:absolute; left:0; right:0; top:calc(100% - 4px); height:46px; overflow-x:clip; pointer-events:none; z-index:1; }
.wicicle svg { display:block; height:46px; filter:drop-shadow(0 2px 2px rgba(60,100,140,.18)); }
.wdrop { position:absolute; width:5px; height:7px; margin-left:-2.5px; border-radius:50% 50% 50% 50% / 62% 62% 38% 38%;
  background:radial-gradient(circle at 38% 32%, #fff 0 22%, #CDE7F8 45%, #8CC3EA 100%); box-shadow:0 1px 1px rgba(60,100,140,.25);
  opacity:0; transform-origin:50% 0; animation:wdrip 5.5s ease-in infinite; }
@keyframes wdrip { 0% { opacity:0; transform:translateY(-2px) scale(.2); } 10% { opacity:1; } 45% { opacity:1; transform:translateY(0) scale(1); }
  52% { transform:translateY(1px) scale(.95,1.15); } 66% { opacity:1; transform:translateY(14px) scale(.9,1.2); } 74%,100% { opacity:0; transform:translateY(22px) scale(.9,1.2); } }
@media (max-width:860px) { .wicicle { height:36px; } .wicicle svg { transform:scale(.778); transform-origin:0 0; } }
@media (prefers-reduced-motion: reduce) { .wdrop { display:none; } }.wiface { position:absolute; width:14px; margin-left:-7px; }
.wiface svg { display:block; width:14px; height:10px; }
@media (max-width:860px) { .wiface { width:11px; margin-left:-5.5px; } .wiface svg { width:11px; height:8px; } }

html.winter .wnotice .wrap { padding-top:36px; }
@media (max-width:860px) { html.winter .wnotice .wrap { padding-top:30px; } }html.winter .wnotice .x { top:calc(50% + 11px); }
@media (max-width:860px) { html.winter .wnotice .x { top:calc(50% + 9px); } }
/* 9) 작은 눈사람 친구 */
.wman.wman2 { left:calc(50% - 68px); width:46px; bottom:22px; animation:wsway2 3.4s ease-in-out infinite; animation-delay:-1.2s; }
@keyframes wsway2 { 0%,100% { transform:rotate(3deg); } 50% { transform:rotate(-2deg) translateY(-2px); } }
@media (max-width:860px) { .wman.wman2 { left:auto; right:72px; width:36px; bottom:16px; } }
@media (prefers-reduced-motion: reduce) { .wman.wman2 { animation:none; } }
